@chrt-inc/typescript-sdk 1.359.1 → 1.363.1
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 +3 -6
- package/dist/cjs/Client.js +37 -42
- 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 +2 -4
- package/dist/cjs/api/resources/index.js +3 -5
- package/dist/cjs/api/resources/notifications/client/Client.d.ts +12 -6
- package/dist/cjs/api/resources/notifications/client/Client.js +16 -6
- package/dist/cjs/api/resources/notifications/resources/adHoc/client/Client.d.ts +77 -0
- package/dist/cjs/api/resources/notifications/resources/{courier → adHoc}/client/Client.js +95 -26
- 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/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/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/index.d.ts +7 -4
- package/dist/cjs/api/resources/notifications/resources/index.js +8 -5
- package/dist/cjs/api/resources/notifications/resources/userPreferences/client/Client.d.ts +67 -0
- package/dist/cjs/api/resources/notifications/resources/{shipper → userPreferences}/client/Client.js +73 -24
- 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/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/BillingStatementOpenedWebhookPayload.d.ts +11 -0
- package/dist/cjs/api/types/BillingStatementPaidWebhookPayload.d.ts +11 -0
- package/dist/cjs/api/types/{ShipperContact1.d.ts → DirectoryEntry1.d.ts} +4 -6
- package/dist/cjs/api/types/{Driver1.d.ts → Driver1Input.d.ts} +1 -1
- package/dist/cjs/api/types/Driver1Output.d.ts +27 -0
- package/dist/cjs/api/types/NotificationChannelsEnum.d.ts +12 -0
- package/dist/cjs/api/types/{NotificationChannelEnum.js → NotificationChannelsEnum.js} +2 -3
- 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 -10
- package/dist/cjs/api/types/index.js +32 -10
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.d.mts +3 -6
- package/dist/esm/Client.mjs +5 -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 +2 -4
- package/dist/esm/api/resources/index.mjs +2 -4
- package/dist/esm/api/resources/notifications/client/Client.d.mts +12 -6
- package/dist/esm/api/resources/notifications/client/Client.mjs +16 -6
- package/dist/esm/api/resources/notifications/resources/adHoc/client/Client.d.mts +77 -0
- package/dist/esm/api/resources/notifications/resources/{shipper → adHoc}/client/Client.mjs +93 -24
- 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/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/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/index.d.mts +7 -4
- package/dist/esm/api/resources/notifications/resources/index.mjs +7 -4
- package/dist/esm/api/resources/notifications/resources/userPreferences/client/Client.d.mts +67 -0
- package/dist/esm/api/resources/notifications/resources/{courier → userPreferences}/client/Client.mjs +71 -22
- 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/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/BillingStatementOpenedWebhookPayload.d.mts +11 -0
- package/dist/esm/api/types/BillingStatementPaidWebhookPayload.d.mts +11 -0
- package/dist/esm/api/types/{ShipperContact1.d.mts → DirectoryEntry1.d.mts} +4 -6
- package/dist/esm/api/types/{Driver1.d.mts → Driver1Input.d.mts} +1 -1
- package/dist/esm/api/types/Driver1Output.d.mts +27 -0
- package/dist/esm/api/types/NotificationChannelsEnum.d.mts +12 -0
- package/dist/esm/api/types/{NotificationChannelEnum.mjs → NotificationChannelsEnum.mjs} +1 -2
- 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 -10
- package/dist/esm/api/types/index.mjs +32 -10
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1534 -744
- package/dist/cjs/api/resources/notifications/resources/courier/client/Client.d.ts +0 -59
- package/dist/cjs/api/resources/notifications/resources/courier/client/requests/CourierNotificationPreferencesClientCreate1.d.ts +0 -18
- package/dist/cjs/api/resources/notifications/resources/courier/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/notifications/resources/shipper/client/Client.d.ts +0 -59
- package/dist/cjs/api/resources/notifications/resources/shipper/client/requests/ShipperNotificationPreferencesClientCreate1.d.ts +0 -18
- package/dist/cjs/api/resources/notifications/resources/shipper/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/resources/taskArtifactNotifications/client/Client.d.ts +0 -59
- package/dist/cjs/api/resources/taskArtifactNotifications/client/Client.js +0 -186
- package/dist/cjs/api/resources/taskArtifactNotifications/client/requests/TaskArtifactNotificationPreferencesClientCreate1.d.ts +0 -18
- package/dist/cjs/api/resources/taskArtifactNotifications/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/types/CourierNotificationEventEnum.d.ts +0 -7
- package/dist/cjs/api/types/CourierNotificationPreferences1.d.ts +0 -18
- package/dist/cjs/api/types/NotificationChannelEnum.d.ts +0 -13
- package/dist/cjs/api/types/ShipperNotificationEventEnum.d.ts +0 -7
- package/dist/cjs/api/types/ShipperNotificationPreferences1.d.ts +0 -18
- package/dist/cjs/api/types/TaskArtifactNotificationPreferences1.d.ts +0 -18
- package/dist/esm/api/resources/notifications/resources/courier/client/Client.d.mts +0 -59
- package/dist/esm/api/resources/notifications/resources/courier/client/requests/CourierNotificationPreferencesClientCreate1.d.mts +0 -18
- package/dist/esm/api/resources/notifications/resources/courier/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/notifications/resources/shipper/client/Client.d.mts +0 -59
- package/dist/esm/api/resources/notifications/resources/shipper/client/requests/ShipperNotificationPreferencesClientCreate1.d.mts +0 -18
- package/dist/esm/api/resources/notifications/resources/shipper/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/resources/taskArtifactNotifications/client/Client.d.mts +0 -59
- package/dist/esm/api/resources/taskArtifactNotifications/client/Client.mjs +0 -149
- package/dist/esm/api/resources/taskArtifactNotifications/client/requests/TaskArtifactNotificationPreferencesClientCreate1.d.mts +0 -18
- package/dist/esm/api/resources/taskArtifactNotifications/client/requests/index.d.mts +0 -1
- package/dist/esm/api/types/CourierNotificationEventEnum.d.mts +0 -7
- package/dist/esm/api/types/CourierNotificationPreferences1.d.mts +0 -18
- package/dist/esm/api/types/NotificationChannelEnum.d.mts +0 -13
- package/dist/esm/api/types/ShipperNotificationEventEnum.d.mts +0 -7
- package/dist/esm/api/types/ShipperNotificationPreferences1.d.mts +0 -18
- package/dist/esm/api/types/TaskArtifactNotificationPreferences1.d.mts +0 -18
- /package/dist/cjs/api/resources/{notifications/resources/courier → directoryEntries}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{notifications/resources/courier → directoryEntries}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{notifications/resources/courier/client/requests/CourierNotificationPreferencesClientCreate1.js → directoryEntries/client/requests/DirectoryEntryClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/{notifications/resources/shipper/client/requests/ShipperNotificationPreferencesClientCreate1.js → directoryEntries/client/requests/DirectoryEntryClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/{notifications/resources/courier → directoryEntries}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{notifications/resources/courier → directoryEntries}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{notifications/resources/courier → directoryEntries}/index.js +0 -0
- /package/dist/cjs/api/resources/notifications/resources/{shipper → adHoc}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/notifications/resources/{shipper → adHoc}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{shipperContactInfo/client/requests/ShipperContactClientUpdate1.js → notifications/resources/adHoc/client/requests/NotificationIntentAdHocClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/notifications/resources/{shipper → adHoc}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/notifications/resources/{shipper → adHoc}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/notifications/resources/{shipper → adHoc}/index.js +0 -0
- /package/dist/cjs/api/resources/{shipperContactInfo → notifications/resources/groups}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{shipperContactInfo → notifications/resources/groups}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{taskArtifactNotifications/client/requests/TaskArtifactNotificationPreferencesClientCreate1.js → notifications/resources/groups/client/requests/GroupsUpdateNameV1Request.js} +0 -0
- /package/dist/cjs/api/{types/CourierNotificationEventEnum.js → resources/notifications/resources/groups/client/requests/NotificationGroupClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/{shipperContactInfo → notifications/resources/groups}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{shipperContactInfo → notifications/resources/groups}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{shipperContactInfo → notifications/resources/groups}/index.js +0 -0
- /package/dist/cjs/api/resources/{taskArtifactNotifications → notifications/resources/userPreferences}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{taskArtifactNotifications → notifications/resources/userPreferences}/client/index.js +0 -0
- /package/dist/cjs/api/{types/CourierNotificationPreferences1.js → resources/notifications/resources/userPreferences/client/requests/UserNotificationPreferencesUpdateRequest.js} +0 -0
- /package/dist/cjs/api/resources/{taskArtifactNotifications → notifications/resources/userPreferences}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{taskArtifactNotifications → notifications/resources/userPreferences}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{taskArtifactNotifications → notifications/resources/userPreferences}/index.js +0 -0
- /package/dist/{esm/api/resources/notifications/resources/courier/client/requests/index.mjs → cjs/api/resources/notifications/resources/webhookSetup/client/index.d.ts} +0 -0
- /package/dist/cjs/api/types/{Driver1.js → BillingLineItemGroupMessageWebhookPayload.js} +0 -0
- /package/dist/cjs/api/types/{ShipperContact1.js → BillingLineItemGroupS3ObjectAddedWebhookPayload.js} +0 -0
- /package/dist/cjs/api/types/{ShipperContactClientCreate1.js → BillingStatementOpenedWebhookPayload.js} +0 -0
- /package/dist/cjs/api/types/{ShipperNotificationEventEnum.js → BillingStatementPaidWebhookPayload.js} +0 -0
- /package/dist/cjs/api/types/{ShipperNotificationPreferences1.js → DirectoryEntry1.js} +0 -0
- /package/dist/cjs/api/types/{Task1.js → Driver1Input.js} +0 -0
- /package/dist/cjs/api/types/{TaskArtifactNotificationPreferences1.js → Driver1Output.js} +0 -0
- /package/dist/esm/api/resources/{notifications/resources/courier → directoryEntries}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{notifications/resources/courier → directoryEntries}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{notifications/resources/courier/client/requests/CourierNotificationPreferencesClientCreate1.mjs → directoryEntries/client/requests/DirectoryEntryClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/{notifications/resources/shipper/client/requests/ShipperNotificationPreferencesClientCreate1.mjs → directoryEntries/client/requests/DirectoryEntryClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/{notifications/resources/shipper → directoryEntries}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{notifications/resources/courier → directoryEntries}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{notifications/resources/courier → directoryEntries}/index.mjs +0 -0
- /package/dist/esm/api/resources/notifications/resources/{shipper → adHoc}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/notifications/resources/{shipper → adHoc}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{shipperContactInfo/client/requests/ShipperContactClientUpdate1.mjs → notifications/resources/adHoc/client/requests/NotificationIntentAdHocClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/{shipperContactInfo → notifications/resources/adHoc}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/notifications/resources/{shipper → adHoc}/index.d.mts +0 -0
- /package/dist/esm/api/resources/notifications/resources/{shipper → adHoc}/index.mjs +0 -0
- /package/dist/esm/api/resources/{shipperContactInfo → notifications/resources/groups}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{shipperContactInfo → notifications/resources/groups}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{taskArtifactNotifications/client/requests/TaskArtifactNotificationPreferencesClientCreate1.mjs → notifications/resources/groups/client/requests/GroupsUpdateNameV1Request.mjs} +0 -0
- /package/dist/esm/api/{types/CourierNotificationEventEnum.mjs → resources/notifications/resources/groups/client/requests/NotificationGroupClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/{taskArtifactNotifications → notifications/resources/groups}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{shipperContactInfo → notifications/resources/groups}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{shipperContactInfo → notifications/resources/groups}/index.mjs +0 -0
- /package/dist/esm/api/resources/{taskArtifactNotifications → notifications/resources/userPreferences}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{taskArtifactNotifications → notifications/resources/userPreferences}/client/index.mjs +0 -0
- /package/dist/esm/api/{types/CourierNotificationPreferences1.mjs → resources/notifications/resources/userPreferences/client/requests/UserNotificationPreferencesUpdateRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{taskArtifactNotifications → notifications/resources/userPreferences}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{taskArtifactNotifications → notifications/resources/userPreferences}/index.mjs +0 -0
- /package/dist/esm/api/types/{Driver1.mjs → BillingLineItemGroupMessageWebhookPayload.mjs} +0 -0
- /package/dist/esm/api/types/{ShipperContact1.mjs → BillingLineItemGroupS3ObjectAddedWebhookPayload.mjs} +0 -0
- /package/dist/esm/api/types/{ShipperContactClientCreate1.mjs → BillingStatementOpenedWebhookPayload.mjs} +0 -0
- /package/dist/esm/api/types/{ShipperNotificationEventEnum.mjs → BillingStatementPaidWebhookPayload.mjs} +0 -0
- /package/dist/esm/api/types/{ShipperNotificationPreferences1.mjs → DirectoryEntry1.mjs} +0 -0
- /package/dist/esm/api/types/{Task1.mjs → Driver1Input.mjs} +0 -0
- /package/dist/esm/api/types/{TaskArtifactNotificationPreferences1.mjs → Driver1Output.mjs} +0 -0
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Chrt from "../index.js";
|
|
5
|
-
export interface ShipperNotificationPreferences1 {
|
|
6
|
-
schema_version: number;
|
|
7
|
-
email_addresses?: string[];
|
|
8
|
-
sms_phone_numbers?: string[];
|
|
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_timestamp: string;
|
|
17
|
-
_id: string;
|
|
18
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Chrt from "../index.js";
|
|
5
|
-
export interface TaskArtifactNotificationPreferences1 {
|
|
6
|
-
schema_version: number;
|
|
7
|
-
email_addresses?: string[];
|
|
8
|
-
sms_phone_numbers?: string[];
|
|
9
|
-
voice_phone_numbers?: string[];
|
|
10
|
-
/** For each ChrtGroundCourierTaskActionEnum1, 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_timestamp: string;
|
|
17
|
-
_id: string;
|
|
18
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as environments from "../../../../../../environments.mjs";
|
|
5
|
-
import * as core from "../../../../../../core/index.mjs";
|
|
6
|
-
import * as Chrt from "../../../../../index.mjs";
|
|
7
|
-
export declare namespace Courier {
|
|
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 Courier {
|
|
31
|
-
protected readonly _options: Courier.Options;
|
|
32
|
-
constructor(_options?: Courier.Options);
|
|
33
|
-
/**
|
|
34
|
-
* Retrieves notification preferences for the caller's courier organization. | () -> (CourierNotificationPreferences1)
|
|
35
|
-
*
|
|
36
|
-
* @param {Courier.RequestOptions} requestOptions - Request-specific configuration.
|
|
37
|
-
*
|
|
38
|
-
* @example
|
|
39
|
-
* await client.notifications.courier.getPreferencesV1()
|
|
40
|
-
*/
|
|
41
|
-
getPreferencesV1(requestOptions?: Courier.RequestOptions): core.HttpResponsePromise<Chrt.CourierNotificationPreferences1>;
|
|
42
|
-
private __getPreferencesV1;
|
|
43
|
-
/**
|
|
44
|
-
* Creates or updates notification preferences for the caller's courier organization. | (CourierNotificationPreferencesClientCreate1) -> (PydanticObjectId)
|
|
45
|
-
*
|
|
46
|
-
* @param {Chrt.notifications.CourierNotificationPreferencesClientCreate1} request
|
|
47
|
-
* @param {Courier.RequestOptions} requestOptions - Request-specific configuration.
|
|
48
|
-
*
|
|
49
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
50
|
-
*
|
|
51
|
-
* @example
|
|
52
|
-
* await client.notifications.courier.upsertPreferencesV1({
|
|
53
|
-
* schema_version: 1
|
|
54
|
-
* })
|
|
55
|
-
*/
|
|
56
|
-
upsertPreferencesV1(request: Chrt.notifications.CourierNotificationPreferencesClientCreate1, requestOptions?: Courier.RequestOptions): core.HttpResponsePromise<string>;
|
|
57
|
-
private __upsertPreferencesV1;
|
|
58
|
-
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
59
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Chrt from "../../../../../../index.mjs";
|
|
5
|
-
/**
|
|
6
|
-
* @example
|
|
7
|
-
* {
|
|
8
|
-
* schema_version: 1
|
|
9
|
-
* }
|
|
10
|
-
*/
|
|
11
|
-
export interface CourierNotificationPreferencesClientCreate1 {
|
|
12
|
-
schema_version: number;
|
|
13
|
-
email_addresses?: string[];
|
|
14
|
-
sms_phone_numbers?: string[];
|
|
15
|
-
voice_phone_numbers?: string[];
|
|
16
|
-
/** For each CourierNotificationEventEnum, which channels (email/sms/push/phone_call) are enabled */
|
|
17
|
-
preferences?: Record<string, Chrt.NotificationChannelEnum[]>;
|
|
18
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { type CourierNotificationPreferencesClientCreate1 } from "./CourierNotificationPreferencesClientCreate1.mjs";
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as environments from "../../../../../../environments.mjs";
|
|
5
|
-
import * as core from "../../../../../../core/index.mjs";
|
|
6
|
-
import * as Chrt from "../../../../../index.mjs";
|
|
7
|
-
export declare namespace Shipper {
|
|
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 Shipper {
|
|
31
|
-
protected readonly _options: Shipper.Options;
|
|
32
|
-
constructor(_options?: Shipper.Options);
|
|
33
|
-
/**
|
|
34
|
-
* Retrieves notification preferences for the caller's shipper organization. | () -> (ShipperNotificationPreferences1)
|
|
35
|
-
*
|
|
36
|
-
* @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
|
|
37
|
-
*
|
|
38
|
-
* @example
|
|
39
|
-
* await client.notifications.shipper.getPreferencesV1()
|
|
40
|
-
*/
|
|
41
|
-
getPreferencesV1(requestOptions?: Shipper.RequestOptions): core.HttpResponsePromise<Chrt.ShipperNotificationPreferences1>;
|
|
42
|
-
private __getPreferencesV1;
|
|
43
|
-
/**
|
|
44
|
-
* Creates or updates notification preferences for the caller's shipper organization. | (ShipperNotificationPreferencesClientCreate1) -> (PydanticObjectId)
|
|
45
|
-
*
|
|
46
|
-
* @param {Chrt.notifications.ShipperNotificationPreferencesClientCreate1} request
|
|
47
|
-
* @param {Shipper.RequestOptions} requestOptions - Request-specific configuration.
|
|
48
|
-
*
|
|
49
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
50
|
-
*
|
|
51
|
-
* @example
|
|
52
|
-
* await client.notifications.shipper.upsertPreferencesV1({
|
|
53
|
-
* schema_version: 1
|
|
54
|
-
* })
|
|
55
|
-
*/
|
|
56
|
-
upsertPreferencesV1(request: Chrt.notifications.ShipperNotificationPreferencesClientCreate1, requestOptions?: Shipper.RequestOptions): core.HttpResponsePromise<string>;
|
|
57
|
-
private __upsertPreferencesV1;
|
|
58
|
-
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
59
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Chrt from "../../../../../../index.mjs";
|
|
5
|
-
/**
|
|
6
|
-
* @example
|
|
7
|
-
* {
|
|
8
|
-
* schema_version: 1
|
|
9
|
-
* }
|
|
10
|
-
*/
|
|
11
|
-
export interface ShipperNotificationPreferencesClientCreate1 {
|
|
12
|
-
schema_version: number;
|
|
13
|
-
email_addresses?: string[];
|
|
14
|
-
sms_phone_numbers?: string[];
|
|
15
|
-
voice_phone_numbers?: string[];
|
|
16
|
-
/** For each ShipperNotificationEventEnum, which channels (email/sms/push/phone_call) are enabled */
|
|
17
|
-
preferences?: Record<string, Chrt.NotificationChannelEnum[]>;
|
|
18
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { type ShipperNotificationPreferencesClientCreate1 } from "./ShipperNotificationPreferencesClientCreate1.mjs";
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as environments from "../../../../environments.mjs";
|
|
5
|
-
import * as core from "../../../../core/index.mjs";
|
|
6
|
-
import * as Chrt from "../../../index.mjs";
|
|
7
|
-
export declare namespace ShipperContactInfo {
|
|
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 ShipperContactInfo {
|
|
31
|
-
protected readonly _options: ShipperContactInfo.Options;
|
|
32
|
-
constructor(_options?: ShipperContactInfo.Options);
|
|
33
|
-
/**
|
|
34
|
-
* Retrieves the shipper contact information associated with the caller's ID. | () -> (ShipperContact1)
|
|
35
|
-
*
|
|
36
|
-
* @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
37
|
-
*
|
|
38
|
-
* @example
|
|
39
|
-
* await client.shipperContactInfo.getCallerV1()
|
|
40
|
-
*/
|
|
41
|
-
getCallerV1(requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<Chrt.ShipperContact1>;
|
|
42
|
-
private __getCallerV1;
|
|
43
|
-
/**
|
|
44
|
-
* Lists all shipper contacts for the caller's organization. | () -> (list[ShipperContact1])
|
|
45
|
-
*
|
|
46
|
-
* @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
47
|
-
*
|
|
48
|
-
* @example
|
|
49
|
-
* await client.shipperContactInfo.listV1()
|
|
50
|
-
*/
|
|
51
|
-
listV1(requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<Chrt.ShipperContact1[]>;
|
|
52
|
-
private __listV1;
|
|
53
|
-
/**
|
|
54
|
-
* Lists all shipper contacts accessible to the courier organization for a specific on-platform shipper. | () -> (list[ShipperContact1])
|
|
55
|
-
*
|
|
56
|
-
* @param {string} shipperOrgId
|
|
57
|
-
* @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
58
|
-
*
|
|
59
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
60
|
-
*
|
|
61
|
-
* @example
|
|
62
|
-
* await client.shipperContactInfo.listCourierContactsV1("shipper_org_id")
|
|
63
|
-
*/
|
|
64
|
-
listCourierContactsV1(shipperOrgId: string, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<Chrt.ShipperContact1[]>;
|
|
65
|
-
private __listCourierContactsV1;
|
|
66
|
-
/**
|
|
67
|
-
* Lists all shipper contacts accessible to the forwarder organization for a specific on-platform shipper. | () -> (list[ShipperContact1])
|
|
68
|
-
*
|
|
69
|
-
* @param {string} shipperOrgId
|
|
70
|
-
* @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
71
|
-
*
|
|
72
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
73
|
-
*
|
|
74
|
-
* @example
|
|
75
|
-
* await client.shipperContactInfo.listForwarderContactsV1("shipper_org_id")
|
|
76
|
-
*/
|
|
77
|
-
listForwarderContactsV1(shipperOrgId: string, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<Chrt.ShipperContact1[]>;
|
|
78
|
-
private __listForwarderContactsV1;
|
|
79
|
-
/**
|
|
80
|
-
* Lists all shipper contacts for a specific off-platform shipper. | () -> (list[ShipperContact1])
|
|
81
|
-
*
|
|
82
|
-
* @param {string} offChrtShipperOrgId
|
|
83
|
-
* @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
84
|
-
*
|
|
85
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
86
|
-
*
|
|
87
|
-
* @example
|
|
88
|
-
* await client.shipperContactInfo.listOffPlatformContactsV1("off_chrt_shipper_org_id")
|
|
89
|
-
*/
|
|
90
|
-
listOffPlatformContactsV1(offChrtShipperOrgId: string, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<Chrt.ShipperContact1[]>;
|
|
91
|
-
private __listOffPlatformContactsV1;
|
|
92
|
-
/**
|
|
93
|
-
* Retrieves a specific shipper contact by ID if authorized to access it. | () -> (ShipperContact1)
|
|
94
|
-
*
|
|
95
|
-
* @param {string} id
|
|
96
|
-
* @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
97
|
-
*
|
|
98
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
99
|
-
*
|
|
100
|
-
* @example
|
|
101
|
-
* await client.shipperContactInfo.getV1("id")
|
|
102
|
-
*/
|
|
103
|
-
getV1(id: string, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<Chrt.ShipperContact1>;
|
|
104
|
-
private __getV1;
|
|
105
|
-
/**
|
|
106
|
-
* Creates contact information for an on-platform shipper organization or user. | (ShipperContactClientCreate1) -> (PydanticObjectId)
|
|
107
|
-
*
|
|
108
|
-
* @param {Chrt.ShipperContactClientCreate1} request
|
|
109
|
-
* @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
110
|
-
*
|
|
111
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
112
|
-
*
|
|
113
|
-
* @example
|
|
114
|
-
* await client.shipperContactInfo.createOnPlatformV1({
|
|
115
|
-
* schema_version: 1
|
|
116
|
-
* })
|
|
117
|
-
*/
|
|
118
|
-
createOnPlatformV1(request: Chrt.ShipperContactClientCreate1, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<string>;
|
|
119
|
-
private __createOnPlatformV1;
|
|
120
|
-
/**
|
|
121
|
-
* Creates contact information for an off-platform shipper using connection info. | (ShipperContactClientCreate1) -> (PydanticObjectId)
|
|
122
|
-
*
|
|
123
|
-
* @param {Chrt.ShipperContactClientCreate1} request
|
|
124
|
-
* @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
125
|
-
*
|
|
126
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
127
|
-
*
|
|
128
|
-
* @example
|
|
129
|
-
* await client.shipperContactInfo.createOffPlatformV1({
|
|
130
|
-
* schema_version: 1
|
|
131
|
-
* })
|
|
132
|
-
*/
|
|
133
|
-
createOffPlatformV1(request: Chrt.ShipperContactClientCreate1, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<string>;
|
|
134
|
-
private __createOffPlatformV1;
|
|
135
|
-
/**
|
|
136
|
-
* Updates existing shipper contact information owned by the caller's organization. | (ShipperContactClientUpdate1) -> (bool)
|
|
137
|
-
*
|
|
138
|
-
* @param {string} shipperContactInfoId
|
|
139
|
-
* @param {Chrt.ShipperContactClientUpdate1} request
|
|
140
|
-
* @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
141
|
-
*
|
|
142
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
143
|
-
*
|
|
144
|
-
* @example
|
|
145
|
-
* await client.shipperContactInfo.updateV1("shipper_contact_info_id")
|
|
146
|
-
*/
|
|
147
|
-
updateV1(shipperContactInfoId: string, request?: Chrt.ShipperContactClientUpdate1, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
148
|
-
private __updateV1;
|
|
149
|
-
/**
|
|
150
|
-
* Deletes shipper contact information owned by the caller's organization. | () -> (bool)
|
|
151
|
-
*
|
|
152
|
-
* @param {string} id
|
|
153
|
-
* @param {ShipperContactInfo.RequestOptions} requestOptions - Request-specific configuration.
|
|
154
|
-
*
|
|
155
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
156
|
-
*
|
|
157
|
-
* @example
|
|
158
|
-
* await client.shipperContactInfo.deleteV1("id")
|
|
159
|
-
*/
|
|
160
|
-
deleteV1(id: string, requestOptions?: ShipperContactInfo.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
161
|
-
private __deleteV1;
|
|
162
|
-
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
163
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { type ShipperContactClientUpdate1 } from "./ShipperContactClientUpdate1.mjs";
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as environments from "../../../../environments.mjs";
|
|
5
|
-
import * as core from "../../../../core/index.mjs";
|
|
6
|
-
import * as Chrt from "../../../index.mjs";
|
|
7
|
-
export declare namespace TaskArtifactNotifications {
|
|
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 TaskArtifactNotifications {
|
|
31
|
-
protected readonly _options: TaskArtifactNotifications.Options;
|
|
32
|
-
constructor(_options?: TaskArtifactNotifications.Options);
|
|
33
|
-
/**
|
|
34
|
-
* Retrieves task_artifact notification preferences for the caller's organization. | () -> (TaskArtifactNotificationPreferences1)
|
|
35
|
-
*
|
|
36
|
-
* @param {TaskArtifactNotifications.RequestOptions} requestOptions - Request-specific configuration.
|
|
37
|
-
*
|
|
38
|
-
* @example
|
|
39
|
-
* await client.taskArtifactNotifications.getPreferencesV1()
|
|
40
|
-
*/
|
|
41
|
-
getPreferencesV1(requestOptions?: TaskArtifactNotifications.RequestOptions): core.HttpResponsePromise<Chrt.TaskArtifactNotificationPreferences1>;
|
|
42
|
-
private __getPreferencesV1;
|
|
43
|
-
/**
|
|
44
|
-
* Creates or updates task_artifact notification preferences for the caller's organization. | (TaskArtifactNotificationPreferencesClientCreate1) -> (PydanticObjectId)
|
|
45
|
-
*
|
|
46
|
-
* @param {Chrt.TaskArtifactNotificationPreferencesClientCreate1} request
|
|
47
|
-
* @param {TaskArtifactNotifications.RequestOptions} requestOptions - Request-specific configuration.
|
|
48
|
-
*
|
|
49
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
50
|
-
*
|
|
51
|
-
* @example
|
|
52
|
-
* await client.taskArtifactNotifications.upsertPreferencesV1({
|
|
53
|
-
* schema_version: 1
|
|
54
|
-
* })
|
|
55
|
-
*/
|
|
56
|
-
upsertPreferencesV1(request: Chrt.TaskArtifactNotificationPreferencesClientCreate1, requestOptions?: TaskArtifactNotifications.RequestOptions): core.HttpResponsePromise<string>;
|
|
57
|
-
private __upsertPreferencesV1;
|
|
58
|
-
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
59
|
-
}
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
5
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
6
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
7
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
8
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
9
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
10
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
11
|
-
});
|
|
12
|
-
};
|
|
13
|
-
import * as environments from "../../../../environments.mjs";
|
|
14
|
-
import * as core from "../../../../core/index.mjs";
|
|
15
|
-
import * as Chrt from "../../../index.mjs";
|
|
16
|
-
import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../core/headers.mjs";
|
|
17
|
-
import * as errors from "../../../../errors/index.mjs";
|
|
18
|
-
export class TaskArtifactNotifications {
|
|
19
|
-
constructor(_options = {}) {
|
|
20
|
-
this._options = _options;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* Retrieves task_artifact notification preferences for the caller's organization. | () -> (TaskArtifactNotificationPreferences1)
|
|
24
|
-
*
|
|
25
|
-
* @param {TaskArtifactNotifications.RequestOptions} requestOptions - Request-specific configuration.
|
|
26
|
-
*
|
|
27
|
-
* @example
|
|
28
|
-
* await client.taskArtifactNotifications.getPreferencesV1()
|
|
29
|
-
*/
|
|
30
|
-
getPreferencesV1(requestOptions) {
|
|
31
|
-
return core.HttpResponsePromise.fromPromise(this.__getPreferencesV1(requestOptions));
|
|
32
|
-
}
|
|
33
|
-
__getPreferencesV1(requestOptions) {
|
|
34
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
35
|
-
var _a, _b, _c, _d;
|
|
36
|
-
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
37
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
38
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "oort/task_artifact_notification_preferences/v1"),
|
|
39
|
-
method: "GET",
|
|
40
|
-
headers: _headers,
|
|
41
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
42
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
43
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
44
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
45
|
-
});
|
|
46
|
-
if (_response.ok) {
|
|
47
|
-
return {
|
|
48
|
-
data: _response.body,
|
|
49
|
-
rawResponse: _response.rawResponse,
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
if (_response.error.reason === "status-code") {
|
|
53
|
-
throw new errors.ChrtError({
|
|
54
|
-
statusCode: _response.error.statusCode,
|
|
55
|
-
body: _response.error.body,
|
|
56
|
-
rawResponse: _response.rawResponse,
|
|
57
|
-
});
|
|
58
|
-
}
|
|
59
|
-
switch (_response.error.reason) {
|
|
60
|
-
case "non-json":
|
|
61
|
-
throw new errors.ChrtError({
|
|
62
|
-
statusCode: _response.error.statusCode,
|
|
63
|
-
body: _response.error.rawBody,
|
|
64
|
-
rawResponse: _response.rawResponse,
|
|
65
|
-
});
|
|
66
|
-
case "timeout":
|
|
67
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /oort/task_artifact_notification_preferences/v1.");
|
|
68
|
-
case "unknown":
|
|
69
|
-
throw new errors.ChrtError({
|
|
70
|
-
message: _response.error.errorMessage,
|
|
71
|
-
rawResponse: _response.rawResponse,
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Creates or updates task_artifact notification preferences for the caller's organization. | (TaskArtifactNotificationPreferencesClientCreate1) -> (PydanticObjectId)
|
|
78
|
-
*
|
|
79
|
-
* @param {Chrt.TaskArtifactNotificationPreferencesClientCreate1} request
|
|
80
|
-
* @param {TaskArtifactNotifications.RequestOptions} requestOptions - Request-specific configuration.
|
|
81
|
-
*
|
|
82
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
83
|
-
*
|
|
84
|
-
* @example
|
|
85
|
-
* await client.taskArtifactNotifications.upsertPreferencesV1({
|
|
86
|
-
* schema_version: 1
|
|
87
|
-
* })
|
|
88
|
-
*/
|
|
89
|
-
upsertPreferencesV1(request, requestOptions) {
|
|
90
|
-
return core.HttpResponsePromise.fromPromise(this.__upsertPreferencesV1(request, requestOptions));
|
|
91
|
-
}
|
|
92
|
-
__upsertPreferencesV1(request, requestOptions) {
|
|
93
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
94
|
-
var _a, _b, _c, _d;
|
|
95
|
-
let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
96
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
97
|
-
url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, "oort/task_artifact_notification_preferences/upsert/v1"),
|
|
98
|
-
method: "POST",
|
|
99
|
-
headers: _headers,
|
|
100
|
-
contentType: "application/json",
|
|
101
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
102
|
-
requestType: "json",
|
|
103
|
-
body: request,
|
|
104
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
105
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
106
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
107
|
-
});
|
|
108
|
-
if (_response.ok) {
|
|
109
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
110
|
-
}
|
|
111
|
-
if (_response.error.reason === "status-code") {
|
|
112
|
-
switch (_response.error.statusCode) {
|
|
113
|
-
case 422:
|
|
114
|
-
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
115
|
-
default:
|
|
116
|
-
throw new errors.ChrtError({
|
|
117
|
-
statusCode: _response.error.statusCode,
|
|
118
|
-
body: _response.error.body,
|
|
119
|
-
rawResponse: _response.rawResponse,
|
|
120
|
-
});
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
switch (_response.error.reason) {
|
|
124
|
-
case "non-json":
|
|
125
|
-
throw new errors.ChrtError({
|
|
126
|
-
statusCode: _response.error.statusCode,
|
|
127
|
-
body: _response.error.rawBody,
|
|
128
|
-
rawResponse: _response.rawResponse,
|
|
129
|
-
});
|
|
130
|
-
case "timeout":
|
|
131
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /oort/task_artifact_notification_preferences/upsert/v1.");
|
|
132
|
-
case "unknown":
|
|
133
|
-
throw new errors.ChrtError({
|
|
134
|
-
message: _response.error.errorMessage,
|
|
135
|
-
rawResponse: _response.rawResponse,
|
|
136
|
-
});
|
|
137
|
-
}
|
|
138
|
-
});
|
|
139
|
-
}
|
|
140
|
-
_getAuthorizationHeader() {
|
|
141
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
142
|
-
const bearer = yield core.Supplier.get(this._options.token);
|
|
143
|
-
if (bearer != null) {
|
|
144
|
-
return `Bearer ${bearer}`;
|
|
145
|
-
}
|
|
146
|
-
return undefined;
|
|
147
|
-
});
|
|
148
|
-
}
|
|
149
|
-
}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Chrt from "../../../../index.mjs";
|
|
5
|
-
/**
|
|
6
|
-
* @example
|
|
7
|
-
* {
|
|
8
|
-
* schema_version: 1
|
|
9
|
-
* }
|
|
10
|
-
*/
|
|
11
|
-
export interface TaskArtifactNotificationPreferencesClientCreate1 {
|
|
12
|
-
schema_version: number;
|
|
13
|
-
email_addresses?: string[];
|
|
14
|
-
sms_phone_numbers?: string[];
|
|
15
|
-
voice_phone_numbers?: string[];
|
|
16
|
-
/** For each ChrtGroundCourierTaskActionEnum1, which channels (email/sms/voice) are enabled */
|
|
17
|
-
preferences?: Record<string, Chrt.NotificationChannelEnum[]>;
|
|
18
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { type TaskArtifactNotificationPreferencesClientCreate1 } from "./TaskArtifactNotificationPreferencesClientCreate1.mjs";
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Chrt from "../index.mjs";
|
|
5
|
-
export interface CourierNotificationPreferences1 {
|
|
6
|
-
schema_version: number;
|
|
7
|
-
email_addresses?: string[];
|
|
8
|
-
sms_phone_numbers?: string[];
|
|
9
|
-
voice_phone_numbers?: string[];
|
|
10
|
-
/** For each CourierNotificationEventEnum, 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_timestamp: string;
|
|
17
|
-
_id: string;
|
|
18
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Shared notification channel types used across the application
|
|
6
|
-
*/
|
|
7
|
-
export type NotificationChannelEnum = "email" | "sms" | "push" | "phone_call";
|
|
8
|
-
export declare const NotificationChannelEnum: {
|
|
9
|
-
readonly Email: "email";
|
|
10
|
-
readonly Sms: "sms";
|
|
11
|
-
readonly Push: "push";
|
|
12
|
-
readonly PhoneCall: "phone_call";
|
|
13
|
-
};
|