@chrt-inc/typescript-sdk 0.0.187 → 0.0.195
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 +390 -0
- package/dist/cjs/Client.d.ts +12 -3
- package/dist/cjs/Client.js +44 -29
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.js +1 -1
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/requests/CourierPayDriverLineItemGroupAddLineItemsReq.d.ts +2 -2
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.d.ts +1 -6
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.js +1 -6
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/requests/CourierPayDriverLineItemGroupRemoveLineItemsReq.d.ts +2 -9
- package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.d.ts +15 -1
- package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.js +62 -1
- package/dist/cjs/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.d.ts +2 -2
- package/dist/cjs/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientUpdate1.d.ts +14 -0
- package/dist/cjs/api/resources/courierPayDriverPayouts/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/index.d.ts +7 -2
- package/dist/cjs/api/resources/index.js +8 -3
- package/dist/cjs/api/resources/milestones/resources/images/client/Client.d.ts +1 -8
- package/dist/cjs/api/resources/milestones/resources/images/client/Client.js +1 -7
- package/dist/cjs/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/client/Client.d.ts +18 -18
- package/dist/cjs/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/client/Client.js +23 -29
- package/dist/cjs/api/resources/{offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.d.ts → offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientCreate1.d.ts} +2 -1
- package/dist/cjs/api/resources/{offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.d.ts → offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientUpdate1.d.ts} +1 -1
- package/dist/cjs/api/resources/offChrtShipperOrgInfo/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/orders/client/requests/CreateOrderReq.d.ts +1 -1
- package/dist/cjs/api/resources/payments/client/Client.d.ts +19 -25
- package/dist/cjs/api/resources/payments/client/Client.js +58 -72
- package/dist/cjs/api/resources/payments/client/requests/GenerateInvoiceReq.d.ts +14 -0
- package/dist/cjs/api/resources/payments/client/requests/index.d.ts +1 -2
- package/dist/cjs/api/resources/shipperContactInfo/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/shipperContactInfo/client/Client.js +7 -7
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/client/Client.d.ts +96 -0
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/client/Client.js +321 -0
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/client/index.js +17 -0
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/client/requests/ShipperPayCourierLineItemGroupCreateReq.d.ts +28 -0
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/client/requests/ShipperPayCourierLineItemGroupPreviewReq.d.ts +28 -0
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/index.d.ts +2 -0
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/index.js +18 -0
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/Client.d.ts +53 -0
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/Client.js +136 -0
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/index.js +17 -0
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/requests/ShipperPayCourierLineItemGroupAddLineItemsReq.d.ts +19 -0
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/index.js +17 -0
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/index.d.ts +4 -0
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/index.js +43 -0
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/Client.d.ts +48 -0
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/Client.js +131 -0
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/index.js +17 -0
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/requests/ShipperPayCourierLineItemGroupRemoveLineItemsReq.d.ts +12 -0
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/index.js +17 -0
- package/dist/cjs/api/resources/shipperPayCourierPayments/client/Client.d.ts +98 -0
- package/dist/cjs/api/resources/shipperPayCourierPayments/client/Client.js +361 -0
- package/dist/cjs/api/resources/shipperPayCourierPayments/client/index.js +2 -0
- package/dist/cjs/api/resources/shipperPayCourierPayments/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipperPayCourierPayments/index.js +17 -0
- package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/Client.d.ts +110 -0
- package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/Client.js +367 -0
- package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/index.js +17 -0
- package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientCreate1.d.ts +49 -0
- package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientUpdate1.d.ts +31 -0
- package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/shipperPayCourierRateSheets/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/shipperPayCourierRateSheets/index.d.ts +1 -0
- package/dist/cjs/api/resources/shipperPayCourierRateSheets/index.js +17 -0
- package/dist/cjs/api/types/CourierPayDriverLineItemGroup1.d.ts +2 -1
- package/dist/cjs/api/types/CourierPayDriverLineItemGroupPreviewRes.d.ts +14 -0
- package/dist/cjs/api/types/CourierPayDriverLineItemGroupPreviewRes.js +5 -0
- package/dist/cjs/api/types/CourierPayDriverPayout1.d.ts +21 -0
- package/dist/cjs/api/types/CourierPayDriverPayout1.js +5 -0
- package/dist/cjs/api/types/CreateShipperPayCourierPaymentReq.d.ts +9 -0
- package/dist/cjs/api/types/CreateShipperPayCourierPaymentReq.js +5 -0
- package/dist/cjs/api/types/GenerateInvoiceRes.d.ts +9 -0
- package/dist/cjs/api/types/GenerateInvoiceRes.js +5 -0
- package/dist/cjs/api/types/GetShipperPayCourierPaymentsForShipperRes.d.ts +10 -0
- package/dist/cjs/api/types/GetShipperPayCourierPaymentsForShipperRes.js +5 -0
- package/dist/cjs/api/types/GetShipperPayCourierPaymentsRes.d.ts +10 -0
- package/dist/cjs/api/types/GetShipperPayCourierPaymentsRes.js +5 -0
- package/dist/cjs/api/types/LineItem1.d.ts +3 -1
- package/dist/cjs/api/types/LineItemClientCreate1.d.ts +11 -0
- package/dist/cjs/api/types/LineItemClientCreate1.js +5 -0
- package/dist/cjs/api/types/Milestone1.d.ts +1 -1
- package/dist/cjs/api/types/{OffChrtShipperOrgConnectionInfo1.d.ts → OffChrtShipperOrgInfo1.d.ts} +2 -1
- package/dist/cjs/api/types/OffChrtShipperOrgInfo1.js +5 -0
- package/dist/cjs/api/types/Order1.d.ts +1 -3
- package/dist/cjs/api/types/OrgPublicData2.d.ts +5 -1
- package/dist/cjs/api/types/PaymentPreviewResponse.d.ts +13 -0
- package/dist/cjs/api/types/PaymentPreviewResponse.js +5 -0
- package/dist/cjs/api/types/PaymentStatusEnum.d.ts +11 -0
- package/dist/cjs/api/types/PaymentStatusEnum.js +13 -0
- package/dist/cjs/api/types/PayoutStatusEnum.d.ts +10 -0
- package/dist/cjs/api/types/PayoutStatusEnum.js +12 -0
- package/dist/cjs/api/types/ShipperContactInfo1.d.ts +1 -1
- package/dist/cjs/api/types/ShipperContactInfoClientCreate1.d.ts +1 -1
- package/dist/cjs/api/types/ShipperPayCourierLineItemGroup1.d.ts +17 -0
- package/dist/cjs/api/types/ShipperPayCourierLineItemGroup1.js +5 -0
- package/dist/cjs/api/types/ShipperPayCourierLineItemGroupServerCreate1.d.ts +16 -0
- package/dist/cjs/api/types/ShipperPayCourierLineItemGroupServerCreate1.js +5 -0
- package/dist/cjs/api/types/ShipperPayCourierPayment1.d.ts +23 -0
- package/dist/cjs/api/types/ShipperPayCourierPayment1.js +5 -0
- package/dist/cjs/api/types/ShipperPayCourierRateSheet1.d.ts +33 -0
- package/dist/cjs/api/types/ShipperPayCourierRateSheet1.js +5 -0
- package/dist/cjs/api/types/StripeConnectAccountEvent.d.ts +11 -0
- package/dist/cjs/api/types/StripeConnectAccountEvent.js +5 -0
- package/dist/cjs/api/types/StripeConnectAccountEventEnum.d.ts +8 -0
- package/dist/cjs/api/types/StripeConnectAccountEventEnum.js +10 -0
- package/dist/cjs/api/types/Task1.d.ts +0 -2
- package/dist/cjs/api/types/TaskGroup1.d.ts +0 -4
- package/dist/cjs/api/types/UserPublicData6.d.ts +0 -1
- package/dist/cjs/api/types/index.d.ts +17 -10
- package/dist/cjs/api/types/index.js +17 -10
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +12 -3
- package/dist/esm/Client.mjs +20 -5
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/Client.mjs +1 -1
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/addLineItems/client/requests/CourierPayDriverLineItemGroupAddLineItemsReq.d.mts +2 -2
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.d.mts +1 -6
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.mjs +1 -6
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/requests/CourierPayDriverLineItemGroupRemoveLineItemsReq.d.mts +2 -9
- package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.d.mts +15 -1
- package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.mjs +62 -1
- package/dist/esm/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.d.mts +2 -2
- package/dist/esm/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientUpdate1.d.mts +14 -0
- package/dist/esm/api/resources/courierPayDriverPayouts/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/index.d.mts +7 -2
- package/dist/esm/api/resources/index.mjs +7 -2
- package/dist/esm/api/resources/milestones/resources/images/client/Client.d.mts +1 -8
- package/dist/esm/api/resources/milestones/resources/images/client/Client.mjs +1 -7
- package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/client/Client.d.mts +18 -18
- package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/client/Client.mjs +21 -27
- package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.d.mts → offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientCreate1.d.mts} +2 -1
- package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.d.mts → offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientUpdate1.d.mts} +1 -1
- package/dist/esm/api/resources/offChrtShipperOrgInfo/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/offChrtShipperOrgInfo/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/orders/client/requests/CreateOrderReq.d.mts +1 -1
- package/dist/esm/api/resources/payments/client/Client.d.mts +19 -25
- package/dist/esm/api/resources/payments/client/Client.mjs +58 -72
- package/dist/esm/api/resources/payments/client/requests/GenerateInvoiceReq.d.mts +14 -0
- package/dist/esm/api/resources/payments/client/requests/index.d.mts +1 -2
- package/dist/esm/api/resources/shipperContactInfo/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/shipperContactInfo/client/Client.mjs +7 -7
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/client/Client.d.mts +96 -0
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/client/Client.mjs +284 -0
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/client/index.mjs +1 -0
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/client/requests/ShipperPayCourierLineItemGroupCreateReq.d.mts +28 -0
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/client/requests/ShipperPayCourierLineItemGroupPreviewReq.d.mts +28 -0
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/index.d.mts +2 -0
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/index.mjs +2 -0
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/Client.d.mts +53 -0
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/Client.mjs +99 -0
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/index.mjs +1 -0
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/requests/ShipperPayCourierLineItemGroupAddLineItemsReq.d.mts +19 -0
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/index.d.mts +1 -0
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/addLineItems/index.mjs +1 -0
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/index.d.mts +4 -0
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/index.mjs +4 -0
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/Client.d.mts +48 -0
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/Client.mjs +94 -0
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/index.mjs +1 -0
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/requests/ShipperPayCourierLineItemGroupRemoveLineItemsReq.d.mts +12 -0
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/index.d.mts +1 -0
- package/dist/esm/api/resources/shipperPayCourierLineItemGroup/resources/removeLineItems/index.mjs +1 -0
- package/dist/esm/api/resources/shipperPayCourierPayments/client/Client.d.mts +98 -0
- package/dist/esm/api/resources/shipperPayCourierPayments/client/Client.mjs +324 -0
- package/dist/esm/api/resources/shipperPayCourierPayments/client/index.d.mts +1 -0
- package/dist/esm/api/resources/shipperPayCourierPayments/client/index.mjs +1 -0
- package/dist/esm/api/resources/shipperPayCourierPayments/index.d.mts +1 -0
- package/dist/esm/api/resources/shipperPayCourierPayments/index.mjs +1 -0
- package/dist/esm/api/resources/shipperPayCourierRateSheets/client/Client.d.mts +110 -0
- package/dist/esm/api/resources/shipperPayCourierRateSheets/client/Client.mjs +330 -0
- package/dist/esm/api/resources/shipperPayCourierRateSheets/client/index.d.mts +2 -0
- package/dist/esm/api/resources/shipperPayCourierRateSheets/client/index.mjs +1 -0
- package/dist/esm/api/resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientCreate1.d.mts +49 -0
- package/dist/esm/api/resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientUpdate1.d.mts +31 -0
- package/dist/esm/api/resources/shipperPayCourierRateSheets/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/shipperPayCourierRateSheets/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/shipperPayCourierRateSheets/index.d.mts +1 -0
- package/dist/esm/api/resources/shipperPayCourierRateSheets/index.mjs +1 -0
- package/dist/esm/api/types/CourierPayDriverLineItemGroup1.d.mts +2 -1
- package/dist/esm/api/types/CourierPayDriverLineItemGroupPreviewRes.d.mts +14 -0
- package/dist/esm/api/types/CourierPayDriverLineItemGroupPreviewRes.mjs +4 -0
- package/dist/esm/api/types/CourierPayDriverPayout1.d.mts +21 -0
- package/dist/esm/api/types/CourierPayDriverPayout1.mjs +4 -0
- package/dist/esm/api/types/CreateShipperPayCourierPaymentReq.d.mts +9 -0
- package/dist/esm/api/types/CreateShipperPayCourierPaymentReq.mjs +4 -0
- package/dist/esm/api/types/GenerateInvoiceRes.d.mts +9 -0
- package/dist/esm/api/types/GenerateInvoiceRes.mjs +4 -0
- package/dist/esm/api/types/GetShipperPayCourierPaymentsForShipperRes.d.mts +10 -0
- package/dist/esm/api/types/GetShipperPayCourierPaymentsForShipperRes.mjs +4 -0
- package/dist/esm/api/types/GetShipperPayCourierPaymentsRes.d.mts +10 -0
- package/dist/esm/api/types/GetShipperPayCourierPaymentsRes.mjs +4 -0
- package/dist/esm/api/types/LineItem1.d.mts +3 -1
- package/dist/esm/api/types/LineItemClientCreate1.d.mts +11 -0
- package/dist/esm/api/types/LineItemClientCreate1.mjs +4 -0
- package/dist/esm/api/types/Milestone1.d.mts +1 -1
- package/dist/esm/api/types/{OffChrtShipperOrgConnectionInfo1.d.mts → OffChrtShipperOrgInfo1.d.mts} +2 -1
- package/dist/esm/api/types/OffChrtShipperOrgInfo1.mjs +4 -0
- package/dist/esm/api/types/Order1.d.mts +1 -3
- package/dist/esm/api/types/OrgPublicData2.d.mts +5 -1
- package/dist/esm/api/types/PaymentPreviewResponse.d.mts +13 -0
- package/dist/esm/api/types/PaymentPreviewResponse.mjs +4 -0
- package/dist/esm/api/types/PaymentStatusEnum.d.mts +11 -0
- package/dist/esm/api/types/PaymentStatusEnum.mjs +10 -0
- package/dist/esm/api/types/PayoutStatusEnum.d.mts +10 -0
- package/dist/esm/api/types/PayoutStatusEnum.mjs +9 -0
- package/dist/esm/api/types/ShipperContactInfo1.d.mts +1 -1
- package/dist/esm/api/types/ShipperContactInfoClientCreate1.d.mts +1 -1
- package/dist/esm/api/types/ShipperPayCourierLineItemGroup1.d.mts +17 -0
- package/dist/esm/api/types/ShipperPayCourierLineItemGroup1.mjs +4 -0
- package/dist/esm/api/types/ShipperPayCourierLineItemGroupServerCreate1.d.mts +16 -0
- package/dist/esm/api/types/ShipperPayCourierLineItemGroupServerCreate1.mjs +4 -0
- package/dist/esm/api/types/ShipperPayCourierPayment1.d.mts +23 -0
- package/dist/esm/api/types/ShipperPayCourierPayment1.mjs +4 -0
- package/dist/esm/api/types/ShipperPayCourierRateSheet1.d.mts +33 -0
- package/dist/esm/api/types/ShipperPayCourierRateSheet1.mjs +4 -0
- package/dist/esm/api/types/StripeConnectAccountEvent.d.mts +11 -0
- package/dist/esm/api/types/StripeConnectAccountEvent.mjs +4 -0
- package/dist/esm/api/types/StripeConnectAccountEventEnum.d.mts +8 -0
- package/dist/esm/api/types/StripeConnectAccountEventEnum.mjs +7 -0
- package/dist/esm/api/types/Task1.d.mts +0 -2
- package/dist/esm/api/types/TaskGroup1.d.mts +0 -4
- package/dist/esm/api/types/UserPublicData6.d.mts +0 -1
- package/dist/esm/api/types/index.d.mts +17 -10
- package/dist/esm/api/types/index.mjs +17 -10
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1201 -149
- package/dist/cjs/api/resources/offChrtShipperOrgConnectionInfo/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/payments/client/requests/CreateConnectAccountLinkReq.d.ts +0 -12
- package/dist/cjs/api/resources/payments/client/requests/CreateDirectChargeReq.d.ts +0 -17
- package/dist/cjs/api/types/CourierPayDriverLineItemGroupClientCreate1.d.ts +0 -10
- package/dist/cjs/api/types/CreateDirectChargeRes.d.ts +0 -8
- package/dist/cjs/api/types/Incident1.d.ts +0 -7
- package/dist/cjs/api/types/IncidentEnum1.d.ts +0 -12
- package/dist/cjs/api/types/IncidentEnum1.js +0 -14
- package/dist/cjs/api/types/Insurance1.d.ts +0 -7
- package/dist/cjs/api/types/PayablesInvoice1.d.ts +0 -34
- package/dist/cjs/api/types/PayablesInvoice1.js +0 -18
- package/dist/cjs/api/types/ReceivablesInvoice1.d.ts +0 -34
- package/dist/cjs/api/types/ReceivablesInvoice1.js +0 -18
- package/dist/cjs/api/types/ShipperCourierConnection1.d.ts +0 -13
- package/dist/cjs/api/types/StripeConnectInvoice1.d.ts +0 -32
- package/dist/cjs/api/types/StripeConnectInvoice1.js +0 -18
- package/dist/esm/api/resources/offChrtShipperOrgConnectionInfo/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/payments/client/requests/CreateConnectAccountLinkReq.d.mts +0 -12
- package/dist/esm/api/resources/payments/client/requests/CreateDirectChargeReq.d.mts +0 -17
- package/dist/esm/api/types/CourierPayDriverLineItemGroupClientCreate1.d.mts +0 -10
- package/dist/esm/api/types/CreateDirectChargeRes.d.mts +0 -8
- package/dist/esm/api/types/Incident1.d.mts +0 -7
- package/dist/esm/api/types/IncidentEnum1.d.mts +0 -12
- package/dist/esm/api/types/IncidentEnum1.mjs +0 -11
- package/dist/esm/api/types/Insurance1.d.mts +0 -7
- package/dist/esm/api/types/PayablesInvoice1.d.mts +0 -34
- package/dist/esm/api/types/PayablesInvoice1.mjs +0 -15
- package/dist/esm/api/types/ReceivablesInvoice1.d.mts +0 -34
- package/dist/esm/api/types/ReceivablesInvoice1.mjs +0 -15
- package/dist/esm/api/types/ShipperCourierConnection1.d.mts +0 -13
- package/dist/esm/api/types/StripeConnectInvoice1.d.mts +0 -32
- package/dist/esm/api/types/StripeConnectInvoice1.mjs +0 -15
- /package/dist/cjs/api/resources/{offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.js → courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.js → offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/{payments/client/requests/CreateConnectAccountLinkReq.js → offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/index.js +0 -0
- /package/dist/cjs/api/resources/payments/client/requests/{CreateDirectChargeReq.js → GenerateInvoiceReq.js} +0 -0
- /package/dist/cjs/api/{types/CourierPayDriverLineItemGroupClientCreate1.js → resources/shipperPayCourierLineItemGroup/client/requests/ShipperPayCourierLineItemGroupCreateReq.js} +0 -0
- /package/dist/cjs/api/{types/CreateDirectChargeRes.js → resources/shipperPayCourierLineItemGroup/client/requests/ShipperPayCourierLineItemGroupPreviewReq.js} +0 -0
- /package/dist/cjs/api/{types/Incident1.js → resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/requests/ShipperPayCourierLineItemGroupAddLineItemsReq.js} +0 -0
- /package/dist/cjs/api/{types/Insurance1.js → resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/requests/ShipperPayCourierLineItemGroupRemoveLineItemsReq.js} +0 -0
- /package/dist/{esm/api/resources/offChrtShipperOrgConnectionInfo/client/requests/index.mjs → cjs/api/resources/shipperPayCourierPayments/client/index.d.ts} +0 -0
- /package/dist/cjs/api/{types/OffChrtShipperOrgConnectionInfo1.js → resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientCreate1.js} +0 -0
- /package/dist/cjs/api/{types/ShipperCourierConnection1.js → resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientUpdate1.js} +0 -0
- /package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.mjs → courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.mjs → offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/{payments/client/requests/CreateConnectAccountLinkReq.mjs → offChrtShipperOrgInfo/client/requests/OffChrtShipperOrgInfoClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{offChrtShipperOrgConnectionInfo → offChrtShipperOrgInfo}/index.mjs +0 -0
- /package/dist/esm/api/resources/payments/client/requests/{CreateDirectChargeReq.mjs → GenerateInvoiceReq.mjs} +0 -0
- /package/dist/esm/api/{types/CourierPayDriverLineItemGroupClientCreate1.mjs → resources/shipperPayCourierLineItemGroup/client/requests/ShipperPayCourierLineItemGroupCreateReq.mjs} +0 -0
- /package/dist/esm/api/{types/CreateDirectChargeRes.mjs → resources/shipperPayCourierLineItemGroup/client/requests/ShipperPayCourierLineItemGroupPreviewReq.mjs} +0 -0
- /package/dist/esm/api/{types/Incident1.mjs → resources/shipperPayCourierLineItemGroup/resources/addLineItems/client/requests/ShipperPayCourierLineItemGroupAddLineItemsReq.mjs} +0 -0
- /package/dist/esm/api/{types/Insurance1.mjs → resources/shipperPayCourierLineItemGroup/resources/removeLineItems/client/requests/ShipperPayCourierLineItemGroupRemoveLineItemsReq.mjs} +0 -0
- /package/dist/esm/api/{types/OffChrtShipperOrgConnectionInfo1.mjs → resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientCreate1.mjs} +0 -0
- /package/dist/esm/api/{types/ShipperCourierConnection1.mjs → resources/shipperPayCourierRateSheets/client/requests/ShipperPayCourierRateSheetClientUpdate1.mjs} +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface LineItemClientCreate1 {
|
|
6
|
+
schema_version: number;
|
|
7
|
+
item: Chrt.LineItemEnum1;
|
|
8
|
+
quantity: number;
|
|
9
|
+
rate: number;
|
|
10
|
+
comment?: string | null;
|
|
11
|
+
}
|
|
@@ -15,7 +15,7 @@ export interface Milestone1 {
|
|
|
15
15
|
/** Must be a string starting with `user_` */
|
|
16
16
|
completed_by_user_id?: string | null;
|
|
17
17
|
completed: boolean;
|
|
18
|
-
|
|
18
|
+
milestone_s3_object_metadata_ids?: string[];
|
|
19
19
|
decoded_scans?: string[];
|
|
20
20
|
requested_by_shipper: boolean;
|
|
21
21
|
completor_comments?: string | null;
|
package/dist/cjs/api/types/{OffChrtShipperOrgConnectionInfo1.d.ts → OffChrtShipperOrgInfo1.d.ts}
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.js";
|
|
5
|
-
export interface
|
|
5
|
+
export interface OffChrtShipperOrgInfo1 {
|
|
6
6
|
schema_version: number;
|
|
7
7
|
industry?: string | null;
|
|
8
8
|
street_address?: Chrt.LocationFeature | null;
|
|
@@ -15,6 +15,7 @@ export interface OffChrtShipperOrgConnectionInfo1 {
|
|
|
15
15
|
job_title?: string | null;
|
|
16
16
|
notes?: string | null;
|
|
17
17
|
company_name?: string | null;
|
|
18
|
+
stripe_connect_shipper_pay_courier_customer_id?: string | null;
|
|
18
19
|
/** Must be a string starting with `org_` */
|
|
19
20
|
created_by_org_id: string;
|
|
20
21
|
/** Must be a string starting with `user_` */
|
|
@@ -15,13 +15,11 @@ export interface Order1 {
|
|
|
15
15
|
created_by_user_id: string;
|
|
16
16
|
draft_started_at: string;
|
|
17
17
|
task_group_ids?: string[] | null;
|
|
18
|
-
stripe_connect_invoice_id?: string | null;
|
|
19
|
-
receivables_invoice_id?: string | null;
|
|
20
18
|
/** Must be a string starting with `org_` */
|
|
21
19
|
shipper_org_id?: string | null;
|
|
22
20
|
/** Must be a string starting with `user_` */
|
|
23
21
|
shipper_user_id?: string | null;
|
|
24
|
-
|
|
22
|
+
off_chrt_shipper_org_info_id?: string | null;
|
|
25
23
|
order_level_expenses_ids?: string[] | null;
|
|
26
24
|
order_level_receivables_line_items?: Chrt.LineItem1[] | null;
|
|
27
25
|
status?: Chrt.OrderStatusEnum1;
|
|
@@ -1,11 +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
|
export interface OrgPublicData2 {
|
|
5
6
|
schema_version: number;
|
|
6
7
|
/** Must be a string starting with `org_` */
|
|
7
8
|
org_id: string;
|
|
8
|
-
|
|
9
|
+
stripe_connect_account_id?: string | null;
|
|
10
|
+
stripe_connect_account_events?: Chrt.StripeConnectAccountEvent[];
|
|
11
|
+
handle?: string | null;
|
|
9
12
|
company_name?: string | null;
|
|
13
|
+
auto_approve_shipper_to_courier_connection_requests?: boolean;
|
|
10
14
|
_id: string;
|
|
11
15
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
/**
|
|
6
|
+
* Response model for payment preview.
|
|
7
|
+
*/
|
|
8
|
+
export interface PaymentPreviewResponse {
|
|
9
|
+
task_groups: Chrt.TaskGroup1[];
|
|
10
|
+
line_item_groups: Chrt.ShipperPayCourierLineItemGroup1[];
|
|
11
|
+
total_amount: number;
|
|
12
|
+
payment_ready: boolean;
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type PaymentStatusEnum = "pending" | "invoice_sent" | "paid" | "failed" | "cancelled";
|
|
5
|
+
export declare const PaymentStatusEnum: {
|
|
6
|
+
readonly Pending: "pending";
|
|
7
|
+
readonly InvoiceSent: "invoice_sent";
|
|
8
|
+
readonly Paid: "paid";
|
|
9
|
+
readonly Failed: "failed";
|
|
10
|
+
readonly Cancelled: "cancelled";
|
|
11
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PaymentStatusEnum = void 0;
|
|
7
|
+
exports.PaymentStatusEnum = {
|
|
8
|
+
Pending: "pending",
|
|
9
|
+
InvoiceSent: "invoice_sent",
|
|
10
|
+
Paid: "paid",
|
|
11
|
+
Failed: "failed",
|
|
12
|
+
Cancelled: "cancelled",
|
|
13
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type PayoutStatusEnum = "created" | "ready_for_review" | "completed" | "cancelled";
|
|
5
|
+
export declare const PayoutStatusEnum: {
|
|
6
|
+
readonly Created: "created";
|
|
7
|
+
readonly ReadyForReview: "ready_for_review";
|
|
8
|
+
readonly Completed: "completed";
|
|
9
|
+
readonly Cancelled: "cancelled";
|
|
10
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.PayoutStatusEnum = void 0;
|
|
7
|
+
exports.PayoutStatusEnum = {
|
|
8
|
+
Created: "created",
|
|
9
|
+
ReadyForReview: "ready_for_review",
|
|
10
|
+
Completed: "completed",
|
|
11
|
+
Cancelled: "cancelled",
|
|
12
|
+
};
|
|
@@ -19,7 +19,7 @@ export interface ShipperContactInfo1 {
|
|
|
19
19
|
shipper_org_id?: string | null;
|
|
20
20
|
/** Must be a string starting with `user_` */
|
|
21
21
|
shipper_user_id?: string | null;
|
|
22
|
-
|
|
22
|
+
off_chrt_shipper_org_info_id?: string | null;
|
|
23
23
|
/** Must be a string starting with `org_` */
|
|
24
24
|
created_by_org_id: string;
|
|
25
25
|
/** Must be a string starting with `user_` */
|
|
@@ -19,5 +19,5 @@ export interface ShipperContactInfoClientCreate1 {
|
|
|
19
19
|
shipper_org_id?: string | null;
|
|
20
20
|
/** Must be a string starting with `user_` */
|
|
21
21
|
shipper_user_id?: string | null;
|
|
22
|
-
|
|
22
|
+
off_chrt_shipper_org_info_id?: string | null;
|
|
23
23
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface ShipperPayCourierLineItemGroup1 {
|
|
6
|
+
schema_version: number;
|
|
7
|
+
task_group_id: string;
|
|
8
|
+
/** Must be a string starting with `org_` */
|
|
9
|
+
courier_org_id: string;
|
|
10
|
+
/** Must be a string starting with `org_` */
|
|
11
|
+
shipper_org_id?: string | null;
|
|
12
|
+
off_chrt_shipper_org_info_id?: string | null;
|
|
13
|
+
order_cancelled?: boolean;
|
|
14
|
+
rate_sheet_id: string;
|
|
15
|
+
line_items: Chrt.LineItem1[];
|
|
16
|
+
_id: string;
|
|
17
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface ShipperPayCourierLineItemGroupServerCreate1 {
|
|
6
|
+
schema_version: number;
|
|
7
|
+
task_group_id: string;
|
|
8
|
+
/** Must be a string starting with `org_` */
|
|
9
|
+
courier_org_id: string;
|
|
10
|
+
/** Must be a string starting with `org_` */
|
|
11
|
+
shipper_org_id?: string | null;
|
|
12
|
+
off_chrt_shipper_org_info_id?: string | null;
|
|
13
|
+
order_cancelled?: boolean;
|
|
14
|
+
rate_sheet_id: string;
|
|
15
|
+
line_items: Chrt.LineItem1[];
|
|
16
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface ShipperPayCourierPayment1 {
|
|
6
|
+
schema_version: number;
|
|
7
|
+
shipper_pay_courier_line_item_group_ids: string[];
|
|
8
|
+
task_group_ids: string[];
|
|
9
|
+
off_chrt_shipper_org_info_id?: string | null;
|
|
10
|
+
/** Must be a string starting with `org_` */
|
|
11
|
+
shipper_org_id?: string | null;
|
|
12
|
+
/** Must be a string starting with `org_` */
|
|
13
|
+
courier_org_id: string;
|
|
14
|
+
stripe_invoice_created_timestamp?: string | null;
|
|
15
|
+
stripe_invoice_completed_timestamp?: string | null;
|
|
16
|
+
/** Must be a string starting with `user_` */
|
|
17
|
+
stripe_invoice_created_by_user_id?: string | null;
|
|
18
|
+
payment_amount: number;
|
|
19
|
+
stripe_invoice_status?: Chrt.PaymentStatusEnum;
|
|
20
|
+
stripe_invoice_id?: string | null;
|
|
21
|
+
stripe_customer_id?: string | null;
|
|
22
|
+
_id: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface ShipperPayCourierRateSheet1 {
|
|
6
|
+
schema_version: number;
|
|
7
|
+
name?: string | null;
|
|
8
|
+
cargo_types?: Chrt.CargoTypeEnum1[] | null;
|
|
9
|
+
vehicle_types?: Chrt.VehicleTypeEnum[] | null;
|
|
10
|
+
route_types?: Chrt.RouteTypeEnum1[] | null;
|
|
11
|
+
/** Must be a string starting with `org_` */
|
|
12
|
+
shipper_org_id?: string | null;
|
|
13
|
+
off_chrt_shipper_org_info_id?: string | null;
|
|
14
|
+
comments?: string | null;
|
|
15
|
+
base_mileage_distance_miles: number;
|
|
16
|
+
base_mileage_rate_usd_per_instance: number;
|
|
17
|
+
/** applies only to the additional miles */
|
|
18
|
+
additional_mileage_rate_usd_per_mile: number;
|
|
19
|
+
long_distance_surcharge_miles_before_surcharge: number;
|
|
20
|
+
/** applies only to the additional miles */
|
|
21
|
+
long_distance_surcharge_rate_usd_per_mile: number;
|
|
22
|
+
fuel_surchage_rate_usd_per_mile: number;
|
|
23
|
+
wait_time_before_charge_minutes: number;
|
|
24
|
+
wait_time_rate_usd_per_minute: number;
|
|
25
|
+
extra_stop_rate_usd: number;
|
|
26
|
+
dangerous_goods_rate_usd_per_instance: number;
|
|
27
|
+
after_hours: number;
|
|
28
|
+
weekend: number;
|
|
29
|
+
holiday: number;
|
|
30
|
+
/** Must be a string starting with `org_` */
|
|
31
|
+
courier_org_id: string;
|
|
32
|
+
_id: string;
|
|
33
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface StripeConnectAccountEvent {
|
|
6
|
+
timestamp: string;
|
|
7
|
+
/** Must be a string starting with `user_` */
|
|
8
|
+
user_id: string;
|
|
9
|
+
stripe_connect_account_id: string;
|
|
10
|
+
event: Chrt.StripeConnectAccountEventEnum;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type StripeConnectAccountEventEnum = "created" | "removed";
|
|
5
|
+
export declare const StripeConnectAccountEventEnum: {
|
|
6
|
+
readonly Created: "created";
|
|
7
|
+
readonly Removed: "removed";
|
|
8
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.StripeConnectAccountEventEnum = void 0;
|
|
7
|
+
exports.StripeConnectAccountEventEnum = {
|
|
8
|
+
Created: "created",
|
|
9
|
+
Removed: "removed",
|
|
10
|
+
};
|
|
@@ -23,8 +23,6 @@ export interface Task1 {
|
|
|
23
23
|
completed_at?: string | null;
|
|
24
24
|
cargo_ids?: string[] | null;
|
|
25
25
|
milestone_ids?: string[] | null;
|
|
26
|
-
incident_ids?: string[] | null;
|
|
27
|
-
insurance_ids?: string[] | null;
|
|
28
26
|
}
|
|
29
27
|
export declare namespace Task1 {
|
|
30
28
|
type Action = Chrt.TaskActionEnum1 | Chrt.ObcNfoTaskActionEnum;
|
|
@@ -8,10 +8,6 @@ export interface TaskGroup1 {
|
|
|
8
8
|
order_id: string;
|
|
9
9
|
order_short_id: string;
|
|
10
10
|
task_ids: string[];
|
|
11
|
-
line_items?: Chrt.LineItem1[] | null;
|
|
12
|
-
payables_invoice_id?: string | null;
|
|
13
|
-
/** Must be a string starting with `org_` */
|
|
14
|
-
shipper_org_id?: string | null;
|
|
15
11
|
/** Must be a string starting with `org_` */
|
|
16
12
|
courier_org_id?: string | null;
|
|
17
13
|
order_cancelled?: boolean;
|
|
@@ -6,27 +6,29 @@ export * from "./CourierNotificationPreferences1.js";
|
|
|
6
6
|
export * from "./CourierOrgConnectionInfo1.js";
|
|
7
7
|
export * from "./CourierOrgProfile3.js";
|
|
8
8
|
export * from "./CourierPayDriverLineItemGroup1.js";
|
|
9
|
-
export * from "./
|
|
9
|
+
export * from "./CourierPayDriverLineItemGroupPreviewRes.js";
|
|
10
|
+
export * from "./CourierPayDriverPayout1.js";
|
|
10
11
|
export * from "./CourierPayDriverRateSheet1.js";
|
|
11
12
|
export * from "./CreateCheckoutSessionRes2.js";
|
|
12
13
|
export * from "./CreateConnectAccountLinkRes.js";
|
|
13
14
|
export * from "./CreateConnectAccountRes.js";
|
|
14
|
-
export * from "./CreateDirectChargeRes.js";
|
|
15
15
|
export * from "./CreateOrderRes.js";
|
|
16
|
+
export * from "./CreateShipperPayCourierPaymentReq.js";
|
|
16
17
|
export * from "./DecodedJwtWithOrgAndUserId.js";
|
|
17
18
|
export * from "./Driver1.js";
|
|
18
19
|
export * from "./DriverStatusEnum.js";
|
|
19
20
|
export * from "./Expense1.js";
|
|
21
|
+
export * from "./GenerateInvoiceRes.js";
|
|
20
22
|
export * from "./GeometryCollectionInputGeometriesItem.js";
|
|
21
23
|
export * from "./GeometryCollection.js";
|
|
22
24
|
export * from "./GeometryCollectionOutputGeometriesItem.js";
|
|
23
25
|
export * from "./GetOrderFullRes.js";
|
|
24
26
|
export * from "./GetOrderRes.js";
|
|
27
|
+
export * from "./GetShipperPayCourierPaymentsForShipperRes.js";
|
|
28
|
+
export * from "./GetShipperPayCourierPaymentsRes.js";
|
|
25
29
|
export * from "./HttpValidationError.js";
|
|
26
|
-
export * from "./Incident1.js";
|
|
27
|
-
export * from "./IncidentEnum1.js";
|
|
28
|
-
export * from "./Insurance1.js";
|
|
29
30
|
export * from "./LineItem1.js";
|
|
31
|
+
export * from "./LineItemClientCreate1.js";
|
|
30
32
|
export * from "./LineItemEnum1.js";
|
|
31
33
|
export * from "./LineString.js";
|
|
32
34
|
export * from "./LocationFeatureInputGeometry.js";
|
|
@@ -44,7 +46,7 @@ export * from "./MultipleTaskGroupsDetailsResponse.js";
|
|
|
44
46
|
export * from "./MultipleTaskGroupsWithTasks.js";
|
|
45
47
|
export * from "./NotificationChannelEnum.js";
|
|
46
48
|
export * from "./ObcNfoTaskActionEnum.js";
|
|
47
|
-
export * from "./
|
|
49
|
+
export * from "./OffChrtShipperOrgInfo1.js";
|
|
48
50
|
export * from "./Order1.js";
|
|
49
51
|
export * from "./OrderClientCreate1.js";
|
|
50
52
|
export * from "./OrderCreatedByTypeEnum.js";
|
|
@@ -53,21 +55,26 @@ export * from "./OrderStatusEnum1.js";
|
|
|
53
55
|
export * from "./OrgMemberDetails.js";
|
|
54
56
|
export * from "./OrgMembersAndDrivers.js";
|
|
55
57
|
export * from "./OrgPublicData2.js";
|
|
56
|
-
export * from "./
|
|
58
|
+
export * from "./PaymentPreviewResponse.js";
|
|
59
|
+
export * from "./PaymentStatusEnum.js";
|
|
60
|
+
export * from "./PayoutStatusEnum.js";
|
|
57
61
|
export * from "./Point.js";
|
|
58
62
|
export * from "./Polygon.js";
|
|
59
63
|
export * from "./Position2D.js";
|
|
60
64
|
export * from "./Position3D.js";
|
|
61
65
|
export * from "./PriceNameEnum.js";
|
|
62
|
-
export * from "./ReceivablesInvoice1.js";
|
|
63
66
|
export * from "./RouteTypeEnum1.js";
|
|
64
67
|
export * from "./ShipperContactInfo1.js";
|
|
65
68
|
export * from "./ShipperContactInfoClientCreate1.js";
|
|
66
|
-
export * from "./ShipperCourierConnection1.js";
|
|
67
69
|
export * from "./ShipperNotificationEventEnum.js";
|
|
68
70
|
export * from "./ShipperNotificationPreferences1.js";
|
|
69
71
|
export * from "./ShipperOrgConnectionInfo1.js";
|
|
70
|
-
export * from "./
|
|
72
|
+
export * from "./ShipperPayCourierLineItemGroup1.js";
|
|
73
|
+
export * from "./ShipperPayCourierLineItemGroupServerCreate1.js";
|
|
74
|
+
export * from "./ShipperPayCourierPayment1.js";
|
|
75
|
+
export * from "./ShipperPayCourierRateSheet1.js";
|
|
76
|
+
export * from "./StripeConnectAccountEvent.js";
|
|
77
|
+
export * from "./StripeConnectAccountEventEnum.js";
|
|
71
78
|
export * from "./Task1.js";
|
|
72
79
|
export * from "./TaskActionEnum1.js";
|
|
73
80
|
export * from "./TaskClientCreate1.js";
|
|
@@ -22,27 +22,29 @@ __exportStar(require("./CourierNotificationPreferences1.js"), exports);
|
|
|
22
22
|
__exportStar(require("./CourierOrgConnectionInfo1.js"), exports);
|
|
23
23
|
__exportStar(require("./CourierOrgProfile3.js"), exports);
|
|
24
24
|
__exportStar(require("./CourierPayDriverLineItemGroup1.js"), exports);
|
|
25
|
-
__exportStar(require("./
|
|
25
|
+
__exportStar(require("./CourierPayDriverLineItemGroupPreviewRes.js"), exports);
|
|
26
|
+
__exportStar(require("./CourierPayDriverPayout1.js"), exports);
|
|
26
27
|
__exportStar(require("./CourierPayDriverRateSheet1.js"), exports);
|
|
27
28
|
__exportStar(require("./CreateCheckoutSessionRes2.js"), exports);
|
|
28
29
|
__exportStar(require("./CreateConnectAccountLinkRes.js"), exports);
|
|
29
30
|
__exportStar(require("./CreateConnectAccountRes.js"), exports);
|
|
30
|
-
__exportStar(require("./CreateDirectChargeRes.js"), exports);
|
|
31
31
|
__exportStar(require("./CreateOrderRes.js"), exports);
|
|
32
|
+
__exportStar(require("./CreateShipperPayCourierPaymentReq.js"), exports);
|
|
32
33
|
__exportStar(require("./DecodedJwtWithOrgAndUserId.js"), exports);
|
|
33
34
|
__exportStar(require("./Driver1.js"), exports);
|
|
34
35
|
__exportStar(require("./DriverStatusEnum.js"), exports);
|
|
35
36
|
__exportStar(require("./Expense1.js"), exports);
|
|
37
|
+
__exportStar(require("./GenerateInvoiceRes.js"), exports);
|
|
36
38
|
__exportStar(require("./GeometryCollectionInputGeometriesItem.js"), exports);
|
|
37
39
|
__exportStar(require("./GeometryCollection.js"), exports);
|
|
38
40
|
__exportStar(require("./GeometryCollectionOutputGeometriesItem.js"), exports);
|
|
39
41
|
__exportStar(require("./GetOrderFullRes.js"), exports);
|
|
40
42
|
__exportStar(require("./GetOrderRes.js"), exports);
|
|
43
|
+
__exportStar(require("./GetShipperPayCourierPaymentsForShipperRes.js"), exports);
|
|
44
|
+
__exportStar(require("./GetShipperPayCourierPaymentsRes.js"), exports);
|
|
41
45
|
__exportStar(require("./HttpValidationError.js"), exports);
|
|
42
|
-
__exportStar(require("./Incident1.js"), exports);
|
|
43
|
-
__exportStar(require("./IncidentEnum1.js"), exports);
|
|
44
|
-
__exportStar(require("./Insurance1.js"), exports);
|
|
45
46
|
__exportStar(require("./LineItem1.js"), exports);
|
|
47
|
+
__exportStar(require("./LineItemClientCreate1.js"), exports);
|
|
46
48
|
__exportStar(require("./LineItemEnum1.js"), exports);
|
|
47
49
|
__exportStar(require("./LineString.js"), exports);
|
|
48
50
|
__exportStar(require("./LocationFeatureInputGeometry.js"), exports);
|
|
@@ -60,7 +62,7 @@ __exportStar(require("./MultipleTaskGroupsDetailsResponse.js"), exports);
|
|
|
60
62
|
__exportStar(require("./MultipleTaskGroupsWithTasks.js"), exports);
|
|
61
63
|
__exportStar(require("./NotificationChannelEnum.js"), exports);
|
|
62
64
|
__exportStar(require("./ObcNfoTaskActionEnum.js"), exports);
|
|
63
|
-
__exportStar(require("./
|
|
65
|
+
__exportStar(require("./OffChrtShipperOrgInfo1.js"), exports);
|
|
64
66
|
__exportStar(require("./Order1.js"), exports);
|
|
65
67
|
__exportStar(require("./OrderClientCreate1.js"), exports);
|
|
66
68
|
__exportStar(require("./OrderCreatedByTypeEnum.js"), exports);
|
|
@@ -69,21 +71,26 @@ __exportStar(require("./OrderStatusEnum1.js"), exports);
|
|
|
69
71
|
__exportStar(require("./OrgMemberDetails.js"), exports);
|
|
70
72
|
__exportStar(require("./OrgMembersAndDrivers.js"), exports);
|
|
71
73
|
__exportStar(require("./OrgPublicData2.js"), exports);
|
|
72
|
-
__exportStar(require("./
|
|
74
|
+
__exportStar(require("./PaymentPreviewResponse.js"), exports);
|
|
75
|
+
__exportStar(require("./PaymentStatusEnum.js"), exports);
|
|
76
|
+
__exportStar(require("./PayoutStatusEnum.js"), exports);
|
|
73
77
|
__exportStar(require("./Point.js"), exports);
|
|
74
78
|
__exportStar(require("./Polygon.js"), exports);
|
|
75
79
|
__exportStar(require("./Position2D.js"), exports);
|
|
76
80
|
__exportStar(require("./Position3D.js"), exports);
|
|
77
81
|
__exportStar(require("./PriceNameEnum.js"), exports);
|
|
78
|
-
__exportStar(require("./ReceivablesInvoice1.js"), exports);
|
|
79
82
|
__exportStar(require("./RouteTypeEnum1.js"), exports);
|
|
80
83
|
__exportStar(require("./ShipperContactInfo1.js"), exports);
|
|
81
84
|
__exportStar(require("./ShipperContactInfoClientCreate1.js"), exports);
|
|
82
|
-
__exportStar(require("./ShipperCourierConnection1.js"), exports);
|
|
83
85
|
__exportStar(require("./ShipperNotificationEventEnum.js"), exports);
|
|
84
86
|
__exportStar(require("./ShipperNotificationPreferences1.js"), exports);
|
|
85
87
|
__exportStar(require("./ShipperOrgConnectionInfo1.js"), exports);
|
|
86
|
-
__exportStar(require("./
|
|
88
|
+
__exportStar(require("./ShipperPayCourierLineItemGroup1.js"), exports);
|
|
89
|
+
__exportStar(require("./ShipperPayCourierLineItemGroupServerCreate1.js"), exports);
|
|
90
|
+
__exportStar(require("./ShipperPayCourierPayment1.js"), exports);
|
|
91
|
+
__exportStar(require("./ShipperPayCourierRateSheet1.js"), exports);
|
|
92
|
+
__exportStar(require("./StripeConnectAccountEvent.js"), exports);
|
|
93
|
+
__exportStar(require("./StripeConnectAccountEventEnum.js"), exports);
|
|
87
94
|
__exportStar(require("./Task1.js"), exports);
|
|
88
95
|
__exportStar(require("./TaskActionEnum1.js"), exports);
|
|
89
96
|
__exportStar(require("./TaskClientCreate1.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.0.
|
|
1
|
+
export declare const SDK_VERSION = "0.0.195";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.d.mts
CHANGED
|
@@ -6,11 +6,14 @@ import * as core from "./core/index.mjs";
|
|
|
6
6
|
import { Dev } from "./api/resources/dev/client/Client.mjs";
|
|
7
7
|
import { Drivers } from "./api/resources/drivers/client/Client.mjs";
|
|
8
8
|
import { Milestones } from "./api/resources/milestones/client/Client.mjs";
|
|
9
|
-
import {
|
|
9
|
+
import { OffChrtShipperOrgInfo } from "./api/resources/offChrtShipperOrgInfo/client/Client.mjs";
|
|
10
10
|
import { OrgProfiles } from "./api/resources/orgProfiles/client/Client.mjs";
|
|
11
11
|
import { Orders } from "./api/resources/orders/client/Client.mjs";
|
|
12
12
|
import { CourierPayDriverRateSheets } from "./api/resources/courierPayDriverRateSheets/client/Client.mjs";
|
|
13
|
+
import { ShipperPayCourierRateSheets } from "./api/resources/shipperPayCourierRateSheets/client/Client.mjs";
|
|
13
14
|
import { CourierPayDriverLineItemGroup } from "./api/resources/courierPayDriverLineItemGroup/client/Client.mjs";
|
|
15
|
+
import { ShipperPayCourierLineItemGroup } from "./api/resources/shipperPayCourierLineItemGroup/client/Client.mjs";
|
|
16
|
+
import { ShipperPayCourierPayments } from "./api/resources/shipperPayCourierPayments/client/Client.mjs";
|
|
14
17
|
import { CourierPayDriverPayouts } from "./api/resources/courierPayDriverPayouts/client/Client.mjs";
|
|
15
18
|
import { Connections } from "./api/resources/connections/client/Client.mjs";
|
|
16
19
|
import { TaskGroups } from "./api/resources/taskGroups/client/Client.mjs";
|
|
@@ -48,11 +51,14 @@ export declare class ChrtClient {
|
|
|
48
51
|
protected _dev: Dev | undefined;
|
|
49
52
|
protected _drivers: Drivers | undefined;
|
|
50
53
|
protected _milestones: Milestones | undefined;
|
|
51
|
-
protected
|
|
54
|
+
protected _offChrtShipperOrgInfo: OffChrtShipperOrgInfo | undefined;
|
|
52
55
|
protected _orgProfiles: OrgProfiles | undefined;
|
|
53
56
|
protected _orders: Orders | undefined;
|
|
54
57
|
protected _courierPayDriverRateSheets: CourierPayDriverRateSheets | undefined;
|
|
58
|
+
protected _shipperPayCourierRateSheets: ShipperPayCourierRateSheets | undefined;
|
|
55
59
|
protected _courierPayDriverLineItemGroup: CourierPayDriverLineItemGroup | undefined;
|
|
60
|
+
protected _shipperPayCourierLineItemGroup: ShipperPayCourierLineItemGroup | undefined;
|
|
61
|
+
protected _shipperPayCourierPayments: ShipperPayCourierPayments | undefined;
|
|
56
62
|
protected _courierPayDriverPayouts: CourierPayDriverPayouts | undefined;
|
|
57
63
|
protected _connections: Connections | undefined;
|
|
58
64
|
protected _taskGroups: TaskGroups | undefined;
|
|
@@ -68,11 +74,14 @@ export declare class ChrtClient {
|
|
|
68
74
|
get dev(): Dev;
|
|
69
75
|
get drivers(): Drivers;
|
|
70
76
|
get milestones(): Milestones;
|
|
71
|
-
get
|
|
77
|
+
get offChrtShipperOrgInfo(): OffChrtShipperOrgInfo;
|
|
72
78
|
get orgProfiles(): OrgProfiles;
|
|
73
79
|
get orders(): Orders;
|
|
74
80
|
get courierPayDriverRateSheets(): CourierPayDriverRateSheets;
|
|
81
|
+
get shipperPayCourierRateSheets(): ShipperPayCourierRateSheets;
|
|
75
82
|
get courierPayDriverLineItemGroup(): CourierPayDriverLineItemGroup;
|
|
83
|
+
get shipperPayCourierLineItemGroup(): ShipperPayCourierLineItemGroup;
|
|
84
|
+
get shipperPayCourierPayments(): ShipperPayCourierPayments;
|
|
76
85
|
get courierPayDriverPayouts(): CourierPayDriverPayouts;
|
|
77
86
|
get connections(): Connections;
|
|
78
87
|
get taskGroups(): TaskGroups;
|