@chrt-inc/typescript-sdk 1.449.1 → 1.449.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Client.js +2 -2
- package/dist/cjs/api/resources/analytics/resources/shipping/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/analytics/resources/shipping/client/Client.js +2 -2
- package/dist/cjs/api/resources/analytics/resources/shipping/client/requests/AnalyticsTimePeriodRequest.d.ts +4 -4
- package/dist/cjs/api/resources/billing/client/Client.d.ts +6 -6
- package/dist/cjs/api/resources/billing/client/Client.js +12 -12
- package/dist/cjs/api/resources/billing/resources/index.d.ts +3 -3
- package/dist/cjs/api/resources/billing/resources/index.js +4 -4
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.d.ts +43 -43
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.js +112 -112
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/AdjustLineItemReq.d.ts +4 -4
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/Client.d.ts +22 -22
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/Client.js +44 -44
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/CreateAdHocLineItemGroupReq.d.ts +8 -8
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/LineItemClientCreate1.d.ts +4 -4
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/Client.d.ts +19 -19
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/Client.js +52 -52
- package/dist/cjs/api/resources/billing/resources/rateSheets/client/Client.d.ts +59 -59
- package/dist/cjs/api/resources/billing/resources/rateSheets/client/Client.js +159 -159
- package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetClientCreate1.d.ts +13 -13
- package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/RateSheetClientUpdate1.d.ts +2 -2
- package/dist/cjs/api/resources/billing/resources/rateSheets/client/requests/index.d.ts +4 -4
- package/dist/cjs/api/resources/billing/resources/statements/client/Client.d.ts +46 -46
- package/dist/cjs/api/resources/billing/resources/statements/client/Client.js +120 -120
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/CreateStatementReq.d.ts +8 -8
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/index.d.ts +3 -3
- package/dist/cjs/api/resources/billing/resources/stripeConnect/client/Client.d.ts +8 -8
- package/dist/cjs/api/resources/billing/resources/stripeConnect/client/Client.js +19 -19
- package/dist/cjs/api/resources/notifications/resources/adHoc/client/Client.d.ts +15 -15
- package/dist/cjs/api/resources/notifications/resources/adHoc/client/Client.js +33 -33
- package/dist/cjs/api/resources/notifications/resources/adHoc/client/requests/NotificationIntentAdHocClientCreate1.d.ts +3 -3
- package/dist/cjs/api/resources/notifications/resources/groups/client/Client.d.ts +57 -57
- package/dist/cjs/api/resources/notifications/resources/groups/client/Client.js +146 -146
- package/dist/cjs/api/resources/notifications/resources/groups/client/requests/NotificationGroupClientCreate1.d.ts +3 -3
- package/dist/cjs/api/resources/notifications/resources/userPreferences/client/Client.d.ts +8 -8
- package/dist/cjs/api/resources/notifications/resources/userPreferences/client/Client.js +16 -16
- package/dist/cjs/api/resources/notifications/resources/userPreferences/client/requests/UserNotificationPreferencesUpdateRequest.d.ts +2 -2
- package/dist/cjs/api/resources/notifications/resources/webhookSetup/client/Client.d.ts +14 -14
- package/dist/cjs/api/resources/notifications/resources/webhookSetup/client/Client.js +28 -28
- package/dist/cjs/api/resources/orgs/resources/connections/client/Client.d.ts +31 -31
- package/dist/cjs/api/resources/orgs/resources/connections/client/Client.js +98 -98
- package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/Client.js +2 -2
- package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.ts +9 -9
- package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.ts +4 -4
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/Client.js +9 -9
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/Client.d.ts +19 -19
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/Client.js +51 -51
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.d.ts +7 -7
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.d.ts +4 -4
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/Client.d.ts +12 -12
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/Client.js +51 -51
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientCreate1.d.ts +7 -7
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientUpdate1.d.ts +4 -4
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/index.d.ts +2 -2
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/index.js +3 -3
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.d.ts +12 -12
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.js +51 -51
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.d.ts +7 -7
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.d.ts +4 -4
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/Client.d.ts +32 -32
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/Client.js +66 -66
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.d.ts +3 -3
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.d.ts +3 -3
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/orgs/resources/publicData/client/Client.d.ts +13 -13
- package/dist/cjs/api/resources/orgs/resources/publicData/client/Client.js +59 -59
- package/dist/cjs/api/resources/orgs/resources/publicData/client/requests/CreateOrgPublicDataReq.d.ts +1 -1
- package/dist/cjs/api/resources/orgs/resources/publicData/client/requests/UpdateOrgPublicDataReq.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/client/Client.d.ts +9 -9
- package/dist/cjs/api/resources/shipping/client/Client.js +12 -12
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +38 -38
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +126 -126
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverClientCreate1.d.ts +3 -3
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriverClientUpdate1.d.ts +7 -7
- package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/index.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/index.js +3 -3
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.d.ts +22 -22
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.js +49 -49
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersDraftUpdateReq.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/cargo/client/Client.d.ts +19 -19
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/cargo/client/Client.js +30 -30
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/cargo/client/requests/OrderDraftAddCargoReq.d.ts +5 -5
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.d.ts +3 -3
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.ts +14 -14
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.js +55 -55
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/index.d.ts +5 -5
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/index.js +6 -6
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/task/client/Client.d.ts +15 -15
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/task/client/Client.js +26 -26
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/task/client/requests/OrderDraftAddTaskReqV1.d.ts +4 -4
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskArtifact/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskArtifact/client/Client.js +2 -2
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.d.ts +3 -3
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.ts +34 -34
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.js +73 -73
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.ts +4 -4
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/SetRateSheetsReq.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +8 -8
- package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +16 -16
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +8 -8
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +14 -14
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/Client.d.ts +10 -10
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/Client.js +18 -18
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/client/requests/AddTaskArtifactReq.d.ts +3 -3
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.ts +19 -19
- package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.js +52 -52
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.d.ts +50 -50
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.js +85 -85
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +26 -26
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +44 -44
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/types/index.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/types/index.js +1 -1
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/index.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/index.js +3 -3
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.d.ts +19 -19
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.js +52 -52
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.d.ts +8 -8
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.js +14 -14
- package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.d.ts +16 -16
- package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.js +31 -31
- package/dist/cjs/api/resources/shipping/resources/tasks/client/requests/AddTaskToGroupReq.d.ts +6 -6
- package/dist/cjs/api/resources/tracking/resources/devices/client/Client.d.ts +54 -54
- package/dist/cjs/api/resources/tracking/resources/devices/client/Client.js +191 -191
- package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DeviceClientCreate1.d.ts +5 -5
- package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DeviceClientUpdate1.d.ts +3 -3
- package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DevicesUpdateSharedOrgsReq1.d.ts +1 -1
- package/dist/cjs/api/resources/tracking/resources/devices/client/requests/index.d.ts +4 -4
- package/dist/cjs/api/resources/tracking/resources/driver/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/tracking/resources/driver/client/Client.js +2 -2
- package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.d.ts +80 -80
- package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.js +237 -237
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionAddFlightReq1.d.ts +4 -4
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionClientCreate1.d.ts +5 -5
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionClientUpdate1.d.ts +3 -3
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionRemoveFlightReq1.d.ts +4 -4
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionsUpdateSharedOrgsReq1.d.ts +1 -1
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/index.d.ts +7 -7
- package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/Client.d.ts +30 -30
- package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/Client.js +52 -52
- package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/requests/CargoByDeviceSharingSettingsUpdateReq.d.ts +3 -3
- package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/requests/CargoByDriverSharingSettingsUpdateReq.d.ts +3 -3
- package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/requests/TaskGroupByDriverSharingSettingsUpdateReq.d.ts +3 -3
- package/dist/cjs/api/resources/tracking/resources/sharingSettings/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.d.ts +26 -26
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.js +64 -64
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/CargoByDeviceMarkOutliersRequest1.d.ts +3 -3
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/index.d.ts +3 -3
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/Client.d.ts +23 -23
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/Client.js +51 -51
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.d.ts +25 -25
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.js +62 -62
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/SessionByDeviceMarkOutliersRequest1.d.ts +3 -3
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/index.d.ts +3 -3
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.d.ts +23 -23
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.js +51 -51
- package/dist/cjs/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/users/client/Client.d.ts +6 -6
- package/dist/cjs/api/resources/users/client/Client.js +6 -6
- package/dist/cjs/api/resources/users/resources/directoryEntries/client/Client.d.ts +22 -22
- package/dist/cjs/api/resources/users/resources/directoryEntries/client/Client.js +56 -56
- package/dist/cjs/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntryClientCreate1.d.ts +8 -8
- package/dist/cjs/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.ts +4 -4
- package/dist/cjs/api/resources/users/resources/index.d.ts +3 -3
- package/dist/cjs/api/resources/users/resources/index.js +4 -4
- package/dist/cjs/api/resources/users/resources/privateData/client/Client.d.ts +15 -15
- package/dist/cjs/api/resources/users/resources/privateData/client/Client.js +59 -59
- package/dist/cjs/api/resources/users/resources/privateData/client/requests/UserPrivateDataClientCreate1.d.ts +2 -2
- package/dist/cjs/api/resources/users/resources/privateData/client/requests/UserPrivateDataClientUpdate1.d.ts +1 -1
- package/dist/cjs/api/resources/users/resources/privateData/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/utils/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/utils/client/Client.js +6 -6
- package/dist/cjs/api/resources/utils/resources/dev/client/Client.d.ts +24 -24
- package/dist/cjs/api/resources/utils/resources/dev/client/Client.js +75 -75
- package/dist/cjs/api/resources/utils/resources/index.d.ts +1 -1
- package/dist/cjs/api/resources/utils/resources/index.js +2 -2
- package/dist/cjs/api/resources/utils/resources/root/client/Client.d.ts +16 -16
- package/dist/cjs/api/resources/utils/resources/root/client/Client.js +28 -28
- package/dist/cjs/api/types/AgentRes.d.ts +1 -1
- package/dist/cjs/api/types/BillingLineItemGroupMessageWebhookPayload.d.ts +1 -1
- package/dist/cjs/api/types/BillingLineItemGroupS3ObjectAddedWebhookPayload.d.ts +1 -1
- package/dist/cjs/api/types/BillingStatementOpenedWebhookPayload.d.ts +1 -1
- package/dist/cjs/api/types/BillingStatementPaidWebhookPayload.d.ts +1 -1
- package/dist/cjs/api/types/Cargo1.d.ts +16 -16
- package/dist/cjs/api/types/CargoByDeviceDataPoint1.d.ts +4 -4
- package/dist/cjs/api/types/CargoByDeviceDataPointMetadata1.d.ts +1 -1
- package/dist/cjs/api/types/CargoByDeviceMarkOutliersResponse1.d.ts +1 -1
- package/dist/cjs/api/types/CargoByDeviceSharingSettings1.d.ts +6 -6
- package/dist/cjs/api/types/CargoByDriverDataPoint1.d.ts +3 -3
- package/dist/cjs/api/types/CargoByDriverDataPointMetadata1.d.ts +1 -1
- package/dist/cjs/api/types/CargoByDriverSharingSettings1.d.ts +6 -6
- package/dist/cjs/api/types/CargoClientCreate1.d.ts +6 -6
- package/dist/cjs/api/types/CargoClientUpdate1.d.ts +5 -5
- package/dist/cjs/api/types/CourierConnectionRes.d.ts +1 -1
- package/dist/cjs/api/types/CourierOrgInfoForConnections1.d.ts +10 -10
- package/dist/cjs/api/types/CourierOrgProfile1.d.ts +3 -3
- package/dist/cjs/api/types/CreateOrgPublicDataRes.d.ts +1 -1
- package/dist/cjs/api/types/DecodedJwtWithOrgAndUserId.d.ts +7 -7
- package/dist/cjs/api/types/DeviceExpandedRes.d.ts +3 -3
- package/dist/cjs/api/types/DeviceLimitedForList1.d.ts +11 -11
- package/dist/cjs/api/types/DirectoryEntry1.d.ts +13 -13
- package/dist/cjs/api/types/Driver1.d.ts +13 -13
- package/dist/cjs/api/types/DriverUpdateRes.d.ts +1 -1
- package/dist/cjs/api/types/FirebaseCloudMessagingTokenData1.d.ts +1 -1
- package/dist/cjs/api/types/FlightAwareAlertFlight.d.ts +3 -3
- package/dist/cjs/api/types/FlightAwareAlertPayload.d.ts +3 -3
- package/dist/cjs/api/types/FlightAwareWebhookResponse.d.ts +1 -1
- package/dist/cjs/api/types/FlightInfoForTaskRes.d.ts +1 -1
- package/dist/cjs/api/types/ForwarderConnectionRes.d.ts +1 -1
- package/dist/cjs/api/types/ForwarderCourierConnection1.d.ts +7 -7
- package/dist/cjs/api/types/ForwarderOrgInfoForConnections1.d.ts +8 -8
- package/dist/cjs/api/types/ForwarderOrgProfile1.d.ts +3 -3
- package/dist/cjs/api/types/GeometryCollection.d.ts +1 -1
- package/dist/cjs/api/types/{GeometryCollectionInputGeometriesItem.d.ts → GeometryCollectionGeometriesItem.d.ts} +2 -2
- package/dist/cjs/api/types/LineItem1.d.ts +6 -6
- package/dist/cjs/api/types/LineItemGroup1.d.ts +11 -11
- package/dist/cjs/api/types/LineItemGroupMessage1.d.ts +2 -2
- package/dist/cjs/api/types/LineItemGroupS3ObjectMetadata1.d.ts +8 -8
- package/dist/cjs/api/types/LocationFeature.d.ts +2 -2
- package/dist/cjs/api/types/NotificationGroup1.d.ts +7 -7
- package/dist/cjs/api/types/NotificationGroupLimitedForDriver1.d.ts +5 -5
- package/dist/cjs/api/types/NotificationIntentAdHoc1.d.ts +3 -3
- package/dist/cjs/api/types/NotificationUserPreferences1.d.ts +5 -5
- package/dist/cjs/api/types/OffChrtShipperOrg1.d.ts +12 -12
- package/dist/cjs/api/types/Order1.d.ts +12 -12
- package/dist/cjs/api/types/OrderAndTaskGroupExpandedReq.d.ts +8 -8
- package/dist/cjs/api/types/OrderDraftExpanded.d.ts +4 -4
- package/dist/cjs/api/types/OrderExpanded.d.ts +3 -3
- package/dist/cjs/api/types/OrdersDraftUpdateRes.d.ts +3 -3
- package/dist/cjs/api/types/OrgInfoResponse.d.ts +6 -6
- package/dist/cjs/api/types/OrgMemberDetails.d.ts +2 -2
- package/dist/cjs/api/types/OrgMembersAndDrivers.d.ts +1 -1
- package/dist/cjs/api/types/OrgPrivateData1.d.ts +12 -12
- package/dist/cjs/api/types/OrgPublicData1.d.ts +5 -5
- package/dist/cjs/api/types/Quote.d.ts +2 -2
- package/dist/cjs/api/types/RateSheet1.d.ts +17 -17
- package/dist/cjs/api/types/Session1.d.ts +14 -14
- package/dist/cjs/api/types/SessionByDeviceDataPoint1.d.ts +4 -4
- package/dist/cjs/api/types/SessionByDeviceDataPointMetadata1.d.ts +1 -1
- package/dist/cjs/api/types/SessionByDeviceMarkOutliersResponse1.d.ts +1 -1
- package/dist/cjs/api/types/SetFlightInfoReq.d.ts +2 -2
- package/dist/cjs/api/types/ShipperConnectionRes.d.ts +1 -1
- package/dist/cjs/api/types/ShipperCourierConnection1.d.ts +7 -7
- package/dist/cjs/api/types/ShipperForwarderConnection1.d.ts +7 -7
- package/dist/cjs/api/types/ShipperOrgInfoForConnections1.d.ts +6 -6
- package/dist/cjs/api/types/ShippingOrderCancelledWebhookPayload.d.ts +1 -1
- package/dist/cjs/api/types/ShippingOrderCompletedWebhookPayload.d.ts +1 -1
- package/dist/cjs/api/types/ShippingOrderStagedWebhookPayload.d.ts +1 -1
- package/dist/cjs/api/types/ShippingTaskAddedWebhookPayload.d.ts +5 -5
- package/dist/cjs/api/types/ShippingTaskCompletedWebhookPayload.d.ts +5 -5
- package/dist/cjs/api/types/ShippingTaskDeletedWebhookPayload.d.ts +5 -5
- package/dist/cjs/api/types/ShippingTaskGroupCourierOrgAssignedWebhookPayload.d.ts +3 -3
- package/dist/cjs/api/types/ShippingTaskGroupDriverAssignedWebhookPayload.d.ts +3 -3
- package/dist/cjs/api/types/ShippingTaskGroupFlightInfoUpdatedWebhookPayload.d.ts +5 -5
- package/dist/cjs/api/types/ShippingTaskGroupInProgressWebhookPayload.d.ts +1 -1
- package/dist/cjs/api/types/ShippingTaskGroupMessageWebhookPayload.d.ts +3 -3
- package/dist/cjs/api/types/ShippingTaskGroupS3ObjectAddedWebhookPayload.d.ts +1 -1
- package/dist/cjs/api/types/ShippingTaskGroupTasksOrderingUpdatedWebhookPayload.d.ts +1 -1
- package/dist/cjs/api/types/ShippingTaskSkippedWebhookPayload.d.ts +5 -5
- package/dist/cjs/api/types/ShippingTaskTaskArtifactCompletedWebhookPayload.d.ts +5 -5
- package/dist/cjs/api/types/Statement1.d.ts +20 -20
- package/dist/cjs/api/types/StatementExpandedRes.d.ts +1 -1
- package/dist/cjs/api/types/Task1.d.ts +19 -19
- package/dist/cjs/api/types/TaskArtifact1.d.ts +16 -16
- package/dist/cjs/api/types/TaskArtifactS3ObjectMetadata1.d.ts +8 -8
- package/dist/cjs/api/types/TaskClientCreate1.d.ts +4 -4
- package/dist/cjs/api/types/TaskClientUpdate1.d.ts +2 -2
- package/dist/cjs/api/types/TaskExpanded.d.ts +2 -2
- package/dist/cjs/api/types/TaskGroup1.d.ts +25 -25
- package/dist/cjs/api/types/TaskGroupByDriverDataPoint1.d.ts +3 -3
- package/dist/cjs/api/types/TaskGroupByDriverDataPointMetadata1.d.ts +1 -1
- package/dist/cjs/api/types/TaskGroupByDriverSharingSettings1.d.ts +6 -6
- package/dist/cjs/api/types/TaskGroupExpanded.d.ts +4 -4
- package/dist/cjs/api/types/TaskGroupMessage1.d.ts +2 -2
- package/dist/cjs/api/types/TaskGroupS3ObjectMetadata1.d.ts +8 -8
- package/dist/cjs/api/types/TimezoneResponse.d.ts +1 -1
- package/dist/cjs/api/types/TrackingSharingSettingsRes.d.ts +1 -1
- package/dist/cjs/api/types/TrackingWebhookResponse.d.ts +1 -1
- package/dist/cjs/api/types/UserPrivateData1.d.ts +6 -6
- package/dist/cjs/api/types/UserPublicData1.d.ts +2 -2
- package/dist/cjs/api/types/ValidationError.d.ts +2 -2
- package/dist/cjs/api/types/Vehicle1.d.ts +1 -1
- package/dist/cjs/api/types/WebhookAppPortalAccessRes.d.ts +1 -1
- package/dist/cjs/api/types/index.d.ts +1 -2
- package/dist/cjs/api/types/index.js +1 -2
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/resources/analytics/resources/shipping/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/analytics/resources/shipping/client/Client.mjs +2 -2
- package/dist/esm/api/resources/analytics/resources/shipping/client/requests/AnalyticsTimePeriodRequest.d.mts +4 -4
- package/dist/esm/api/resources/billing/client/Client.d.mts +6 -6
- package/dist/esm/api/resources/billing/client/Client.mjs +10 -10
- package/dist/esm/api/resources/billing/resources/index.d.mts +3 -3
- package/dist/esm/api/resources/billing/resources/index.mjs +3 -3
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.d.mts +43 -43
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.mjs +112 -112
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/AdjustLineItemReq.d.mts +4 -4
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/Client.d.mts +22 -22
- package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/Client.mjs +44 -44
- package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/CreateAdHocLineItemGroupReq.d.mts +8 -8
- package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/LineItemClientCreate1.d.mts +4 -4
- package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/adHoc/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/Client.d.mts +19 -19
- package/dist/esm/api/resources/billing/resources/lineItemGroups/resources/s3Objects/client/Client.mjs +52 -52
- package/dist/esm/api/resources/billing/resources/rateSheets/client/Client.d.mts +59 -59
- package/dist/esm/api/resources/billing/resources/rateSheets/client/Client.mjs +159 -159
- package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetClientCreate1.d.mts +13 -13
- package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/RateSheetClientUpdate1.d.mts +2 -2
- package/dist/esm/api/resources/billing/resources/rateSheets/client/requests/index.d.mts +4 -4
- package/dist/esm/api/resources/billing/resources/statements/client/Client.d.mts +46 -46
- package/dist/esm/api/resources/billing/resources/statements/client/Client.mjs +120 -120
- package/dist/esm/api/resources/billing/resources/statements/client/requests/CreateStatementReq.d.mts +8 -8
- package/dist/esm/api/resources/billing/resources/statements/client/requests/index.d.mts +3 -3
- package/dist/esm/api/resources/billing/resources/stripeConnect/client/Client.d.mts +8 -8
- package/dist/esm/api/resources/billing/resources/stripeConnect/client/Client.mjs +19 -19
- package/dist/esm/api/resources/notifications/resources/adHoc/client/Client.d.mts +15 -15
- package/dist/esm/api/resources/notifications/resources/adHoc/client/Client.mjs +33 -33
- package/dist/esm/api/resources/notifications/resources/adHoc/client/requests/NotificationIntentAdHocClientCreate1.d.mts +3 -3
- package/dist/esm/api/resources/notifications/resources/groups/client/Client.d.mts +57 -57
- package/dist/esm/api/resources/notifications/resources/groups/client/Client.mjs +146 -146
- package/dist/esm/api/resources/notifications/resources/groups/client/requests/NotificationGroupClientCreate1.d.mts +3 -3
- package/dist/esm/api/resources/notifications/resources/userPreferences/client/Client.d.mts +8 -8
- package/dist/esm/api/resources/notifications/resources/userPreferences/client/Client.mjs +16 -16
- package/dist/esm/api/resources/notifications/resources/userPreferences/client/requests/UserNotificationPreferencesUpdateRequest.d.mts +2 -2
- package/dist/esm/api/resources/notifications/resources/webhookSetup/client/Client.d.mts +14 -14
- package/dist/esm/api/resources/notifications/resources/webhookSetup/client/Client.mjs +28 -28
- package/dist/esm/api/resources/orgs/resources/connections/client/Client.d.mts +31 -31
- package/dist/esm/api/resources/orgs/resources/connections/client/Client.mjs +98 -98
- package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/Client.mjs +2 -2
- package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.mts +9 -9
- package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.mts +4 -4
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/Client.mjs +5 -5
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/Client.d.mts +19 -19
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/Client.mjs +51 -51
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.d.mts +7 -7
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.d.mts +4 -4
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/Client.d.mts +12 -12
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/Client.mjs +51 -51
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientCreate1.d.mts +7 -7
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/forwarder/client/requests/ForwarderOrgInfoForConnectionsClientUpdate1.d.mts +4 -4
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/index.d.mts +2 -2
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/index.mjs +2 -2
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.d.mts +12 -12
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.mjs +51 -51
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.d.mts +7 -7
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.d.mts +4 -4
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/Client.d.mts +32 -32
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/Client.mjs +66 -66
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.d.mts +3 -3
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.d.mts +3 -3
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/orgs/resources/publicData/client/Client.d.mts +13 -13
- package/dist/esm/api/resources/orgs/resources/publicData/client/Client.mjs +59 -59
- package/dist/esm/api/resources/orgs/resources/publicData/client/requests/CreateOrgPublicDataReq.d.mts +1 -1
- package/dist/esm/api/resources/orgs/resources/publicData/client/requests/UpdateOrgPublicDataReq.d.mts +1 -1
- package/dist/esm/api/resources/shipping/client/Client.d.mts +9 -9
- package/dist/esm/api/resources/shipping/client/Client.mjs +11 -11
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +38 -38
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +126 -126
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverClientCreate1.d.mts +3 -3
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriverClientUpdate1.d.mts +7 -7
- package/dist/esm/api/resources/shipping/resources/drivers/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/index.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/index.mjs +2 -2
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.d.mts +22 -22
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.mjs +45 -45
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersDraftUpdateReq.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/cargo/client/Client.d.mts +19 -19
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/cargo/client/Client.mjs +30 -30
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/cargo/client/requests/OrderDraftAddCargoReq.d.mts +5 -5
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.d.mts +3 -3
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.d.mts +14 -14
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/expanded/client/Client.mjs +55 -55
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/index.d.mts +5 -5
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/index.mjs +5 -5
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/task/client/Client.d.mts +15 -15
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/task/client/Client.mjs +26 -26
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/task/client/requests/OrderDraftAddTaskReqV1.d.mts +4 -4
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskArtifact/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskArtifact/client/Client.mjs +2 -2
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.d.mts +3 -3
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.d.mts +34 -34
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/Client.mjs +73 -73
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.mts +4 -4
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/SetRateSheetsReq.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/orderDrafts/resources/taskGroup/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +8 -8
- package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +16 -16
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +8 -8
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +14 -14
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/Client.d.mts +10 -10
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/Client.mjs +18 -18
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/client/requests/AddTaskArtifactReq.d.mts +3 -3
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.mts +19 -19
- package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.mjs +52 -52
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.d.mts +50 -50
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.mjs +85 -85
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +26 -26
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +44 -44
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/types/index.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/types/index.mjs +1 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/index.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/index.mjs +2 -2
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.d.mts +19 -19
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.mjs +52 -52
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.d.mts +8 -8
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/taskGroupId/client/Client.mjs +14 -14
- package/dist/esm/api/resources/shipping/resources/tasks/client/Client.d.mts +16 -16
- package/dist/esm/api/resources/shipping/resources/tasks/client/Client.mjs +31 -31
- package/dist/esm/api/resources/shipping/resources/tasks/client/requests/AddTaskToGroupReq.d.mts +6 -6
- package/dist/esm/api/resources/tracking/resources/devices/client/Client.d.mts +54 -54
- package/dist/esm/api/resources/tracking/resources/devices/client/Client.mjs +191 -191
- package/dist/esm/api/resources/tracking/resources/devices/client/requests/DeviceClientCreate1.d.mts +5 -5
- package/dist/esm/api/resources/tracking/resources/devices/client/requests/DeviceClientUpdate1.d.mts +3 -3
- package/dist/esm/api/resources/tracking/resources/devices/client/requests/DevicesUpdateSharedOrgsReq1.d.mts +1 -1
- package/dist/esm/api/resources/tracking/resources/devices/client/requests/index.d.mts +4 -4
- package/dist/esm/api/resources/tracking/resources/driver/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/tracking/resources/driver/client/Client.mjs +2 -2
- package/dist/esm/api/resources/tracking/resources/sessions/client/Client.d.mts +80 -80
- package/dist/esm/api/resources/tracking/resources/sessions/client/Client.mjs +237 -237
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionAddFlightReq1.d.mts +4 -4
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionClientCreate1.d.mts +5 -5
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionClientUpdate1.d.mts +3 -3
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionRemoveFlightReq1.d.mts +4 -4
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionsUpdateSharedOrgsReq1.d.mts +1 -1
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/index.d.mts +7 -7
- package/dist/esm/api/resources/tracking/resources/sharingSettings/client/Client.d.mts +30 -30
- package/dist/esm/api/resources/tracking/resources/sharingSettings/client/Client.mjs +52 -52
- package/dist/esm/api/resources/tracking/resources/sharingSettings/client/requests/CargoByDeviceSharingSettingsUpdateReq.d.mts +3 -3
- package/dist/esm/api/resources/tracking/resources/sharingSettings/client/requests/CargoByDriverSharingSettingsUpdateReq.d.mts +3 -3
- package/dist/esm/api/resources/tracking/resources/sharingSettings/client/requests/TaskGroupByDriverSharingSettingsUpdateReq.d.mts +3 -3
- package/dist/esm/api/resources/tracking/resources/sharingSettings/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.d.mts +26 -26
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/Client.mjs +64 -64
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/CargoByDeviceMarkOutliersRequest1.d.mts +3 -3
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDevice/client/requests/index.d.mts +3 -3
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/Client.d.mts +23 -23
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/Client.mjs +51 -51
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/cargoByDriver/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.d.mts +25 -25
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/Client.mjs +62 -62
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/SessionByDeviceMarkOutliersRequest1.d.mts +3 -3
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/sessionByDevice/client/requests/index.d.mts +3 -3
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.d.mts +23 -23
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/Client.mjs +51 -51
- package/dist/esm/api/resources/tracking/resources/timeseries/resources/taskGroupByDriver/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/users/client/Client.d.mts +6 -6
- package/dist/esm/api/resources/users/client/Client.mjs +6 -6
- package/dist/esm/api/resources/users/resources/directoryEntries/client/Client.d.mts +22 -22
- package/dist/esm/api/resources/users/resources/directoryEntries/client/Client.mjs +56 -56
- package/dist/esm/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntryClientCreate1.d.mts +8 -8
- package/dist/esm/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.mts +4 -4
- package/dist/esm/api/resources/users/resources/index.d.mts +3 -3
- package/dist/esm/api/resources/users/resources/index.mjs +3 -3
- package/dist/esm/api/resources/users/resources/privateData/client/Client.d.mts +15 -15
- package/dist/esm/api/resources/users/resources/privateData/client/Client.mjs +59 -59
- package/dist/esm/api/resources/users/resources/privateData/client/requests/UserPrivateDataClientCreate1.d.mts +2 -2
- package/dist/esm/api/resources/users/resources/privateData/client/requests/UserPrivateDataClientUpdate1.d.mts +1 -1
- package/dist/esm/api/resources/users/resources/privateData/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/utils/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/utils/client/Client.mjs +5 -5
- package/dist/esm/api/resources/utils/resources/dev/client/Client.d.mts +24 -24
- package/dist/esm/api/resources/utils/resources/dev/client/Client.mjs +75 -75
- package/dist/esm/api/resources/utils/resources/index.d.mts +1 -1
- package/dist/esm/api/resources/utils/resources/index.mjs +1 -1
- package/dist/esm/api/resources/utils/resources/root/client/Client.d.mts +16 -16
- package/dist/esm/api/resources/utils/resources/root/client/Client.mjs +28 -28
- package/dist/esm/api/types/AgentRes.d.mts +1 -1
- package/dist/esm/api/types/BillingLineItemGroupMessageWebhookPayload.d.mts +1 -1
- package/dist/esm/api/types/BillingLineItemGroupS3ObjectAddedWebhookPayload.d.mts +1 -1
- package/dist/esm/api/types/BillingStatementOpenedWebhookPayload.d.mts +1 -1
- package/dist/esm/api/types/BillingStatementPaidWebhookPayload.d.mts +1 -1
- package/dist/esm/api/types/Cargo1.d.mts +16 -16
- package/dist/esm/api/types/CargoByDeviceDataPoint1.d.mts +4 -4
- package/dist/esm/api/types/CargoByDeviceDataPointMetadata1.d.mts +1 -1
- package/dist/esm/api/types/CargoByDeviceMarkOutliersResponse1.d.mts +1 -1
- package/dist/esm/api/types/CargoByDeviceSharingSettings1.d.mts +6 -6
- package/dist/esm/api/types/CargoByDriverDataPoint1.d.mts +3 -3
- package/dist/esm/api/types/CargoByDriverDataPointMetadata1.d.mts +1 -1
- package/dist/esm/api/types/CargoByDriverSharingSettings1.d.mts +6 -6
- package/dist/esm/api/types/CargoClientCreate1.d.mts +6 -6
- package/dist/esm/api/types/CargoClientUpdate1.d.mts +5 -5
- package/dist/esm/api/types/CourierConnectionRes.d.mts +1 -1
- package/dist/esm/api/types/CourierOrgInfoForConnections1.d.mts +10 -10
- package/dist/esm/api/types/CourierOrgProfile1.d.mts +3 -3
- package/dist/esm/api/types/CreateOrgPublicDataRes.d.mts +1 -1
- package/dist/esm/api/types/DecodedJwtWithOrgAndUserId.d.mts +7 -7
- package/dist/esm/api/types/DeviceExpandedRes.d.mts +3 -3
- package/dist/esm/api/types/DeviceLimitedForList1.d.mts +11 -11
- package/dist/esm/api/types/DirectoryEntry1.d.mts +13 -13
- package/dist/esm/api/types/Driver1.d.mts +13 -13
- package/dist/esm/api/types/DriverUpdateRes.d.mts +1 -1
- package/dist/esm/api/types/FirebaseCloudMessagingTokenData1.d.mts +1 -1
- package/dist/esm/api/types/FlightAwareAlertFlight.d.mts +3 -3
- package/dist/esm/api/types/FlightAwareAlertPayload.d.mts +3 -3
- package/dist/esm/api/types/FlightAwareWebhookResponse.d.mts +1 -1
- package/dist/esm/api/types/FlightInfoForTaskRes.d.mts +1 -1
- package/dist/esm/api/types/ForwarderConnectionRes.d.mts +1 -1
- package/dist/esm/api/types/ForwarderCourierConnection1.d.mts +7 -7
- package/dist/esm/api/types/ForwarderOrgInfoForConnections1.d.mts +8 -8
- package/dist/esm/api/types/ForwarderOrgProfile1.d.mts +3 -3
- package/dist/esm/api/types/GeometryCollection.d.mts +1 -1
- package/dist/esm/api/types/{GeometryCollectionInputGeometriesItem.d.mts → GeometryCollectionGeometriesItem.d.mts} +2 -2
- package/dist/esm/api/types/LineItem1.d.mts +6 -6
- package/dist/esm/api/types/LineItemGroup1.d.mts +11 -11
- package/dist/esm/api/types/LineItemGroupMessage1.d.mts +2 -2
- package/dist/esm/api/types/LineItemGroupS3ObjectMetadata1.d.mts +8 -8
- package/dist/esm/api/types/LocationFeature.d.mts +2 -2
- package/dist/esm/api/types/NotificationGroup1.d.mts +7 -7
- package/dist/esm/api/types/NotificationGroupLimitedForDriver1.d.mts +5 -5
- package/dist/esm/api/types/NotificationIntentAdHoc1.d.mts +3 -3
- package/dist/esm/api/types/NotificationUserPreferences1.d.mts +5 -5
- package/dist/esm/api/types/OffChrtShipperOrg1.d.mts +12 -12
- package/dist/esm/api/types/Order1.d.mts +12 -12
- package/dist/esm/api/types/OrderAndTaskGroupExpandedReq.d.mts +8 -8
- package/dist/esm/api/types/OrderDraftExpanded.d.mts +4 -4
- package/dist/esm/api/types/OrderExpanded.d.mts +3 -3
- package/dist/esm/api/types/OrdersDraftUpdateRes.d.mts +3 -3
- package/dist/esm/api/types/OrgInfoResponse.d.mts +6 -6
- package/dist/esm/api/types/OrgMemberDetails.d.mts +2 -2
- package/dist/esm/api/types/OrgMembersAndDrivers.d.mts +1 -1
- package/dist/esm/api/types/OrgPrivateData1.d.mts +12 -12
- package/dist/esm/api/types/OrgPublicData1.d.mts +5 -5
- package/dist/esm/api/types/Quote.d.mts +2 -2
- package/dist/esm/api/types/RateSheet1.d.mts +17 -17
- package/dist/esm/api/types/Session1.d.mts +14 -14
- package/dist/esm/api/types/SessionByDeviceDataPoint1.d.mts +4 -4
- package/dist/esm/api/types/SessionByDeviceDataPointMetadata1.d.mts +1 -1
- package/dist/esm/api/types/SessionByDeviceMarkOutliersResponse1.d.mts +1 -1
- package/dist/esm/api/types/SetFlightInfoReq.d.mts +2 -2
- package/dist/esm/api/types/ShipperConnectionRes.d.mts +1 -1
- package/dist/esm/api/types/ShipperCourierConnection1.d.mts +7 -7
- package/dist/esm/api/types/ShipperForwarderConnection1.d.mts +7 -7
- package/dist/esm/api/types/ShipperOrgInfoForConnections1.d.mts +6 -6
- package/dist/esm/api/types/ShippingOrderCancelledWebhookPayload.d.mts +1 -1
- package/dist/esm/api/types/ShippingOrderCompletedWebhookPayload.d.mts +1 -1
- package/dist/esm/api/types/ShippingOrderStagedWebhookPayload.d.mts +1 -1
- package/dist/esm/api/types/ShippingTaskAddedWebhookPayload.d.mts +5 -5
- package/dist/esm/api/types/ShippingTaskCompletedWebhookPayload.d.mts +5 -5
- package/dist/esm/api/types/ShippingTaskDeletedWebhookPayload.d.mts +5 -5
- package/dist/esm/api/types/ShippingTaskGroupCourierOrgAssignedWebhookPayload.d.mts +3 -3
- package/dist/esm/api/types/ShippingTaskGroupDriverAssignedWebhookPayload.d.mts +3 -3
- package/dist/esm/api/types/ShippingTaskGroupFlightInfoUpdatedWebhookPayload.d.mts +5 -5
- package/dist/esm/api/types/ShippingTaskGroupInProgressWebhookPayload.d.mts +1 -1
- package/dist/esm/api/types/ShippingTaskGroupMessageWebhookPayload.d.mts +3 -3
- package/dist/esm/api/types/ShippingTaskGroupS3ObjectAddedWebhookPayload.d.mts +1 -1
- package/dist/esm/api/types/ShippingTaskGroupTasksOrderingUpdatedWebhookPayload.d.mts +1 -1
- package/dist/esm/api/types/ShippingTaskSkippedWebhookPayload.d.mts +5 -5
- package/dist/esm/api/types/ShippingTaskTaskArtifactCompletedWebhookPayload.d.mts +5 -5
- package/dist/esm/api/types/Statement1.d.mts +20 -20
- package/dist/esm/api/types/StatementExpandedRes.d.mts +1 -1
- package/dist/esm/api/types/Task1.d.mts +19 -19
- package/dist/esm/api/types/TaskArtifact1.d.mts +16 -16
- package/dist/esm/api/types/TaskArtifactS3ObjectMetadata1.d.mts +8 -8
- package/dist/esm/api/types/TaskClientCreate1.d.mts +4 -4
- package/dist/esm/api/types/TaskClientUpdate1.d.mts +2 -2
- package/dist/esm/api/types/TaskExpanded.d.mts +2 -2
- package/dist/esm/api/types/TaskGroup1.d.mts +25 -25
- package/dist/esm/api/types/TaskGroupByDriverDataPoint1.d.mts +3 -3
- package/dist/esm/api/types/TaskGroupByDriverDataPointMetadata1.d.mts +1 -1
- package/dist/esm/api/types/TaskGroupByDriverSharingSettings1.d.mts +6 -6
- package/dist/esm/api/types/TaskGroupExpanded.d.mts +4 -4
- package/dist/esm/api/types/TaskGroupMessage1.d.mts +2 -2
- package/dist/esm/api/types/TaskGroupS3ObjectMetadata1.d.mts +8 -8
- package/dist/esm/api/types/TimezoneResponse.d.mts +1 -1
- package/dist/esm/api/types/TrackingSharingSettingsRes.d.mts +1 -1
- package/dist/esm/api/types/TrackingWebhookResponse.d.mts +1 -1
- package/dist/esm/api/types/UserPrivateData1.d.mts +6 -6
- package/dist/esm/api/types/UserPublicData1.d.mts +2 -2
- package/dist/esm/api/types/ValidationError.d.mts +2 -2
- package/dist/esm/api/types/Vehicle1.d.mts +1 -1
- package/dist/esm/api/types/WebhookAppPortalAccessRes.d.mts +1 -1
- package/dist/esm/api/types/index.d.mts +1 -2
- package/dist/esm/api/types/index.mjs +1 -2
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1572 -1572
- package/dist/cjs/api/types/GeometryCollectionOutputGeometriesItem.d.ts +0 -28
- package/dist/cjs/api/types/GeometryCollectionOutputGeometriesItem.js +0 -5
- package/dist/esm/api/types/GeometryCollectionOutputGeometriesItem.d.mts +0 -28
- package/dist/esm/api/types/GeometryCollectionOutputGeometriesItem.mjs +0 -4
- /package/dist/cjs/api/types/{GeometryCollectionInputGeometriesItem.js → GeometryCollectionGeometriesItem.js} +0 -0
- /package/dist/esm/api/types/{GeometryCollectionInputGeometriesItem.mjs → GeometryCollectionGeometriesItem.mjs} +0 -0
|
@@ -20,25 +20,22 @@ export class OrgProfiles {
|
|
|
20
20
|
this._options = _options;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Retrieves the courier or forwarder organization profile for the caller's organization. | () -> (OrgProfileRes1)
|
|
24
24
|
*
|
|
25
|
-
* @param {string} handle
|
|
26
25
|
* @param {OrgProfiles.RequestOptions} requestOptions - Request-specific configuration.
|
|
27
26
|
*
|
|
28
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
29
|
-
*
|
|
30
27
|
* @example
|
|
31
|
-
* await client.orgs.orgProfiles.
|
|
28
|
+
* await client.orgs.orgProfiles.getV1()
|
|
32
29
|
*/
|
|
33
|
-
|
|
34
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
30
|
+
getV1(requestOptions) {
|
|
31
|
+
return core.HttpResponsePromise.fromPromise(this.__getV1(requestOptions));
|
|
35
32
|
}
|
|
36
|
-
|
|
33
|
+
__getV1(requestOptions) {
|
|
37
34
|
return __awaiter(this, void 0, void 0, function* () {
|
|
38
35
|
var _a, _b, _c, _d;
|
|
39
36
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
40
37
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
41
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local,
|
|
38
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "orgs/org_profiles/v1"),
|
|
42
39
|
method: "GET",
|
|
43
40
|
headers: _headers,
|
|
44
41
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
@@ -50,16 +47,11 @@ export class OrgProfiles {
|
|
|
50
47
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
51
48
|
}
|
|
52
49
|
if (_response.error.reason === "status-code") {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
statusCode: _response.error.statusCode,
|
|
59
|
-
body: _response.error.body,
|
|
60
|
-
rawResponse: _response.rawResponse,
|
|
61
|
-
});
|
|
62
|
-
}
|
|
50
|
+
throw new errors.ChrtError({
|
|
51
|
+
statusCode: _response.error.statusCode,
|
|
52
|
+
body: _response.error.body,
|
|
53
|
+
rawResponse: _response.rawResponse,
|
|
54
|
+
});
|
|
63
55
|
}
|
|
64
56
|
switch (_response.error.reason) {
|
|
65
57
|
case "non-json":
|
|
@@ -69,7 +61,7 @@ export class OrgProfiles {
|
|
|
69
61
|
rawResponse: _response.rawResponse,
|
|
70
62
|
});
|
|
71
63
|
case "timeout":
|
|
72
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/org_profiles/
|
|
64
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/org_profiles/v1.");
|
|
73
65
|
case "unknown":
|
|
74
66
|
throw new errors.ChrtError({
|
|
75
67
|
message: _response.error.errorMessage,
|
|
@@ -88,10 +80,10 @@ export class OrgProfiles {
|
|
|
88
80
|
*
|
|
89
81
|
* @example
|
|
90
82
|
* await client.orgs.orgProfiles.createCourierV1({
|
|
83
|
+
* schema_version: 1,
|
|
91
84
|
* description: "description",
|
|
92
85
|
* email_address_primary: "email_address_primary",
|
|
93
|
-
* phone_number_primary: "phone_number_primary"
|
|
94
|
-
* schema_version: 1
|
|
86
|
+
* phone_number_primary: "phone_number_primary"
|
|
95
87
|
* })
|
|
96
88
|
*/
|
|
97
89
|
createCourierV1(request, requestOptions) {
|
|
@@ -146,26 +138,31 @@ export class OrgProfiles {
|
|
|
146
138
|
});
|
|
147
139
|
}
|
|
148
140
|
/**
|
|
149
|
-
*
|
|
141
|
+
* Creates a new forwarder organization profile. Fails if a profile already exists for the organization. | (ForwarderOrgProfileClientCreate1) -> (PydanticObjectId)
|
|
150
142
|
*
|
|
151
|
-
* @param {Chrt.orgs.
|
|
143
|
+
* @param {Chrt.orgs.ForwarderOrgProfileClientCreate1} request
|
|
152
144
|
* @param {OrgProfiles.RequestOptions} requestOptions - Request-specific configuration.
|
|
153
145
|
*
|
|
154
146
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
155
147
|
*
|
|
156
148
|
* @example
|
|
157
|
-
* await client.orgs.orgProfiles.
|
|
149
|
+
* await client.orgs.orgProfiles.createForwarderV1({
|
|
150
|
+
* schema_version: 1,
|
|
151
|
+
* description: "description",
|
|
152
|
+
* email_address_primary: "email_address_primary",
|
|
153
|
+
* phone_number_primary: "phone_number_primary"
|
|
154
|
+
* })
|
|
158
155
|
*/
|
|
159
|
-
|
|
160
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
156
|
+
createForwarderV1(request, requestOptions) {
|
|
157
|
+
return core.HttpResponsePromise.fromPromise(this.__createForwarderV1(request, requestOptions));
|
|
161
158
|
}
|
|
162
|
-
|
|
163
|
-
return __awaiter(this,
|
|
159
|
+
__createForwarderV1(request, requestOptions) {
|
|
160
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
164
161
|
var _a, _b, _c, _d;
|
|
165
162
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
166
163
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
167
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "orgs/org_profiles/
|
|
168
|
-
method: "
|
|
164
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "orgs/org_profiles/forwarder/create/v1"),
|
|
165
|
+
method: "POST",
|
|
169
166
|
headers: _headers,
|
|
170
167
|
contentType: "application/json",
|
|
171
168
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
@@ -198,7 +195,7 @@ export class OrgProfiles {
|
|
|
198
195
|
rawResponse: _response.rawResponse,
|
|
199
196
|
});
|
|
200
197
|
case "timeout":
|
|
201
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
198
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /orgs/org_profiles/forwarder/create/v1.");
|
|
202
199
|
case "unknown":
|
|
203
200
|
throw new errors.ChrtError({
|
|
204
201
|
message: _response.error.errorMessage,
|
|
@@ -208,31 +205,26 @@ export class OrgProfiles {
|
|
|
208
205
|
});
|
|
209
206
|
}
|
|
210
207
|
/**
|
|
211
|
-
*
|
|
208
|
+
* Updates an existing courier organization profile. Can update one or more fields. | (CourierOrgProfileClientUpdate1) -> (bool)
|
|
212
209
|
*
|
|
213
|
-
* @param {Chrt.orgs.
|
|
210
|
+
* @param {Chrt.orgs.CourierOrgProfileClientUpdate1} request
|
|
214
211
|
* @param {OrgProfiles.RequestOptions} requestOptions - Request-specific configuration.
|
|
215
212
|
*
|
|
216
213
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
217
214
|
*
|
|
218
215
|
* @example
|
|
219
|
-
* await client.orgs.orgProfiles.
|
|
220
|
-
* description: "description",
|
|
221
|
-
* email_address_primary: "email_address_primary",
|
|
222
|
-
* phone_number_primary: "phone_number_primary",
|
|
223
|
-
* schema_version: 1
|
|
224
|
-
* })
|
|
216
|
+
* await client.orgs.orgProfiles.updateCourierV1()
|
|
225
217
|
*/
|
|
226
|
-
|
|
227
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
218
|
+
updateCourierV1(request = {}, requestOptions) {
|
|
219
|
+
return core.HttpResponsePromise.fromPromise(this.__updateCourierV1(request, requestOptions));
|
|
228
220
|
}
|
|
229
|
-
|
|
230
|
-
return __awaiter(this,
|
|
221
|
+
__updateCourierV1() {
|
|
222
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
231
223
|
var _a, _b, _c, _d;
|
|
232
224
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
233
225
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
234
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "orgs/org_profiles/
|
|
235
|
-
method: "
|
|
226
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "orgs/org_profiles/courier/update/v1"),
|
|
227
|
+
method: "PATCH",
|
|
236
228
|
headers: _headers,
|
|
237
229
|
contentType: "application/json",
|
|
238
230
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
@@ -265,7 +257,7 @@ export class OrgProfiles {
|
|
|
265
257
|
rawResponse: _response.rawResponse,
|
|
266
258
|
});
|
|
267
259
|
case "timeout":
|
|
268
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
260
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /orgs/org_profiles/courier/update/v1.");
|
|
269
261
|
case "unknown":
|
|
270
262
|
throw new errors.ChrtError({
|
|
271
263
|
message: _response.error.errorMessage,
|
|
@@ -337,22 +329,25 @@ export class OrgProfiles {
|
|
|
337
329
|
});
|
|
338
330
|
}
|
|
339
331
|
/**
|
|
340
|
-
* Retrieves
|
|
332
|
+
* Retrieves a courier or forwarder organization profile using the organization's handle for public profile viewing. | () -> (OrgProfileRes1)
|
|
341
333
|
*
|
|
334
|
+
* @param {string} handle
|
|
342
335
|
* @param {OrgProfiles.RequestOptions} requestOptions - Request-specific configuration.
|
|
343
336
|
*
|
|
337
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
338
|
+
*
|
|
344
339
|
* @example
|
|
345
|
-
* await client.orgs.orgProfiles.
|
|
340
|
+
* await client.orgs.orgProfiles.getByHandleV1("handle")
|
|
346
341
|
*/
|
|
347
|
-
|
|
348
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
342
|
+
getByHandleV1(handle, requestOptions) {
|
|
343
|
+
return core.HttpResponsePromise.fromPromise(this.__getByHandleV1(handle, requestOptions));
|
|
349
344
|
}
|
|
350
|
-
|
|
345
|
+
__getByHandleV1(handle, requestOptions) {
|
|
351
346
|
return __awaiter(this, void 0, void 0, function* () {
|
|
352
347
|
var _a, _b, _c, _d;
|
|
353
348
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
354
349
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
355
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local,
|
|
350
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `orgs/org_profiles/v1/${encodeURIComponent(handle)}`),
|
|
356
351
|
method: "GET",
|
|
357
352
|
headers: _headers,
|
|
358
353
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
@@ -364,11 +359,16 @@ export class OrgProfiles {
|
|
|
364
359
|
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
365
360
|
}
|
|
366
361
|
if (_response.error.reason === "status-code") {
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
362
|
+
switch (_response.error.statusCode) {
|
|
363
|
+
case 422:
|
|
364
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
365
|
+
default:
|
|
366
|
+
throw new errors.ChrtError({
|
|
367
|
+
statusCode: _response.error.statusCode,
|
|
368
|
+
body: _response.error.body,
|
|
369
|
+
rawResponse: _response.rawResponse,
|
|
370
|
+
});
|
|
371
|
+
}
|
|
372
372
|
}
|
|
373
373
|
switch (_response.error.reason) {
|
|
374
374
|
case "non-json":
|
|
@@ -378,7 +378,7 @@ export class OrgProfiles {
|
|
|
378
378
|
rawResponse: _response.rawResponse,
|
|
379
379
|
});
|
|
380
380
|
case "timeout":
|
|
381
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/org_profiles/v1.");
|
|
381
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/org_profiles/v1/{handle}.");
|
|
382
382
|
case "unknown":
|
|
383
383
|
throw new errors.ChrtError({
|
|
384
384
|
message: _response.error.errorMessage,
|
|
@@ -388,7 +388,7 @@ export class OrgProfiles {
|
|
|
388
388
|
});
|
|
389
389
|
}
|
|
390
390
|
/**
|
|
391
|
-
*
|
|
391
|
+
* Returns the organization avatar image URL from Clerk or a placeholder if not found. | () -> (str)
|
|
392
392
|
*
|
|
393
393
|
* @param {string} handle
|
|
394
394
|
* @param {OrgProfiles.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -396,17 +396,17 @@ export class OrgProfiles {
|
|
|
396
396
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
397
397
|
*
|
|
398
398
|
* @example
|
|
399
|
-
* await client.orgs.orgProfiles.
|
|
399
|
+
* await client.orgs.orgProfiles.getAvatarV1("handle")
|
|
400
400
|
*/
|
|
401
|
-
|
|
402
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
401
|
+
getAvatarV1(handle, requestOptions) {
|
|
402
|
+
return core.HttpResponsePromise.fromPromise(this.__getAvatarV1(handle, requestOptions));
|
|
403
403
|
}
|
|
404
|
-
|
|
404
|
+
__getAvatarV1(handle, requestOptions) {
|
|
405
405
|
return __awaiter(this, void 0, void 0, function* () {
|
|
406
406
|
var _a, _b, _c, _d;
|
|
407
407
|
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
408
408
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
409
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `orgs/org_profiles/v1/${encodeURIComponent(handle)}`),
|
|
409
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `orgs/org_profiles/avatar/v1/${encodeURIComponent(handle)}`),
|
|
410
410
|
method: "GET",
|
|
411
411
|
headers: _headers,
|
|
412
412
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
@@ -437,7 +437,7 @@ export class OrgProfiles {
|
|
|
437
437
|
rawResponse: _response.rawResponse,
|
|
438
438
|
});
|
|
439
439
|
case "timeout":
|
|
440
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/org_profiles/v1/{handle}.");
|
|
440
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/org_profiles/avatar/v1/{handle}.");
|
|
441
441
|
case "unknown":
|
|
442
442
|
throw new errors.ChrtError({
|
|
443
443
|
message: _response.error.errorMessage,
|
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* @example
|
|
6
6
|
* {
|
|
7
|
+
* schema_version: 1,
|
|
7
8
|
* description: "description",
|
|
8
9
|
* email_address_primary: "email_address_primary",
|
|
9
|
-
* phone_number_primary: "phone_number_primary"
|
|
10
|
-
* schema_version: 1
|
|
10
|
+
* phone_number_primary: "phone_number_primary"
|
|
11
11
|
* }
|
|
12
12
|
*/
|
|
13
13
|
export interface CourierOrgProfileClientCreate1 {
|
|
14
|
+
schema_version: number;
|
|
14
15
|
description: string;
|
|
15
16
|
email_address_primary: string;
|
|
16
17
|
phone_number_primary: string;
|
|
17
|
-
schema_version: number;
|
|
18
18
|
}
|
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* @example
|
|
6
6
|
* {
|
|
7
|
+
* schema_version: 1,
|
|
7
8
|
* description: "description",
|
|
8
9
|
* email_address_primary: "email_address_primary",
|
|
9
|
-
* phone_number_primary: "phone_number_primary"
|
|
10
|
-
* schema_version: 1
|
|
10
|
+
* phone_number_primary: "phone_number_primary"
|
|
11
11
|
* }
|
|
12
12
|
*/
|
|
13
13
|
export interface ForwarderOrgProfileClientCreate1 {
|
|
14
|
+
schema_version: number;
|
|
14
15
|
description: string;
|
|
15
16
|
email_address_primary: string;
|
|
16
17
|
phone_number_primary: string;
|
|
17
|
-
schema_version: number;
|
|
18
18
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { type CourierOrgProfileClientCreate1 } from "./CourierOrgProfileClientCreate1.mjs";
|
|
2
|
-
export { type CourierOrgProfileClientUpdate1 } from "./CourierOrgProfileClientUpdate1.mjs";
|
|
3
2
|
export { type ForwarderOrgProfileClientCreate1 } from "./ForwarderOrgProfileClientCreate1.mjs";
|
|
3
|
+
export { type CourierOrgProfileClientUpdate1 } from "./CourierOrgProfileClientUpdate1.mjs";
|
|
4
4
|
export { type ForwarderOrgProfileClientUpdate1 } from "./ForwarderOrgProfileClientUpdate1.mjs";
|
|
@@ -30,19 +30,6 @@ export declare namespace PublicData {
|
|
|
30
30
|
export declare class PublicData {
|
|
31
31
|
protected readonly _options: PublicData.Options;
|
|
32
32
|
constructor(_options?: PublicData.Options);
|
|
33
|
-
/**
|
|
34
|
-
* Returns True when the provided handle is available, otherwise False. | () -> (bool)
|
|
35
|
-
*
|
|
36
|
-
* @param {string} handle
|
|
37
|
-
* @param {PublicData.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
|
-
*
|
|
39
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
40
|
-
*
|
|
41
|
-
* @example
|
|
42
|
-
* await client.orgs.publicData.getHandleAvailabilityV1("handle")
|
|
43
|
-
*/
|
|
44
|
-
getHandleAvailabilityV1(handle: string, requestOptions?: PublicData.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
45
|
-
private __getHandleAvailabilityV1;
|
|
46
33
|
/**
|
|
47
34
|
* Retrieves public organization data for the caller's organization. | () -> (OrgPublicData1)
|
|
48
35
|
*
|
|
@@ -92,5 +79,18 @@ export declare class PublicData {
|
|
|
92
79
|
*/
|
|
93
80
|
getByOrgIdV1(orgId: string, requestOptions?: PublicData.RequestOptions): core.HttpResponsePromise<Chrt.OrgPublicData1>;
|
|
94
81
|
private __getByOrgIdV1;
|
|
82
|
+
/**
|
|
83
|
+
* Returns True when the provided handle is available, otherwise False. | () -> (bool)
|
|
84
|
+
*
|
|
85
|
+
* @param {string} handle
|
|
86
|
+
* @param {PublicData.RequestOptions} requestOptions - Request-specific configuration.
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* await client.orgs.publicData.getHandleAvailabilityV1("handle")
|
|
92
|
+
*/
|
|
93
|
+
getHandleAvailabilityV1(handle: string, requestOptions?: PublicData.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
94
|
+
private __getHandleAvailabilityV1;
|
|
95
95
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
96
96
|
}
|
|
@@ -19,65 +19,6 @@ export class PublicData {
|
|
|
19
19
|
constructor(_options = {}) {
|
|
20
20
|
this._options = _options;
|
|
21
21
|
}
|
|
22
|
-
/**
|
|
23
|
-
* Returns True when the provided handle is available, otherwise False. | () -> (bool)
|
|
24
|
-
*
|
|
25
|
-
* @param {string} handle
|
|
26
|
-
* @param {PublicData.RequestOptions} requestOptions - Request-specific configuration.
|
|
27
|
-
*
|
|
28
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* await client.orgs.publicData.getHandleAvailabilityV1("handle")
|
|
32
|
-
*/
|
|
33
|
-
getHandleAvailabilityV1(handle, requestOptions) {
|
|
34
|
-
return core.HttpResponsePromise.fromPromise(this.__getHandleAvailabilityV1(handle, requestOptions));
|
|
35
|
-
}
|
|
36
|
-
__getHandleAvailabilityV1(handle, requestOptions) {
|
|
37
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
38
|
-
var _a, _b, _c, _d;
|
|
39
|
-
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
40
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
41
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `orgs/org_public_data/handle_availability/v1/${encodeURIComponent(handle)}`),
|
|
42
|
-
method: "GET",
|
|
43
|
-
headers: _headers,
|
|
44
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
45
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
46
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
47
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
48
|
-
});
|
|
49
|
-
if (_response.ok) {
|
|
50
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
51
|
-
}
|
|
52
|
-
if (_response.error.reason === "status-code") {
|
|
53
|
-
switch (_response.error.statusCode) {
|
|
54
|
-
case 422:
|
|
55
|
-
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
56
|
-
default:
|
|
57
|
-
throw new errors.ChrtError({
|
|
58
|
-
statusCode: _response.error.statusCode,
|
|
59
|
-
body: _response.error.body,
|
|
60
|
-
rawResponse: _response.rawResponse,
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
switch (_response.error.reason) {
|
|
65
|
-
case "non-json":
|
|
66
|
-
throw new errors.ChrtError({
|
|
67
|
-
statusCode: _response.error.statusCode,
|
|
68
|
-
body: _response.error.rawBody,
|
|
69
|
-
rawResponse: _response.rawResponse,
|
|
70
|
-
});
|
|
71
|
-
case "timeout":
|
|
72
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/org_public_data/handle_availability/v1/{handle}.");
|
|
73
|
-
case "unknown":
|
|
74
|
-
throw new errors.ChrtError({
|
|
75
|
-
message: _response.error.errorMessage,
|
|
76
|
-
rawResponse: _response.rawResponse,
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
22
|
/**
|
|
82
23
|
* Retrieves public organization data for the caller's organization. | () -> (OrgPublicData1)
|
|
83
24
|
*
|
|
@@ -312,6 +253,65 @@ export class PublicData {
|
|
|
312
253
|
}
|
|
313
254
|
});
|
|
314
255
|
}
|
|
256
|
+
/**
|
|
257
|
+
* Returns True when the provided handle is available, otherwise False. | () -> (bool)
|
|
258
|
+
*
|
|
259
|
+
* @param {string} handle
|
|
260
|
+
* @param {PublicData.RequestOptions} requestOptions - Request-specific configuration.
|
|
261
|
+
*
|
|
262
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
263
|
+
*
|
|
264
|
+
* @example
|
|
265
|
+
* await client.orgs.publicData.getHandleAvailabilityV1("handle")
|
|
266
|
+
*/
|
|
267
|
+
getHandleAvailabilityV1(handle, requestOptions) {
|
|
268
|
+
return core.HttpResponsePromise.fromPromise(this.__getHandleAvailabilityV1(handle, requestOptions));
|
|
269
|
+
}
|
|
270
|
+
__getHandleAvailabilityV1(handle, requestOptions) {
|
|
271
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
272
|
+
var _a, _b, _c, _d;
|
|
273
|
+
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
274
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
275
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `orgs/org_public_data/handle_availability/v1/${encodeURIComponent(handle)}`),
|
|
276
|
+
method: "GET",
|
|
277
|
+
headers: _headers,
|
|
278
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
279
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
280
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
281
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
282
|
+
});
|
|
283
|
+
if (_response.ok) {
|
|
284
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
285
|
+
}
|
|
286
|
+
if (_response.error.reason === "status-code") {
|
|
287
|
+
switch (_response.error.statusCode) {
|
|
288
|
+
case 422:
|
|
289
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
290
|
+
default:
|
|
291
|
+
throw new errors.ChrtError({
|
|
292
|
+
statusCode: _response.error.statusCode,
|
|
293
|
+
body: _response.error.body,
|
|
294
|
+
rawResponse: _response.rawResponse,
|
|
295
|
+
});
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
switch (_response.error.reason) {
|
|
299
|
+
case "non-json":
|
|
300
|
+
throw new errors.ChrtError({
|
|
301
|
+
statusCode: _response.error.statusCode,
|
|
302
|
+
body: _response.error.rawBody,
|
|
303
|
+
rawResponse: _response.rawResponse,
|
|
304
|
+
});
|
|
305
|
+
case "timeout":
|
|
306
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/org_public_data/handle_availability/v1/{handle}.");
|
|
307
|
+
case "unknown":
|
|
308
|
+
throw new errors.ChrtError({
|
|
309
|
+
message: _response.error.errorMessage,
|
|
310
|
+
rawResponse: _response.rawResponse,
|
|
311
|
+
});
|
|
312
|
+
}
|
|
313
|
+
});
|
|
314
|
+
}
|
|
315
315
|
_getAuthorizationHeader() {
|
|
316
316
|
return __awaiter(this, void 0, void 0, function* () {
|
|
317
317
|
const bearer = yield core.Supplier.get(this._options.token);
|
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as environments from "../../../../environments.mjs";
|
|
5
5
|
import * as core from "../../../../core/index.mjs";
|
|
6
|
-
import { Cargos } from "../resources/cargos/client/Client.mjs";
|
|
7
6
|
import { Drivers } from "../resources/drivers/client/Client.mjs";
|
|
7
|
+
import { Cargos } from "../resources/cargos/client/Client.mjs";
|
|
8
8
|
import { Flights } from "../resources/flights/client/Client.mjs";
|
|
9
|
-
import { OrderDrafts } from "../resources/orderDrafts/client/Client.mjs";
|
|
10
|
-
import { Orders } from "../resources/orders/client/Client.mjs";
|
|
11
9
|
import { TaskArtifacts } from "../resources/taskArtifacts/client/Client.mjs";
|
|
10
|
+
import { Orders } from "../resources/orders/client/Client.mjs";
|
|
11
|
+
import { OrderDrafts } from "../resources/orderDrafts/client/Client.mjs";
|
|
12
12
|
import { TaskGroups } from "../resources/taskGroups/client/Client.mjs";
|
|
13
13
|
import { Tasks } from "../resources/tasks/client/Client.mjs";
|
|
14
14
|
export declare namespace Shipping {
|
|
@@ -24,21 +24,21 @@ export declare namespace Shipping {
|
|
|
24
24
|
}
|
|
25
25
|
export declare class Shipping {
|
|
26
26
|
protected readonly _options: Shipping.Options;
|
|
27
|
-
protected _cargos: Cargos | undefined;
|
|
28
27
|
protected _drivers: Drivers | undefined;
|
|
28
|
+
protected _cargos: Cargos | undefined;
|
|
29
29
|
protected _flights: Flights | undefined;
|
|
30
|
-
protected _orderDrafts: OrderDrafts | undefined;
|
|
31
|
-
protected _orders: Orders | undefined;
|
|
32
30
|
protected _taskArtifacts: TaskArtifacts | undefined;
|
|
31
|
+
protected _orders: Orders | undefined;
|
|
32
|
+
protected _orderDrafts: OrderDrafts | undefined;
|
|
33
33
|
protected _taskGroups: TaskGroups | undefined;
|
|
34
34
|
protected _tasks: Tasks | undefined;
|
|
35
35
|
constructor(_options?: Shipping.Options);
|
|
36
|
-
get cargos(): Cargos;
|
|
37
36
|
get drivers(): Drivers;
|
|
37
|
+
get cargos(): Cargos;
|
|
38
38
|
get flights(): Flights;
|
|
39
|
-
get orderDrafts(): OrderDrafts;
|
|
40
|
-
get orders(): Orders;
|
|
41
39
|
get taskArtifacts(): TaskArtifacts;
|
|
40
|
+
get orders(): Orders;
|
|
41
|
+
get orderDrafts(): OrderDrafts;
|
|
42
42
|
get taskGroups(): TaskGroups;
|
|
43
43
|
get tasks(): Tasks;
|
|
44
44
|
}
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import { Cargos } from "../resources/cargos/client/Client.mjs";
|
|
5
4
|
import { Drivers } from "../resources/drivers/client/Client.mjs";
|
|
5
|
+
import { Cargos } from "../resources/cargos/client/Client.mjs";
|
|
6
6
|
import { Flights } from "../resources/flights/client/Client.mjs";
|
|
7
|
-
import { OrderDrafts } from "../resources/orderDrafts/client/Client.mjs";
|
|
8
|
-
import { Orders } from "../resources/orders/client/Client.mjs";
|
|
9
7
|
import { TaskArtifacts } from "../resources/taskArtifacts/client/Client.mjs";
|
|
8
|
+
import { Orders } from "../resources/orders/client/Client.mjs";
|
|
9
|
+
import { OrderDrafts } from "../resources/orderDrafts/client/Client.mjs";
|
|
10
10
|
import { TaskGroups } from "../resources/taskGroups/client/Client.mjs";
|
|
11
11
|
import { Tasks } from "../resources/tasks/client/Client.mjs";
|
|
12
12
|
export class Shipping {
|
|
13
13
|
constructor(_options = {}) {
|
|
14
14
|
this._options = _options;
|
|
15
15
|
}
|
|
16
|
-
get cargos() {
|
|
17
|
-
var _a;
|
|
18
|
-
return ((_a = this._cargos) !== null && _a !== void 0 ? _a : (this._cargos = new Cargos(this._options)));
|
|
19
|
-
}
|
|
20
16
|
get drivers() {
|
|
21
17
|
var _a;
|
|
22
18
|
return ((_a = this._drivers) !== null && _a !== void 0 ? _a : (this._drivers = new Drivers(this._options)));
|
|
23
19
|
}
|
|
20
|
+
get cargos() {
|
|
21
|
+
var _a;
|
|
22
|
+
return ((_a = this._cargos) !== null && _a !== void 0 ? _a : (this._cargos = new Cargos(this._options)));
|
|
23
|
+
}
|
|
24
24
|
get flights() {
|
|
25
25
|
var _a;
|
|
26
26
|
return ((_a = this._flights) !== null && _a !== void 0 ? _a : (this._flights = new Flights(this._options)));
|
|
27
27
|
}
|
|
28
|
-
get
|
|
28
|
+
get taskArtifacts() {
|
|
29
29
|
var _a;
|
|
30
|
-
return ((_a = this.
|
|
30
|
+
return ((_a = this._taskArtifacts) !== null && _a !== void 0 ? _a : (this._taskArtifacts = new TaskArtifacts(this._options)));
|
|
31
31
|
}
|
|
32
32
|
get orders() {
|
|
33
33
|
var _a;
|
|
34
34
|
return ((_a = this._orders) !== null && _a !== void 0 ? _a : (this._orders = new Orders(this._options)));
|
|
35
35
|
}
|
|
36
|
-
get
|
|
36
|
+
get orderDrafts() {
|
|
37
37
|
var _a;
|
|
38
|
-
return ((_a = this.
|
|
38
|
+
return ((_a = this._orderDrafts) !== null && _a !== void 0 ? _a : (this._orderDrafts = new OrderDrafts(this._options)));
|
|
39
39
|
}
|
|
40
40
|
get taskGroups() {
|
|
41
41
|
var _a;
|