File tree 3 files changed +123
-49
lines changed 3 files changed +123
-49
lines changed Original file line number Diff line number Diff line change 4965
4965
"type" : " string" ,
4966
4966
"description" : " Full country names (ISO 3166)\n " ,
4967
4967
"enum" : [
4968
- " United States" ,
4968
+ " American Samoa" ,
4969
+ " Federated States of Micronesia" ,
4969
4970
" Guam" ,
4970
- " Puerto Rico"
4971
+ " Marshall Islands" ,
4972
+ " Northern Mariana Islands" ,
4973
+ " Palau" ,
4974
+ " Puerto Rico" ,
4975
+ " United States" ,
4976
+ " United States Virgin Islands"
4971
4977
]
4972
4978
},
4973
4979
"usps_country_iso" : {
4974
4980
"title" : " ISO Country Code (3)" ,
4975
4981
"type" : " string" ,
4976
4982
"description" : " 3 letter country code (ISO 3166-1)\n " ,
4977
4983
"enum" : [
4978
- " USA" ,
4984
+ " ASM" ,
4985
+ " FSM" ,
4986
+ " GUM" ,
4987
+ " MHL" ,
4988
+ " MNP" ,
4989
+ " PLW" ,
4979
4990
" PRI" ,
4980
- " GUM"
4991
+ " USA" ,
4992
+ " VIR"
4981
4993
]
4982
4994
},
4983
4995
"usps_country_iso_2" : {
4984
4996
"title" : " ISO Country Code (2)" ,
4985
4997
"type" : " string" ,
4986
4998
"description" : " 2 letter country code (ISO 3166-1)\n " ,
4987
4999
"enum" : [
4988
- " US" ,
5000
+ " AS" ,
5001
+ " FM" ,
5002
+ " GU" ,
5003
+ " MH" ,
5004
+ " MP" ,
4989
5005
" PR" ,
4990
- " GU"
5006
+ " PW" ,
5007
+ " US" ,
5008
+ " VI"
4991
5009
]
4992
5010
},
4993
5011
"usps_language" : {
5582
5600
"example" : " 1"
5583
5601
},
5584
5602
"delivery_latitude" : {
5585
- "type" : " number" ,
5586
- "description" : " Latitude defining the arrival position of the Point Address." ,
5587
- "example" : 45.28447 ,
5588
- "minimum" : -90 ,
5589
- "maximum" : 90
5603
+ "oneOf" : [
5604
+ {
5605
+ "type" : " string" ,
5606
+ "description" : " Empty string `\"\" ` if not available"
5607
+ },
5608
+ {
5609
+ "type" : " number" ,
5610
+ "minimum" : -90 ,
5611
+ "maximum" : 90 ,
5612
+ "description" : " Latitude defining the arrival position of the Point Address." ,
5613
+ "example" : 45.28441
5614
+ }
5615
+ ]
5590
5616
},
5591
5617
"delivery_longitude" : {
5592
- "type" : " number" ,
5593
- "description" : " Longitude defining the arrival position of the Point Address." ,
5594
- "example" : 12.00821 ,
5595
- "minimum" : -180 ,
5596
- "maximum" : 180
5618
+ "oneOf" : [
5619
+ {
5620
+ "type" : " string" ,
5621
+ "description" : " Empty string `\"\" ` if not available"
5622
+ },
5623
+ {
5624
+ "type" : " number" ,
5625
+ "minimum" : -180 ,
5626
+ "maximum" : 180 ,
5627
+ "description" : " Longitude defining the arrival position of the Point Address." ,
5628
+ "example" : 12.00825
5629
+ }
5630
+ ]
5597
5631
},
5598
5632
"building_name" : {
5599
5633
"type" : " string" ,
5612
5646
"type" : " number" ,
5613
5647
"minimum" : -90 ,
5614
5648
"maximum" : 90 ,
5615
- "description" : " Latitude of the display position for the Point Address.\n\n Can be empty string ` \"\" ` if not present. " ,
5649
+ "description" : " Latitude of the display position for the Point Address." ,
5616
5650
"example" : 45.28441
5617
5651
}
5618
5652
]
Original file line number Diff line number Diff line change @@ -4395,27 +4395,45 @@ components:
4395
4395
description : |2
4396
4396
Full country names (ISO 3166)
4397
4397
enum :
4398
- - United States
4398
+ - American Samoa
4399
+ - Federated States of Micronesia
4399
4400
- Guam
4401
+ - Marshall Islands
4402
+ - Northern Mariana Islands
4403
+ - Palau
4400
4404
- Puerto Rico
4405
+ - United States
4406
+ - United States Virgin Islands
4401
4407
usps_country_iso :
4402
4408
title : ISO Country Code (3)
4403
4409
type : string
4404
4410
description : |2
4405
4411
3 letter country code (ISO 3166-1)
4406
4412
enum :
4407
- - USA
4408
- - PRI
4413
+ - ASM
4414
+ - FSM
4409
4415
- GUM
4416
+ - MHL
4417
+ - MNP
4418
+ - PLW
4419
+ - PRI
4420
+ - USA
4421
+ - VIR
4410
4422
usps_country_iso_2 :
4411
4423
title : ISO Country Code (2)
4412
4424
type : string
4413
4425
description : |2
4414
4426
2 letter country code (ISO 3166-1)
4415
4427
enum :
4416
- - US
4417
- - PR
4428
+ - AS
4429
+ - FM
4418
4430
- GU
4431
+ - MH
4432
+ - MP
4433
+ - PR
4434
+ - PW
4435
+ - US
4436
+ - VI
4419
4437
usps_language :
4420
4438
title : Language
4421
4439
type : string
@@ -4955,17 +4973,23 @@ components:
4955
4973
Can be empty string `""` if not present.
4956
4974
example : ' 1'
4957
4975
delivery_latitude :
4958
- type : number
4959
- description : Latitude defining the arrival position of the Point Address.
4960
- example : 45.28447
4961
- minimum : -90
4962
- maximum : 90
4976
+ oneOf :
4977
+ - type : string
4978
+ description : Empty string `""` if not available
4979
+ - type : number
4980
+ minimum : -90
4981
+ maximum : 90
4982
+ description : Latitude defining the arrival position of the Point Address.
4983
+ example : 45.28441
4963
4984
delivery_longitude :
4964
- type : number
4965
- description : Longitude defining the arrival position of the Point Address.
4966
- example : 12.00821
4967
- minimum : -180
4968
- maximum : 180
4985
+ oneOf :
4986
+ - type : string
4987
+ description : Empty string `""` if not available
4988
+ - type : number
4989
+ minimum : -180
4990
+ maximum : 180
4991
+ description : Longitude defining the arrival position of the Point Address.
4992
+ example : 12.00825
4969
4993
building_name :
4970
4994
type : string
4971
4995
description : |
@@ -4982,10 +5006,7 @@ components:
4982
5006
- type : number
4983
5007
minimum : -90
4984
5008
maximum : 90
4985
- description : |-
4986
- Latitude of the display position for the Point Address.
4987
-
4988
- Can be empty string `""` if not present.
5009
+ description : Latitude of the display position for the Point Address.
4989
5010
example : 45.28441
4990
5011
longitude :
4991
5012
oneOf :
Original file line number Diff line number Diff line change @@ -2294,21 +2294,48 @@ export interface components {
2294
2294
*
2295
2295
* @enum {string}
2296
2296
*/
2297
- usps_country : "United States" | "Guam" | "Puerto Rico" ;
2297
+ usps_country :
2298
+ | "American Samoa"
2299
+ | "Federated States of Micronesia"
2300
+ | "Guam"
2301
+ | "Marshall Islands"
2302
+ | "Northern Mariana Islands"
2303
+ | "Palau"
2304
+ | "Puerto Rico"
2305
+ | "United States"
2306
+ | "United States Virgin Islands" ;
2298
2307
/**
2299
2308
* ISO Country Code (3)
2300
2309
* @description 3 letter country code (ISO 3166-1)
2301
2310
*
2302
2311
* @enum {string}
2303
2312
*/
2304
- usps_country_iso : "USA" | "PRI" | "GUM" ;
2313
+ usps_country_iso :
2314
+ | "ASM"
2315
+ | "FSM"
2316
+ | "GUM"
2317
+ | "MHL"
2318
+ | "MNP"
2319
+ | "PLW"
2320
+ | "PRI"
2321
+ | "USA"
2322
+ | "VIR" ;
2305
2323
/**
2306
2324
* ISO Country Code (2)
2307
2325
* @description 2 letter country code (ISO 3166-1)
2308
2326
*
2309
2327
* @enum {string}
2310
2328
*/
2311
- usps_country_iso_2 : "US" | "PR" | "GU" ;
2329
+ usps_country_iso_2 :
2330
+ | "AS"
2331
+ | "FM"
2332
+ | "GU"
2333
+ | "MH"
2334
+ | "MP"
2335
+ | "PR"
2336
+ | "PW"
2337
+ | "US"
2338
+ | "VI" ;
2312
2339
/**
2313
2340
* Language
2314
2341
* @description Language represented by 2 letter ISO Code (639-1)
@@ -2682,16 +2709,8 @@ export interface components {
2682
2709
* @example 1
2683
2710
*/
2684
2711
address_type ?: string ;
2685
- /**
2686
- * @description Latitude defining the arrival position of the Point Address.
2687
- * @example 45.28447
2688
- */
2689
- delivery_latitude : number ;
2690
- /**
2691
- * @description Longitude defining the arrival position of the Point Address.
2692
- * @example 12.00821
2693
- */
2694
- delivery_longitude : number ;
2712
+ delivery_latitude : string | number ;
2713
+ delivery_longitude : string | number ;
2695
2714
/**
2696
2715
* @description Name of the Building to which the Point Address is associated.
2697
2716
*
You can’t perform that action at this time.
0 commit comments