@chrt-inc/typescript-sdk 1.880.0 → 1.885.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.js +2 -2
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.ts +0 -1
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.ts +0 -1
- package/dist/cjs/api/resources/notifications/resources/adHoc/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/notifications/resources/adHoc/client/Client.js +2 -2
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +25 -9
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +80 -12
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksApplyTimeDeltaToDeadlineTimestampsReq1.d.ts +14 -0
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/{OperationsTasksBulkUpdateDeadlinesReq1.d.ts → OperationsTasksSetDeadlineTimestampsReq1.d.ts} +4 -4
- package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/index.d.ts +2 -1
- package/dist/cjs/api/resources/orgs/client/Client.d.ts +6 -6
- package/dist/cjs/api/resources/orgs/client/Client.js +14 -14
- package/dist/cjs/api/resources/orgs/resources/accounts/client/Client.d.ts +97 -0
- package/dist/cjs/api/resources/orgs/resources/{offChrtVendor → accounts}/client/Client.js +57 -100
- package/dist/{esm/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientCreate1.d.mts → cjs/api/resources/orgs/resources/accounts/client/requests/AccountClientCreate1.d.ts} +4 -2
- package/dist/cjs/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorClientUpdate1.d.ts → accounts/client/requests/AccountClientUpdate1.d.ts} +1 -3
- package/dist/cjs/api/resources/orgs/resources/accounts/client/requests/AccountsListV1Request.d.ts +27 -0
- package/dist/cjs/api/resources/orgs/resources/accounts/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/orgs/resources/contacts/client/Client.d.ts +112 -0
- package/dist/cjs/api/resources/orgs/resources/{directoryEntries → contacts}/client/Client.js +55 -51
- package/dist/cjs/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientCreate1.d.ts → contacts/client/requests/ContactClientCreate1.d.ts} +5 -4
- package/dist/cjs/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.ts → contacts/client/requests/ContactClientUpdate1.d.ts} +1 -1
- package/dist/cjs/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntriesListV1Request.d.ts → contacts/client/requests/ContactsListV1Request.d.ts} +9 -6
- package/dist/cjs/api/resources/orgs/resources/contacts/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/orgs/resources/index.d.ts +4 -4
- package/dist/cjs/api/resources/orgs/resources/index.js +5 -5
- package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/Client.js +1 -1
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.js +4 -4
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.ts +2 -1
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.ts +2 -1
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.ts +3 -3
- package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +28 -0
- package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +120 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +4 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +20 -4
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.js +1 -1
- package/dist/{esm/api/types/OffChrtVendor1.d.mts → cjs/api/types/Account1.d.ts} +4 -2
- package/dist/cjs/api/types/{OffChrtVendorListRes.d.ts → AccountListRes.d.ts} +2 -2
- package/dist/cjs/api/types/AccountSortByEnum.d.ts +4 -0
- package/dist/cjs/api/types/{DirectoryEntry1.d.ts → Contact1.d.ts} +6 -7
- package/dist/cjs/api/types/{DirectoryEntryListRes.d.ts → ContactListRes.d.ts} +2 -2
- package/dist/cjs/api/types/ContactSortByEnum.d.ts +4 -0
- package/dist/cjs/api/types/CreateOffChrtOrgRes.d.ts +1 -1
- package/dist/cjs/api/types/LineItemGroup1.d.ts +0 -1
- package/dist/cjs/api/types/NotificationIntentAdHoc1.d.ts +1 -1
- package/dist/cjs/api/types/NotificationIntentAdHocClientCreate1.d.ts +1 -1
- package/dist/cjs/api/types/{OperationsTaskDeadlineUpdate1.d.ts → OperationsTaskDeadlineTimestampUpdate1.d.ts} +2 -2
- package/dist/cjs/api/types/OperationsTaskDeadlineTimestampUpdate1.js +5 -0
- package/dist/cjs/api/types/OperationsTasksDeadlineTimestampsUpdateRes1.d.ts +7 -0
- package/dist/cjs/api/types/OperationsTasksDeadlineTimestampsUpdateRes1.js +5 -0
- package/dist/cjs/api/types/Order1.d.ts +1 -0
- package/dist/cjs/api/types/OrderAndTaskGroupExpandedReq.d.ts +1 -1
- package/dist/cjs/api/types/OrderDraftValidationRequirements.d.ts +1 -0
- package/dist/cjs/api/types/OrderLimitedForCoordinator1.d.ts +1 -0
- package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +1 -0
- package/dist/cjs/api/types/OrderTemplate1.d.ts +2 -1
- package/dist/cjs/api/types/OrderTemplateCore1.d.ts +2 -1
- package/dist/cjs/api/types/OrderTemplateExpanded1.d.ts +1 -1
- package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.d.ts +3 -2
- package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.js +2 -1
- package/dist/cjs/api/types/OrderTemplateReferencesExpanded1.d.ts +1 -1
- package/dist/cjs/api/types/OrderTemplateResolvabilityRes.d.ts +2 -1
- package/dist/cjs/api/types/OrgTypeEnum.d.ts +2 -1
- package/dist/cjs/api/types/OrgTypeEnum.js +1 -0
- package/dist/cjs/api/types/Statement1.d.ts +0 -1
- package/dist/cjs/api/types/Task1.d.ts +1 -1
- 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 +1 -1
- package/dist/cjs/api/types/TaskGroupExpanded.d.ts +2 -0
- package/dist/cjs/api/types/index.d.ts +8 -7
- package/dist/cjs/api/types/index.js +8 -7
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.mts +0 -1
- package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.mts +0 -1
- package/dist/esm/api/resources/notifications/resources/adHoc/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/notifications/resources/adHoc/client/Client.mjs +2 -2
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +25 -9
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +80 -12
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksApplyTimeDeltaToDeadlineTimestampsReq1.d.mts +14 -0
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/{OperationsTasksBulkUpdateDeadlinesReq1.d.mts → OperationsTasksSetDeadlineTimestampsReq1.d.mts} +4 -4
- package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/index.d.mts +2 -1
- package/dist/esm/api/resources/orgs/client/Client.d.mts +6 -6
- package/dist/esm/api/resources/orgs/client/Client.mjs +8 -8
- package/dist/esm/api/resources/orgs/resources/accounts/client/Client.d.mts +97 -0
- package/dist/esm/api/resources/orgs/resources/{offChrtVendor → accounts}/client/Client.mjs +55 -98
- package/dist/{cjs/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientCreate1.d.ts → esm/api/resources/orgs/resources/accounts/client/requests/AccountClientCreate1.d.mts} +4 -2
- package/dist/esm/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorClientUpdate1.d.mts → accounts/client/requests/AccountClientUpdate1.d.mts} +1 -3
- package/dist/esm/api/resources/orgs/resources/accounts/client/requests/AccountsListV1Request.d.mts +27 -0
- package/dist/esm/api/resources/orgs/resources/accounts/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/orgs/resources/contacts/client/Client.d.mts +112 -0
- package/dist/esm/api/resources/orgs/resources/{directoryEntries → contacts}/client/Client.mjs +53 -49
- package/dist/esm/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientCreate1.d.mts → contacts/client/requests/ContactClientCreate1.d.mts} +5 -4
- package/dist/esm/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.mts → contacts/client/requests/ContactClientUpdate1.d.mts} +1 -1
- package/dist/esm/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntriesListV1Request.d.mts → contacts/client/requests/ContactsListV1Request.d.mts} +9 -6
- package/dist/esm/api/resources/orgs/resources/contacts/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/orgs/resources/index.d.mts +4 -4
- package/dist/esm/api/resources/orgs/resources/index.mjs +4 -4
- package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/Client.mjs +1 -1
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.mjs +4 -4
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.mts +2 -1
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.mts +2 -1
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.mts +3 -3
- package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +28 -0
- package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +120 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +4 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +20 -4
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +3 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +3 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +3 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +3 -0
- package/dist/esm/api/resources/shipping/resources/tasks/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/tasks/client/Client.mjs +1 -1
- package/dist/{cjs/api/types/OffChrtVendor1.d.ts → esm/api/types/Account1.d.mts} +4 -2
- package/dist/esm/api/types/{OffChrtVendorListRes.d.mts → AccountListRes.d.mts} +2 -2
- package/dist/esm/api/types/AccountSortByEnum.d.mts +4 -0
- package/dist/esm/api/types/{DirectoryEntry1.d.mts → Contact1.d.mts} +6 -7
- package/dist/esm/api/types/{DirectoryEntryListRes.d.mts → ContactListRes.d.mts} +2 -2
- package/dist/esm/api/types/ContactSortByEnum.d.mts +4 -0
- package/dist/esm/api/types/CreateOffChrtOrgRes.d.mts +1 -1
- package/dist/esm/api/types/LineItemGroup1.d.mts +0 -1
- package/dist/esm/api/types/NotificationIntentAdHoc1.d.mts +1 -1
- package/dist/esm/api/types/NotificationIntentAdHocClientCreate1.d.mts +1 -1
- package/dist/esm/api/types/{OperationsTaskDeadlineUpdate1.d.mts → OperationsTaskDeadlineTimestampUpdate1.d.mts} +2 -2
- package/dist/esm/api/types/OperationsTaskDeadlineTimestampUpdate1.mjs +4 -0
- package/dist/esm/api/types/OperationsTasksDeadlineTimestampsUpdateRes1.d.mts +7 -0
- package/dist/esm/api/types/OperationsTasksDeadlineTimestampsUpdateRes1.mjs +4 -0
- package/dist/esm/api/types/Order1.d.mts +1 -0
- package/dist/esm/api/types/OrderAndTaskGroupExpandedReq.d.mts +1 -1
- package/dist/esm/api/types/OrderDraftValidationRequirements.d.mts +1 -0
- package/dist/esm/api/types/OrderLimitedForCoordinator1.d.mts +1 -0
- package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +1 -0
- package/dist/esm/api/types/OrderTemplate1.d.mts +2 -1
- package/dist/esm/api/types/OrderTemplateCore1.d.mts +2 -1
- package/dist/esm/api/types/OrderTemplateExpanded1.d.mts +1 -1
- package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.d.mts +3 -2
- package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.mjs +2 -1
- package/dist/esm/api/types/OrderTemplateReferencesExpanded1.d.mts +1 -1
- package/dist/esm/api/types/OrderTemplateResolvabilityRes.d.mts +2 -1
- package/dist/esm/api/types/OrgTypeEnum.d.mts +2 -1
- package/dist/esm/api/types/OrgTypeEnum.mjs +1 -0
- package/dist/esm/api/types/Statement1.d.mts +0 -1
- package/dist/esm/api/types/Task1.d.mts +1 -1
- 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 +1 -1
- package/dist/esm/api/types/TaskGroupExpanded.d.mts +2 -0
- package/dist/esm/api/types/index.d.mts +8 -7
- package/dist/esm/api/types/index.mjs +8 -7
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +441 -287
- package/dist/cjs/api/resources/orgs/resources/directoryEntries/client/Client.d.ts +0 -111
- package/dist/cjs/api/resources/orgs/resources/directoryEntries/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/Client.d.ts +0 -106
- package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorListV1Request.d.ts +0 -14
- package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/types/DirectoryEntrySortByEnum.d.ts +0 -4
- package/dist/cjs/api/types/OperationsTasksBulkUpdateDeadlinesRes1.d.ts +0 -7
- package/dist/esm/api/resources/orgs/resources/directoryEntries/client/Client.d.mts +0 -111
- package/dist/esm/api/resources/orgs/resources/directoryEntries/client/requests/index.d.mts +0 -3
- package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/Client.d.mts +0 -106
- package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorListV1Request.d.mts +0 -14
- package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/requests/index.d.mts +0 -3
- package/dist/esm/api/types/DirectoryEntrySortByEnum.d.mts +0 -4
- package/dist/esm/api/types/OperationsTasksBulkUpdateDeadlinesRes1.d.mts +0 -7
- /package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/{OperationsTasksBulkUpdateDeadlinesReq1.js → OperationsTasksApplyTimeDeltaToDeadlineTimestampsReq1.js} +0 -0
- /package/dist/cjs/api/resources/{orgs/resources/directoryEntries/client/requests/DirectoryEntriesListV1Request.js → operations/resources/operationsTasks/client/requests/OperationsTasksSetDeadlineTimestampsReq1.js} +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{directoryEntries → accounts}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{directoryEntries → accounts}/client/index.js +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientCreate1.js → accounts/client/requests/AccountClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientUpdate1.js → accounts/client/requests/AccountClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorClientCreate1.js → accounts/client/requests/AccountsListV1Request.js} +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{directoryEntries → accounts}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{directoryEntries → accounts}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{directoryEntries → accounts}/index.js +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor → contacts}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor → contacts}/client/index.js +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorClientUpdate1.js → contacts/client/requests/ContactClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorListV1Request.js → contacts/client/requests/ContactClientUpdate1.js} +0 -0
- /package/dist/cjs/api/{types/DirectoryEntry1.js → resources/orgs/resources/contacts/client/requests/ContactsListV1Request.js} +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor → contacts}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor → contacts}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor → contacts}/index.js +0 -0
- /package/dist/cjs/api/types/{DirectoryEntryListRes.js → Account1.js} +0 -0
- /package/dist/cjs/api/types/{DirectoryEntrySortByEnum.js → AccountListRes.js} +0 -0
- /package/dist/cjs/api/types/{OffChrtVendor1.js → AccountSortByEnum.js} +0 -0
- /package/dist/cjs/api/types/{OffChrtVendorListRes.js → Contact1.js} +0 -0
- /package/dist/cjs/api/types/{OperationsTaskDeadlineUpdate1.js → ContactListRes.js} +0 -0
- /package/dist/cjs/api/types/{OperationsTasksBulkUpdateDeadlinesRes1.js → ContactSortByEnum.js} +0 -0
- /package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/{OperationsTasksBulkUpdateDeadlinesReq1.mjs → OperationsTasksApplyTimeDeltaToDeadlineTimestampsReq1.mjs} +0 -0
- /package/dist/esm/api/resources/{orgs/resources/directoryEntries/client/requests/DirectoryEntriesListV1Request.mjs → operations/resources/operationsTasks/client/requests/OperationsTasksSetDeadlineTimestampsReq1.mjs} +0 -0
- /package/dist/esm/api/resources/orgs/resources/{directoryEntries → accounts}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/orgs/resources/{directoryEntries → accounts}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientCreate1.mjs → accounts/client/requests/AccountClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientUpdate1.mjs → accounts/client/requests/AccountClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorClientCreate1.mjs → accounts/client/requests/AccountsListV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/orgs/resources/{directoryEntries → accounts}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/orgs/resources/{directoryEntries → accounts}/index.d.mts +0 -0
- /package/dist/esm/api/resources/orgs/resources/{directoryEntries → accounts}/index.mjs +0 -0
- /package/dist/esm/api/resources/orgs/resources/{offChrtVendor → contacts}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/orgs/resources/{offChrtVendor → contacts}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorClientUpdate1.mjs → contacts/client/requests/ContactClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorListV1Request.mjs → contacts/client/requests/ContactClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/{types/DirectoryEntry1.mjs → resources/orgs/resources/contacts/client/requests/ContactsListV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/orgs/resources/{offChrtVendor → contacts}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/orgs/resources/{offChrtVendor → contacts}/index.d.mts +0 -0
- /package/dist/esm/api/resources/orgs/resources/{offChrtVendor → contacts}/index.mjs +0 -0
- /package/dist/esm/api/types/{DirectoryEntryListRes.mjs → Account1.mjs} +0 -0
- /package/dist/esm/api/types/{DirectoryEntrySortByEnum.mjs → AccountListRes.mjs} +0 -0
- /package/dist/esm/api/types/{OffChrtVendor1.mjs → AccountSortByEnum.mjs} +0 -0
- /package/dist/esm/api/types/{OffChrtVendorListRes.mjs → Contact1.mjs} +0 -0
- /package/dist/esm/api/types/{OperationsTaskDeadlineUpdate1.mjs → ContactListRes.mjs} +0 -0
- /package/dist/esm/api/types/{OperationsTasksBulkUpdateDeadlinesRes1.mjs → ContactSortByEnum.mjs} +0 -0
package/dist/esm/api/resources/orgs/resources/{directoryEntries → contacts}/client/Client.mjs
RENAMED
|
@@ -15,20 +15,20 @@ import * as core from "../../../../../../core/index.mjs";
|
|
|
15
15
|
import * as Chrt from "../../../../../index.mjs";
|
|
16
16
|
import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers.mjs";
|
|
17
17
|
import * as errors from "../../../../../../errors/index.mjs";
|
|
18
|
-
export class
|
|
18
|
+
export class Contacts {
|
|
19
19
|
constructor(_options = {}) {
|
|
20
20
|
this._options = _options;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
* Creates an organization-
|
|
23
|
+
* Creates an organization-created contact. | authz: min_org_role=operator | (ContactClientCreate1) -> (PydanticObjectId)
|
|
24
24
|
*
|
|
25
|
-
* @param {Chrt.orgs.
|
|
26
|
-
* @param {
|
|
25
|
+
* @param {Chrt.orgs.ContactClientCreate1} request
|
|
26
|
+
* @param {Contacts.RequestOptions} requestOptions - Request-specific configuration.
|
|
27
27
|
*
|
|
28
28
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
|
-
* await client.orgs.
|
|
31
|
+
* await client.orgs.contacts.createV1({
|
|
32
32
|
* name: "name",
|
|
33
33
|
* schema_version: 1
|
|
34
34
|
* })
|
|
@@ -41,7 +41,7 @@ export class DirectoryEntries {
|
|
|
41
41
|
var _a, _b, _c, _d;
|
|
42
42
|
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);
|
|
43
43
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
44
|
-
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, "orgs/
|
|
44
|
+
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, "orgs/contacts/create/v1"),
|
|
45
45
|
method: "POST",
|
|
46
46
|
headers: _headers,
|
|
47
47
|
contentType: "application/json",
|
|
@@ -75,7 +75,7 @@ export class DirectoryEntries {
|
|
|
75
75
|
rawResponse: _response.rawResponse,
|
|
76
76
|
});
|
|
77
77
|
case "timeout":
|
|
78
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /orgs/
|
|
78
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /orgs/contacts/create/v1.");
|
|
79
79
|
case "unknown":
|
|
80
80
|
throw new errors.ChrtError({
|
|
81
81
|
message: _response.error.errorMessage,
|
|
@@ -85,25 +85,25 @@ export class DirectoryEntries {
|
|
|
85
85
|
});
|
|
86
86
|
}
|
|
87
87
|
/**
|
|
88
|
-
* Deletes an organization-
|
|
88
|
+
* Deletes an organization-created contact. | authz: min_org_role=operator | () -> (bool)
|
|
89
89
|
*
|
|
90
|
-
* @param {string}
|
|
91
|
-
* @param {
|
|
90
|
+
* @param {string} contactId
|
|
91
|
+
* @param {Contacts.RequestOptions} requestOptions - Request-specific configuration.
|
|
92
92
|
*
|
|
93
93
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
94
94
|
*
|
|
95
95
|
* @example
|
|
96
|
-
* await client.orgs.
|
|
96
|
+
* await client.orgs.contacts.deleteV1("contact_id")
|
|
97
97
|
*/
|
|
98
|
-
deleteV1(
|
|
99
|
-
return core.HttpResponsePromise.fromPromise(this.__deleteV1(
|
|
98
|
+
deleteV1(contactId, requestOptions) {
|
|
99
|
+
return core.HttpResponsePromise.fromPromise(this.__deleteV1(contactId, requestOptions));
|
|
100
100
|
}
|
|
101
|
-
__deleteV1(
|
|
101
|
+
__deleteV1(contactId, requestOptions) {
|
|
102
102
|
return __awaiter(this, void 0, void 0, function* () {
|
|
103
103
|
var _a, _b, _c, _d;
|
|
104
104
|
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);
|
|
105
105
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
106
|
-
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, `orgs/
|
|
106
|
+
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, `orgs/contacts/delete/v1/${encodeURIComponent(contactId)}`),
|
|
107
107
|
method: "DELETE",
|
|
108
108
|
headers: _headers,
|
|
109
109
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
@@ -134,7 +134,7 @@ export class DirectoryEntries {
|
|
|
134
134
|
rawResponse: _response.rawResponse,
|
|
135
135
|
});
|
|
136
136
|
case "timeout":
|
|
137
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /orgs/
|
|
137
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /orgs/contacts/delete/v1/{contact_id}.");
|
|
138
138
|
case "unknown":
|
|
139
139
|
throw new errors.ChrtError({
|
|
140
140
|
message: _response.error.errorMessage,
|
|
@@ -144,18 +144,19 @@ export class DirectoryEntries {
|
|
|
144
144
|
});
|
|
145
145
|
}
|
|
146
146
|
/**
|
|
147
|
-
* Lists organization-
|
|
147
|
+
* Lists organization-created contacts with association filters and search. | authz: min_org_role=operator | () -> (ContactListRes)
|
|
148
148
|
*
|
|
149
|
-
* @param {Chrt.orgs.
|
|
150
|
-
* @param {
|
|
149
|
+
* @param {Chrt.orgs.ContactsListV1Request} request
|
|
150
|
+
* @param {Contacts.RequestOptions} requestOptions - Request-specific configuration.
|
|
151
151
|
*
|
|
152
152
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
153
153
|
*
|
|
154
154
|
* @example
|
|
155
|
-
* await client.orgs.
|
|
155
|
+
* await client.orgs.contacts.listV1({
|
|
156
156
|
* search: "search",
|
|
157
|
-
*
|
|
158
|
-
*
|
|
157
|
+
* filter_org_id: "filter_org_id",
|
|
158
|
+
* filter_off_chrt_org_data_id: "filter_off_chrt_org_data_id",
|
|
159
|
+
* filter_account_id: "filter_account_id",
|
|
159
160
|
* sort_by: "name",
|
|
160
161
|
* sort_order: "asc",
|
|
161
162
|
* page: 1,
|
|
@@ -168,16 +169,19 @@ export class DirectoryEntries {
|
|
|
168
169
|
__listV1() {
|
|
169
170
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
170
171
|
var _a, _b, _c, _d, _e, _f;
|
|
171
|
-
const { search,
|
|
172
|
+
const { search, filter_org_id: filterOrgId, filter_off_chrt_org_data_id: filterOffChrtOrgDataId, filter_account_id: filterAccountId, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, } = request;
|
|
172
173
|
const _queryParams = {};
|
|
173
174
|
if (search !== undefined) {
|
|
174
175
|
_queryParams["search"] = search;
|
|
175
176
|
}
|
|
176
|
-
if (
|
|
177
|
-
_queryParams["
|
|
177
|
+
if (filterOrgId !== undefined) {
|
|
178
|
+
_queryParams["filter_org_id"] = filterOrgId;
|
|
178
179
|
}
|
|
179
|
-
if (
|
|
180
|
-
_queryParams["
|
|
180
|
+
if (filterOffChrtOrgDataId !== undefined) {
|
|
181
|
+
_queryParams["filter_off_chrt_org_data_id"] = filterOffChrtOrgDataId;
|
|
182
|
+
}
|
|
183
|
+
if (filterAccountId !== undefined) {
|
|
184
|
+
_queryParams["filter_account_id"] = filterAccountId;
|
|
181
185
|
}
|
|
182
186
|
if (sortBy !== undefined) {
|
|
183
187
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -193,7 +197,7 @@ export class DirectoryEntries {
|
|
|
193
197
|
}
|
|
194
198
|
let _headers = mergeHeaders((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
195
199
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
196
|
-
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "orgs/
|
|
200
|
+
url: core.url.join((_f = (_e = (yield core.Supplier.get(this._options.baseUrl))) !== null && _e !== void 0 ? _e : (yield core.Supplier.get(this._options.environment))) !== null && _f !== void 0 ? _f : environments.ChrtEnvironment.Local, "orgs/contacts/list/v1"),
|
|
197
201
|
method: "GET",
|
|
198
202
|
headers: _headers,
|
|
199
203
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
@@ -224,7 +228,7 @@ export class DirectoryEntries {
|
|
|
224
228
|
rawResponse: _response.rawResponse,
|
|
225
229
|
});
|
|
226
230
|
case "timeout":
|
|
227
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/
|
|
231
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/contacts/list/v1.");
|
|
228
232
|
case "unknown":
|
|
229
233
|
throw new errors.ChrtError({
|
|
230
234
|
message: _response.error.errorMessage,
|
|
@@ -234,26 +238,26 @@ export class DirectoryEntries {
|
|
|
234
238
|
});
|
|
235
239
|
}
|
|
236
240
|
/**
|
|
237
|
-
* Updates an organization-
|
|
241
|
+
* Updates an organization-created contact. | authz: min_org_role=operator | (ContactClientUpdate1) -> (bool)
|
|
238
242
|
*
|
|
239
|
-
* @param {string}
|
|
240
|
-
* @param {Chrt.orgs.
|
|
241
|
-
* @param {
|
|
243
|
+
* @param {string} contactId
|
|
244
|
+
* @param {Chrt.orgs.ContactClientUpdate1} request
|
|
245
|
+
* @param {Contacts.RequestOptions} requestOptions - Request-specific configuration.
|
|
242
246
|
*
|
|
243
247
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
244
248
|
*
|
|
245
249
|
* @example
|
|
246
|
-
* await client.orgs.
|
|
250
|
+
* await client.orgs.contacts.updateV1("contact_id")
|
|
247
251
|
*/
|
|
248
|
-
updateV1(
|
|
249
|
-
return core.HttpResponsePromise.fromPromise(this.__updateV1(
|
|
252
|
+
updateV1(contactId, request = {}, requestOptions) {
|
|
253
|
+
return core.HttpResponsePromise.fromPromise(this.__updateV1(contactId, request, requestOptions));
|
|
250
254
|
}
|
|
251
|
-
__updateV1(
|
|
252
|
-
return __awaiter(this, arguments, void 0, function* (
|
|
255
|
+
__updateV1(contactId_1) {
|
|
256
|
+
return __awaiter(this, arguments, void 0, function* (contactId, request = {}, requestOptions) {
|
|
253
257
|
var _a, _b, _c, _d;
|
|
254
258
|
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);
|
|
255
259
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
256
|
-
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, `orgs/
|
|
260
|
+
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, `orgs/contacts/update/v1/${encodeURIComponent(contactId)}`),
|
|
257
261
|
method: "PATCH",
|
|
258
262
|
headers: _headers,
|
|
259
263
|
contentType: "application/json",
|
|
@@ -287,7 +291,7 @@ export class DirectoryEntries {
|
|
|
287
291
|
rawResponse: _response.rawResponse,
|
|
288
292
|
});
|
|
289
293
|
case "timeout":
|
|
290
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /orgs/
|
|
294
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /orgs/contacts/update/v1/{contact_id}.");
|
|
291
295
|
case "unknown":
|
|
292
296
|
throw new errors.ChrtError({
|
|
293
297
|
message: _response.error.errorMessage,
|
|
@@ -297,25 +301,25 @@ export class DirectoryEntries {
|
|
|
297
301
|
});
|
|
298
302
|
}
|
|
299
303
|
/**
|
|
300
|
-
* Retrieves an organization-
|
|
304
|
+
* Retrieves an organization-created contact. | authz: min_org_role=operator | () -> (Contact1)
|
|
301
305
|
*
|
|
302
|
-
* @param {string}
|
|
303
|
-
* @param {
|
|
306
|
+
* @param {string} contactId
|
|
307
|
+
* @param {Contacts.RequestOptions} requestOptions - Request-specific configuration.
|
|
304
308
|
*
|
|
305
309
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
306
310
|
*
|
|
307
311
|
* @example
|
|
308
|
-
* await client.orgs.
|
|
312
|
+
* await client.orgs.contacts.getV1("contact_id")
|
|
309
313
|
*/
|
|
310
|
-
getV1(
|
|
311
|
-
return core.HttpResponsePromise.fromPromise(this.__getV1(
|
|
314
|
+
getV1(contactId, requestOptions) {
|
|
315
|
+
return core.HttpResponsePromise.fromPromise(this.__getV1(contactId, requestOptions));
|
|
312
316
|
}
|
|
313
|
-
__getV1(
|
|
317
|
+
__getV1(contactId, requestOptions) {
|
|
314
318
|
return __awaiter(this, void 0, void 0, function* () {
|
|
315
319
|
var _a, _b, _c, _d;
|
|
316
320
|
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);
|
|
317
321
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
318
|
-
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, `orgs/
|
|
322
|
+
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, `orgs/contacts/v1/${encodeURIComponent(contactId)}`),
|
|
319
323
|
method: "GET",
|
|
320
324
|
headers: _headers,
|
|
321
325
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
@@ -346,7 +350,7 @@ export class DirectoryEntries {
|
|
|
346
350
|
rawResponse: _response.rawResponse,
|
|
347
351
|
});
|
|
348
352
|
case "timeout":
|
|
349
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/
|
|
353
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/contacts/v1/{contact_id}.");
|
|
350
354
|
case "unknown":
|
|
351
355
|
throw new errors.ChrtError({
|
|
352
356
|
message: _response.error.errorMessage,
|
|
@@ -9,15 +9,16 @@ import * as Chrt from "../../../../../../index.mjs";
|
|
|
9
9
|
* schema_version: 1
|
|
10
10
|
* }
|
|
11
11
|
*/
|
|
12
|
-
export interface
|
|
12
|
+
export interface ContactClientCreate1 {
|
|
13
|
+
account_id?: string | null;
|
|
13
14
|
email_address?: string | null;
|
|
14
|
-
entry_off_chrt_org_data_id?: string | null;
|
|
15
|
-
/** Must be a string starting with `org_` */
|
|
16
|
-
entry_org_id?: string | null;
|
|
17
15
|
job_title?: string | null;
|
|
18
16
|
location?: Chrt.LocationFeature | null;
|
|
19
17
|
name: string;
|
|
20
18
|
notes?: string | null;
|
|
19
|
+
off_chrt_org_data_id?: string | null;
|
|
20
|
+
/** Must be a string starting with `org_` */
|
|
21
|
+
org_id?: string | null;
|
|
21
22
|
phone_number?: string | null;
|
|
22
23
|
schema_version: number;
|
|
23
24
|
}
|
|
@@ -6,7 +6,7 @@ import * as Chrt from "../../../../../../index.mjs";
|
|
|
6
6
|
* @example
|
|
7
7
|
* {}
|
|
8
8
|
*/
|
|
9
|
-
export interface
|
|
9
|
+
export interface ContactClientUpdate1 {
|
|
10
10
|
email_address?: string | null;
|
|
11
11
|
email_address__set_to_None?: boolean;
|
|
12
12
|
job_title?: string | null;
|
|
@@ -6,23 +6,26 @@ import * as Chrt from "../../../../../../index.mjs";
|
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
8
|
* search: "search",
|
|
9
|
-
*
|
|
10
|
-
*
|
|
9
|
+
* filter_org_id: "filter_org_id",
|
|
10
|
+
* filter_off_chrt_org_data_id: "filter_off_chrt_org_data_id",
|
|
11
|
+
* filter_account_id: "filter_account_id",
|
|
11
12
|
* sort_by: "name",
|
|
12
13
|
* sort_order: "asc",
|
|
13
14
|
* page: 1,
|
|
14
15
|
* page_size: 1
|
|
15
16
|
* }
|
|
16
17
|
*/
|
|
17
|
-
export interface
|
|
18
|
+
export interface ContactsListV1Request {
|
|
18
19
|
/** Full-text search query */
|
|
19
20
|
search?: string | null;
|
|
20
21
|
/** Filter by associated on-CHRT organization */
|
|
21
|
-
|
|
22
|
+
filter_org_id?: string | null;
|
|
22
23
|
/** Filter by associated off-CHRT organization data */
|
|
23
|
-
|
|
24
|
+
filter_off_chrt_org_data_id?: string | null;
|
|
25
|
+
/** Filter by associated account */
|
|
26
|
+
filter_account_id?: string | null;
|
|
24
27
|
/** Field to sort by */
|
|
25
|
-
sort_by?: Chrt.
|
|
28
|
+
sort_by?: Chrt.ContactSortByEnum | null;
|
|
26
29
|
/** Sort order */
|
|
27
30
|
sort_order?: Chrt.SortOrderEnum | null;
|
|
28
31
|
page?: number | null;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export * as connections from "./connections/index.mjs";
|
|
2
2
|
export * from "./connections/types/index.mjs";
|
|
3
|
+
export * as accounts from "./accounts/index.mjs";
|
|
3
4
|
export * as complianceDocuments from "./complianceDocuments/index.mjs";
|
|
4
|
-
export * as
|
|
5
|
+
export * as contacts from "./contacts/index.mjs";
|
|
5
6
|
export * as offChrtOrgData from "./offChrtOrgData/index.mjs";
|
|
6
|
-
export * as offChrtVendor from "./offChrtVendor/index.mjs";
|
|
7
7
|
export * as privateData from "./privateData/index.mjs";
|
|
8
8
|
export * as publicData from "./publicData/index.mjs";
|
|
9
|
+
export * from "./accounts/client/requests/index.mjs";
|
|
9
10
|
export * from "./complianceDocuments/client/requests/index.mjs";
|
|
10
11
|
export * from "./connections/client/requests/index.mjs";
|
|
11
|
-
export * from "./
|
|
12
|
+
export * from "./contacts/client/requests/index.mjs";
|
|
12
13
|
export * from "./offChrtOrgData/client/requests/index.mjs";
|
|
13
|
-
export * from "./offChrtVendor/client/requests/index.mjs";
|
|
14
14
|
export * from "./publicData/client/requests/index.mjs";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export * as connections from "./connections/index.mjs";
|
|
2
2
|
export * from "./connections/types/index.mjs";
|
|
3
|
+
export * as accounts from "./accounts/index.mjs";
|
|
3
4
|
export * as complianceDocuments from "./complianceDocuments/index.mjs";
|
|
4
|
-
export * as
|
|
5
|
+
export * as contacts from "./contacts/index.mjs";
|
|
5
6
|
export * as offChrtOrgData from "./offChrtOrgData/index.mjs";
|
|
6
|
-
export * as offChrtVendor from "./offChrtVendor/index.mjs";
|
|
7
7
|
export * as privateData from "./privateData/index.mjs";
|
|
8
8
|
export * as publicData from "./publicData/index.mjs";
|
|
9
|
+
export * from "./accounts/client/requests/index.mjs";
|
|
9
10
|
export * from "./complianceDocuments/client/requests/index.mjs";
|
|
10
11
|
export * from "./connections/client/requests/index.mjs";
|
|
11
|
-
export * from "./
|
|
12
|
+
export * from "./contacts/client/requests/index.mjs";
|
|
12
13
|
export * from "./offChrtOrgData/client/requests/index.mjs";
|
|
13
|
-
export * from "./offChrtVendor/client/requests/index.mjs";
|
|
14
14
|
export * from "./publicData/client/requests/index.mjs";
|
|
@@ -31,7 +31,7 @@ export declare class OffChrtOrgData {
|
|
|
31
31
|
protected readonly _options: OffChrtOrgData.Options;
|
|
32
32
|
constructor(_options?: OffChrtOrgData.Options);
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Creates owner-scoped off-CHRT organization data and, for shippers or providers, its required connection. | authz: allowed_org_types=[provider] | (CreateOffChrtOrgReq) -> (CreateOffChrtOrgRes)
|
|
35
35
|
*
|
|
36
36
|
* @param {Chrt.orgs.CreateOffChrtOrgReq} request
|
|
37
37
|
* @param {OffChrtOrgData.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -20,7 +20,7 @@ export class OffChrtOrgData {
|
|
|
20
20
|
this._options = _options;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Creates owner-scoped off-CHRT organization data and, for shippers or providers, its required connection. | authz: allowed_org_types=[provider] | (CreateOffChrtOrgReq) -> (CreateOffChrtOrgRes)
|
|
24
24
|
*
|
|
25
25
|
* @param {Chrt.orgs.CreateOffChrtOrgReq} request
|
|
26
26
|
* @param {OffChrtOrgData.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -80,7 +80,7 @@ export declare class OrderTemplates {
|
|
|
80
80
|
* filter_department_id: "filter_department_id",
|
|
81
81
|
* filter_coordinator_label: "filter_coordinator_label",
|
|
82
82
|
* filter_driver_id: "filter_driver_id",
|
|
83
|
-
*
|
|
83
|
+
* filter_contact_id: "filter_contact_id",
|
|
84
84
|
* filter_task_lists_to_apply_at_order_creation_task_list_id: "filter_task_lists_to_apply_at_order_creation_task_list_id",
|
|
85
85
|
* filter_task_lists_to_apply_at_order_staging_task_list_id: "filter_task_lists_to_apply_at_order_staging_task_list_id",
|
|
86
86
|
* filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
@@ -161,7 +161,7 @@ export class OrderTemplates {
|
|
|
161
161
|
* filter_department_id: "filter_department_id",
|
|
162
162
|
* filter_coordinator_label: "filter_coordinator_label",
|
|
163
163
|
* filter_driver_id: "filter_driver_id",
|
|
164
|
-
*
|
|
164
|
+
* filter_contact_id: "filter_contact_id",
|
|
165
165
|
* filter_task_lists_to_apply_at_order_creation_task_list_id: "filter_task_lists_to_apply_at_order_creation_task_list_id",
|
|
166
166
|
* filter_task_lists_to_apply_at_order_staging_task_list_id: "filter_task_lists_to_apply_at_order_staging_task_list_id",
|
|
167
167
|
* filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
@@ -178,7 +178,7 @@ export class OrderTemplates {
|
|
|
178
178
|
__listV1() {
|
|
179
179
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
180
180
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
181
|
-
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_archived: filterArchived, filter_owned_by_user_id: filterOwnedByUserId, filter_off_chrt_reference_id_str: filterOffChrtReferenceIdStr, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_department_id: filterDepartmentId, filter_coordinator_label: filterCoordinatorLabel, filter_driver_id: filterDriverId,
|
|
181
|
+
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_archived: filterArchived, filter_owned_by_user_id: filterOwnedByUserId, filter_off_chrt_reference_id_str: filterOffChrtReferenceIdStr, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_department_id: filterDepartmentId, filter_coordinator_label: filterCoordinatorLabel, filter_driver_id: filterDriverId, filter_contact_id: filterContactId, filter_task_lists_to_apply_at_order_creation_task_list_id: filterTaskListsToApplyAtOrderCreationTaskListId, filter_task_lists_to_apply_at_order_staging_task_list_id: filterTaskListsToApplyAtOrderStagingTaskListId, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_last_edited_at_timestamp_gte: filterLastEditedAtTimestampGte, filter_last_edited_at_timestamp_lte: filterLastEditedAtTimestampLte, filter_last_used_at_timestamp_gte: filterLastUsedAtTimestampGte, filter_last_used_at_timestamp_lte: filterLastUsedAtTimestampLte, } = request;
|
|
182
182
|
const _queryParams = {};
|
|
183
183
|
if (sortBy !== undefined) {
|
|
184
184
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -222,8 +222,8 @@ export class OrderTemplates {
|
|
|
222
222
|
if (filterDriverId !== undefined) {
|
|
223
223
|
_queryParams["filter_driver_id"] = filterDriverId;
|
|
224
224
|
}
|
|
225
|
-
if (
|
|
226
|
-
_queryParams["
|
|
225
|
+
if (filterContactId !== undefined) {
|
|
226
|
+
_queryParams["filter_contact_id"] = filterContactId;
|
|
227
227
|
}
|
|
228
228
|
if (filterTaskListsToApplyAtOrderCreationTaskListId !== undefined) {
|
|
229
229
|
_queryParams["filter_task_lists_to_apply_at_order_creation_task_list_id"] =
|
|
@@ -10,12 +10,13 @@ import * as Chrt from "../../../../../../index.mjs";
|
|
|
10
10
|
* }
|
|
11
11
|
*/
|
|
12
12
|
export interface OrderTemplateClientCreate1 {
|
|
13
|
+
contact_ids?: string[];
|
|
13
14
|
coordinator_label?: string | null;
|
|
14
15
|
/** Must be a string starting with `org_` */
|
|
15
16
|
coordinator_org_id?: string | null;
|
|
17
|
+
coordinator_shipper_account_ids?: string[];
|
|
16
18
|
department_id?: string | null;
|
|
17
19
|
description?: string | null;
|
|
18
|
-
directory_entry_ids?: string[];
|
|
19
20
|
driver_ids?: string[];
|
|
20
21
|
executor_org_ids?: string[];
|
|
21
22
|
name: string;
|
|
@@ -7,16 +7,17 @@ import * as Chrt from "../../../../../../index.mjs";
|
|
|
7
7
|
* {}
|
|
8
8
|
*/
|
|
9
9
|
export interface OrderTemplateClientUpdate1 {
|
|
10
|
+
contact_ids?: string[];
|
|
10
11
|
coordinator_label?: string | null;
|
|
11
12
|
coordinator_label__set_to_None?: boolean;
|
|
12
13
|
/** Must be a string starting with `org_` */
|
|
13
14
|
coordinator_org_id?: string | null;
|
|
14
15
|
coordinator_org_id__set_to_None?: boolean;
|
|
16
|
+
coordinator_shipper_account_ids?: string[];
|
|
15
17
|
department_id?: string | null;
|
|
16
18
|
department_id__set_to_None?: boolean;
|
|
17
19
|
description?: string | null;
|
|
18
20
|
description__set_to_None?: boolean;
|
|
19
|
-
directory_entry_ids?: string[];
|
|
20
21
|
driver_ids?: string[];
|
|
21
22
|
executor_org_ids?: string[];
|
|
22
23
|
name?: string | null;
|
|
@@ -19,7 +19,7 @@ import * as Chrt from "../../../../../../index.mjs";
|
|
|
19
19
|
* filter_department_id: "filter_department_id",
|
|
20
20
|
* filter_coordinator_label: "filter_coordinator_label",
|
|
21
21
|
* filter_driver_id: "filter_driver_id",
|
|
22
|
-
*
|
|
22
|
+
* filter_contact_id: "filter_contact_id",
|
|
23
23
|
* filter_task_lists_to_apply_at_order_creation_task_list_id: "filter_task_lists_to_apply_at_order_creation_task_list_id",
|
|
24
24
|
* filter_task_lists_to_apply_at_order_staging_task_list_id: "filter_task_lists_to_apply_at_order_staging_task_list_id",
|
|
25
25
|
* filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
@@ -57,8 +57,8 @@ export interface OrderTemplatesListV1Request {
|
|
|
57
57
|
filter_coordinator_label?: string | null;
|
|
58
58
|
/** Filter by driver ID included in the template. */
|
|
59
59
|
filter_driver_id?: string | null;
|
|
60
|
-
/** Filter by
|
|
61
|
-
|
|
60
|
+
/** Filter by contact ID included in the template. */
|
|
61
|
+
filter_contact_id?: string | null;
|
|
62
62
|
/** Filter by task list ID included in order-creation applications. */
|
|
63
63
|
filter_task_lists_to_apply_at_order_creation_task_list_id?: string | null;
|
|
64
64
|
/** Filter by task list ID included in staging applications. */
|
|
@@ -80,6 +80,34 @@ export declare class Orders {
|
|
|
80
80
|
*/
|
|
81
81
|
cancelManyV1(request: Chrt.shipping.OrdersCancelManyReq, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
82
82
|
private __cancelManyV1;
|
|
83
|
+
/**
|
|
84
|
+
* Adds a coordinator-owned account for the order's shipper. | authz_personas=[coordinator_org_operators] | () -> (bool)
|
|
85
|
+
*
|
|
86
|
+
* @param {string} orderId
|
|
87
|
+
* @param {string} coordinatorShipperAccountId
|
|
88
|
+
* @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* await client.shipping.orders.addCoordinatorShipperAccountIdV1("order_id", "coordinator_shipper_account_id")
|
|
94
|
+
*/
|
|
95
|
+
addCoordinatorShipperAccountIdV1(orderId: string, coordinatorShipperAccountId: string, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
96
|
+
private __addCoordinatorShipperAccountIdV1;
|
|
97
|
+
/**
|
|
98
|
+
* Removes a coordinator-owned account for the order's shipper. | authz_personas=[coordinator_org_operators] | () -> (bool)
|
|
99
|
+
*
|
|
100
|
+
* @param {string} orderId
|
|
101
|
+
* @param {string} coordinatorShipperAccountId
|
|
102
|
+
* @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* await client.shipping.orders.removeCoordinatorShipperAccountIdV1("order_id", "coordinator_shipper_account_id")
|
|
108
|
+
*/
|
|
109
|
+
removeCoordinatorShipperAccountIdV1(orderId: string, coordinatorShipperAccountId: string, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
110
|
+
private __removeCoordinatorShipperAccountIdV1;
|
|
83
111
|
/**
|
|
84
112
|
* Validates a draft order and stages all related entities in a transaction. | authz_personas=[draft_creator_org_operator] | () -> (bool)
|
|
85
113
|
*
|