@unified-api/typescript-sdk 2.82.14 → 2.82.16
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.
- package/README.md +34 -0
- package/dist/commonjs/funcs/shippingCreateShippingLabel.d.ts +15 -0
- package/dist/commonjs/funcs/shippingCreateShippingLabel.d.ts.map +1 -0
- package/dist/commonjs/funcs/shippingCreateShippingLabel.js +122 -0
- package/dist/commonjs/funcs/shippingCreateShippingLabel.js.map +1 -0
- package/dist/commonjs/funcs/shippingCreateShippingRate.d.ts +15 -0
- package/dist/commonjs/funcs/shippingCreateShippingRate.d.ts.map +1 -0
- package/dist/commonjs/funcs/shippingCreateShippingRate.js +122 -0
- package/dist/commonjs/funcs/shippingCreateShippingRate.js.map +1 -0
- package/dist/commonjs/funcs/shippingCreateShippingShipment.d.ts +15 -0
- package/dist/commonjs/funcs/shippingCreateShippingShipment.d.ts.map +1 -0
- package/dist/commonjs/funcs/shippingCreateShippingShipment.js +122 -0
- package/dist/commonjs/funcs/shippingCreateShippingShipment.js.map +1 -0
- package/dist/commonjs/funcs/shippingCreateShippingTracking.d.ts +15 -0
- package/dist/commonjs/funcs/shippingCreateShippingTracking.d.ts.map +1 -0
- package/dist/commonjs/funcs/shippingCreateShippingTracking.js +122 -0
- package/dist/commonjs/funcs/shippingCreateShippingTracking.js.map +1 -0
- package/dist/commonjs/funcs/shippingGetShippingCarrier.d.ts +15 -0
- package/dist/commonjs/funcs/shippingGetShippingCarrier.d.ts.map +1 -0
- package/dist/commonjs/funcs/shippingGetShippingCarrier.js +125 -0
- package/dist/commonjs/funcs/shippingGetShippingCarrier.js.map +1 -0
- package/dist/commonjs/funcs/shippingGetShippingLabel.d.ts +15 -0
- package/dist/commonjs/funcs/shippingGetShippingLabel.d.ts.map +1 -0
- package/dist/commonjs/funcs/shippingGetShippingLabel.js +125 -0
- package/dist/commonjs/funcs/shippingGetShippingLabel.js.map +1 -0
- package/dist/commonjs/funcs/shippingGetShippingRate.d.ts +15 -0
- package/dist/commonjs/funcs/shippingGetShippingRate.d.ts.map +1 -0
- package/dist/commonjs/funcs/shippingGetShippingRate.js +125 -0
- package/dist/commonjs/funcs/shippingGetShippingRate.js.map +1 -0
- package/dist/commonjs/funcs/shippingGetShippingShipment.d.ts +15 -0
- package/dist/commonjs/funcs/shippingGetShippingShipment.d.ts.map +1 -0
- package/dist/commonjs/funcs/shippingGetShippingShipment.js +125 -0
- package/dist/commonjs/funcs/shippingGetShippingShipment.js.map +1 -0
- package/dist/commonjs/funcs/shippingGetShippingTracking.d.ts +15 -0
- package/dist/commonjs/funcs/shippingGetShippingTracking.d.ts.map +1 -0
- package/dist/commonjs/funcs/shippingGetShippingTracking.js +125 -0
- package/dist/commonjs/funcs/shippingGetShippingTracking.js.map +1 -0
- package/dist/commonjs/funcs/shippingListShippingCarriers.d.ts +15 -0
- package/dist/commonjs/funcs/shippingListShippingCarriers.d.ts.map +1 -0
- package/dist/commonjs/funcs/shippingListShippingCarriers.js +128 -0
- package/dist/commonjs/funcs/shippingListShippingCarriers.js.map +1 -0
- package/dist/commonjs/funcs/shippingListShippingLabels.d.ts +15 -0
- package/dist/commonjs/funcs/shippingListShippingLabels.d.ts.map +1 -0
- package/dist/commonjs/funcs/shippingListShippingLabels.js +129 -0
- package/dist/commonjs/funcs/shippingListShippingLabels.js.map +1 -0
- package/dist/commonjs/funcs/shippingListShippingShipments.d.ts +15 -0
- package/dist/commonjs/funcs/shippingListShippingShipments.d.ts.map +1 -0
- package/dist/commonjs/funcs/shippingListShippingShipments.js +130 -0
- package/dist/commonjs/funcs/shippingListShippingShipments.js.map +1 -0
- package/dist/commonjs/funcs/shippingListShippingTrackings.d.ts +15 -0
- package/dist/commonjs/funcs/shippingListShippingTrackings.d.ts.map +1 -0
- package/dist/commonjs/funcs/shippingListShippingTrackings.js +129 -0
- package/dist/commonjs/funcs/shippingListShippingTrackings.js.map +1 -0
- package/dist/commonjs/funcs/shippingPatchShippingShipment.d.ts +15 -0
- package/dist/commonjs/funcs/shippingPatchShippingShipment.d.ts.map +1 -0
- package/dist/commonjs/funcs/shippingPatchShippingShipment.js +126 -0
- package/dist/commonjs/funcs/shippingPatchShippingShipment.js.map +1 -0
- package/dist/commonjs/funcs/shippingRemoveShippingLabel.d.ts +14 -0
- package/dist/commonjs/funcs/shippingRemoveShippingLabel.d.ts.map +1 -0
- package/dist/commonjs/funcs/shippingRemoveShippingLabel.js +122 -0
- package/dist/commonjs/funcs/shippingRemoveShippingLabel.js.map +1 -0
- package/dist/commonjs/funcs/shippingRemoveShippingShipment.d.ts +14 -0
- package/dist/commonjs/funcs/shippingRemoveShippingShipment.d.ts.map +1 -0
- package/dist/commonjs/funcs/shippingRemoveShippingShipment.js +122 -0
- package/dist/commonjs/funcs/shippingRemoveShippingShipment.js.map +1 -0
- package/dist/commonjs/funcs/shippingUpdateShippingShipment.d.ts +15 -0
- package/dist/commonjs/funcs/shippingUpdateShippingShipment.d.ts.map +1 -0
- package/dist/commonjs/funcs/shippingUpdateShippingShipment.js +126 -0
- package/dist/commonjs/funcs/shippingUpdateShippingShipment.js.map +1 -0
- package/dist/commonjs/lib/config.d.ts +3 -3
- package/dist/commonjs/lib/config.js +3 -3
- package/dist/commonjs/lib/sdks.js +2 -2
- package/dist/commonjs/lib/sdks.js.map +1 -1
- package/dist/commonjs/sdk/carrier.d.ts +14 -0
- package/dist/commonjs/sdk/carrier.d.ts.map +1 -0
- package/dist/commonjs/sdk/carrier.js +26 -0
- package/dist/commonjs/sdk/carrier.js.map +1 -0
- package/dist/commonjs/sdk/label.d.ts +22 -0
- package/dist/commonjs/sdk/label.d.ts.map +1 -0
- package/dist/commonjs/sdk/label.js +40 -0
- package/dist/commonjs/sdk/label.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/createshippinglabel.d.ts +48 -0
- package/dist/commonjs/sdk/models/operations/createshippinglabel.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/createshippinglabel.js +78 -0
- package/dist/commonjs/sdk/models/operations/createshippinglabel.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/createshippingrate.d.ts +44 -0
- package/dist/commonjs/sdk/models/operations/createshippingrate.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/createshippingrate.js +73 -0
- package/dist/commonjs/sdk/models/operations/createshippingrate.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/createshippingshipment.d.ts +70 -0
- package/dist/commonjs/sdk/models/operations/createshippingshipment.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/createshippingshipment.js +100 -0
- package/dist/commonjs/sdk/models/operations/createshippingshipment.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/createshippingtracking.d.ts +48 -0
- package/dist/commonjs/sdk/models/operations/createshippingtracking.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/createshippingtracking.js +78 -0
- package/dist/commonjs/sdk/models/operations/createshippingtracking.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getshippingcarrier.d.ts +45 -0
- package/dist/commonjs/sdk/models/operations/getshippingcarrier.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getshippingcarrier.js +70 -0
- package/dist/commonjs/sdk/models/operations/getshippingcarrier.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getshippinglabel.d.ts +50 -0
- package/dist/commonjs/sdk/models/operations/getshippinglabel.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getshippinglabel.js +75 -0
- package/dist/commonjs/sdk/models/operations/getshippinglabel.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getshippingrate.d.ts +46 -0
- package/dist/commonjs/sdk/models/operations/getshippingrate.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getshippingrate.js +71 -0
- package/dist/commonjs/sdk/models/operations/getshippingrate.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getshippingshipment.d.ts +72 -0
- package/dist/commonjs/sdk/models/operations/getshippingshipment.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getshippingshipment.js +98 -0
- package/dist/commonjs/sdk/models/operations/getshippingshipment.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/getshippingtracking.d.ts +50 -0
- package/dist/commonjs/sdk/models/operations/getshippingtracking.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/getshippingtracking.js +76 -0
- package/dist/commonjs/sdk/models/operations/getshippingtracking.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/index.d.ts +17 -0
- package/dist/commonjs/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/index.js +17 -0
- package/dist/commonjs/sdk/models/operations/index.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listshippingcarriers.d.ts +58 -0
- package/dist/commonjs/sdk/models/operations/listshippingcarriers.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/listshippingcarriers.js +77 -0
- package/dist/commonjs/sdk/models/operations/listshippingcarriers.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/listshippinglabels.d.ts +68 -0
- package/dist/commonjs/sdk/models/operations/listshippinglabels.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/listshippinglabels.js +83 -0
- package/dist/commonjs/sdk/models/operations/listshippinglabels.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/listshippingshipments.d.ts +95 -0
- package/dist/commonjs/sdk/models/operations/listshippingshipments.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/listshippingshipments.js +108 -0
- package/dist/commonjs/sdk/models/operations/listshippingshipments.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/listshippingtrackings.d.ts +68 -0
- package/dist/commonjs/sdk/models/operations/listshippingtrackings.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/listshippingtrackings.js +84 -0
- package/dist/commonjs/sdk/models/operations/listshippingtrackings.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/listunifiedconnections.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/listunifiedconnections.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listunifiedconnections.js +1 -0
- package/dist/commonjs/sdk/models/operations/listunifiedconnections.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listunifiedintegrations.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/listunifiedintegrations.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listunifiedintegrations.js +1 -0
- package/dist/commonjs/sdk/models/operations/listunifiedintegrations.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/listunifiedintegrationworkspaces.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/listunifiedintegrationworkspaces.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/listunifiedintegrationworkspaces.js +1 -0
- package/dist/commonjs/sdk/models/operations/listunifiedintegrationworkspaces.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchmessagingevent.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/patchmessagingevent.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchmessagingevent.js +1 -0
- package/dist/commonjs/sdk/models/operations/patchmessagingevent.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/patchshippingshipment.d.ts +75 -0
- package/dist/commonjs/sdk/models/operations/patchshippingshipment.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/patchshippingshipment.js +101 -0
- package/dist/commonjs/sdk/models/operations/patchshippingshipment.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/removeshippinglabel.d.ts +30 -0
- package/dist/commonjs/sdk/models/operations/removeshippinglabel.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/removeshippinglabel.js +68 -0
- package/dist/commonjs/sdk/models/operations/removeshippinglabel.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/removeshippingshipment.d.ts +30 -0
- package/dist/commonjs/sdk/models/operations/removeshippingshipment.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/removeshippingshipment.js +68 -0
- package/dist/commonjs/sdk/models/operations/removeshippingshipment.js.map +1 -0
- package/dist/commonjs/sdk/models/operations/updatemessagingevent.d.ts +1 -0
- package/dist/commonjs/sdk/models/operations/updatemessagingevent.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/operations/updatemessagingevent.js +1 -0
- package/dist/commonjs/sdk/models/operations/updatemessagingevent.js.map +1 -1
- package/dist/commonjs/sdk/models/operations/updateshippingshipment.d.ts +75 -0
- package/dist/commonjs/sdk/models/operations/updateshippingshipment.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/operations/updateshippingshipment.js +101 -0
- package/dist/commonjs/sdk/models/operations/updateshippingshipment.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/index.d.ts +18 -0
- package/dist/commonjs/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/index.js +18 -0
- package/dist/commonjs/sdk/models/shared/index.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/integrationsupport.d.ts +108 -0
- package/dist/commonjs/sdk/models/shared/integrationsupport.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/integrationsupport.js +115 -5
- package/dist/commonjs/sdk/models/shared/integrationsupport.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/messagingevent.d.ts +4 -2
- package/dist/commonjs/sdk/models/shared/messagingevent.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/messagingevent.js +6 -2
- package/dist/commonjs/sdk/models/shared/messagingevent.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/messagingmessage.d.ts +12 -0
- package/dist/commonjs/sdk/models/shared/messagingmessage.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/messagingmessage.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyconnectioncategories.d.ts +1 -0
- package/dist/commonjs/sdk/models/shared/propertyconnectioncategories.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyconnectioncategories.js +1 -0
- package/dist/commonjs/sdk/models/shared/propertyconnectioncategories.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.d.ts +9 -2
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.js +9 -2
- package/dist/commonjs/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyintegrationcategories.d.ts +1 -0
- package/dist/commonjs/sdk/models/shared/propertyintegrationcategories.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyintegrationcategories.js +1 -0
- package/dist/commonjs/sdk/models/shared/propertyintegrationcategories.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertymessagingeventmessage.d.ts +12 -0
- package/dist/commonjs/sdk/models/shared/propertymessagingeventmessage.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertymessagingeventmessage.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertymessagingeventmessageauthormember.d.ts +3 -0
- package/dist/commonjs/sdk/models/shared/propertymessagingeventmessageauthormember.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertymessagingeventmessageauthormember.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertymessagingmessageauthormember.d.ts +3 -0
- package/dist/commonjs/sdk/models/shared/propertymessagingmessageauthormember.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertymessagingmessageauthormember.js.map +1 -1
- package/dist/commonjs/sdk/models/shared/propertyshippingratefromaddress.d.ts +48 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingratefromaddress.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingratefromaddress.js +107 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingratefromaddress.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingratetoaddress.d.ts +48 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingratetoaddress.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingratetoaddress.js +107 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingratetoaddress.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingshipmentcustoms.d.ts +94 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingshipmentcustoms.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingshipmentcustoms.js +145 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingshipmentcustoms.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingshipmentfromaddress.d.ts +48 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingshipmentfromaddress.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingshipmentfromaddress.js +107 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingshipmentfromaddress.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingshipmentinsurance.d.ts +45 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingshipmentinsurance.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingshipmentinsurance.js +103 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingshipmentinsurance.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingshipmentreturnaddress.d.ts +48 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingshipmentreturnaddress.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingshipmentreturnaddress.js +107 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingshipmentreturnaddress.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingshipmenttoaddress.d.ts +48 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingshipmenttoaddress.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingshipmenttoaddress.js +107 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingshipmenttoaddress.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingtrackingeventlocationaddress.d.ts +45 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingtrackingeventlocationaddress.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingtrackingeventlocationaddress.js +107 -0
- package/dist/commonjs/sdk/models/shared/propertyshippingtrackingeventlocationaddress.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/shippingcarrier.d.ts +20 -0
- package/dist/commonjs/sdk/models/shared/shippingcarrier.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/shippingcarrier.js +69 -0
- package/dist/commonjs/sdk/models/shared/shippingcarrier.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/shippingcustomsitem.d.ts +45 -0
- package/dist/commonjs/sdk/models/shared/shippingcustomsitem.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/shippingcustomsitem.js +98 -0
- package/dist/commonjs/sdk/models/shared/shippingcustomsitem.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/shippinglabel.d.ts +84 -0
- package/dist/commonjs/sdk/models/shared/shippinglabel.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/shippinglabel.js +150 -0
- package/dist/commonjs/sdk/models/shared/shippinglabel.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/shippingpackage.d.ts +58 -0
- package/dist/commonjs/sdk/models/shared/shippingpackage.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/shippingpackage.js +112 -0
- package/dist/commonjs/sdk/models/shared/shippingpackage.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/shippingrate.d.ts +52 -0
- package/dist/commonjs/sdk/models/shared/shippingrate.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/shippingrate.js +98 -0
- package/dist/commonjs/sdk/models/shared/shippingrate.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/shippingraterate.d.ts +59 -0
- package/dist/commonjs/sdk/models/shared/shippingraterate.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/shippingraterate.js +134 -0
- package/dist/commonjs/sdk/models/shared/shippingraterate.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/shippingratesurcharge.d.ts +23 -0
- package/dist/commonjs/sdk/models/shared/shippingratesurcharge.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/shippingratesurcharge.js +64 -0
- package/dist/commonjs/sdk/models/shared/shippingratesurcharge.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/shippingshipment.d.ts +152 -0
- package/dist/commonjs/sdk/models/shared/shippingshipment.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/shippingshipment.js +238 -0
- package/dist/commonjs/sdk/models/shared/shippingshipment.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/shippingtracking.d.ts +73 -0
- package/dist/commonjs/sdk/models/shared/shippingtracking.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/shippingtracking.js +135 -0
- package/dist/commonjs/sdk/models/shared/shippingtracking.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/shippingtrackingevent.d.ts +58 -0
- package/dist/commonjs/sdk/models/shared/shippingtrackingevent.d.ts.map +1 -0
- package/dist/commonjs/sdk/models/shared/shippingtrackingevent.js +122 -0
- package/dist/commonjs/sdk/models/shared/shippingtrackingevent.js.map +1 -0
- package/dist/commonjs/sdk/models/shared/webhook.d.ts +6 -1
- package/dist/commonjs/sdk/models/shared/webhook.d.ts.map +1 -1
- package/dist/commonjs/sdk/models/shared/webhook.js +6 -1
- package/dist/commonjs/sdk/models/shared/webhook.js.map +1 -1
- package/dist/commonjs/sdk/rate.d.ts +14 -0
- package/dist/commonjs/sdk/rate.d.ts.map +1 -0
- package/dist/commonjs/sdk/rate.js +26 -0
- package/dist/commonjs/sdk/rate.js.map +1 -0
- package/dist/commonjs/sdk/sdk.d.ts +18 -0
- package/dist/commonjs/sdk/sdk.d.ts.map +1 -1
- package/dist/commonjs/sdk/sdk.js +24 -0
- package/dist/commonjs/sdk/sdk.js.map +1 -1
- package/dist/commonjs/sdk/shipment.d.ts +30 -0
- package/dist/commonjs/sdk/shipment.d.ts.map +1 -0
- package/dist/commonjs/sdk/shipment.js +54 -0
- package/dist/commonjs/sdk/shipment.js.map +1 -0
- package/dist/commonjs/sdk/shipping.d.ts +74 -0
- package/dist/commonjs/sdk/shipping.d.ts.map +1 -0
- package/dist/commonjs/sdk/shipping.js +131 -0
- package/dist/commonjs/sdk/shipping.js.map +1 -0
- package/dist/commonjs/sdk/tracking.d.ts +18 -0
- package/dist/commonjs/sdk/tracking.d.ts.map +1 -0
- package/dist/commonjs/sdk/tracking.js +33 -0
- package/dist/commonjs/sdk/tracking.js.map +1 -0
- package/dist/esm/funcs/shippingCreateShippingLabel.d.ts +15 -0
- package/dist/esm/funcs/shippingCreateShippingLabel.d.ts.map +1 -0
- package/dist/esm/funcs/shippingCreateShippingLabel.js +86 -0
- package/dist/esm/funcs/shippingCreateShippingLabel.js.map +1 -0
- package/dist/esm/funcs/shippingCreateShippingRate.d.ts +15 -0
- package/dist/esm/funcs/shippingCreateShippingRate.d.ts.map +1 -0
- package/dist/esm/funcs/shippingCreateShippingRate.js +86 -0
- package/dist/esm/funcs/shippingCreateShippingRate.js.map +1 -0
- package/dist/esm/funcs/shippingCreateShippingShipment.d.ts +15 -0
- package/dist/esm/funcs/shippingCreateShippingShipment.d.ts.map +1 -0
- package/dist/esm/funcs/shippingCreateShippingShipment.js +86 -0
- package/dist/esm/funcs/shippingCreateShippingShipment.js.map +1 -0
- package/dist/esm/funcs/shippingCreateShippingTracking.d.ts +15 -0
- package/dist/esm/funcs/shippingCreateShippingTracking.d.ts.map +1 -0
- package/dist/esm/funcs/shippingCreateShippingTracking.js +86 -0
- package/dist/esm/funcs/shippingCreateShippingTracking.js.map +1 -0
- package/dist/esm/funcs/shippingGetShippingCarrier.d.ts +15 -0
- package/dist/esm/funcs/shippingGetShippingCarrier.d.ts.map +1 -0
- package/dist/esm/funcs/shippingGetShippingCarrier.js +89 -0
- package/dist/esm/funcs/shippingGetShippingCarrier.js.map +1 -0
- package/dist/esm/funcs/shippingGetShippingLabel.d.ts +15 -0
- package/dist/esm/funcs/shippingGetShippingLabel.d.ts.map +1 -0
- package/dist/esm/funcs/shippingGetShippingLabel.js +89 -0
- package/dist/esm/funcs/shippingGetShippingLabel.js.map +1 -0
- package/dist/esm/funcs/shippingGetShippingRate.d.ts +15 -0
- package/dist/esm/funcs/shippingGetShippingRate.d.ts.map +1 -0
- package/dist/esm/funcs/shippingGetShippingRate.js +89 -0
- package/dist/esm/funcs/shippingGetShippingRate.js.map +1 -0
- package/dist/esm/funcs/shippingGetShippingShipment.d.ts +15 -0
- package/dist/esm/funcs/shippingGetShippingShipment.d.ts.map +1 -0
- package/dist/esm/funcs/shippingGetShippingShipment.js +89 -0
- package/dist/esm/funcs/shippingGetShippingShipment.js.map +1 -0
- package/dist/esm/funcs/shippingGetShippingTracking.d.ts +15 -0
- package/dist/esm/funcs/shippingGetShippingTracking.d.ts.map +1 -0
- package/dist/esm/funcs/shippingGetShippingTracking.js +89 -0
- package/dist/esm/funcs/shippingGetShippingTracking.js.map +1 -0
- package/dist/esm/funcs/shippingListShippingCarriers.d.ts +15 -0
- package/dist/esm/funcs/shippingListShippingCarriers.d.ts.map +1 -0
- package/dist/esm/funcs/shippingListShippingCarriers.js +92 -0
- package/dist/esm/funcs/shippingListShippingCarriers.js.map +1 -0
- package/dist/esm/funcs/shippingListShippingLabels.d.ts +15 -0
- package/dist/esm/funcs/shippingListShippingLabels.d.ts.map +1 -0
- package/dist/esm/funcs/shippingListShippingLabels.js +93 -0
- package/dist/esm/funcs/shippingListShippingLabels.js.map +1 -0
- package/dist/esm/funcs/shippingListShippingShipments.d.ts +15 -0
- package/dist/esm/funcs/shippingListShippingShipments.d.ts.map +1 -0
- package/dist/esm/funcs/shippingListShippingShipments.js +94 -0
- package/dist/esm/funcs/shippingListShippingShipments.js.map +1 -0
- package/dist/esm/funcs/shippingListShippingTrackings.d.ts +15 -0
- package/dist/esm/funcs/shippingListShippingTrackings.d.ts.map +1 -0
- package/dist/esm/funcs/shippingListShippingTrackings.js +93 -0
- package/dist/esm/funcs/shippingListShippingTrackings.js.map +1 -0
- package/dist/esm/funcs/shippingPatchShippingShipment.d.ts +15 -0
- package/dist/esm/funcs/shippingPatchShippingShipment.d.ts.map +1 -0
- package/dist/esm/funcs/shippingPatchShippingShipment.js +90 -0
- package/dist/esm/funcs/shippingPatchShippingShipment.js.map +1 -0
- package/dist/esm/funcs/shippingRemoveShippingLabel.d.ts +14 -0
- package/dist/esm/funcs/shippingRemoveShippingLabel.d.ts.map +1 -0
- package/dist/esm/funcs/shippingRemoveShippingLabel.js +86 -0
- package/dist/esm/funcs/shippingRemoveShippingLabel.js.map +1 -0
- package/dist/esm/funcs/shippingRemoveShippingShipment.d.ts +14 -0
- package/dist/esm/funcs/shippingRemoveShippingShipment.d.ts.map +1 -0
- package/dist/esm/funcs/shippingRemoveShippingShipment.js +86 -0
- package/dist/esm/funcs/shippingRemoveShippingShipment.js.map +1 -0
- package/dist/esm/funcs/shippingUpdateShippingShipment.d.ts +15 -0
- package/dist/esm/funcs/shippingUpdateShippingShipment.d.ts.map +1 -0
- package/dist/esm/funcs/shippingUpdateShippingShipment.js +90 -0
- package/dist/esm/funcs/shippingUpdateShippingShipment.js.map +1 -0
- package/dist/esm/lib/config.d.ts +3 -3
- package/dist/esm/lib/config.js +3 -3
- package/dist/esm/lib/sdks.js +2 -2
- package/dist/esm/lib/sdks.js.map +1 -1
- package/dist/esm/sdk/carrier.d.ts +14 -0
- package/dist/esm/sdk/carrier.d.ts.map +1 -0
- package/dist/esm/sdk/carrier.js +22 -0
- package/dist/esm/sdk/carrier.js.map +1 -0
- package/dist/esm/sdk/label.d.ts +22 -0
- package/dist/esm/sdk/label.d.ts.map +1 -0
- package/dist/esm/sdk/label.js +36 -0
- package/dist/esm/sdk/label.js.map +1 -0
- package/dist/esm/sdk/models/operations/createshippinglabel.d.ts +48 -0
- package/dist/esm/sdk/models/operations/createshippinglabel.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/createshippinglabel.js +41 -0
- package/dist/esm/sdk/models/operations/createshippinglabel.js.map +1 -0
- package/dist/esm/sdk/models/operations/createshippingrate.d.ts +44 -0
- package/dist/esm/sdk/models/operations/createshippingrate.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/createshippingrate.js +36 -0
- package/dist/esm/sdk/models/operations/createshippingrate.js.map +1 -0
- package/dist/esm/sdk/models/operations/createshippingshipment.d.ts +70 -0
- package/dist/esm/sdk/models/operations/createshippingshipment.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/createshippingshipment.js +63 -0
- package/dist/esm/sdk/models/operations/createshippingshipment.js.map +1 -0
- package/dist/esm/sdk/models/operations/createshippingtracking.d.ts +48 -0
- package/dist/esm/sdk/models/operations/createshippingtracking.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/createshippingtracking.js +41 -0
- package/dist/esm/sdk/models/operations/createshippingtracking.js.map +1 -0
- package/dist/esm/sdk/models/operations/getshippingcarrier.d.ts +45 -0
- package/dist/esm/sdk/models/operations/getshippingcarrier.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getshippingcarrier.js +33 -0
- package/dist/esm/sdk/models/operations/getshippingcarrier.js.map +1 -0
- package/dist/esm/sdk/models/operations/getshippinglabel.d.ts +50 -0
- package/dist/esm/sdk/models/operations/getshippinglabel.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getshippinglabel.js +38 -0
- package/dist/esm/sdk/models/operations/getshippinglabel.js.map +1 -0
- package/dist/esm/sdk/models/operations/getshippingrate.d.ts +46 -0
- package/dist/esm/sdk/models/operations/getshippingrate.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getshippingrate.js +34 -0
- package/dist/esm/sdk/models/operations/getshippingrate.js.map +1 -0
- package/dist/esm/sdk/models/operations/getshippingshipment.d.ts +72 -0
- package/dist/esm/sdk/models/operations/getshippingshipment.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getshippingshipment.js +61 -0
- package/dist/esm/sdk/models/operations/getshippingshipment.js.map +1 -0
- package/dist/esm/sdk/models/operations/getshippingtracking.d.ts +50 -0
- package/dist/esm/sdk/models/operations/getshippingtracking.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/getshippingtracking.js +39 -0
- package/dist/esm/sdk/models/operations/getshippingtracking.js.map +1 -0
- package/dist/esm/sdk/models/operations/index.d.ts +17 -0
- package/dist/esm/sdk/models/operations/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/index.js +17 -0
- package/dist/esm/sdk/models/operations/index.js.map +1 -1
- package/dist/esm/sdk/models/operations/listshippingcarriers.d.ts +58 -0
- package/dist/esm/sdk/models/operations/listshippingcarriers.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/listshippingcarriers.js +40 -0
- package/dist/esm/sdk/models/operations/listshippingcarriers.js.map +1 -0
- package/dist/esm/sdk/models/operations/listshippinglabels.d.ts +68 -0
- package/dist/esm/sdk/models/operations/listshippinglabels.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/listshippinglabels.js +46 -0
- package/dist/esm/sdk/models/operations/listshippinglabels.js.map +1 -0
- package/dist/esm/sdk/models/operations/listshippingshipments.d.ts +95 -0
- package/dist/esm/sdk/models/operations/listshippingshipments.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/listshippingshipments.js +71 -0
- package/dist/esm/sdk/models/operations/listshippingshipments.js.map +1 -0
- package/dist/esm/sdk/models/operations/listshippingtrackings.d.ts +68 -0
- package/dist/esm/sdk/models/operations/listshippingtrackings.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/listshippingtrackings.js +47 -0
- package/dist/esm/sdk/models/operations/listshippingtrackings.js.map +1 -0
- package/dist/esm/sdk/models/operations/listunifiedconnections.d.ts +1 -0
- package/dist/esm/sdk/models/operations/listunifiedconnections.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listunifiedconnections.js +1 -0
- package/dist/esm/sdk/models/operations/listunifiedconnections.js.map +1 -1
- package/dist/esm/sdk/models/operations/listunifiedintegrations.d.ts +1 -0
- package/dist/esm/sdk/models/operations/listunifiedintegrations.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listunifiedintegrations.js +1 -0
- package/dist/esm/sdk/models/operations/listunifiedintegrations.js.map +1 -1
- package/dist/esm/sdk/models/operations/listunifiedintegrationworkspaces.d.ts +1 -0
- package/dist/esm/sdk/models/operations/listunifiedintegrationworkspaces.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/listunifiedintegrationworkspaces.js +1 -0
- package/dist/esm/sdk/models/operations/listunifiedintegrationworkspaces.js.map +1 -1
- package/dist/esm/sdk/models/operations/patchmessagingevent.d.ts +1 -0
- package/dist/esm/sdk/models/operations/patchmessagingevent.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/patchmessagingevent.js +1 -0
- package/dist/esm/sdk/models/operations/patchmessagingevent.js.map +1 -1
- package/dist/esm/sdk/models/operations/patchshippingshipment.d.ts +75 -0
- package/dist/esm/sdk/models/operations/patchshippingshipment.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/patchshippingshipment.js +64 -0
- package/dist/esm/sdk/models/operations/patchshippingshipment.js.map +1 -0
- package/dist/esm/sdk/models/operations/removeshippinglabel.d.ts +30 -0
- package/dist/esm/sdk/models/operations/removeshippinglabel.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/removeshippinglabel.js +30 -0
- package/dist/esm/sdk/models/operations/removeshippinglabel.js.map +1 -0
- package/dist/esm/sdk/models/operations/removeshippingshipment.d.ts +30 -0
- package/dist/esm/sdk/models/operations/removeshippingshipment.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/removeshippingshipment.js +30 -0
- package/dist/esm/sdk/models/operations/removeshippingshipment.js.map +1 -0
- package/dist/esm/sdk/models/operations/updatemessagingevent.d.ts +1 -0
- package/dist/esm/sdk/models/operations/updatemessagingevent.d.ts.map +1 -1
- package/dist/esm/sdk/models/operations/updatemessagingevent.js +1 -0
- package/dist/esm/sdk/models/operations/updatemessagingevent.js.map +1 -1
- package/dist/esm/sdk/models/operations/updateshippingshipment.d.ts +75 -0
- package/dist/esm/sdk/models/operations/updateshippingshipment.d.ts.map +1 -0
- package/dist/esm/sdk/models/operations/updateshippingshipment.js +64 -0
- package/dist/esm/sdk/models/operations/updateshippingshipment.js.map +1 -0
- package/dist/esm/sdk/models/shared/index.d.ts +18 -0
- package/dist/esm/sdk/models/shared/index.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/index.js +18 -0
- package/dist/esm/sdk/models/shared/index.js.map +1 -1
- package/dist/esm/sdk/models/shared/integrationsupport.d.ts +108 -0
- package/dist/esm/sdk/models/shared/integrationsupport.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/integrationsupport.js +109 -0
- package/dist/esm/sdk/models/shared/integrationsupport.js.map +1 -1
- package/dist/esm/sdk/models/shared/messagingevent.d.ts +4 -2
- package/dist/esm/sdk/models/shared/messagingevent.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/messagingevent.js +6 -2
- package/dist/esm/sdk/models/shared/messagingevent.js.map +1 -1
- package/dist/esm/sdk/models/shared/messagingmessage.d.ts +12 -0
- package/dist/esm/sdk/models/shared/messagingmessage.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/messagingmessage.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyconnectioncategories.d.ts +1 -0
- package/dist/esm/sdk/models/shared/propertyconnectioncategories.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertyconnectioncategories.js +1 -0
- package/dist/esm/sdk/models/shared/propertyconnectioncategories.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.d.ts +9 -2
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.js +9 -2
- package/dist/esm/sdk/models/shared/propertyconnectionpermissions.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyintegrationcategories.d.ts +1 -0
- package/dist/esm/sdk/models/shared/propertyintegrationcategories.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertyintegrationcategories.js +1 -0
- package/dist/esm/sdk/models/shared/propertyintegrationcategories.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertymessagingeventmessage.d.ts +12 -0
- package/dist/esm/sdk/models/shared/propertymessagingeventmessage.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertymessagingeventmessage.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertymessagingeventmessageauthormember.d.ts +3 -0
- package/dist/esm/sdk/models/shared/propertymessagingeventmessageauthormember.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertymessagingeventmessageauthormember.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertymessagingmessageauthormember.d.ts +3 -0
- package/dist/esm/sdk/models/shared/propertymessagingmessageauthormember.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/propertymessagingmessageauthormember.js.map +1 -1
- package/dist/esm/sdk/models/shared/propertyshippingratefromaddress.d.ts +48 -0
- package/dist/esm/sdk/models/shared/propertyshippingratefromaddress.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertyshippingratefromaddress.js +69 -0
- package/dist/esm/sdk/models/shared/propertyshippingratefromaddress.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertyshippingratetoaddress.d.ts +48 -0
- package/dist/esm/sdk/models/shared/propertyshippingratetoaddress.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertyshippingratetoaddress.js +69 -0
- package/dist/esm/sdk/models/shared/propertyshippingratetoaddress.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertyshippingshipmentcustoms.d.ts +94 -0
- package/dist/esm/sdk/models/shared/propertyshippingshipmentcustoms.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertyshippingshipmentcustoms.js +107 -0
- package/dist/esm/sdk/models/shared/propertyshippingshipmentcustoms.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertyshippingshipmentfromaddress.d.ts +48 -0
- package/dist/esm/sdk/models/shared/propertyshippingshipmentfromaddress.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertyshippingshipmentfromaddress.js +69 -0
- package/dist/esm/sdk/models/shared/propertyshippingshipmentfromaddress.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertyshippingshipmentinsurance.d.ts +45 -0
- package/dist/esm/sdk/models/shared/propertyshippingshipmentinsurance.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertyshippingshipmentinsurance.js +65 -0
- package/dist/esm/sdk/models/shared/propertyshippingshipmentinsurance.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertyshippingshipmentreturnaddress.d.ts +48 -0
- package/dist/esm/sdk/models/shared/propertyshippingshipmentreturnaddress.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertyshippingshipmentreturnaddress.js +69 -0
- package/dist/esm/sdk/models/shared/propertyshippingshipmentreturnaddress.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertyshippingshipmenttoaddress.d.ts +48 -0
- package/dist/esm/sdk/models/shared/propertyshippingshipmenttoaddress.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertyshippingshipmenttoaddress.js +69 -0
- package/dist/esm/sdk/models/shared/propertyshippingshipmenttoaddress.js.map +1 -0
- package/dist/esm/sdk/models/shared/propertyshippingtrackingeventlocationaddress.d.ts +45 -0
- package/dist/esm/sdk/models/shared/propertyshippingtrackingeventlocationaddress.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/propertyshippingtrackingeventlocationaddress.js +69 -0
- package/dist/esm/sdk/models/shared/propertyshippingtrackingeventlocationaddress.js.map +1 -0
- package/dist/esm/sdk/models/shared/shippingcarrier.d.ts +20 -0
- package/dist/esm/sdk/models/shared/shippingcarrier.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/shippingcarrier.js +32 -0
- package/dist/esm/sdk/models/shared/shippingcarrier.js.map +1 -0
- package/dist/esm/sdk/models/shared/shippingcustomsitem.d.ts +45 -0
- package/dist/esm/sdk/models/shared/shippingcustomsitem.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/shippingcustomsitem.js +60 -0
- package/dist/esm/sdk/models/shared/shippingcustomsitem.js.map +1 -0
- package/dist/esm/sdk/models/shared/shippinglabel.d.ts +84 -0
- package/dist/esm/sdk/models/shared/shippinglabel.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/shippinglabel.js +112 -0
- package/dist/esm/sdk/models/shared/shippinglabel.js.map +1 -0
- package/dist/esm/sdk/models/shared/shippingpackage.d.ts +58 -0
- package/dist/esm/sdk/models/shared/shippingpackage.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/shippingpackage.js +74 -0
- package/dist/esm/sdk/models/shared/shippingpackage.js.map +1 -0
- package/dist/esm/sdk/models/shared/shippingrate.d.ts +52 -0
- package/dist/esm/sdk/models/shared/shippingrate.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/shippingrate.js +60 -0
- package/dist/esm/sdk/models/shared/shippingrate.js.map +1 -0
- package/dist/esm/sdk/models/shared/shippingraterate.d.ts +59 -0
- package/dist/esm/sdk/models/shared/shippingraterate.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/shippingraterate.js +96 -0
- package/dist/esm/sdk/models/shared/shippingraterate.js.map +1 -0
- package/dist/esm/sdk/models/shared/shippingratesurcharge.d.ts +23 -0
- package/dist/esm/sdk/models/shared/shippingratesurcharge.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/shippingratesurcharge.js +26 -0
- package/dist/esm/sdk/models/shared/shippingratesurcharge.js.map +1 -0
- package/dist/esm/sdk/models/shared/shippingshipment.d.ts +152 -0
- package/dist/esm/sdk/models/shared/shippingshipment.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/shippingshipment.js +200 -0
- package/dist/esm/sdk/models/shared/shippingshipment.js.map +1 -0
- package/dist/esm/sdk/models/shared/shippingtracking.d.ts +73 -0
- package/dist/esm/sdk/models/shared/shippingtracking.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/shippingtracking.js +97 -0
- package/dist/esm/sdk/models/shared/shippingtracking.js.map +1 -0
- package/dist/esm/sdk/models/shared/shippingtrackingevent.d.ts +58 -0
- package/dist/esm/sdk/models/shared/shippingtrackingevent.d.ts.map +1 -0
- package/dist/esm/sdk/models/shared/shippingtrackingevent.js +84 -0
- package/dist/esm/sdk/models/shared/shippingtrackingevent.js.map +1 -0
- package/dist/esm/sdk/models/shared/webhook.d.ts +6 -1
- package/dist/esm/sdk/models/shared/webhook.d.ts.map +1 -1
- package/dist/esm/sdk/models/shared/webhook.js +6 -1
- package/dist/esm/sdk/models/shared/webhook.js.map +1 -1
- package/dist/esm/sdk/rate.d.ts +14 -0
- package/dist/esm/sdk/rate.d.ts.map +1 -0
- package/dist/esm/sdk/rate.js +22 -0
- package/dist/esm/sdk/rate.js.map +1 -0
- package/dist/esm/sdk/sdk.d.ts +18 -0
- package/dist/esm/sdk/sdk.d.ts.map +1 -1
- package/dist/esm/sdk/sdk.js +24 -0
- package/dist/esm/sdk/sdk.js.map +1 -1
- package/dist/esm/sdk/shipment.d.ts +30 -0
- package/dist/esm/sdk/shipment.d.ts.map +1 -0
- package/dist/esm/sdk/shipment.js +50 -0
- package/dist/esm/sdk/shipment.js.map +1 -0
- package/dist/esm/sdk/shipping.d.ts +74 -0
- package/dist/esm/sdk/shipping.d.ts.map +1 -0
- package/dist/esm/sdk/shipping.js +127 -0
- package/dist/esm/sdk/shipping.js.map +1 -0
- package/dist/esm/sdk/tracking.d.ts +18 -0
- package/dist/esm/sdk/tracking.d.ts.map +1 -0
- package/dist/esm/sdk/tracking.js +29 -0
- package/dist/esm/sdk/tracking.js.map +1 -0
- package/examples/package-lock.json +1 -1
- package/jsr.json +1 -1
- package/package.json +1 -1
- package/src/funcs/shippingCreateShippingLabel.ts +171 -0
- package/src/funcs/shippingCreateShippingRate.ts +170 -0
- package/src/funcs/shippingCreateShippingShipment.ts +171 -0
- package/src/funcs/shippingCreateShippingTracking.ts +171 -0
- package/src/funcs/shippingGetShippingCarrier.ts +173 -0
- package/src/funcs/shippingGetShippingLabel.ts +173 -0
- package/src/funcs/shippingGetShippingRate.ts +173 -0
- package/src/funcs/shippingGetShippingShipment.ts +176 -0
- package/src/funcs/shippingGetShippingTracking.ts +176 -0
- package/src/funcs/shippingListShippingCarriers.ts +177 -0
- package/src/funcs/shippingListShippingLabels.ts +177 -0
- package/src/funcs/shippingListShippingShipments.ts +179 -0
- package/src/funcs/shippingListShippingTrackings.ts +178 -0
- package/src/funcs/shippingPatchShippingShipment.ts +177 -0
- package/src/funcs/shippingRemoveShippingLabel.ts +176 -0
- package/src/funcs/shippingRemoveShippingShipment.ts +181 -0
- package/src/funcs/shippingUpdateShippingShipment.ts +177 -0
- package/src/lib/config.ts +3 -3
- package/src/lib/sdks.ts +2 -2
- package/src/sdk/carrier.ts +40 -0
- package/src/sdk/label.ts +70 -0
- package/src/sdk/models/operations/createshippinglabel.ts +84 -0
- package/src/sdk/models/operations/createshippingrate.ts +78 -0
- package/src/sdk/models/operations/createshippingshipment.ts +108 -0
- package/src/sdk/models/operations/createshippingtracking.ts +86 -0
- package/src/sdk/models/operations/getshippingcarrier.ts +78 -0
- package/src/sdk/models/operations/getshippinglabel.ts +83 -0
- package/src/sdk/models/operations/getshippingrate.ts +79 -0
- package/src/sdk/models/operations/getshippingshipment.ts +107 -0
- package/src/sdk/models/operations/getshippingtracking.ts +85 -0
- package/src/sdk/models/operations/index.ts +17 -0
- package/src/sdk/models/operations/listshippingcarriers.ts +101 -0
- package/src/sdk/models/operations/listshippinglabels.ts +109 -0
- package/src/sdk/models/operations/listshippingshipments.ts +142 -0
- package/src/sdk/models/operations/listshippingtrackings.ts +113 -0
- package/src/sdk/models/operations/listunifiedconnections.ts +1 -0
- package/src/sdk/models/operations/listunifiedintegrations.ts +1 -0
- package/src/sdk/models/operations/listunifiedintegrationworkspaces.ts +1 -0
- package/src/sdk/models/operations/patchmessagingevent.ts +1 -0
- package/src/sdk/models/operations/patchshippingshipment.ts +114 -0
- package/src/sdk/models/operations/removeshippinglabel.ts +75 -0
- package/src/sdk/models/operations/removeshippingshipment.ts +77 -0
- package/src/sdk/models/operations/updatemessagingevent.ts +1 -0
- package/src/sdk/models/operations/updateshippingshipment.ts +114 -0
- package/src/sdk/models/shared/index.ts +18 -0
- package/src/sdk/models/shared/integrationsupport.ts +207 -0
- package/src/sdk/models/shared/messagingevent.ts +10 -4
- package/src/sdk/models/shared/messagingmessage.ts +12 -0
- package/src/sdk/models/shared/propertyconnectioncategories.ts +1 -0
- package/src/sdk/models/shared/propertyconnectionpermissions.ts +9 -2
- package/src/sdk/models/shared/propertyintegrationcategories.ts +1 -0
- package/src/sdk/models/shared/propertymessagingeventmessage.ts +12 -0
- package/src/sdk/models/shared/propertymessagingeventmessageauthormember.ts +3 -0
- package/src/sdk/models/shared/propertymessagingmessageauthormember.ts +3 -0
- package/src/sdk/models/shared/propertyshippingratefromaddress.ts +133 -0
- package/src/sdk/models/shared/propertyshippingratetoaddress.ts +133 -0
- package/src/sdk/models/shared/propertyshippingshipmentcustoms.ts +223 -0
- package/src/sdk/models/shared/propertyshippingshipmentfromaddress.ts +134 -0
- package/src/sdk/models/shared/propertyshippingshipmentinsurance.ts +127 -0
- package/src/sdk/models/shared/propertyshippingshipmentreturnaddress.ts +134 -0
- package/src/sdk/models/shared/propertyshippingshipmenttoaddress.ts +133 -0
- package/src/sdk/models/shared/propertyshippingtrackingeventlocationaddress.ts +139 -0
- package/src/sdk/models/shared/shippingcarrier.ts +58 -0
- package/src/sdk/models/shared/shippingcustomsitem.ts +121 -0
- package/src/sdk/models/shared/shippinglabel.ts +188 -0
- package/src/sdk/models/shared/shippingpackage.ts +148 -0
- package/src/sdk/models/shared/shippingrate.ts +134 -0
- package/src/sdk/models/shared/shippingraterate.ts +177 -0
- package/src/sdk/models/shared/shippingratesurcharge.ts +63 -0
- package/src/sdk/models/shared/shippingshipment.ts +377 -0
- package/src/sdk/models/shared/shippingtracking.ts +178 -0
- package/src/sdk/models/shared/shippingtrackingevent.ts +154 -0
- package/src/sdk/models/shared/webhook.ts +6 -1
- package/src/sdk/rate.ts +40 -0
- package/src/sdk/sdk.ts +36 -0
- package/src/sdk/shipment.ts +100 -0
- package/src/sdk/shipping.ts +265 -0
- package/src/sdk/tracking.ts +55 -0
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import * as openEnums from "../../types/enums.js";
|
|
9
|
+
import { OpenEnum } from "../../types/enums.js";
|
|
10
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
11
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
12
|
+
|
|
13
|
+
export const CoverageType = {
|
|
14
|
+
Standard: "STANDARD",
|
|
15
|
+
Premium: "PREMIUM",
|
|
16
|
+
Custom: "CUSTOM",
|
|
17
|
+
} as const;
|
|
18
|
+
export type CoverageType = OpenEnum<typeof CoverageType>;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Insurance details
|
|
22
|
+
*/
|
|
23
|
+
export type PropertyShippingShipmentInsurance = {
|
|
24
|
+
coverageAmount?: number | undefined;
|
|
25
|
+
coverageType?: CoverageType | undefined;
|
|
26
|
+
currency?: string | undefined;
|
|
27
|
+
insuranceCost?: number | undefined;
|
|
28
|
+
insuranceCostCurrency?: string | undefined;
|
|
29
|
+
insuranceProvider?: string | undefined;
|
|
30
|
+
insuranceProviderCode?: string | undefined;
|
|
31
|
+
insuredValue?: number | undefined;
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
/** @internal */
|
|
35
|
+
export const CoverageType$inboundSchema: z.ZodType<
|
|
36
|
+
CoverageType,
|
|
37
|
+
z.ZodTypeDef,
|
|
38
|
+
unknown
|
|
39
|
+
> = openEnums.inboundSchema(CoverageType);
|
|
40
|
+
/** @internal */
|
|
41
|
+
export const CoverageType$outboundSchema: z.ZodType<
|
|
42
|
+
string,
|
|
43
|
+
z.ZodTypeDef,
|
|
44
|
+
CoverageType
|
|
45
|
+
> = openEnums.outboundSchema(CoverageType);
|
|
46
|
+
|
|
47
|
+
/** @internal */
|
|
48
|
+
export const PropertyShippingShipmentInsurance$inboundSchema: z.ZodType<
|
|
49
|
+
PropertyShippingShipmentInsurance,
|
|
50
|
+
z.ZodTypeDef,
|
|
51
|
+
unknown
|
|
52
|
+
> = z.object({
|
|
53
|
+
coverage_amount: z.number().optional(),
|
|
54
|
+
coverage_type: CoverageType$inboundSchema.optional(),
|
|
55
|
+
currency: z.string().optional(),
|
|
56
|
+
insurance_cost: z.number().optional(),
|
|
57
|
+
insurance_cost_currency: z.string().optional(),
|
|
58
|
+
insurance_provider: z.string().optional(),
|
|
59
|
+
insurance_provider_code: z.string().optional(),
|
|
60
|
+
insured_value: z.number().optional(),
|
|
61
|
+
}).transform((v) => {
|
|
62
|
+
return remap$(v, {
|
|
63
|
+
"coverage_amount": "coverageAmount",
|
|
64
|
+
"coverage_type": "coverageType",
|
|
65
|
+
"insurance_cost": "insuranceCost",
|
|
66
|
+
"insurance_cost_currency": "insuranceCostCurrency",
|
|
67
|
+
"insurance_provider": "insuranceProvider",
|
|
68
|
+
"insurance_provider_code": "insuranceProviderCode",
|
|
69
|
+
"insured_value": "insuredValue",
|
|
70
|
+
});
|
|
71
|
+
});
|
|
72
|
+
/** @internal */
|
|
73
|
+
export type PropertyShippingShipmentInsurance$Outbound = {
|
|
74
|
+
coverage_amount?: number | undefined;
|
|
75
|
+
coverage_type?: string | undefined;
|
|
76
|
+
currency?: string | undefined;
|
|
77
|
+
insurance_cost?: number | undefined;
|
|
78
|
+
insurance_cost_currency?: string | undefined;
|
|
79
|
+
insurance_provider?: string | undefined;
|
|
80
|
+
insurance_provider_code?: string | undefined;
|
|
81
|
+
insured_value?: number | undefined;
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
/** @internal */
|
|
85
|
+
export const PropertyShippingShipmentInsurance$outboundSchema: z.ZodType<
|
|
86
|
+
PropertyShippingShipmentInsurance$Outbound,
|
|
87
|
+
z.ZodTypeDef,
|
|
88
|
+
PropertyShippingShipmentInsurance
|
|
89
|
+
> = z.object({
|
|
90
|
+
coverageAmount: z.number().optional(),
|
|
91
|
+
coverageType: CoverageType$outboundSchema.optional(),
|
|
92
|
+
currency: z.string().optional(),
|
|
93
|
+
insuranceCost: z.number().optional(),
|
|
94
|
+
insuranceCostCurrency: z.string().optional(),
|
|
95
|
+
insuranceProvider: z.string().optional(),
|
|
96
|
+
insuranceProviderCode: z.string().optional(),
|
|
97
|
+
insuredValue: z.number().optional(),
|
|
98
|
+
}).transform((v) => {
|
|
99
|
+
return remap$(v, {
|
|
100
|
+
coverageAmount: "coverage_amount",
|
|
101
|
+
coverageType: "coverage_type",
|
|
102
|
+
insuranceCost: "insurance_cost",
|
|
103
|
+
insuranceCostCurrency: "insurance_cost_currency",
|
|
104
|
+
insuranceProvider: "insurance_provider",
|
|
105
|
+
insuranceProviderCode: "insurance_provider_code",
|
|
106
|
+
insuredValue: "insured_value",
|
|
107
|
+
});
|
|
108
|
+
});
|
|
109
|
+
|
|
110
|
+
export function propertyShippingShipmentInsuranceToJSON(
|
|
111
|
+
propertyShippingShipmentInsurance: PropertyShippingShipmentInsurance,
|
|
112
|
+
): string {
|
|
113
|
+
return JSON.stringify(
|
|
114
|
+
PropertyShippingShipmentInsurance$outboundSchema.parse(
|
|
115
|
+
propertyShippingShipmentInsurance,
|
|
116
|
+
),
|
|
117
|
+
);
|
|
118
|
+
}
|
|
119
|
+
export function propertyShippingShipmentInsuranceFromJSON(
|
|
120
|
+
jsonString: string,
|
|
121
|
+
): SafeParseResult<PropertyShippingShipmentInsurance, SDKValidationError> {
|
|
122
|
+
return safeParse(
|
|
123
|
+
jsonString,
|
|
124
|
+
(x) => PropertyShippingShipmentInsurance$inboundSchema.parse(JSON.parse(x)),
|
|
125
|
+
`Failed to parse 'PropertyShippingShipmentInsurance' from JSON`,
|
|
126
|
+
);
|
|
127
|
+
}
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Return address (may differ from from_address)
|
|
13
|
+
*/
|
|
14
|
+
export type PropertyShippingShipmentReturnAddress = {
|
|
15
|
+
address1?: string | undefined;
|
|
16
|
+
address2?: string | undefined;
|
|
17
|
+
city?: string | undefined;
|
|
18
|
+
companyName?: string | undefined;
|
|
19
|
+
country?: string | undefined;
|
|
20
|
+
countryCode?: string | undefined;
|
|
21
|
+
deliveryInstructions?: string | undefined;
|
|
22
|
+
email?: string | undefined;
|
|
23
|
+
isResidential?: boolean | undefined;
|
|
24
|
+
isValidated?: boolean | undefined;
|
|
25
|
+
name?: string | undefined;
|
|
26
|
+
postalCode?: string | undefined;
|
|
27
|
+
region?: string | undefined;
|
|
28
|
+
regionCode?: string | undefined;
|
|
29
|
+
telephone?: string | undefined;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
/** @internal */
|
|
33
|
+
export const PropertyShippingShipmentReturnAddress$inboundSchema: z.ZodType<
|
|
34
|
+
PropertyShippingShipmentReturnAddress,
|
|
35
|
+
z.ZodTypeDef,
|
|
36
|
+
unknown
|
|
37
|
+
> = z.object({
|
|
38
|
+
address1: z.string().optional(),
|
|
39
|
+
address2: z.string().optional(),
|
|
40
|
+
city: z.string().optional(),
|
|
41
|
+
company_name: z.string().optional(),
|
|
42
|
+
country: z.string().optional(),
|
|
43
|
+
country_code: z.string().optional(),
|
|
44
|
+
delivery_instructions: z.string().optional(),
|
|
45
|
+
email: z.string().optional(),
|
|
46
|
+
is_residential: z.boolean().optional(),
|
|
47
|
+
is_validated: z.boolean().optional(),
|
|
48
|
+
name: z.string().optional(),
|
|
49
|
+
postal_code: z.string().optional(),
|
|
50
|
+
region: z.string().optional(),
|
|
51
|
+
region_code: z.string().optional(),
|
|
52
|
+
telephone: z.string().optional(),
|
|
53
|
+
}).transform((v) => {
|
|
54
|
+
return remap$(v, {
|
|
55
|
+
"company_name": "companyName",
|
|
56
|
+
"country_code": "countryCode",
|
|
57
|
+
"delivery_instructions": "deliveryInstructions",
|
|
58
|
+
"is_residential": "isResidential",
|
|
59
|
+
"is_validated": "isValidated",
|
|
60
|
+
"postal_code": "postalCode",
|
|
61
|
+
"region_code": "regionCode",
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
/** @internal */
|
|
65
|
+
export type PropertyShippingShipmentReturnAddress$Outbound = {
|
|
66
|
+
address1?: string | undefined;
|
|
67
|
+
address2?: string | undefined;
|
|
68
|
+
city?: string | undefined;
|
|
69
|
+
company_name?: string | undefined;
|
|
70
|
+
country?: string | undefined;
|
|
71
|
+
country_code?: string | undefined;
|
|
72
|
+
delivery_instructions?: string | undefined;
|
|
73
|
+
email?: string | undefined;
|
|
74
|
+
is_residential?: boolean | undefined;
|
|
75
|
+
is_validated?: boolean | undefined;
|
|
76
|
+
name?: string | undefined;
|
|
77
|
+
postal_code?: string | undefined;
|
|
78
|
+
region?: string | undefined;
|
|
79
|
+
region_code?: string | undefined;
|
|
80
|
+
telephone?: string | undefined;
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
/** @internal */
|
|
84
|
+
export const PropertyShippingShipmentReturnAddress$outboundSchema: z.ZodType<
|
|
85
|
+
PropertyShippingShipmentReturnAddress$Outbound,
|
|
86
|
+
z.ZodTypeDef,
|
|
87
|
+
PropertyShippingShipmentReturnAddress
|
|
88
|
+
> = z.object({
|
|
89
|
+
address1: z.string().optional(),
|
|
90
|
+
address2: z.string().optional(),
|
|
91
|
+
city: z.string().optional(),
|
|
92
|
+
companyName: z.string().optional(),
|
|
93
|
+
country: z.string().optional(),
|
|
94
|
+
countryCode: z.string().optional(),
|
|
95
|
+
deliveryInstructions: z.string().optional(),
|
|
96
|
+
email: z.string().optional(),
|
|
97
|
+
isResidential: z.boolean().optional(),
|
|
98
|
+
isValidated: z.boolean().optional(),
|
|
99
|
+
name: z.string().optional(),
|
|
100
|
+
postalCode: z.string().optional(),
|
|
101
|
+
region: z.string().optional(),
|
|
102
|
+
regionCode: z.string().optional(),
|
|
103
|
+
telephone: z.string().optional(),
|
|
104
|
+
}).transform((v) => {
|
|
105
|
+
return remap$(v, {
|
|
106
|
+
companyName: "company_name",
|
|
107
|
+
countryCode: "country_code",
|
|
108
|
+
deliveryInstructions: "delivery_instructions",
|
|
109
|
+
isResidential: "is_residential",
|
|
110
|
+
isValidated: "is_validated",
|
|
111
|
+
postalCode: "postal_code",
|
|
112
|
+
regionCode: "region_code",
|
|
113
|
+
});
|
|
114
|
+
});
|
|
115
|
+
|
|
116
|
+
export function propertyShippingShipmentReturnAddressToJSON(
|
|
117
|
+
propertyShippingShipmentReturnAddress: PropertyShippingShipmentReturnAddress,
|
|
118
|
+
): string {
|
|
119
|
+
return JSON.stringify(
|
|
120
|
+
PropertyShippingShipmentReturnAddress$outboundSchema.parse(
|
|
121
|
+
propertyShippingShipmentReturnAddress,
|
|
122
|
+
),
|
|
123
|
+
);
|
|
124
|
+
}
|
|
125
|
+
export function propertyShippingShipmentReturnAddressFromJSON(
|
|
126
|
+
jsonString: string,
|
|
127
|
+
): SafeParseResult<PropertyShippingShipmentReturnAddress, SDKValidationError> {
|
|
128
|
+
return safeParse(
|
|
129
|
+
jsonString,
|
|
130
|
+
(x) =>
|
|
131
|
+
PropertyShippingShipmentReturnAddress$inboundSchema.parse(JSON.parse(x)),
|
|
132
|
+
`Failed to parse 'PropertyShippingShipmentReturnAddress' from JSON`,
|
|
133
|
+
);
|
|
134
|
+
}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Destination address
|
|
13
|
+
*/
|
|
14
|
+
export type PropertyShippingShipmentToAddress = {
|
|
15
|
+
address1?: string | undefined;
|
|
16
|
+
address2?: string | undefined;
|
|
17
|
+
city?: string | undefined;
|
|
18
|
+
companyName?: string | undefined;
|
|
19
|
+
country?: string | undefined;
|
|
20
|
+
countryCode?: string | undefined;
|
|
21
|
+
deliveryInstructions?: string | undefined;
|
|
22
|
+
email?: string | undefined;
|
|
23
|
+
isResidential?: boolean | undefined;
|
|
24
|
+
isValidated?: boolean | undefined;
|
|
25
|
+
name?: string | undefined;
|
|
26
|
+
postalCode?: string | undefined;
|
|
27
|
+
region?: string | undefined;
|
|
28
|
+
regionCode?: string | undefined;
|
|
29
|
+
telephone?: string | undefined;
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
/** @internal */
|
|
33
|
+
export const PropertyShippingShipmentToAddress$inboundSchema: z.ZodType<
|
|
34
|
+
PropertyShippingShipmentToAddress,
|
|
35
|
+
z.ZodTypeDef,
|
|
36
|
+
unknown
|
|
37
|
+
> = z.object({
|
|
38
|
+
address1: z.string().optional(),
|
|
39
|
+
address2: z.string().optional(),
|
|
40
|
+
city: z.string().optional(),
|
|
41
|
+
company_name: z.string().optional(),
|
|
42
|
+
country: z.string().optional(),
|
|
43
|
+
country_code: z.string().optional(),
|
|
44
|
+
delivery_instructions: z.string().optional(),
|
|
45
|
+
email: z.string().optional(),
|
|
46
|
+
is_residential: z.boolean().optional(),
|
|
47
|
+
is_validated: z.boolean().optional(),
|
|
48
|
+
name: z.string().optional(),
|
|
49
|
+
postal_code: z.string().optional(),
|
|
50
|
+
region: z.string().optional(),
|
|
51
|
+
region_code: z.string().optional(),
|
|
52
|
+
telephone: z.string().optional(),
|
|
53
|
+
}).transform((v) => {
|
|
54
|
+
return remap$(v, {
|
|
55
|
+
"company_name": "companyName",
|
|
56
|
+
"country_code": "countryCode",
|
|
57
|
+
"delivery_instructions": "deliveryInstructions",
|
|
58
|
+
"is_residential": "isResidential",
|
|
59
|
+
"is_validated": "isValidated",
|
|
60
|
+
"postal_code": "postalCode",
|
|
61
|
+
"region_code": "regionCode",
|
|
62
|
+
});
|
|
63
|
+
});
|
|
64
|
+
/** @internal */
|
|
65
|
+
export type PropertyShippingShipmentToAddress$Outbound = {
|
|
66
|
+
address1?: string | undefined;
|
|
67
|
+
address2?: string | undefined;
|
|
68
|
+
city?: string | undefined;
|
|
69
|
+
company_name?: string | undefined;
|
|
70
|
+
country?: string | undefined;
|
|
71
|
+
country_code?: string | undefined;
|
|
72
|
+
delivery_instructions?: string | undefined;
|
|
73
|
+
email?: string | undefined;
|
|
74
|
+
is_residential?: boolean | undefined;
|
|
75
|
+
is_validated?: boolean | undefined;
|
|
76
|
+
name?: string | undefined;
|
|
77
|
+
postal_code?: string | undefined;
|
|
78
|
+
region?: string | undefined;
|
|
79
|
+
region_code?: string | undefined;
|
|
80
|
+
telephone?: string | undefined;
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
/** @internal */
|
|
84
|
+
export const PropertyShippingShipmentToAddress$outboundSchema: z.ZodType<
|
|
85
|
+
PropertyShippingShipmentToAddress$Outbound,
|
|
86
|
+
z.ZodTypeDef,
|
|
87
|
+
PropertyShippingShipmentToAddress
|
|
88
|
+
> = z.object({
|
|
89
|
+
address1: z.string().optional(),
|
|
90
|
+
address2: z.string().optional(),
|
|
91
|
+
city: z.string().optional(),
|
|
92
|
+
companyName: z.string().optional(),
|
|
93
|
+
country: z.string().optional(),
|
|
94
|
+
countryCode: z.string().optional(),
|
|
95
|
+
deliveryInstructions: z.string().optional(),
|
|
96
|
+
email: z.string().optional(),
|
|
97
|
+
isResidential: z.boolean().optional(),
|
|
98
|
+
isValidated: z.boolean().optional(),
|
|
99
|
+
name: z.string().optional(),
|
|
100
|
+
postalCode: z.string().optional(),
|
|
101
|
+
region: z.string().optional(),
|
|
102
|
+
regionCode: z.string().optional(),
|
|
103
|
+
telephone: z.string().optional(),
|
|
104
|
+
}).transform((v) => {
|
|
105
|
+
return remap$(v, {
|
|
106
|
+
companyName: "company_name",
|
|
107
|
+
countryCode: "country_code",
|
|
108
|
+
deliveryInstructions: "delivery_instructions",
|
|
109
|
+
isResidential: "is_residential",
|
|
110
|
+
isValidated: "is_validated",
|
|
111
|
+
postalCode: "postal_code",
|
|
112
|
+
regionCode: "region_code",
|
|
113
|
+
});
|
|
114
|
+
});
|
|
115
|
+
|
|
116
|
+
export function propertyShippingShipmentToAddressToJSON(
|
|
117
|
+
propertyShippingShipmentToAddress: PropertyShippingShipmentToAddress,
|
|
118
|
+
): string {
|
|
119
|
+
return JSON.stringify(
|
|
120
|
+
PropertyShippingShipmentToAddress$outboundSchema.parse(
|
|
121
|
+
propertyShippingShipmentToAddress,
|
|
122
|
+
),
|
|
123
|
+
);
|
|
124
|
+
}
|
|
125
|
+
export function propertyShippingShipmentToAddressFromJSON(
|
|
126
|
+
jsonString: string,
|
|
127
|
+
): SafeParseResult<PropertyShippingShipmentToAddress, SDKValidationError> {
|
|
128
|
+
return safeParse(
|
|
129
|
+
jsonString,
|
|
130
|
+
(x) => PropertyShippingShipmentToAddress$inboundSchema.parse(JSON.parse(x)),
|
|
131
|
+
`Failed to parse 'PropertyShippingShipmentToAddress' from JSON`,
|
|
132
|
+
);
|
|
133
|
+
}
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type PropertyShippingTrackingEventLocationAddress = {
|
|
12
|
+
address1?: string | undefined;
|
|
13
|
+
address2?: string | undefined;
|
|
14
|
+
city?: string | undefined;
|
|
15
|
+
companyName?: string | undefined;
|
|
16
|
+
country?: string | undefined;
|
|
17
|
+
countryCode?: string | undefined;
|
|
18
|
+
deliveryInstructions?: string | undefined;
|
|
19
|
+
email?: string | undefined;
|
|
20
|
+
isResidential?: boolean | undefined;
|
|
21
|
+
isValidated?: boolean | undefined;
|
|
22
|
+
name?: string | undefined;
|
|
23
|
+
postalCode?: string | undefined;
|
|
24
|
+
region?: string | undefined;
|
|
25
|
+
regionCode?: string | undefined;
|
|
26
|
+
telephone?: string | undefined;
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
/** @internal */
|
|
30
|
+
export const PropertyShippingTrackingEventLocationAddress$inboundSchema:
|
|
31
|
+
z.ZodType<
|
|
32
|
+
PropertyShippingTrackingEventLocationAddress,
|
|
33
|
+
z.ZodTypeDef,
|
|
34
|
+
unknown
|
|
35
|
+
> = z.object({
|
|
36
|
+
address1: z.string().optional(),
|
|
37
|
+
address2: z.string().optional(),
|
|
38
|
+
city: z.string().optional(),
|
|
39
|
+
company_name: z.string().optional(),
|
|
40
|
+
country: z.string().optional(),
|
|
41
|
+
country_code: z.string().optional(),
|
|
42
|
+
delivery_instructions: z.string().optional(),
|
|
43
|
+
email: z.string().optional(),
|
|
44
|
+
is_residential: z.boolean().optional(),
|
|
45
|
+
is_validated: z.boolean().optional(),
|
|
46
|
+
name: z.string().optional(),
|
|
47
|
+
postal_code: z.string().optional(),
|
|
48
|
+
region: z.string().optional(),
|
|
49
|
+
region_code: z.string().optional(),
|
|
50
|
+
telephone: z.string().optional(),
|
|
51
|
+
}).transform((v) => {
|
|
52
|
+
return remap$(v, {
|
|
53
|
+
"company_name": "companyName",
|
|
54
|
+
"country_code": "countryCode",
|
|
55
|
+
"delivery_instructions": "deliveryInstructions",
|
|
56
|
+
"is_residential": "isResidential",
|
|
57
|
+
"is_validated": "isValidated",
|
|
58
|
+
"postal_code": "postalCode",
|
|
59
|
+
"region_code": "regionCode",
|
|
60
|
+
});
|
|
61
|
+
});
|
|
62
|
+
/** @internal */
|
|
63
|
+
export type PropertyShippingTrackingEventLocationAddress$Outbound = {
|
|
64
|
+
address1?: string | undefined;
|
|
65
|
+
address2?: string | undefined;
|
|
66
|
+
city?: string | undefined;
|
|
67
|
+
company_name?: string | undefined;
|
|
68
|
+
country?: string | undefined;
|
|
69
|
+
country_code?: string | undefined;
|
|
70
|
+
delivery_instructions?: string | undefined;
|
|
71
|
+
email?: string | undefined;
|
|
72
|
+
is_residential?: boolean | undefined;
|
|
73
|
+
is_validated?: boolean | undefined;
|
|
74
|
+
name?: string | undefined;
|
|
75
|
+
postal_code?: string | undefined;
|
|
76
|
+
region?: string | undefined;
|
|
77
|
+
region_code?: string | undefined;
|
|
78
|
+
telephone?: string | undefined;
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
/** @internal */
|
|
82
|
+
export const PropertyShippingTrackingEventLocationAddress$outboundSchema:
|
|
83
|
+
z.ZodType<
|
|
84
|
+
PropertyShippingTrackingEventLocationAddress$Outbound,
|
|
85
|
+
z.ZodTypeDef,
|
|
86
|
+
PropertyShippingTrackingEventLocationAddress
|
|
87
|
+
> = z.object({
|
|
88
|
+
address1: z.string().optional(),
|
|
89
|
+
address2: z.string().optional(),
|
|
90
|
+
city: z.string().optional(),
|
|
91
|
+
companyName: z.string().optional(),
|
|
92
|
+
country: z.string().optional(),
|
|
93
|
+
countryCode: z.string().optional(),
|
|
94
|
+
deliveryInstructions: z.string().optional(),
|
|
95
|
+
email: z.string().optional(),
|
|
96
|
+
isResidential: z.boolean().optional(),
|
|
97
|
+
isValidated: z.boolean().optional(),
|
|
98
|
+
name: z.string().optional(),
|
|
99
|
+
postalCode: z.string().optional(),
|
|
100
|
+
region: z.string().optional(),
|
|
101
|
+
regionCode: z.string().optional(),
|
|
102
|
+
telephone: z.string().optional(),
|
|
103
|
+
}).transform((v) => {
|
|
104
|
+
return remap$(v, {
|
|
105
|
+
companyName: "company_name",
|
|
106
|
+
countryCode: "country_code",
|
|
107
|
+
deliveryInstructions: "delivery_instructions",
|
|
108
|
+
isResidential: "is_residential",
|
|
109
|
+
isValidated: "is_validated",
|
|
110
|
+
postalCode: "postal_code",
|
|
111
|
+
regionCode: "region_code",
|
|
112
|
+
});
|
|
113
|
+
});
|
|
114
|
+
|
|
115
|
+
export function propertyShippingTrackingEventLocationAddressToJSON(
|
|
116
|
+
propertyShippingTrackingEventLocationAddress:
|
|
117
|
+
PropertyShippingTrackingEventLocationAddress,
|
|
118
|
+
): string {
|
|
119
|
+
return JSON.stringify(
|
|
120
|
+
PropertyShippingTrackingEventLocationAddress$outboundSchema.parse(
|
|
121
|
+
propertyShippingTrackingEventLocationAddress,
|
|
122
|
+
),
|
|
123
|
+
);
|
|
124
|
+
}
|
|
125
|
+
export function propertyShippingTrackingEventLocationAddressFromJSON(
|
|
126
|
+
jsonString: string,
|
|
127
|
+
): SafeParseResult<
|
|
128
|
+
PropertyShippingTrackingEventLocationAddress,
|
|
129
|
+
SDKValidationError
|
|
130
|
+
> {
|
|
131
|
+
return safeParse(
|
|
132
|
+
jsonString,
|
|
133
|
+
(x) =>
|
|
134
|
+
PropertyShippingTrackingEventLocationAddress$inboundSchema.parse(
|
|
135
|
+
JSON.parse(x),
|
|
136
|
+
),
|
|
137
|
+
`Failed to parse 'PropertyShippingTrackingEventLocationAddress' from JSON`,
|
|
138
|
+
);
|
|
139
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import * as z from "zod/v3";
|
|
6
|
+
import { remap as remap$ } from "../../../lib/primitives.js";
|
|
7
|
+
import { safeParse } from "../../../lib/schemas.js";
|
|
8
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
|
+
|
|
11
|
+
export type ShippingCarrier = {
|
|
12
|
+
code?: string | undefined;
|
|
13
|
+
createdAt?: Date | undefined;
|
|
14
|
+
id?: string | undefined;
|
|
15
|
+
isActive?: boolean | undefined;
|
|
16
|
+
logoUrl?: string | undefined;
|
|
17
|
+
name?: string | undefined;
|
|
18
|
+
raw?: { [k: string]: any } | undefined;
|
|
19
|
+
updatedAt?: Date | undefined;
|
|
20
|
+
websiteUrl?: string | undefined;
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
/** @internal */
|
|
24
|
+
export const ShippingCarrier$inboundSchema: z.ZodType<
|
|
25
|
+
ShippingCarrier,
|
|
26
|
+
z.ZodTypeDef,
|
|
27
|
+
unknown
|
|
28
|
+
> = z.object({
|
|
29
|
+
code: z.string().optional(),
|
|
30
|
+
created_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
31
|
+
.optional(),
|
|
32
|
+
id: z.string().optional(),
|
|
33
|
+
is_active: z.boolean().optional(),
|
|
34
|
+
logo_url: z.string().optional(),
|
|
35
|
+
name: z.string().optional(),
|
|
36
|
+
raw: z.record(z.any()).optional(),
|
|
37
|
+
updated_at: z.string().datetime({ offset: true }).transform(v => new Date(v))
|
|
38
|
+
.optional(),
|
|
39
|
+
website_url: z.string().optional(),
|
|
40
|
+
}).transform((v) => {
|
|
41
|
+
return remap$(v, {
|
|
42
|
+
"created_at": "createdAt",
|
|
43
|
+
"is_active": "isActive",
|
|
44
|
+
"logo_url": "logoUrl",
|
|
45
|
+
"updated_at": "updatedAt",
|
|
46
|
+
"website_url": "websiteUrl",
|
|
47
|
+
});
|
|
48
|
+
});
|
|
49
|
+
|
|
50
|
+
export function shippingCarrierFromJSON(
|
|
51
|
+
jsonString: string,
|
|
52
|
+
): SafeParseResult<ShippingCarrier, SDKValidationError> {
|
|
53
|
+
return safeParse(
|
|
54
|
+
jsonString,
|
|
55
|
+
(x) => ShippingCarrier$inboundSchema.parse(JSON.parse(x)),
|
|
56
|
+
`Failed to parse 'ShippingCarrier' from JSON`,
|
|
57
|
+
);
|
|
58
|
+
}
|