@chrt-inc/typescript-sdk 1.299.0 → 1.303.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 +69 -34
- package/dist/cjs/Client.d.ts +42 -33
- package/dist/cjs/Client.js +80 -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 +24 -21
- package/dist/cjs/api/resources/index.js +25 -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/orderDrafts/client/Client.d.ts +100 -0
- package/dist/cjs/api/resources/orderDrafts/client/Client.js +332 -0
- package/dist/cjs/api/resources/orderDrafts/client/requests/OrdersDraftUpdateReq.d.ts +17 -0
- package/dist/cjs/api/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.ts +14 -0
- package/dist/cjs/api/resources/orderDrafts/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/orderDrafts/resources/cargo/client/Client.d.ts +99 -0
- package/dist/cjs/api/resources/orderDrafts/resources/cargo/client/Client.js +326 -0
- package/dist/cjs/api/resources/orderDrafts/resources/cargo/client/requests/OrderDraftAddCargoReq.d.ts +18 -0
- package/dist/cjs/api/resources/orderDrafts/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.d.ts +16 -0
- package/dist/cjs/api/resources/orderDrafts/resources/cargo/client/requests/OrderDraftUpdateCargoReq.d.ts +15 -0
- package/dist/cjs/api/resources/orderDrafts/resources/cargo/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/orderDrafts/resources/index.d.ts +8 -0
- package/dist/cjs/api/resources/orderDrafts/resources/index.js +47 -0
- package/dist/cjs/api/resources/orderDrafts/resources/task/client/Client.d.ts +81 -0
- package/dist/cjs/api/resources/{orders/resources/full → orderDrafts/resources/task}/client/Client.js +71 -41
- package/dist/cjs/api/resources/orderDrafts/resources/task/client/requests/OrderDraftAddTaskReqV1.d.ts +18 -0
- package/dist/cjs/api/resources/orderDrafts/resources/task/client/requests/OrderDraftUpdateTaskReq.d.ts +15 -0
- package/dist/cjs/api/resources/orderDrafts/resources/task/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/orderDrafts/resources/task/index.d.ts +1 -0
- package/dist/cjs/api/resources/orderDrafts/resources/task/index.js +17 -0
- package/dist/cjs/api/resources/orderDrafts/resources/taskArtifact/client/Client.d.ts +63 -0
- package/dist/cjs/api/resources/orderDrafts/resources/taskArtifact/client/Client.js +192 -0
- package/dist/cjs/api/resources/orderDrafts/resources/taskArtifact/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/orderDrafts/resources/taskArtifact/client/index.js +17 -0
- package/dist/cjs/api/resources/orderDrafts/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.d.ts +15 -0
- package/dist/cjs/api/resources/orderDrafts/resources/taskArtifact/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/orderDrafts/resources/taskArtifact/index.d.ts +1 -0
- package/dist/cjs/api/resources/orderDrafts/resources/taskArtifact/index.js +17 -0
- package/dist/cjs/api/resources/orderDrafts/resources/taskGroup/client/Client.d.ts +63 -0
- package/dist/cjs/api/resources/orderDrafts/resources/taskGroup/client/Client.js +192 -0
- package/dist/cjs/api/resources/orderDrafts/resources/taskGroup/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/orderDrafts/resources/taskGroup/client/index.js +17 -0
- package/dist/cjs/api/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.ts +17 -0
- package/dist/cjs/api/resources/orderDrafts/resources/taskGroup/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/orderDrafts/resources/taskGroup/index.d.ts +1 -0
- package/dist/cjs/api/resources/orderDrafts/resources/taskGroup/index.js +17 -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 +23 -0
- package/dist/cjs/api/resources/orders/resources/draft/client/Client.js +17 -0
- package/dist/cjs/api/resources/orders/resources/draft/client/index.js +2 -0
- package/dist/cjs/api/resources/orders/resources/draft/index.d.ts +2 -0
- package/dist/cjs/api/resources/orders/resources/draft/index.js +18 -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/index.d.ts +2 -0
- package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/client/index.js +17 -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/expanded/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/index.d.ts +1 -0
- package/dist/cjs/api/resources/orders/resources/draft/resources/expanded/index.js +17 -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/client/index.js +2 -0
- 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/index.d.ts +2 -0
- package/dist/cjs/api/resources/orders/resources/expandedList/client/index.js +17 -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/client/requests/index.js +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 +4 -1
- package/dist/cjs/api/resources/orders/resources/index.js +8 -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 +15 -15
- package/dist/cjs/api/resources/payments/client/Client.js +62 -62
- 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/client/requests/index.js +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/taskArtifacts/client/Client.js +268 -0
- 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 +42 -33
- package/dist/esm/Client.mjs +60 -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 +24 -21
- package/dist/esm/api/resources/index.mjs +24 -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/orderDrafts/client/Client.d.mts +100 -0
- package/dist/esm/api/resources/orderDrafts/client/Client.mjs +295 -0
- package/dist/esm/api/resources/orderDrafts/client/requests/OrdersDraftUpdateReq.d.mts +17 -0
- package/dist/esm/api/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.mts +14 -0
- package/dist/esm/api/resources/orderDrafts/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/orderDrafts/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/orderDrafts/resources/cargo/client/Client.d.mts +99 -0
- package/dist/esm/api/resources/orderDrafts/resources/cargo/client/Client.mjs +289 -0
- package/dist/esm/api/resources/orderDrafts/resources/cargo/client/requests/OrderDraftAddCargoReq.d.mts +18 -0
- package/dist/esm/api/resources/orderDrafts/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.d.mts +16 -0
- package/dist/esm/api/resources/orderDrafts/resources/cargo/client/requests/OrderDraftUpdateCargoReq.d.mts +15 -0
- package/dist/esm/api/resources/orderDrafts/resources/cargo/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/orderDrafts/resources/cargo/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/orderDrafts/resources/index.d.mts +8 -0
- package/dist/esm/api/resources/orderDrafts/resources/index.mjs +8 -0
- package/dist/esm/api/resources/orderDrafts/resources/task/client/Client.d.mts +81 -0
- package/dist/esm/api/resources/{orders/resources/full → orderDrafts/resources/task}/client/Client.mjs +69 -39
- package/dist/esm/api/resources/orderDrafts/resources/task/client/requests/OrderDraftAddTaskReqV1.d.mts +18 -0
- package/dist/esm/api/resources/orderDrafts/resources/task/client/requests/OrderDraftUpdateTaskReq.d.mts +15 -0
- package/dist/esm/api/resources/orderDrafts/resources/task/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/orderDrafts/resources/task/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/orderDrafts/resources/task/index.d.mts +1 -0
- package/dist/esm/api/resources/orderDrafts/resources/task/index.mjs +1 -0
- package/dist/esm/api/resources/orderDrafts/resources/taskArtifact/client/Client.d.mts +63 -0
- package/dist/esm/api/resources/orderDrafts/resources/taskArtifact/client/Client.mjs +155 -0
- package/dist/esm/api/resources/orderDrafts/resources/taskArtifact/client/index.d.mts +2 -0
- package/dist/esm/api/resources/orderDrafts/resources/taskArtifact/client/index.mjs +1 -0
- package/dist/esm/api/resources/orderDrafts/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.d.mts +15 -0
- package/dist/esm/api/resources/orderDrafts/resources/taskArtifact/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/orderDrafts/resources/taskArtifact/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/orderDrafts/resources/taskArtifact/index.d.mts +1 -0
- package/dist/esm/api/resources/orderDrafts/resources/taskArtifact/index.mjs +1 -0
- package/dist/esm/api/resources/orderDrafts/resources/taskGroup/client/Client.d.mts +63 -0
- package/dist/esm/api/resources/orderDrafts/resources/taskGroup/client/Client.mjs +155 -0
- package/dist/esm/api/resources/orderDrafts/resources/taskGroup/client/index.d.mts +2 -0
- package/dist/esm/api/resources/orderDrafts/resources/taskGroup/client/index.mjs +1 -0
- package/dist/esm/api/resources/orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.d.mts +17 -0
- package/dist/esm/api/resources/orderDrafts/resources/taskGroup/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/orderDrafts/resources/taskGroup/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/orderDrafts/resources/taskGroup/index.d.mts +1 -0
- package/dist/esm/api/resources/orderDrafts/resources/taskGroup/index.mjs +1 -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 +23 -0
- package/dist/esm/api/resources/orders/resources/draft/client/Client.mjs +13 -0
- package/dist/esm/api/resources/orders/resources/draft/client/index.d.mts +1 -0
- package/dist/esm/api/resources/orders/resources/draft/client/index.mjs +1 -0
- package/dist/esm/api/resources/orders/resources/draft/index.d.mts +2 -0
- package/dist/esm/api/resources/orders/resources/draft/index.mjs +2 -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/index.d.mts +2 -0
- package/dist/esm/api/resources/orders/resources/draft/resources/expanded/client/index.mjs +1 -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/expanded/index.d.mts +1 -0
- package/dist/esm/api/resources/orders/resources/draft/resources/expanded/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/index.d.mts +2 -0
- package/dist/esm/api/resources/orders/resources/expandedList/client/index.mjs +1 -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 +4 -1
- package/dist/esm/api/resources/orders/resources/index.mjs +4 -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 +15 -15
- package/dist/esm/api/resources/payments/client/Client.mjs +62 -62
- 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/taskArtifacts/client/Client.mjs +231 -0
- 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 +3009 -1053
- 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 → orderDrafts}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{milestones → orderDrafts}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientUpdate1.js → orderDrafts/client/requests/OrdersDraftUpdateReq.js} +0 -0
- /package/dist/cjs/api/resources/{milestoneNotifications/client/requests/MilestoneNotificationPreferencesClientCreate1.js → orderDrafts/client/requests/OrdersNewDraftReq.js} +0 -0
- /package/dist/cjs/api/resources/{milestones/resources/blurhash/client → orderDrafts/client/requests}/index.js +0 -0
- /package/dist/cjs/api/resources/{milestones → orderDrafts}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{milestones → orderDrafts}/index.js +0 -0
- /package/dist/cjs/api/resources/{milestones/resources/images → orderDrafts/resources/cargo}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{milestones/resources/images → orderDrafts/resources/cargo}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{milestones/client/requests/MilestoneAddToTaskReq.js → orderDrafts/resources/cargo/client/requests/OrderDraftAddCargoReq.js} +0 -0
- /package/dist/cjs/api/resources/{milestones/client/requests/MilestoneUpdateReq.js → orderDrafts/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.js} +0 -0
- /package/dist/cjs/api/resources/{milestones/resources/images/client/requests/BodyPostMilestonesUploadImageV1OortMilestonesImagesUploadV1MilestoneIdPost.js → orderDrafts/resources/cargo/client/requests/OrderDraftUpdateCargoReq.js} +0 -0
- /package/dist/cjs/api/resources/{milestones/resources/images → orderDrafts/resources/cargo}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{orders/resources/full → orderDrafts/resources/cargo}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{orders/resources/full → orderDrafts/resources/cargo}/index.js +0 -0
- /package/dist/cjs/api/resources/{offChrtShipperOrgInfo → orderDrafts/resources/task}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{offChrtShipperOrgInfo → orderDrafts/resources/task}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientCreate1.js → orderDrafts/resources/task/client/requests/OrderDraftAddTaskReqV1.js} +0 -0
- /package/dist/cjs/api/resources/{offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientUpdate1.js → orderDrafts/resources/task/client/requests/OrderDraftUpdateTaskReq.js} +0 -0
- /package/dist/cjs/api/resources/{offChrtShipperOrgInfo → orderDrafts/resources/task}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{orders/client/requests/CreateOrderReq.js → orderDrafts/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.js} +0 -0
- /package/dist/cjs/api/resources/{orders → orderDrafts/resources/taskArtifact}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{orders/client/requests/OrdersExpandedReq.js → orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.js} +0 -0
- /package/dist/cjs/api/resources/{orders/resources/full/client → orderDrafts/resources/taskGroup/client/requests}/index.js +0 -0
- /package/dist/{esm/api/resources/courierPayDriverPayouts/client/requests/index.mjs → cjs/api/resources/orders/resources/draft/client/index.d.ts} +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/{esm/api/resources/milestoneNotifications/client/requests/index.mjs → cjs/api/resources/orders/resources/expanded/client/index.d.ts} +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/{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/{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/milestones/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/resources/blurhash → 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/images/client/requests → 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/{offChrtShipperOrgInfo/client/requests/index.mjs → courierPayDriverStatements/client/index.d.mts} +0 -0
- /package/dist/esm/api/resources/{orders/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/resources/full/client → 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 → orderDrafts}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{milestones → orderDrafts}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientUpdate1.mjs → orderDrafts/client/requests/OrdersDraftUpdateReq.mjs} +0 -0
- /package/dist/esm/api/resources/{milestoneNotifications/client/requests/MilestoneNotificationPreferencesClientCreate1.mjs → orderDrafts/client/requests/OrdersNewDraftReq.mjs} +0 -0
- /package/dist/esm/api/resources/{milestones → orderDrafts}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{milestones → orderDrafts}/index.mjs +0 -0
- /package/dist/esm/api/resources/{milestones/resources/images → orderDrafts/resources/cargo}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{milestones/resources/images → orderDrafts/resources/cargo}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{milestones/client/requests/MilestoneAddToTaskReq.mjs → orderDrafts/resources/cargo/client/requests/OrderDraftAddCargoReq.mjs} +0 -0
- /package/dist/esm/api/resources/{milestones/client/requests/MilestoneUpdateReq.mjs → orderDrafts/resources/cargo/client/requests/OrderDraftAssociateCargoWithTaskReq.mjs} +0 -0
- /package/dist/esm/api/resources/{milestones/resources/images/client/requests/BodyPostMilestonesUploadImageV1OortMilestonesImagesUploadV1MilestoneIdPost.mjs → orderDrafts/resources/cargo/client/requests/OrderDraftUpdateCargoReq.mjs} +0 -0
- /package/dist/esm/api/resources/{orders/resources/full → orderDrafts/resources/cargo}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{orders/resources/full → orderDrafts/resources/cargo}/index.mjs +0 -0
- /package/dist/esm/api/resources/{offChrtShipperOrgInfo → orderDrafts/resources/task}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{offChrtShipperOrgInfo → orderDrafts/resources/task}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientCreate1.mjs → orderDrafts/resources/task/client/requests/OrderDraftAddTaskReqV1.mjs} +0 -0
- /package/dist/esm/api/resources/{offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientUpdate1.mjs → orderDrafts/resources/task/client/requests/OrderDraftUpdateTaskReq.mjs} +0 -0
- /package/dist/esm/api/resources/{orders/client/requests/CreateOrderReq.mjs → orderDrafts/resources/taskArtifact/client/requests/OrderDraftAddTaskArtifactReq.mjs} +0 -0
- /package/dist/esm/api/resources/{orders/client/requests/OrdersExpandedReq.mjs → orderDrafts/resources/taskGroup/client/requests/OrderDraftAddTaskGroupReq.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/{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
|
@@ -56,74 +56,63 @@ export declare class Orgs {
|
|
|
56
56
|
* @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
|
-
* await client.orgs.
|
|
59
|
+
* await client.orgs.getOrgPublicDataV1()
|
|
60
60
|
*/
|
|
61
|
-
|
|
62
|
-
private
|
|
61
|
+
getOrgPublicDataV1(requestOptions?: Orgs.RequestOptions): core.HttpResponsePromise<Chrt.OrgPublicData1>;
|
|
62
|
+
private __getOrgPublicDataV1;
|
|
63
63
|
/**
|
|
64
|
-
*
|
|
64
|
+
* Creates an org_public_data document for the authenticated organization.
|
|
65
65
|
*
|
|
66
|
-
* @param {
|
|
66
|
+
* @param {Chrt.CreateOrgPublicDataReq} request
|
|
67
67
|
* @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
70
70
|
*
|
|
71
71
|
* @example
|
|
72
|
-
* await client.orgs.
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
private __getPublicDataByOrgIdV1;
|
|
76
|
-
/**
|
|
77
|
-
* Retrieves the organization handle for the authenticated organization.
|
|
78
|
-
*
|
|
79
|
-
* @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
|
|
80
|
-
*
|
|
81
|
-
* @example
|
|
82
|
-
* await client.orgs.getHandleV1()
|
|
72
|
+
* await client.orgs.createOrgPublicDataV1({
|
|
73
|
+
* org_type: "courier"
|
|
74
|
+
* })
|
|
83
75
|
*/
|
|
84
|
-
|
|
85
|
-
private
|
|
76
|
+
createOrgPublicDataV1(request: Chrt.CreateOrgPublicDataReq, requestOptions?: Orgs.RequestOptions): core.HttpResponsePromise<string>;
|
|
77
|
+
private __createOrgPublicDataV1;
|
|
86
78
|
/**
|
|
87
|
-
*
|
|
79
|
+
* Updates the handle and/or company_name for the authenticated organization.
|
|
88
80
|
*
|
|
89
|
-
* @param {
|
|
81
|
+
* @param {Chrt.UpdateOrgPublicDataReq} request
|
|
90
82
|
* @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
|
|
91
83
|
*
|
|
92
84
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
93
85
|
*
|
|
94
86
|
* @example
|
|
95
|
-
* await client.orgs.
|
|
87
|
+
* await client.orgs.updateOrgPublicDataV1()
|
|
96
88
|
*/
|
|
97
|
-
|
|
98
|
-
private
|
|
89
|
+
updateOrgPublicDataV1(request?: Chrt.UpdateOrgPublicDataReq, requestOptions?: Orgs.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
90
|
+
private __updateOrgPublicDataV1;
|
|
99
91
|
/**
|
|
100
|
-
*
|
|
92
|
+
* Retrieves public organization data for a specific organization by ID.
|
|
101
93
|
*
|
|
102
|
-
* @param {
|
|
94
|
+
* @param {string} orgId
|
|
103
95
|
* @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
|
|
104
96
|
*
|
|
105
97
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
106
98
|
*
|
|
107
99
|
* @example
|
|
108
|
-
* await client.orgs.
|
|
109
|
-
* handle: "handle",
|
|
110
|
-
* company_name: "company_name"
|
|
111
|
-
* })
|
|
100
|
+
* await client.orgs.getOrgPublicDataByOrgIdV1("org_id")
|
|
112
101
|
*/
|
|
113
|
-
|
|
114
|
-
private
|
|
102
|
+
getOrgPublicDataByOrgIdV1(orgId: string, requestOptions?: Orgs.RequestOptions): core.HttpResponsePromise<Chrt.OrgPublicData1>;
|
|
103
|
+
private __getOrgPublicDataByOrgIdV1;
|
|
115
104
|
/**
|
|
116
|
-
*
|
|
105
|
+
* Returns True when the provided handle is available, otherwise False.
|
|
117
106
|
*
|
|
118
|
-
* @param {
|
|
107
|
+
* @param {string} handle
|
|
119
108
|
* @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
|
|
120
109
|
*
|
|
121
110
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
122
111
|
*
|
|
123
112
|
* @example
|
|
124
|
-
* await client.orgs.
|
|
113
|
+
* await client.orgs.getOrgPublicDataHandleAvailabilityV1("handle")
|
|
125
114
|
*/
|
|
126
|
-
|
|
127
|
-
private
|
|
115
|
+
getOrgPublicDataHandleAvailabilityV1(handle: string, requestOptions?: Orgs.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
116
|
+
private __getOrgPublicDataHandleAvailabilityV1;
|
|
128
117
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
129
118
|
}
|
|
@@ -163,17 +163,17 @@ class Orgs {
|
|
|
163
163
|
* @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
|
|
164
164
|
*
|
|
165
165
|
* @example
|
|
166
|
-
* await client.orgs.
|
|
166
|
+
* await client.orgs.getOrgPublicDataV1()
|
|
167
167
|
*/
|
|
168
|
-
|
|
169
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
168
|
+
getOrgPublicDataV1(requestOptions) {
|
|
169
|
+
return core.HttpResponsePromise.fromPromise(this.__getOrgPublicDataV1(requestOptions));
|
|
170
170
|
}
|
|
171
|
-
|
|
171
|
+
__getOrgPublicDataV1(requestOptions) {
|
|
172
172
|
return __awaiter(this, void 0, void 0, function* () {
|
|
173
173
|
var _a, _b, _c, _d;
|
|
174
174
|
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
175
175
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
176
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "orgs/
|
|
176
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "orgs/org_public_data/v1"),
|
|
177
177
|
method: "GET",
|
|
178
178
|
headers: _headers,
|
|
179
179
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
@@ -199,7 +199,7 @@ class Orgs {
|
|
|
199
199
|
rawResponse: _response.rawResponse,
|
|
200
200
|
});
|
|
201
201
|
case "timeout":
|
|
202
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/
|
|
202
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/org_public_data/v1.");
|
|
203
203
|
case "unknown":
|
|
204
204
|
throw new errors.ChrtError({
|
|
205
205
|
message: _response.error.errorMessage,
|
|
@@ -209,28 +209,33 @@ class Orgs {
|
|
|
209
209
|
});
|
|
210
210
|
}
|
|
211
211
|
/**
|
|
212
|
-
*
|
|
212
|
+
* Creates an org_public_data document for the authenticated organization.
|
|
213
213
|
*
|
|
214
|
-
* @param {
|
|
214
|
+
* @param {Chrt.CreateOrgPublicDataReq} request
|
|
215
215
|
* @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
|
|
216
216
|
*
|
|
217
217
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
218
218
|
*
|
|
219
219
|
* @example
|
|
220
|
-
* await client.orgs.
|
|
220
|
+
* await client.orgs.createOrgPublicDataV1({
|
|
221
|
+
* org_type: "courier"
|
|
222
|
+
* })
|
|
221
223
|
*/
|
|
222
|
-
|
|
223
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
224
|
+
createOrgPublicDataV1(request, requestOptions) {
|
|
225
|
+
return core.HttpResponsePromise.fromPromise(this.__createOrgPublicDataV1(request, requestOptions));
|
|
224
226
|
}
|
|
225
|
-
|
|
227
|
+
__createOrgPublicDataV1(request, requestOptions) {
|
|
226
228
|
return __awaiter(this, void 0, void 0, function* () {
|
|
227
229
|
var _a, _b, _c, _d;
|
|
228
230
|
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
229
231
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
230
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local,
|
|
231
|
-
method: "
|
|
232
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "orgs/org_public_data/v1"),
|
|
233
|
+
method: "POST",
|
|
232
234
|
headers: _headers,
|
|
235
|
+
contentType: "application/json",
|
|
233
236
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
237
|
+
requestType: "json",
|
|
238
|
+
body: request,
|
|
234
239
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
235
240
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
236
241
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -258,58 +263,7 @@ class Orgs {
|
|
|
258
263
|
rawResponse: _response.rawResponse,
|
|
259
264
|
});
|
|
260
265
|
case "timeout":
|
|
261
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
262
|
-
case "unknown":
|
|
263
|
-
throw new errors.ChrtError({
|
|
264
|
-
message: _response.error.errorMessage,
|
|
265
|
-
rawResponse: _response.rawResponse,
|
|
266
|
-
});
|
|
267
|
-
}
|
|
268
|
-
});
|
|
269
|
-
}
|
|
270
|
-
/**
|
|
271
|
-
* Retrieves the organization handle for the authenticated organization.
|
|
272
|
-
*
|
|
273
|
-
* @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
|
|
274
|
-
*
|
|
275
|
-
* @example
|
|
276
|
-
* await client.orgs.getHandleV1()
|
|
277
|
-
*/
|
|
278
|
-
getHandleV1(requestOptions) {
|
|
279
|
-
return core.HttpResponsePromise.fromPromise(this.__getHandleV1(requestOptions));
|
|
280
|
-
}
|
|
281
|
-
__getHandleV1(requestOptions) {
|
|
282
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
283
|
-
var _a, _b, _c, _d;
|
|
284
|
-
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
285
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
286
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "orgs/handle/v1"),
|
|
287
|
-
method: "GET",
|
|
288
|
-
headers: _headers,
|
|
289
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
290
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
291
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
292
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
293
|
-
});
|
|
294
|
-
if (_response.ok) {
|
|
295
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
296
|
-
}
|
|
297
|
-
if (_response.error.reason === "status-code") {
|
|
298
|
-
throw new errors.ChrtError({
|
|
299
|
-
statusCode: _response.error.statusCode,
|
|
300
|
-
body: _response.error.body,
|
|
301
|
-
rawResponse: _response.rawResponse,
|
|
302
|
-
});
|
|
303
|
-
}
|
|
304
|
-
switch (_response.error.reason) {
|
|
305
|
-
case "non-json":
|
|
306
|
-
throw new errors.ChrtError({
|
|
307
|
-
statusCode: _response.error.statusCode,
|
|
308
|
-
body: _response.error.rawBody,
|
|
309
|
-
rawResponse: _response.rawResponse,
|
|
310
|
-
});
|
|
311
|
-
case "timeout":
|
|
312
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/handle/v1.");
|
|
266
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /orgs/org_public_data/v1.");
|
|
313
267
|
case "unknown":
|
|
314
268
|
throw new errors.ChrtError({
|
|
315
269
|
message: _response.error.errorMessage,
|
|
@@ -319,28 +273,31 @@ class Orgs {
|
|
|
319
273
|
});
|
|
320
274
|
}
|
|
321
275
|
/**
|
|
322
|
-
*
|
|
276
|
+
* Updates the handle and/or company_name for the authenticated organization.
|
|
323
277
|
*
|
|
324
|
-
* @param {
|
|
278
|
+
* @param {Chrt.UpdateOrgPublicDataReq} request
|
|
325
279
|
* @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
|
|
326
280
|
*
|
|
327
281
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
328
282
|
*
|
|
329
283
|
* @example
|
|
330
|
-
* await client.orgs.
|
|
284
|
+
* await client.orgs.updateOrgPublicDataV1()
|
|
331
285
|
*/
|
|
332
|
-
|
|
333
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
286
|
+
updateOrgPublicDataV1(request = {}, requestOptions) {
|
|
287
|
+
return core.HttpResponsePromise.fromPromise(this.__updateOrgPublicDataV1(request, requestOptions));
|
|
334
288
|
}
|
|
335
|
-
|
|
336
|
-
return __awaiter(this,
|
|
289
|
+
__updateOrgPublicDataV1() {
|
|
290
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
337
291
|
var _a, _b, _c, _d;
|
|
338
292
|
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
339
293
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
340
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local,
|
|
341
|
-
method: "
|
|
294
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "orgs/org_public_data/v1"),
|
|
295
|
+
method: "PATCH",
|
|
342
296
|
headers: _headers,
|
|
297
|
+
contentType: "application/json",
|
|
343
298
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
299
|
+
requestType: "json",
|
|
300
|
+
body: request,
|
|
344
301
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
345
302
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
346
303
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -368,7 +325,7 @@ class Orgs {
|
|
|
368
325
|
rawResponse: _response.rawResponse,
|
|
369
326
|
});
|
|
370
327
|
case "timeout":
|
|
371
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
328
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /orgs/org_public_data/v1.");
|
|
372
329
|
case "unknown":
|
|
373
330
|
throw new errors.ChrtError({
|
|
374
331
|
message: _response.error.errorMessage,
|
|
@@ -378,34 +335,28 @@ class Orgs {
|
|
|
378
335
|
});
|
|
379
336
|
}
|
|
380
337
|
/**
|
|
381
|
-
*
|
|
338
|
+
* Retrieves public organization data for a specific organization by ID.
|
|
382
339
|
*
|
|
383
|
-
* @param {
|
|
340
|
+
* @param {string} orgId
|
|
384
341
|
* @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
|
|
385
342
|
*
|
|
386
343
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
387
344
|
*
|
|
388
345
|
* @example
|
|
389
|
-
* await client.orgs.
|
|
390
|
-
* handle: "handle",
|
|
391
|
-
* company_name: "company_name"
|
|
392
|
-
* })
|
|
346
|
+
* await client.orgs.getOrgPublicDataByOrgIdV1("org_id")
|
|
393
347
|
*/
|
|
394
|
-
|
|
395
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
348
|
+
getOrgPublicDataByOrgIdV1(orgId, requestOptions) {
|
|
349
|
+
return core.HttpResponsePromise.fromPromise(this.__getOrgPublicDataByOrgIdV1(orgId, requestOptions));
|
|
396
350
|
}
|
|
397
|
-
|
|
351
|
+
__getOrgPublicDataByOrgIdV1(orgId, requestOptions) {
|
|
398
352
|
return __awaiter(this, void 0, void 0, function* () {
|
|
399
353
|
var _a, _b, _c, _d;
|
|
400
354
|
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
401
355
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
402
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local,
|
|
403
|
-
method: "
|
|
356
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `orgs/org_public_data/v1/${encodeURIComponent(orgId)}`),
|
|
357
|
+
method: "GET",
|
|
404
358
|
headers: _headers,
|
|
405
|
-
contentType: "application/json",
|
|
406
359
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
407
|
-
requestType: "json",
|
|
408
|
-
body: request,
|
|
409
360
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
410
361
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
411
362
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -433,7 +384,7 @@ class Orgs {
|
|
|
433
384
|
rawResponse: _response.rawResponse,
|
|
434
385
|
});
|
|
435
386
|
case "timeout":
|
|
436
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
387
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/org_public_data/v1/{org_id}.");
|
|
437
388
|
case "unknown":
|
|
438
389
|
throw new errors.ChrtError({
|
|
439
390
|
message: _response.error.errorMessage,
|
|
@@ -443,31 +394,28 @@ class Orgs {
|
|
|
443
394
|
});
|
|
444
395
|
}
|
|
445
396
|
/**
|
|
446
|
-
*
|
|
397
|
+
* Returns True when the provided handle is available, otherwise False.
|
|
447
398
|
*
|
|
448
|
-
* @param {
|
|
399
|
+
* @param {string} handle
|
|
449
400
|
* @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
|
|
450
401
|
*
|
|
451
402
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
452
403
|
*
|
|
453
404
|
* @example
|
|
454
|
-
* await client.orgs.
|
|
405
|
+
* await client.orgs.getOrgPublicDataHandleAvailabilityV1("handle")
|
|
455
406
|
*/
|
|
456
|
-
|
|
457
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
407
|
+
getOrgPublicDataHandleAvailabilityV1(handle, requestOptions) {
|
|
408
|
+
return core.HttpResponsePromise.fromPromise(this.__getOrgPublicDataHandleAvailabilityV1(handle, requestOptions));
|
|
458
409
|
}
|
|
459
|
-
|
|
460
|
-
return __awaiter(this,
|
|
410
|
+
__getOrgPublicDataHandleAvailabilityV1(handle, requestOptions) {
|
|
411
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
461
412
|
var _a, _b, _c, _d;
|
|
462
413
|
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
463
414
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
464
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local,
|
|
465
|
-
method: "
|
|
415
|
+
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `orgs/org_public_data/handle_available/v1/${encodeURIComponent(handle)}`),
|
|
416
|
+
method: "GET",
|
|
466
417
|
headers: _headers,
|
|
467
|
-
contentType: "application/json",
|
|
468
418
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
469
|
-
requestType: "json",
|
|
470
|
-
body: request,
|
|
471
419
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
472
420
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
473
421
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -495,7 +443,7 @@ class Orgs {
|
|
|
495
443
|
rawResponse: _response.rawResponse,
|
|
496
444
|
});
|
|
497
445
|
case "timeout":
|
|
498
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
446
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/org_public_data/handle_available/v1/{handle}.");
|
|
499
447
|
case "unknown":
|
|
500
448
|
throw new errors.ChrtError({
|
|
501
449
|
message: _response.error.errorMessage,
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as Chrt from "../../../../index.js";
|
|
4
5
|
/**
|
|
5
6
|
* @example
|
|
6
7
|
* {
|
|
7
|
-
*
|
|
8
|
-
* company_name: "company_name"
|
|
8
|
+
* org_type: "courier"
|
|
9
9
|
* }
|
|
10
10
|
*/
|
|
11
11
|
export interface CreateOrgPublicDataReq {
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
org_type: Chrt.OrgTypeEnum;
|
|
13
|
+
handle?: string | null;
|
|
14
|
+
company_name?: string | null;
|
|
14
15
|
}
|
|
@@ -30,6 +30,21 @@ export declare namespace Payments {
|
|
|
30
30
|
export declare class Payments {
|
|
31
31
|
protected readonly _options: Payments.Options;
|
|
32
32
|
constructor(_options?: Payments.Options);
|
|
33
|
+
/**
|
|
34
|
+
* Generates and sends a Stripe invoice for a shipper statement to a courier organization's Connect account. Applies a 10% application fee.
|
|
35
|
+
*
|
|
36
|
+
* @param {Chrt.GenerateInvoiceReq} request
|
|
37
|
+
* @param {Payments.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* await client.payments.generateInvoiceV1({
|
|
43
|
+
* shipper_pay_courier_statement_id: "shipper_pay_courier_statement_id"
|
|
44
|
+
* })
|
|
45
|
+
*/
|
|
46
|
+
generateInvoiceV1(request: Chrt.GenerateInvoiceReq, requestOptions?: Payments.RequestOptions): core.HttpResponsePromise<Chrt.GenerateInvoiceRes>;
|
|
47
|
+
private __generateInvoiceV1;
|
|
33
48
|
/**
|
|
34
49
|
* Creates a Stripe checkout session for a subscription with pricing based on the selected plan.
|
|
35
50
|
*
|
|
@@ -75,20 +90,5 @@ export declare class Payments {
|
|
|
75
90
|
*/
|
|
76
91
|
createConnectAccountLinkV1(requestOptions?: Payments.RequestOptions): core.HttpResponsePromise<Chrt.CreateConnectAccountLinkRes>;
|
|
77
92
|
private __createConnectAccountLinkV1;
|
|
78
|
-
/**
|
|
79
|
-
* Generates and sends a Stripe invoice for a shipper payment to a courier organization's Connect account. Applies a 10% application fee.
|
|
80
|
-
*
|
|
81
|
-
* @param {Chrt.GenerateInvoiceReq} request
|
|
82
|
-
* @param {Payments.RequestOptions} requestOptions - Request-specific configuration.
|
|
83
|
-
*
|
|
84
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
85
|
-
*
|
|
86
|
-
* @example
|
|
87
|
-
* await client.payments.generateInvoiceV1({
|
|
88
|
-
* shipper_pay_courier_payment_id: "shipper_pay_courier_payment_id"
|
|
89
|
-
* })
|
|
90
|
-
*/
|
|
91
|
-
generateInvoiceV1(request: Chrt.GenerateInvoiceReq, requestOptions?: Payments.RequestOptions): core.HttpResponsePromise<Chrt.GenerateInvoiceRes>;
|
|
92
|
-
private __generateInvoiceV1;
|
|
93
93
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
94
94
|
}
|