@shipengine/connect-carrier-api 4.6.1 → 4.6.3

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 +91 -61
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.3",
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,10 @@
882
884
  },
883
885
  "metadata": {
884
886
  "type": "object",
885
- "additionalProperties": { },
887
+ "additionalProperties": {
888
+ "type": "object",
889
+ "nullable": true
890
+ },
886
891
  "nullable": true
887
892
  },
888
893
  "connection_name": {
@@ -898,7 +903,10 @@
898
903
  "properties": {
899
904
  "metadata": {
900
905
  "type": "object",
901
- "additionalProperties": { },
906
+ "additionalProperties": {
907
+ "type": "object",
908
+ "nullable": true
909
+ },
902
910
  "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
911
  "nullable": true
904
912
  }
@@ -1096,7 +1104,8 @@
1096
1104
  "custom_properties": {
1097
1105
  "type": "object",
1098
1106
  "additionalProperties": {
1099
- "type": "string"
1107
+ "type": "string",
1108
+ "nullable": true
1100
1109
  },
1101
1110
  "description": "The grab bag of properties necessary to cancel the pickup",
1102
1111
  "nullable": true
@@ -1134,7 +1143,8 @@
1134
1143
  "custom_properties": {
1135
1144
  "type": "object",
1136
1145
  "additionalProperties": {
1137
- "type": "string"
1146
+ "type": "string",
1147
+ "nullable": true
1138
1148
  },
1139
1149
  "description": "A grab bag used to store additional information that might be useful for logging or internal reporting.",
1140
1150
  "nullable": true
@@ -1232,45 +1242,6 @@
1232
1242
  ],
1233
1243
  "type": "string"
1234
1244
  },
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
1245
  "CreateLabelRequest": {
1275
1246
  "required": [
1276
1247
  "service_code",
@@ -1586,7 +1557,10 @@
1586
1557
  },
1587
1558
  "manifest_identifiers": {
1588
1559
  "type": "object",
1589
- "additionalProperties": { },
1560
+ "additionalProperties": {
1561
+ "type": "object",
1562
+ "nullable": true
1563
+ },
1590
1564
  "description": "Carrier information needed to get created manifests.\r\nOnly needed if carrier requires two calls to create and get manifests.",
1591
1565
  "nullable": true
1592
1566
  }
@@ -2241,6 +2215,28 @@
2241
2215
  "additionalProperties": false,
2242
2216
  "description": "This contains information about the fulfillment plan for a set of items."
2243
2217
  },
2218
+ "Geolocation": {
2219
+ "type": "object",
2220
+ "properties": {
2221
+ "type": {
2222
+ "$ref": "#/components/schemas/GeolocationType"
2223
+ },
2224
+ "value": {
2225
+ "type": "string",
2226
+ "description": "The geolocation value.",
2227
+ "nullable": true
2228
+ }
2229
+ },
2230
+ "additionalProperties": false,
2231
+ "description": "Geolocation additional information for an address."
2232
+ },
2233
+ "GeolocationType": {
2234
+ "enum": [
2235
+ "what3words"
2236
+ ],
2237
+ "type": "string",
2238
+ "description": "Specifies the supported geolocation types."
2239
+ },
2244
2240
  "GetManifestRequest": {
2245
2241
  "required": [
2246
2242
  "transaction_id"
@@ -2264,7 +2260,10 @@
2264
2260
  },
2265
2261
  "manifest_identifiers": {
2266
2262
  "type": "object",
2267
- "additionalProperties": { },
2263
+ "additionalProperties": {
2264
+ "type": "object",
2265
+ "nullable": true
2266
+ },
2268
2267
  "description": "Carrier specific data needed to retrieve Manifest results",
2269
2268
  "nullable": true
2270
2269
  },
@@ -2738,6 +2737,11 @@
2738
2737
  "description": "Tracking number for the package.",
2739
2738
  "nullable": true
2740
2739
  },
2740
+ "tracking_url": {
2741
+ "type": "string",
2742
+ "description": "Tracking URL for the package.",
2743
+ "nullable": true
2744
+ },
2741
2745
  "alternative_identifiers": {
2742
2746
  "type": "array",
2743
2747
  "items": {
@@ -2833,6 +2837,16 @@
2833
2837
  "type": "string",
2834
2838
  "description": "Uniquely identifies this request to manifest a shipment. Used to identify which shipments could not be manifested.",
2835
2839
  "format": "uuid"
2840
+ },
2841
+ "ship_datetime": {
2842
+ "type": "string",
2843
+ "description": "Shipment ship date time.",
2844
+ "format": "date-time"
2845
+ },
2846
+ "reference": {
2847
+ "type": "string",
2848
+ "description": "Shipment reference number.",
2849
+ "nullable": true
2836
2850
  }
2837
2851
  },
2838
2852
  "additionalProperties": false
@@ -2868,7 +2882,8 @@
2868
2882
  "type": "array",
2869
2883
  "items": {
2870
2884
  "type": "string"
2871
- }
2885
+ },
2886
+ "nullable": true
2872
2887
  },
