@chrt-inc/typescript-sdk 1.869.0 → 1.876.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/billingLedgers/client/requests/BillingLedgerClientCreate1.d.ts +2 -2
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.ts +2 -2
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.d.ts +1 -1
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/Client.js +7 -7
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingClientCreate1.d.ts +2 -2
- package/dist/cjs/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListRateSheetIdsByCounterpartyV1Request.d.ts +4 -4
- package/dist/cjs/api/resources/billing/resources/statements/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/billing/resources/statements/client/Client.js +10 -8
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.ts +2 -2
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.ts +2 -2
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.ts +2 -2
- package/dist/cjs/api/resources/operations/client/Client.d.ts +0 -3
- package/dist/cjs/api/resources/operations/client/Client.js +8 -13
- package/dist/cjs/api/resources/operations/resources/index.d.ts +0 -2
- package/dist/cjs/api/resources/operations/resources/index.js +1 -3
- package/dist/cjs/api/resources/orgs/client/Client.d.ts +8 -16
- package/dist/cjs/api/resources/orgs/client/Client.js +10 -24
- package/dist/cjs/api/resources/orgs/client/requests/SetupOrgReq.d.ts +3 -1
- package/dist/cjs/api/resources/orgs/resources/connections/client/Client.d.ts +24 -8
- package/dist/cjs/api/resources/orgs/resources/connections/client/Client.js +94 -17
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ConnectionsListProviderProviderV1Request.d.ts +6 -0
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/ShipperProviderConnectionClientUpdate1.d.ts +11 -0
- package/dist/cjs/api/resources/orgs/resources/connections/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/{users → orgs}/resources/directoryEntries/client/Client.d.ts +19 -17
- package/dist/cjs/api/resources/{users → orgs}/resources/directoryEntries/client/Client.js +30 -25
- package/dist/cjs/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntriesListV1Request.d.ts +6 -3
- package/dist/cjs/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntryClientCreate1.d.ts +5 -9
- package/dist/cjs/api/resources/orgs/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.ts +21 -0
- package/dist/cjs/api/resources/orgs/resources/index.d.ts +4 -9
- package/dist/cjs/api/resources/orgs/resources/index.js +5 -10
- package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/Client.d.ts +100 -0
- package/dist/cjs/api/resources/orgs/resources/{offChrtShipperOrg → offChrtOrgData}/client/Client.js +53 -97
- package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/requests/CreateOffChrtOrgReq.d.ts +18 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataClientUpdate1.d.ts +19 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataListV1Request.d.ts +26 -0
- package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/orgs/resources/publicData/client/Client.d.ts +27 -1
- package/dist/cjs/api/resources/orgs/resources/publicData/client/Client.js +119 -1
- package/dist/cjs/api/resources/orgs/resources/publicData/client/requests/UpdateOrgPublicDataReq.d.ts +12 -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 -2
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.ts +3 -3
- 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 +1 -1
- package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +1 -1
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/Client.js +2 -2
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftUpdateReq.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.ts +1 -3
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/types/OrderBuilderStreamEvent.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +3 -3
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +12 -12
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.js +1 -1
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.d.ts +3 -3
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayProviderClientReq.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForShipperPayProviderClientReq.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +8 -8
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.ts +2 -2
- package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +2 -2
- package/dist/cjs/api/resources/tracking/resources/sessions/client/requests/SessionClientCreate1.d.ts +1 -1
- package/dist/cjs/api/resources/users/client/Client.d.ts +0 -3
- package/dist/cjs/api/resources/users/client/Client.js +4 -9
- package/dist/cjs/api/resources/users/resources/index.d.ts +0 -2
- package/dist/cjs/api/resources/users/resources/index.js +1 -3
- package/dist/cjs/api/types/BillingLedger1.d.ts +2 -2
- package/dist/cjs/api/types/BillingLedgerPeriod1.d.ts +2 -2
- package/dist/cjs/api/types/CreateOffChrtOrgRes.d.ts +7 -0
- package/dist/cjs/api/types/DeviceLimitedForList1.d.ts +1 -1
- package/dist/cjs/api/types/DirectoryEntry1.d.ts +6 -11
- package/dist/cjs/api/types/DirectoryEntrySortByEnum.d.ts +1 -6
- package/dist/cjs/api/types/DirectoryEntrySortByEnum.js +0 -6
- package/dist/cjs/api/types/LineItemGroup1.d.ts +2 -2
- package/dist/cjs/api/types/OffChrtOrgData1.d.ts +18 -0
- package/dist/cjs/api/types/OffChrtOrgDataClientCreate1.d.ts +13 -0
- package/dist/cjs/api/types/{OffChrtShipperOrgListRes.d.ts → OffChrtOrgDataListRes.d.ts} +2 -2
- package/dist/cjs/api/types/OffChrtOrgDataSortByEnum.d.ts +4 -0
- package/dist/cjs/api/types/Order1.d.ts +1 -1
- package/dist/cjs/api/types/OrderBuilderReq.d.ts +3 -0
- package/dist/cjs/api/types/OrderLimitedForCoordinator1.d.ts +1 -1
- package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +1 -1
- package/dist/cjs/api/types/OrderLimitedForShipper1.d.ts +1 -1
- package/dist/cjs/api/types/OrderTaskGroupExecutorDetails1.d.ts +1 -1
- package/dist/cjs/api/types/OrderTaskGroupSharedDetails1.d.ts +1 -1
- package/dist/cjs/api/types/OrderTemplate1.d.ts +2 -2
- package/dist/cjs/api/types/OrderTemplateCore1.d.ts +2 -2
- package/dist/cjs/api/types/OrderTemplateExpanded1.d.ts +2 -2
- package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.d.ts +3 -3
- package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.js +2 -2
- package/dist/cjs/api/types/OrderTemplateReferencesExpanded1.d.ts +2 -2
- package/dist/cjs/api/types/OrderTemplateResolvabilityRes.d.ts +1 -1
- package/dist/cjs/api/types/OrdersDraftUpdateRes.d.ts +1 -1
- package/dist/cjs/api/types/OrgPublicData1.d.ts +6 -1
- package/dist/cjs/api/types/ProviderProviderConnection1.d.ts +3 -2
- package/dist/cjs/api/types/ProviderProviderConnectionListItem.d.ts +3 -6
- package/dist/cjs/api/types/RateSheetMapping1.d.ts +2 -2
- package/dist/cjs/api/types/Session1.d.ts +1 -1
- package/dist/cjs/api/types/ShipperProviderConnection1.d.ts +3 -1
- package/dist/cjs/api/types/ShipperProviderConnectionForCoordinatorListItem.d.ts +9 -0
- package/dist/cjs/api/types/ShipperProviderConnectionForShipperListItem.d.ts +8 -0
- package/dist/cjs/api/types/{ProviderConnectionListRes.d.ts → ShipperProviderConnectionsForCoordinatorListRes.d.ts} +2 -2
- package/dist/cjs/api/types/{ProviderOnAndOffChrtExecutorListPage.d.ts → ShipperProviderConnectionsForShipperListRes.d.ts} +2 -2
- package/dist/cjs/api/types/Statement1.d.ts +2 -2
- package/dist/cjs/api/types/TaskGroup1.d.ts +2 -2
- package/dist/cjs/api/types/TaskGroupExpanded.d.ts +1 -1
- package/dist/cjs/api/types/TaskGroupQuoteResp.d.ts +2 -2
- package/dist/cjs/api/types/index.d.ts +9 -17
- package/dist/cjs/api/types/index.js +9 -17
- 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/billingLedgers/client/requests/BillingLedgerClientCreate1.d.mts +2 -2
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.mts +2 -2
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/SharedTaskGroupMileageCreateForProviderPayProviderClientReq.d.mts +1 -1
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/Client.mjs +7 -7
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingClientCreate1.d.mts +2 -2
- package/dist/esm/api/resources/billing/resources/rateSheetMappings/client/requests/RateSheetMappingsListRateSheetIdsByCounterpartyV1Request.d.mts +4 -4
- package/dist/esm/api/resources/billing/resources/statements/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/billing/resources/statements/client/Client.mjs +10 -8
- package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.mts +2 -2
- package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.mts +2 -2
- package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.mts +2 -2
- package/dist/esm/api/resources/operations/client/Client.d.mts +0 -3
- package/dist/esm/api/resources/operations/client/Client.mjs +0 -5
- package/dist/esm/api/resources/operations/resources/index.d.mts +0 -2
- package/dist/esm/api/resources/operations/resources/index.mjs +0 -2
- package/dist/esm/api/resources/orgs/client/Client.d.mts +8 -16
- package/dist/esm/api/resources/orgs/client/Client.mjs +8 -22
- package/dist/esm/api/resources/orgs/client/requests/SetupOrgReq.d.mts +3 -1
- package/dist/esm/api/resources/orgs/resources/connections/client/Client.d.mts +24 -8
- package/dist/esm/api/resources/orgs/resources/connections/client/Client.mjs +94 -17
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/ConnectionsListProviderProviderV1Request.d.mts +6 -0
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/ShipperProviderConnectionClientUpdate1.d.mts +11 -0
- package/dist/esm/api/resources/orgs/resources/connections/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/Client.d.mts +19 -17
- package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/Client.mjs +30 -25
- package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntriesListV1Request.d.mts +6 -3
- package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntryClientCreate1.d.mts +5 -9
- package/dist/esm/api/resources/orgs/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.mts +21 -0
- package/dist/esm/api/resources/orgs/resources/index.d.mts +4 -9
- package/dist/esm/api/resources/orgs/resources/index.mjs +4 -9
- package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/Client.d.mts +100 -0
- package/dist/esm/api/resources/orgs/resources/{offChrtShipperOrg → offChrtOrgData}/client/Client.mjs +51 -95
- package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/CreateOffChrtOrgReq.d.mts +18 -0
- package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataClientUpdate1.d.mts +19 -0
- package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataListV1Request.d.mts +26 -0
- package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/orgs/resources/publicData/client/Client.d.mts +27 -1
- package/dist/esm/api/resources/orgs/resources/publicData/client/Client.mjs +119 -1
- package/dist/esm/api/resources/orgs/resources/publicData/client/requests/UpdateOrgPublicDataReq.d.mts +12 -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 -2
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.mts +3 -3
- 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 +1 -1
- package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +1 -1
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/Client.mjs +2 -2
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersDraftUpdateReq.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.mts +1 -3
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/resources/taskGroup/client/requests/OrderDraftAddExecutorReq.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/types/OrderBuilderStreamEvent.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +3 -3
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +12 -12
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.mjs +1 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/AddExecutorReq.d.mts +3 -3
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForProviderPayProviderClientReq.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/client/requests/TaskGroupQuoteForShipperPayProviderClientReq.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +8 -8
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.mts +2 -2
- package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +2 -2
- package/dist/esm/api/resources/tracking/resources/sessions/client/requests/SessionClientCreate1.d.mts +1 -1
- package/dist/esm/api/resources/users/client/Client.d.mts +0 -3
- package/dist/esm/api/resources/users/client/Client.mjs +0 -5
- package/dist/esm/api/resources/users/resources/index.d.mts +0 -2
- package/dist/esm/api/resources/users/resources/index.mjs +0 -2
- package/dist/esm/api/types/BillingLedger1.d.mts +2 -2
- package/dist/esm/api/types/BillingLedgerPeriod1.d.mts +2 -2
- package/dist/esm/api/types/CreateOffChrtOrgRes.d.mts +7 -0
- package/dist/esm/api/types/DeviceLimitedForList1.d.mts +1 -1
- package/dist/esm/api/types/DirectoryEntry1.d.mts +6 -11
- package/dist/esm/api/types/DirectoryEntrySortByEnum.d.mts +1 -6
- package/dist/esm/api/types/DirectoryEntrySortByEnum.mjs +1 -5
- package/dist/esm/api/types/LineItemGroup1.d.mts +2 -2
- package/dist/esm/api/types/OffChrtOrgData1.d.mts +18 -0
- package/dist/esm/api/types/OffChrtOrgDataClientCreate1.d.mts +13 -0
- package/dist/esm/api/types/{OffChrtShipperOrgListRes.d.mts → OffChrtOrgDataListRes.d.mts} +2 -2
- package/dist/esm/api/types/OffChrtOrgDataSortByEnum.d.mts +4 -0
- package/dist/esm/api/types/Order1.d.mts +1 -1
- package/dist/esm/api/types/OrderBuilderReq.d.mts +3 -0
- package/dist/esm/api/types/OrderLimitedForCoordinator1.d.mts +1 -1
- package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +1 -1
- package/dist/esm/api/types/OrderLimitedForShipper1.d.mts +1 -1
- package/dist/esm/api/types/OrderTaskGroupExecutorDetails1.d.mts +1 -1
- package/dist/esm/api/types/OrderTaskGroupSharedDetails1.d.mts +1 -1
- package/dist/esm/api/types/OrderTemplate1.d.mts +2 -2
- package/dist/esm/api/types/OrderTemplateCore1.d.mts +2 -2
- package/dist/esm/api/types/OrderTemplateExpanded1.d.mts +2 -2
- package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.d.mts +3 -3
- package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.mjs +2 -2
- package/dist/esm/api/types/OrderTemplateReferencesExpanded1.d.mts +2 -2
- package/dist/esm/api/types/OrderTemplateResolvabilityRes.d.mts +1 -1
- package/dist/esm/api/types/OrdersDraftUpdateRes.d.mts +1 -1
- package/dist/esm/api/types/OrgPublicData1.d.mts +6 -1
- package/dist/esm/api/types/ProviderProviderConnection1.d.mts +3 -2
- package/dist/esm/api/types/ProviderProviderConnectionListItem.d.mts +3 -6
- package/dist/esm/api/types/RateSheetMapping1.d.mts +2 -2
- package/dist/esm/api/types/Session1.d.mts +1 -1
- package/dist/esm/api/types/ShipperProviderConnection1.d.mts +3 -1
- package/dist/esm/api/types/ShipperProviderConnectionForCoordinatorListItem.d.mts +9 -0
- package/dist/esm/api/types/ShipperProviderConnectionForShipperListItem.d.mts +8 -0
- package/dist/esm/api/types/{ProviderConnectionListRes.d.mts → ShipperProviderConnectionsForCoordinatorListRes.d.mts} +2 -2
- package/dist/esm/api/types/{OffChrtProviderOrgListRes.d.mts → ShipperProviderConnectionsForShipperListRes.d.mts} +2 -2
- package/dist/esm/api/types/Statement1.d.mts +2 -2
- package/dist/esm/api/types/TaskGroup1.d.mts +2 -2
- package/dist/esm/api/types/TaskGroupExpanded.d.mts +1 -1
- package/dist/esm/api/types/TaskGroupQuoteResp.d.mts +2 -2
- package/dist/esm/api/types/index.d.mts +9 -17
- package/dist/esm/api/types/index.mjs +9 -17
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +2218 -3406
- package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/Client.d.ts +0 -76
- package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/Client.js +0 -254
- package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.d.ts +0 -17
- package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRulesDeleteV1Request.d.ts +0 -14
- package/dist/cjs/api/resources/operations/resources/departmentRoutingRules/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/Client.d.ts +0 -106
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/Client.js +0 -384
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.ts +0 -25
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.ts +0 -29
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.d.ts +0 -14
- package/dist/cjs/api/resources/orgs/resources/offChrtProviderOrg/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/Client.d.ts +0 -107
- package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/index.d.ts +0 -2
- package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/index.js +0 -17
- package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.ts +0 -26
- package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.ts +0 -29
- package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgListV1Request.d.ts +0 -17
- package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/index.d.ts +0 -1
- package/dist/cjs/api/resources/orgs/resources/offChrtShipperOrg/index.js +0 -17
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/Client.d.ts +0 -26
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/Client.js +0 -22
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/client/index.js +0 -2
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/index.d.ts +0 -2
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/index.js +0 -18
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/index.d.ts +0 -4
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/index.js +0 -43
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.d.ts +0 -83
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.js +0 -300
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.d.ts +0 -2
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.js +0 -17
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.d.ts +0 -24
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.d.ts +0 -29
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.d.ts +0 -1
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.js +0 -17
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.d.ts +0 -73
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.js +0 -246
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/index.d.ts +0 -2
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/index.js +0 -17
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.d.ts +0 -24
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.d.ts +0 -29
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/index.d.ts +0 -1
- package/dist/cjs/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/index.js +0 -17
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/Client.d.ts +0 -101
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/Client.js +0 -366
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/index.d.ts +0 -2
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/index.js +0 -17
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.d.ts +0 -19
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.d.ts +0 -12
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.js +0 -5
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/index.d.ts +0 -1
- package/dist/cjs/api/resources/orgs/resources/orgProfiles/index.js +0 -17
- package/dist/cjs/api/resources/orgs/resources/providers/client/Client.d.ts +0 -54
- package/dist/cjs/api/resources/orgs/resources/providers/client/Client.js +0 -157
- package/dist/cjs/api/resources/orgs/resources/providers/client/index.d.ts +0 -2
- package/dist/cjs/api/resources/orgs/resources/providers/client/index.js +0 -17
- package/dist/cjs/api/resources/orgs/resources/providers/client/requests/ProvidersListOnAndOffChrtExecutorsV1Request.d.ts +0 -26
- package/dist/cjs/api/resources/orgs/resources/providers/client/requests/ProvidersListOnAndOffChrtExecutorsV1Request.js +0 -5
- package/dist/cjs/api/resources/orgs/resources/providers/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/orgs/resources/providers/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/orgs/resources/providers/index.d.ts +0 -1
- package/dist/cjs/api/resources/orgs/resources/providers/index.js +0 -17
- package/dist/cjs/api/resources/users/resources/directoryEntries/client/index.d.ts +0 -2
- package/dist/cjs/api/resources/users/resources/directoryEntries/client/index.js +0 -17
- package/dist/cjs/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.ts +0 -32
- package/dist/cjs/api/resources/users/resources/directoryEntries/client/requests/index.js +0 -2
- package/dist/cjs/api/resources/users/resources/directoryEntries/index.d.ts +0 -1
- package/dist/cjs/api/resources/users/resources/directoryEntries/index.js +0 -17
- package/dist/cjs/api/types/DepartmentRoutingRule1.d.ts +0 -16
- package/dist/cjs/api/types/DepartmentRoutingRule1.js +0 -5
- package/dist/cjs/api/types/OffChrtProviderOrg1.d.ts +0 -23
- package/dist/cjs/api/types/OffChrtProviderOrg1.js +0 -5
- package/dist/cjs/api/types/OffChrtProviderOrgListRes.d.ts +0 -8
- package/dist/cjs/api/types/OffChrtProviderOrgListRes.js +0 -5
- package/dist/cjs/api/types/OffChrtShipperOrg1.d.ts +0 -24
- package/dist/cjs/api/types/OffChrtShipperOrg1.js +0 -5
- package/dist/cjs/api/types/OffChrtShipperOrgListRes.js +0 -5
- package/dist/cjs/api/types/ProviderConnectionListRes.js +0 -5
- package/dist/cjs/api/types/ProviderConnectionRes.d.ts +0 -8
- package/dist/cjs/api/types/ProviderConnectionRes.js +0 -5
- package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListItem.d.ts +0 -20
- package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListItem.js +0 -5
- package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListPage.js +0 -5
- package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListRes.d.ts +0 -8
- package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorListRes.js +0 -5
- package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorSourceEnum.d.ts +0 -8
- package/dist/cjs/api/types/ProviderOnAndOffChrtExecutorSourceEnum.js +0 -10
- package/dist/cjs/api/types/ProviderOrgInfoForConnections1.d.ts +0 -22
- package/dist/cjs/api/types/ProviderOrgInfoForConnections1.js +0 -5
- package/dist/cjs/api/types/ProviderOrgProfile1.d.ts +0 -13
- package/dist/cjs/api/types/ProviderOrgProfile1.js +0 -5
- package/dist/cjs/api/types/ShipperConnectionListRes.d.ts +0 -8
- package/dist/cjs/api/types/ShipperConnectionListRes.js +0 -5
- package/dist/cjs/api/types/ShipperConnectionRes.d.ts +0 -8
- package/dist/cjs/api/types/ShipperConnectionRes.js +0 -5
- package/dist/cjs/api/types/ShipperOrgInfoForConnections1.d.ts +0 -22
- package/dist/cjs/api/types/ShipperOrgInfoForConnections1.js +0 -5
- package/dist/cjs/api/types/ShippingTurnClientCreate1.d.ts +0 -17
- package/dist/cjs/api/types/ShippingTurnClientCreate1.js +0 -5
- package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.d.mts +0 -76
- package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/Client.mjs +0 -217
- package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.d.mts +0 -17
- package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRulesDeleteV1Request.d.mts +0 -14
- package/dist/esm/api/resources/operations/resources/departmentRoutingRules/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/Client.d.mts +0 -106
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/Client.mjs +0 -347
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.d.mts +0 -25
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.d.mts +0 -29
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.d.mts +0 -14
- package/dist/esm/api/resources/orgs/resources/offChrtProviderOrg/client/requests/index.d.mts +0 -3
- package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/Client.d.mts +0 -107
- package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/index.d.mts +0 -2
- package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/index.mjs +0 -1
- package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.d.mts +0 -26
- package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.d.mts +0 -29
- package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgListV1Request.d.mts +0 -17
- package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/index.d.mts +0 -3
- package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/index.d.mts +0 -1
- package/dist/esm/api/resources/orgs/resources/offChrtShipperOrg/index.mjs +0 -1
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/Client.d.mts +0 -26
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/Client.mjs +0 -18
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/index.d.mts +0 -1
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/client/index.mjs +0 -1
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/index.d.mts +0 -2
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/index.mjs +0 -2
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/index.d.mts +0 -4
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/index.mjs +0 -4
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.d.mts +0 -83
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/Client.mjs +0 -263
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.d.mts +0 -2
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/index.mjs +0 -1
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.d.mts +0 -24
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.d.mts +0 -29
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.d.mts +0 -1
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/provider/index.mjs +0 -1
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.d.mts +0 -73
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/Client.mjs +0 -209
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/index.d.mts +0 -2
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/index.mjs +0 -1
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.d.mts +0 -24
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.d.mts +0 -29
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/index.d.mts +0 -1
- package/dist/esm/api/resources/orgs/resources/orgInfoForConnections/resources/shipper/index.mjs +0 -1
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/Client.d.mts +0 -101
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/Client.mjs +0 -329
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/index.d.mts +0 -2
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/index.mjs +0 -1
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.d.mts +0 -19
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.d.mts +0 -12
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientUpdate1.mjs +0 -4
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/orgs/resources/orgProfiles/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/orgs/resources/orgProfiles/index.d.mts +0 -1
- package/dist/esm/api/resources/orgs/resources/orgProfiles/index.mjs +0 -1
- package/dist/esm/api/resources/orgs/resources/providers/client/Client.d.mts +0 -54
- package/dist/esm/api/resources/orgs/resources/providers/client/Client.mjs +0 -120
- package/dist/esm/api/resources/orgs/resources/providers/client/index.d.mts +0 -2
- package/dist/esm/api/resources/orgs/resources/providers/client/index.mjs +0 -1
- package/dist/esm/api/resources/orgs/resources/providers/client/requests/ProvidersListOnAndOffChrtExecutorsV1Request.d.mts +0 -26
- package/dist/esm/api/resources/orgs/resources/providers/client/requests/ProvidersListOnAndOffChrtExecutorsV1Request.mjs +0 -4
- package/dist/esm/api/resources/orgs/resources/providers/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/orgs/resources/providers/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/orgs/resources/providers/index.d.mts +0 -1
- package/dist/esm/api/resources/orgs/resources/providers/index.mjs +0 -1
- package/dist/esm/api/resources/users/resources/directoryEntries/client/index.d.mts +0 -2
- package/dist/esm/api/resources/users/resources/directoryEntries/client/index.mjs +0 -1
- package/dist/esm/api/resources/users/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.mts +0 -32
- package/dist/esm/api/resources/users/resources/directoryEntries/client/requests/index.mjs +0 -1
- package/dist/esm/api/resources/users/resources/directoryEntries/index.d.mts +0 -1
- package/dist/esm/api/resources/users/resources/directoryEntries/index.mjs +0 -1
- package/dist/esm/api/types/DepartmentRoutingRule1.d.mts +0 -16
- package/dist/esm/api/types/DepartmentRoutingRule1.mjs +0 -4
- package/dist/esm/api/types/OffChrtProviderOrg1.d.mts +0 -23
- package/dist/esm/api/types/OffChrtProviderOrg1.mjs +0 -4
- package/dist/esm/api/types/OffChrtProviderOrgListRes.mjs +0 -4
- package/dist/esm/api/types/OffChrtShipperOrg1.d.mts +0 -24
- package/dist/esm/api/types/OffChrtShipperOrg1.mjs +0 -4
- package/dist/esm/api/types/OffChrtShipperOrgListRes.mjs +0 -4
- package/dist/esm/api/types/ProviderConnectionListRes.mjs +0 -4
- package/dist/esm/api/types/ProviderConnectionRes.d.mts +0 -8
- package/dist/esm/api/types/ProviderConnectionRes.mjs +0 -4
- package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListItem.d.mts +0 -20
- package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListItem.mjs +0 -4
- package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListPage.d.mts +0 -8
- package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListPage.mjs +0 -4
- package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListRes.d.mts +0 -8
- package/dist/esm/api/types/ProviderOnAndOffChrtExecutorListRes.mjs +0 -4
- package/dist/esm/api/types/ProviderOnAndOffChrtExecutorSourceEnum.d.mts +0 -8
- package/dist/esm/api/types/ProviderOnAndOffChrtExecutorSourceEnum.mjs +0 -7
- package/dist/esm/api/types/ProviderOrgInfoForConnections1.d.mts +0 -22
- package/dist/esm/api/types/ProviderOrgInfoForConnections1.mjs +0 -4
- package/dist/esm/api/types/ProviderOrgProfile1.d.mts +0 -13
- package/dist/esm/api/types/ProviderOrgProfile1.mjs +0 -4
- package/dist/esm/api/types/ShipperConnectionListRes.d.mts +0 -8
- package/dist/esm/api/types/ShipperConnectionListRes.mjs +0 -4
- package/dist/esm/api/types/ShipperConnectionRes.d.mts +0 -8
- package/dist/esm/api/types/ShipperConnectionRes.mjs +0 -4
- package/dist/esm/api/types/ShipperOrgInfoForConnections1.d.mts +0 -22
- package/dist/esm/api/types/ShipperOrgInfoForConnections1.mjs +0 -4
- package/dist/esm/api/types/ShippingTurnClientCreate1.d.mts +0 -17
- package/dist/esm/api/types/ShippingTurnClientCreate1.mjs +0 -4
- /package/dist/cjs/api/resources/{operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.js → orgs/resources/connections/client/requests/ShipperProviderConnectionClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntriesListV1Request.js +0 -0
- /package/dist/cjs/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntryClientCreate1.js +0 -0
- /package/dist/cjs/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.js +0 -0
- /package/dist/cjs/api/resources/{users → orgs}/resources/directoryEntries/client/requests/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/index.js +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/client/index.js +0 -0
- /package/dist/cjs/api/resources/{operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRulesDeleteV1Request.js → orgs/resources/offChrtOrgData/client/requests/CreateOffChrtOrgReq.js} +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.js → offChrtOrgData/client/requests/OffChrtOrgDataClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.js → offChrtOrgData/client/requests/OffChrtOrgDataListV1Request.js} +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/index.js +0 -0
- /package/dist/cjs/api/{resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.js → types/CreateOffChrtOrgRes.js} +0 -0
- /package/dist/cjs/api/{resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.js → types/OffChrtOrgData1.js} +0 -0
- /package/dist/cjs/api/{resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.js → types/OffChrtOrgDataClientCreate1.js} +0 -0
- /package/dist/cjs/api/{resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgListV1Request.js → types/OffChrtOrgDataListRes.js} +0 -0
- /package/dist/cjs/api/{resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.js → types/OffChrtOrgDataSortByEnum.js} +0 -0
- /package/dist/cjs/api/{resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.js → types/ShipperProviderConnectionForCoordinatorListItem.js} +0 -0
- /package/dist/cjs/api/{resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.js → types/ShipperProviderConnectionForShipperListItem.js} +0 -0
- /package/dist/cjs/api/{resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.js → types/ShipperProviderConnectionsForCoordinatorListRes.js} +0 -0
- /package/dist/cjs/api/{resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.js → types/ShipperProviderConnectionsForShipperListRes.js} +0 -0
- /package/dist/esm/api/resources/{operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRuleClientCreate1.mjs → orgs/resources/connections/client/requests/ShipperProviderConnectionClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntriesListV1Request.mjs +0 -0
- /package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntryClientCreate1.mjs +0 -0
- /package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/requests/DirectoryEntryClientUpdate1.mjs +0 -0
- /package/dist/esm/api/resources/{users → orgs}/resources/directoryEntries/client/requests/index.d.mts +0 -0
- /package/dist/esm/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/index.d.mts +0 -0
- /package/dist/esm/api/resources/{operations/resources/departmentRoutingRules → orgs/resources/directoryEntries}/index.mjs +0 -0
- /package/dist/esm/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/{operations/resources/departmentRoutingRules/client/requests/DepartmentRoutingRulesDeleteV1Request.mjs → orgs/resources/offChrtOrgData/client/requests/CreateOffChrtOrgReq.mjs} +0 -0
- /package/dist/esm/api/resources/orgs/resources/{offChrtProviderOrg/client/requests/OffChrtProviderOrgClientCreate1.mjs → offChrtOrgData/client/requests/OffChrtOrgDataClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/orgs/resources/{offChrtProviderOrg/client/requests/OffChrtProviderOrgClientUpdate1.mjs → offChrtOrgData/client/requests/OffChrtOrgDataListV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/index.d.mts +0 -0
- /package/dist/esm/api/resources/orgs/resources/{offChrtProviderOrg → offChrtOrgData}/index.mjs +0 -0
- /package/dist/esm/api/{resources/orgs/resources/offChrtProviderOrg/client/requests/OffChrtProviderOrgListV1Request.mjs → types/CreateOffChrtOrgRes.mjs} +0 -0
- /package/dist/esm/api/{resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientCreate1.mjs → types/OffChrtOrgData1.mjs} +0 -0
- /package/dist/esm/api/{resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgClientUpdate1.mjs → types/OffChrtOrgDataClientCreate1.mjs} +0 -0
- /package/dist/esm/api/{resources/orgs/resources/offChrtShipperOrg/client/requests/OffChrtShipperOrgListV1Request.mjs → types/OffChrtOrgDataListRes.mjs} +0 -0
- /package/dist/esm/api/{resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientCreate1.mjs → types/OffChrtOrgDataSortByEnum.mjs} +0 -0
- /package/dist/esm/api/{resources/orgs/resources/orgInfoForConnections/resources/provider/client/requests/ProviderOrgInfoForConnectionsClientUpdate1.mjs → types/ShipperProviderConnectionForCoordinatorListItem.mjs} +0 -0
- /package/dist/esm/api/{resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientCreate1.mjs → types/ShipperProviderConnectionForShipperListItem.mjs} +0 -0
- /package/dist/esm/api/{resources/orgs/resources/orgInfoForConnections/resources/shipper/client/requests/ShipperOrgInfoForConnectionsClientUpdate1.mjs → types/ShipperProviderConnectionsForCoordinatorListRes.mjs} +0 -0
- /package/dist/esm/api/{resources/orgs/resources/orgProfiles/client/requests/ProviderOrgProfileClientCreate1.mjs → types/ShipperProviderConnectionsForShipperListRes.mjs} +0 -0
package/dist/esm/api/resources/orgs/resources/{offChrtShipperOrg → offChrtOrgData}/client/Client.mjs
RENAMED
|
@@ -15,22 +15,25 @@ 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 OffChrtOrgData {
|
|
19
19
|
constructor(_options = {}) {
|
|
20
20
|
this._options = _options;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
* Atomically creates owner-scoped off-CHRT organization data and its shipper-provider or provider-provider connection. | authz: allowed_org_types=[provider] | (CreateOffChrtOrgReq) -> (CreateOffChrtOrgRes)
|
|
24
24
|
*
|
|
25
|
-
* @param {Chrt.orgs.
|
|
26
|
-
* @param {
|
|
25
|
+
* @param {Chrt.orgs.CreateOffChrtOrgReq} request
|
|
26
|
+
* @param {OffChrtOrgData.RequestOptions} requestOptions - Request-specific configuration.
|
|
27
27
|
*
|
|
28
28
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
|
-
* await client.orgs.
|
|
32
|
-
*
|
|
33
|
-
*
|
|
31
|
+
* await client.orgs.offChrtOrgData.createV1({
|
|
32
|
+
* off_chrt_org_data: {
|
|
33
|
+
* name: "name",
|
|
34
|
+
* org_type: "provider",
|
|
35
|
+
* schema_version: 1
|
|
36
|
+
* }
|
|
34
37
|
* })
|
|
35
38
|
*/
|
|
36
39
|
createV1(request, requestOptions) {
|
|
@@ -41,7 +44,7 @@ export class OffChrtShipperOrg {
|
|
|
41
44
|
var _a, _b, _c, _d;
|
|
42
45
|
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
46
|
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/
|
|
47
|
+
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/off_chrt_org_data/create/v1"),
|
|
45
48
|
method: "POST",
|
|
46
49
|
headers: _headers,
|
|
47
50
|
contentType: "application/json",
|
|
@@ -75,7 +78,7 @@ export class OffChrtShipperOrg {
|
|
|
75
78
|
rawResponse: _response.rawResponse,
|
|
76
79
|
});
|
|
77
80
|
case "timeout":
|
|
78
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /orgs/
|
|
81
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /orgs/off_chrt_org_data/create/v1.");
|
|
79
82
|
case "unknown":
|
|
80
83
|
throw new errors.ChrtError({
|
|
81
84
|
message: _response.error.errorMessage,
|
|
@@ -85,16 +88,19 @@ export class OffChrtShipperOrg {
|
|
|
85
88
|
});
|
|
86
89
|
}
|
|
87
90
|
/**
|
|
88
|
-
* Lists
|
|
91
|
+
* Lists off-CHRT organization data owned by the caller with optional organization-type filtering, name search, sorting, and pagination. | authz: allowed_org_types=[provider] | () -> (OffChrtOrgDataListRes)
|
|
89
92
|
*
|
|
90
|
-
* @param {Chrt.orgs.
|
|
91
|
-
* @param {
|
|
93
|
+
* @param {Chrt.orgs.OffChrtOrgDataListV1Request} request
|
|
94
|
+
* @param {OffChrtOrgData.RequestOptions} requestOptions - Request-specific configuration.
|
|
92
95
|
*
|
|
93
96
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
94
97
|
*
|
|
95
98
|
* @example
|
|
96
|
-
* await client.orgs.
|
|
99
|
+
* await client.orgs.offChrtOrgData.listV1({
|
|
97
100
|
* search: "search",
|
|
101
|
+
* filter_org_type: "provider",
|
|
102
|
+
* sort_by: "name",
|
|
103
|
+
* sort_order: "asc",
|
|
98
104
|
* page: 1,
|
|
99
105
|
* page_size: 1
|
|
100
106
|
* })
|
|
@@ -105,11 +111,20 @@ export class OffChrtShipperOrg {
|
|
|
105
111
|
__listV1() {
|
|
106
112
|
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
107
113
|
var _a, _b, _c, _d, _e, _f;
|
|
108
|
-
const { search, page, page_size: pageSize } = request;
|
|
114
|
+
const { search, filter_org_type: filterOrgType, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, } = request;
|
|
109
115
|
const _queryParams = {};
|
|
110
116
|
if (search !== undefined) {
|
|
111
117
|
_queryParams["search"] = search;
|
|
112
118
|
}
|
|
119
|
+
if (filterOrgType !== undefined) {
|
|
120
|
+
_queryParams["filter_org_type"] = filterOrgType;
|
|
121
|
+
}
|
|
122
|
+
if (sortBy !== undefined) {
|
|
123
|
+
_queryParams["sort_by"] = sortBy;
|
|
124
|
+
}
|
|
125
|
+
if (sortOrder !== undefined) {
|
|
126
|
+
_queryParams["sort_order"] = sortOrder;
|
|
127
|
+
}
|
|
113
128
|
if (page !== undefined) {
|
|
114
129
|
_queryParams["page"] = (_a = page === null || page === void 0 ? void 0 : page.toString()) !== null && _a !== void 0 ? _a : null;
|
|
115
130
|
}
|
|
@@ -118,7 +133,7 @@ export class OffChrtShipperOrg {
|
|
|
118
133
|
}
|
|
119
134
|
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);
|
|
120
135
|
const _response = yield ((_d = this._options.fetcher) !== null && _d !== void 0 ? _d : core.fetcher)({
|
|
121
|
-
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/
|
|
136
|
+
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/off_chrt_org_data/list/v1"),
|
|
122
137
|
method: "GET",
|
|
123
138
|
headers: _headers,
|
|
124
139
|
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
@@ -149,7 +164,7 @@ export class OffChrtShipperOrg {
|
|
|
149
164
|
rawResponse: _response.rawResponse,
|
|
150
165
|
});
|
|
151
166
|
case "timeout":
|
|
152
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/
|
|
167
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/off_chrt_org_data/list/v1.");
|
|
153
168
|
case "unknown":
|
|
154
169
|
throw new errors.ChrtError({
|
|
155
170
|
message: _response.error.errorMessage,
|
|
@@ -159,25 +174,25 @@ export class OffChrtShipperOrg {
|
|
|
159
174
|
});
|
|
160
175
|
}
|
|
161
176
|
/**
|
|
162
|
-
*
|
|
177
|
+
* Gets owner-scoped off-CHRT organization data by ID. | authz: allowed_org_types=[provider] | () -> (OffChrtOrgData1)
|
|
163
178
|
*
|
|
164
|
-
* @param {string}
|
|
165
|
-
* @param {
|
|
179
|
+
* @param {string} offChrtOrgDataId
|
|
180
|
+
* @param {OffChrtOrgData.RequestOptions} requestOptions - Request-specific configuration.
|
|
166
181
|
*
|
|
167
182
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
168
183
|
*
|
|
169
184
|
* @example
|
|
170
|
-
* await client.orgs.
|
|
185
|
+
* await client.orgs.offChrtOrgData.getByIdV1("off_chrt_org_data_id")
|
|
171
186
|
*/
|
|
172
|
-
getByIdV1(
|
|
173
|
-
return core.HttpResponsePromise.fromPromise(this.__getByIdV1(
|
|
187
|
+
getByIdV1(offChrtOrgDataId, requestOptions) {
|
|
188
|
+
return core.HttpResponsePromise.fromPromise(this.__getByIdV1(offChrtOrgDataId, requestOptions));
|
|
174
189
|
}
|
|
175
|
-
__getByIdV1(
|
|
190
|
+
__getByIdV1(offChrtOrgDataId, requestOptions) {
|
|
176
191
|
return __awaiter(this, void 0, void 0, function* () {
|
|
177
192
|
var _a, _b, _c, _d;
|
|
178
193
|
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);
|
|
179
194
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
180
|
-
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/
|
|
195
|
+
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/off_chrt_org_data/v1/${encodeURIComponent(offChrtOrgDataId)}`),
|
|
181
196
|
method: "GET",
|
|
182
197
|
headers: _headers,
|
|
183
198
|
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
@@ -208,66 +223,7 @@ export class OffChrtShipperOrg {
|
|
|
208
223
|
rawResponse: _response.rawResponse,
|
|
209
224
|
});
|
|
210
225
|
case "timeout":
|
|
211
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/
|
|
212
|
-
case "unknown":
|
|
213
|
-
throw new errors.ChrtError({
|
|
214
|
-
message: _response.error.errorMessage,
|
|
215
|
-
rawResponse: _response.rawResponse,
|
|
216
|
-
});
|
|
217
|
-
}
|
|
218
|
-
});
|
|
219
|
-
}
|
|
220
|
-
/**
|
|
221
|
-
* Deletes off-platform shipper organization owned by the caller's organization. | () -> (bool)
|
|
222
|
-
*
|
|
223
|
-
* @param {string} id
|
|
224
|
-
* @param {OffChrtShipperOrg.RequestOptions} requestOptions - Request-specific configuration.
|
|
225
|
-
*
|
|
226
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
227
|
-
*
|
|
228
|
-
* @example
|
|
229
|
-
* await client.orgs.offChrtShipperOrg.deleteByIdV1("id")
|
|
230
|
-
*/
|
|
231
|
-
deleteByIdV1(id, requestOptions) {
|
|
232
|
-
return core.HttpResponsePromise.fromPromise(this.__deleteByIdV1(id, requestOptions));
|
|
233
|
-
}
|
|
234
|
-
__deleteByIdV1(id, requestOptions) {
|
|
235
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
236
|
-
var _a, _b, _c, _d;
|
|
237
|
-
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);
|
|
238
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
239
|
-
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/off_chrt_shipper_org/v1/${encodeURIComponent(id)}`),
|
|
240
|
-
method: "DELETE",
|
|
241
|
-
headers: _headers,
|
|
242
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
243
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
244
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
245
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
246
|
-
});
|
|
247
|
-
if (_response.ok) {
|
|
248
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
249
|
-
}
|
|
250
|
-
if (_response.error.reason === "status-code") {
|
|
251
|
-
switch (_response.error.statusCode) {
|
|
252
|
-
case 422:
|
|
253
|
-
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
254
|
-
default:
|
|
255
|
-
throw new errors.ChrtError({
|
|
256
|
-
statusCode: _response.error.statusCode,
|
|
257
|
-
body: _response.error.body,
|
|
258
|
-
rawResponse: _response.rawResponse,
|
|
259
|
-
});
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
switch (_response.error.reason) {
|
|
263
|
-
case "non-json":
|
|
264
|
-
throw new errors.ChrtError({
|
|
265
|
-
statusCode: _response.error.statusCode,
|
|
266
|
-
body: _response.error.rawBody,
|
|
267
|
-
rawResponse: _response.rawResponse,
|
|
268
|
-
});
|
|
269
|
-
case "timeout":
|
|
270
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /orgs/off_chrt_shipper_org/v1/{id}.");
|
|
226
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/off_chrt_org_data/v1/{off_chrt_org_data_id}.");
|
|
271
227
|
case "unknown":
|
|
272
228
|
throw new errors.ChrtError({
|
|
273
229
|
message: _response.error.errorMessage,
|
|
@@ -277,26 +233,26 @@ export class OffChrtShipperOrg {
|
|
|
277
233
|
});
|
|
278
234
|
}
|
|
279
235
|
/**
|
|
280
|
-
* Updates
|
|
236
|
+
* Updates canonical identity fields for owner-scoped off-CHRT organization data. | authz: allowed_org_types=[provider] | (OffChrtOrgDataClientUpdate1) -> (bool)
|
|
281
237
|
*
|
|
282
|
-
* @param {string}
|
|
283
|
-
* @param {Chrt.orgs.
|
|
284
|
-
* @param {
|
|
238
|
+
* @param {string} offChrtOrgDataId
|
|
239
|
+
* @param {Chrt.orgs.OffChrtOrgDataClientUpdate1} request
|
|
240
|
+
* @param {OffChrtOrgData.RequestOptions} requestOptions - Request-specific configuration.
|
|
285
241
|
*
|
|
286
242
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
287
243
|
*
|
|
288
244
|
* @example
|
|
289
|
-
* await client.orgs.
|
|
245
|
+
* await client.orgs.offChrtOrgData.updateByIdV1("off_chrt_org_data_id")
|
|
290
246
|
*/
|
|
291
|
-
updateByIdV1(
|
|
292
|
-
return core.HttpResponsePromise.fromPromise(this.__updateByIdV1(
|
|
247
|
+
updateByIdV1(offChrtOrgDataId, request = {}, requestOptions) {
|
|
248
|
+
return core.HttpResponsePromise.fromPromise(this.__updateByIdV1(offChrtOrgDataId, request, requestOptions));
|
|
293
249
|
}
|
|
294
|
-
__updateByIdV1(
|
|
295
|
-
return __awaiter(this, arguments, void 0, function* (
|
|
250
|
+
__updateByIdV1(offChrtOrgDataId_1) {
|
|
251
|
+
return __awaiter(this, arguments, void 0, function* (offChrtOrgDataId, request = {}, requestOptions) {
|
|
296
252
|
var _a, _b, _c, _d;
|
|
297
253
|
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);
|
|
298
254
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
299
|
-
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/
|
|
255
|
+
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/off_chrt_org_data/v1/${encodeURIComponent(offChrtOrgDataId)}`),
|
|
300
256
|
method: "PATCH",
|
|
301
257
|
headers: _headers,
|
|
302
258
|
contentType: "application/json",
|
|
@@ -330,7 +286,7 @@ export class OffChrtShipperOrg {
|
|
|
330
286
|
rawResponse: _response.rawResponse,
|
|
331
287
|
});
|
|
332
288
|
case "timeout":
|
|
333
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /orgs/
|
|
289
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /orgs/off_chrt_org_data/v1/{off_chrt_org_data_id}.");
|
|
334
290
|
case "unknown":
|
|
335
291
|
throw new errors.ChrtError({
|
|
336
292
|
message: _response.error.errorMessage,
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../../../../../../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* off_chrt_org_data: {
|
|
9
|
+
* name: "name",
|
|
10
|
+
* org_type: "provider",
|
|
11
|
+
* schema_version: 1
|
|
12
|
+
* }
|
|
13
|
+
* }
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateOffChrtOrgReq {
|
|
16
|
+
coordinator_default_department_id?: string | null;
|
|
17
|
+
off_chrt_org_data: Chrt.OffChrtOrgDataClientCreate1;
|
|
18
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../../../../../../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {}
|
|
8
|
+
*/
|
|
9
|
+
export interface OffChrtOrgDataClientUpdate1 {
|
|
10
|
+
email_address?: string | null;
|
|
11
|
+
email_address__set_to_None?: boolean;
|
|
12
|
+
industry?: string | null;
|
|
13
|
+
industry__set_to_None?: boolean;
|
|
14
|
+
name?: string | null;
|
|
15
|
+
phone_number?: string | null;
|
|
16
|
+
phone_number__set_to_None?: boolean;
|
|
17
|
+
street_address?: Chrt.LocationFeature | null;
|
|
18
|
+
street_address__set_to_None?: boolean;
|
|
19
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../../../../../../index.mjs";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* search: "search",
|
|
9
|
+
* filter_org_type: "provider",
|
|
10
|
+
* sort_by: "name",
|
|
11
|
+
* sort_order: "asc",
|
|
12
|
+
* page: 1,
|
|
13
|
+
* page_size: 1
|
|
14
|
+
* }
|
|
15
|
+
*/
|
|
16
|
+
export interface OffChrtOrgDataListV1Request {
|
|
17
|
+
/** Search by name */
|
|
18
|
+
search?: string | null;
|
|
19
|
+
filter_org_type?: Chrt.OrgTypeEnum | null;
|
|
20
|
+
/** Field to sort by */
|
|
21
|
+
sort_by?: Chrt.OffChrtOrgDataSortByEnum | null;
|
|
22
|
+
/** Sort order */
|
|
23
|
+
sort_order?: Chrt.SortOrderEnum | null;
|
|
24
|
+
page?: number | null;
|
|
25
|
+
page_size?: number | null;
|
|
26
|
+
}
|
|
@@ -30,6 +30,32 @@ export declare namespace PublicData {
|
|
|
30
30
|
export declare class PublicData {
|
|
31
31
|
protected readonly _options: PublicData.Options;
|
|
32
32
|
constructor(_options?: PublicData.Options);
|
|
33
|
+
/**
|
|
34
|
+
* Returns the organization avatar URL or a placeholder. | () -> (str)
|
|
35
|
+
*
|
|
36
|
+
* @param {string} handle
|
|
37
|
+
* @param {PublicData.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* await client.orgs.publicData.getAvatarV1("handle")
|
|
43
|
+
*/
|
|
44
|
+
getAvatarV1(handle: string, requestOptions?: PublicData.RequestOptions): core.HttpResponsePromise<string>;
|
|
45
|
+
private __getAvatarV1;
|
|
46
|
+
/**
|
|
47
|
+
* Retrieves public organization data by handle. | () -> (OrgPublicData1)
|
|
48
|
+
*
|
|
49
|
+
* @param {string} handle
|
|
50
|
+
* @param {PublicData.RequestOptions} requestOptions - Request-specific configuration.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* await client.orgs.publicData.getByHandleV1("handle")
|
|
56
|
+
*/
|
|
57
|
+
getByHandleV1(handle: string, requestOptions?: PublicData.RequestOptions): core.HttpResponsePromise<Chrt.OrgPublicData1>;
|
|
58
|
+
private __getByHandleV1;
|
|
33
59
|
/**
|
|
34
60
|
* Returns True when the provided handle is available, otherwise False. | () -> (bool)
|
|
35
61
|
*
|
|
@@ -54,7 +80,7 @@ export declare class PublicData {
|
|
|
54
80
|
getV1(requestOptions?: PublicData.RequestOptions): core.HttpResponsePromise<Chrt.OrgPublicData1>;
|
|
55
81
|
private __getV1;
|
|
56
82
|
/**
|
|
57
|
-
* Updates
|
|
83
|
+
* Updates public identity data for the caller's organization. | (UpdateOrgPublicDataReq) -> (bool)
|
|
58
84
|
*
|
|
59
85
|
* @param {Chrt.orgs.UpdateOrgPublicDataReq} request
|
|
60
86
|
* @param {PublicData.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -19,6 +19,124 @@ export class PublicData {
|
|
|
19
19
|
constructor(_options = {}) {
|
|
20
20
|
this._options = _options;
|
|
21
21
|
}
|
|
22
|
+
/**
|
|
23
|
+
* Returns the organization avatar URL or a placeholder. | () -> (str)
|
|
24
|
+
*
|
|
25
|
+
* @param {string} handle
|
|
26
|
+
* @param {PublicData.RequestOptions} requestOptions - Request-specific configuration.
|
|
27
|
+
*
|
|
28
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* await client.orgs.publicData.getAvatarV1("handle")
|
|
32
|
+
*/
|
|
33
|
+
getAvatarV1(handle, requestOptions) {
|
|
34
|
+
return core.HttpResponsePromise.fromPromise(this.__getAvatarV1(handle, requestOptions));
|
|
35
|
+
}
|
|
36
|
+
__getAvatarV1(handle, requestOptions) {
|
|
37
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
38
|
+
var _a, _b, _c, _d;
|
|
39
|
+
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);
|
|
40
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
41
|
+
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/org_public_data/avatar/v1/${encodeURIComponent(handle)}`),
|
|
42
|
+
method: "GET",
|
|
43
|
+
headers: _headers,
|
|
44
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
45
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
46
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
47
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
48
|
+
});
|
|
49
|
+
if (_response.ok) {
|
|
50
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
51
|
+
}
|
|
52
|
+
if (_response.error.reason === "status-code") {
|
|
53
|
+
switch (_response.error.statusCode) {
|
|
54
|
+
case 422:
|
|
55
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
56
|
+
default:
|
|
57
|
+
throw new errors.ChrtError({
|
|
58
|
+
statusCode: _response.error.statusCode,
|
|
59
|
+
body: _response.error.body,
|
|
60
|
+
rawResponse: _response.rawResponse,
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
switch (_response.error.reason) {
|
|
65
|
+
case "non-json":
|
|
66
|
+
throw new errors.ChrtError({
|
|
67
|
+
statusCode: _response.error.statusCode,
|
|
68
|
+
body: _response.error.rawBody,
|
|
69
|
+
rawResponse: _response.rawResponse,
|
|
70
|
+
});
|
|
71
|
+
case "timeout":
|
|
72
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/org_public_data/avatar/v1/{handle}.");
|
|
73
|
+
case "unknown":
|
|
74
|
+
throw new errors.ChrtError({
|
|
75
|
+
message: _response.error.errorMessage,
|
|
76
|
+
rawResponse: _response.rawResponse,
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* Retrieves public organization data by handle. | () -> (OrgPublicData1)
|
|
83
|
+
*
|
|
84
|
+
* @param {string} handle
|
|
85
|
+
* @param {PublicData.RequestOptions} requestOptions - Request-specific configuration.
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
88
|
+
*
|
|
89
|
+
* @example
|
|
90
|
+
* await client.orgs.publicData.getByHandleV1("handle")
|
|
91
|
+
*/
|
|
92
|
+
getByHandleV1(handle, requestOptions) {
|
|
93
|
+
return core.HttpResponsePromise.fromPromise(this.__getByHandleV1(handle, requestOptions));
|
|
94
|
+
}
|
|
95
|
+
__getByHandleV1(handle, requestOptions) {
|
|
96
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
97
|
+
var _a, _b, _c, _d;
|
|
98
|
+
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);
|
|
99
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
100
|
+
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/org_public_data/by_handle/v1/${encodeURIComponent(handle)}`),
|
|
101
|
+
method: "GET",
|
|
102
|
+
headers: _headers,
|
|
103
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
104
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
105
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
106
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
107
|
+
});
|
|
108
|
+
if (_response.ok) {
|
|
109
|
+
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
110
|
+
}
|
|
111
|
+
if (_response.error.reason === "status-code") {
|
|
112
|
+
switch (_response.error.statusCode) {
|
|
113
|
+
case 422:
|
|
114
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
115
|
+
default:
|
|
116
|
+
throw new errors.ChrtError({
|
|
117
|
+
statusCode: _response.error.statusCode,
|
|
118
|
+
body: _response.error.body,
|
|
119
|
+
rawResponse: _response.rawResponse,
|
|
120
|
+
});
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
switch (_response.error.reason) {
|
|
124
|
+
case "non-json":
|
|
125
|
+
throw new errors.ChrtError({
|
|
126
|
+
statusCode: _response.error.statusCode,
|
|
127
|
+
body: _response.error.rawBody,
|
|
128
|
+
rawResponse: _response.rawResponse,
|
|
129
|
+
});
|
|
130
|
+
case "timeout":
|
|
131
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/org_public_data/by_handle/v1/{handle}.");
|
|
132
|
+
case "unknown":
|
|
133
|
+
throw new errors.ChrtError({
|
|
134
|
+
message: _response.error.errorMessage,
|
|
135
|
+
rawResponse: _response.rawResponse,
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
});
|
|
139
|
+
}
|
|
22
140
|
/**
|
|
23
141
|
* Returns True when the provided handle is available, otherwise False. | () -> (bool)
|
|
24
142
|
*
|
|
@@ -130,7 +248,7 @@ export class PublicData {
|
|
|
130
248
|
});
|
|
131
249
|
}
|
|
132
250
|
/**
|
|
133
|
-
* Updates
|
|
251
|
+
* Updates public identity data for the caller's organization. | (UpdateOrgPublicDataReq) -> (bool)
|
|
134
252
|
*
|
|
135
253
|
* @param {Chrt.orgs.UpdateOrgPublicDataReq} request
|
|
136
254
|
* @param {PublicData.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -1,12 +1,23 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as Chrt from "../../../../../../index.mjs";
|
|
4
5
|
/**
|
|
5
6
|
* @example
|
|
6
7
|
* {}
|
|
7
8
|
*/
|
|
8
9
|
export interface UpdateOrgPublicDataReq {
|
|
9
|
-
|
|
10
|
+
description?: string | null;
|
|
11
|
+
description__set_to_None?: boolean;
|
|
12
|
+
email_address?: string | null;
|
|
13
|
+
email_address__set_to_None?: boolean;
|
|
10
14
|
/** Must be a string starting with `@`. May only contain a-z, A-Z, 0-9, _, -. May not be longer than 30 characters. */
|
|
11
15
|
handle?: string | null;
|
|
16
|
+
industry?: string | null;
|
|
17
|
+
industry__set_to_None?: boolean;
|
|
18
|
+
name?: string | null;
|
|
19
|
+
phone_number?: string | null;
|
|
20
|
+
phone_number__set_to_None?: boolean;
|
|
21
|
+
street_address?: Chrt.LocationFeature | null;
|
|
22
|
+
street_address__set_to_None?: boolean;
|
|
12
23
|
}
|
|
@@ -75,7 +75,7 @@ export declare class OrderTemplates {
|
|
|
75
75
|
* filter_owned_by_user_id: "filter_owned_by_user_id",
|
|
76
76
|
* filter_off_chrt_reference_id_str: "filter_off_chrt_reference_id_str",
|
|
77
77
|
* filter_shipper_org_id: "filter_shipper_org_id",
|
|
78
|
-
*
|
|
78
|
+
* filter_off_chrt_shipper_org_data_id: "filter_off_chrt_shipper_org_data_id",
|
|
79
79
|
* filter_coordinator_org_id: "filter_coordinator_org_id",
|
|
80
80
|
* filter_department_id: "filter_department_id",
|
|
81
81
|
* filter_coordinator_label: "filter_coordinator_label",
|
|
@@ -156,7 +156,7 @@ export class OrderTemplates {
|
|
|
156
156
|
* filter_owned_by_user_id: "filter_owned_by_user_id",
|
|
157
157
|
* filter_off_chrt_reference_id_str: "filter_off_chrt_reference_id_str",
|
|
158
158
|
* filter_shipper_org_id: "filter_shipper_org_id",
|
|
159
|
-
*
|
|
159
|
+
* filter_off_chrt_shipper_org_data_id: "filter_off_chrt_shipper_org_data_id",
|
|
160
160
|
* filter_coordinator_org_id: "filter_coordinator_org_id",
|
|
161
161
|
* filter_department_id: "filter_department_id",
|
|
162
162
|
* filter_coordinator_label: "filter_coordinator_label",
|
|
@@ -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,
|
|
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_directory_entry_id: filterDirectoryEntryId, 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;
|
|
@@ -207,8 +207,8 @@ export class OrderTemplates {
|
|
|
207
207
|
if (filterShipperOrgId !== undefined) {
|
|
208
208
|
_queryParams["filter_shipper_org_id"] = filterShipperOrgId;
|
|
209
209
|
}
|
|
210
|
-
if (
|
|
211
|
-
_queryParams["
|
|
210
|
+
if (filterOffChrtShipperOrgDataId !== undefined) {
|
|
211
|
+
_queryParams["filter_off_chrt_shipper_org_data_id"] = filterOffChrtShipperOrgDataId;
|
|
212
212
|
}
|
|
213
213
|
if (filterCoordinatorOrgId !== undefined) {
|
|
214
214
|
_queryParams["filter_coordinator_org_id"] = filterCoordinatorOrgId;
|
|
@@ -19,9 +19,9 @@ export interface OrderTemplateClientCreate1 {
|
|
|
19
19
|
driver_ids?: string[];
|
|
20
20
|
executor_org_ids?: string[];
|
|
21
21
|
name: string;
|
|
22
|
-
|
|
22
|
+
off_chrt_executor_org_data_ids?: string[];
|
|
23
23
|
off_chrt_reference_id_str?: string | null;
|
|
24
|
-
|
|
24
|
+
off_chrt_shipper_org_data_id?: string | null;
|
|
25
25
|
schema_version: number;
|
|
26
26
|
/** Must be a string starting with `org_` */
|
|
27
27
|
shipper_org_id?: string | null;
|
|
@@ -20,11 +20,11 @@ export interface OrderTemplateClientUpdate1 {
|
|
|
20
20
|
driver_ids?: string[];
|
|
21
21
|
executor_org_ids?: string[];
|
|
22
22
|
name?: string | null;
|
|
23
|
-
|
|
23
|
+
off_chrt_executor_org_data_ids?: string[];
|
|
24
24
|
off_chrt_reference_id_str?: string | null;
|
|
25
25
|
off_chrt_reference_id_str__set_to_None?: boolean;
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
off_chrt_shipper_org_data_id?: string | null;
|
|
27
|
+
off_chrt_shipper_org_data_id__set_to_None?: boolean;
|
|
28
28
|
/** Must be a string starting with `org_` */
|
|
29
29
|
shipper_org_id?: string | null;
|
|
30
30
|
shipper_org_id__set_to_None?: boolean;
|
|
@@ -14,7 +14,7 @@ import * as Chrt from "../../../../../../index.mjs";
|
|
|
14
14
|
* filter_owned_by_user_id: "filter_owned_by_user_id",
|
|
15
15
|
* filter_off_chrt_reference_id_str: "filter_off_chrt_reference_id_str",
|
|
16
16
|
* filter_shipper_org_id: "filter_shipper_org_id",
|
|
17
|
-
*
|
|
17
|
+
* filter_off_chrt_shipper_org_data_id: "filter_off_chrt_shipper_org_data_id",
|
|
18
18
|
* filter_coordinator_org_id: "filter_coordinator_org_id",
|
|
19
19
|
* filter_department_id: "filter_department_id",
|
|
20
20
|
* filter_coordinator_label: "filter_coordinator_label",
|
|
@@ -47,8 +47,8 @@ export interface OrderTemplatesListV1Request {
|
|
|
47
47
|
filter_off_chrt_reference_id_str?: string | null;
|
|
48
48
|
/** Filter by on-CHRT shipper org ID. */
|
|
49
49
|
filter_shipper_org_id?: string | null;
|
|
50
|
-
/** Filter by off-CHRT shipper
|
|
51
|
-
|
|
50
|
+
/** Filter by off-CHRT shipper organization data ID. */
|
|
51
|
+
filter_off_chrt_shipper_org_data_id?: string | null;
|
|
52
52
|
/** Filter by coordinator org ID. */
|
|
53
53
|
filter_coordinator_org_id?: string | null;
|
|
54
54
|
/** Filter by coordinator department ID. */
|
|
@@ -94,7 +94,7 @@ export declare class Orders {
|
|
|
94
94
|
stageV1(orderId: string, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
95
95
|
private __stageV1;
|
|
96
96
|
/**
|
|
97
|
-
* Returns the
|
|
97
|
+
* Returns the coordinator's account-level default department for the order's shipper. | authz: min_org_role=operator | () -> (PydanticObjectId | None)
|
|
98
98
|
*
|
|
99
99
|
* @param {string} orderId
|
|
100
100
|
* @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
|