@chrt-inc/typescript-sdk 0.0.174 → 0.0.179
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Client.d.ts +24 -24
- package/dist/cjs/Client.js +48 -48
- package/dist/cjs/api/index.d.ts +1 -1
- package/dist/cjs/api/index.js +1 -1
- package/dist/cjs/api/resources/connections/client/Client.d.ts +8 -8
- package/dist/cjs/api/resources/connections/client/Client.js +14 -14
- package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/connections/resources/connectionToCourier/client/Client.js +1 -1
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/client/Client.d.ts +26 -26
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/client/Client.js +79 -79
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/client/requests/index.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/removeLineItems/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.js +1 -1
- package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.d.ts +16 -12
- package/dist/cjs/api/resources/courierPayDriverPayouts/client/Client.js +27 -23
- package/dist/cjs/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.d.ts +3 -3
- package/dist/cjs/api/resources/courierPayDriverRateSheets/client/Client.d.ts +39 -26
- package/dist/cjs/api/resources/courierPayDriverRateSheets/client/Client.js +112 -67
- package/dist/cjs/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientCreate1.d.ts +24 -24
- package/dist/cjs/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientUpdate1.d.ts +12 -12
- package/dist/cjs/api/resources/courierPayDriverRateSheets/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/courierPayDriverRateSheets/index.d.ts +0 -1
- package/dist/cjs/api/resources/courierPayDriverRateSheets/index.js +0 -1
- package/dist/cjs/api/resources/dev/client/Client.d.ts +18 -10
- package/dist/cjs/api/resources/dev/client/Client.js +58 -50
- package/dist/cjs/api/resources/drivers/client/Client.d.ts +52 -50
- package/dist/cjs/api/resources/drivers/client/Client.js +109 -107
- package/dist/cjs/api/resources/drivers/client/requests/SetDriverActivationReq.d.ts +3 -3
- package/dist/cjs/api/resources/drivers/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/index.d.ts +14 -15
- package/dist/cjs/api/resources/index.js +15 -16
- package/dist/cjs/api/resources/milestoneNotifications/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/milestoneNotifications/client/Client.js +2 -2
- package/dist/cjs/api/resources/milestoneNotifications/client/requests/MilestoneNotificationPreferencesClientCreate1.d.ts +3 -3
- package/dist/cjs/api/resources/milestones/client/Client.d.ts +16 -16
- package/dist/cjs/api/resources/milestones/client/Client.js +25 -25
- package/dist/cjs/api/resources/milestones/client/requests/MilestoneAddToTaskReq.d.ts +1 -1
- package/dist/cjs/api/resources/milestones/client/requests/MilestoneUpdateReq.d.ts +1 -1
- package/dist/cjs/api/resources/milestones/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/milestones/resources/blurhash/client/Client.d.ts +1 -5
- package/dist/cjs/api/resources/milestones/resources/blurhash/client/Client.js +1 -5
- package/dist/cjs/api/resources/milestones/resources/images/client/Client.d.ts +14 -14
- package/dist/cjs/api/resources/milestones/resources/images/client/Client.js +35 -35
- package/dist/cjs/api/resources/milestones/resources/index.d.ts +1 -1
- package/dist/cjs/api/resources/milestones/resources/index.js +2 -2
- package/dist/cjs/api/resources/notifications/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/notifications/client/Client.js +6 -6
- package/dist/cjs/api/resources/notifications/resources/courierPreferences/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/notifications/resources/courierPreferences/client/Client.js +2 -2
- package/dist/cjs/api/resources/notifications/resources/courierPreferences/client/requests/CourierNotificationPreferencesClientCreate1.d.ts +3 -3
- package/dist/cjs/api/resources/notifications/resources/index.d.ts +2 -2
- package/dist/cjs/api/resources/notifications/resources/index.js +3 -3
- package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.js +2 -2
- package/dist/cjs/api/resources/notifications/resources/shipper/client/requests/ShipperNotificationPreferencesClientCreate1.d.ts +3 -3
- package/dist/cjs/api/resources/offChrtShipperOrgConnectionInfo/client/Client.d.ts +6 -6
- package/dist/cjs/api/resources/offChrtShipperOrgConnectionInfo/client/Client.js +6 -6
- package/dist/cjs/api/resources/offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.d.ts +8 -8
- package/dist/cjs/api/resources/offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.d.ts +4 -4
- package/dist/cjs/api/resources/orders/client/Client.d.ts +30 -26
- package/dist/cjs/api/resources/orders/client/Client.js +74 -70
- package/dist/cjs/api/resources/orders/client/requests/CreateOrderReq.d.ts +16 -16
- package/dist/cjs/api/resources/orders/resources/full/client/Client.d.ts +12 -12
- package/dist/cjs/api/resources/orders/resources/full/client/Client.js +33 -33
- package/dist/cjs/api/resources/orgConnectionInfos/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/orgConnectionInfos/client/Client.js +6 -6
- 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 +5 -5
- package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientCreate1.d.ts +7 -7
- package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientUpdate1.d.ts +4 -4
- package/dist/cjs/api/resources/orgConnectionInfos/resources/index.d.ts +2 -2
- package/dist/cjs/api/resources/orgConnectionInfos/resources/index.js +3 -3
- 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 +5 -5
- package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientCreate1.d.ts +7 -7
- package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientUpdate1.d.ts +4 -4
- package/dist/cjs/api/resources/orgProfiles/client/Client.d.ts +15 -17
- package/dist/cjs/api/resources/orgProfiles/client/Client.js +43 -49
- package/dist/cjs/api/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate3.d.ts +3 -3
- package/dist/cjs/api/resources/orgProfiles/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/orgs/client/Client.d.ts +41 -37
- package/dist/cjs/api/resources/orgs/client/Client.js +90 -86
- package/dist/cjs/api/resources/orgs/client/requests/CreateOrgPublicDataReq.d.ts +3 -3
- package/dist/cjs/api/resources/orgs/client/requests/UpdateOrgPublicDataReq.d.ts +1 -1
- package/dist/cjs/api/resources/payments/client/Client.d.ts +3 -7
- package/dist/cjs/api/resources/payments/client/Client.js +3 -7
- package/dist/cjs/api/resources/root/client/Client.d.ts +19 -13
- package/dist/cjs/api/resources/root/client/Client.js +31 -25
- package/dist/cjs/api/resources/shipperContactInfo/client/Client.d.ts +42 -42
- package/dist/cjs/api/resources/shipperContactInfo/client/Client.js +90 -90
- package/dist/cjs/api/resources/shipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.d.ts +4 -4
- package/dist/cjs/api/resources/taskGroups/client/Client.d.ts +24 -18
- package/dist/cjs/api/resources/taskGroups/client/Client.js +43 -37
- package/dist/cjs/api/resources/taskGroups/client/requests/UpdateTaskGroupReq.d.ts +2 -2
- package/dist/cjs/api/resources/taskGroups/resources/full/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/taskGroups/resources/full/client/Client.js +2 -2
- package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/Client.d.ts +4 -2
- package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/Client.js +4 -2
- package/dist/cjs/api/resources/taskGroups/resources/togglePause/client/requests/SetTaskGroupPauseReq.d.ts +3 -3
- package/dist/cjs/api/resources/users/client/Client.d.ts +2 -0
- package/dist/cjs/api/resources/users/client/Client.js +2 -0
- package/dist/cjs/api/types/Cargo1.d.ts +6 -6
- package/dist/cjs/api/types/CargoClientCreate1.d.ts +3 -3
- package/dist/cjs/api/types/CourierNotificationPreferences1.d.ts +9 -9
- package/dist/cjs/api/types/CourierOrgConnectionInfo1.d.ts +10 -10
- package/dist/cjs/api/types/CourierOrgProfile3.d.ts +3 -3
- package/dist/cjs/api/types/CourierPayDriverLineItemGroup1.d.ts +5 -5
- package/dist/cjs/api/types/CourierPayDriverLineItemGroupClientCreate1.d.ts +1 -1
- package/dist/cjs/api/types/CourierPayDriverRateSheet1.d.ts +16 -16
- package/dist/cjs/api/types/DecodedJwtWithOrgAndUserId.d.ts +8 -8
- package/dist/cjs/api/types/Driver1.d.ts +6 -6
- package/dist/cjs/api/types/Expense1.d.ts +3 -3
- package/dist/cjs/api/types/Feature.d.ts +3 -3
- package/dist/cjs/api/types/GetOrderFullRes.d.ts +2 -2
- package/dist/cjs/api/types/Incident1.d.ts +1 -1
- package/dist/cjs/api/types/Insurance1.d.ts +1 -1
- package/dist/cjs/api/types/LineItem1.d.ts +1 -1
- package/dist/cjs/api/types/Milestone1.d.ts +13 -13
- package/dist/cjs/api/types/MilestoneClientCreate1.d.ts +1 -1
- package/dist/cjs/api/types/MilestoneNotificationPreferences1.d.ts +9 -9
- package/dist/cjs/api/types/OffChrtShipperOrgConnectionInfo1.d.ts +11 -11
- package/dist/cjs/api/types/Order1.d.ts +11 -11
- package/dist/cjs/api/types/OrgMemberDetails.d.ts +2 -2
- package/dist/cjs/api/types/OrgMembersAndDrivers.d.ts +1 -1
- package/dist/cjs/api/types/OrgPublicData2.d.ts +4 -4
- package/dist/cjs/api/types/PayablesInvoice1.d.ts +11 -11
- package/dist/cjs/api/types/ReceivablesInvoice1.d.ts +7 -7
- package/dist/cjs/api/types/ShipperContactInfo1.d.ts +11 -11
- package/dist/cjs/api/types/ShipperContactInfoClientCreate1.d.ts +6 -6
- package/dist/cjs/api/types/ShipperCourierConnection1.d.ts +4 -4
- package/dist/cjs/api/types/ShipperNotificationPreferences1.d.ts +9 -9
- package/dist/cjs/api/types/ShipperOrgConnectionInfo1.d.ts +6 -6
- package/dist/cjs/api/types/StripeConnectInvoice1.d.ts +5 -5
- package/dist/cjs/api/types/Task1.d.ts +13 -13
- package/dist/cjs/api/types/TaskClientCreate1.d.ts +4 -4
- package/dist/cjs/api/types/TaskCreateBundle.d.ts +2 -2
- package/dist/cjs/api/types/TaskGroup1.d.ts +11 -11
- package/dist/cjs/api/types/TaskWithDetails.d.ts +2 -2
- package/dist/cjs/api/types/Tracker1.d.ts +1 -1
- package/dist/cjs/api/types/TrackerSession1.d.ts +1 -1
- package/dist/cjs/api/types/UserPublicData6.d.ts +6 -6
- package/dist/cjs/api/types/Vehicle1.d.ts +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +24 -24
- package/dist/esm/Client.mjs +36 -36
- package/dist/esm/api/index.d.mts +1 -1
- package/dist/esm/api/index.mjs +1 -1
- package/dist/esm/api/resources/connections/client/Client.d.mts +8 -8
- package/dist/esm/api/resources/connections/client/Client.mjs +14 -14
- package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/connections/resources/connectionToCourier/client/Client.mjs +1 -1
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/client/Client.d.mts +26 -26
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/client/Client.mjs +79 -79
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/client/requests/index.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/removeLineItems/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/resources/removeLineItems/client/Client.mjs +1 -1
- package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.d.mts +16 -12
- package/dist/esm/api/resources/courierPayDriverPayouts/client/Client.mjs +27 -23
- package/dist/esm/api/resources/courierPayDriverPayouts/client/requests/CourierPayDriverPayoutClientCreate1.d.mts +3 -3
- package/dist/esm/api/resources/courierPayDriverRateSheets/client/Client.d.mts +39 -26
- package/dist/esm/api/resources/courierPayDriverRateSheets/client/Client.mjs +112 -67
- package/dist/esm/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientCreate1.d.mts +24 -24
- package/dist/esm/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientUpdate1.d.mts +12 -12
- package/dist/esm/api/resources/courierPayDriverRateSheets/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/courierPayDriverRateSheets/index.d.mts +0 -1
- package/dist/esm/api/resources/courierPayDriverRateSheets/index.mjs +0 -1
- package/dist/esm/api/resources/dev/client/Client.d.mts +18 -10
- package/dist/esm/api/resources/dev/client/Client.mjs +58 -50
- package/dist/esm/api/resources/drivers/client/Client.d.mts +52 -50
- package/dist/esm/api/resources/drivers/client/Client.mjs +109 -107
- package/dist/esm/api/resources/drivers/client/requests/SetDriverActivationReq.d.mts +3 -3
- package/dist/esm/api/resources/drivers/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/index.d.mts +14 -15
- package/dist/esm/api/resources/index.mjs +14 -15
- package/dist/esm/api/resources/milestoneNotifications/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/milestoneNotifications/client/Client.mjs +2 -2
- package/dist/esm/api/resources/milestoneNotifications/client/requests/MilestoneNotificationPreferencesClientCreate1.d.mts +3 -3
- package/dist/esm/api/resources/milestones/client/Client.d.mts +16 -16
- package/dist/esm/api/resources/milestones/client/Client.mjs +24 -24
- package/dist/esm/api/resources/milestones/client/requests/MilestoneAddToTaskReq.d.mts +1 -1
- package/dist/esm/api/resources/milestones/client/requests/MilestoneUpdateReq.d.mts +1 -1
- package/dist/esm/api/resources/milestones/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/milestones/resources/blurhash/client/Client.d.mts +1 -5
- package/dist/esm/api/resources/milestones/resources/blurhash/client/Client.mjs +1 -5
- package/dist/esm/api/resources/milestones/resources/images/client/Client.d.mts +14 -14
- package/dist/esm/api/resources/milestones/resources/images/client/Client.mjs +35 -35
- package/dist/esm/api/resources/milestones/resources/index.d.mts +1 -1
- package/dist/esm/api/resources/milestones/resources/index.mjs +1 -1
- package/dist/esm/api/resources/notifications/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/notifications/client/Client.mjs +5 -5
- package/dist/esm/api/resources/notifications/resources/courierPreferences/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/notifications/resources/courierPreferences/client/Client.mjs +2 -2
- package/dist/esm/api/resources/notifications/resources/courierPreferences/client/requests/CourierNotificationPreferencesClientCreate1.d.mts +3 -3
- package/dist/esm/api/resources/notifications/resources/index.d.mts +2 -2
- package/dist/esm/api/resources/notifications/resources/index.mjs +2 -2
- package/dist/esm/api/resources/notifications/resources/shipper/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/notifications/resources/shipper/client/Client.mjs +2 -2
- package/dist/esm/api/resources/notifications/resources/shipper/client/requests/ShipperNotificationPreferencesClientCreate1.d.mts +3 -3
- package/dist/esm/api/resources/offChrtShipperOrgConnectionInfo/client/Client.d.mts +6 -6
- package/dist/esm/api/resources/offChrtShipperOrgConnectionInfo/client/Client.mjs +6 -6
- package/dist/esm/api/resources/offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientCreate1.d.mts +8 -8
- package/dist/esm/api/resources/offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.d.mts +4 -4
- package/dist/esm/api/resources/orders/client/Client.d.mts +30 -26
- package/dist/esm/api/resources/orders/client/Client.mjs +74 -70
- package/dist/esm/api/resources/orders/client/requests/CreateOrderReq.d.mts +16 -16
- package/dist/esm/api/resources/orders/resources/full/client/Client.d.mts +12 -12
- package/dist/esm/api/resources/orders/resources/full/client/Client.mjs +33 -33
- package/dist/esm/api/resources/orgConnectionInfos/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/orgConnectionInfos/client/Client.mjs +5 -5
- 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 +5 -5
- package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientCreate1.d.mts +7 -7
- package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientUpdate1.d.mts +4 -4
- package/dist/esm/api/resources/orgConnectionInfos/resources/index.d.mts +2 -2
- package/dist/esm/api/resources/orgConnectionInfos/resources/index.mjs +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 +5 -5
- package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientCreate1.d.mts +7 -7
- package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientUpdate1.d.mts +4 -4
- package/dist/esm/api/resources/orgProfiles/client/Client.d.mts +15 -17
- package/dist/esm/api/resources/orgProfiles/client/Client.mjs +43 -49
- package/dist/esm/api/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate3.d.mts +3 -3
- package/dist/esm/api/resources/orgProfiles/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/orgs/client/Client.d.mts +41 -37
- package/dist/esm/api/resources/orgs/client/Client.mjs +90 -86
- package/dist/esm/api/resources/orgs/client/requests/CreateOrgPublicDataReq.d.mts +3 -3
- package/dist/esm/api/resources/orgs/client/requests/UpdateOrgPublicDataReq.d.mts +1 -1
- package/dist/esm/api/resources/payments/client/Client.d.mts +3 -7
- package/dist/esm/api/resources/payments/client/Client.mjs +3 -7
- package/dist/esm/api/resources/root/client/Client.d.mts +19 -13
- package/dist/esm/api/resources/root/client/Client.mjs +31 -25
- package/dist/esm/api/resources/shipperContactInfo/client/Client.d.mts +42 -42
- package/dist/esm/api/resources/shipperContactInfo/client/Client.mjs +90 -90
- package/dist/esm/api/resources/shipperContactInfo/client/requests/ShipperContactInfoClientUpdate1.d.mts +4 -4
- package/dist/esm/api/resources/taskGroups/client/Client.d.mts +24 -18
- package/dist/esm/api/resources/taskGroups/client/Client.mjs +43 -37
- package/dist/esm/api/resources/taskGroups/client/requests/UpdateTaskGroupReq.d.mts +2 -2
- package/dist/esm/api/resources/taskGroups/resources/full/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/taskGroups/resources/full/client/Client.mjs +2 -2
- package/dist/esm/api/resources/taskGroups/resources/togglePause/client/Client.d.mts +4 -2
- package/dist/esm/api/resources/taskGroups/resources/togglePause/client/Client.mjs +4 -2
- package/dist/esm/api/resources/taskGroups/resources/togglePause/client/requests/SetTaskGroupPauseReq.d.mts +3 -3
- package/dist/esm/api/resources/users/client/Client.d.mts +2 -0
- package/dist/esm/api/resources/users/client/Client.mjs +2 -0
- package/dist/esm/api/types/Cargo1.d.mts +6 -6
- package/dist/esm/api/types/CargoClientCreate1.d.mts +3 -3
- package/dist/esm/api/types/CourierNotificationPreferences1.d.mts +9 -9
- package/dist/esm/api/types/CourierOrgConnectionInfo1.d.mts +10 -10
- package/dist/esm/api/types/CourierOrgProfile3.d.mts +3 -3
- package/dist/esm/api/types/CourierPayDriverLineItemGroup1.d.mts +5 -5
- package/dist/esm/api/types/CourierPayDriverLineItemGroupClientCreate1.d.mts +1 -1
- package/dist/esm/api/types/CourierPayDriverRateSheet1.d.mts +16 -16
- package/dist/esm/api/types/DecodedJwtWithOrgAndUserId.d.mts +8 -8
- package/dist/esm/api/types/Driver1.d.mts +6 -6
- package/dist/esm/api/types/Expense1.d.mts +3 -3
- package/dist/esm/api/types/Feature.d.mts +3 -3
- package/dist/esm/api/types/GetOrderFullRes.d.mts +2 -2
- package/dist/esm/api/types/Incident1.d.mts +1 -1
- package/dist/esm/api/types/Insurance1.d.mts +1 -1
- package/dist/esm/api/types/LineItem1.d.mts +1 -1
- package/dist/esm/api/types/Milestone1.d.mts +13 -13
- package/dist/esm/api/types/MilestoneClientCreate1.d.mts +1 -1
- package/dist/esm/api/types/MilestoneNotificationPreferences1.d.mts +9 -9
- package/dist/esm/api/types/OffChrtShipperOrgConnectionInfo1.d.mts +11 -11
- package/dist/esm/api/types/Order1.d.mts +11 -11
- package/dist/esm/api/types/OrgMemberDetails.d.mts +2 -2
- package/dist/esm/api/types/OrgMembersAndDrivers.d.mts +1 -1
- package/dist/esm/api/types/OrgPublicData2.d.mts +4 -4
- package/dist/esm/api/types/PayablesInvoice1.d.mts +11 -11
- package/dist/esm/api/types/ReceivablesInvoice1.d.mts +7 -7
- package/dist/esm/api/types/ShipperContactInfo1.d.mts +11 -11
- package/dist/esm/api/types/ShipperContactInfoClientCreate1.d.mts +6 -6
- package/dist/esm/api/types/ShipperCourierConnection1.d.mts +4 -4
- package/dist/esm/api/types/ShipperNotificationPreferences1.d.mts +9 -9
- package/dist/esm/api/types/ShipperOrgConnectionInfo1.d.mts +6 -6
- package/dist/esm/api/types/StripeConnectInvoice1.d.mts +5 -5
- package/dist/esm/api/types/Task1.d.mts +13 -13
- package/dist/esm/api/types/TaskClientCreate1.d.mts +4 -4
- package/dist/esm/api/types/TaskCreateBundle.d.mts +2 -2
- package/dist/esm/api/types/TaskGroup1.d.mts +11 -11
- package/dist/esm/api/types/TaskWithDetails.d.mts +2 -2
- package/dist/esm/api/types/Tracker1.d.mts +1 -1
- package/dist/esm/api/types/TrackerSession1.d.mts +1 -1
- package/dist/esm/api/types/UserPublicData6.d.mts +6 -6
- package/dist/esm/api/types/Vehicle1.d.mts +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1156 -779
- package/dist/cjs/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetsGetRequest.d.ts +0 -11
- package/dist/cjs/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetsGetRequest.js +0 -5
- package/dist/cjs/api/resources/courierPayDriverRateSheets/types/CourierPayDriverRateSheetsGetResponse.d.ts +0 -5
- package/dist/cjs/api/resources/courierPayDriverRateSheets/types/CourierPayDriverRateSheetsGetResponse.js +0 -5
- package/dist/cjs/api/resources/courierPayDriverRateSheets/types/index.d.ts +0 -1
- package/dist/cjs/api/resources/courierPayDriverRateSheets/types/index.js +0 -17
- package/dist/cjs/api/resources/orgProfiles/client/requests/OrgProfilesGetAvatarRequest.d.ts +0 -12
- package/dist/cjs/api/resources/orgProfiles/client/requests/OrgProfilesGetAvatarRequest.js +0 -5
- package/dist/esm/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetsGetRequest.d.mts +0 -11
- package/dist/esm/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetsGetRequest.mjs +0 -4
- package/dist/esm/api/resources/courierPayDriverRateSheets/types/CourierPayDriverRateSheetsGetResponse.d.mts +0 -5
- package/dist/esm/api/resources/courierPayDriverRateSheets/types/CourierPayDriverRateSheetsGetResponse.mjs +0 -4
- package/dist/esm/api/resources/courierPayDriverRateSheets/types/index.d.mts +0 -1
- package/dist/esm/api/resources/courierPayDriverRateSheets/types/index.mjs +0 -1
- package/dist/esm/api/resources/orgProfiles/client/requests/OrgProfilesGetAvatarRequest.d.mts +0 -12
- package/dist/esm/api/resources/orgProfiles/client/requests/OrgProfilesGetAvatarRequest.mjs +0 -4
|
@@ -3,25 +3,25 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.js";
|
|
5
5
|
export interface Milestone1 {
|
|
6
|
+
schema_version: number;
|
|
7
|
+
type: Chrt.MilestoneTypeEnum1;
|
|
8
|
+
requestor_comments?: string;
|
|
6
9
|
_id: string;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
+
order_id: string;
|
|
11
|
+
order_short_id: string;
|
|
12
|
+
task_id: string;
|
|
10
13
|
completed_at_timestamp?: string;
|
|
14
|
+
completed_at_geojson_feature?: Chrt.Feature;
|
|
11
15
|
/** Must be a string starting with `user_` */
|
|
12
16
|
completed_by_user_id?: string;
|
|
13
|
-
|
|
17
|
+
completed: boolean;
|
|
18
|
+
s3_milestone_file_metadata_ids?: string[];
|
|
14
19
|
decoded_scans?: string[];
|
|
20
|
+
requested_by_shipper: boolean;
|
|
21
|
+
completor_comments?: string;
|
|
22
|
+
chrt_comments?: string;
|
|
15
23
|
notification_email_ids?: string[];
|
|
16
|
-
notification_push_ids?: string[];
|
|
17
24
|
notification_sms_ids?: string[];
|
|
25
|
+
notification_push_ids?: string[];
|
|
18
26
|
notification_voice_ids?: string[];
|
|
19
|
-
order_id: string;
|
|
20
|
-
order_short_id: string;
|
|
21
|
-
requested_by_shipper: boolean;
|
|
22
|
-
requestor_comments?: string;
|
|
23
|
-
s3_milestone_file_metadata_ids?: string[];
|
|
24
|
-
schema_version: number;
|
|
25
|
-
task_id: string;
|
|
26
|
-
type: Chrt.MilestoneTypeEnum1;
|
|
27
27
|
}
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.js";
|
|
5
5
|
export interface MilestoneNotificationPreferences1 {
|
|
6
|
-
_id: string;
|
|
7
|
-
created_at: string;
|
|
8
|
-
/** Must be a string starting with `user_` */
|
|
9
|
-
created_by_user_id: string;
|
|
10
|
-
email_addresses?: string[];
|
|
11
|
-
/** Must be a string starting with `org_` */
|
|
12
|
-
org_id: string;
|
|
13
|
-
/** For each TaskActionEnum1, which channels (email/sms/voice) are enabled */
|
|
14
|
-
preferences?: Record<string, Chrt.NotificationChannelEnum[]>;
|
|
15
6
|
schema_version: number;
|
|
7
|
+
email_addresses?: string[];
|
|
16
8
|
sms_phone_numbers?: string[];
|
|
17
9
|
voice_phone_numbers?: string[];
|
|
10
|
+
/** For each TaskActionEnum1, which channels (email/sms/voice) are enabled */
|
|
11
|
+
preferences?: Record<string, Chrt.NotificationChannelEnum[]>;
|
|
12
|
+
/** Must be a string starting with `org_` */
|
|
13
|
+
org_id: string;
|
|
14
|
+
/** Must be a string starting with `user_` */
|
|
15
|
+
created_by_user_id: string;
|
|
16
|
+
created_at: string;
|
|
17
|
+
_id: string;
|
|
18
18
|
}
|
|
@@ -3,21 +3,21 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.js";
|
|
5
5
|
export interface OffChrtShipperOrgConnectionInfo1 {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
schema_version: number;
|
|
7
|
+
industry?: string;
|
|
8
|
+
street_address?: Chrt.Feature;
|
|
8
9
|
contact_first_name?: string;
|
|
9
10
|
contact_last_name?: string;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
/** Must be a string starting with `user_` */
|
|
13
|
-
created_by_user_id: string;
|
|
11
|
+
phone_number_primary?: string;
|
|
12
|
+
phone_number_secondary?: string;
|
|
14
13
|
email_address_primary: string;
|
|
15
14
|
email_address_secondary?: string;
|
|
16
|
-
industry?: string;
|
|
17
15
|
job_title?: string;
|
|
18
16
|
notes?: string;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
company_name?: string;
|
|
18
|
+
/** Must be a string starting with `org_` */
|
|
19
|
+
created_by_org_id: string;
|
|
20
|
+
/** Must be a string starting with `user_` */
|
|
21
|
+
created_by_user_id: string;
|
|
22
|
+
_id: string;
|
|
23
23
|
}
|
|
@@ -3,27 +3,27 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.js";
|
|
5
5
|
export interface Order1 {
|
|
6
|
+
schema_version: number;
|
|
6
7
|
_id: string;
|
|
8
|
+
short_id: string;
|
|
9
|
+
order_created_by_type: Chrt.OrderCreatedByTypeEnum;
|
|
10
|
+
order_dispatch_type: Chrt.OrderDispatchTypeEnum;
|
|
11
|
+
transport_type: Chrt.TransportTypeEnum;
|
|
7
12
|
/** Must be a string starting with `org_` */
|
|
8
13
|
created_by_org_id: string;
|
|
9
14
|
/** Must be a string starting with `user_` */
|
|
10
15
|
created_by_user_id: string;
|
|
11
16
|
draft_started_at: string;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
order_created_by_type: Chrt.OrderCreatedByTypeEnum;
|
|
15
|
-
order_dispatch_type: Chrt.OrderDispatchTypeEnum;
|
|
16
|
-
order_level_expenses_ids?: string[];
|
|
17
|
-
order_level_receivables_line_items?: Chrt.LineItem1[];
|
|
17
|
+
task_group_ids?: string[];
|
|
18
|
+
stripe_connect_invoice_id?: string;
|
|
18
19
|
receivables_invoice_id?: string;
|
|
19
|
-
schema_version: number;
|
|
20
20
|
/** Must be a string starting with `org_` */
|
|
21
21
|
shipper_org_id?: string;
|
|
22
22
|
/** Must be a string starting with `user_` */
|
|
23
23
|
shipper_user_id?: string;
|
|
24
|
-
|
|
24
|
+
off_chrt_shipper_org_connection_info_id?: string;
|
|
25
|
+
order_level_expenses_ids?: string[];
|
|
26
|
+
order_level_receivables_line_items?: Chrt.LineItem1[];
|
|
25
27
|
status?: Chrt.OrderStatusEnum1;
|
|
26
|
-
|
|
27
|
-
task_group_ids?: string[];
|
|
28
|
-
transport_type: Chrt.TransportTypeEnum;
|
|
28
|
+
order_cancelled?: boolean;
|
|
29
29
|
}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
export interface OrgMemberDetails {
|
|
5
|
-
first_name?: string;
|
|
6
|
-
last_name?: string;
|
|
7
5
|
role: string;
|
|
8
6
|
role_name?: string;
|
|
9
7
|
/** Must be a string starting with `user_` */
|
|
10
8
|
user_id: string;
|
|
9
|
+
first_name?: string;
|
|
10
|
+
last_name?: string;
|
|
11
11
|
}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
export interface OrgPublicData2 {
|
|
5
|
-
|
|
6
|
-
company_name?: string;
|
|
7
|
-
handle: string;
|
|
5
|
+
schema_version: number;
|
|
8
6
|
/** Must be a string starting with `org_` */
|
|
9
7
|
org_id: string;
|
|
10
|
-
|
|
8
|
+
handle: string;
|
|
9
|
+
company_name?: string;
|
|
10
|
+
_id: string;
|
|
11
11
|
}
|
|
@@ -3,22 +3,22 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.js";
|
|
5
5
|
export interface PayablesInvoice1 {
|
|
6
|
+
schema_version: number;
|
|
6
7
|
_id: string;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
order_id: string;
|
|
9
|
+
order_short_id: string;
|
|
10
|
+
task_group_id?: string;
|
|
11
|
+
line_items?: Chrt.LineItem1[];
|
|
12
|
+
status: PayablesInvoice1.Status;
|
|
12
13
|
courier_approved?: boolean;
|
|
13
14
|
courier_approved_at?: string;
|
|
14
15
|
/** Must be a string starting with `user_` */
|
|
15
16
|
courier_approved_by_user_id?: string;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
task_group_id?: string;
|
|
17
|
+
chrt_approved?: boolean;
|
|
18
|
+
chrt_approved_at?: string;
|
|
19
|
+
/** Must be a string starting with `user_` */
|
|
20
|
+
chrt_approved_by_user_id?: string;
|
|
21
|
+
chrt_approved_by_automation?: string;
|
|
22
22
|
}
|
|
23
23
|
export declare namespace PayablesInvoice1 {
|
|
24
24
|
type Status = "draft" | "pending_approvals" | "approved" | "pending_payment" | "payment_processing" | "payment_error" | "paid";
|
|
@@ -3,22 +3,22 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.js";
|
|
5
5
|
export interface ReceivablesInvoice1 {
|
|
6
|
+
schema_version: number;
|
|
6
7
|
_id: string;
|
|
8
|
+
order_id: string;
|
|
9
|
+
order_short_id: string;
|
|
10
|
+
task_group_ids?: string[];
|
|
11
|
+
line_items?: Chrt.LineItem1[];
|
|
12
|
+
status: ReceivablesInvoice1.Status;
|
|
7
13
|
chrt_approved?: boolean;
|
|
8
14
|
chrt_approved_at?: string;
|
|
9
|
-
chrt_approved_by_automation?: string;
|
|
10
15
|
/** Must be a string starting with `user_` */
|
|
11
16
|
chrt_approved_by_user_id?: string;
|
|
12
|
-
|
|
13
|
-
order_id: string;
|
|
14
|
-
order_short_id: string;
|
|
15
|
-
schema_version: number;
|
|
17
|
+
chrt_approved_by_automation?: string;
|
|
16
18
|
shipper_approved?: boolean;
|
|
17
19
|
shipper_approved_at?: string;
|
|
18
20
|
/** Must be a string starting with `user_` */
|
|
19
21
|
shipper_approved_by_user_id?: string;
|
|
20
|
-
status: ReceivablesInvoice1.Status;
|
|
21
|
-
task_group_ids?: string[];
|
|
22
22
|
}
|
|
23
23
|
export declare namespace ReceivablesInvoice1 {
|
|
24
24
|
type Status = "draft" | "pending_approvals" | "approved" | "pending_payment" | "payment_processing" | "payment_error" | "paid";
|
|
@@ -3,26 +3,26 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.js";
|
|
5
5
|
export interface ShipperContactInfo1 {
|
|
6
|
-
|
|
6
|
+
schema_version: number;
|
|
7
7
|
company_name?: string;
|
|
8
|
+
industry?: string;
|
|
9
|
+
street_address?: Chrt.Feature;
|
|
8
10
|
contact_first_name?: string;
|
|
9
11
|
contact_last_name?: string;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
/** Must be a string starting with `user_` */
|
|
13
|
-
created_by_user_id: string;
|
|
12
|
+
phone_number_primary?: string;
|
|
13
|
+
phone_number_secondary?: string;
|
|
14
14
|
email_address_primary?: string;
|
|
15
15
|
email_address_secondary?: string;
|
|
16
|
-
industry?: string;
|
|
17
16
|
job_title?: string;
|
|
18
17
|
notes?: string;
|
|
19
|
-
off_chrt_shipper_org_connection_info_id?: string;
|
|
20
|
-
phone_number_primary?: string;
|
|
21
|
-
phone_number_secondary?: string;
|
|
22
|
-
schema_version: number;
|
|
23
18
|
/** Must be a string starting with `org_` */
|
|
24
19
|
shipper_org_id?: string;
|
|
25
20
|
/** Must be a string starting with `user_` */
|
|
26
21
|
shipper_user_id?: string;
|
|
27
|
-
|
|
22
|
+
off_chrt_shipper_org_connection_info_id?: string;
|
|
23
|
+
/** Must be a string starting with `org_` */
|
|
24
|
+
created_by_org_id: string;
|
|
25
|
+
/** Must be a string starting with `user_` */
|
|
26
|
+
created_by_user_id: string;
|
|
27
|
+
_id: string;
|
|
28
28
|
}
|
|
@@ -3,21 +3,21 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.js";
|
|
5
5
|
export interface ShipperContactInfoClientCreate1 {
|
|
6
|
+
schema_version: number;
|
|
6
7
|
company_name?: string;
|
|
8
|
+
industry?: string;
|
|
9
|
+
street_address?: Chrt.Feature;
|
|
7
10
|
contact_first_name?: string;
|
|
8
11
|
contact_last_name?: string;
|
|
12
|
+
phone_number_primary?: string;
|
|
13
|
+
phone_number_secondary?: string;
|
|
9
14
|
email_address_primary?: string;
|
|
10
15
|
email_address_secondary?: string;
|
|
11
|
-
industry?: string;
|
|
12
16
|
job_title?: string;
|
|
13
17
|
notes?: string;
|
|
14
|
-
off_chrt_shipper_org_connection_info_id?: string;
|
|
15
|
-
phone_number_primary?: string;
|
|
16
|
-
phone_number_secondary?: string;
|
|
17
|
-
schema_version: number;
|
|
18
18
|
/** Must be a string starting with `org_` */
|
|
19
19
|
shipper_org_id?: string;
|
|
20
20
|
/** Must be a string starting with `user_` */
|
|
21
21
|
shipper_user_id?: string;
|
|
22
|
-
|
|
22
|
+
off_chrt_shipper_org_connection_info_id?: string;
|
|
23
23
|
}
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
export interface ShipperCourierConnection1 {
|
|
5
|
-
|
|
5
|
+
schema_version: number;
|
|
6
|
+
/** Must be a string starting with `org_` */
|
|
7
|
+
shipper_org_id: string;
|
|
6
8
|
/** Must be a string starting with `org_` */
|
|
7
9
|
courier_org_id: string;
|
|
8
10
|
/** Must be a string starting with `user_` */
|
|
9
11
|
created_by_user_id: string;
|
|
10
|
-
|
|
11
|
-
/** Must be a string starting with `org_` */
|
|
12
|
-
shipper_org_id: string;
|
|
12
|
+
_id: string;
|
|
13
13
|
}
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.js";
|
|
5
5
|
export interface ShipperNotificationPreferences1 {
|
|
6
|
-
_id: string;
|
|
7
|
-
created_at: string;
|
|
8
|
-
/** Must be a string starting with `user_` */
|
|
9
|
-
created_by_user_id: string;
|
|
10
|
-
email_addresses?: string[];
|
|
11
|
-
/** Must be a string starting with `org_` */
|
|
12
|
-
org_id: string;
|
|
13
|
-
/** For each ShipperNotificationEventEnum, which channels (email/sms/push/phone_call) are enabled */
|
|
14
|
-
preferences?: Record<string, Chrt.NotificationChannelEnum[]>;
|
|
15
6
|
schema_version: number;
|
|
7
|
+
email_addresses?: string[];
|
|
16
8
|
sms_phone_numbers?: string[];
|
|
17
9
|
voice_phone_numbers?: string[];
|
|
10
|
+
/** For each ShipperNotificationEventEnum, which channels (email/sms/push/phone_call) are enabled */
|
|
11
|
+
preferences?: Record<string, Chrt.NotificationChannelEnum[]>;
|
|
12
|
+
/** Must be a string starting with `org_` */
|
|
13
|
+
org_id: string;
|
|
14
|
+
/** Must be a string starting with `user_` */
|
|
15
|
+
created_by_user_id: string;
|
|
16
|
+
created_at: string;
|
|
17
|
+
_id: string;
|
|
18
18
|
}
|
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.js";
|
|
5
5
|
export interface ShipperOrgConnectionInfo1 {
|
|
6
|
-
|
|
6
|
+
schema_version: number;
|
|
7
|
+
industry?: string;
|
|
8
|
+
street_address?: Chrt.Feature;
|
|
7
9
|
contact_first_name?: string;
|
|
8
10
|
contact_last_name?: string;
|
|
11
|
+
phone_number_primary?: string;
|
|
12
|
+
phone_number_secondary?: string;
|
|
9
13
|
email_address_primary: string;
|
|
10
14
|
email_address_secondary?: string;
|
|
11
|
-
industry?: string;
|
|
12
15
|
job_title?: string;
|
|
13
16
|
notes?: string;
|
|
14
|
-
phone_number_primary?: string;
|
|
15
|
-
phone_number_secondary?: string;
|
|
16
|
-
schema_version: number;
|
|
17
17
|
/** Must be a string starting with `org_` */
|
|
18
18
|
shipper_org_id: string;
|
|
19
19
|
/** Must be a string starting with `user_` */
|
|
20
20
|
shipper_user_id?: string;
|
|
21
|
-
|
|
21
|
+
_id: string;
|
|
22
22
|
}
|
|
@@ -3,20 +3,20 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.js";
|
|
5
5
|
export interface StripeConnectInvoice1 {
|
|
6
|
+
schema_version: number;
|
|
6
7
|
_id: string;
|
|
8
|
+
order_id: string;
|
|
9
|
+
task_group_id?: string;
|
|
10
|
+
line_items?: Chrt.LineItem1[];
|
|
11
|
+
status: StripeConnectInvoice1.Status;
|
|
7
12
|
courier_approved?: boolean;
|
|
8
13
|
courier_approved_at?: string;
|
|
9
14
|
/** Must be a string starting with `user_` */
|
|
10
15
|
courier_approved_by_user_id?: string;
|
|
11
|
-
line_items?: Chrt.LineItem1[];
|
|
12
|
-
order_id: string;
|
|
13
|
-
schema_version: number;
|
|
14
16
|
shipper_approved?: boolean;
|
|
15
17
|
shipper_approved_at?: string;
|
|
16
18
|
/** Must be a string starting with `user_` */
|
|
17
19
|
shipper_approved_by_user_id?: string;
|
|
18
|
-
status: StripeConnectInvoice1.Status;
|
|
19
|
-
task_group_id?: string;
|
|
20
20
|
}
|
|
21
21
|
export declare namespace StripeConnectInvoice1 {
|
|
22
22
|
type Status = "draft" | "pending_approvals" | "approved" | "pending_payment" | "payment_processing" | "payment_error" | "paid";
|
|
@@ -3,28 +3,28 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.js";
|
|
5
5
|
export interface Task1 {
|
|
6
|
-
|
|
6
|
+
schema_version: number;
|
|
7
|
+
location?: Chrt.Feature;
|
|
7
8
|
action?: Task1.Action;
|
|
8
|
-
|
|
9
|
+
shipper_contact_info_ids?: string[];
|
|
9
10
|
arrive_by?: string;
|
|
10
|
-
|
|
11
|
+
arrive_at?: string;
|
|
11
12
|
comments?: string;
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
flight_number?: string;
|
|
14
|
+
_id: string;
|
|
15
|
+
order_id: string;
|
|
16
|
+
order_short_id: string;
|
|
14
17
|
/** Must be a string starting with `org_` */
|
|
15
18
|
created_by_org_id: string;
|
|
16
19
|
/** Must be a string starting with `user_` */
|
|
17
20
|
created_by_user_id: string;
|
|
18
|
-
|
|
21
|
+
order_cancelled?: boolean;
|
|
22
|
+
completed?: boolean;
|
|
23
|
+
completed_at?: string;
|
|
24
|
+
cargo_ids?: string[];
|
|
25
|
+
milestone_ids?: string[];
|
|
19
26
|
incident_ids?: string[];
|
|
20
27
|
insurance_ids?: string[];
|
|
21
|
-
location?: Chrt.Feature;
|
|
22
|
-
milestone_ids?: string[];
|
|
23
|
-
order_cancelled?: boolean;
|
|
24
|
-
order_id: string;
|
|
25
|
-
order_short_id: string;
|
|
26
|
-
schema_version: number;
|
|
27
|
-
shipper_contact_info_ids?: string[];
|
|
28
28
|
}
|
|
29
29
|
export declare namespace Task1 {
|
|
30
30
|
type Action = Chrt.TaskActionEnum1 | Chrt.ObcNfoTaskActionEnum;
|
|
@@ -3,14 +3,14 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.js";
|
|
5
5
|
export interface TaskClientCreate1 {
|
|
6
|
+
schema_version: number;
|
|
7
|
+
location?: Chrt.Feature;
|
|
6
8
|
action?: TaskClientCreate1.Action;
|
|
7
|
-
|
|
9
|
+
shipper_contact_info_ids?: string[];
|
|
8
10
|
arrive_by?: string;
|
|
11
|
+
arrive_at?: string;
|
|
9
12
|
comments?: string;
|
|
10
13
|
flight_number?: string;
|
|
11
|
-
location?: Chrt.Feature;
|
|
12
|
-
schema_version: number;
|
|
13
|
-
shipper_contact_info_ids?: string[];
|
|
14
14
|
}
|
|
15
15
|
export declare namespace TaskClientCreate1 {
|
|
16
16
|
type Action = Chrt.TaskActionEnum1 | Chrt.ObcNfoTaskActionEnum;
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.js";
|
|
5
5
|
export interface TaskCreateBundle {
|
|
6
|
+
task_client_create: Chrt.TaskClientCreate1;
|
|
7
|
+
milestone_client_creates?: Chrt.MilestoneClientCreate1[];
|
|
6
8
|
/** Client-side generated UUID that is used with cargo_client_creates_map to find a oort.CargoClientCreate1 object */
|
|
7
9
|
cargo_client_creates_uuids?: string[];
|
|
8
10
|
/** Email addresses to send notifications to for each milestone */
|
|
9
11
|
email_addresses?: string[];
|
|
10
12
|
flight_number?: string;
|
|
11
|
-
milestone_client_creates?: Chrt.MilestoneClientCreate1[];
|
|
12
|
-
task_client_create: Chrt.TaskClientCreate1;
|
|
13
13
|
}
|
|
@@ -3,22 +3,22 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.js";
|
|
5
5
|
export interface TaskGroup1 {
|
|
6
|
+
schema_version: number;
|
|
6
7
|
_id: string;
|
|
7
|
-
completed?: boolean;
|
|
8
|
-
completed_at?: string;
|
|
9
|
-
/** Must be a string starting with `org_` */
|
|
10
|
-
courier_org_id?: string;
|
|
11
|
-
driver_id?: string;
|
|
12
|
-
line_items?: Chrt.LineItem1[];
|
|
13
|
-
order_cancelled?: boolean;
|
|
14
8
|
order_id: string;
|
|
15
9
|
order_short_id: string;
|
|
16
|
-
|
|
10
|
+
task_ids: string[];
|
|
11
|
+
line_items?: Chrt.LineItem1[];
|
|
17
12
|
payables_invoice_id?: string;
|
|
18
|
-
schema_version: number;
|
|
19
13
|
/** Must be a string starting with `org_` */
|
|
20
14
|
shipper_org_id?: string;
|
|
21
|
-
|
|
15
|
+
/** Must be a string starting with `org_` */
|
|
16
|
+
courier_org_id?: string;
|
|
17
|
+
order_cancelled?: boolean;
|
|
22
18
|
status?: Chrt.TaskGroupStatusEnum1;
|
|
23
|
-
|
|
19
|
+
driver_id?: string;
|
|
20
|
+
started_at?: string;
|
|
21
|
+
completed_at?: string;
|
|
22
|
+
completed?: boolean;
|
|
23
|
+
paused?: boolean;
|
|
24
24
|
}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
export interface UserPublicData6 {
|
|
5
|
-
|
|
6
|
-
courier_profile_is_public: boolean;
|
|
5
|
+
schema_version: number;
|
|
7
6
|
created_at: string;
|
|
8
|
-
customer_id?: string;
|
|
9
7
|
last_edited: string;
|
|
10
|
-
|
|
11
|
-
primary_email_address?: string;
|
|
12
|
-
schema_version: number;
|
|
8
|
+
courier_profile_is_public: boolean;
|
|
13
9
|
user_id: string;
|
|
10
|
+
customer_id?: string;
|
|
11
|
+
primary_email_address?: string;
|
|
12
|
+
notes?: Record<string, unknown>;
|
|
13
|
+
_id: string;
|
|
14
14
|
}
|
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.179";
|
package/dist/cjs/version.js
CHANGED