@chrt-inc/typescript-sdk 0.0.174 → 0.0.183-b
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 +85 -85
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/client/requests/CourierPayDriverLineItemGroupCreateRequest.d.ts +4 -4
- package/dist/cjs/api/resources/courierPayDriverLineItemGroup/client/requests/CourierPayDriverLineItemGroupPreviewRequest.d.ts +4 -4
- 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 +25 -25
- package/dist/cjs/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientUpdate1.d.ts +19 -19
- 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 +28 -10
- package/dist/cjs/api/resources/dev/client/Client.js +103 -46
- 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/DriverCreateReq.d.ts +1 -1
- package/dist/cjs/api/resources/drivers/client/requests/SetDriverActivationReq.d.ts +3 -3
- package/dist/cjs/api/resources/drivers/client/requests/UpdateDriverDetailsReq.d.ts +5 -5
- 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 +2 -2
- 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/images/client/requests/BodyPostMilestonesUploadImageOortMilestonesImagesUploadMilestoneIdPost.d.ts +1 -1
- 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 +13 -13
- package/dist/cjs/api/resources/offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.d.ts +10 -10
- 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 +18 -18
- 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 +12 -12
- package/dist/cjs/api/resources/orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientUpdate1.d.ts +10 -10
- 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 +12 -12
- package/dist/cjs/api/resources/orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientUpdate1.d.ts +10 -10
- 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/CourierOrgProfileClientUpdate3.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 +2 -2
- 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 +11 -11
- 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 +7 -7
- package/dist/cjs/api/types/CargoClientCreate1.d.ts +6 -6
- package/dist/cjs/api/types/CourierNotificationPreferences1.d.ts +9 -9
- package/dist/cjs/api/types/CourierOrgConnectionInfo1.d.ts +13 -13
- 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 +17 -17
- package/dist/cjs/api/types/DecodedJwtWithOrgAndUserId.d.ts +17 -17
- package/dist/cjs/api/types/Driver1.d.ts +14 -14
- package/dist/cjs/api/types/Expense1.d.ts +4 -4
- package/dist/cjs/api/types/Feature.d.ts +4 -4
- 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 +17 -17
- 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 +13 -13
- package/dist/cjs/api/types/Order1.d.ts +14 -14
- package/dist/cjs/api/types/OrgMemberDetails.d.ts +3 -3
- 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 +12 -12
- package/dist/cjs/api/types/ReceivablesInvoice1.d.ts +11 -11
- package/dist/cjs/api/types/ShipperContactInfo1.d.ts +18 -18
- package/dist/cjs/api/types/ShipperContactInfoClientCreate1.d.ts +14 -14
- 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 +12 -12
- package/dist/cjs/api/types/StripeConnectInvoice1.d.ts +9 -9
- package/dist/cjs/api/types/Task1.d.ts +16 -16
- package/dist/cjs/api/types/TaskClientCreate1.d.ts +7 -7
- package/dist/cjs/api/types/TaskCreateBundle.d.ts +5 -5
- package/dist/cjs/api/types/TaskGroup1.d.ts +13 -13
- 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 +85 -85
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/client/requests/CourierPayDriverLineItemGroupCreateRequest.d.mts +4 -4
- package/dist/esm/api/resources/courierPayDriverLineItemGroup/client/requests/CourierPayDriverLineItemGroupPreviewRequest.d.mts +4 -4
- 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 +25 -25
- package/dist/esm/api/resources/courierPayDriverRateSheets/client/requests/CourierPayDriverRateSheetClientUpdate1.d.mts +19 -19
- 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 +28 -10
- package/dist/esm/api/resources/dev/client/Client.mjs +103 -46
- 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/DriverCreateReq.d.mts +1 -1
- package/dist/esm/api/resources/drivers/client/requests/SetDriverActivationReq.d.mts +3 -3
- package/dist/esm/api/resources/drivers/client/requests/UpdateDriverDetailsReq.d.mts +5 -5
- 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 +2 -2
- 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/images/client/requests/BodyPostMilestonesUploadImageOortMilestonesImagesUploadMilestoneIdPost.d.mts +1 -1
- 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 +13 -13
- package/dist/esm/api/resources/offChrtShipperOrgConnectionInfo/client/requests/OffChrtShipperOrgConnectionInfoClientUpdate1.d.mts +10 -10
- 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 +18 -18
- 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 +12 -12
- package/dist/esm/api/resources/orgConnectionInfos/resources/courier/client/requests/CourierOrgConnectionInfoClientUpdate1.d.mts +10 -10
- 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 +12 -12
- package/dist/esm/api/resources/orgConnectionInfos/resources/shipper/client/requests/ShipperOrgConnectionInfoClientUpdate1.d.mts +10 -10
- 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/CourierOrgProfileClientUpdate3.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 +2 -2
- 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 +11 -11
- 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 +7 -7
- package/dist/esm/api/types/CargoClientCreate1.d.mts +6 -6
- package/dist/esm/api/types/CourierNotificationPreferences1.d.mts +9 -9
- package/dist/esm/api/types/CourierOrgConnectionInfo1.d.mts +13 -13
- 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 +17 -17
- package/dist/esm/api/types/DecodedJwtWithOrgAndUserId.d.mts +17 -17
- package/dist/esm/api/types/Driver1.d.mts +14 -14
- package/dist/esm/api/types/Expense1.d.mts +4 -4
- package/dist/esm/api/types/Feature.d.mts +4 -4
- 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 +17 -17
- 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 +13 -13
- package/dist/esm/api/types/Order1.d.mts +14 -14
- package/dist/esm/api/types/OrgMemberDetails.d.mts +3 -3
- 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 +12 -12
- package/dist/esm/api/types/ReceivablesInvoice1.d.mts +11 -11
- package/dist/esm/api/types/ShipperContactInfo1.d.mts +18 -18
- package/dist/esm/api/types/ShipperContactInfoClientCreate1.d.mts +14 -14
- 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 +12 -12
- package/dist/esm/api/types/StripeConnectInvoice1.d.mts +9 -9
- package/dist/esm/api/types/Task1.d.mts +16 -16
- package/dist/esm/api/types/TaskClientCreate1.d.mts +7 -7
- package/dist/esm/api/types/TaskCreateBundle.d.mts +5 -5
- package/dist/esm/api/types/TaskGroup1.d.mts +13 -13
- 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 +1196 -764
- 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
|
@@ -69,32 +69,34 @@ export class OrgProfiles {
|
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
71
|
/**
|
|
72
|
-
*
|
|
72
|
+
* Create a new courier organization profile. This endpoint will fail if a profile already exists for the organization.
|
|
73
73
|
*
|
|
74
|
-
* @param {Chrt.
|
|
74
|
+
* @param {Chrt.CourierOrgProfileClientCreate3} request
|
|
75
75
|
* @param {OrgProfiles.RequestOptions} requestOptions - Request-specific configuration.
|
|
76
76
|
*
|
|
77
77
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
78
78
|
*
|
|
79
79
|
* @example
|
|
80
|
-
* await client.orgProfiles.
|
|
81
|
-
*
|
|
80
|
+
* await client.orgProfiles.create({
|
|
81
|
+
* schema_version: 1,
|
|
82
|
+
* description: "description",
|
|
83
|
+
* email_address_primary: "email_address_primary",
|
|
84
|
+
* phone_number_primary: "phone_number_primary"
|
|
82
85
|
* })
|
|
83
86
|
*/
|
|
84
|
-
|
|
85
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
87
|
+
create(request, requestOptions) {
|
|
88
|
+
return core.HttpResponsePromise.fromPromise(this.__create(request, requestOptions));
|
|
86
89
|
}
|
|
87
|
-
|
|
90
|
+
__create(request, requestOptions) {
|
|
88
91
|
return __awaiter(this, void 0, void 0, function* () {
|
|
89
92
|
var _a, _b, _c, _d;
|
|
90
|
-
const { handle } = request;
|
|
91
|
-
const _queryParams = {};
|
|
92
|
-
_queryParams["handle"] = handle;
|
|
93
93
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
94
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "oort/org_profiles/
|
|
95
|
-
method: "
|
|
94
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "oort/org_profiles/create"),
|
|
95
|
+
method: "POST",
|
|
96
96
|
headers: mergeHeaders((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
97
|
-
|
|
97
|
+
contentType: "application/json",
|
|
98
|
+
requestType: "json",
|
|
99
|
+
body: request,
|
|
98
100
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
99
101
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
100
102
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -122,7 +124,7 @@ export class OrgProfiles {
|
|
|
122
124
|
rawResponse: _response.rawResponse,
|
|
123
125
|
});
|
|
124
126
|
case "timeout":
|
|
125
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
127
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /oort/org_profiles/create.");
|
|
126
128
|
case "unknown":
|
|
127
129
|
throw new errors.ChrtError({
|
|
128
130
|
message: _response.error.errorMessage,
|
|
@@ -132,30 +134,25 @@ export class OrgProfiles {
|
|
|
132
134
|
});
|
|
133
135
|
}
|
|
134
136
|
/**
|
|
135
|
-
*
|
|
137
|
+
* Update an existing courier organization profile. Can update one or more fields. Profile must exist before updating.
|
|
136
138
|
*
|
|
137
|
-
* @param {Chrt.
|
|
139
|
+
* @param {Chrt.CourierOrgProfileClientUpdate3} request
|
|
138
140
|
* @param {OrgProfiles.RequestOptions} requestOptions - Request-specific configuration.
|
|
139
141
|
*
|
|
140
142
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
141
143
|
*
|
|
142
144
|
* @example
|
|
143
|
-
* await client.orgProfiles.
|
|
144
|
-
* description: "description",
|
|
145
|
-
* email_address_primary: "email_address_primary",
|
|
146
|
-
* phone_number_primary: "phone_number_primary",
|
|
147
|
-
* schema_version: 1
|
|
148
|
-
* })
|
|
145
|
+
* await client.orgProfiles.update()
|
|
149
146
|
*/
|
|
150
|
-
|
|
151
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
147
|
+
update(request = {}, requestOptions) {
|
|
148
|
+
return core.HttpResponsePromise.fromPromise(this.__update(request, requestOptions));
|
|
152
149
|
}
|
|
153
|
-
|
|
154
|
-
return __awaiter(this,
|
|
150
|
+
__update() {
|
|
151
|
+
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
155
152
|
var _a, _b, _c, _d;
|
|
156
153
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
157
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "oort/org_profiles/
|
|
158
|
-
method: "
|
|
154
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, "oort/org_profiles/update"),
|
|
155
|
+
method: "PATCH",
|
|
159
156
|
headers: mergeHeaders((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
160
157
|
contentType: "application/json",
|
|
161
158
|
requestType: "json",
|
|
@@ -187,7 +184,7 @@ export class OrgProfiles {
|
|
|
187
184
|
rawResponse: _response.rawResponse,
|
|
188
185
|
});
|
|
189
186
|
case "timeout":
|
|
190
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
187
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /oort/org_profiles/update.");
|
|
191
188
|
case "unknown":
|
|
192
189
|
throw new errors.ChrtError({
|
|
193
190
|
message: _response.error.errorMessage,
|
|
@@ -197,29 +194,26 @@ export class OrgProfiles {
|
|
|
197
194
|
});
|
|
198
195
|
}
|
|
199
196
|
/**
|
|
200
|
-
*
|
|
197
|
+
* Retrieve a courier organization profile using the organization's handle. This endpoint is used for public profile viewing.
|
|
201
198
|
*
|
|
202
|
-
* @param {
|
|
199
|
+
* @param {string} handle
|
|
203
200
|
* @param {OrgProfiles.RequestOptions} requestOptions - Request-specific configuration.
|
|
204
201
|
*
|
|
205
202
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
206
203
|
*
|
|
207
204
|
* @example
|
|
208
|
-
* await client.orgProfiles.
|
|
205
|
+
* await client.orgProfiles.getByHandle("handle")
|
|
209
206
|
*/
|
|
210
|
-
|
|
211
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
207
|
+
getByHandle(handle, requestOptions) {
|
|
208
|
+
return core.HttpResponsePromise.fromPromise(this.__getByHandle(handle, requestOptions));
|
|
212
209
|
}
|
|
213
|
-
|
|
214
|
-
return __awaiter(this,
|
|
210
|
+
__getByHandle(handle, requestOptions) {
|
|
211
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
215
212
|
var _a, _b, _c, _d;
|
|
216
213
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
217
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local,
|
|
218
|
-
method: "
|
|
214
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, `oort/org_profiles/${encodeURIComponent(handle)}`),
|
|
215
|
+
method: "GET",
|
|
219
216
|
headers: mergeHeaders((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
220
|
-
contentType: "application/json",
|
|
221
|
-
requestType: "json",
|
|
222
|
-
body: request,
|
|
223
217
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
224
218
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
225
219
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -247,7 +241,7 @@ export class OrgProfiles {
|
|
|
247
241
|
rawResponse: _response.rawResponse,
|
|
248
242
|
});
|
|
249
243
|
case "timeout":
|
|
250
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling
|
|
244
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/org_profiles/{handle}.");
|
|
251
245
|
case "unknown":
|
|
252
246
|
throw new errors.ChrtError({
|
|
253
247
|
message: _response.error.errorMessage,
|
|
@@ -257,7 +251,7 @@ export class OrgProfiles {
|
|
|
257
251
|
});
|
|
258
252
|
}
|
|
259
253
|
/**
|
|
260
|
-
*
|
|
254
|
+
* Returns the image URL from Clerk or a placeholder if not found.
|
|
261
255
|
*
|
|
262
256
|
* @param {string} handle
|
|
263
257
|
* @param {OrgProfiles.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -265,16 +259,16 @@ export class OrgProfiles {
|
|
|
265
259
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
266
260
|
*
|
|
267
261
|
* @example
|
|
268
|
-
* await client.orgProfiles.
|
|
262
|
+
* await client.orgProfiles.getAvatar("handle")
|
|
269
263
|
*/
|
|
270
|
-
|
|
271
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
264
|
+
getAvatar(handle, requestOptions) {
|
|
265
|
+
return core.HttpResponsePromise.fromPromise(this.__getAvatar(handle, requestOptions));
|
|
272
266
|
}
|
|
273
|
-
|
|
267
|
+
__getAvatar(handle, requestOptions) {
|
|
274
268
|
return __awaiter(this, void 0, void 0, function* () {
|
|
275
269
|
var _a, _b, _c, _d;
|
|
276
270
|
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({
|
|
277
|
-
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, `oort/org_profiles/${encodeURIComponent(handle)}`),
|
|
271
|
+
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.ChrtEnvironment.Local, `oort/org_profiles/avatar/${encodeURIComponent(handle)}`),
|
|
278
272
|
method: "GET",
|
|
279
273
|
headers: mergeHeaders((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
280
274
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -304,7 +298,7 @@ export class OrgProfiles {
|
|
|
304
298
|
rawResponse: _response.rawResponse,
|
|
305
299
|
});
|
|
306
300
|
case "timeout":
|
|
307
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/org_profiles/{handle}.");
|
|
301
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/org_profiles/avatar/{handle}.");
|
|
308
302
|
case "unknown":
|
|
309
303
|
throw new errors.ChrtError({
|
|
310
304
|
message: _response.error.errorMessage,
|
package/dist/esm/api/resources/orgProfiles/client/requests/CourierOrgProfileClientCreate3.d.mts
CHANGED
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* @example
|
|
6
6
|
* {
|
|
7
|
+
* schema_version: 1,
|
|
7
8
|
* description: "description",
|
|
8
9
|
* email_address_primary: "email_address_primary",
|
|
9
|
-
* phone_number_primary: "phone_number_primary"
|
|
10
|
-
* schema_version: 1
|
|
10
|
+
* phone_number_primary: "phone_number_primary"
|
|
11
11
|
* }
|
|
12
12
|
*/
|
|
13
13
|
export interface CourierOrgProfileClientCreate3 {
|
|
14
|
+
schema_version: number;
|
|
14
15
|
description: string;
|
|
15
16
|
email_address_primary: string;
|
|
16
17
|
phone_number_primary: string;
|
|
17
|
-
schema_version: number;
|
|
18
18
|
}
|
package/dist/esm/api/resources/orgProfiles/client/requests/CourierOrgProfileClientUpdate3.d.mts
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* {}
|
|
7
7
|
*/
|
|
8
8
|
export interface CourierOrgProfileClientUpdate3 {
|
|
9
|
-
description?: string;
|
|
10
|
-
email_address_primary?: string;
|
|
11
|
-
phone_number_primary?: string;
|
|
9
|
+
description?: string | null;
|
|
10
|
+
email_address_primary?: string | null;
|
|
11
|
+
phone_number_primary?: string | null;
|
|
12
12
|
}
|
|
@@ -29,56 +29,73 @@ export declare class Orgs {
|
|
|
29
29
|
protected readonly _options: Orgs.Options;
|
|
30
30
|
constructor(_options?: Orgs.Options);
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* Retrieves basic organization information from the authentication service.
|
|
33
33
|
*
|
|
34
34
|
* @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
|
|
35
35
|
*
|
|
36
36
|
* @example
|
|
37
|
-
* await client.orgs.
|
|
37
|
+
* await client.orgs.getInfo()
|
|
38
38
|
*/
|
|
39
|
-
|
|
40
|
-
private
|
|
39
|
+
getInfo(requestOptions?: Orgs.RequestOptions): core.HttpResponsePromise<unknown>;
|
|
40
|
+
private __getInfo;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* Lists all members of the authenticated organization with their roles and details.
|
|
43
43
|
*
|
|
44
|
-
* @param {string} handle
|
|
45
44
|
* @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
|
|
46
45
|
*
|
|
47
|
-
* @
|
|
46
|
+
* @example
|
|
47
|
+
* await client.orgs.listMembers()
|
|
48
|
+
*/
|
|
49
|
+
listMembers(requestOptions?: Orgs.RequestOptions): core.HttpResponsePromise<Chrt.OrgMemberDetails[]>;
|
|
50
|
+
private __listMembers;
|
|
51
|
+
/**
|
|
52
|
+
* Retrieves public organization data for the authenticated organization.
|
|
53
|
+
*
|
|
54
|
+
* @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
|
|
48
55
|
*
|
|
49
56
|
* @example
|
|
50
|
-
* await client.orgs.
|
|
57
|
+
* await client.orgs.getPublicData()
|
|
51
58
|
*/
|
|
52
|
-
|
|
53
|
-
private
|
|
59
|
+
getPublicData(requestOptions?: Orgs.RequestOptions): core.HttpResponsePromise<Chrt.OrgPublicData2>;
|
|
60
|
+
private __getPublicData;
|
|
54
61
|
/**
|
|
62
|
+
* Retrieves public organization data for a specific organization by ID.
|
|
63
|
+
*
|
|
64
|
+
* @param {string} orgId
|
|
55
65
|
* @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
|
|
56
66
|
*
|
|
67
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
68
|
+
*
|
|
57
69
|
* @example
|
|
58
|
-
* await client.orgs.
|
|
70
|
+
* await client.orgs.getPublicDataByOrgId("org_id")
|
|
59
71
|
*/
|
|
60
|
-
|
|
61
|
-
private
|
|
72
|
+
getPublicDataByOrgId(orgId: string, requestOptions?: Orgs.RequestOptions): core.HttpResponsePromise<Chrt.OrgPublicData2>;
|
|
73
|
+
private __getPublicDataByOrgId;
|
|
62
74
|
/**
|
|
75
|
+
* Retrieves the organization handle for the authenticated organization.
|
|
76
|
+
*
|
|
63
77
|
* @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
|
|
64
78
|
*
|
|
65
79
|
* @example
|
|
66
|
-
* await client.orgs.
|
|
80
|
+
* await client.orgs.getHandle()
|
|
67
81
|
*/
|
|
68
|
-
|
|
69
|
-
private
|
|
82
|
+
getHandle(requestOptions?: Orgs.RequestOptions): core.HttpResponsePromise<string>;
|
|
83
|
+
private __getHandle;
|
|
70
84
|
/**
|
|
71
|
-
*
|
|
85
|
+
* Checks if an organization handle is available for use.
|
|
72
86
|
*
|
|
87
|
+
* @param {string} handle
|
|
73
88
|
* @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
|
|
74
89
|
*
|
|
90
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
91
|
+
*
|
|
75
92
|
* @example
|
|
76
|
-
* await client.orgs.
|
|
93
|
+
* await client.orgs.getHandleAvailability("handle")
|
|
77
94
|
*/
|
|
78
|
-
|
|
79
|
-
private
|
|
95
|
+
getHandleAvailability(handle: string, requestOptions?: Orgs.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
96
|
+
private __getHandleAvailability;
|
|
80
97
|
/**
|
|
81
|
-
*
|
|
98
|
+
* Creates public organization data with handle and company name for the authenticated organization.
|
|
82
99
|
*
|
|
83
100
|
* @param {Chrt.CreateOrgPublicDataReq} request
|
|
84
101
|
* @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -87,14 +104,14 @@ export declare class Orgs {
|
|
|
87
104
|
*
|
|
88
105
|
* @example
|
|
89
106
|
* await client.orgs.createPublicData({
|
|
90
|
-
*
|
|
91
|
-
*
|
|
107
|
+
* handle: "handle",
|
|
108
|
+
* company_name: "company_name"
|
|
92
109
|
* })
|
|
93
110
|
*/
|
|
94
111
|
createPublicData(request: Chrt.CreateOrgPublicDataReq, requestOptions?: Orgs.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
95
112
|
private __createPublicData;
|
|
96
113
|
/**
|
|
97
|
-
*
|
|
114
|
+
* Updates the organization handle or company name for the authenticated organization.
|
|
98
115
|
*
|
|
99
116
|
* @param {Chrt.UpdateOrgPublicDataReq} request
|
|
100
117
|
* @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -106,18 +123,5 @@ export declare class Orgs {
|
|
|
106
123
|
*/
|
|
107
124
|
updatePublicData(request?: Chrt.UpdateOrgPublicDataReq, requestOptions?: Orgs.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
108
125
|
private __updatePublicData;
|
|
109
|
-
/**
|
|
110
|
-
* Get the org public data for the org from org_id
|
|
111
|
-
*
|
|
112
|
-
* @param {string} orgId
|
|
113
|
-
* @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
|
|
114
|
-
*
|
|
115
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
116
|
-
*
|
|
117
|
-
* @example
|
|
118
|
-
* await client.orgs.getPublicDataByOrgId("org_id")
|
|
119
|
-
*/
|
|
120
|
-
getPublicDataByOrgId(orgId: string, requestOptions?: Orgs.RequestOptions): core.HttpResponsePromise<Chrt.OrgPublicData2>;
|
|
121
|
-
private __getPublicDataByOrgId;
|
|
122
126
|
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
123
127
|
}
|