@shipengine/connect-carrier-api 4.6.1 → 4.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/spec.json +85 -62
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/connect-carrier-api",
3
- "version": "4.6.1",
3
+ "version": "4.6.2",
4
4
  "description": "This is the typescript/javascript definitions for carrier api",
5
5
  "homepage": "https://connect.shipengine.com",
6
6
  "main": "./lib/index.js",
package/spec.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "info": {
4
4
  "title": "Shipping API",
5
5
  "description": "This API specification describes the canonical ShipEngine Shipping API connector module.",
6
- "version": "1.19.8"
6
+ "version": "1.19.9"
7
7
  },
8
8
  "paths": {
9
9
  "/Register": {
@@ -771,7 +771,8 @@
771
771
  "address_metadata": {
772
772
  "type": "object",
773
773
  "additionalProperties": {
774
- "type": "string"
774
+ "type": "string",
775
+ "nullable": true
775
776
  },
776
777
  "description": "Additional metadata provided for specific requests.",
777
778
  "nullable": true
@@ -826,7 +827,7 @@
826
827
  },
827
828
  "own_document_upload": {
828
829
  "type": "boolean",
829
- "description": "Describes whether client is requesting the ability to upload documents like commercial invoice after the shipment has been processed"
830
+ "description": "Whether client is requesting the ability to upload documents like commercial invoice after the shipment has been processed."
830
831
  },
831
832
  "dangerous_goods": {
832
833
  "type": "boolean",
@@ -837,7 +838,7 @@
837
838
  },
838
839
  "limited_quantity": {
839
840
  "type": "boolean",
840
- "description": "Describes the transport of dangerous goods that is restricted to Limited Quantities of Dangerous Goods only"
841
+ "description": "Describes the transport of dangerous goods that is restricted to Limited Quantities of Dangerous Goods only."
841
842
  },
842
843
  "event_notification": {
843
844
  "type": "boolean",
@@ -858,7 +859,8 @@
858
859
  "connection_context": {
859
860
  "type": "object",
860
861
  "additionalProperties": {
861
- "type": "string"
862
+ "type": "string",
863
+ "nullable": true
862
864
  },
863
865
  "description": "Optional - any additional information required to authorize the request",
864
866
  "nullable": true
@@ -882,7 +884,9 @@
882
884
  },
883
885
  "metadata": {
884
886
  "type": "object",
885
- "additionalProperties": { },
887
+ "additionalProperties": {
888
+ "nullable": true
889
+ },
886
890
  "nullable": true
887
891
  },
888
892
  "connection_name": {
@@ -898,7 +902,9 @@
898
902
  "properties": {
899
903
  "metadata": {
900
904
  "type": "object",
901
- "additionalProperties": { },
905
+ "additionalProperties": {
906
+ "nullable": true
907
+ },
902
908
  "description": "This is an optional schemaless object that you may return with a successful response. Anything returned\r\nunder this key will be included in all future requests. For example, you may store additional static\r\nproperties about the end user or their connection to the carrier. The maximum storage size\r\nfor data under this key is 4KB.",
903
909
  "nullable": true
904
910
  }
@@ -1096,7 +1102,8 @@
1096
1102
  "custom_properties": {
1097
1103
  "type": "object",
1098
1104
  "additionalProperties": {
1099
- "type": "string"
1105
+ "type": "string",
1106
+ "nullable": true
1100
1107
  },
1101
1108
  "description": "The grab bag of properties necessary to cancel the pickup",
1102
1109
  "nullable": true
@@ -1134,7 +1141,8 @@
1134
1141
  "custom_properties": {
1135
1142
  "type": "object",
1136
1143
  "additionalProperties": {
1137
- "type": "string"
1144
+ "type": "string",
1145
+ "nullable": true
1138
1146
  },
1139
1147
  "description": "A grab bag used to store additional information that might be useful for logging or internal reporting.",
1140
1148
  "nullable": true
@@ -1232,45 +1240,6 @@
1232
1240
  ],
1233
1241
  "type": "string"
1234
1242
  },
1235
- "PackagingGroupTypes": {
1236
- "enum": [
1237
- "i",
1238
- "ii",
1239
- "iii"
1240
- ],
1241
- "type": "string",
1242
- "description": "An enumeration for packaging group for dangerous goods."
1243
- },
1244
- "PackageInstructionSectionTypes": {
1245
- "enum": [
1246
- "section_1",
1247
- "section_2",
1248
- "section_1A",
1249
- "section_1B"
1250
- ],
1251
- "type": "string",
1252
- "description": "An enumeration for package instruction for dangerous goods."
1253
- },
1254
- "TransportMeanTypes": {
1255
- "enum": [
1256
- "ground",
1257
- "water",
1258
- "cargo_aircraft_only",
1259
- "passenger_aircraft"
1260
- ],
1261
- "type": "string",
1262
- "description": "An enumeration for transport means for dangerous goods."
1263
- },
1264
- "RegulationLevelTypes": {
1265
- "enum": [
1266
- "lightly_regulated",
1267
- "fully_regulated",
1268
- "limited_quantities",
1269
- "excepted_quantity"
1270
- ],
1271
- "type": "string",
1272
- "description": "An enumeration for regulation type for dangerous goods."
1273
- },
1274
1243
  "CreateLabelRequest": {
1275
1244
  "required": [
1276
1245
  "service_code",
@@ -1586,7 +1555,9 @@
1586
1555
  },
1587
1556
  "manifest_identifiers": {
1588
1557
  "type": "object",
1589
- "additionalProperties": { },
1558
+ "additionalProperties": {
1559
+ "nullable": true
1560
+ },
1590
1561
  "description": "Carrier information needed to get created manifests.\r\nOnly needed if carrier requires two calls to create and get manifests.",
1591
1562
  "nullable": true
1592
1563
  }
@@ -2241,6 +2212,28 @@
2241
2212
  "additionalProperties": false,
2242
2213
  "description": "This contains information about the fulfillment plan for a set of items."
2243
2214
  },
2215
+ "Geolocation": {
2216
+ "type": "object",
2217
+ "properties": {
2218
+ "type": {
2219
+ "$ref": "#/components/schemas/GeolocationType"
2220
+ },
2221
+ "value": {
2222
+ "type": "string",
2223
+ "description": "The geolocation value.",
2224
+ "nullable": true
2225
+ }
2226
+ },
2227
+ "additionalProperties": false,
2228
+ "description": "Geolocation additional information for an address."
2229
+ },
2230
+ "GeolocationType": {
2231
+ "enum": [
2232
+ "what3words"
2233
+ ],
2234
+ "type": "string",
2235
+ "description": "Specifies the supported geolocation types."
2236
+ },
2244
2237
  "GetManifestRequest": {
2245
2238
  "required": [
2246
2239
  "transaction_id"
@@ -2264,7 +2257,9 @@
2264
2257
  },
2265
2258
  "manifest_identifiers": {
2266
2259
  "type": "object",
2267
- "additionalProperties": { },
2260
+ "additionalProperties": {
2261
+ "nullable": true
2262
+ },
2268
2263
  "description": "Carrier specific data needed to retrieve Manifest results",
2269
2264
  "nullable": true
2270
2265
  },
@@ -2738,6 +2733,11 @@
2738
2733
  "description": "Tracking number for the package.",
2739
2734
  "nullable": true
2740
2735
  },
2736
+ "tracking_url": {
2737
+ "type": "string",
2738
+ "description": "Tracking URL for the package.",
2739
+ "nullable": true
2740
+ },
2741
2741
  "alternative_identifiers": {
2742
2742
  "type": "array",
2743
2743
  "items": {
@@ -2833,6 +2833,16 @@
2833
2833
  "type": "string",
2834
2834
  "description": "Uniquely identifies this request to manifest a shipment. Used to identify which shipments could not be manifested.",
2835
2835
  "format": "uuid"
2836
+ },
2837
+ "ship_datetime": {
2838
+ "type": "string",
2839
+ "description": "Shipment ship date time.",
2840
+ "format": "date-time"
2841
+ },
2842
+ "reference": {
2843
+ "type": "string",
2844
+ "description": "Shipment reference number.",
2845
+ "nullable": true
2836
2846
  }
2837
2847
  },
2838
2848
  "additionalProperties": false
@@ -2868,7 +2878,8 @@
2868
2878
  "type": "array",
2869
2879
  "items": {
2870
2880
  "type": "string"
2871
- }
2881
+ },
2882
+ "nullable": true
2872
2883
  },
2873
2884
  "description": "Headers sent with the inbound request if it was received via http",
2874
2885
  "nullable": true
@@ -3100,7 +3111,8 @@
3100
3111
  "pickup_options": {
3101
3112
  "type": "object",
3102
3113
  "additionalProperties": {
3103
- "type": "string"
3114
+ "type": "string",
3115
+ "nullable": true
3104
3116
  },
3105
3117
  "description": "Custom options that are used by the carrier to determine pickup locations",
3106
3118
  "nullable": true
@@ -3388,7 +3400,9 @@
3388
3400
  "properties": {
3389
3401
  "registration_info": {
3390
3402
  "type": "object",
3391
- "additionalProperties": { },
3403
+ "additionalProperties": {
3404
+ "nullable": true
3405
+ },
3392
3406
  "description": "This is a schemaless object used to contain any required fields for validating a users credentials or\r\nregistering a new account. These fields will be custom to the shipping service provider, and will be\r\ncollected via a form and sent over as key value pairs.",
3393
3407
  "nullable": true
3394
3408
  }
@@ -3408,7 +3422,9 @@
3408
3422
  },
3409
3423
  "metadata": {
3410
3424
  "type": "object",
3411
- "additionalProperties": { },
3425
+ "additionalProperties": {
3426
+ "nullable": true
3427
+ },
3412
3428
  "description": "This is an optional schemaless object that should be returned for persisted auth and user information.\r\nAnything returned under this key will be included in all future requests. For example, you may store\r\nadditional static properties about the end user or their connection to the carrier. The maximum\r\nstorage size for data under this key is 4KB.",
3413
3429
  "nullable": true
3414
3430
  }
@@ -3616,7 +3632,8 @@
3616
3632
  "custom_properties": {
3617
3633
  "type": "object",
3618
3634
  "additionalProperties": {
3619
- "type": "string"
3635
+ "type": "string",
3636
+ "nullable": true
3620
3637
  },
3621
3638
  "description": "A grab bag of custom properties that will be persisted and sent back with the cancel pickup request",
3622
3639
  "nullable": true
@@ -3833,10 +3850,8 @@
3833
3850
  "description": "Tax IDs associated with the consignee.",
3834
3851
  "nullable": true
3835
3852
  },
3836
- "what3words": {
3837
- "type": "string",
3838
- "description": "What3words field to help identify the location.",
3839
- "nullable": true
3853
+ "geolocation": {
3854
+ "$ref": "#/components/schemas/Geolocation"
3840
3855
  }
3841
3856
  },
3842
3857
  "additionalProperties": false
@@ -3869,6 +3884,11 @@
3869
3884
  "description": "The carrier tracking number associated with this package",
3870
3885
  "nullable": true
3871
3886
  },
3887
+ "tracking_url": {
3888
+ "type": "string",
3889
+ "description": "The carrier tracking URL associated with this package",
3890
+ "nullable": true
3891
+ },
3872
3892
  "alternative_identifiers": {
3873
3893
  "type": "array",
3874
3894
  "items": {
@@ -4345,7 +4365,9 @@
4345
4365
  "properties": {
4346
4366
  "update_settings": {
4347
4367
  "type": "object",
4348
- "additionalProperties": { },
4368
+ "additionalProperties": {
4369
+ "nullable": true
4370
+ },
4349
4371
  "description": "This is a schemaless object used to contain any required fields for updating carrier settings.",
4350
4372
  "nullable": true
4351
4373
  }
@@ -4385,7 +4407,8 @@
4385
4407
  "type": "array",
4386
4408
  "items": {
4387
4409
  "type": "string"
4388
- }
4410
+ },
4411
+ "nullable": true
4389
4412
  },
4390
4413
  "description": "Headers sent with the inbound request if it was received via http",
4391
4414
  "nullable": true
@@ -4738,4 +4761,4 @@
4738
4761
  "description": "Given inbound data, such as a webhook with tracking updates, return normalized information."
4739
4762
  }
4740
4763
  ]
4741
- }
4764
+ }