@chrt-inc/typescript-sdk 1.363.0 → 1.378.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Client.d.ts +6 -6
- package/dist/cjs/Client.js +36 -36
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.js +1 -1
- package/dist/cjs/api/resources/directoryEntries/client/Client.d.ts +99 -0
- package/dist/cjs/api/resources/directoryEntries/client/Client.js +364 -0
- package/dist/cjs/api/{types/ShipperContactClientCreate1.d.ts → resources/directoryEntries/client/requests/DirectoryEntryClientCreate1.d.ts} +11 -7
- package/dist/cjs/api/resources/{shipperContactInfo/client/requests/ShipperContactClientUpdate1.d.ts → directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.ts} +2 -2
- package/dist/cjs/api/resources/directoryEntries/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/drivers/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/index.d.ts +3 -4
- package/dist/cjs/api/resources/index.js +4 -5
- package/dist/cjs/api/resources/notifications/client/Client.d.ts +12 -41
- package/dist/cjs/api/resources/notifications/client/Client.js +16 -169
- package/dist/cjs/api/resources/notifications/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/notifications/client/index.js +0 -15
- package/dist/cjs/api/resources/notifications/index.d.ts +1 -0
- package/dist/cjs/api/resources/notifications/index.js +1 -0
- package/dist/cjs/api/resources/notifications/resources/adHoc/client/Client.d.ts +77 -0
- package/dist/cjs/api/resources/notifications/resources/adHoc/client/Client.js +252 -0
- package/dist/cjs/api/resources/notifications/resources/adHoc/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/notifications/resources/adHoc/client/index.js +17 -0
- package/dist/cjs/api/resources/notifications/resources/adHoc/client/requests/NotificationIntentAdHocClientCreate1.d.ts +18 -0
- package/dist/cjs/api/resources/notifications/resources/adHoc/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/notifications/resources/adHoc/index.d.ts +1 -0
- package/dist/cjs/api/resources/notifications/resources/adHoc/index.js +17 -0
- package/dist/cjs/api/resources/notifications/resources/groups/client/Client.d.ts +209 -0
- package/dist/cjs/api/resources/{shipperContactInfo → notifications/resources/groups}/client/Client.js +305 -118
- package/dist/cjs/api/resources/notifications/resources/groups/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/notifications/resources/groups/client/index.js +17 -0
- package/dist/cjs/api/resources/notifications/resources/groups/client/requests/GroupsUpdateNameV1Request.d.ts +12 -0
- package/dist/cjs/api/resources/notifications/resources/groups/client/requests/NotificationGroupClientCreate1.d.ts +14 -0
- package/dist/cjs/api/resources/notifications/resources/groups/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/notifications/resources/groups/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/notifications/resources/groups/index.d.ts +1 -0
- package/dist/cjs/api/resources/notifications/resources/groups/index.js +17 -0
- package/dist/cjs/api/resources/notifications/resources/index.d.ts +7 -0
- package/dist/cjs/api/resources/notifications/resources/index.js +46 -0
- package/dist/cjs/api/resources/notifications/resources/userPreferences/client/Client.d.ts +67 -0
- package/dist/cjs/api/resources/notifications/resources/userPreferences/client/Client.js +232 -0
- package/dist/cjs/api/resources/notifications/resources/userPreferences/client/index.d.ts +2 -0
- package/dist/cjs/api/resources/notifications/resources/userPreferences/client/index.js +17 -0
- package/dist/cjs/api/resources/notifications/resources/userPreferences/client/requests/UserNotificationPreferencesUpdateRequest.d.ts +15 -0
- package/dist/cjs/api/resources/notifications/resources/userPreferences/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/notifications/resources/userPreferences/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/notifications/resources/userPreferences/index.d.ts +1 -0
- package/dist/cjs/api/resources/notifications/resources/userPreferences/index.js +17 -0
- package/dist/cjs/api/resources/notifications/resources/webhookSetup/client/Client.d.ts +74 -0
- package/dist/cjs/api/resources/notifications/resources/webhookSetup/client/Client.js +271 -0
- package/dist/cjs/api/resources/notifications/resources/webhookSetup/client/index.js +2 -0
- package/dist/cjs/api/resources/notifications/resources/webhookSetup/index.d.ts +1 -0
- package/dist/cjs/api/resources/notifications/resources/webhookSetup/index.js +17 -0
- package/dist/cjs/api/types/BillingLineItemGroupMessageWebhookPayload.d.ts +13 -0
- package/dist/cjs/api/types/BillingLineItemGroupS3ObjectAddedWebhookPayload.d.ts +13 -0
- package/dist/cjs/api/types/BillingLineItemGroupS3ObjectAddedWebhookPayload.js +5 -0
- package/dist/cjs/api/types/BillingStatementOpenedWebhookPayload.d.ts +11 -0
- package/dist/cjs/api/types/BillingStatementOpenedWebhookPayload.js +5 -0
- package/dist/cjs/api/types/BillingStatementPaidWebhookPayload.d.ts +11 -0
- package/dist/cjs/api/types/BillingStatementPaidWebhookPayload.js +5 -0
- package/dist/cjs/api/types/{ShipperContact1.d.ts → DirectoryEntry1.d.ts} +4 -6
- package/dist/cjs/api/types/DirectoryEntry1.js +5 -0
- package/dist/cjs/api/types/{Driver1.d.ts → Driver1Input.d.ts} +1 -1
- package/dist/cjs/api/types/Driver1Input.js +5 -0
- package/dist/cjs/api/types/Driver1Output.d.ts +27 -0
- package/dist/cjs/api/types/Driver1Output.js +5 -0
- package/dist/cjs/api/types/NotificationChannelsEnum.d.ts +12 -0
- package/dist/cjs/api/types/NotificationChannelsEnum.js +11 -0
- package/dist/cjs/api/types/NotificationEventsForAdHocEnum.d.ts +14 -0
- package/dist/cjs/api/types/NotificationEventsForAdHocEnum.js +10 -0
- package/dist/cjs/api/types/NotificationEventsForOrgsEnum.d.ts +29 -0
- package/dist/cjs/api/types/NotificationEventsForOrgsEnum.js +26 -0
- package/dist/cjs/api/types/NotificationEventsForUsersEnum.d.ts +20 -0
- package/dist/cjs/api/types/NotificationEventsForUsersEnum.js +15 -0
- package/dist/cjs/api/types/NotificationGroup1.d.ts +18 -0
- package/dist/cjs/api/types/NotificationGroup1.js +5 -0
- package/dist/cjs/api/types/NotificationGroupLimitedForDriver1.d.ts +23 -0
- package/dist/cjs/api/types/NotificationGroupLimitedForDriver1.js +5 -0
- package/dist/cjs/api/types/NotificationIntentAdHoc1.d.ts +18 -0
- package/dist/cjs/api/types/NotificationIntentAdHoc1.js +5 -0
- package/dist/cjs/api/types/NotificationUserPreferences1.d.ts +15 -0
- package/dist/cjs/api/types/NotificationUserPreferences1.js +5 -0
- package/dist/cjs/api/types/OrderAndTaskGroupExpandedReq.d.ts +1 -1
- package/dist/cjs/api/types/OrgMembersAndDrivers.d.ts +1 -1
- package/dist/cjs/api/types/OrgPrivateData1.d.ts +2 -0
- package/dist/cjs/api/types/ShippingOrderCancelledWebhookPayload.d.ts +11 -0
- package/dist/cjs/api/types/ShippingOrderCancelledWebhookPayload.js +5 -0
- package/dist/cjs/api/types/ShippingOrderCompletedWebhookPayload.d.ts +11 -0
- package/dist/cjs/api/types/ShippingOrderCompletedWebhookPayload.js +5 -0
- package/dist/cjs/api/types/ShippingOrderStagedWebhookPayload.d.ts +11 -0
- package/dist/cjs/api/types/ShippingOrderStagedWebhookPayload.js +5 -0
- package/dist/cjs/api/types/ShippingTaskAddedWebhookPayload.d.ts +15 -0
- package/dist/cjs/api/types/ShippingTaskAddedWebhookPayload.js +5 -0
- package/dist/cjs/api/types/ShippingTaskCompletedWebhookPayload.d.ts +15 -0
- package/dist/cjs/api/types/ShippingTaskCompletedWebhookPayload.js +5 -0
- package/dist/cjs/api/types/ShippingTaskDeletedWebhookPayload.d.ts +14 -0
- package/dist/cjs/api/types/ShippingTaskDeletedWebhookPayload.js +5 -0
- package/dist/cjs/api/types/ShippingTaskGroupCourierOrgAssignedWebhookPayload.d.ts +14 -0
- package/dist/cjs/api/types/ShippingTaskGroupCourierOrgAssignedWebhookPayload.js +5 -0
- package/dist/cjs/api/types/ShippingTaskGroupDriverAssignedWebhookPayload.d.ts +15 -0
- package/dist/cjs/api/types/ShippingTaskGroupDriverAssignedWebhookPayload.js +5 -0
- package/dist/cjs/api/types/ShippingTaskGroupFlightInfoUpdatedWebhookPayload.d.ts +16 -0
- package/dist/cjs/api/types/ShippingTaskGroupFlightInfoUpdatedWebhookPayload.js +5 -0
- package/dist/cjs/api/types/ShippingTaskGroupInProgressWebhookPayload.d.ts +13 -0
- package/dist/cjs/api/types/ShippingTaskGroupInProgressWebhookPayload.js +5 -0
- package/dist/cjs/api/types/ShippingTaskGroupMessageWebhookPayload.d.ts +15 -0
- package/dist/cjs/api/types/ShippingTaskGroupMessageWebhookPayload.js +5 -0
- package/dist/cjs/api/types/ShippingTaskGroupS3ObjectAddedWebhookPayload.d.ts +15 -0
- package/dist/cjs/api/types/ShippingTaskGroupS3ObjectAddedWebhookPayload.js +5 -0
- package/dist/cjs/api/types/ShippingTaskGroupTasksOrderingUpdatedWebhookPayload.d.ts +14 -0
- package/dist/cjs/api/types/ShippingTaskGroupTasksOrderingUpdatedWebhookPayload.js +5 -0
- package/dist/cjs/api/types/ShippingTaskSkippedWebhookPayload.d.ts +15 -0
- package/dist/cjs/api/types/ShippingTaskSkippedWebhookPayload.js +5 -0
- package/dist/cjs/api/types/Statement1.d.ts +1 -1
- package/dist/cjs/api/types/{Task1.d.ts → Task1Input.d.ts} +4 -8
- package/dist/cjs/api/types/Task1Input.js +5 -0
- package/dist/cjs/api/types/Task1Output.d.ts +36 -0
- package/dist/cjs/api/types/Task1Output.js +5 -0
- package/dist/cjs/api/types/TaskClientCreate1.d.ts +1 -1
- package/dist/cjs/api/types/TaskClientUpdate1.d.ts +1 -1
- package/dist/cjs/api/types/TaskExpanded.d.ts +2 -2
- package/dist/cjs/api/types/TaskGroupExpanded.d.ts +1 -1
- package/dist/cjs/api/types/UserPublicData1.d.ts +0 -1
- package/dist/cjs/api/types/WebhookAppPortalAccessRes.d.ts +10 -0
- package/dist/cjs/api/types/WebhookAppPortalAccessRes.js +5 -0
- package/dist/cjs/api/types/index.d.ts +32 -6
- package/dist/cjs/api/types/index.js +32 -6
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +6 -6
- package/dist/esm/Client.mjs +10 -10
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.mjs +1 -1
- package/dist/esm/api/resources/directoryEntries/client/Client.d.mts +99 -0
- package/dist/esm/api/resources/directoryEntries/client/Client.mjs +327 -0
- package/dist/esm/api/{types/ShipperContactClientCreate1.d.mts → resources/directoryEntries/client/requests/DirectoryEntryClientCreate1.d.mts} +11 -7
- package/dist/esm/api/resources/{shipperContactInfo/client/requests/ShipperContactClientUpdate1.d.mts → directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.mts} +2 -2
- package/dist/esm/api/resources/directoryEntries/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/drivers/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/index.d.mts +3 -4
- package/dist/esm/api/resources/index.mjs +3 -4
- package/dist/esm/api/resources/notifications/client/Client.d.mts +12 -41
- package/dist/esm/api/resources/notifications/client/Client.mjs +16 -136
- package/dist/esm/api/resources/notifications/client/index.d.mts +0 -1
- package/dist/esm/api/resources/notifications/client/index.mjs +1 -1
- package/dist/esm/api/resources/notifications/index.d.mts +1 -0
- package/dist/esm/api/resources/notifications/index.mjs +1 -0
- package/dist/esm/api/resources/notifications/resources/adHoc/client/Client.d.mts +77 -0
- package/dist/esm/api/resources/notifications/resources/adHoc/client/Client.mjs +215 -0
- package/dist/esm/api/resources/notifications/resources/adHoc/client/index.d.mts +2 -0
- package/dist/esm/api/resources/notifications/resources/adHoc/client/index.mjs +1 -0
- package/dist/esm/api/resources/notifications/resources/adHoc/client/requests/NotificationIntentAdHocClientCreate1.d.mts +18 -0
- package/dist/esm/api/resources/notifications/resources/adHoc/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/notifications/resources/adHoc/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/notifications/resources/adHoc/index.d.mts +1 -0
- package/dist/esm/api/resources/notifications/resources/adHoc/index.mjs +1 -0
- package/dist/esm/api/resources/notifications/resources/groups/client/Client.d.mts +209 -0
- package/dist/esm/api/resources/{shipperContactInfo → notifications/resources/groups}/client/Client.mjs +303 -116
- package/dist/esm/api/resources/notifications/resources/groups/client/index.d.mts +2 -0
- package/dist/esm/api/resources/notifications/resources/groups/client/index.mjs +1 -0
- package/dist/esm/api/resources/notifications/resources/groups/client/requests/GroupsUpdateNameV1Request.d.mts +12 -0
- package/dist/esm/api/resources/notifications/resources/groups/client/requests/NotificationGroupClientCreate1.d.mts +14 -0
- package/dist/esm/api/resources/notifications/resources/groups/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/notifications/resources/groups/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/notifications/resources/groups/index.d.mts +1 -0
- package/dist/esm/api/resources/notifications/resources/groups/index.mjs +1 -0
- package/dist/esm/api/resources/notifications/resources/index.d.mts +7 -0
- package/dist/esm/api/resources/notifications/resources/index.mjs +7 -0
- package/dist/esm/api/resources/notifications/resources/userPreferences/client/Client.d.mts +67 -0
- package/dist/esm/api/resources/notifications/resources/userPreferences/client/Client.mjs +195 -0
- package/dist/esm/api/resources/notifications/resources/userPreferences/client/index.d.mts +2 -0
- package/dist/esm/api/resources/notifications/resources/userPreferences/client/index.mjs +1 -0
- package/dist/esm/api/resources/notifications/resources/userPreferences/client/requests/UserNotificationPreferencesUpdateRequest.d.mts +15 -0
- package/dist/esm/api/resources/notifications/resources/userPreferences/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/notifications/resources/userPreferences/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/notifications/resources/userPreferences/index.d.mts +1 -0
- package/dist/esm/api/resources/notifications/resources/userPreferences/index.mjs +1 -0
- package/dist/esm/api/resources/notifications/resources/webhookSetup/client/Client.d.mts +74 -0
- package/dist/esm/api/resources/notifications/resources/webhookSetup/client/Client.mjs +234 -0
- package/dist/esm/api/resources/notifications/resources/webhookSetup/client/index.d.mts +1 -0
- package/dist/esm/api/resources/notifications/resources/webhookSetup/client/index.mjs +1 -0
- package/dist/esm/api/resources/notifications/resources/webhookSetup/index.d.mts +1 -0
- package/dist/esm/api/resources/notifications/resources/webhookSetup/index.mjs +1 -0
- package/dist/esm/api/types/BillingLineItemGroupMessageWebhookPayload.d.mts +13 -0
- package/dist/esm/api/types/BillingLineItemGroupS3ObjectAddedWebhookPayload.d.mts +13 -0
- package/dist/esm/api/types/BillingLineItemGroupS3ObjectAddedWebhookPayload.mjs +4 -0
- package/dist/esm/api/types/BillingStatementOpenedWebhookPayload.d.mts +11 -0
- package/dist/esm/api/types/BillingStatementOpenedWebhookPayload.mjs +4 -0
- package/dist/esm/api/types/BillingStatementPaidWebhookPayload.d.mts +11 -0
- package/dist/esm/api/types/BillingStatementPaidWebhookPayload.mjs +4 -0
- package/dist/esm/api/types/{ShipperContact1.d.mts → DirectoryEntry1.d.mts} +4 -6
- package/dist/esm/api/types/DirectoryEntry1.mjs +4 -0
- package/dist/esm/api/types/{Driver1.d.mts → Driver1Input.d.mts} +1 -1
- package/dist/esm/api/types/Driver1Input.mjs +4 -0
- package/dist/esm/api/types/Driver1Output.d.mts +27 -0
- package/dist/esm/api/types/Driver1Output.mjs +4 -0
- package/dist/esm/api/types/NotificationChannelsEnum.d.mts +12 -0
- package/dist/esm/api/types/NotificationChannelsEnum.mjs +8 -0
- package/dist/esm/api/types/NotificationEventsForAdHocEnum.d.mts +14 -0
- package/dist/esm/api/types/NotificationEventsForAdHocEnum.mjs +7 -0
- package/dist/esm/api/types/NotificationEventsForOrgsEnum.d.mts +29 -0
- package/dist/esm/api/types/NotificationEventsForOrgsEnum.mjs +23 -0
- package/dist/esm/api/types/NotificationEventsForUsersEnum.d.mts +20 -0
- package/dist/esm/api/types/NotificationEventsForUsersEnum.mjs +12 -0
- package/dist/esm/api/types/NotificationGroup1.d.mts +18 -0
- package/dist/esm/api/types/NotificationGroup1.mjs +4 -0
- package/dist/esm/api/types/NotificationGroupLimitedForDriver1.d.mts +23 -0
- package/dist/esm/api/types/NotificationGroupLimitedForDriver1.mjs +4 -0
- package/dist/esm/api/types/NotificationIntentAdHoc1.d.mts +18 -0
- package/dist/esm/api/types/NotificationIntentAdHoc1.mjs +4 -0
- package/dist/esm/api/types/NotificationUserPreferences1.d.mts +15 -0
- package/dist/esm/api/types/NotificationUserPreferences1.mjs +4 -0
- package/dist/esm/api/types/OrderAndTaskGroupExpandedReq.d.mts +1 -1
- package/dist/esm/api/types/OrgMembersAndDrivers.d.mts +1 -1
- package/dist/esm/api/types/OrgPrivateData1.d.mts +2 -0
- package/dist/esm/api/types/ShippingOrderCancelledWebhookPayload.d.mts +11 -0
- package/dist/esm/api/types/ShippingOrderCancelledWebhookPayload.mjs +4 -0
- package/dist/esm/api/types/ShippingOrderCompletedWebhookPayload.d.mts +11 -0
- package/dist/esm/api/types/ShippingOrderCompletedWebhookPayload.mjs +4 -0
- package/dist/esm/api/types/ShippingOrderStagedWebhookPayload.d.mts +11 -0
- package/dist/esm/api/types/ShippingOrderStagedWebhookPayload.mjs +4 -0
- package/dist/esm/api/types/ShippingTaskAddedWebhookPayload.d.mts +15 -0
- package/dist/esm/api/types/ShippingTaskAddedWebhookPayload.mjs +4 -0
- package/dist/esm/api/types/ShippingTaskCompletedWebhookPayload.d.mts +15 -0
- package/dist/esm/api/types/ShippingTaskCompletedWebhookPayload.mjs +4 -0
- package/dist/esm/api/types/ShippingTaskDeletedWebhookPayload.d.mts +14 -0
- package/dist/esm/api/types/ShippingTaskDeletedWebhookPayload.mjs +4 -0
- package/dist/esm/api/types/ShippingTaskGroupCourierOrgAssignedWebhookPayload.d.mts +14 -0
- package/dist/esm/api/types/ShippingTaskGroupCourierOrgAssignedWebhookPayload.mjs +4 -0
- package/dist/esm/api/types/ShippingTaskGroupDriverAssignedWebhookPayload.d.mts +15 -0
- package/dist/esm/api/types/ShippingTaskGroupDriverAssignedWebhookPayload.mjs +4 -0
- package/dist/esm/api/types/ShippingTaskGroupFlightInfoUpdatedWebhookPayload.d.mts +16 -0
- package/dist/esm/api/types/ShippingTaskGroupFlightInfoUpdatedWebhookPayload.mjs +4 -0
- package/dist/esm/api/types/ShippingTaskGroupInProgressWebhookPayload.d.mts +13 -0
- package/dist/esm/api/types/ShippingTaskGroupInProgressWebhookPayload.mjs +4 -0
- package/dist/esm/api/types/ShippingTaskGroupMessageWebhookPayload.d.mts +15 -0
- package/dist/esm/api/types/ShippingTaskGroupMessageWebhookPayload.mjs +4 -0
- package/dist/esm/api/types/ShippingTaskGroupS3ObjectAddedWebhookPayload.d.mts +15 -0
- package/dist/esm/api/types/ShippingTaskGroupS3ObjectAddedWebhookPayload.mjs +4 -0
- package/dist/esm/api/types/ShippingTaskGroupTasksOrderingUpdatedWebhookPayload.d.mts +14 -0
- package/dist/esm/api/types/ShippingTaskGroupTasksOrderingUpdatedWebhookPayload.mjs +4 -0
- package/dist/esm/api/types/ShippingTaskSkippedWebhookPayload.d.mts +15 -0
- package/dist/esm/api/types/ShippingTaskSkippedWebhookPayload.mjs +4 -0
- package/dist/esm/api/types/Statement1.d.mts +1 -1
- package/dist/esm/api/types/{Task1.d.mts → Task1Input.d.mts} +4 -8
- package/dist/esm/api/types/Task1Input.mjs +4 -0
- package/dist/esm/api/types/Task1Output.d.mts +36 -0
- package/dist/esm/api/types/Task1Output.mjs +4 -0
- package/dist/esm/api/types/TaskClientCreate1.d.mts +1 -1
- package/dist/esm/api/types/TaskClientUpdate1.d.mts +1 -1
- package/dist/esm/api/types/TaskExpanded.d.mts +2 -2
- package/dist/esm/api/types/TaskGroupExpanded.d.mts +1 -1
- package/dist/esm/api/types/UserPublicData1.d.mts +0 -1
- package/dist/esm/api/types/WebhookAppPortalAccessRes.d.mts +10 -0
- package/dist/esm/api/types/WebhookAppPortalAccessRes.mjs +4 -0
- package/dist/esm/api/types/index.d.mts +32 -6
- package/dist/esm/api/types/index.mjs +32 -6
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1786 -754
- package/dist/cjs/api/resources/notifications/client/requests/NotificationReq.d.ts +0 -17
- package/dist/cjs/api/resources/notifications/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/shipperContactInfo/client/Client.d.ts +0 -163
- package/dist/cjs/api/resources/shipperContactInfo/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/types/ChrtEmailRecipient.d.ts +0 -10
- package/dist/cjs/api/types/ChrtEmailRecipient.js +0 -12
- package/dist/cjs/api/types/NotificationRes.d.ts +0 -10
- package/dist/esm/api/resources/notifications/client/requests/NotificationReq.d.mts +0 -17
- package/dist/esm/api/resources/notifications/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/shipperContactInfo/client/Client.d.mts +0 -163
- package/dist/esm/api/resources/shipperContactInfo/client/requests/index.d.mts +0 -1
- package/dist/esm/api/types/ChrtEmailRecipient.d.mts +0 -10
- package/dist/esm/api/types/ChrtEmailRecipient.mjs +0 -9
- package/dist/esm/api/types/NotificationRes.d.mts +0 -10
- /package/dist/cjs/api/resources/{shipperContactInfo → directoryEntries}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{shipperContactInfo → directoryEntries}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{notifications/client/requests/NotificationReq.js → directoryEntries/client/requests/DirectoryEntryClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/{shipperContactInfo/client/requests/ShipperContactClientUpdate1.js → directoryEntries/client/requests/DirectoryEntryClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/{notifications → directoryEntries}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{shipperContactInfo → directoryEntries}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{shipperContactInfo → directoryEntries}/index.js +0 -0
- /package/dist/cjs/api/{types/Driver1.js → resources/notifications/resources/adHoc/client/requests/NotificationIntentAdHocClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/{shipperContactInfo → notifications/resources/adHoc}/client/requests/index.js +0 -0
- /package/dist/cjs/api/{types/NotificationRes.js → resources/notifications/resources/groups/client/requests/GroupsUpdateNameV1Request.js} +0 -0
- /package/dist/cjs/api/{types/ShipperContact1.js → resources/notifications/resources/groups/client/requests/NotificationGroupClientCreate1.js} +0 -0
- /package/dist/cjs/api/{types/ShipperContactClientCreate1.js → resources/notifications/resources/userPreferences/client/requests/UserNotificationPreferencesUpdateRequest.js} +0 -0
- /package/dist/{esm/api/resources/notifications/client/requests/index.mjs → cjs/api/resources/notifications/resources/webhookSetup/client/index.d.ts} +0 -0
- /package/dist/cjs/api/types/{Task1.js → BillingLineItemGroupMessageWebhookPayload.js} +0 -0
- /package/dist/esm/api/resources/{shipperContactInfo → directoryEntries}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{shipperContactInfo → directoryEntries}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{notifications/client/requests/NotificationReq.mjs → directoryEntries/client/requests/DirectoryEntryClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/{shipperContactInfo/client/requests/ShipperContactClientUpdate1.mjs → directoryEntries/client/requests/DirectoryEntryClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/{shipperContactInfo → directoryEntries}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{shipperContactInfo → directoryEntries}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{shipperContactInfo → directoryEntries}/index.mjs +0 -0
- /package/dist/esm/api/{types/Driver1.mjs → resources/notifications/resources/adHoc/client/requests/NotificationIntentAdHocClientCreate1.mjs} +0 -0
- /package/dist/esm/api/{types/NotificationRes.mjs → resources/notifications/resources/groups/client/requests/GroupsUpdateNameV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/ShipperContact1.mjs → resources/notifications/resources/groups/client/requests/NotificationGroupClientCreate1.mjs} +0 -0
- /package/dist/esm/api/{types/ShipperContactClientCreate1.mjs → resources/notifications/resources/userPreferences/client/requests/UserNotificationPreferencesUpdateRequest.mjs} +0 -0
- /package/dist/esm/api/types/{Task1.mjs → BillingLineItemGroupMessageWebhookPayload.mjs} +0 -0
package/dist/cjs/Client.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ import { Connections } from "./api/resources/connections/client/Client.js";
|
|
|
8
8
|
import { OrgProfiles } from "./api/resources/orgProfiles/client/Client.js";
|
|
9
9
|
import { Dev } from "./api/resources/dev/client/Client.js";
|
|
10
10
|
import { Flights } from "./api/resources/flights/client/Client.js";
|
|
11
|
-
import { Notifications } from "./api/resources/notifications/client/Client.js";
|
|
12
11
|
import { Drivers } from "./api/resources/drivers/client/Client.js";
|
|
13
12
|
import { Cargos } from "./api/resources/cargos/client/Client.js";
|
|
14
13
|
import { TaskArtifacts } from "./api/resources/taskArtifacts/client/Client.js";
|
|
@@ -17,12 +16,13 @@ import { Orders } from "./api/resources/orders/client/Client.js";
|
|
|
17
16
|
import { OrderDrafts } from "./api/resources/orderDrafts/client/Client.js";
|
|
18
17
|
import { TaskGroups } from "./api/resources/taskGroups/client/Client.js";
|
|
19
18
|
import { Tasks } from "./api/resources/tasks/client/Client.js";
|
|
20
|
-
import {
|
|
19
|
+
import { DirectoryEntries } from "./api/resources/directoryEntries/client/Client.js";
|
|
21
20
|
import { Orgs } from "./api/resources/orgs/client/Client.js";
|
|
22
21
|
import { Root } from "./api/resources/root/client/Client.js";
|
|
23
22
|
import { Users } from "./api/resources/users/client/Client.js";
|
|
24
23
|
import { Utils } from "./api/resources/utils/client/Client.js";
|
|
25
24
|
import { Billing } from "./api/resources/billing/client/Client.js";
|
|
25
|
+
import { Notifications } from "./api/resources/notifications/client/Client.js";
|
|
26
26
|
import { OrgInfoForConnections } from "./api/resources/orgInfoForConnections/client/Client.js";
|
|
27
27
|
import { Tracking } from "./api/resources/tracking/client/Client.js";
|
|
28
28
|
export declare namespace ChrtClient {
|
|
@@ -55,7 +55,6 @@ export declare class ChrtClient {
|
|
|
55
55
|
protected _orgProfiles: OrgProfiles | undefined;
|
|
56
56
|
protected _dev: Dev | undefined;
|
|
57
57
|
protected _flights: Flights | undefined;
|
|
58
|
-
protected _notifications: Notifications | undefined;
|
|
59
58
|
protected _drivers: Drivers | undefined;
|
|
60
59
|
protected _cargos: Cargos | undefined;
|
|
61
60
|
protected _taskArtifacts: TaskArtifacts | undefined;
|
|
@@ -64,12 +63,13 @@ export declare class ChrtClient {
|
|
|
64
63
|
protected _orderDrafts: OrderDrafts | undefined;
|
|
65
64
|
protected _taskGroups: TaskGroups | undefined;
|
|
66
65
|
protected _tasks: Tasks | undefined;
|
|
67
|
-
protected
|
|
66
|
+
protected _directoryEntries: DirectoryEntries | undefined;
|
|
68
67
|
protected _orgs: Orgs | undefined;
|
|
69
68
|
protected _root: Root | undefined;
|
|
70
69
|
protected _users: Users | undefined;
|
|
71
70
|
protected _utils: Utils | undefined;
|
|
72
71
|
protected _billing: Billing | undefined;
|
|
72
|
+
protected _notifications: Notifications | undefined;
|
|
73
73
|
protected _orgInfoForConnections: OrgInfoForConnections | undefined;
|
|
74
74
|
protected _tracking: Tracking | undefined;
|
|
75
75
|
constructor(_options?: ChrtClient.Options);
|
|
@@ -78,7 +78,6 @@ export declare class ChrtClient {
|
|
|
78
78
|
get orgProfiles(): OrgProfiles;
|
|
79
79
|
get dev(): Dev;
|
|
80
80
|
get flights(): Flights;
|
|
81
|
-
get notifications(): Notifications;
|
|
82
81
|
get drivers(): Drivers;
|
|
83
82
|
get cargos(): Cargos;
|
|
84
83
|
get taskArtifacts(): TaskArtifacts;
|
|
@@ -87,12 +86,13 @@ export declare class ChrtClient {
|
|
|
87
86
|
get orderDrafts(): OrderDrafts;
|
|
88
87
|
get taskGroups(): TaskGroups;
|
|
89
88
|
get tasks(): Tasks;
|
|
90
|
-
get
|
|
89
|
+
get directoryEntries(): DirectoryEntries;
|
|
91
90
|
get orgs(): Orgs;
|
|
92
91
|
get root(): Root;
|
|
93
92
|
get users(): Users;
|
|
94
93
|
get utils(): Utils;
|
|
95
94
|
get billing(): Billing;
|
|
95
|
+
get notifications(): Notifications;
|
|
96
96
|
get orgInfoForConnections(): OrgInfoForConnections;
|
|
97
97
|
get tracking(): Tracking;
|
|
98
98
|
}
|
package/dist/cjs/Client.js
CHANGED
|
@@ -44,21 +44,21 @@ const Client_js_2 = require("./api/resources/connections/client/Client.js");
|
|
|
44
44
|
const Client_js_3 = require("./api/resources/orgProfiles/client/Client.js");
|
|
45
45
|
const Client_js_4 = require("./api/resources/dev/client/Client.js");
|
|
46
46
|
const Client_js_5 = require("./api/resources/flights/client/Client.js");
|
|
47
|
-
const Client_js_6 = require("./api/resources/
|
|
48
|
-
const Client_js_7 = require("./api/resources/
|
|
49
|
-
const Client_js_8 = require("./api/resources/
|
|
50
|
-
const Client_js_9 = require("./api/resources/
|
|
51
|
-
const Client_js_10 = require("./api/resources/
|
|
52
|
-
const Client_js_11 = require("./api/resources/
|
|
53
|
-
const Client_js_12 = require("./api/resources/
|
|
54
|
-
const Client_js_13 = require("./api/resources/
|
|
55
|
-
const Client_js_14 = require("./api/resources/
|
|
56
|
-
const Client_js_15 = require("./api/resources/
|
|
57
|
-
const Client_js_16 = require("./api/resources/
|
|
58
|
-
const Client_js_17 = require("./api/resources/
|
|
59
|
-
const Client_js_18 = require("./api/resources/
|
|
60
|
-
const Client_js_19 = require("./api/resources/
|
|
61
|
-
const Client_js_20 = require("./api/resources/
|
|
47
|
+
const Client_js_6 = require("./api/resources/drivers/client/Client.js");
|
|
48
|
+
const Client_js_7 = require("./api/resources/cargos/client/Client.js");
|
|
49
|
+
const Client_js_8 = require("./api/resources/taskArtifacts/client/Client.js");
|
|
50
|
+
const Client_js_9 = require("./api/resources/offChrtShipperOrg/client/Client.js");
|
|
51
|
+
const Client_js_10 = require("./api/resources/orders/client/Client.js");
|
|
52
|
+
const Client_js_11 = require("./api/resources/orderDrafts/client/Client.js");
|
|
53
|
+
const Client_js_12 = require("./api/resources/taskGroups/client/Client.js");
|
|
54
|
+
const Client_js_13 = require("./api/resources/tasks/client/Client.js");
|
|
55
|
+
const Client_js_14 = require("./api/resources/directoryEntries/client/Client.js");
|
|
56
|
+
const Client_js_15 = require("./api/resources/orgs/client/Client.js");
|
|
57
|
+
const Client_js_16 = require("./api/resources/root/client/Client.js");
|
|
58
|
+
const Client_js_17 = require("./api/resources/users/client/Client.js");
|
|
59
|
+
const Client_js_18 = require("./api/resources/utils/client/Client.js");
|
|
60
|
+
const Client_js_19 = require("./api/resources/billing/client/Client.js");
|
|
61
|
+
const Client_js_20 = require("./api/resources/notifications/client/Client.js");
|
|
62
62
|
const Client_js_21 = require("./api/resources/orgInfoForConnections/client/Client.js");
|
|
63
63
|
const Client_js_22 = require("./api/resources/tracking/client/Client.js");
|
|
64
64
|
class ChrtClient {
|
|
@@ -66,8 +66,8 @@ class ChrtClient {
|
|
|
66
66
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
|
|
67
67
|
"X-Fern-Language": "JavaScript",
|
|
68
68
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
69
|
-
"X-Fern-SDK-Version": "1.
|
|
70
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
69
|
+
"X-Fern-SDK-Version": "1.378.0",
|
|
70
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.378.0",
|
|
71
71
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
72
72
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
73
73
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -92,65 +92,65 @@ class ChrtClient {
|
|
|
92
92
|
var _a;
|
|
93
93
|
return ((_a = this._flights) !== null && _a !== void 0 ? _a : (this._flights = new Client_js_5.Flights(this._options)));
|
|
94
94
|
}
|
|
95
|
-
get notifications() {
|
|
96
|
-
var _a;
|
|
97
|
-
return ((_a = this._notifications) !== null && _a !== void 0 ? _a : (this._notifications = new Client_js_6.Notifications(this._options)));
|
|
98
|
-
}
|
|
99
95
|
get drivers() {
|
|
100
96
|
var _a;
|
|
101
|
-
return ((_a = this._drivers) !== null && _a !== void 0 ? _a : (this._drivers = new
|
|
97
|
+
return ((_a = this._drivers) !== null && _a !== void 0 ? _a : (this._drivers = new Client_js_6.Drivers(this._options)));
|
|
102
98
|
}
|
|
103
99
|
get cargos() {
|
|
104
100
|
var _a;
|
|
105
|
-
return ((_a = this._cargos) !== null && _a !== void 0 ? _a : (this._cargos = new
|
|
101
|
+
return ((_a = this._cargos) !== null && _a !== void 0 ? _a : (this._cargos = new Client_js_7.Cargos(this._options)));
|
|
106
102
|
}
|
|
107
103
|
get taskArtifacts() {
|
|
108
104
|
var _a;
|
|
109
|
-
return ((_a = this._taskArtifacts) !== null && _a !== void 0 ? _a : (this._taskArtifacts = new
|
|
105
|
+
return ((_a = this._taskArtifacts) !== null && _a !== void 0 ? _a : (this._taskArtifacts = new Client_js_8.TaskArtifacts(this._options)));
|
|
110
106
|
}
|
|
111
107
|
get offChrtShipperOrg() {
|
|
112
108
|
var _a;
|
|
113
|
-
return ((_a = this._offChrtShipperOrg) !== null && _a !== void 0 ? _a : (this._offChrtShipperOrg = new
|
|
109
|
+
return ((_a = this._offChrtShipperOrg) !== null && _a !== void 0 ? _a : (this._offChrtShipperOrg = new Client_js_9.OffChrtShipperOrg(this._options)));
|
|
114
110
|
}
|
|
115
111
|
get orders() {
|
|
116
112
|
var _a;
|
|
117
|
-
return ((_a = this._orders) !== null && _a !== void 0 ? _a : (this._orders = new
|
|
113
|
+
return ((_a = this._orders) !== null && _a !== void 0 ? _a : (this._orders = new Client_js_10.Orders(this._options)));
|
|
118
114
|
}
|
|
119
115
|
get orderDrafts() {
|
|
120
116
|
var _a;
|
|
121
|
-
return ((_a = this._orderDrafts) !== null && _a !== void 0 ? _a : (this._orderDrafts = new
|
|
117
|
+
return ((_a = this._orderDrafts) !== null && _a !== void 0 ? _a : (this._orderDrafts = new Client_js_11.OrderDrafts(this._options)));
|
|
122
118
|
}
|
|
123
119
|
get taskGroups() {
|
|
124
120
|
var _a;
|
|
125
|
-
return ((_a = this._taskGroups) !== null && _a !== void 0 ? _a : (this._taskGroups = new
|
|
121
|
+
return ((_a = this._taskGroups) !== null && _a !== void 0 ? _a : (this._taskGroups = new Client_js_12.TaskGroups(this._options)));
|
|
126
122
|
}
|
|
127
123
|
get tasks() {
|
|
128
124
|
var _a;
|
|
129
|
-
return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new
|
|
125
|
+
return ((_a = this._tasks) !== null && _a !== void 0 ? _a : (this._tasks = new Client_js_13.Tasks(this._options)));
|
|
130
126
|
}
|
|
131
|
-
get
|
|
127
|
+
get directoryEntries() {
|
|
132
128
|
var _a;
|
|
133
|
-
return ((_a = this.
|
|
129
|
+
return ((_a = this._directoryEntries) !== null && _a !== void 0 ? _a : (this._directoryEntries = new Client_js_14.DirectoryEntries(this._options)));
|
|
134
130
|
}
|
|
135
131
|
get orgs() {
|
|
136
132
|
var _a;
|
|
137
|
-
return ((_a = this._orgs) !== null && _a !== void 0 ? _a : (this._orgs = new
|
|
133
|
+
return ((_a = this._orgs) !== null && _a !== void 0 ? _a : (this._orgs = new Client_js_15.Orgs(this._options)));
|
|
138
134
|
}
|
|
139
135
|
get root() {
|
|
140
136
|
var _a;
|
|
141
|
-
return ((_a = this._root) !== null && _a !== void 0 ? _a : (this._root = new
|
|
137
|
+
return ((_a = this._root) !== null && _a !== void 0 ? _a : (this._root = new Client_js_16.Root(this._options)));
|
|
142
138
|
}
|
|
143
139
|
get users() {
|
|
144
140
|
var _a;
|
|
145
|
-
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new
|
|
141
|
+
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_js_17.Users(this._options)));
|
|
146
142
|
}
|
|
147
143
|
get utils() {
|
|
148
144
|
var _a;
|
|
149
|
-
return ((_a = this._utils) !== null && _a !== void 0 ? _a : (this._utils = new
|
|
145
|
+
return ((_a = this._utils) !== null && _a !== void 0 ? _a : (this._utils = new Client_js_18.Utils(this._options)));
|
|
150
146
|
}
|
|
151
147
|
get billing() {
|
|
152
148
|
var _a;
|
|
153
|
-
return ((_a = this._billing) !== null && _a !== void 0 ? _a : (this._billing = new
|
|
149
|
+
return ((_a = this._billing) !== null && _a !== void 0 ? _a : (this._billing = new Client_js_19.Billing(this._options)));
|
|
150
|
+
}
|
|
151
|
+
get notifications() {
|
|
152
|
+
var _a;
|
|
153
|
+
return ((_a = this._notifications) !== null && _a !== void 0 ? _a : (this._notifications = new Client_js_20.Notifications(this._options)));
|
|
154
154
|
}
|
|
155
155
|
get orgInfoForConnections() {
|
|
156
156
|
var _a;
|
|
@@ -115,7 +115,7 @@ export declare class LineItemGroups {
|
|
|
115
115
|
calculateLineItemsV1(lineItemGroupId: string, requestOptions?: LineItemGroups.RequestOptions): core.HttpResponsePromise<Chrt.LineItemGroup1>;
|
|
116
116
|
private __calculateLineItemsV1;
|
|
117
117
|
/**
|
|
118
|
-
* Associates a line item group with a statement. LIG must be PENDING_RATES, PENDING_CALCULATION, ADJUSTABLE, or FINALIZED (before OPEN). Statement must be
|
|
118
|
+
* Associates a line item group with a statement. LIG must be PENDING_RATES, PENDING_CALCULATION, ADJUSTABLE, or FINALIZED (before OPEN). Statement must be STAGED. LIG payment info must match Statement. Also removes from previous statement if any. | org_type=[courier, forwarder], min_org_role=operator, authz_personas=[lig_owner_operators, statement_owner_operators] | (PydanticObjectId) -> (LineItemGroup1)
|
|
119
119
|
*
|
|
120
120
|
* @param {string} lineItemGroupId
|
|
121
121
|
* @param {Chrt.billing.LineItemGroupsAssociateWithStatementV1Request} request
|
|
@@ -407,7 +407,7 @@ class LineItemGroups {
|
|
|
407
407
|
});
|
|
408
408
|
}
|
|
409
409
|
/**
|
|
410
|
-
* Associates a line item group with a statement. LIG must be PENDING_RATES, PENDING_CALCULATION, ADJUSTABLE, or FINALIZED (before OPEN). Statement must be
|
|
410
|
+
* Associates a line item group with a statement. LIG must be PENDING_RATES, PENDING_CALCULATION, ADJUSTABLE, or FINALIZED (before OPEN). Statement must be STAGED. LIG payment info must match Statement. Also removes from previous statement if any. | org_type=[courier, forwarder], min_org_role=operator, authz_personas=[lig_owner_operators, statement_owner_operators] | (PydanticObjectId) -> (LineItemGroup1)
|
|
411
411
|
*
|
|
412
412
|
* @param {string} lineItemGroupId
|
|
413
413
|
* @param {Chrt.billing.LineItemGroupsAssociateWithStatementV1Request} request
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../environments.js";
|
|
5
|
+
import * as core from "../../../../core/index.js";
|
|
6
|
+
import * as Chrt from "../../../index.js";
|
|
7
|
+
export declare namespace DirectoryEntries {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.ChrtEnvironment | string>;
|
|
10
|
+
/** Specify a custom URL to connect the client to. */
|
|
11
|
+
baseUrl?: core.Supplier<string>;
|
|
12
|
+
token?: core.Supplier<core.BearerToken | undefined>;
|
|
13
|
+
/** Additional headers to include in requests. */
|
|
14
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
15
|
+
fetcher?: core.FetchFunction;
|
|
16
|
+
}
|
|
17
|
+
interface RequestOptions {
|
|
18
|
+
/** The maximum time to wait for a response in seconds. */
|
|
19
|
+
timeoutInSeconds?: number;
|
|
20
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
21
|
+
maxRetries?: number;
|
|
22
|
+
/** A hook to abort the request. */
|
|
23
|
+
abortSignal?: AbortSignal;
|
|
24
|
+
/** Additional query string parameters to include in the request. */
|
|
25
|
+
queryParams?: Record<string, unknown>;
|
|
26
|
+
/** Additional headers to include in the request. */
|
|
27
|
+
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export declare class DirectoryEntries {
|
|
31
|
+
protected readonly _options: DirectoryEntries.Options;
|
|
32
|
+
constructor(_options?: DirectoryEntries.Options);
|
|
33
|
+
/**
|
|
34
|
+
* Retrieves a specific directory entry by ID if authorized to access it. | authz: min_org_role=operator | () -> (DirectoryEntry1)
|
|
35
|
+
*
|
|
36
|
+
* @param {string} directoryEntryId
|
|
37
|
+
* @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* await client.directoryEntries.getV1("directory_entry_id")
|
|
43
|
+
*/
|
|
44
|
+
getV1(directoryEntryId: string, requestOptions?: DirectoryEntries.RequestOptions): core.HttpResponsePromise<Chrt.DirectoryEntry1>;
|
|
45
|
+
private __getV1;
|
|
46
|
+
/**
|
|
47
|
+
* Lists all directory entries created by the caller's organization. | authz: min_org_role=operator | () -> (list[DirectoryEntry1])
|
|
48
|
+
*
|
|
49
|
+
* @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* await client.directoryEntries.listV1()
|
|
53
|
+
*/
|
|
54
|
+
listV1(requestOptions?: DirectoryEntries.RequestOptions): core.HttpResponsePromise<Chrt.DirectoryEntry1[]>;
|
|
55
|
+
private __listV1;
|
|
56
|
+
/**
|
|
57
|
+
* Creates a directory entry. | (DirectoryEntryClientCreate1) -> (PydanticObjectId)
|
|
58
|
+
*
|
|
59
|
+
* @param {Chrt.DirectoryEntryClientCreate1} request
|
|
60
|
+
* @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* await client.directoryEntries.createV1({
|
|
66
|
+
* schema_version: 1
|
|
67
|
+
* })
|
|
68
|
+
*/
|
|
69
|
+
createV1(request: Chrt.DirectoryEntryClientCreate1, requestOptions?: DirectoryEntries.RequestOptions): core.HttpResponsePromise<string>;
|
|
70
|
+
private __createV1;
|
|
71
|
+
/**
|
|
72
|
+
* Updates existing directory entry owned by the caller's organization. | (DirectoryEntryClientUpdate1) -> (bool)
|
|
73
|
+
*
|
|
74
|
+
* @param {string} directoryEntryId
|
|
75
|
+
* @param {Chrt.DirectoryEntryClientUpdate1} request
|
|
76
|
+
* @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* await client.directoryEntries.updateV1("directory_entry_id")
|
|
82
|
+
*/
|
|
83
|
+
updateV1(directoryEntryId: string, request?: Chrt.DirectoryEntryClientUpdate1, requestOptions?: DirectoryEntries.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
84
|
+
private __updateV1;
|
|
85
|
+
/**
|
|
86
|
+
* Deletes directory entry owned by the caller's organization. | authz: min_org_role=operator | () -> (bool)
|
|
87
|
+
*
|
|
88
|
+
* @param {string} directoryEntryId
|
|
89
|
+
* @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
92
|
+
*
|
|
93
|
+
* @example
|
|
94
|
+
* await client.directoryEntries.deleteV1("directory_entry_id")
|
|
95
|
+
*/
|
|
96
|
+
deleteV1(directoryEntryId: string, requestOptions?: DirectoryEntries.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
97
|
+
private __deleteV1;
|
|
98
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
99
|
+
}
|