diff --git a/dist/openapi.json b/dist/openapi.json index 4f38c17..4b9ba32 100644 --- a/dist/openapi.json +++ b/dist/openapi.json @@ -4965,9 +4965,15 @@ "type": "string", "description": " Full country names (ISO 3166)\n", "enum": [ - "United States", + "American Samoa", + "Federated States of Micronesia", "Guam", - "Puerto Rico" + "Marshall Islands", + "Northern Mariana Islands", + "Palau", + "Puerto Rico", + "United States", + "United States Virgin Islands" ] }, "usps_country_iso": { @@ -4975,9 +4981,15 @@ "type": "string", "description": " 3 letter country code (ISO 3166-1)\n", "enum": [ - "USA", + "ASM", + "FSM", + "GUM", + "MHL", + "MNP", + "PLW", "PRI", - "GUM" + "USA", + "VIR" ] }, "usps_country_iso_2": { @@ -4985,9 +4997,15 @@ "type": "string", "description": " 2 letter country code (ISO 3166-1)\n", "enum": [ - "US", + "AS", + "FM", + "GU", + "MH", + "MP", "PR", - "GU" + "PW", + "US", + "VI" ] }, "usps_language": { @@ -5582,18 +5600,34 @@ "example": "1" }, "delivery_latitude": { - "type": "number", - "description": "Latitude defining the arrival position of the Point Address.", - "example": 45.28447, - "minimum": -90, - "maximum": 90 + "oneOf": [ + { + "type": "string", + "description": "Empty string `\"\"` if not available" + }, + { + "type": "number", + "minimum": -90, + "maximum": 90, + "description": "Latitude defining the arrival position of the Point Address.", + "example": 45.28441 + } + ] }, "delivery_longitude": { - "type": "number", - "description": "Longitude defining the arrival position of the Point Address.", - "example": 12.00821, - "minimum": -180, - "maximum": 180 + "oneOf": [ + { + "type": "string", + "description": "Empty string `\"\"` if not available" + }, + { + "type": "number", + "minimum": -180, + "maximum": 180, + "description": "Longitude defining the arrival position of the Point Address.", + "example": 12.00825 + } + ] }, "building_name": { "type": "string", @@ -5612,7 +5646,7 @@ "type": "number", "minimum": -90, "maximum": 90, - "description": "Latitude of the display position for the Point Address.\n\nCan be empty string `\"\"` if not present.", + "description": "Latitude of the display position for the Point Address.", "example": 45.28441 } ] diff --git a/dist/openapi.yaml b/dist/openapi.yaml index d546131..3a89d44 100644 --- a/dist/openapi.yaml +++ b/dist/openapi.yaml @@ -4395,27 +4395,45 @@ components: description: |2 Full country names (ISO 3166) enum: - - United States + - American Samoa + - Federated States of Micronesia - Guam + - Marshall Islands + - Northern Mariana Islands + - Palau - Puerto Rico + - United States + - United States Virgin Islands usps_country_iso: title: ISO Country Code (3) type: string description: |2 3 letter country code (ISO 3166-1) enum: - - USA - - PRI + - ASM + - FSM - GUM + - MHL + - MNP + - PLW + - PRI + - USA + - VIR usps_country_iso_2: title: ISO Country Code (2) type: string description: |2 2 letter country code (ISO 3166-1) enum: - - US - - PR + - AS + - FM - GU + - MH + - MP + - PR + - PW + - US + - VI usps_language: title: Language type: string @@ -4955,17 +4973,23 @@ components: Can be empty string `""` if not present. example: '1' delivery_latitude: - type: number - description: Latitude defining the arrival position of the Point Address. - example: 45.28447 - minimum: -90 - maximum: 90 + oneOf: + - type: string + description: Empty string `""` if not available + - type: number + minimum: -90 + maximum: 90 + description: Latitude defining the arrival position of the Point Address. + example: 45.28441 delivery_longitude: - type: number - description: Longitude defining the arrival position of the Point Address. - example: 12.00821 - minimum: -180 - maximum: 180 + oneOf: + - type: string + description: Empty string `""` if not available + - type: number + minimum: -180 + maximum: 180 + description: Longitude defining the arrival position of the Point Address. + example: 12.00825 building_name: type: string description: | @@ -4982,10 +5006,7 @@ components: - type: number minimum: -90 maximum: 90 - description: |- - Latitude of the display position for the Point Address. - - Can be empty string `""` if not present. + description: Latitude of the display position for the Point Address. example: 45.28441 longitude: oneOf: diff --git a/openapi.ts b/openapi.ts index 5efd900..46bd56f 100644 --- a/openapi.ts +++ b/openapi.ts @@ -2294,21 +2294,48 @@ export interface components { * * @enum {string} */ - usps_country: "United States" | "Guam" | "Puerto Rico"; + usps_country: + | "American Samoa" + | "Federated States of Micronesia" + | "Guam" + | "Marshall Islands" + | "Northern Mariana Islands" + | "Palau" + | "Puerto Rico" + | "United States" + | "United States Virgin Islands"; /** * ISO Country Code (3) * @description 3 letter country code (ISO 3166-1) * * @enum {string} */ - usps_country_iso: "USA" | "PRI" | "GUM"; + usps_country_iso: + | "ASM" + | "FSM" + | "GUM" + | "MHL" + | "MNP" + | "PLW" + | "PRI" + | "USA" + | "VIR"; /** * ISO Country Code (2) * @description 2 letter country code (ISO 3166-1) * * @enum {string} */ - usps_country_iso_2: "US" | "PR" | "GU"; + usps_country_iso_2: + | "AS" + | "FM" + | "GU" + | "MH" + | "MP" + | "PR" + | "PW" + | "US" + | "VI"; /** * Language * @description Language represented by 2 letter ISO Code (639-1) @@ -2682,16 +2709,8 @@ export interface components { * @example 1 */ address_type?: string; - /** - * @description Latitude defining the arrival position of the Point Address. - * @example 45.28447 - */ - delivery_latitude: number; - /** - * @description Longitude defining the arrival position of the Point Address. - * @example 12.00821 - */ - delivery_longitude: number; + delivery_latitude: string | number; + delivery_longitude: string | number; /** * @description Name of the Building to which the Point Address is associated. *