2873
2888
  "description": "Headers sent with the inbound request if it was received via http",
2874
2889
  "nullable": true
@@ -3100,7 +3115,8 @@
3100
3115
  "pickup_options": {
3101
3116
  "type": "object",
3102
3117
  "additionalProperties": {
3103
- "type": "string"
3118
+ "type": "string",
3119
+ "nullable": true
3104
3120
  },
3105
3121
  "description": "Custom options that are used by the carrier to determine pickup locations",
3106
3122
  "nullable": true
@@ -3388,7 +3404,10 @@
3388
3404
  "properties": {
3389
3405
  "registration_info": {
3390
3406
  "type": "object",
3391
- "additionalProperties": { },
3407
+ "additionalProperties": {
3408
+ "type": "object",
3409
+ "nullable": true
3410
+ },
3392
3411
  "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
3412
  "nullable": true
3394
3413
  }
@@ -3408,7 +3427,10 @@
3408
3427
  },
3409
3428
  "metadata": {
3410
3429
  "type": "object",
3411
- "additionalProperties": { },
3430
+ "additionalProperties": {
3431
+ "type": "object",
3432
+ "nullable": true
3433
+ },
3412
3434
  "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
3435
  "nullable": true
3414
3436
  }
@@ -3616,7 +3638,8 @@
3616
3638
  "custom_properties": {
3617
3639
  "type": "object",
3618
3640
  "additionalProperties": {
3619
- "type": "string"
3641
+ "type": "string",
3642
+ "nullable": true
3620
3643
  },
3621
3644
  "description": "A grab bag of custom properties that will be persisted and sent back with the cancel pickup request",
3622
3645
  "nullable": true
@@ -3833,10 +3856,8 @@
3833
3856
  "description": "Tax IDs associated with the consignee.",
3834
3857
  "nullable": true
3835
3858
  },
3836
- "what3words": {
3837
- "type": "string",
3838
- "description": "What3words field to help identify the location.",
3839
- "nullable": true
3859
+ "geolocation": {
3860
+ "$ref": "#/components/schemas/Geolocation"
3840
3861
  }
3841
3862
  },
3842
3863
  "additionalProperties": false
@@ -3869,6 +3890,11 @@
3869
3890
  "description": "The carrier tracking number associated with this package",
3870
3891
  "nullable": true
3871
3892
  },
3893
+ "tracking_url": {
3894
+ "type": "string",
3895
+ "description": "The carrier tracking URL associated with this package",
3896
+ "nullable": true
3897
+ },
3872
3898
  "alternative_identifiers": {
3873
3899
  "type": "array",
3874
3900
  "items": {
@@ -4345,7 +4371,10 @@
4345
4371
  "properties": {
4346
4372
  "update_settings": {
4347
4373
  "type": "object",
4348
- "additionalProperties": { },
4374
+ "additionalProperties": {
4375
+ "type": "object",
4376
+ "nullable": true
4377
+ },
4349
4378
  "description": "This is a schemaless object used to contain any required fields for updating carrier settings.",
4350
4379
  "nullable": true
4351
4380
  }
@@ -4385,7 +4414,8 @@
4385
4414
  "type": "array",
4386
4415
  "items": {
4387
4416
  "type": "string"
4388
- }
4417
+ },
4418
+ "nullable": true
4389
4419
  },
4390
4420
  "description": "Headers sent with the inbound request if it was received via http",
4391
4421
  "nullable": true