@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
|
@@ -217,6 +217,126 @@ export class Orders {
|
|
|
217
217
|
}
|
|
218
218
|
});
|
|
219
219
|
}
|
|
220
|
+
/**
|
|
221
|
+
* Adds a coordinator-owned account for the order's shipper. | authz_personas=[coordinator_org_operators] | () -> (bool)
|
|
222
|
+
*
|
|
223
|
+
* @param {string} orderId
|
|
224
|
+
* @param {string} coordinatorShipperAccountId
|
|
225
|
+
* @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
|
|
226
|
+
*
|
|
227
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
228
|
+
*
|
|
229
|
+
* @example
|
|
230
|
+
* await client.shipping.orders.addCoordinatorShipperAccountIdV1("order_id", "coordinator_shipper_account_id")
|
|
231
|
+
*/
|
|
232
|
+
addCoordinatorShipperAccountIdV1(orderId, coordinatorShipperAccountId, requestOptions) {
|
|
233
|
+
return core.HttpResponsePromise.fromPromise(this.__addCoordinatorShipperAccountIdV1(orderId, coordinatorShipperAccountId, requestOptions));
|
|
234
|
+
}
|
|
235
|
+
__addCoordinatorShipperAccountIdV1(orderId, coordinatorShipperAccountId, requestOptions) {
|
|
236
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
237
|
+
var _a, _b, _c, _d;
|
|
238
|
+
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);
|
|
239
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
240
|
+
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, `shipping/orders/coordinator_shipper_account_ids/add/v1/${encodeURIComponent(orderId)}/${encodeURIComponent(coordinatorShipperAccountId)}`),
|
|
241
|
+
method: "POST",
|
|
242
|
+
headers: _headers,
|
|
243
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
244
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
245
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
246
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
247
|
+
});
|
|
248
|
+
if (_response.ok) {
|
|
249
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
250
|
+
}
|
|
251
|
+
if (_response.error.reason === "status-code") {
|
|
252
|
+
switch (_response.error.statusCode) {
|
|
253
|
+
case 422:
|
|
254
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
255
|
+
default:
|
|
256
|
+
throw new errors.ChrtError({
|
|
257
|
+
statusCode: _response.error.statusCode,
|
|
258
|
+
body: _response.error.body,
|
|
259
|
+
rawResponse: _response.rawResponse,
|
|
260
|
+
});
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
switch (_response.error.reason) {
|
|
264
|
+
case "non-json":
|
|
265
|
+
throw new errors.ChrtError({
|
|
266
|
+
statusCode: _response.error.statusCode,
|
|
267
|
+
body: _response.error.rawBody,
|
|
268
|
+
rawResponse: _response.rawResponse,
|
|
269
|
+
});
|
|
270
|
+
case "timeout":
|
|
271
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/orders/coordinator_shipper_account_ids/add/v1/{order_id}/{coordinator_shipper_account_id}.");
|
|
272
|
+
case "unknown":
|
|
273
|
+
throw new errors.ChrtError({
|
|
274
|
+
message: _response.error.errorMessage,
|
|
275
|
+
rawResponse: _response.rawResponse,
|
|
276
|
+
});
|
|
277
|
+
}
|
|
278
|
+
});
|
|
279
|
+
}
|
|
280
|
+
/**
|
|
281
|
+
* Removes a coordinator-owned account for the order's shipper. | authz_personas=[coordinator_org_operators] | () -> (bool)
|
|
282
|
+
*
|
|
283
|
+
* @param {string} orderId
|
|
284
|
+
* @param {string} coordinatorShipperAccountId
|
|
285
|
+
* @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
|
|
286
|
+
*
|
|
287
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
288
|
+
*
|
|
289
|
+
* @example
|
|
290
|
+
* await client.shipping.orders.removeCoordinatorShipperAccountIdV1("order_id", "coordinator_shipper_account_id")
|
|
291
|
+
*/
|
|
292
|
+
removeCoordinatorShipperAccountIdV1(orderId, coordinatorShipperAccountId, requestOptions) {
|
|
293
|
+
return core.HttpResponsePromise.fromPromise(this.__removeCoordinatorShipperAccountIdV1(orderId, coordinatorShipperAccountId, requestOptions));
|
|
294
|
+
}
|
|
295
|
+
__removeCoordinatorShipperAccountIdV1(orderId, coordinatorShipperAccountId, requestOptions) {
|
|
296
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
297
|
+
var _a, _b, _c, _d;
|
|
298
|
+
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);
|
|
299
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
300
|
+
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, `shipping/orders/coordinator_shipper_account_ids/remove/v1/${encodeURIComponent(orderId)}/${encodeURIComponent(coordinatorShipperAccountId)}`),
|
|
301
|
+
method: "POST",
|
|
302
|
+
headers: _headers,
|
|
303
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
304
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
305
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
306
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
307
|
+
});
|
|
308
|
+
if (_response.ok) {
|
|
309
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
310
|
+
}
|
|
311
|
+
if (_response.error.reason === "status-code") {
|
|
312
|
+
switch (_response.error.statusCode) {
|
|
313
|
+
case 422:
|
|
314
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
315
|
+
default:
|
|
316
|
+
throw new errors.ChrtError({
|
|
317
|
+
statusCode: _response.error.statusCode,
|
|
318
|
+
body: _response.error.body,
|
|
319
|
+
rawResponse: _response.rawResponse,
|
|
320
|
+
});
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
switch (_response.error.reason) {
|
|
324
|
+
case "non-json":
|
|
325
|
+
throw new errors.ChrtError({
|
|
326
|
+
statusCode: _response.error.statusCode,
|
|
327
|
+
body: _response.error.rawBody,
|
|
328
|
+
rawResponse: _response.rawResponse,
|
|
329
|
+
});
|
|
330
|
+
case "timeout":
|
|
331
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/orders/coordinator_shipper_account_ids/remove/v1/{order_id}/{coordinator_shipper_account_id}.");
|
|
332
|
+
case "unknown":
|
|
333
|
+
throw new errors.ChrtError({
|
|
334
|
+
message: _response.error.errorMessage,
|
|
335
|
+
rawResponse: _response.rawResponse,
|
|
336
|
+
});
|
|
337
|
+
}
|
|
338
|
+
});
|
|
339
|
+
}
|
|
220
340
|
/**
|
|
221
341
|
* Validates a draft order and stages all related entities in a transaction. | authz_personas=[draft_creator_org_operator] | () -> (bool)
|
|
222
342
|
*
|
|
@@ -9,6 +9,7 @@ import * as Chrt from "../../../../../../../../index.mjs";
|
|
|
9
9
|
export interface OrdersOpenDraftReq {
|
|
10
10
|
/** Must be a string starting with `org_` */
|
|
11
11
|
coordinator_org_id?: string | null;
|
|
12
|
+
coordinator_shipper_account_ids?: string[];
|
|
12
13
|
/** Optional key, unique per caller org, that makes draft creation idempotent: re-sending the same key returns the already-created draft instead of creating a duplicate. */
|
|
13
14
|
creation_idempotency_key?: string | null;
|
|
14
15
|
department_id?: string | null;
|
package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts
CHANGED
|
@@ -101,6 +101,7 @@ export declare class Expanded {
|
|
|
101
101
|
* page: 1,
|
|
102
102
|
* page_size: 1,
|
|
103
103
|
* search: "search",
|
|
104
|
+
* filter_awb_number: "filter_awb_number",
|
|
104
105
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
105
106
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
106
107
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -138,6 +139,7 @@ export declare class Expanded {
|
|
|
138
139
|
* page: 1,
|
|
139
140
|
* page_size: 1,
|
|
140
141
|
* search: "search",
|
|
142
|
+
* filter_awb_number: "filter_awb_number",
|
|
141
143
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
142
144
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
143
145
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -174,6 +176,7 @@ export declare class Expanded {
|
|
|
174
176
|
* page: 1,
|
|
175
177
|
* page_size: 1,
|
|
176
178
|
* search: "search",
|
|
179
|
+
* filter_awb_number: "filter_awb_number",
|
|
177
180
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
178
181
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
179
182
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -212,6 +215,7 @@ export declare class Expanded {
|
|
|
212
215
|
* page: 1,
|
|
213
216
|
* page_size: 1,
|
|
214
217
|
* search: "search",
|
|
218
|
+
* filter_awb_number: "filter_awb_number",
|
|
215
219
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
216
220
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
217
221
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs
CHANGED
|
@@ -286,6 +286,7 @@ export class Expanded {
|
|
|
286
286
|
* page: 1,
|
|
287
287
|
* page_size: 1,
|
|
288
288
|
* search: "search",
|
|
289
|
+
* filter_awb_number: "filter_awb_number",
|
|
289
290
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
290
291
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
291
292
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -312,7 +313,7 @@ export class Expanded {
|
|
|
312
313
|
__listForCoordinatorOperatorsV1(request, requestOptions) {
|
|
313
314
|
return __awaiter(this, void 0, void 0, function* () {
|
|
314
315
|
var _a, _b, _c, _d, _e, _f;
|
|
315
|
-
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_department_id: filterCoordinatorDepartmentId, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_label: filterCoordinatorLabel, body: _body, } = request;
|
|
316
|
+
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_department_id: filterCoordinatorDepartmentId, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_label: filterCoordinatorLabel, body: _body, } = request;
|
|
316
317
|
const _queryParams = {};
|
|
317
318
|
if (sortBy !== undefined) {
|
|
318
319
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -347,6 +348,9 @@ export class Expanded {
|
|
|
347
348
|
filterOrderClassificationByTaskGroupType;
|
|
348
349
|
}
|
|
349
350
|
}
|
|
351
|
+
if (filterAwbNumber !== undefined) {
|
|
352
|
+
_queryParams["filter_awb_number"] = filterAwbNumber;
|
|
353
|
+
}
|
|
350
354
|
if (filterDraftStartedAtTimestampLte !== undefined) {
|
|
351
355
|
_queryParams["filter_draft_started_at_timestamp_lte"] = filterDraftStartedAtTimestampLte;
|
|
352
356
|
}
|
|
@@ -469,6 +473,7 @@ export class Expanded {
|
|
|
469
473
|
* page: 1,
|
|
470
474
|
* page_size: 1,
|
|
471
475
|
* search: "search",
|
|
476
|
+
* filter_awb_number: "filter_awb_number",
|
|
472
477
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
473
478
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
474
479
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -493,7 +498,7 @@ export class Expanded {
|
|
|
493
498
|
__listForExecutorOperatorsV1(request, requestOptions) {
|
|
494
499
|
return __awaiter(this, void 0, void 0, function* () {
|
|
495
500
|
var _a, _b, _c, _d, _e, _f;
|
|
496
|
-
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, body: _body, } = request;
|
|
501
|
+
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, body: _body, } = request;
|
|
497
502
|
const _queryParams = {};
|
|
498
503
|
if (sortBy !== undefined) {
|
|
499
504
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -528,6 +533,9 @@ export class Expanded {
|
|
|
528
533
|
filterOrderClassificationByTaskGroupType;
|
|
529
534
|
}
|
|
530
535
|
}
|
|
536
|
+
if (filterAwbNumber !== undefined) {
|
|
537
|
+
_queryParams["filter_awb_number"] = filterAwbNumber;
|
|
538
|
+
}
|
|
531
539
|
if (filterDraftStartedAtTimestampLte !== undefined) {
|
|
532
540
|
_queryParams["filter_draft_started_at_timestamp_lte"] = filterDraftStartedAtTimestampLte;
|
|
533
541
|
}
|
|
@@ -637,6 +645,7 @@ export class Expanded {
|
|
|
637
645
|
* page: 1,
|
|
638
646
|
* page_size: 1,
|
|
639
647
|
* search: "search",
|
|
648
|
+
* filter_awb_number: "filter_awb_number",
|
|
640
649
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
641
650
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
642
651
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -664,7 +673,7 @@ export class Expanded {
|
|
|
664
673
|
__listForProviderOperatorsV1(request, requestOptions) {
|
|
665
674
|
return __awaiter(this, void 0, void 0, function* () {
|
|
666
675
|
var _a, _b, _c, _d, _e, _f;
|
|
667
|
-
const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_department_id: filterCoordinatorDepartmentId, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_label: filterCoordinatorLabel, body: _body, } = request;
|
|
676
|
+
const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_department_id: filterCoordinatorDepartmentId, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_label: filterCoordinatorLabel, body: _body, } = request;
|
|
668
677
|
const _queryParams = {};
|
|
669
678
|
if (providerRole !== undefined) {
|
|
670
679
|
_queryParams["provider_role"] = providerRole;
|
|
@@ -702,6 +711,9 @@ export class Expanded {
|
|
|
702
711
|
filterOrderClassificationByTaskGroupType;
|
|
703
712
|
}
|
|
704
713
|
}
|
|
714
|
+
if (filterAwbNumber !== undefined) {
|
|
715
|
+
_queryParams["filter_awb_number"] = filterAwbNumber;
|
|
716
|
+
}
|
|
705
717
|
if (filterDraftStartedAtTimestampLte !== undefined) {
|
|
706
718
|
_queryParams["filter_draft_started_at_timestamp_lte"] = filterDraftStartedAtTimestampLte;
|
|
707
719
|
}
|
|
@@ -827,6 +839,7 @@ export class Expanded {
|
|
|
827
839
|
* page: 1,
|
|
828
840
|
* page_size: 1,
|
|
829
841
|
* search: "search",
|
|
842
|
+
* filter_awb_number: "filter_awb_number",
|
|
830
843
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
831
844
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
832
845
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -850,7 +863,7 @@ export class Expanded {
|
|
|
850
863
|
__listForShipperOperatorsV1(request, requestOptions) {
|
|
851
864
|
return __awaiter(this, void 0, void 0, function* () {
|
|
852
865
|
var _a, _b, _c, _d, _e, _f;
|
|
853
|
-
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, body: _body, } = request;
|
|
866
|
+
const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, body: _body, } = request;
|
|
854
867
|
const _queryParams = {};
|
|
855
868
|
if (sortBy !== undefined) {
|
|
856
869
|
_queryParams["sort_by"] = sortBy;
|
|
@@ -885,6 +898,9 @@ export class Expanded {
|
|
|
885
898
|
filterOrderClassificationByTaskGroupType;
|
|
886
899
|
}
|
|
887
900
|
}
|
|
901
|
+
if (filterAwbNumber !== undefined) {
|
|
902
|
+
_queryParams["filter_awb_number"] = filterAwbNumber;
|
|
903
|
+
}
|
|
888
904
|
if (filterDraftStartedAtTimestampLte !== undefined) {
|
|
889
905
|
_queryParams["filter_draft_started_at_timestamp_lte"] = filterDraftStartedAtTimestampLte;
|
|
890
906
|
}
|
|
@@ -10,6 +10,7 @@ import * as Chrt from "../../../../../../../../index.mjs";
|
|
|
10
10
|
* page: 1,
|
|
11
11
|
* page_size: 1,
|
|
12
12
|
* search: "search",
|
|
13
|
+
* filter_awb_number: "filter_awb_number",
|
|
13
14
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
14
15
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
15
16
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -41,6 +42,8 @@ export interface ExpandedListForCoordinatorOperatorsV1Request {
|
|
|
41
42
|
filter_status?: (Chrt.OrderStatusEnum1 | null) | (Chrt.OrderStatusEnum1 | null)[];
|
|
42
43
|
/** Filter by global order classification (OBC takes precedence over flight, then ground) */
|
|
43
44
|
filter_order_classification_by_task_group_type?: (Chrt.TaskGroupTypeEnum1 | null) | (Chrt.TaskGroupTypeEnum1 | null)[];
|
|
45
|
+
/** Filter by exact AWB number */
|
|
46
|
+
filter_awb_number?: string | null;
|
|
44
47
|
filter_draft_started_at_timestamp_lte?: string | null;
|
|
45
48
|
filter_draft_started_at_timestamp_gte?: string | null;
|
|
46
49
|
filter_staged_at_timestamp_lte?: string | null;
|
|
@@ -10,6 +10,7 @@ import * as Chrt from "../../../../../../../../index.mjs";
|
|
|
10
10
|
* page: 1,
|
|
11
11
|
* page_size: 1,
|
|
12
12
|
* search: "search",
|
|
13
|
+
* filter_awb_number: "filter_awb_number",
|
|
13
14
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
14
15
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
15
16
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -39,6 +40,8 @@ export interface ExpandedListForExecutorOperatorsV1Request {
|
|
|
39
40
|
filter_status?: (Chrt.OrderStatusEnum1 | null) | (Chrt.OrderStatusEnum1 | null)[];
|
|
40
41
|
/** Filter by global order classification (OBC takes precedence over flight, then ground) */
|
|
41
42
|
filter_order_classification_by_task_group_type?: (Chrt.TaskGroupTypeEnum1 | null) | (Chrt.TaskGroupTypeEnum1 | null)[];
|
|
43
|
+
/** Filter by exact AWB number */
|
|
44
|
+
filter_awb_number?: string | null;
|
|
42
45
|
filter_draft_started_at_timestamp_lte?: string | null;
|
|
43
46
|
filter_draft_started_at_timestamp_gte?: string | null;
|
|
44
47
|
filter_staged_at_timestamp_lte?: string | null;
|
|
@@ -11,6 +11,7 @@ import * as Chrt from "../../../../../../../../index.mjs";
|
|
|
11
11
|
* page: 1,
|
|
12
12
|
* page_size: 1,
|
|
13
13
|
* search: "search",
|
|
14
|
+
* filter_awb_number: "filter_awb_number",
|
|
14
15
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
15
16
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
16
17
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -44,6 +45,8 @@ export interface ExpandedListForProviderOperatorsV1Request {
|
|
|
44
45
|
filter_status?: (Chrt.OrderStatusEnum1 | null) | (Chrt.OrderStatusEnum1 | null)[];
|
|
45
46
|
/** Filter by global order classification (OBC takes precedence over flight, then ground) */
|
|
46
47
|
filter_order_classification_by_task_group_type?: (Chrt.TaskGroupTypeEnum1 | null) | (Chrt.TaskGroupTypeEnum1 | null)[];
|
|
48
|
+
/** Filter by exact AWB number */
|
|
49
|
+
filter_awb_number?: string | null;
|
|
47
50
|
filter_draft_started_at_timestamp_lte?: string | null;
|
|
48
51
|
filter_draft_started_at_timestamp_gte?: string | null;
|
|
49
52
|
filter_staged_at_timestamp_lte?: string | null;
|
|
@@ -10,6 +10,7 @@ import * as Chrt from "../../../../../../../../index.mjs";
|
|
|
10
10
|
* page: 1,
|
|
11
11
|
* page_size: 1,
|
|
12
12
|
* search: "search",
|
|
13
|
+
* filter_awb_number: "filter_awb_number",
|
|
13
14
|
* filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
14
15
|
* filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
|
|
15
16
|
* filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
|
|
@@ -38,6 +39,8 @@ export interface ExpandedListForShipperOperatorsV1Request {
|
|
|
38
39
|
filter_status?: (Chrt.OrderStatusEnum1 | null) | (Chrt.OrderStatusEnum1 | null)[];
|
|
39
40
|
/** Filter by global order classification (OBC takes precedence over flight, then ground) */
|
|
40
41
|
filter_order_classification_by_task_group_type?: (Chrt.TaskGroupTypeEnum1 | null) | (Chrt.TaskGroupTypeEnum1 | null)[];
|
|
42
|
+
/** Filter by exact AWB number */
|
|
43
|
+
filter_awb_number?: string | null;
|
|
41
44
|
filter_draft_started_at_timestamp_lte?: string | null;
|
|
42
45
|
filter_draft_started_at_timestamp_gte?: string | null;
|
|
43
46
|
filter_staged_at_timestamp_lte?: string | null;
|
|
@@ -107,7 +107,7 @@ export declare class Tasks {
|
|
|
107
107
|
skipV1(taskId: string, requestOptions?: Tasks.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
108
108
|
private __skipV1;
|
|
109
109
|
/**
|
|
110
|
-
* Updates a task. Operational fields (location, action, datetime_windows) require STAGED status (lig_owner_operators). order_placer_comments can be edited on any non-DRAFT task (order_creator_org_operators).
|
|
110
|
+
* Updates a task. Operational fields (location, action, datetime_windows) require STAGED status (lig_owner_operators). order_placer_comments can be edited on any non-DRAFT task (order_creator_org_operators). contact_ids can be edited on STAGED/IN_PROGRESS orders for tasks still in STAGED status (order_creator_org_operators OR lig_owner_operators). | (TaskClientUpdate1) -> (PydanticObjectId)
|
|
111
111
|
*
|
|
112
112
|
* @param {string} taskId
|
|
113
113
|
* @param {Chrt.TaskClientUpdate1} request
|
|
@@ -334,7 +334,7 @@ export class Tasks {
|
|
|
334
334
|
});
|
|
335
335
|
}
|
|
336
336
|
/**
|
|
337
|
-
* Updates a task. Operational fields (location, action, datetime_windows) require STAGED status (lig_owner_operators). order_placer_comments can be edited on any non-DRAFT task (order_creator_org_operators).
|
|
337
|
+
* Updates a task. Operational fields (location, action, datetime_windows) require STAGED status (lig_owner_operators). order_placer_comments can be edited on any non-DRAFT task (order_creator_org_operators). contact_ids can be edited on STAGED/IN_PROGRESS orders for tasks still in STAGED status (order_creator_org_operators OR lig_owner_operators). | (TaskClientUpdate1) -> (PydanticObjectId)
|
|
338
338
|
*
|
|
339
339
|
* @param {string} taskId
|
|
340
340
|
* @param {Chrt.TaskClientUpdate1} request
|
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export interface
|
|
4
|
+
export interface Account1 {
|
|
5
5
|
_id: string;
|
|
6
6
|
/** Must be a string starting with `org_` */
|
|
7
7
|
created_by_org_id: string;
|
|
8
8
|
/** Must be a string starting with `user_` */
|
|
9
9
|
created_by_user_id: string;
|
|
10
10
|
name: string;
|
|
11
|
-
|
|
11
|
+
off_chrt_org_data_id?: string | null;
|
|
12
|
+
/** Must be a string starting with `org_` */
|
|
13
|
+
org_id?: string | null;
|
|
12
14
|
schema_version: number;
|
|
13
15
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.mjs";
|
|
5
|
-
export interface
|
|
6
|
-
items: Chrt.
|
|
5
|
+
export interface AccountListRes {
|
|
6
|
+
items: Chrt.Account1[];
|
|
7
7
|
total_count: number;
|
|
8
8
|
}
|
|
@@ -2,20 +2,19 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.mjs";
|
|
5
|
-
export interface
|
|
5
|
+
export interface Contact1 {
|
|
6
6
|
_id: string;
|
|
7
|
-
|
|
8
|
-
created_by_user_id: string;
|
|
9
|
-
email_address?: string | null;
|
|
10
|
-
entry_off_chrt_org_data_id?: string | null;
|
|
7
|
+
account_id?: string | null;
|
|
11
8
|
/** Must be a string starting with `org_` */
|
|
12
|
-
|
|
9
|
+
created_by_org_id: string;
|
|
10
|
+
email_address?: string | null;
|
|
13
11
|
job_title?: string | null;
|
|
14
12
|
location?: Chrt.LocationFeature | null;
|
|
15
13
|
name: string;
|
|
16
14
|
notes?: string | null;
|
|
15
|
+
off_chrt_org_data_id?: string | null;
|
|
17
16
|
/** Must be a string starting with `org_` */
|
|
18
|
-
|
|
17
|
+
org_id?: string | null;
|
|
19
18
|
phone_number?: string | null;
|
|
20
19
|
schema_version: number;
|
|
21
20
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.mjs";
|
|
5
|
-
export interface
|
|
6
|
-
items: Chrt.
|
|
5
|
+
export interface ContactListRes {
|
|
6
|
+
items: Chrt.Contact1[];
|
|
7
7
|
total_count: number;
|
|
8
8
|
}
|
|
@@ -43,7 +43,6 @@ export interface LineItemGroup1 {
|
|
|
43
43
|
owned_by_org_id: string;
|
|
44
44
|
payment_destination_driver_id?: string | null;
|
|
45
45
|
payment_destination_off_chrt_provider_org_data_id?: string | null;
|
|
46
|
-
payment_destination_off_chrt_vendor_id?: string | null;
|
|
47
46
|
/** Must be a string starting with `org_` */
|
|
48
47
|
payment_destination_org_id?: string | null;
|
|
49
48
|
payment_origin_off_chrt_shipper_org_data_id?: string | null;
|
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
import * as Chrt from "../index.mjs";
|
|
5
5
|
export interface NotificationIntentAdHoc1 {
|
|
6
6
|
_id: string;
|
|
7
|
+
contact_id: string;
|
|
7
8
|
created_at_timestamp: string;
|
|
8
9
|
/** Must be a string starting with `org_` */
|
|
9
10
|
created_by_org_id: string;
|
|
10
11
|
/** Must be a string starting with `user_` */
|
|
11
12
|
created_by_user_id: string;
|
|
12
|
-
directory_entry_id: string;
|
|
13
13
|
email_events?: Chrt.NotificationEventsForAdHocEnum[];
|
|
14
14
|
order_id?: string | null;
|
|
15
15
|
push_events?: Chrt.NotificationEventsForAdHocEnum[];
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.mjs";
|
|
5
5
|
export interface NotificationIntentAdHocClientCreate1 {
|
|
6
|
-
|
|
6
|
+
contact_id: string;
|
|
7
7
|
email_events?: Chrt.NotificationEventsForAdHocEnum[];
|
|
8
8
|
push_events?: Chrt.NotificationEventsForAdHocEnum[];
|
|
9
9
|
schema_version: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export interface
|
|
4
|
+
export interface OperationsTaskDeadlineTimestampUpdate1 {
|
|
5
5
|
deadline_timestamp: string;
|
|
6
|
-
|
|
6
|
+
operations_task_id: string;
|
|
7
7
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export interface OperationsTasksDeadlineTimestampsUpdateRes1 {
|
|
5
|
+
/** How many requested tasks were found in the caller's org and updated; a lower count means missing or cross-org task ids were skipped. */
|
|
6
|
+
updated_count: number;
|
|
7
|
+
}
|
|
@@ -12,6 +12,7 @@ export interface Order1 {
|
|
|
12
12
|
coordinator_label?: string | null;
|
|
13
13
|
/** Must be a string starting with `org_` */
|
|
14
14
|
coordinator_org_id?: string | null;
|
|
15
|
+
coordinator_shipper_account_ids?: string[];
|
|
15
16
|
coordinator_task_lists_to_apply_at_order_staging?: Chrt.TaskListToApplyToOrder1[];
|
|
16
17
|
/** Must be a string starting with `org_` */
|
|
17
18
|
created_by_org_id: string;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface OrderAndTaskGroupExpandedReq {
|
|
5
5
|
expand_cargos?: boolean;
|
|
6
|
+
expand_contacts?: boolean;
|
|
6
7
|
expand_coordinator_org_company_name?: boolean;
|
|
7
8
|
expand_coordinator_org_handle?: boolean;
|
|
8
|
-
expand_directory_entries?: boolean;
|
|
9
9
|
expand_driver?: boolean;
|
|
10
10
|
expand_executor_org_company_name?: boolean;
|
|
11
11
|
expand_executor_org_handle?: boolean;
|
|
@@ -5,6 +5,7 @@ export interface OrderDraftValidationRequirements {
|
|
|
5
5
|
all_entities_are_draft?: boolean | null;
|
|
6
6
|
at_least_one_task_has_time_window?: boolean | null;
|
|
7
7
|
cargos_have_valid_lifecycle?: boolean | null;
|
|
8
|
+
coordinator_shipper_accounts_match_order?: boolean | null;
|
|
8
9
|
order_has_coordinator?: boolean | null;
|
|
9
10
|
order_has_shipper?: boolean | null;
|
|
10
11
|
order_has_task_groups?: boolean | null;
|
|
@@ -16,6 +16,7 @@ export interface OrderLimitedForCoordinator1 {
|
|
|
16
16
|
coordinator_label?: string | null;
|
|
17
17
|
/** Must be a string starting with `org_` */
|
|
18
18
|
coordinator_org_id?: string | null;
|
|
19
|
+
coordinator_shipper_account_ids?: string[];
|
|
19
20
|
coordinator_task_lists_to_apply_at_order_staging?: Chrt.TaskListToApplyToOrder1[];
|
|
20
21
|
/** Must be a string starting with `org_` */
|
|
21
22
|
created_by_org_id: string;
|
|
@@ -17,6 +17,7 @@ export interface OrderLimitedForProvider1 {
|
|
|
17
17
|
coordinator_label?: string | null;
|
|
18
18
|
/** Must be a string starting with `org_` */
|
|
19
19
|
coordinator_org_id?: string | null;
|
|
20
|
+
coordinator_shipper_account_ids?: string[];
|
|
20
21
|
coordinator_task_lists_to_apply_at_order_staging?: Chrt.TaskListToApplyToOrder1[];
|
|
21
22
|
/** Must be a string starting with `org_` */
|
|
22
23
|
created_by_org_id: string;
|
|
@@ -5,13 +5,14 @@ import * as Chrt from "../index.mjs";
|
|
|
5
5
|
export interface OrderTemplate1 {
|
|
6
6
|
_id: string;
|
|
7
7
|
archived_at_timestamp?: string | null;
|
|
8
|
+
contact_ids?: string[];
|
|
8
9
|
coordinator_label?: string | null;
|
|
9
10
|
/** Must be a string starting with `org_` */
|
|
10
11
|
coordinator_org_id?: string | null;
|
|
12
|
+
coordinator_shipper_account_ids?: string[];
|
|
11
13
|
created_at_timestamp: string;
|
|
12
14
|
department_id?: string | null;
|
|
13
15
|
description?: string | null;
|
|
14
|
-
directory_entry_ids?: string[];
|
|
15
16
|
driver_ids?: string[];
|
|
16
17
|
executor_org_ids?: string[];
|
|
17
18
|
last_edited_at_timestamp: string;
|
|
@@ -8,11 +8,12 @@ import * as Chrt from "../index.mjs";
|
|
|
8
8
|
* NOTE - some fields have multiple values and must be properly mapped to an entity by the order builder, e.g. for `driver_ids` each resolves to a single task group
|
|
9
9
|
*/
|
|
10
10
|
export interface OrderTemplateCore1 {
|
|
11
|
+
contact_ids?: string[];
|
|
11
12
|
coordinator_label?: string | null;
|
|
12
13
|
/** Must be a string starting with `org_` */
|
|
13
14
|
coordinator_org_id?: string | null;
|
|
15
|
+
coordinator_shipper_account_ids?: string[];
|
|
14
16
|
department_id?: string | null;
|
|
15
|
-
directory_entry_ids?: string[];
|
|
16
17
|
driver_ids?: string[];
|
|
17
18
|
executor_org_ids?: string[];
|
|
18
19
|
off_chrt_executor_org_data_ids?: string[];
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.mjs";
|
|
5
5
|
export interface OrderTemplateExpanded1 {
|
|
6
|
-
|
|
6
|
+
contacts?: Chrt.Contact1[];
|
|
7
7
|
drivers?: Chrt.Driver1[];
|
|
8
8
|
executor_orgs?: Chrt.OrderTemplateOrgInfo1[];
|
|
9
9
|
off_chrt_executor_orgs?: Chrt.OffChrtOrgData1[];
|