@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
|
@@ -46,6 +46,9 @@ import {
|
|
|
46
46
|
|
|
47
47
|
export type PropertyMessagingEventMessage = {
|
|
48
48
|
attachments?: Array<MessagingAttachment> | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* for email systems, this field represents the From value
|
|
51
|
+
*/
|
|
49
52
|
authorMember?: PropertyMessagingEventMessageAuthorMember | undefined;
|
|
50
53
|
buttons?: Array<MessagingButton> | undefined;
|
|
51
54
|
channelId?: string | undefined;
|
|
@@ -58,11 +61,20 @@ export type PropertyMessagingEventMessage = {
|
|
|
58
61
|
*/
|
|
59
62
|
channels?: Array<MessagingReference> | undefined;
|
|
60
63
|
createdAt?: Date | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* for email systems, this field represents the To value
|
|
66
|
+
*/
|
|
61
67
|
destinationMembers?: Array<MessagingMember> | undefined;
|
|
62
68
|
hasChildren?: boolean | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* for email systems, this field represents the BCC value
|
|
71
|
+
*/
|
|
63
72
|
hiddenMembers?: Array<MessagingMember> | undefined;
|
|
64
73
|
id?: string | undefined;
|
|
65
74
|
isUnread?: boolean | undefined;
|
|
75
|
+
/**
|
|
76
|
+
* for email systems, this field represents the CC value
|
|
77
|
+
*/
|
|
66
78
|
mentionedMembers?: Array<MessagingMember> | undefined;
|
|
67
79
|
message?: string | undefined;
|
|
68
80
|
messageHtml?: string | undefined;
|
|
@@ -8,6 +8,9 @@ import { safeParse } from "../../../lib/schemas.js";
|
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
|
+
/**
|
|
12
|
+
* for email systems, this field represents the From value
|
|
13
|
+
*/
|
|
11
14
|
export type PropertyMessagingEventMessageAuthorMember = {
|
|
12
15
|
email?: string | undefined;
|
|
13
16
|
imageUrl?: string | undefined;
|
|
@@ -8,6 +8,9 @@ import { safeParse } from "../../../lib/schemas.js";
|
|
|
8
8
|
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
9
9
|
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
10
10
|
|
|
11
|
+
/**
|
|
12
|
+
* for email systems, this field represents the From value
|
|
13
|
+
*/
|
|
11
14
|
export type PropertyMessagingMessageAuthorMember = {
|
|
12
15
|
email?: string | undefined;
|
|
13
16
|
imageUrl?: string | undefined;
|
|
@@ -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
|
+
* Origin address
|
|
13
|
+
*/
|
|
14
|
+
export type PropertyShippingRateFromAddress = {
|
|
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 PropertyShippingRateFromAddress$inboundSchema: z.ZodType<
|
|
34
|
+
PropertyShippingRateFromAddress,
|
|
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 PropertyShippingRateFromAddress$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 PropertyShippingRateFromAddress$outboundSchema: z.ZodType<
|
|
85
|
+
PropertyShippingRateFromAddress$Outbound,
|
|
86
|
+
z.ZodTypeDef,
|
|
87
|
+
PropertyShippingRateFromAddress
|
|
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 propertyShippingRateFromAddressToJSON(
|
|
117
|
+
propertyShippingRateFromAddress: PropertyShippingRateFromAddress,
|
|
118
|
+
): string {
|
|
119
|
+
return JSON.stringify(
|
|
120
|
+
PropertyShippingRateFromAddress$outboundSchema.parse(
|
|
121
|
+
propertyShippingRateFromAddress,
|
|
122
|
+
),
|
|
123
|
+
);
|
|
124
|
+
}
|
|
125
|
+
export function propertyShippingRateFromAddressFromJSON(
|
|
126
|
+
jsonString: string,
|
|
127
|
+
): SafeParseResult<PropertyShippingRateFromAddress, SDKValidationError> {
|
|
128
|
+
return safeParse(
|
|
129
|
+
jsonString,
|
|
130
|
+
(x) => PropertyShippingRateFromAddress$inboundSchema.parse(JSON.parse(x)),
|
|
131
|
+
`Failed to parse 'PropertyShippingRateFromAddress' from JSON`,
|
|
132
|
+
);
|
|
133
|
+
}
|
|
@@ -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 PropertyShippingRateToAddress = {
|
|
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 PropertyShippingRateToAddress$inboundSchema: z.ZodType<
|
|
34
|
+
PropertyShippingRateToAddress,
|
|
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 PropertyShippingRateToAddress$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 PropertyShippingRateToAddress$outboundSchema: z.ZodType<
|
|
85
|
+
PropertyShippingRateToAddress$Outbound,
|
|
86
|
+
z.ZodTypeDef,
|
|
87
|
+
PropertyShippingRateToAddress
|
|
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 propertyShippingRateToAddressToJSON(
|
|
117
|
+
propertyShippingRateToAddress: PropertyShippingRateToAddress,
|
|
118
|
+
): string {
|
|
119
|
+
return JSON.stringify(
|
|
120
|
+
PropertyShippingRateToAddress$outboundSchema.parse(
|
|
121
|
+
propertyShippingRateToAddress,
|
|
122
|
+
),
|
|
123
|
+
);
|
|
124
|
+
}
|
|
125
|
+
export function propertyShippingRateToAddressFromJSON(
|
|
126
|
+
jsonString: string,
|
|
127
|
+
): SafeParseResult<PropertyShippingRateToAddress, SDKValidationError> {
|
|
128
|
+
return safeParse(
|
|
129
|
+
jsonString,
|
|
130
|
+
(x) => PropertyShippingRateToAddress$inboundSchema.parse(JSON.parse(x)),
|
|
131
|
+
`Failed to parse 'PropertyShippingRateToAddress' from JSON`,
|
|
132
|
+
);
|
|
133
|
+
}
|
|
@@ -0,0 +1,223 @@
|
|
|
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
|
+
import {
|
|
13
|
+
ShippingCustomsItem,
|
|
14
|
+
ShippingCustomsItem$inboundSchema,
|
|
15
|
+
ShippingCustomsItem$Outbound,
|
|
16
|
+
ShippingCustomsItem$outboundSchema,
|
|
17
|
+
} from "./shippingcustomsitem.js";
|
|
18
|
+
|
|
19
|
+
export const ContentsType = {
|
|
20
|
+
Merchandise: "MERCHANDISE",
|
|
21
|
+
Documents: "DOCUMENTS",
|
|
22
|
+
Gift: "GIFT",
|
|
23
|
+
ReturnedGoods: "RETURNED_GOODS",
|
|
24
|
+
Sample: "SAMPLE",
|
|
25
|
+
Other: "OTHER",
|
|
26
|
+
} as const;
|
|
27
|
+
export type ContentsType = OpenEnum<typeof ContentsType>;
|
|
28
|
+
|
|
29
|
+
export const DutiesPaidBy = {
|
|
30
|
+
Sender: "SENDER",
|
|
31
|
+
Recipient: "RECIPIENT",
|
|
32
|
+
ThirdParty: "THIRD_PARTY",
|
|
33
|
+
} as const;
|
|
34
|
+
export type DutiesPaidBy = OpenEnum<typeof DutiesPaidBy>;
|
|
35
|
+
|
|
36
|
+
export const NonDeliveryOption = {
|
|
37
|
+
Return: "RETURN",
|
|
38
|
+
Abandon: "ABANDON",
|
|
39
|
+
} as const;
|
|
40
|
+
export type NonDeliveryOption = OpenEnum<typeof NonDeliveryOption>;
|
|
41
|
+
|
|
42
|
+
export const TaxesPaidBy = {
|
|
43
|
+
Sender: "SENDER",
|
|
44
|
+
Recipient: "RECIPIENT",
|
|
45
|
+
ThirdParty: "THIRD_PARTY",
|
|
46
|
+
} as const;
|
|
47
|
+
export type TaxesPaidBy = OpenEnum<typeof TaxesPaidBy>;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Customs information
|
|
51
|
+
*/
|
|
52
|
+
export type PropertyShippingShipmentCustoms = {
|
|
53
|
+
amount?: number | undefined;
|
|
54
|
+
contentsType?: ContentsType | undefined;
|
|
55
|
+
currency?: string | undefined;
|
|
56
|
+
description?: string | undefined;
|
|
57
|
+
dutiesPaidBy?: DutiesPaidBy | undefined;
|
|
58
|
+
/**
|
|
59
|
+
* Customs items
|
|
60
|
+
*/
|
|
61
|
+
items?: Array<ShippingCustomsItem> | undefined;
|
|
62
|
+
nonDeliveryOption?: NonDeliveryOption | undefined;
|
|
63
|
+
recipientEori?: string | undefined;
|
|
64
|
+
recipientTaxNumber?: string | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* Any restrictions
|
|
67
|
+
*/
|
|
68
|
+
restrictions?: Array<string> | undefined;
|
|
69
|
+
shipperEori?: string | undefined;
|
|
70
|
+
shipperTaxNumber?: string | undefined;
|
|
71
|
+
taxesPaidBy?: TaxesPaidBy | undefined;
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
/** @internal */
|
|
75
|
+
export const ContentsType$inboundSchema: z.ZodType<
|
|
76
|
+
ContentsType,
|
|
77
|
+
z.ZodTypeDef,
|
|
78
|
+
unknown
|
|
79
|
+
> = openEnums.inboundSchema(ContentsType);
|
|
80
|
+
/** @internal */
|
|
81
|
+
export const ContentsType$outboundSchema: z.ZodType<
|
|
82
|
+
string,
|
|
83
|
+
z.ZodTypeDef,
|
|
84
|
+
ContentsType
|
|
85
|
+
> = openEnums.outboundSchema(ContentsType);
|
|
86
|
+
|
|
87
|
+
/** @internal */
|
|
88
|
+
export const DutiesPaidBy$inboundSchema: z.ZodType<
|
|
89
|
+
DutiesPaidBy,
|
|
90
|
+
z.ZodTypeDef,
|
|
91
|
+
unknown
|
|
92
|
+
> = openEnums.inboundSchema(DutiesPaidBy);
|
|
93
|
+
/** @internal */
|
|
94
|
+
export const DutiesPaidBy$outboundSchema: z.ZodType<
|
|
95
|
+
string,
|
|
96
|
+
z.ZodTypeDef,
|
|
97
|
+
DutiesPaidBy
|
|
98
|
+
> = openEnums.outboundSchema(DutiesPaidBy);
|
|
99
|
+
|
|
100
|
+
/** @internal */
|
|
101
|
+
export const NonDeliveryOption$inboundSchema: z.ZodType<
|
|
102
|
+
NonDeliveryOption,
|
|
103
|
+
z.ZodTypeDef,
|
|
104
|
+
unknown
|
|
105
|
+
> = openEnums.inboundSchema(NonDeliveryOption);
|
|
106
|
+
/** @internal */
|
|
107
|
+
export const NonDeliveryOption$outboundSchema: z.ZodType<
|
|
108
|
+
string,
|
|
109
|
+
z.ZodTypeDef,
|
|
110
|
+
NonDeliveryOption
|
|
111
|
+
> = openEnums.outboundSchema(NonDeliveryOption);
|
|
112
|
+
|
|
113
|
+
/** @internal */
|
|
114
|
+
export const TaxesPaidBy$inboundSchema: z.ZodType<
|
|
115
|
+
TaxesPaidBy,
|
|
116
|
+
z.ZodTypeDef,
|
|
117
|
+
unknown
|
|
118
|
+
> = openEnums.inboundSchema(TaxesPaidBy);
|
|
119
|
+
/** @internal */
|
|
120
|
+
export const TaxesPaidBy$outboundSchema: z.ZodType<
|
|
121
|
+
string,
|
|
122
|
+
z.ZodTypeDef,
|
|
123
|
+
TaxesPaidBy
|
|
124
|
+
> = openEnums.outboundSchema(TaxesPaidBy);
|
|
125
|
+
|
|
126
|
+
/** @internal */
|
|
127
|
+
export const PropertyShippingShipmentCustoms$inboundSchema: z.ZodType<
|
|
128
|
+
PropertyShippingShipmentCustoms,
|
|
129
|
+
z.ZodTypeDef,
|
|
130
|
+
unknown
|
|
131
|
+
> = z.object({
|
|
132
|
+
amount: z.number().optional(),
|
|
133
|
+
contents_type: ContentsType$inboundSchema.optional(),
|
|
134
|
+
currency: z.string().optional(),
|
|
135
|
+
description: z.string().optional(),
|
|
136
|
+
duties_paid_by: DutiesPaidBy$inboundSchema.optional(),
|
|
137
|
+
items: z.array(ShippingCustomsItem$inboundSchema).optional(),
|
|
138
|
+
non_delivery_option: NonDeliveryOption$inboundSchema.optional(),
|
|
139
|
+
recipient_eori: z.string().optional(),
|
|
140
|
+
recipient_tax_number: z.string().optional(),
|
|
141
|
+
restrictions: z.array(z.string()).optional(),
|
|
142
|
+
shipper_eori: z.string().optional(),
|
|
143
|
+
shipper_tax_number: z.string().optional(),
|
|
144
|
+
taxes_paid_by: TaxesPaidBy$inboundSchema.optional(),
|
|
145
|
+
}).transform((v) => {
|
|
146
|
+
return remap$(v, {
|
|
147
|
+
"contents_type": "contentsType",
|
|
148
|
+
"duties_paid_by": "dutiesPaidBy",
|
|
149
|
+
"non_delivery_option": "nonDeliveryOption",
|
|
150
|
+
"recipient_eori": "recipientEori",
|
|
151
|
+
"recipient_tax_number": "recipientTaxNumber",
|
|
152
|
+
"shipper_eori": "shipperEori",
|
|
153
|
+
"shipper_tax_number": "shipperTaxNumber",
|
|
154
|
+
"taxes_paid_by": "taxesPaidBy",
|
|
155
|
+
});
|
|
156
|
+
});
|
|
157
|
+
/** @internal */
|
|
158
|
+
export type PropertyShippingShipmentCustoms$Outbound = {
|
|
159
|
+
amount?: number | undefined;
|
|
160
|
+
contents_type?: string | undefined;
|
|
161
|
+
currency?: string | undefined;
|
|
162
|
+
description?: string | undefined;
|
|
163
|
+
duties_paid_by?: string | undefined;
|
|
164
|
+
items?: Array<ShippingCustomsItem$Outbound> | undefined;
|
|
165
|
+
non_delivery_option?: string | undefined;
|
|
166
|
+
recipient_eori?: string | undefined;
|
|
167
|
+
recipient_tax_number?: string | undefined;
|
|
168
|
+
restrictions?: Array<string> | undefined;
|
|
169
|
+
shipper_eori?: string | undefined;
|
|
170
|
+
shipper_tax_number?: string | undefined;
|
|
171
|
+
taxes_paid_by?: string | undefined;
|
|
172
|
+
};
|
|
173
|
+
|
|
174
|
+
/** @internal */
|
|
175
|
+
export const PropertyShippingShipmentCustoms$outboundSchema: z.ZodType<
|
|
176
|
+
PropertyShippingShipmentCustoms$Outbound,
|
|
177
|
+
z.ZodTypeDef,
|
|
178
|
+
PropertyShippingShipmentCustoms
|
|
179
|
+
> = z.object({
|
|
180
|
+
amount: z.number().optional(),
|
|
181
|
+
contentsType: ContentsType$outboundSchema.optional(),
|
|
182
|
+
currency: z.string().optional(),
|
|
183
|
+
description: z.string().optional(),
|
|
184
|
+
dutiesPaidBy: DutiesPaidBy$outboundSchema.optional(),
|
|
185
|
+
items: z.array(ShippingCustomsItem$outboundSchema).optional(),
|
|
186
|
+
nonDeliveryOption: NonDeliveryOption$outboundSchema.optional(),
|
|
187
|
+
recipientEori: z.string().optional(),
|
|
188
|
+
recipientTaxNumber: z.string().optional(),
|
|
189
|
+
restrictions: z.array(z.string()).optional(),
|
|
190
|
+
shipperEori: z.string().optional(),
|
|
191
|
+
shipperTaxNumber: z.string().optional(),
|
|
192
|
+
taxesPaidBy: TaxesPaidBy$outboundSchema.optional(),
|
|
193
|
+
}).transform((v) => {
|
|
194
|
+
return remap$(v, {
|
|
195
|
+
contentsType: "contents_type",
|
|
196
|
+
dutiesPaidBy: "duties_paid_by",
|
|
197
|
+
nonDeliveryOption: "non_delivery_option",
|
|
198
|
+
recipientEori: "recipient_eori",
|
|
199
|
+
recipientTaxNumber: "recipient_tax_number",
|
|
200
|
+
shipperEori: "shipper_eori",
|
|
201
|
+
shipperTaxNumber: "shipper_tax_number",
|
|
202
|
+
taxesPaidBy: "taxes_paid_by",
|
|
203
|
+
});
|
|
204
|
+
});
|
|
205
|
+
|
|
206
|
+
export function propertyShippingShipmentCustomsToJSON(
|
|
207
|
+
propertyShippingShipmentCustoms: PropertyShippingShipmentCustoms,
|
|
208
|
+
): string {
|
|
209
|
+
return JSON.stringify(
|
|
210
|
+
PropertyShippingShipmentCustoms$outboundSchema.parse(
|
|
211
|
+
propertyShippingShipmentCustoms,
|
|
212
|
+
),
|
|
213
|
+
);
|
|
214
|
+
}
|
|
215
|
+
export function propertyShippingShipmentCustomsFromJSON(
|
|
216
|
+
jsonString: string,
|
|
217
|
+
): SafeParseResult<PropertyShippingShipmentCustoms, SDKValidationError> {
|
|
218
|
+
return safeParse(
|
|
219
|
+
jsonString,
|
|
220
|
+
(x) => PropertyShippingShipmentCustoms$inboundSchema.parse(JSON.parse(x)),
|
|
221
|
+
`Failed to parse 'PropertyShippingShipmentCustoms' from JSON`,
|
|
222
|
+
);
|
|
223
|
+
}
|
|
@@ -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
|
+
* Origin address
|
|
13
|
+
*/
|
|
14
|
+
export type PropertyShippingShipmentFromAddress = {
|
|
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 PropertyShippingShipmentFromAddress$inboundSchema: z.ZodType<
|
|
34
|
+
PropertyShippingShipmentFromAddress,
|
|
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 PropertyShippingShipmentFromAddress$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 PropertyShippingShipmentFromAddress$outboundSchema: z.ZodType<
|
|
85
|
+
PropertyShippingShipmentFromAddress$Outbound,
|
|
86
|
+
z.ZodTypeDef,
|
|
87
|
+
PropertyShippingShipmentFromAddress
|
|
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 propertyShippingShipmentFromAddressToJSON(
|
|
117
|
+
propertyShippingShipmentFromAddress: PropertyShippingShipmentFromAddress,
|
|
118
|
+
): string {
|
|
119
|
+
return JSON.stringify(
|
|
120
|
+
PropertyShippingShipmentFromAddress$outboundSchema.parse(
|
|
121
|
+
propertyShippingShipmentFromAddress,
|
|
122
|
+
),
|
|
123
|
+
);
|
|
124
|
+
}
|
|
125
|
+
export function propertyShippingShipmentFromAddressFromJSON(
|
|
126
|
+
jsonString: string,
|
|
127
|
+
): SafeParseResult<PropertyShippingShipmentFromAddress, SDKValidationError> {
|
|
128
|
+
return safeParse(
|
|
129
|
+
jsonString,
|
|
130
|
+
(x) =>
|
|
131
|
+
PropertyShippingShipmentFromAddress$inboundSchema.parse(JSON.parse(x)),
|
|
132
|
+
`Failed to parse 'PropertyShippingShipmentFromAddress' from JSON`,
|
|
133
|
+
);
|
|
134
|
+
}
|