@chrt-inc/typescript-sdk 1.299.0 → 1.302.0
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 +49 -35
- package/dist/cjs/Client.d.ts +39 -33
- package/dist/cjs/Client.js +75 -65
- package/dist/cjs/api/resources/connections/client/Client.d.ts +20 -4
- package/dist/cjs/api/resources/connections/client/Client.js +67 -6
- package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/Client.js +4 -4
- package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/index.js +0 -15
- package/dist/cjs/api/resources/connections/resources/connectionToForwarder/client/Client.d.ts +49 -0
- package/dist/cjs/api/resources/connections/resources/connectionToForwarder/client/Client.js +132 -0
- package/dist/cjs/api/resources/connections/resources/connectionToShipper/client/Client.d.ts +49 -0
- package/dist/cjs/api/resources/connections/resources/connectionToShipper/client/Client.js +132 -0
- package/dist/cjs/api/resources/connections/resources/index.d.ts +2 -1
- package/dist/cjs/api/resources/connections/resources/index.js +3 -5
- package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.d.ts +7 -7
- package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.js +6 -6
- package/dist/cjs/api/resources/courierPayDriverPayouts/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/courierPayDriverPayouts/client/index.js +0 -15
- package/dist/cjs/api/resources/courierPayDriverStatements/client/Client.d.ts +90 -0
- package/dist/cjs/api/resources/courierPayDriverStatements/client/Client.js +314 -0
- package/dist/cjs/api/resources/index.d.ts +22 -21
- package/dist/cjs/api/resources/index.js +23 -22
- package/dist/cjs/api/resources/offChrtShipperOrg/client/Client.d.ts +100 -0
- package/dist/cjs/api/resources/{offChrtShipperOrgInfo → offChrtShipperOrg}/client/Client.js +30 -30
- package/dist/cjs/api/resources/{offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientCreate1.d.ts → offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.ts} +3 -3
- package/dist/cjs/api/resources/{offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientUpdate1.d.ts → offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.ts} +1 -1
- package/dist/cjs/api/resources/offChrtShipperOrg/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/orders/client/Client.d.ts +14 -88
- package/dist/cjs/api/resources/orders/client/Client.js +19 -314
- package/dist/cjs/api/resources/orders/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/orders/client/index.js +0 -15
- package/dist/cjs/api/resources/orders/resources/draft/client/Client.d.ts +261 -0
- package/dist/cjs/api/resources/orders/resources/draft/client/Client.js +1014 -0
- package/dist/cjs/api/resources/orders/resources/draft/client/requests/OrderDraftAddTaskArtifactReq.d.ts +15 -0
- package/dist/cjs/api/resources/orders/resources/draft/client/requests/OrderDraftAddTaskGroupReq.d.ts +17 -0
- package/dist/cjs/api/resources/orders/resources/draft/client/requests/OrderDraftAddTaskReqV1.d.ts +18 -0
- package/dist/cjs/api/resources/orders/resources/draft/client/requests/OrderDraftAssociateCargoWithTaskReq.d.ts +16 -0
- package/dist/cjs/api/resources/orders/resources/draft/client/requests/OrderDraftCreateCargoReq.d.ts +18 -0
- package/dist/cjs/api/resources/orders/resources/draft/client/requests/OrderDraftUpdateCargoReq.d.ts +15 -0
- package/dist/cjs/api/resources/orders/resources/draft/client/requests/OrderDraftUpdateTaskReq.d.ts +15 -0
- package/dist/cjs/api/resources/orders/resources/draft/client/requests/OrdersDraftUpdateReq.d.ts +17 -0
- package/dist/cjs/api/resources/orders/resources/draft/client/requests/OrdersNewDraftReq.d.ts +14 -0
- package/dist/cjs/api/resources/orders/resources/draft/client/requests/index.d.ts +9 -0
- package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/Client.d.ts +61 -0
- package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/Client.js +193 -0
- package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/requests/OrderDraftExpandedListReq.d.ts +21 -0
- package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/requests/OrderDraftExpandedReq.d.ts +21 -0
- package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/orders/resources/draft/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/orders/resources/draft/resources/index.js +41 -0
- package/dist/cjs/api/resources/orders/resources/{full → expanded}/client/Client.d.ts +18 -23
- package/dist/cjs/api/resources/{milestones → orders/resources/expanded}/client/Client.js +28 -41
- package/dist/cjs/api/resources/orders/resources/expanded/index.d.ts +1 -0
- package/dist/cjs/api/resources/orders/resources/expanded/index.js +17 -0
- package/dist/cjs/api/resources/orders/resources/expandedList/client/Client.d.ts +78 -0
- package/dist/cjs/api/resources/orders/resources/expandedList/client/Client.js +291 -0
- package/dist/cjs/api/resources/orders/resources/expandedList/client/requests/ExpandedListPostOrderCreatorExpandedListV1Request.d.ts +30 -0
- package/dist/cjs/api/resources/orders/resources/expandedList/client/requests/ExpandedListPostShipperExpandedListV1Request.d.ts +28 -0
- package/dist/cjs/api/resources/orders/resources/expandedList/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/orders/resources/expandedList/index.d.ts +1 -0
- package/dist/cjs/api/resources/orders/resources/expandedList/index.js +17 -0
- package/dist/cjs/api/resources/orders/resources/index.d.ts +5 -1
- package/dist/cjs/api/resources/orders/resources/index.js +9 -2
- package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/Client.d.ts +5 -5
- package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/Client.js +8 -8
- package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/requests/{CourierOrgConnectionInfoClientCreate1.d.ts → CourierOrgInfoForConnectionsClientCreate1.d.ts} +1 -1
- package/dist/cjs/api/resources/orgConnectionInfos/resources/{shipper/client/requests/ShipperOrgConnectionInfoClientUpdate1.d.ts → courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.d.ts} +1 -1
- package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.ts +5 -5
- package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/Client.js +8 -8
- package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/requests/{ShipperOrgConnectionInfoClientCreate1.d.ts → ShipperOrgInfoForConnectionsClientCreate1.d.ts} +1 -1
- package/dist/cjs/api/resources/orgConnectionInfos/resources/{courier/client/requests/CourierOrgConnectionInfoClientUpdate1.d.ts → shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.d.ts} +1 -1
- package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/orgProfiles/client/Client.d.ts +43 -12
- package/dist/cjs/api/resources/orgProfiles/client/Client.js +151 -22
- package/dist/{esm/api/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate3.d.mts → cjs/api/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.d.ts} +1 -1
- package/dist/{esm/api/resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate3.d.mts → cjs/api/resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate1.d.ts} +1 -1
- package/dist/cjs/api/resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.d.ts +18 -0
- package/dist/cjs/api/resources/orgProfiles/client/requests/ForwarderOrgProfileClientUpdate1.d.ts +12 -0
- package/dist/cjs/api/resources/orgProfiles/client/requests/index.d.ts +4 -2
- package/dist/cjs/api/resources/orgs/client/Client.d.ts +25 -36
- package/dist/cjs/api/resources/orgs/client/Client.js +52 -104
- package/dist/cjs/api/resources/orgs/client/requests/CreateOrgPublicDataReq.d.ts +5 -4
- package/dist/cjs/api/resources/payments/client/Client.d.ts +27 -27
- package/dist/cjs/api/resources/payments/client/Client.js +83 -83
- package/dist/cjs/api/resources/payments/client/requests/GenerateInvoiceReq.d.ts +2 -2
- package/dist/cjs/api/resources/payments/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/shipperContactInfo/client/Client.d.ts +14 -14
- package/dist/cjs/api/resources/shipperContactInfo/client/Client.js +10 -10
- package/dist/cjs/api/resources/shipperContactInfo/client/requests/{ShipperContactInfoClientUpdate1.d.ts → ShipperContactClientUpdate1.d.ts} +1 -1
- package/dist/cjs/api/resources/shipperContactInfo/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/shipperPayCourierPayments/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/shipperPayCourierPayments/client/requests/ListPaymentsByCourierReq.d.ts +1 -1
- package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientCreate1.d.ts +1 -1
- package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientUpdate1.d.ts +1 -1
- package/dist/cjs/api/resources/shipperPayCourierStatements/client/Client.d.ts +133 -0
- package/dist/cjs/api/resources/shipperPayCourierStatements/client/Client.js +507 -0
- package/dist/cjs/api/resources/shipperPayCourierStatements/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shipperPayCourierStatements/client/index.js +17 -0
- package/dist/cjs/api/resources/shipperPayCourierStatements/client/requests/ListStatementsByCourierReq.d.ts +16 -0
- package/dist/cjs/api/resources/shipperPayCourierStatements/client/requests/ListStatementsByShipperReq.d.ts +15 -0
- package/dist/cjs/api/resources/shipperPayCourierStatements/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/shipperPayCourierStatements/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipperPayCourierStatements/index.js +17 -0
- package/dist/cjs/api/resources/{milestoneNotifications → taskArtifactNotifications}/client/Client.d.ts +13 -13
- package/dist/cjs/api/resources/{milestoneNotifications → taskArtifactNotifications}/client/Client.js +14 -14
- package/dist/cjs/api/resources/taskArtifactNotifications/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/taskArtifactNotifications/client/index.js +17 -0
- package/dist/cjs/api/resources/{milestoneNotifications/client/requests/MilestoneNotificationPreferencesClientCreate1.d.ts → taskArtifactNotifications/client/requests/TaskArtifactNotificationPreferencesClientCreate1.d.ts} +2 -2
- package/dist/cjs/api/resources/taskArtifactNotifications/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/taskArtifactNotifications/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/taskArtifactNotifications/index.d.ts +1 -0
- package/dist/cjs/api/resources/taskArtifactNotifications/index.js +17 -0
- package/dist/cjs/api/resources/{milestones → taskArtifacts}/client/Client.d.ts +32 -17
- package/dist/cjs/api/resources/{orders/resources/full → taskArtifacts}/client/Client.js +85 -46
- package/dist/cjs/api/resources/taskArtifacts/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/taskArtifacts/client/index.js +17 -0
- package/dist/cjs/api/resources/taskArtifacts/client/requests/TaskArtifactAddToTaskReq.d.ts +19 -0
- package/dist/cjs/api/resources/taskArtifacts/client/requests/TaskArtifactUpdateCommentsReq.d.ts +14 -0
- package/dist/cjs/api/resources/taskArtifacts/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/taskArtifacts/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/taskArtifacts/index.d.ts +2 -0
- package/dist/cjs/api/resources/taskArtifacts/index.js +18 -0
- package/dist/cjs/api/resources/{milestones → taskArtifacts}/resources/blurhash/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/{milestones → taskArtifacts}/resources/blurhash/client/Client.js +8 -8
- package/dist/cjs/api/resources/taskArtifacts/resources/blurhash/client/index.js +2 -0
- package/dist/cjs/api/resources/taskArtifacts/resources/blurhash/index.d.ts +1 -0
- package/dist/cjs/api/resources/taskArtifacts/resources/blurhash/index.js +17 -0
- package/dist/cjs/api/resources/{milestones → taskArtifacts}/resources/images/client/Client.d.ts +17 -18
- package/dist/cjs/api/resources/{milestones → taskArtifacts}/resources/images/client/Client.js +44 -49
- package/dist/cjs/api/resources/taskArtifacts/resources/images/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/taskArtifacts/resources/images/client/index.js +17 -0
- package/dist/cjs/api/resources/taskArtifacts/resources/images/client/requests/BodyPostTaskArtifactsUploadImageV1OortTaskArtifactsImagesUploadV1TaskArtifactIdPost.d.ts +13 -0
- package/dist/cjs/api/resources/taskArtifacts/resources/images/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/taskArtifacts/resources/images/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/taskArtifacts/resources/images/index.d.ts +1 -0
- package/dist/cjs/api/resources/taskArtifacts/resources/images/index.js +17 -0
- package/dist/cjs/api/resources/taskGroups/client/Client.d.ts +5 -5
- package/dist/cjs/api/resources/taskGroups/client/Client.js +8 -8
- package/dist/cjs/api/resources/taskGroups/resources/expanded/client/requests/TaskGroupExpandedForShipperReq.d.ts +1 -1
- package/dist/cjs/api/resources/taskGroups/resources/expandedList/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/taskGroups/resources/expandedList/client/Client.js +2 -2
- package/dist/cjs/api/resources/taskGroups/resources/expandedList/client/requests/ExpandedListForCourierAdministratorV1Request.d.ts +1 -1
- package/dist/cjs/api/resources/taskGroups/resources/expandedList/client/requests/ExpandedListForCourierDriverV1Request.d.ts +1 -1
- package/dist/cjs/api/types/Cargo1.d.ts +12 -0
- package/dist/cjs/api/types/CargoClientCreate1.d.ts +3 -0
- package/dist/cjs/api/types/CargoClientUpdate1.d.ts +15 -0
- package/dist/cjs/api/types/CargoStatusEnum1.d.ts +3 -2
- package/dist/cjs/api/types/CargoStatusEnum1.js +2 -1
- package/dist/cjs/api/types/ChrtGroundCourierTaskActionEnum1.d.ts +30 -0
- package/dist/cjs/api/types/ChrtGroundCourierTaskActionEnum1.js +15 -0
- package/dist/cjs/api/types/CourierConnectionRes.d.ts +8 -0
- package/dist/cjs/api/types/CourierNotificationPreferences1.d.ts +1 -1
- package/dist/cjs/api/types/{CourierOrgConnectionInfo1.d.ts → CourierOrgInfoForConnections1.d.ts} +1 -1
- package/dist/cjs/api/types/{CourierOrgProfile3.d.ts → CourierOrgProfile1.d.ts} +1 -1
- package/dist/cjs/api/types/{CourierPayDriverPayout1.d.ts → CourierPayDriverStatement1.d.ts} +7 -7
- package/dist/cjs/api/types/CourierPayDriverStatementClientCreate1.d.ts +7 -0
- package/dist/cjs/api/types/CourierPayDriverStatementClientUpdate1.d.ts +13 -0
- package/dist/cjs/api/{resources/connections/resources/connectionToCourier/client/requests → types}/CreateConnectionReq.d.ts +0 -6
- package/dist/cjs/api/types/CreateShipperPayCourierStatementReq.d.ts +6 -0
- package/dist/cjs/api/types/Driver1.d.ts +1 -1
- package/dist/cjs/api/types/FlightTaskActionEnum1.d.ts +17 -0
- package/dist/cjs/api/types/FlightTaskActionEnum1.js +15 -0
- package/dist/cjs/api/types/ForwarderConnectionRes.d.ts +8 -0
- package/dist/cjs/api/types/ForwarderOrgInfoForConnections1.d.ts +22 -0
- package/dist/cjs/api/types/ForwarderOrgProfile1.d.ts +12 -0
- package/dist/cjs/api/types/ForwarderOrgProfile1.js +5 -0
- package/dist/cjs/api/types/GetShipperPayCourierPaymentsForShipperRes.d.ts +1 -1
- package/dist/cjs/api/types/GetShipperPayCourierStatementsForShipperRes.d.ts +7 -0
- package/dist/cjs/api/types/GetShipperPayCourierStatementsForShipperRes.js +5 -0
- package/dist/cjs/api/types/LineItem1.d.ts +1 -1
- package/dist/cjs/api/types/LocationProperties.d.ts +0 -1
- package/dist/cjs/api/types/{OffChrtShipperOrgInfo1.d.ts → OffChrtShipperOrg1.d.ts} +3 -3
- package/dist/cjs/api/types/OffChrtShipperOrg1.js +5 -0
- package/dist/cjs/api/types/OnboardCourierTaskActionEnum1.d.ts +29 -0
- package/dist/cjs/api/types/OnboardCourierTaskActionEnum1.js +24 -0
- package/dist/cjs/api/types/Order1.d.ts +11 -10
- package/dist/cjs/api/types/OrderDraftExpandedListRes.d.ts +11 -0
- package/dist/cjs/api/types/OrderDraftExpandedListRes.js +5 -0
- package/dist/cjs/api/types/OrderDraftExpandedRes.d.ts +13 -0
- package/dist/cjs/api/types/OrderDraftExpandedRes.js +5 -0
- package/dist/cjs/api/types/OrderExpandedForOrderCreator.d.ts +16 -0
- package/dist/cjs/api/types/OrderExpandedForOrderCreator.js +5 -0
- package/dist/cjs/api/types/OrderExpandedForOrderCreatorReq.d.ts +14 -0
- package/dist/cjs/api/types/OrderExpandedForOrderCreatorReq.js +5 -0
- package/dist/cjs/api/types/OrderExpandedForShipper.d.ts +16 -0
- package/dist/cjs/api/types/OrderExpandedForShipper.js +5 -0
- package/dist/cjs/api/types/OrderExpandedForShipperReq.d.ts +14 -0
- package/dist/cjs/api/types/OrderExpandedForShipperReq.js +5 -0
- package/dist/cjs/api/types/OrderExpandedListSortFieldEnum.d.ts +11 -0
- package/dist/cjs/api/types/OrderExpandedListSortFieldEnum.js +10 -0
- package/dist/cjs/api/types/OrderStatusEnum1.d.ts +4 -3
- package/dist/cjs/api/types/OrderStatusEnum1.js +3 -2
- package/dist/cjs/api/types/OrdersDraftUpdateRes.d.ts +12 -0
- package/dist/cjs/api/types/OrdersDraftUpdateRes.js +5 -0
- package/dist/cjs/api/types/OrdersExpandedForOrderCreatorRes.d.ts +11 -0
- package/dist/cjs/api/types/OrdersExpandedForOrderCreatorRes.js +5 -0
- package/dist/cjs/api/types/OrdersExpandedForShipperRes.d.ts +11 -0
- package/dist/cjs/api/types/OrdersExpandedForShipperRes.js +5 -0
- package/dist/cjs/api/types/{CreateOrderRes.d.ts → OrdersNewDraftRes.d.ts} +1 -1
- package/dist/cjs/api/types/OrdersNewDraftRes.js +5 -0
- package/dist/cjs/api/types/OrgProfileRes1.d.ts +8 -0
- package/dist/cjs/api/types/OrgProfileRes1.js +5 -0
- package/dist/cjs/api/types/{OrgPublicData2.d.ts → OrgPublicData1.d.ts} +2 -4
- package/dist/cjs/api/types/OrgPublicData1.js +5 -0
- package/dist/cjs/api/types/OrgTypeEnum.d.ts +9 -0
- package/dist/cjs/api/types/{OrderCreatedByTypeEnum.js → OrgTypeEnum.js} +4 -4
- package/dist/cjs/api/types/ShipperConnectionRes.d.ts +8 -0
- package/dist/cjs/api/types/ShipperConnectionRes.js +5 -0
- package/dist/cjs/api/types/{ShipperContactInfo1.d.ts → ShipperContact1.d.ts} +6 -6
- package/dist/cjs/api/types/ShipperContact1.js +5 -0
- package/dist/cjs/api/types/{ShipperContactInfoClientCreate1.d.ts → ShipperContactClientCreate1.d.ts} +6 -6
- package/dist/cjs/api/types/ShipperContactClientCreate1.js +5 -0
- package/dist/cjs/api/types/ShipperNotificationPreferences1.d.ts +1 -1
- package/dist/cjs/api/types/{ShipperOrgConnectionInfo1.d.ts → ShipperOrgInfoForConnections1.d.ts} +1 -1
- package/dist/cjs/api/types/ShipperOrgInfoForConnections1.js +5 -0
- package/dist/cjs/api/types/ShipperPayCourierLineItemGroup1.d.ts +1 -1
- package/dist/cjs/api/types/ShipperPayCourierLineItemGroupServerCreate1.d.ts +1 -1
- package/dist/cjs/api/types/ShipperPayCourierRateSheet1.d.ts +1 -1
- package/dist/cjs/api/types/{ShipperPayCourierPayment1.d.ts → ShipperPayCourierStatement1.d.ts} +4 -4
- package/dist/cjs/api/types/ShipperPayCourierStatement1.js +5 -0
- package/dist/cjs/api/types/StatementPreviewResponse.d.ts +10 -0
- package/dist/cjs/api/types/StatementPreviewResponse.js +5 -0
- package/dist/cjs/api/types/{PayoutStatusEnum.d.ts → StatementStatusEnum.d.ts} +2 -2
- package/dist/cjs/api/types/{PayoutStatusEnum.js → StatementStatusEnum.js} +2 -2
- package/dist/cjs/api/types/Task1.d.ts +19 -8
- package/dist/cjs/api/types/TaskArtifact1.d.ts +31 -0
- package/dist/cjs/api/types/TaskArtifact1.js +5 -0
- package/dist/cjs/api/types/{MilestoneNotificationPreferences1.d.ts → TaskArtifactNotificationPreferences1.d.ts} +3 -3
- package/dist/cjs/api/types/TaskArtifactNotificationPreferences1.js +5 -0
- package/dist/cjs/api/types/TaskArtifactStatusEnum1.d.ts +10 -0
- package/dist/cjs/api/types/TaskArtifactStatusEnum1.js +12 -0
- package/dist/cjs/api/types/TaskArtifactTypeEnum1.d.ts +9 -0
- package/dist/cjs/api/types/{OrderDispatchTypeEnum.js → TaskArtifactTypeEnum1.js} +5 -5
- package/dist/cjs/api/types/TaskClientCreate1.d.ts +3 -4
- package/dist/cjs/api/types/TaskClientUpdate1.d.ts +15 -0
- package/dist/cjs/api/types/TaskClientUpdate1.js +5 -0
- package/dist/cjs/api/types/TaskDraftExpanded.d.ts +10 -0
- package/dist/cjs/api/types/TaskDraftExpanded.js +5 -0
- package/dist/cjs/api/types/TaskExpanded.d.ts +2 -2
- package/dist/cjs/api/types/TaskGroup1.d.ts +16 -8
- package/dist/cjs/api/types/TaskGroupDraftExpanded.d.ts +10 -0
- package/dist/cjs/api/types/TaskGroupDraftExpanded.js +5 -0
- package/dist/cjs/api/types/TaskGroupExpandedForCourierAdministrator.d.ts +1 -1
- package/dist/cjs/api/types/TaskGroupExpandedForCourierAdministratorReq.d.ts +1 -1
- package/dist/cjs/api/types/TaskGroupExpandedForCourierDriver.d.ts +1 -1
- package/dist/cjs/api/types/TaskGroupExpandedForCourierDriverReq.d.ts +1 -1
- package/dist/cjs/api/types/TaskGroupExpandedForShipper.d.ts +1 -1
- package/dist/cjs/api/types/TaskGroupExpandedSortFieldEnum.d.ts +4 -4
- package/dist/cjs/api/types/TaskGroupExpandedSortFieldEnum.js +3 -3
- package/dist/cjs/api/types/{StripeConnectAccountEvent.d.ts → TaskGroupMessage1.d.ts} +5 -5
- package/dist/cjs/api/types/TaskGroupMessage1.js +5 -0
- package/dist/cjs/api/types/TaskGroupMileage1.d.ts +9 -0
- package/dist/cjs/api/types/TaskGroupMileage1.js +5 -0
- package/dist/cjs/api/types/TaskGroupStatusEnum1.d.ts +4 -2
- package/dist/cjs/api/types/TaskGroupStatusEnum1.js +3 -1
- package/dist/cjs/api/types/TaskGroupTypeEnum1.d.ts +9 -0
- package/dist/cjs/api/types/TaskGroupTypeEnum1.js +11 -0
- package/dist/cjs/api/types/TaskStatusEnum1.d.ts +10 -0
- package/dist/cjs/api/types/TaskStatusEnum1.js +12 -0
- package/dist/cjs/api/types/TimeWindow1.d.ts +7 -0
- package/dist/cjs/api/types/TimeWindow1.js +5 -0
- package/dist/cjs/api/types/index.d.ts +51 -32
- package/dist/cjs/api/types/index.js +51 -32
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +39 -33
- package/dist/esm/Client.mjs +55 -45
- package/dist/esm/api/resources/connections/client/Client.d.mts +20 -4
- package/dist/esm/api/resources/connections/client/Client.mjs +67 -6
- package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.mjs +4 -4
- package/dist/esm/api/resources/connections/resources/connectionToCourier/client/index.d.mts +0 -1
- package/dist/esm/api/resources/connections/resources/connectionToCourier/client/index.mjs +1 -1
- package/dist/esm/api/resources/connections/resources/connectionToForwarder/client/Client.d.mts +49 -0
- package/dist/esm/api/resources/connections/resources/connectionToForwarder/client/Client.mjs +95 -0
- package/dist/esm/api/resources/connections/resources/connectionToShipper/client/Client.d.mts +49 -0
- package/dist/esm/api/resources/connections/resources/connectionToShipper/client/Client.mjs +95 -0
- package/dist/esm/api/resources/connections/resources/index.d.mts +2 -1
- package/dist/esm/api/resources/connections/resources/index.mjs +2 -1
- package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.d.mts +7 -7
- package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.mjs +6 -6
- package/dist/esm/api/resources/courierPayDriverPayouts/client/index.d.mts +0 -1
- package/dist/esm/api/resources/courierPayDriverPayouts/client/index.mjs +1 -1
- package/dist/esm/api/resources/courierPayDriverStatements/client/Client.d.mts +90 -0
- package/dist/esm/api/resources/courierPayDriverStatements/client/Client.mjs +277 -0
- package/dist/esm/api/resources/index.d.mts +22 -21
- package/dist/esm/api/resources/index.mjs +22 -21
- package/dist/esm/api/resources/offChrtShipperOrg/client/Client.d.mts +100 -0
- package/dist/esm/api/resources/{offChrtShipperOrgInfo → offChrtShipperOrg}/client/Client.mjs +28 -28
- package/dist/esm/api/resources/{offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientCreate1.d.mts → offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.mts} +3 -3
- package/dist/esm/api/resources/{offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientUpdate1.d.mts → offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.mts} +1 -1
- package/dist/esm/api/resources/offChrtShipperOrg/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/orders/client/Client.d.mts +14 -88
- package/dist/esm/api/resources/orders/client/Client.mjs +19 -314
- package/dist/esm/api/resources/orders/client/index.d.mts +0 -1
- package/dist/esm/api/resources/orders/client/index.mjs +1 -1
- package/dist/esm/api/resources/orders/resources/draft/client/Client.d.mts +261 -0
- package/dist/esm/api/resources/orders/resources/draft/client/Client.mjs +977 -0
- package/dist/esm/api/resources/orders/resources/draft/client/requests/OrderDraftAddTaskArtifactReq.d.mts +15 -0
- package/dist/esm/api/resources/orders/resources/draft/client/requests/OrderDraftAddTaskGroupReq.d.mts +17 -0
- package/dist/esm/api/resources/orders/resources/draft/client/requests/OrderDraftAddTaskReqV1.d.mts +18 -0
- package/dist/esm/api/resources/orders/resources/draft/client/requests/OrderDraftAssociateCargoWithTaskReq.d.mts +16 -0
- package/dist/esm/api/resources/orders/resources/draft/client/requests/OrderDraftCreateCargoReq.d.mts +18 -0
- package/dist/esm/api/resources/orders/resources/draft/client/requests/OrderDraftUpdateCargoReq.d.mts +15 -0
- package/dist/esm/api/resources/orders/resources/draft/client/requests/OrderDraftUpdateTaskReq.d.mts +15 -0
- package/dist/esm/api/resources/orders/resources/draft/client/requests/OrdersDraftUpdateReq.d.mts +17 -0
- package/dist/esm/api/resources/orders/resources/draft/client/requests/OrdersNewDraftReq.d.mts +14 -0
- package/dist/esm/api/resources/orders/resources/draft/client/requests/index.d.mts +9 -0
- package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/Client.d.mts +61 -0
- package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/Client.mjs +156 -0
- package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/requests/OrderDraftExpandedListReq.d.mts +21 -0
- package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/requests/OrderDraftExpandedReq.d.mts +21 -0
- package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/orders/resources/draft/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/orders/resources/draft/resources/index.mjs +2 -0
- package/dist/esm/api/resources/orders/resources/{full → expanded}/client/Client.d.mts +18 -23
- package/dist/esm/api/resources/{milestones → orders/resources/expanded}/client/Client.mjs +26 -39
- package/dist/esm/api/resources/orders/resources/expanded/client/index.d.mts +1 -0
- package/dist/esm/api/resources/orders/resources/expanded/client/index.mjs +1 -0
- package/dist/esm/api/resources/orders/resources/expanded/index.d.mts +1 -0
- package/dist/esm/api/resources/orders/resources/expanded/index.mjs +1 -0
- package/dist/esm/api/resources/orders/resources/expandedList/client/Client.d.mts +78 -0
- package/dist/esm/api/resources/orders/resources/expandedList/client/Client.mjs +254 -0
- package/dist/esm/api/resources/orders/resources/expandedList/client/requests/ExpandedListPostOrderCreatorExpandedListV1Request.d.mts +30 -0
- package/dist/esm/api/resources/orders/resources/expandedList/client/requests/ExpandedListPostShipperExpandedListV1Request.d.mts +28 -0
- package/dist/esm/api/resources/orders/resources/expandedList/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/orders/resources/expandedList/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/orders/resources/expandedList/index.d.mts +1 -0
- package/dist/esm/api/resources/orders/resources/expandedList/index.mjs +1 -0
- package/dist/esm/api/resources/orders/resources/index.d.mts +5 -1
- package/dist/esm/api/resources/orders/resources/index.mjs +5 -1
- package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.d.mts +5 -5
- package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/Client.mjs +8 -8
- package/dist/esm/api/resources/orgConnectionInfos/resources/{shipper/client/requests/ShipperOrgConnectionInfoClientCreate1.d.mts → courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.d.mts} +1 -1
- package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/requests/{CourierOrgConnectionInfoClientUpdate1.d.mts → CourierOrgInfoForConnectionsClientUpdate1.d.mts} +1 -1
- package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.d.mts +5 -5
- package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/Client.mjs +8 -8
- package/dist/esm/api/resources/orgConnectionInfos/resources/{courier/client/requests/CourierOrgConnectionInfoClientCreate1.d.mts → shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.d.mts} +1 -1
- package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/requests/{ShipperOrgConnectionInfoClientUpdate1.d.mts → ShipperOrgInfoForConnectionsClientUpdate1.d.mts} +1 -1
- package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/orgProfiles/client/Client.d.mts +43 -12
- package/dist/esm/api/resources/orgProfiles/client/Client.mjs +151 -22
- package/dist/{cjs/api/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate3.d.ts → esm/api/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.d.mts} +1 -1
- package/dist/{cjs/api/resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate3.d.ts → esm/api/resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate1.d.mts} +1 -1
- package/dist/esm/api/resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.d.mts +18 -0
- package/dist/esm/api/resources/orgProfiles/client/requests/ForwarderOrgProfileClientUpdate1.d.mts +12 -0
- package/dist/esm/api/resources/orgProfiles/client/requests/index.d.mts +4 -2
- package/dist/esm/api/resources/orgs/client/Client.d.mts +25 -36
- package/dist/esm/api/resources/orgs/client/Client.mjs +52 -104
- package/dist/esm/api/resources/orgs/client/requests/CreateOrgPublicDataReq.d.mts +5 -4
- package/dist/esm/api/resources/payments/client/Client.d.mts +27 -27
- package/dist/esm/api/resources/payments/client/Client.mjs +83 -83
- package/dist/esm/api/resources/payments/client/requests/GenerateInvoiceReq.d.mts +2 -2
- package/dist/esm/api/resources/payments/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/shipperContactInfo/client/Client.d.mts +14 -14
- package/dist/esm/api/resources/shipperContactInfo/client/Client.mjs +10 -10
- package/dist/esm/api/resources/shipperContactInfo/client/requests/{ShipperContactInfoClientUpdate1.d.mts → ShipperContactClientUpdate1.d.mts} +1 -1
- package/dist/esm/api/resources/shipperContactInfo/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/shipperPayCourierPayments/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/shipperPayCourierPayments/client/requests/ListPaymentsByCourierReq.d.mts +1 -1
- package/dist/esm/api/resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientCreate1.d.mts +1 -1
- package/dist/esm/api/resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientUpdate1.d.mts +1 -1
- package/dist/esm/api/resources/shipperPayCourierStatements/client/Client.d.mts +133 -0
- package/dist/esm/api/resources/shipperPayCourierStatements/client/Client.mjs +470 -0
- package/dist/esm/api/resources/shipperPayCourierStatements/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shipperPayCourierStatements/client/index.mjs +1 -0
- package/dist/esm/api/resources/shipperPayCourierStatements/client/requests/ListStatementsByCourierReq.d.mts +16 -0
- package/dist/esm/api/resources/shipperPayCourierStatements/client/requests/ListStatementsByShipperReq.d.mts +15 -0
- package/dist/esm/api/resources/shipperPayCourierStatements/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/shipperPayCourierStatements/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shipperPayCourierStatements/index.d.mts +1 -0
- package/dist/esm/api/resources/shipperPayCourierStatements/index.mjs +1 -0
- package/dist/esm/api/resources/{milestoneNotifications → taskArtifactNotifications}/client/Client.d.mts +13 -13
- package/dist/esm/api/resources/{milestoneNotifications → taskArtifactNotifications}/client/Client.mjs +12 -12
- package/dist/esm/api/resources/taskArtifactNotifications/client/index.d.mts +2 -0
- package/dist/esm/api/resources/taskArtifactNotifications/client/index.mjs +1 -0
- package/dist/esm/api/resources/{milestoneNotifications/client/requests/MilestoneNotificationPreferencesClientCreate1.d.mts → taskArtifactNotifications/client/requests/TaskArtifactNotificationPreferencesClientCreate1.d.mts} +2 -2
- package/dist/esm/api/resources/taskArtifactNotifications/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/taskArtifactNotifications/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/taskArtifactNotifications/index.d.mts +1 -0
- package/dist/esm/api/resources/taskArtifactNotifications/index.mjs +1 -0
- package/dist/esm/api/resources/{milestones → taskArtifacts}/client/Client.d.mts +32 -17
- package/dist/esm/api/resources/{orders/resources/full → taskArtifacts}/client/Client.mjs +83 -44
- package/dist/esm/api/resources/taskArtifacts/client/index.d.mts +2 -0
- package/dist/esm/api/resources/taskArtifacts/client/index.mjs +1 -0
- package/dist/esm/api/resources/taskArtifacts/client/requests/TaskArtifactAddToTaskReq.d.mts +19 -0
- package/dist/esm/api/resources/taskArtifacts/client/requests/TaskArtifactUpdateCommentsReq.d.mts +14 -0
- package/dist/esm/api/resources/taskArtifacts/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/taskArtifacts/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/taskArtifacts/index.d.mts +2 -0
- package/dist/esm/api/resources/taskArtifacts/index.mjs +2 -0
- package/dist/esm/api/resources/{milestones → taskArtifacts}/resources/blurhash/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/{milestones → taskArtifacts}/resources/blurhash/client/Client.mjs +8 -8
- package/dist/esm/api/resources/taskArtifacts/resources/blurhash/client/index.d.mts +1 -0
- package/dist/esm/api/resources/taskArtifacts/resources/blurhash/client/index.mjs +1 -0
- package/dist/esm/api/resources/taskArtifacts/resources/blurhash/index.d.mts +1 -0
- package/dist/esm/api/resources/taskArtifacts/resources/blurhash/index.mjs +1 -0
- package/dist/esm/api/resources/{milestones → taskArtifacts}/resources/images/client/Client.d.mts +17 -18
- package/dist/esm/api/resources/{milestones → taskArtifacts}/resources/images/client/Client.mjs +44 -49
- package/dist/esm/api/resources/taskArtifacts/resources/images/client/index.d.mts +2 -0
- package/dist/esm/api/resources/taskArtifacts/resources/images/client/index.mjs +1 -0
- package/dist/esm/api/resources/taskArtifacts/resources/images/client/requests/BodyPostTaskArtifactsUploadImageV1OortTaskArtifactsImagesUploadV1TaskArtifactIdPost.d.mts +13 -0
- package/dist/esm/api/resources/taskArtifacts/resources/images/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/taskArtifacts/resources/images/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/taskArtifacts/resources/images/index.d.mts +1 -0
- package/dist/esm/api/resources/taskArtifacts/resources/images/index.mjs +1 -0
- package/dist/esm/api/resources/taskGroups/client/Client.d.mts +5 -5
- package/dist/esm/api/resources/taskGroups/client/Client.mjs +8 -8
- package/dist/esm/api/resources/taskGroups/resources/expanded/client/requests/TaskGroupExpandedForShipperReq.d.mts +1 -1
- package/dist/esm/api/resources/taskGroups/resources/expandedList/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/taskGroups/resources/expandedList/client/Client.mjs +2 -2
- package/dist/esm/api/resources/taskGroups/resources/expandedList/client/requests/ExpandedListForCourierAdministratorV1Request.d.mts +1 -1
- package/dist/esm/api/resources/taskGroups/resources/expandedList/client/requests/ExpandedListForCourierDriverV1Request.d.mts +1 -1
- package/dist/esm/api/types/Cargo1.d.mts +12 -0
- package/dist/esm/api/types/CargoClientCreate1.d.mts +3 -0
- package/dist/esm/api/types/CargoClientUpdate1.d.mts +15 -0
- package/dist/esm/api/types/CargoStatusEnum1.d.mts +3 -2
- package/dist/esm/api/types/CargoStatusEnum1.mjs +2 -1
- package/dist/esm/api/types/ChrtGroundCourierTaskActionEnum1.d.mts +30 -0
- package/dist/esm/api/types/ChrtGroundCourierTaskActionEnum1.mjs +12 -0
- package/dist/esm/api/types/CourierConnectionRes.d.mts +8 -0
- package/dist/esm/api/types/CourierNotificationPreferences1.d.mts +1 -1
- package/dist/esm/api/types/{CourierOrgConnectionInfo1.d.mts → CourierOrgInfoForConnections1.d.mts} +1 -1
- package/dist/esm/api/types/{CourierOrgProfile3.d.mts → CourierOrgProfile1.d.mts} +1 -1
- package/dist/esm/api/types/{CourierPayDriverPayout1.d.mts → CourierPayDriverStatement1.d.mts} +7 -7
- package/dist/esm/api/types/CourierPayDriverStatementClientCreate1.d.mts +7 -0
- package/dist/esm/api/types/CourierPayDriverStatementClientUpdate1.d.mts +13 -0
- package/dist/esm/api/{resources/connections/resources/connectionToCourier/client/requests → types}/CreateConnectionReq.d.mts +0 -6
- package/dist/esm/api/types/CreateShipperPayCourierStatementReq.d.mts +6 -0
- package/dist/esm/api/types/Driver1.d.mts +1 -1
- package/dist/esm/api/types/FlightTaskActionEnum1.d.mts +17 -0
- package/dist/esm/api/types/FlightTaskActionEnum1.mjs +12 -0
- package/dist/esm/api/types/ForwarderConnectionRes.d.mts +8 -0
- package/dist/esm/api/types/ForwarderOrgInfoForConnections1.d.mts +22 -0
- package/dist/esm/api/types/ForwarderOrgProfile1.d.mts +12 -0
- package/dist/esm/api/types/ForwarderOrgProfile1.mjs +4 -0
- package/dist/esm/api/types/GetShipperPayCourierPaymentsForShipperRes.d.mts +1 -1
- package/dist/esm/api/types/GetShipperPayCourierStatementsForShipperRes.d.mts +7 -0
- package/dist/esm/api/types/GetShipperPayCourierStatementsForShipperRes.mjs +4 -0
- package/dist/esm/api/types/LineItem1.d.mts +1 -1
- package/dist/esm/api/types/LocationProperties.d.mts +0 -1
- package/dist/esm/api/types/{OffChrtShipperOrgInfo1.d.mts → OffChrtShipperOrg1.d.mts} +3 -3
- package/dist/esm/api/types/OffChrtShipperOrg1.mjs +4 -0
- package/dist/esm/api/types/OnboardCourierTaskActionEnum1.d.mts +29 -0
- package/dist/esm/api/types/OnboardCourierTaskActionEnum1.mjs +21 -0
- package/dist/esm/api/types/Order1.d.mts +11 -10
- package/dist/esm/api/types/OrderDraftExpandedListRes.d.mts +11 -0
- package/dist/esm/api/types/OrderDraftExpandedListRes.mjs +4 -0
- package/dist/esm/api/types/OrderDraftExpandedRes.d.mts +13 -0
- package/dist/esm/api/types/OrderDraftExpandedRes.mjs +4 -0
- package/dist/esm/api/types/OrderExpandedForOrderCreator.d.mts +16 -0
- package/dist/esm/api/types/OrderExpandedForOrderCreator.mjs +4 -0
- package/dist/esm/api/types/OrderExpandedForOrderCreatorReq.d.mts +14 -0
- package/dist/esm/api/types/OrderExpandedForOrderCreatorReq.mjs +4 -0
- package/dist/esm/api/types/OrderExpandedForShipper.d.mts +16 -0
- package/dist/esm/api/types/OrderExpandedForShipper.mjs +4 -0
- package/dist/esm/api/types/OrderExpandedForShipperReq.d.mts +14 -0
- package/dist/esm/api/types/OrderExpandedForShipperReq.mjs +4 -0
- package/dist/esm/api/types/OrderExpandedListSortFieldEnum.d.mts +11 -0
- package/dist/esm/api/types/OrderExpandedListSortFieldEnum.mjs +7 -0
- package/dist/esm/api/types/OrderStatusEnum1.d.mts +4 -3
- package/dist/esm/api/types/OrderStatusEnum1.mjs +3 -2
- package/dist/esm/api/types/OrdersDraftUpdateRes.d.mts +12 -0
- package/dist/esm/api/types/OrdersDraftUpdateRes.mjs +4 -0
- package/dist/esm/api/types/OrdersExpandedForOrderCreatorRes.d.mts +11 -0
- package/dist/esm/api/types/OrdersExpandedForOrderCreatorRes.mjs +4 -0
- package/dist/esm/api/types/OrdersExpandedForShipperRes.d.mts +11 -0
- package/dist/esm/api/types/OrdersExpandedForShipperRes.mjs +4 -0
- package/dist/esm/api/types/{CreateOrderRes.d.mts → OrdersNewDraftRes.d.mts} +1 -1
- package/dist/esm/api/types/OrdersNewDraftRes.mjs +4 -0
- package/dist/esm/api/types/OrgProfileRes1.d.mts +8 -0
- package/dist/esm/api/types/OrgProfileRes1.mjs +4 -0
- package/dist/esm/api/types/{OrgPublicData2.d.mts → OrgPublicData1.d.mts} +2 -4
- package/dist/esm/api/types/OrgPublicData1.mjs +4 -0
- package/dist/esm/api/types/OrgTypeEnum.d.mts +9 -0
- package/dist/esm/api/types/{OrderCreatedByTypeEnum.mjs → OrgTypeEnum.mjs} +3 -3
- package/dist/esm/api/types/ShipperConnectionRes.d.mts +8 -0
- package/dist/esm/api/types/ShipperConnectionRes.mjs +4 -0
- package/dist/esm/api/types/{ShipperContactInfo1.d.mts → ShipperContact1.d.mts} +6 -6
- package/dist/esm/api/types/ShipperContact1.mjs +4 -0
- package/dist/esm/api/types/{ShipperContactInfoClientCreate1.d.mts → ShipperContactClientCreate1.d.mts} +6 -6
- package/dist/esm/api/types/ShipperContactClientCreate1.mjs +4 -0
- package/dist/esm/api/types/ShipperNotificationPreferences1.d.mts +1 -1
- package/dist/esm/api/types/{ShipperOrgConnectionInfo1.d.mts → ShipperOrgInfoForConnections1.d.mts} +1 -1
- package/dist/esm/api/types/ShipperOrgInfoForConnections1.mjs +4 -0
- package/dist/esm/api/types/ShipperPayCourierLineItemGroup1.d.mts +1 -1
- package/dist/esm/api/types/ShipperPayCourierLineItemGroupServerCreate1.d.mts +1 -1
- package/dist/esm/api/types/ShipperPayCourierRateSheet1.d.mts +1 -1
- package/dist/esm/api/types/{ShipperPayCourierPayment1.d.mts → ShipperPayCourierStatement1.d.mts} +4 -4
- package/dist/esm/api/types/ShipperPayCourierStatement1.mjs +4 -0
- package/dist/esm/api/types/StatementPreviewResponse.d.mts +10 -0
- package/dist/esm/api/types/StatementPreviewResponse.mjs +4 -0
- package/dist/esm/api/types/{PayoutStatusEnum.d.mts → StatementStatusEnum.d.mts} +2 -2
- package/dist/esm/api/types/{PayoutStatusEnum.mjs → StatementStatusEnum.mjs} +1 -1
- package/dist/esm/api/types/Task1.d.mts +19 -8
- package/dist/esm/api/types/TaskArtifact1.d.mts +31 -0
- package/dist/esm/api/types/TaskArtifact1.mjs +4 -0
- package/dist/esm/api/types/{MilestoneNotificationPreferences1.d.mts → TaskArtifactNotificationPreferences1.d.mts} +3 -3
- package/dist/esm/api/types/TaskArtifactNotificationPreferences1.mjs +4 -0
- package/dist/esm/api/types/TaskArtifactStatusEnum1.d.mts +10 -0
- package/dist/esm/api/types/TaskArtifactStatusEnum1.mjs +9 -0
- package/dist/esm/api/types/TaskArtifactTypeEnum1.d.mts +9 -0
- package/dist/esm/api/types/TaskArtifactTypeEnum1.mjs +8 -0
- package/dist/esm/api/types/TaskClientCreate1.d.mts +3 -4
- package/dist/esm/api/types/TaskClientUpdate1.d.mts +15 -0
- package/dist/esm/api/types/TaskClientUpdate1.mjs +4 -0
- package/dist/esm/api/types/TaskDraftExpanded.d.mts +10 -0
- package/dist/esm/api/types/TaskDraftExpanded.mjs +4 -0
- package/dist/esm/api/types/TaskExpanded.d.mts +2 -2
- package/dist/esm/api/types/TaskGroup1.d.mts +16 -8
- package/dist/esm/api/types/{TaskGroupExpanded.d.mts → TaskGroupDraftExpanded.d.mts} +3 -6
- package/dist/esm/api/types/TaskGroupDraftExpanded.mjs +4 -0
- package/dist/esm/api/types/TaskGroupExpandedForCourierAdministrator.d.mts +1 -1
- package/dist/esm/api/types/TaskGroupExpandedForCourierAdministratorReq.d.mts +1 -1
- package/dist/esm/api/types/TaskGroupExpandedForCourierDriver.d.mts +1 -1
- package/dist/esm/api/types/TaskGroupExpandedForCourierDriverReq.d.mts +1 -1
- package/dist/esm/api/types/TaskGroupExpandedForShipper.d.mts +1 -1
- package/dist/esm/api/types/TaskGroupExpandedSortFieldEnum.d.mts +4 -4
- package/dist/esm/api/types/TaskGroupExpandedSortFieldEnum.mjs +3 -3
- package/dist/esm/api/types/{StripeConnectAccountEvent.d.mts → TaskGroupMessage1.d.mts} +5 -5
- package/dist/esm/api/types/TaskGroupMessage1.mjs +4 -0
- package/dist/esm/api/types/TaskGroupMileage1.d.mts +9 -0
- package/dist/esm/api/types/TaskGroupMileage1.mjs +4 -0
- package/dist/esm/api/types/TaskGroupStatusEnum1.d.mts +4 -2
- package/dist/esm/api/types/TaskGroupStatusEnum1.mjs +3 -1
- package/dist/esm/api/types/TaskGroupTypeEnum1.d.mts +9 -0
- package/dist/esm/api/types/TaskGroupTypeEnum1.mjs +8 -0
- package/dist/esm/api/types/TaskStatusEnum1.d.mts +10 -0
- package/dist/esm/api/types/TaskStatusEnum1.mjs +9 -0
- package/dist/esm/api/types/TimeWindow1.d.mts +7 -0
- package/dist/esm/api/types/TimeWindow1.mjs +4 -0
- package/dist/esm/api/types/index.d.mts +51 -32
- package/dist/esm/api/types/index.mjs +51 -32
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +2982 -1034
- package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.d.ts +0 -14
- package/dist/cjs/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientUpdate1.d.ts +0 -14
- package/dist/cjs/api/resources/courierPayDriverPayouts/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/milestoneNotifications/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/milestones/client/requests/MilestoneAddToTaskReq.d.ts +0 -16
- package/dist/cjs/api/resources/milestones/client/requests/MilestoneUpdateReq.d.ts +0 -14
- package/dist/cjs/api/resources/milestones/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/milestones/resources/images/client/requests/BodyPostMilestonesUploadImageV1OortMilestonesImagesUploadV1MilestoneIdPost.d.ts +0 -15
- package/dist/cjs/api/resources/milestones/resources/images/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/offChrtShipperOrgInfo/client/Client.d.ts +0 -100
- package/dist/cjs/api/resources/offChrtShipperOrgInfo/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/orders/client/requests/CreateOrderReq.d.ts +0 -45
- package/dist/cjs/api/resources/orders/client/requests/OrdersExpandedReq.d.ts +0 -19
- package/dist/cjs/api/resources/orders/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/types/Expense1.d.ts +0 -13
- package/dist/cjs/api/types/GetOrderFullRes.d.ts +0 -11
- package/dist/cjs/api/types/GetOrderRes.d.ts +0 -7
- package/dist/cjs/api/types/Milestone1.d.ts +0 -27
- package/dist/cjs/api/types/MilestoneClientCreate1.d.ts +0 -9
- package/dist/cjs/api/types/MilestoneTypeEnum1.d.ts +0 -14
- package/dist/cjs/api/types/MilestoneTypeEnum1.js +0 -16
- package/dist/cjs/api/types/ObcNfoTaskActionEnum.d.ts +0 -38
- package/dist/cjs/api/types/ObcNfoTaskActionEnum.js +0 -40
- package/dist/cjs/api/types/OrderClientCreate1.d.ts +0 -6
- package/dist/cjs/api/types/OrderCreatedByTypeEnum.d.ts +0 -9
- package/dist/cjs/api/types/OrderDispatchTypeEnum.d.ts +0 -9
- package/dist/cjs/api/types/OrderExpanded.d.ts +0 -11
- package/dist/cjs/api/types/OrdersExpandedRes.d.ts +0 -10
- package/dist/cjs/api/types/StripeConnectAccountEventEnum.d.ts +0 -8
- package/dist/cjs/api/types/StripeConnectAccountEventEnum.js +0 -10
- package/dist/cjs/api/types/TaskActionEnum1.d.ts +0 -14
- package/dist/cjs/api/types/TaskActionEnum1.js +0 -16
- package/dist/cjs/api/types/TaskCreateBundle.d.ts +0 -13
- package/dist/cjs/api/types/TaskGroupExpanded.d.ts +0 -13
- package/dist/cjs/api/types/TransportTypeEnum.d.ts +0 -11
- package/dist/cjs/api/types/TransportTypeEnum.js +0 -13
- package/dist/cjs/api/types/UpdateTaskGroupRes.d.ts +0 -6
- package/dist/esm/api/resources/connections/resources/connectionToCourier/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.d.mts +0 -14
- package/dist/esm/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientUpdate1.d.mts +0 -14
- package/dist/esm/api/resources/courierPayDriverPayouts/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/milestoneNotifications/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/milestones/client/requests/MilestoneAddToTaskReq.d.mts +0 -16
- package/dist/esm/api/resources/milestones/client/requests/MilestoneUpdateReq.d.mts +0 -14
- package/dist/esm/api/resources/milestones/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/milestones/resources/images/client/requests/BodyPostMilestonesUploadImageV1OortMilestonesImagesUploadV1MilestoneIdPost.d.mts +0 -15
- package/dist/esm/api/resources/milestones/resources/images/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/offChrtShipperOrgInfo/client/Client.d.mts +0 -100
- package/dist/esm/api/resources/offChrtShipperOrgInfo/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/orders/client/requests/CreateOrderReq.d.mts +0 -45
- package/dist/esm/api/resources/orders/client/requests/OrdersExpandedReq.d.mts +0 -19
- package/dist/esm/api/resources/orders/client/requests/index.d.mts +0 -2
- package/dist/esm/api/types/Expense1.d.mts +0 -13
- package/dist/esm/api/types/GetOrderFullRes.d.mts +0 -11
- package/dist/esm/api/types/GetOrderRes.d.mts +0 -7
- package/dist/esm/api/types/Milestone1.d.mts +0 -27
- package/dist/esm/api/types/MilestoneClientCreate1.d.mts +0 -9
- package/dist/esm/api/types/MilestoneTypeEnum1.d.mts +0 -14
- package/dist/esm/api/types/MilestoneTypeEnum1.mjs +0 -13
- package/dist/esm/api/types/ObcNfoTaskActionEnum.d.mts +0 -38
- package/dist/esm/api/types/ObcNfoTaskActionEnum.mjs +0 -37
- package/dist/esm/api/types/OrderClientCreate1.d.mts +0 -6
- package/dist/esm/api/types/OrderCreatedByTypeEnum.d.mts +0 -9
- package/dist/esm/api/types/OrderDispatchTypeEnum.d.mts +0 -9
- package/dist/esm/api/types/OrderDispatchTypeEnum.mjs +0 -8
- package/dist/esm/api/types/OrderExpanded.d.mts +0 -11
- package/dist/esm/api/types/OrdersExpandedRes.d.mts +0 -10
- package/dist/esm/api/types/StripeConnectAccountEventEnum.d.mts +0 -8
- package/dist/esm/api/types/StripeConnectAccountEventEnum.mjs +0 -7
- package/dist/esm/api/types/TaskActionEnum1.d.mts +0 -14
- package/dist/esm/api/types/TaskActionEnum1.mjs +0 -13
- package/dist/esm/api/types/TaskCreateBundle.d.mts +0 -13
- package/dist/esm/api/types/TransportTypeEnum.d.mts +0 -11
- package/dist/esm/api/types/TransportTypeEnum.mjs +0 -10
- package/dist/esm/api/types/UpdateTaskGroupRes.d.mts +0 -6
- /package/dist/cjs/api/resources/{milestones/resources/blurhash → connections/resources/connectionToForwarder}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/connections/resources/{connectionToCourier/client/requests → connectionToForwarder/client}/index.js +0 -0
- /package/dist/cjs/api/resources/{milestoneNotifications → connections/resources/connectionToForwarder}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{milestoneNotifications → connections/resources/connectionToForwarder}/index.js +0 -0
- /package/dist/cjs/api/resources/{orders/resources/full → connections/resources/connectionToShipper}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{courierPayDriverPayouts/client/requests → connections/resources/connectionToShipper/client}/index.js +0 -0
- /package/dist/cjs/api/resources/{milestones/resources/blurhash → connections/resources/connectionToShipper}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{milestones/resources/blurhash → connections/resources/connectionToShipper}/index.js +0 -0
- /package/dist/{esm/api/resources/connections/resources/connectionToCourier/client/requests/index.mjs → cjs/api/resources/courierPayDriverStatements/client/index.d.ts} +0 -0
- /package/dist/cjs/api/resources/{milestoneNotifications/client/requests → courierPayDriverStatements/client}/index.js +0 -0
- /package/dist/cjs/api/resources/{milestones/resources/images → courierPayDriverStatements}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{milestones/resources/images → courierPayDriverStatements}/index.js +0 -0
- /package/dist/cjs/api/resources/{milestoneNotifications → offChrtShipperOrg}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{milestoneNotifications → offChrtShipperOrg}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{connections/resources/connectionToCourier/client/requests/CreateConnectionReq.js → offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/{courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.js → offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/{milestones → offChrtShipperOrg}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{offChrtShipperOrgInfo → offChrtShipperOrg}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{offChrtShipperOrgInfo → offChrtShipperOrg}/index.js +0 -0
- /package/dist/cjs/api/resources/{milestones → orders/resources/draft}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{milestones → orders/resources/draft}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientUpdate1.js → orders/resources/draft/client/requests/OrderDraftAddTaskArtifactReq.js} +0 -0
- /package/dist/cjs/api/resources/{milestoneNotifications/client/requests/MilestoneNotificationPreferencesClientCreate1.js → orders/resources/draft/client/requests/OrderDraftAddTaskGroupReq.js} +0 -0
- /package/dist/cjs/api/resources/{milestones/client/requests/MilestoneAddToTaskReq.js → orders/resources/draft/client/requests/OrderDraftAddTaskReqV1.js} +0 -0
- /package/dist/cjs/api/resources/{milestones/client/requests/MilestoneUpdateReq.js → orders/resources/draft/client/requests/OrderDraftAssociateCargoWithTaskReq.js} +0 -0
- /package/dist/cjs/api/resources/{milestones/resources/images/client/requests/BodyPostMilestonesUploadImageV1OortMilestonesImagesUploadV1MilestoneIdPost.js → orders/resources/draft/client/requests/OrderDraftCreateCargoReq.js} +0 -0
- /package/dist/cjs/api/resources/{offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientCreate1.js → orders/resources/draft/client/requests/OrderDraftUpdateCargoReq.js} +0 -0
- /package/dist/cjs/api/resources/{offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientUpdate1.js → orders/resources/draft/client/requests/OrderDraftUpdateTaskReq.js} +0 -0
- /package/dist/cjs/api/resources/orders/{client/requests/CreateOrderReq.js → resources/draft/client/requests/OrdersDraftUpdateReq.js} +0 -0
- /package/dist/cjs/api/resources/orders/{client/requests/OrdersExpandedReq.js → resources/draft/client/requests/OrdersNewDraftReq.js} +0 -0
- /package/dist/cjs/api/resources/{milestones/resources/blurhash/client → orders/resources/draft/client/requests}/index.js +0 -0
- /package/dist/cjs/api/resources/{milestones → orders/resources/draft}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{milestones → orders/resources/draft}/index.js +0 -0
- /package/dist/cjs/api/resources/{milestones/resources/images → orders/resources/draft/resources/expanded}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{milestones/resources/images → orders/resources/draft/resources/expanded}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientCreate1.js → orders/resources/draft/resources/expanded/client/requests/OrderDraftExpandedListReq.js} +0 -0
- /package/dist/cjs/api/resources/{orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientUpdate1.js → orders/resources/draft/resources/expanded/client/requests/OrderDraftExpandedReq.js} +0 -0
- /package/dist/cjs/api/resources/{milestones/resources/images → orders/resources/draft/resources/expanded}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/orders/resources/{full → draft/resources/expanded}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/orders/resources/{full → draft/resources/expanded}/index.js +0 -0
- /package/dist/{esm/api/resources/courierPayDriverPayouts/client/requests/index.mjs → cjs/api/resources/orders/resources/expanded/client/index.d.ts} +0 -0
- /package/dist/cjs/api/resources/{offChrtShipperOrgInfo/client/requests → orders/resources/expanded/client}/index.js +0 -0
- /package/dist/cjs/api/resources/{offChrtShipperOrgInfo → orders/resources/expandedList}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{offChrtShipperOrgInfo → orders/resources/expandedList}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientCreate1.js → orders/resources/expandedList/client/requests/ExpandedListPostOrderCreatorExpandedListV1Request.js} +0 -0
- /package/dist/cjs/api/resources/{orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientUpdate1.js → orders/resources/expandedList/client/requests/ExpandedListPostShipperExpandedListV1Request.js} +0 -0
- /package/dist/cjs/api/resources/orders/{client → resources/expandedList/client}/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{orgProfiles/client/requests/CourierOrgProfileClientCreate3.js → orgConnectionInfos/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/{orgProfiles/client/requests/CourierOrgProfileClientUpdate3.js → orgConnectionInfos/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/{shipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.js → orgConnectionInfos/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.js} +0 -0
- /package/dist/cjs/api/{types/CourierOrgConnectionInfo1.js → resources/orgConnectionInfos/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.js} +0 -0
- /package/dist/cjs/api/{types/CourierOrgProfile3.js → resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.js} +0 -0
- /package/dist/cjs/api/{types/CourierPayDriverPayout1.js → resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate1.js} +0 -0
- /package/dist/cjs/api/{types/CreateOrderRes.js → resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.js} +0 -0
- /package/dist/cjs/api/{types/Expense1.js → resources/orgProfiles/client/requests/ForwarderOrgProfileClientUpdate1.js} +0 -0
- /package/dist/cjs/api/{types/GetOrderFullRes.js → resources/shipperContactInfo/client/requests/ShipperContactClientUpdate1.js} +0 -0
- /package/dist/cjs/api/{types/GetOrderRes.js → resources/shipperPayCourierStatements/client/requests/ListStatementsByCourierReq.js} +0 -0
- /package/dist/cjs/api/{types/Milestone1.js → resources/shipperPayCourierStatements/client/requests/ListStatementsByShipperReq.js} +0 -0
- /package/dist/cjs/api/resources/{orders/resources/full/client → shipperPayCourierStatements/client/requests}/index.js +0 -0
- /package/dist/cjs/api/{types/MilestoneClientCreate1.js → resources/taskArtifactNotifications/client/requests/TaskArtifactNotificationPreferencesClientCreate1.js} +0 -0
- /package/dist/cjs/api/{types/MilestoneNotificationPreferences1.js → resources/taskArtifacts/client/requests/TaskArtifactAddToTaskReq.js} +0 -0
- /package/dist/cjs/api/{types/OffChrtShipperOrgInfo1.js → resources/taskArtifacts/client/requests/TaskArtifactUpdateCommentsReq.js} +0 -0
- /package/dist/{esm/api/resources/milestoneNotifications/client/requests/index.mjs → cjs/api/resources/taskArtifacts/resources/blurhash/client/index.d.ts} +0 -0
- /package/dist/cjs/api/{types/OrderClientCreate1.js → resources/taskArtifacts/resources/images/client/requests/BodyPostTaskArtifactsUploadImageV1OortTaskArtifactsImagesUploadV1TaskArtifactIdPost.js} +0 -0
- /package/dist/cjs/api/resources/{milestones → taskArtifacts}/resources/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{milestones → taskArtifacts}/resources/index.js +0 -0
- /package/dist/cjs/api/types/{OrderExpanded.js → CargoClientUpdate1.js} +0 -0
- /package/dist/cjs/api/types/{OrdersExpandedRes.js → CourierConnectionRes.js} +0 -0
- /package/dist/cjs/api/types/{OrgPublicData2.js → CourierOrgInfoForConnections1.js} +0 -0
- /package/dist/cjs/api/types/{ShipperContactInfo1.js → CourierOrgProfile1.js} +0 -0
- /package/dist/cjs/api/types/{ShipperContactInfoClientCreate1.js → CourierPayDriverStatement1.js} +0 -0
- /package/dist/cjs/api/types/{ShipperOrgConnectionInfo1.js → CourierPayDriverStatementClientCreate1.js} +0 -0
- /package/dist/cjs/api/types/{ShipperPayCourierPayment1.js → CourierPayDriverStatementClientUpdate1.js} +0 -0
- /package/dist/cjs/api/types/{StripeConnectAccountEvent.js → CreateConnectionReq.js} +0 -0
- /package/dist/cjs/api/types/{TaskCreateBundle.js → CreateShipperPayCourierStatementReq.js} +0 -0
- /package/dist/cjs/api/types/{TaskGroupExpanded.js → ForwarderConnectionRes.js} +0 -0
- /package/dist/cjs/api/types/{UpdateTaskGroupRes.js → ForwarderOrgInfoForConnections1.js} +0 -0
- /package/dist/esm/api/resources/{milestones/resources/blurhash → connections/resources/connectionToForwarder}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{milestones/client/requests → connections/resources/connectionToForwarder/client}/index.mjs +0 -0
- /package/dist/esm/api/resources/{milestoneNotifications → connections/resources/connectionToForwarder}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{milestoneNotifications → connections/resources/connectionToForwarder}/index.mjs +0 -0
- /package/dist/esm/api/resources/{orders/resources/full → connections/resources/connectionToShipper}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{milestones/resources/blurhash → connections/resources/connectionToShipper}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{milestones/resources/blurhash → connections/resources/connectionToShipper}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{milestones/resources/blurhash → connections/resources/connectionToShipper}/index.mjs +0 -0
- /package/dist/esm/api/resources/{milestones/resources/images/client/requests/index.mjs → courierPayDriverStatements/client/index.d.mts} +0 -0
- /package/dist/esm/api/resources/{offChrtShipperOrgInfo/client/requests → courierPayDriverStatements/client}/index.mjs +0 -0
- /package/dist/esm/api/resources/{milestones/resources/images → courierPayDriverStatements}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{milestones/resources/images → courierPayDriverStatements}/index.mjs +0 -0
- /package/dist/esm/api/resources/{milestoneNotifications → offChrtShipperOrg}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{milestoneNotifications → offChrtShipperOrg}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{connections/resources/connectionToCourier/client/requests/CreateConnectionReq.mjs → offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/{courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.mjs → offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/{orders → offChrtShipperOrg}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{offChrtShipperOrgInfo → offChrtShipperOrg}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{offChrtShipperOrgInfo → offChrtShipperOrg}/index.mjs +0 -0
- /package/dist/esm/api/resources/{milestones → orders/resources/draft}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{milestones → orders/resources/draft}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientUpdate1.mjs → orders/resources/draft/client/requests/OrderDraftAddTaskArtifactReq.mjs} +0 -0
- /package/dist/esm/api/resources/{milestoneNotifications/client/requests/MilestoneNotificationPreferencesClientCreate1.mjs → orders/resources/draft/client/requests/OrderDraftAddTaskGroupReq.mjs} +0 -0
- /package/dist/esm/api/resources/{milestones/client/requests/MilestoneAddToTaskReq.mjs → orders/resources/draft/client/requests/OrderDraftAddTaskReqV1.mjs} +0 -0
- /package/dist/esm/api/resources/{milestones/client/requests/MilestoneUpdateReq.mjs → orders/resources/draft/client/requests/OrderDraftAssociateCargoWithTaskReq.mjs} +0 -0
- /package/dist/esm/api/resources/{milestones/resources/images/client/requests/BodyPostMilestonesUploadImageV1OortMilestonesImagesUploadV1MilestoneIdPost.mjs → orders/resources/draft/client/requests/OrderDraftCreateCargoReq.mjs} +0 -0
- /package/dist/esm/api/resources/{offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientCreate1.mjs → orders/resources/draft/client/requests/OrderDraftUpdateCargoReq.mjs} +0 -0
- /package/dist/esm/api/resources/{offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientUpdate1.mjs → orders/resources/draft/client/requests/OrderDraftUpdateTaskReq.mjs} +0 -0
- /package/dist/esm/api/resources/orders/{client/requests/CreateOrderReq.mjs → resources/draft/client/requests/OrdersDraftUpdateReq.mjs} +0 -0
- /package/dist/esm/api/resources/orders/{client/requests/OrdersExpandedReq.mjs → resources/draft/client/requests/OrdersNewDraftReq.mjs} +0 -0
- /package/dist/esm/api/resources/orders/resources/{full/client → draft/client/requests}/index.mjs +0 -0
- /package/dist/esm/api/resources/{milestones → orders/resources/draft}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{milestones → orders/resources/draft}/index.mjs +0 -0
- /package/dist/esm/api/resources/{milestones/resources/images → orders/resources/draft/resources/expanded}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{milestones/resources/images → orders/resources/draft/resources/expanded}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientCreate1.mjs → orders/resources/draft/resources/expanded/client/requests/OrderDraftExpandedListReq.mjs} +0 -0
- /package/dist/esm/api/resources/{orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientUpdate1.mjs → orders/resources/draft/resources/expanded/client/requests/OrderDraftExpandedReq.mjs} +0 -0
- /package/dist/esm/api/resources/orders/resources/{full → draft/resources/expanded}/index.d.mts +0 -0
- /package/dist/esm/api/resources/orders/resources/{full → draft/resources/expanded}/index.mjs +0 -0
- /package/dist/esm/api/resources/{offChrtShipperOrgInfo → orders/resources/expandedList}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{offChrtShipperOrgInfo → orders/resources/expandedList}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientCreate1.mjs → orders/resources/expandedList/client/requests/ExpandedListPostOrderCreatorExpandedListV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientUpdate1.mjs → orders/resources/expandedList/client/requests/ExpandedListPostShipperExpandedListV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/{orgProfiles/client/requests/CourierOrgProfileClientCreate3.mjs → orgConnectionInfos/resources/courier/client/requests/CourierOrgInfoForConnectionsClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/{orgProfiles/client/requests/CourierOrgProfileClientUpdate3.mjs → orgConnectionInfos/resources/courier/client/requests/CourierOrgInfoForConnectionsClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/{shipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.mjs → orgConnectionInfos/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.mjs} +0 -0
- /package/dist/esm/api/{types/CourierOrgConnectionInfo1.mjs → resources/orgConnectionInfos/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/{types/CourierOrgProfile3.mjs → resources/orgProfiles/client/requests/CourierOrgProfileClientCreate1.mjs} +0 -0
- /package/dist/esm/api/{types/CourierPayDriverPayout1.mjs → resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/{types/CreateOrderRes.mjs → resources/orgProfiles/client/requests/ForwarderOrgProfileClientCreate1.mjs} +0 -0
- /package/dist/esm/api/{types/Expense1.mjs → resources/orgProfiles/client/requests/ForwarderOrgProfileClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/{types/GetOrderFullRes.mjs → resources/shipperContactInfo/client/requests/ShipperContactClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/{types/GetOrderRes.mjs → resources/shipperPayCourierStatements/client/requests/ListStatementsByCourierReq.mjs} +0 -0
- /package/dist/esm/api/{types/Milestone1.mjs → resources/shipperPayCourierStatements/client/requests/ListStatementsByShipperReq.mjs} +0 -0
- /package/dist/esm/api/{types/MilestoneClientCreate1.mjs → resources/taskArtifactNotifications/client/requests/TaskArtifactNotificationPreferencesClientCreate1.mjs} +0 -0
- /package/dist/esm/api/{types/MilestoneNotificationPreferences1.mjs → resources/taskArtifacts/client/requests/TaskArtifactAddToTaskReq.mjs} +0 -0
- /package/dist/esm/api/{types/OffChrtShipperOrgInfo1.mjs → resources/taskArtifacts/client/requests/TaskArtifactUpdateCommentsReq.mjs} +0 -0
- /package/dist/esm/api/{types/OrderClientCreate1.mjs → resources/taskArtifacts/resources/images/client/requests/BodyPostTaskArtifactsUploadImageV1OortTaskArtifactsImagesUploadV1TaskArtifactIdPost.mjs} +0 -0
- /package/dist/esm/api/resources/{milestones → taskArtifacts}/resources/index.d.mts +0 -0
- /package/dist/esm/api/resources/{milestones → taskArtifacts}/resources/index.mjs +0 -0
- /package/dist/esm/api/types/{OrderExpanded.mjs → CargoClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/types/{OrdersExpandedRes.mjs → CourierConnectionRes.mjs} +0 -0
- /package/dist/esm/api/types/{OrgPublicData2.mjs → CourierOrgInfoForConnections1.mjs} +0 -0
- /package/dist/esm/api/types/{ShipperContactInfo1.mjs → CourierOrgProfile1.mjs} +0 -0
- /package/dist/esm/api/types/{ShipperContactInfoClientCreate1.mjs → CourierPayDriverStatement1.mjs} +0 -0
- /package/dist/esm/api/types/{ShipperOrgConnectionInfo1.mjs → CourierPayDriverStatementClientCreate1.mjs} +0 -0
- /package/dist/esm/api/types/{ShipperPayCourierPayment1.mjs → CourierPayDriverStatementClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/types/{StripeConnectAccountEvent.mjs → CreateConnectionReq.mjs} +0 -0
- /package/dist/esm/api/types/{TaskCreateBundle.mjs → CreateShipperPayCourierStatementReq.mjs} +0 -0
- /package/dist/esm/api/types/{TaskGroupExpanded.mjs → ForwarderConnectionRes.mjs} +0 -0
- /package/dist/esm/api/types/{UpdateTaskGroupRes.mjs → ForwarderOrgInfoForConnections1.mjs} +0 -0
package/README.md
CHANGED
|
@@ -5,6 +5,24 @@
|
|
|
5
5
|
|
|
6
6
|
The Chrt TypeScript library provides convenient access to the Chrt APIs from TypeScript.
|
|
7
7
|
|
|
8
|
+
## Table of Contents
|
|
9
|
+
|
|
10
|
+
- [Installation](#installation)
|
|
11
|
+
- [Reference](#reference)
|
|
12
|
+
- [Usage](#usage)
|
|
13
|
+
- [Request and Response Types](#request-and-response-types)
|
|
14
|
+
- [Exception Handling](#exception-handling)
|
|
15
|
+
- [Advanced](#advanced)
|
|
16
|
+
- [Additional Headers](#additional-headers)
|
|
17
|
+
- [Additional Query String Parameters](#additional-query-string-parameters)
|
|
18
|
+
- [Retries](#retries)
|
|
19
|
+
- [Timeouts](#timeouts)
|
|
20
|
+
- [Aborting Requests](#aborting-requests)
|
|
21
|
+
- [Access Raw Response Data](#access-raw-response-data)
|
|
22
|
+
- [Runtime Compatibility](#runtime-compatibility)
|
|
23
|
+
- [Contributing](#contributing)
|
|
24
|
+
- [Binary Response](#binary-response)
|
|
25
|
+
|
|
8
26
|
## Installation
|
|
9
27
|
|
|
10
28
|
```sh
|
|
@@ -23,14 +41,10 @@ Instantiate and use the client with the following:
|
|
|
23
41
|
import { ChrtClient } from "@chrt-inc/typescript-sdk";
|
|
24
42
|
|
|
25
43
|
const client = new ChrtClient({ token: "YOUR_TOKEN" });
|
|
26
|
-
await client.
|
|
27
|
-
message: "message",
|
|
28
|
-
number: 1,
|
|
29
|
-
timestamp: "2024-01-15T09:30:00Z",
|
|
30
|
-
});
|
|
44
|
+
await client.payments.createConnectAccountV1();
|
|
31
45
|
```
|
|
32
46
|
|
|
33
|
-
## Request
|
|
47
|
+
## Request and Response Types
|
|
34
48
|
|
|
35
49
|
The SDK exports all request and response types as TypeScript interfaces. Simply import them with the
|
|
36
50
|
following namespace:
|
|
@@ -38,7 +52,7 @@ following namespace:
|
|
|
38
52
|
```typescript
|
|
39
53
|
import { Chrt } from "@chrt-inc/typescript-sdk";
|
|
40
54
|
|
|
41
|
-
const request: Chrt.
|
|
55
|
+
const request: Chrt.GenerateInvoiceReq = {
|
|
42
56
|
...
|
|
43
57
|
};
|
|
44
58
|
```
|
|
@@ -52,7 +66,7 @@ will be thrown.
|
|
|
52
66
|
import { ChrtError } from "@chrt-inc/typescript-sdk";
|
|
53
67
|
|
|
54
68
|
try {
|
|
55
|
-
await client.
|
|
69
|
+
await client.payments.createConnectAccountV1(...);
|
|
56
70
|
} catch (err) {
|
|
57
71
|
if (err instanceof ChrtError) {
|
|
58
72
|
console.log(err.statusCode);
|
|
@@ -70,7 +84,7 @@ try {
|
|
|
70
84
|
If you would like to send additional headers as part of the request, use the `headers` request option.
|
|
71
85
|
|
|
72
86
|
```typescript
|
|
73
|
-
const response = await client.
|
|
87
|
+
const response = await client.payments.createConnectAccountV1(..., {
|
|
74
88
|
headers: {
|
|
75
89
|
'X-Custom-Header': 'custom value'
|
|
76
90
|
}
|
|
@@ -82,7 +96,7 @@ const response = await client.dev.createTemplateV1(..., {
|
|
|
82
96
|
If you would like to send additional query string parameters as part of the request, use the `queryParams` request option.
|
|
83
97
|
|
|
84
98
|
```typescript
|
|
85
|
-
const response = await client.
|
|
99
|
+
const response = await client.payments.createConnectAccountV1(..., {
|
|
86
100
|
queryParams: {
|
|
87
101
|
'customQueryParamKey': 'custom query param value'
|
|
88
102
|
}
|
|
@@ -104,7 +118,7 @@ A request is deemed retryable when any of the following HTTP status codes is ret
|
|
|
104
118
|
Use the `maxRetries` request option to configure this behavior.
|
|
105
119
|
|
|
106
120
|
```typescript
|
|
107
|
-
const response = await client.
|
|
121
|
+
const response = await client.payments.createConnectAccountV1(..., {
|
|
108
122
|
maxRetries: 0 // override maxRetries at the request level
|
|
109
123
|
});
|
|
110
124
|
```
|
|
@@ -114,7 +128,7 @@ const response = await client.dev.createTemplateV1(..., {
|
|
|
114
128
|
The SDK defaults to a 60 second timeout. Use the `timeoutInSeconds` option to configure this behavior.
|
|
115
129
|
|
|
116
130
|
```typescript
|
|
117
|
-
const response = await client.
|
|
131
|
+
const response = await client.payments.createConnectAccountV1(..., {
|
|
118
132
|
timeoutInSeconds: 30 // override timeout to 30s
|
|
119
133
|
});
|
|
120
134
|
```
|
|
@@ -125,7 +139,7 @@ The SDK allows users to abort requests at any point by passing in an abort signa
|
|
|
125
139
|
|
|
126
140
|
```typescript
|
|
127
141
|
const controller = new AbortController();
|
|
128
|
-
const response = await client.
|
|
142
|
+
const response = await client.payments.createConnectAccountV1(..., {
|
|
129
143
|
abortSignal: controller.signal
|
|
130
144
|
});
|
|
131
145
|
controller.abort(); // aborts the request
|
|
@@ -137,7 +151,7 @@ The SDK provides access to raw response data, including headers, through the `.w
|
|
|
137
151
|
The `.withRawResponse()` method returns a promise that results to an object with a `data` and a `rawResponse` property.
|
|
138
152
|
|
|
139
153
|
```typescript
|
|
140
|
-
const { data, rawResponse } = await client.
|
|
154
|
+
const { data, rawResponse } = await client.payments.createConnectAccountV1(...).withRawResponse();
|
|
141
155
|
|
|
142
156
|
console.log(data);
|
|
143
157
|
console.log(rawResponse.headers['X-My-Header']);
|
|
@@ -183,7 +197,7 @@ On the other hand, contributions to the README are always very welcome!
|
|
|
183
197
|
You can consume binary data from endpoints using the `BinaryResponse` type which lets you choose how to consume the data:
|
|
184
198
|
|
|
185
199
|
```typescript
|
|
186
|
-
const response = await client.
|
|
200
|
+
const response = await client.taskArtifacts.images.getByMetadataIdV1(...);
|
|
187
201
|
const stream: ReadableStream<Uint8Array> = response.stream();
|
|
188
202
|
// const arrayBuffer: ArrayBuffer = await response.arrayBuffer();
|
|
189
203
|
// const blob: Blob = response.blob();
|
|
@@ -209,7 +223,7 @@ import { createWriteStream } from 'fs';
|
|
|
209
223
|
import { Readable } from 'stream';
|
|
210
224
|
import { pipeline } from 'stream/promises';
|
|
211
225
|
|
|
212
|
-
const response = await client.
|
|
226
|
+
const response = await client.taskArtifacts.images.getByMetadataIdV1(...);
|
|
213
227
|
|
|
214
228
|
const stream = response.stream();
|
|
215
229
|
const nodeStream = Readable.fromWeb(stream);
|
|
@@ -228,7 +242,7 @@ await pipeline(nodeStream, writeStream);
|
|
|
228
242
|
```ts
|
|
229
243
|
import { writeFile } from 'fs/promises';
|
|
230
244
|
|
|
231
|
-
const response = await client.
|
|
245
|
+
const response = await client.taskArtifacts.images.getByMetadataIdV1(...);
|
|
232
246
|
|
|
233
247
|
const arrayBuffer = await response.arrayBuffer();
|
|
234
248
|
await writeFile('path/to/file', Buffer.from(arrayBuffer));
|
|
@@ -244,7 +258,7 @@ await writeFile('path/to/file', Buffer.from(arrayBuffer));
|
|
|
244
258
|
```ts
|
|
245
259
|
import { writeFile } from 'fs/promises';
|
|
246
260
|
|
|
247
|
-
const response = await client.
|
|
261
|
+
const response = await client.taskArtifacts.images.getByMetadataIdV1(...);
|
|
248
262
|
|
|
249
263
|
const blob = await response.blob();
|
|
250
264
|
const arrayBuffer = await blob.arrayBuffer();
|
|
@@ -261,7 +275,7 @@ await writeFile('output.bin', Buffer.from(arrayBuffer));
|
|
|
261
275
|
```ts
|
|
262
276
|
import { writeFile } from 'fs/promises';
|
|
263
277
|
|
|
264
|
-
const response = await client.
|
|
278
|
+
const response = await client.taskArtifacts.images.getByMetadataIdV1(...);
|
|
265
279
|
|
|
266
280
|
const bytes = await response.bytes();
|
|
267
281
|
await writeFile('path/to/file', bytes);
|
|
@@ -282,7 +296,7 @@ await writeFile('path/to/file', bytes);
|
|
|
282
296
|
<summary>ReadableStream (most-efficient)</summary>
|
|
283
297
|
|
|
284
298
|
```ts
|
|
285
|
-
const response = await client.
|
|
299
|
+
const response = await client.taskArtifacts.images.getByMetadataIdV1(...);
|
|
286
300
|
|
|
287
301
|
const stream = response.stream();
|
|
288
302
|
await Bun.write('path/to/file', stream);
|
|
@@ -296,7 +310,7 @@ await Bun.write('path/to/file', stream);
|
|
|
296
310
|
<summary>ArrayBuffer</summary>
|
|
297
311
|
|
|
298
312
|
```ts
|
|
299
|
-
const response = await client.
|
|
313
|
+
const response = await client.taskArtifacts.images.getByMetadataIdV1(...);
|
|
300
314
|
|
|
301
315
|
const arrayBuffer = await response.arrayBuffer();
|
|
302
316
|
await Bun.write('path/to/file', arrayBuffer);
|
|
@@ -310,7 +324,7 @@ await Bun.write('path/to/file', arrayBuffer);
|
|
|
310
324
|
<summary>Blob</summary>
|
|
311
325
|
|
|
312
326
|
```ts
|
|
313
|
-
const response = await client.
|
|
327
|
+
const response = await client.taskArtifacts.images.getByMetadataIdV1(...);
|
|
314
328
|
|
|
315
329
|
const blob = await response.blob();
|
|
316
330
|
await Bun.write('path/to/file', blob);
|
|
@@ -324,7 +338,7 @@ await Bun.write('path/to/file', blob);
|
|
|
324
338
|
<summary>Bytes (UIntArray8)</summary>
|
|
325
339
|
|
|
326
340
|
```ts
|
|
327
|
-
const response = await client.
|
|
341
|
+
const response = await client.taskArtifacts.images.getByMetadataIdV1(...);
|
|
328
342
|
|
|
329
343
|
const bytes = await response.bytes();
|
|
330
344
|
await Bun.write('path/to/file', bytes);
|
|
@@ -345,7 +359,7 @@ await Bun.write('path/to/file', bytes);
|
|
|
345
359
|
<summary>ReadableStream (most-efficient)</summary>
|
|
346
360
|
|
|
347
361
|
```ts
|
|
348
|
-
const response = await client.
|
|
362
|
+
const response = await client.taskArtifacts.images.getByMetadataIdV1(...);
|
|
349
363
|
|
|
350
364
|
const stream = response.stream();
|
|
351
365
|
const file = await Deno.open('path/to/file', { write: true, create: true });
|
|
@@ -360,7 +374,7 @@ await stream.pipeTo(file.writable);
|
|
|
360
374
|
<summary>ArrayBuffer</summary>
|
|
361
375
|
|
|
362
376
|
```ts
|
|
363
|
-
const response = await client.
|
|
377
|
+
const response = await client.taskArtifacts.images.getByMetadataIdV1(...);
|
|
364
378
|
|
|
365
379
|
const arrayBuffer = await response.arrayBuffer();
|
|
366
380
|
await Deno.writeFile('path/to/file', new Uint8Array(arrayBuffer));
|
|
@@ -374,7 +388,7 @@ await Deno.writeFile('path/to/file', new Uint8Array(arrayBuffer));
|
|
|
374
388
|
<summary>Blob</summary>
|
|
375
389
|
|
|
376
390
|
```ts
|
|
377
|
-
const response = await client.
|
|
391
|
+
const response = await client.taskArtifacts.images.getByMetadataIdV1(...);
|
|
378
392
|
|
|
379
393
|
const blob = await response.blob();
|
|
380
394
|
const arrayBuffer = await blob.arrayBuffer();
|
|
@@ -389,7 +403,7 @@ await Deno.writeFile('path/to/file', new Uint8Array(arrayBuffer));
|
|
|
389
403
|
<summary>Bytes (UIntArray8)</summary>
|
|
390
404
|
|
|
391
405
|
```ts
|
|
392
|
-
const response = await client.
|
|
406
|
+
const response = await client.taskArtifacts.images.getByMetadataIdV1(...);
|
|
393
407
|
|
|
394
408
|
const bytes = await response.bytes();
|
|
395
409
|
await Deno.writeFile('path/to/file', bytes);
|
|
@@ -410,7 +424,7 @@ await Deno.writeFile('path/to/file', bytes);
|
|
|
410
424
|
<summary>Blob (most-efficient)</summary>
|
|
411
425
|
|
|
412
426
|
```ts
|
|
413
|
-
const response = await client.
|
|
427
|
+
const response = await client.taskArtifacts.images.getByMetadataIdV1(...);
|
|
414
428
|
|
|
415
429
|
const blob = await response.blob();
|
|
416
430
|
const url = URL.createObjectURL(blob);
|
|
@@ -431,7 +445,7 @@ URL.revokeObjectURL(url);
|
|
|
431
445
|
<summary>ReadableStream</summary>
|
|
432
446
|
|
|
433
447
|
```ts
|
|
434
|
-
const response = await client.
|
|
448
|
+
const response = await client.taskArtifacts.images.getByMetadataIdV1(...);
|
|
435
449
|
|
|
436
450
|
const stream = response.stream();
|
|
437
451
|
const reader = stream.getReader();
|
|
@@ -462,7 +476,7 @@ URL.revokeObjectURL(url);
|
|
|
462
476
|
<summary>ArrayBuffer</summary>
|
|
463
477
|
|
|
464
478
|
```ts
|
|
465
|
-
const response = await client.
|
|
479
|
+
const response = await client.taskArtifacts.images.getByMetadataIdV1(...);
|
|
466
480
|
|
|
467
481
|
const arrayBuffer = await response.arrayBuffer();
|
|
468
482
|
const blob = new Blob([arrayBuffer]);
|
|
@@ -484,7 +498,7 @@ URL.revokeObjectURL(url);
|
|
|
484
498
|
<summary>Bytes (UIntArray8)</summary>
|
|
485
499
|
|
|
486
500
|
```ts
|
|
487
|
-
const response = await client.
|
|
501
|
+
const response = await client.taskArtifacts.images.getByMetadataIdV1(...);
|
|
488
502
|
|
|
489
503
|
const bytes = await response.bytes();
|
|
490
504
|
const blob = new Blob([bytes]);
|
|
@@ -515,7 +529,7 @@ URL.revokeObjectURL(url);
|
|
|
515
529
|
<summary>ReadableStream</summary>
|
|
516
530
|
|
|
517
531
|
```ts
|
|
518
|
-
const response = await client.
|
|
532
|
+
const response = await client.taskArtifacts.images.getByMetadataIdV1(...);
|
|
519
533
|
|
|
520
534
|
const stream = response.stream();
|
|
521
535
|
const text = await new Response(stream).text();
|
|
@@ -529,7 +543,7 @@ const text = await new Response(stream).text();
|
|
|
529
543
|
<summary>ArrayBuffer</summary>
|
|
530
544
|
|
|
531
545
|
```ts
|
|
532
|
-
const response = await client.
|
|
546
|
+
const response = await client.taskArtifacts.images.getByMetadataIdV1(...);
|
|
533
547
|
|
|
534
548
|
const arrayBuffer = await response.arrayBuffer();
|
|
535
549
|
const text = new TextDecoder().decode(arrayBuffer);
|
|
@@ -543,7 +557,7 @@ const text = new TextDecoder().decode(arrayBuffer);
|
|
|
543
557
|
<summary>Blob</summary>
|
|
544
558
|
|
|
545
559
|
```ts
|
|
546
|
-
const response = await client.
|
|
560
|
+
const response = await client.taskArtifacts.images.getByMetadataIdV1(...);
|
|
547
561
|
|
|
548
562
|
const blob = await response.blob();
|
|
549
563
|
const text = await blob.text();
|
|
@@ -557,7 +571,7 @@ const text = await blob.text();
|
|
|
557
571
|
<summary>Bytes (UIntArray8)</summary>
|
|
558
572
|
|
|
559
573
|
```ts
|
|
560
|
-
const response = await client.
|
|
574
|
+
const response = await client.taskArtifacts.images.getByMetadataIdV1(...);
|
|
561
575
|
|
|
562
576
|
const bytes = await response.bytes();
|
|
563
577
|
const text = new TextDecoder().decode(bytes);
|
package/dist/cjs/Client.d.ts
CHANGED
|
@@ -3,24 +3,26 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as environments from "./environments.js";
|
|
5
5
|
import * as core from "./core/index.js";
|
|
6
|
-
import {
|
|
7
|
-
import { Drivers } from "./api/resources/drivers/client/Client.js";
|
|
8
|
-
import { Milestones } from "./api/resources/milestones/client/Client.js";
|
|
9
|
-
import { OffChrtShipperOrgInfo } from "./api/resources/offChrtShipperOrgInfo/client/Client.js";
|
|
10
|
-
import { OrgProfiles } from "./api/resources/orgProfiles/client/Client.js";
|
|
11
|
-
import { Orders } from "./api/resources/orders/client/Client.js";
|
|
12
|
-
import { CourierPayDriverRateSheets } from "./api/resources/courierPayDriverRateSheets/client/Client.js";
|
|
13
|
-
import { ShipperPayCourierRateSheets } from "./api/resources/shipperPayCourierRateSheets/client/Client.js";
|
|
6
|
+
import { Payments } from "./api/resources/payments/client/Client.js";
|
|
14
7
|
import { CourierPayDriverLineItemGroups } from "./api/resources/courierPayDriverLineItemGroups/client/Client.js";
|
|
8
|
+
import { CourierPayDriverPayouts } from "./api/resources/courierPayDriverPayouts/client/Client.js";
|
|
9
|
+
import { CourierPayDriverRateSheets } from "./api/resources/courierPayDriverRateSheets/client/Client.js";
|
|
10
|
+
import { CourierPayDriverStatements } from "./api/resources/courierPayDriverStatements/client/Client.js";
|
|
15
11
|
import { ShipperPayCourierLineItemGroups } from "./api/resources/shipperPayCourierLineItemGroups/client/Client.js";
|
|
16
12
|
import { ShipperPayCourierPayments } from "./api/resources/shipperPayCourierPayments/client/Client.js";
|
|
17
|
-
import {
|
|
13
|
+
import { ShipperPayCourierRateSheets } from "./api/resources/shipperPayCourierRateSheets/client/Client.js";
|
|
14
|
+
import { ShipperPayCourierStatements } from "./api/resources/shipperPayCourierStatements/client/Client.js";
|
|
18
15
|
import { Connections } from "./api/resources/connections/client/Client.js";
|
|
16
|
+
import { OrgProfiles } from "./api/resources/orgProfiles/client/Client.js";
|
|
17
|
+
import { Dev } from "./api/resources/dev/client/Client.js";
|
|
18
|
+
import { TaskArtifactNotifications } from "./api/resources/taskArtifactNotifications/client/Client.js";
|
|
19
|
+
import { Drivers } from "./api/resources/drivers/client/Client.js";
|
|
20
|
+
import { TaskArtifacts } from "./api/resources/taskArtifacts/client/Client.js";
|
|
21
|
+
import { OffChrtShipperOrg } from "./api/resources/offChrtShipperOrg/client/Client.js";
|
|
22
|
+
import { Orders } from "./api/resources/orders/client/Client.js";
|
|
19
23
|
import { TaskGroups } from "./api/resources/taskGroups/client/Client.js";
|
|
20
24
|
import { ShipperContactInfo } from "./api/resources/shipperContactInfo/client/Client.js";
|
|
21
|
-
import { MilestoneNotifications } from "./api/resources/milestoneNotifications/client/Client.js";
|
|
22
25
|
import { Orgs } from "./api/resources/orgs/client/Client.js";
|
|
23
|
-
import { Payments } from "./api/resources/payments/client/Client.js";
|
|
24
26
|
import { Root } from "./api/resources/root/client/Client.js";
|
|
25
27
|
import { Users } from "./api/resources/users/client/Client.js";
|
|
26
28
|
import { Utils } from "./api/resources/utils/client/Client.js";
|
|
@@ -52,24 +54,26 @@ export declare namespace ChrtClient {
|
|
|
52
54
|
}
|
|
53
55
|
export declare class ChrtClient {
|
|
54
56
|
protected readonly _options: ChrtClient.Options;
|
|
55
|
-
protected
|
|
56
|
-
protected _drivers: Drivers | undefined;
|
|
57
|
-
protected _milestones: Milestones | undefined;
|
|
58
|
-
protected _offChrtShipperOrgInfo: OffChrtShipperOrgInfo | undefined;
|
|
59
|
-
protected _orgProfiles: OrgProfiles | undefined;
|
|
60
|
-
protected _orders: Orders | undefined;
|
|
61
|
-
protected _courierPayDriverRateSheets: CourierPayDriverRateSheets | undefined;
|
|
62
|
-
protected _shipperPayCourierRateSheets: ShipperPayCourierRateSheets | undefined;
|
|
57
|
+
protected _payments: Payments | undefined;
|
|
63
58
|
protected _courierPayDriverLineItemGroups: CourierPayDriverLineItemGroups | undefined;
|
|
59
|
+
protected _courierPayDriverPayouts: CourierPayDriverPayouts | undefined;
|
|
60
|
+
protected _courierPayDriverRateSheets: CourierPayDriverRateSheets | undefined;
|
|
61
|
+
protected _courierPayDriverStatements: CourierPayDriverStatements | undefined;
|
|
64
62
|
protected _shipperPayCourierLineItemGroups: ShipperPayCourierLineItemGroups | undefined;
|
|
65
63
|
protected _shipperPayCourierPayments: ShipperPayCourierPayments | undefined;
|
|
66
|
-
protected
|
|
64
|
+
protected _shipperPayCourierRateSheets: ShipperPayCourierRateSheets | undefined;
|
|
65
|
+
protected _shipperPayCourierStatements: ShipperPayCourierStatements | undefined;
|
|
67
66
|
protected _connections: Connections | undefined;
|
|
67
|
+
protected _orgProfiles: OrgProfiles | undefined;
|
|
68
|
+
protected _dev: Dev | undefined;
|
|
69
|
+
protected _taskArtifactNotifications: TaskArtifactNotifications | undefined;
|
|
70
|
+
protected _drivers: Drivers | undefined;
|
|
71
|
+
protected _taskArtifacts: TaskArtifacts | undefined;
|
|
72
|
+
protected _offChrtShipperOrg: OffChrtShipperOrg | undefined;
|
|
73
|
+
protected _orders: Orders | undefined;
|
|
68
74
|
protected _taskGroups: TaskGroups | undefined;
|
|
69
75
|
protected _shipperContactInfo: ShipperContactInfo | undefined;
|
|
70
|
-
protected _milestoneNotifications: MilestoneNotifications | undefined;
|
|
71
76
|
protected _orgs: Orgs | undefined;
|
|
72
|
-
protected _payments: Payments | undefined;
|
|
73
77
|
protected _root: Root | undefined;
|
|
74
78
|
protected _users: Users | undefined;
|
|
75
79
|
protected _utils: Utils | undefined;
|
|
@@ -77,24 +81,26 @@ export declare class ChrtClient {
|
|
|
77
81
|
protected _orgConnectionInfos: OrgConnectionInfos | undefined;
|
|
78
82
|
protected _tracking: Tracking | undefined;
|
|
79
83
|
constructor(_options?: ChrtClient.Options);
|
|
80
|
-
get
|
|
81
|
-
get drivers(): Drivers;
|
|
82
|
-
get milestones(): Milestones;
|
|
83
|
-
get offChrtShipperOrgInfo(): OffChrtShipperOrgInfo;
|
|
84
|
-
get orgProfiles(): OrgProfiles;
|
|
85
|
-
get orders(): Orders;
|
|
86
|
-
get courierPayDriverRateSheets(): CourierPayDriverRateSheets;
|
|
87
|
-
get shipperPayCourierRateSheets(): ShipperPayCourierRateSheets;
|
|
84
|
+
get payments(): Payments;
|
|
88
85
|
get courierPayDriverLineItemGroups(): CourierPayDriverLineItemGroups;
|
|
86
|
+
get courierPayDriverPayouts(): CourierPayDriverPayouts;
|
|
87
|
+
get courierPayDriverRateSheets(): CourierPayDriverRateSheets;
|
|
88
|
+
get courierPayDriverStatements(): CourierPayDriverStatements;
|
|
89
89
|
get shipperPayCourierLineItemGroups(): ShipperPayCourierLineItemGroups;
|
|
90
90
|
get shipperPayCourierPayments(): ShipperPayCourierPayments;
|
|
91
|
-
get
|
|
91
|
+
get shipperPayCourierRateSheets(): ShipperPayCourierRateSheets;
|
|
92
|
+
get shipperPayCourierStatements(): ShipperPayCourierStatements;
|
|
92
93
|
get connections(): Connections;
|
|
94
|
+
get orgProfiles(): OrgProfiles;
|
|
95
|
+
get dev(): Dev;
|
|
96
|
+
get taskArtifactNotifications(): TaskArtifactNotifications;
|
|
97
|
+
get drivers(): Drivers;
|
|
98
|
+
get taskArtifacts(): TaskArtifacts;
|
|
99
|
+
get offChrtShipperOrg(): OffChrtShipperOrg;
|
|
100
|
+
get orders(): Orders;
|
|
93
101
|
get taskGroups(): TaskGroups;
|
|
94
102
|
get shipperContactInfo(): ShipperContactInfo;
|
|
95
|
-
get milestoneNotifications(): MilestoneNotifications;
|
|
96
103
|
get orgs(): Orgs;
|
|
97
|
-
get payments(): Payments;
|
|
98
104
|
get root(): Root;
|
|
99
105
|
get users(): Users;
|
|
100
106
|
get utils(): Utils;
|
package/dist/cjs/Client.js
CHANGED
|
@@ -39,136 +39,146 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.ChrtClient = void 0;
|
|
40
40
|
const core = __importStar(require("./core/index.js"));
|
|
41
41
|
const headers_js_1 = require("./core/headers.js");
|
|
42
|
-
const Client_js_1 = require("./api/resources/
|
|
43
|
-
const Client_js_2 = require("./api/resources/
|
|
44
|
-
const Client_js_3 = require("./api/resources/
|
|
45
|
-
const Client_js_4 = require("./api/resources/
|
|
46
|
-
const Client_js_5 = require("./api/resources/
|
|
47
|
-
const Client_js_6 = require("./api/resources/
|
|
48
|
-
const Client_js_7 = require("./api/resources/
|
|
42
|
+
const Client_js_1 = require("./api/resources/payments/client/Client.js");
|
|
43
|
+
const Client_js_2 = require("./api/resources/courierPayDriverLineItemGroups/client/Client.js");
|
|
44
|
+
const Client_js_3 = require("./api/resources/courierPayDriverPayouts/client/Client.js");
|
|
45
|
+
const Client_js_4 = require("./api/resources/courierPayDriverRateSheets/client/Client.js");
|
|
46
|
+
const Client_js_5 = require("./api/resources/courierPayDriverStatements/client/Client.js");
|
|
47
|
+
const Client_js_6 = require("./api/resources/shipperPayCourierLineItemGroups/client/Client.js");
|
|
48
|
+
const Client_js_7 = require("./api/resources/shipperPayCourierPayments/client/Client.js");
|
|
49
49
|
const Client_js_8 = require("./api/resources/shipperPayCourierRateSheets/client/Client.js");
|
|
50
|
-
const Client_js_9 = require("./api/resources/
|
|
51
|
-
const Client_js_10 = require("./api/resources/
|
|
52
|
-
const Client_js_11 = require("./api/resources/
|
|
53
|
-
const Client_js_12 = require("./api/resources/
|
|
54
|
-
const Client_js_13 = require("./api/resources/
|
|
55
|
-
const Client_js_14 = require("./api/resources/
|
|
56
|
-
const Client_js_15 = require("./api/resources/
|
|
57
|
-
const Client_js_16 = require("./api/resources/
|
|
58
|
-
const Client_js_17 = require("./api/resources/
|
|
59
|
-
const Client_js_18 = require("./api/resources/
|
|
60
|
-
const Client_js_19 = require("./api/resources/
|
|
61
|
-
const Client_js_20 = require("./api/resources/
|
|
62
|
-
const Client_js_21 = require("./api/resources/
|
|
63
|
-
const Client_js_22 = require("./api/resources/
|
|
64
|
-
const Client_js_23 = require("./api/resources/
|
|
65
|
-
const Client_js_24 = require("./api/resources/
|
|
50
|
+
const Client_js_9 = require("./api/resources/shipperPayCourierStatements/client/Client.js");
|
|
51
|
+
const Client_js_10 = require("./api/resources/connections/client/Client.js");
|
|
52
|
+
const Client_js_11 = require("./api/resources/orgProfiles/client/Client.js");
|
|
53
|
+
const Client_js_12 = require("./api/resources/dev/client/Client.js");
|
|
54
|
+
const Client_js_13 = require("./api/resources/taskArtifactNotifications/client/Client.js");
|
|
55
|
+
const Client_js_14 = require("./api/resources/drivers/client/Client.js");
|
|
56
|
+
const Client_js_15 = require("./api/resources/taskArtifacts/client/Client.js");
|
|
57
|
+
const Client_js_16 = require("./api/resources/offChrtShipperOrg/client/Client.js");
|
|
58
|
+
const Client_js_17 = require("./api/resources/orders/client/Client.js");
|
|
59
|
+
const Client_js_18 = require("./api/resources/taskGroups/client/Client.js");
|
|
60
|
+
const Client_js_19 = require("./api/resources/shipperContactInfo/client/Client.js");
|
|
61
|
+
const Client_js_20 = require("./api/resources/orgs/client/Client.js");
|
|
62
|
+
const Client_js_21 = require("./api/resources/root/client/Client.js");
|
|
63
|
+
const Client_js_22 = require("./api/resources/users/client/Client.js");
|
|
64
|
+
const Client_js_23 = require("./api/resources/utils/client/Client.js");
|
|
65
|
+
const Client_js_24 = require("./api/resources/notifications/client/Client.js");
|
|
66
|
+
const Client_js_25 = require("./api/resources/orgConnectionInfos/client/Client.js");
|
|
67
|
+
const Client_js_26 = require("./api/resources/tracking/client/Client.js");
|
|
66
68
|
class ChrtClient {
|
|
67
69
|
constructor(_options = {}) {
|
|
68
70
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
|
|
69
71
|
"X-Fern-Language": "JavaScript",
|
|
70
72
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
71
|
-
"X-Fern-SDK-Version": "1.
|
|
72
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
73
|
+
"X-Fern-SDK-Version": "1.302.0",
|
|
74
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.302.0",
|
|
73
75
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
74
76
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
75
77
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
76
78
|
}
|
|
77
|
-
get
|
|
79
|
+
get payments() {
|
|
78
80
|
var _a;
|
|
79
|
-
return ((_a = this.
|
|
81
|
+
return ((_a = this._payments) !== null && _a !== void 0 ? _a : (this._payments = new Client_js_1.Payments(this._options)));
|
|
80
82
|
}
|
|
81
|
-
get
|
|
83
|
+
get courierPayDriverLineItemGroups() {
|
|
82
84
|
var _a;
|
|
83
|
-
return ((_a = this.
|
|
85
|
+
return ((_a = this._courierPayDriverLineItemGroups) !== null && _a !== void 0 ? _a : (this._courierPayDriverLineItemGroups = new Client_js_2.CourierPayDriverLineItemGroups(this._options)));
|
|
84
86
|
}
|
|
85
|
-
get
|
|
87
|
+
get courierPayDriverPayouts() {
|
|
86
88
|
var _a;
|
|
87
|
-
return ((_a = this.
|
|
89
|
+
return ((_a = this._courierPayDriverPayouts) !== null && _a !== void 0 ? _a : (this._courierPayDriverPayouts = new Client_js_3.CourierPayDriverPayouts(this._options)));
|
|
88
90
|
}
|
|
89
|
-
get
|
|
91
|
+
get courierPayDriverRateSheets() {
|
|
90
92
|
var _a;
|
|
91
|
-
return ((_a = this.
|
|
93
|
+
return ((_a = this._courierPayDriverRateSheets) !== null && _a !== void 0 ? _a : (this._courierPayDriverRateSheets = new Client_js_4.CourierPayDriverRateSheets(this._options)));
|
|
92
94
|
}
|
|
93
|
-
get
|
|
95
|
+
get courierPayDriverStatements() {
|
|
94
96
|
var _a;
|
|
95
|
-
return ((_a = this.
|
|
97
|
+
return ((_a = this._courierPayDriverStatements) !== null && _a !== void 0 ? _a : (this._courierPayDriverStatements = new Client_js_5.CourierPayDriverStatements(this._options)));
|
|
96
98
|
}
|
|
97
|
-
get
|
|
99
|
+
get shipperPayCourierLineItemGroups() {
|
|
98
100
|
var _a;
|
|
99
|
-
return ((_a = this.
|
|
101
|
+
return ((_a = this._shipperPayCourierLineItemGroups) !== null && _a !== void 0 ? _a : (this._shipperPayCourierLineItemGroups = new Client_js_6.ShipperPayCourierLineItemGroups(this._options)));
|
|
100
102
|
}
|
|
101
|
-
get
|
|
103
|
+
get shipperPayCourierPayments() {
|
|
102
104
|
var _a;
|
|
103
|
-
return ((_a = this.
|
|
105
|
+
return ((_a = this._shipperPayCourierPayments) !== null && _a !== void 0 ? _a : (this._shipperPayCourierPayments = new Client_js_7.ShipperPayCourierPayments(this._options)));
|
|
104
106
|
}
|
|
105
107
|
get shipperPayCourierRateSheets() {
|
|
106
108
|
var _a;
|
|
107
109
|
return ((_a = this._shipperPayCourierRateSheets) !== null && _a !== void 0 ? _a : (this._shipperPayCourierRateSheets = new Client_js_8.ShipperPayCourierRateSheets(this._options)));
|
|
108
110
|
}
|
|
109
|
-
get
|
|
111
|
+
get shipperPayCourierStatements() {
|
|
110
112
|
var _a;
|
|
111
|
-
return ((_a = this.
|
|
113
|
+
return ((_a = this._shipperPayCourierStatements) !== null && _a !== void 0 ? _a : (this._shipperPayCourierStatements = new Client_js_9.ShipperPayCourierStatements(this._options)));
|
|
112
114
|
}
|
|
113
|
-
get
|
|
115
|
+
get connections() {
|
|
114
116
|
var _a;
|
|
115
|
-
return ((_a = this.
|
|
117
|
+
return ((_a = this._connections) !== null && _a !== void 0 ? _a : (this._connections = new Client_js_10.Connections(this._options)));
|
|
116
118
|
}
|
|
117
|
-
get
|
|
119
|
+
get orgProfiles() {
|
|
118
120
|
var _a;
|
|
119
|
-
return ((_a = this.
|
|
121
|
+
return ((_a = this._orgProfiles) !== null && _a !== void 0 ? _a : (this._orgProfiles = new Client_js_11.OrgProfiles(this._options)));
|
|
120
122
|
}
|
|
121
|
-
get
|
|
123
|
+
get dev() {
|
|
122
124
|
var _a;
|
|
123
|
-
return ((_a = this.
|
|
125
|
+
return ((_a = this._dev) !== null && _a !== void 0 ? _a : (this._dev = new Client_js_12.Dev(this._options)));
|
|
124
126
|
}
|
|
125
|
-
get
|
|
127
|
+
get taskArtifactNotifications() {
|
|
126
128
|
var _a;
|
|
127
|
-
return ((_a = this.
|
|
129
|
+
return ((_a = this._taskArtifactNotifications) !== null && _a !== void 0 ? _a : (this._taskArtifactNotifications = new Client_js_13.TaskArtifactNotifications(this._options)));
|
|
128
130
|
}
|
|
129
|
-
get
|
|
131
|
+
get drivers() {
|
|
130
132
|
var _a;
|
|
131
|
-
return ((_a = this.
|
|
133
|
+
return ((_a = this._drivers) !== null && _a !== void 0 ? _a : (this._drivers = new Client_js_14.Drivers(this._options)));
|
|
132
134
|
}
|
|
133
|
-
get
|
|
135
|
+
get taskArtifacts() {
|
|
134
136
|
var _a;
|
|
135
|
-
return ((_a = this.
|
|
137
|
+
return ((_a = this._taskArtifacts) !== null && _a !== void 0 ? _a : (this._taskArtifacts = new Client_js_15.TaskArtifacts(this._options)));
|
|
136
138
|
}
|
|
137
|
-
get
|
|
139
|
+
get offChrtShipperOrg() {
|
|
138
140
|
var _a;
|
|
139
|
-
return ((_a = this.
|
|
141
|
+
return ((_a = this._offChrtShipperOrg) !== null && _a !== void 0 ? _a : (this._offChrtShipperOrg = new Client_js_16.OffChrtShipperOrg(this._options)));
|
|
140
142
|
}
|
|
141
|
-
get
|
|
143
|
+
get orders() {
|
|
142
144
|
var _a;
|
|
143
|
-
return ((_a = this.
|
|
145
|
+
return ((_a = this._orders) !== null && _a !== void 0 ? _a : (this._orders = new Client_js_17.Orders(this._options)));
|
|
144
146
|
}
|
|
145
|
-
get
|
|
147
|
+
get taskGroups() {
|
|
148
|
+
var _a;
|
|
149
|
+
return ((_a = this._taskGroups) !== null && _a !== void 0 ? _a : (this._taskGroups = new Client_js_18.TaskGroups(this._options)));
|
|
150
|
+
}
|
|
151
|
+
get shipperContactInfo() {
|
|
152
|
+
var _a;
|
|
153
|
+
return ((_a = this._shipperContactInfo) !== null && _a !== void 0 ? _a : (this._shipperContactInfo = new Client_js_19.ShipperContactInfo(this._options)));
|
|
154
|
+
}
|
|
155
|
+
get orgs() {
|
|
146
156
|
var _a;
|
|
147
|
-
return ((_a = this.
|
|
157
|
+
return ((_a = this._orgs) !== null && _a !== void 0 ? _a : (this._orgs = new Client_js_20.Orgs(this._options)));
|
|
148
158
|
}
|
|
149
159
|
get root() {
|
|
150
160
|
var _a;
|
|
151
|
-
return ((_a = this._root) !== null && _a !== void 0 ? _a : (this._root = new
|
|
161
|
+
return ((_a = this._root) !== null && _a !== void 0 ? _a : (this._root = new Client_js_21.Root(this._options)));
|
|
152
162
|
}
|
|
153
163
|
get users() {
|
|
154
164
|
var _a;
|
|
155
|
-
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new
|
|
165
|
+
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_js_22.Users(this._options)));
|
|
156
166
|
}
|
|
157
167
|
get utils() {
|
|
158
168
|
var _a;
|
|
159
|
-
return ((_a = this._utils) !== null && _a !== void 0 ? _a : (this._utils = new
|
|
169
|
+
return ((_a = this._utils) !== null && _a !== void 0 ? _a : (this._utils = new Client_js_23.Utils(this._options)));
|
|
160
170
|
}
|
|
161
171
|
get notifications() {
|
|
162
172
|
var _a;
|
|
163
|
-
return ((_a = this._notifications) !== null && _a !== void 0 ? _a : (this._notifications = new
|
|
173
|
+
return ((_a = this._notifications) !== null && _a !== void 0 ? _a : (this._notifications = new Client_js_24.Notifications(this._options)));
|
|
164
174
|
}
|
|
165
175
|
get orgConnectionInfos() {
|
|
166
176
|
var _a;
|
|
167
|
-
return ((_a = this._orgConnectionInfos) !== null && _a !== void 0 ? _a : (this._orgConnectionInfos = new
|
|
177
|
+
return ((_a = this._orgConnectionInfos) !== null && _a !== void 0 ? _a : (this._orgConnectionInfos = new Client_js_25.OrgConnectionInfos(this._options)));
|
|
168
178
|
}
|
|
169
179
|
get tracking() {
|
|
170
180
|
var _a;
|
|
171
|
-
return ((_a = this._tracking) !== null && _a !== void 0 ? _a : (this._tracking = new
|
|
181
|
+
return ((_a = this._tracking) !== null && _a !== void 0 ? _a : (this._tracking = new Client_js_26.Tracking(this._options)));
|
|
172
182
|
}
|
|
173
183
|
}
|
|
174
184
|
exports.ChrtClient = ChrtClient;
|