@chrt-inc/typescript-sdk 1.875.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/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/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/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/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/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/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 +2221 -3409
- 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
|
@@ -1,366 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
5
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
-
}
|
|
11
|
-
Object.defineProperty(o, k2, desc);
|
|
12
|
-
}) : (function(o, m, k, k2) {
|
|
13
|
-
if (k2 === undefined) k2 = k;
|
|
14
|
-
o[k2] = m[k];
|
|
15
|
-
}));
|
|
16
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
-
}) : function(o, v) {
|
|
19
|
-
o["default"] = v;
|
|
20
|
-
});
|
|
21
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
-
var ownKeys = function(o) {
|
|
23
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
-
var ar = [];
|
|
25
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
-
return ar;
|
|
27
|
-
};
|
|
28
|
-
return ownKeys(o);
|
|
29
|
-
};
|
|
30
|
-
return function (mod) {
|
|
31
|
-
if (mod && mod.__esModule) return mod;
|
|
32
|
-
var result = {};
|
|
33
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
-
__setModuleDefault(result, mod);
|
|
35
|
-
return result;
|
|
36
|
-
};
|
|
37
|
-
})();
|
|
38
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
39
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
40
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
41
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
42
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
43
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
44
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
45
|
-
});
|
|
46
|
-
};
|
|
47
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
-
exports.OrgProfiles = void 0;
|
|
49
|
-
const environments = __importStar(require("../../../../../../environments.js"));
|
|
50
|
-
const core = __importStar(require("../../../../../../core/index.js"));
|
|
51
|
-
const Chrt = __importStar(require("../../../../../index.js"));
|
|
52
|
-
const headers_js_1 = require("../../../../../../core/headers.js");
|
|
53
|
-
const errors = __importStar(require("../../../../../../errors/index.js"));
|
|
54
|
-
class OrgProfiles {
|
|
55
|
-
constructor(_options = {}) {
|
|
56
|
-
this._options = _options;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Returns the organization avatar image URL from WorkOS or a placeholder if not found. | () -> (str)
|
|
60
|
-
*
|
|
61
|
-
* @param {string} handle
|
|
62
|
-
* @param {OrgProfiles.RequestOptions} requestOptions - Request-specific configuration.
|
|
63
|
-
*
|
|
64
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
65
|
-
*
|
|
66
|
-
* @example
|
|
67
|
-
* await client.orgs.orgProfiles.getAvatarV1("handle")
|
|
68
|
-
*/
|
|
69
|
-
getAvatarV1(handle, requestOptions) {
|
|
70
|
-
return core.HttpResponsePromise.fromPromise(this.__getAvatarV1(handle, requestOptions));
|
|
71
|
-
}
|
|
72
|
-
__getAvatarV1(handle, requestOptions) {
|
|
73
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
74
|
-
var _a, _b, _c, _d;
|
|
75
|
-
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
76
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
77
|
-
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_profiles/avatar/v1/${encodeURIComponent(handle)}`),
|
|
78
|
-
method: "GET",
|
|
79
|
-
headers: _headers,
|
|
80
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
81
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
82
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
83
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
84
|
-
});
|
|
85
|
-
if (_response.ok) {
|
|
86
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
87
|
-
}
|
|
88
|
-
if (_response.error.reason === "status-code") {
|
|
89
|
-
switch (_response.error.statusCode) {
|
|
90
|
-
case 422:
|
|
91
|
-
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
92
|
-
default:
|
|
93
|
-
throw new errors.ChrtError({
|
|
94
|
-
statusCode: _response.error.statusCode,
|
|
95
|
-
body: _response.error.body,
|
|
96
|
-
rawResponse: _response.rawResponse,
|
|
97
|
-
});
|
|
98
|
-
}
|
|
99
|
-
}
|
|
100
|
-
switch (_response.error.reason) {
|
|
101
|
-
case "non-json":
|
|
102
|
-
throw new errors.ChrtError({
|
|
103
|
-
statusCode: _response.error.statusCode,
|
|
104
|
-
body: _response.error.rawBody,
|
|
105
|
-
rawResponse: _response.rawResponse,
|
|
106
|
-
});
|
|
107
|
-
case "timeout":
|
|
108
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/org_profiles/avatar/v1/{handle}.");
|
|
109
|
-
case "unknown":
|
|
110
|
-
throw new errors.ChrtError({
|
|
111
|
-
message: _response.error.errorMessage,
|
|
112
|
-
rawResponse: _response.rawResponse,
|
|
113
|
-
});
|
|
114
|
-
}
|
|
115
|
-
});
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* Creates a new provider organization profile. Fails if a profile already exists for the organization. | (ProviderOrgProfileClientCreate1) -> (PydanticObjectId)
|
|
119
|
-
*
|
|
120
|
-
* @param {Chrt.orgs.ProviderOrgProfileClientCreate1} request
|
|
121
|
-
* @param {OrgProfiles.RequestOptions} requestOptions - Request-specific configuration.
|
|
122
|
-
*
|
|
123
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
124
|
-
*
|
|
125
|
-
* @example
|
|
126
|
-
* await client.orgs.orgProfiles.createProviderV1({
|
|
127
|
-
* description: "description",
|
|
128
|
-
* email_address_primary: "email_address_primary",
|
|
129
|
-
* phone_number_primary: "phone_number_primary",
|
|
130
|
-
* schema_version: 1
|
|
131
|
-
* })
|
|
132
|
-
*/
|
|
133
|
-
createProviderV1(request, requestOptions) {
|
|
134
|
-
return core.HttpResponsePromise.fromPromise(this.__createProviderV1(request, requestOptions));
|
|
135
|
-
}
|
|
136
|
-
__createProviderV1(request, requestOptions) {
|
|
137
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
138
|
-
var _a, _b, _c, _d;
|
|
139
|
-
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
140
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
141
|
-
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_profiles/provider/create/v1"),
|
|
142
|
-
method: "POST",
|
|
143
|
-
headers: _headers,
|
|
144
|
-
contentType: "application/json",
|
|
145
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
146
|
-
requestType: "json",
|
|
147
|
-
body: request,
|
|
148
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
149
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
150
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
151
|
-
});
|
|
152
|
-
if (_response.ok) {
|
|
153
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
154
|
-
}
|
|
155
|
-
if (_response.error.reason === "status-code") {
|
|
156
|
-
switch (_response.error.statusCode) {
|
|
157
|
-
case 422:
|
|
158
|
-
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
159
|
-
default:
|
|
160
|
-
throw new errors.ChrtError({
|
|
161
|
-
statusCode: _response.error.statusCode,
|
|
162
|
-
body: _response.error.body,
|
|
163
|
-
rawResponse: _response.rawResponse,
|
|
164
|
-
});
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
switch (_response.error.reason) {
|
|
168
|
-
case "non-json":
|
|
169
|
-
throw new errors.ChrtError({
|
|
170
|
-
statusCode: _response.error.statusCode,
|
|
171
|
-
body: _response.error.rawBody,
|
|
172
|
-
rawResponse: _response.rawResponse,
|
|
173
|
-
});
|
|
174
|
-
case "timeout":
|
|
175
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /orgs/org_profiles/provider/create/v1.");
|
|
176
|
-
case "unknown":
|
|
177
|
-
throw new errors.ChrtError({
|
|
178
|
-
message: _response.error.errorMessage,
|
|
179
|
-
rawResponse: _response.rawResponse,
|
|
180
|
-
});
|
|
181
|
-
}
|
|
182
|
-
});
|
|
183
|
-
}
|
|
184
|
-
/**
|
|
185
|
-
* Updates an existing provider organization profile. | (ProviderOrgProfileClientUpdate1) -> (bool)
|
|
186
|
-
*
|
|
187
|
-
* @param {Chrt.orgs.ProviderOrgProfileClientUpdate1} request
|
|
188
|
-
* @param {OrgProfiles.RequestOptions} requestOptions - Request-specific configuration.
|
|
189
|
-
*
|
|
190
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
191
|
-
*
|
|
192
|
-
* @example
|
|
193
|
-
* await client.orgs.orgProfiles.updateProviderV1()
|
|
194
|
-
*/
|
|
195
|
-
updateProviderV1(request = {}, requestOptions) {
|
|
196
|
-
return core.HttpResponsePromise.fromPromise(this.__updateProviderV1(request, requestOptions));
|
|
197
|
-
}
|
|
198
|
-
__updateProviderV1() {
|
|
199
|
-
return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
|
|
200
|
-
var _a, _b, _c, _d;
|
|
201
|
-
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
202
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
203
|
-
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_profiles/provider/update/v1"),
|
|
204
|
-
method: "PATCH",
|
|
205
|
-
headers: _headers,
|
|
206
|
-
contentType: "application/json",
|
|
207
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
208
|
-
requestType: "json",
|
|
209
|
-
body: request,
|
|
210
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
211
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
212
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
213
|
-
});
|
|
214
|
-
if (_response.ok) {
|
|
215
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
216
|
-
}
|
|
217
|
-
if (_response.error.reason === "status-code") {
|
|
218
|
-
switch (_response.error.statusCode) {
|
|
219
|
-
case 422:
|
|
220
|
-
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
221
|
-
default:
|
|
222
|
-
throw new errors.ChrtError({
|
|
223
|
-
statusCode: _response.error.statusCode,
|
|
224
|
-
body: _response.error.body,
|
|
225
|
-
rawResponse: _response.rawResponse,
|
|
226
|
-
});
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
switch (_response.error.reason) {
|
|
230
|
-
case "non-json":
|
|
231
|
-
throw new errors.ChrtError({
|
|
232
|
-
statusCode: _response.error.statusCode,
|
|
233
|
-
body: _response.error.rawBody,
|
|
234
|
-
rawResponse: _response.rawResponse,
|
|
235
|
-
});
|
|
236
|
-
case "timeout":
|
|
237
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /orgs/org_profiles/provider/update/v1.");
|
|
238
|
-
case "unknown":
|
|
239
|
-
throw new errors.ChrtError({
|
|
240
|
-
message: _response.error.errorMessage,
|
|
241
|
-
rawResponse: _response.rawResponse,
|
|
242
|
-
});
|
|
243
|
-
}
|
|
244
|
-
});
|
|
245
|
-
}
|
|
246
|
-
/**
|
|
247
|
-
* Retrieves the provider organization profile for the caller's organization. | () -> (ProviderOrgProfile1)
|
|
248
|
-
*
|
|
249
|
-
* @param {OrgProfiles.RequestOptions} requestOptions - Request-specific configuration.
|
|
250
|
-
*
|
|
251
|
-
* @example
|
|
252
|
-
* await client.orgs.orgProfiles.getV1()
|
|
253
|
-
*/
|
|
254
|
-
getV1(requestOptions) {
|
|
255
|
-
return core.HttpResponsePromise.fromPromise(this.__getV1(requestOptions));
|
|
256
|
-
}
|
|
257
|
-
__getV1(requestOptions) {
|
|
258
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
259
|
-
var _a, _b, _c, _d;
|
|
260
|
-
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
261
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
262
|
-
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_profiles/v1"),
|
|
263
|
-
method: "GET",
|
|
264
|
-
headers: _headers,
|
|
265
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
266
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
267
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
268
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
269
|
-
});
|
|
270
|
-
if (_response.ok) {
|
|
271
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
272
|
-
}
|
|
273
|
-
if (_response.error.reason === "status-code") {
|
|
274
|
-
throw new errors.ChrtError({
|
|
275
|
-
statusCode: _response.error.statusCode,
|
|
276
|
-
body: _response.error.body,
|
|
277
|
-
rawResponse: _response.rawResponse,
|
|
278
|
-
});
|
|
279
|
-
}
|
|
280
|
-
switch (_response.error.reason) {
|
|
281
|
-
case "non-json":
|
|
282
|
-
throw new errors.ChrtError({
|
|
283
|
-
statusCode: _response.error.statusCode,
|
|
284
|
-
body: _response.error.rawBody,
|
|
285
|
-
rawResponse: _response.rawResponse,
|
|
286
|
-
});
|
|
287
|
-
case "timeout":
|
|
288
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/org_profiles/v1.");
|
|
289
|
-
case "unknown":
|
|
290
|
-
throw new errors.ChrtError({
|
|
291
|
-
message: _response.error.errorMessage,
|
|
292
|
-
rawResponse: _response.rawResponse,
|
|
293
|
-
});
|
|
294
|
-
}
|
|
295
|
-
});
|
|
296
|
-
}
|
|
297
|
-
/**
|
|
298
|
-
* Retrieves a provider organization profile by handle for public profile viewing. | () -> (ProviderOrgProfile1)
|
|
299
|
-
*
|
|
300
|
-
* @param {string} handle
|
|
301
|
-
* @param {OrgProfiles.RequestOptions} requestOptions - Request-specific configuration.
|
|
302
|
-
*
|
|
303
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
304
|
-
*
|
|
305
|
-
* @example
|
|
306
|
-
* await client.orgs.orgProfiles.getByHandleV1("handle")
|
|
307
|
-
*/
|
|
308
|
-
getByHandleV1(handle, requestOptions) {
|
|
309
|
-
return core.HttpResponsePromise.fromPromise(this.__getByHandleV1(handle, requestOptions));
|
|
310
|
-
}
|
|
311
|
-
__getByHandleV1(handle, requestOptions) {
|
|
312
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
313
|
-
var _a, _b, _c, _d;
|
|
314
|
-
let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
315
|
-
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
316
|
-
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_profiles/v1/${encodeURIComponent(handle)}`),
|
|
317
|
-
method: "GET",
|
|
318
|
-
headers: _headers,
|
|
319
|
-
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
320
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
321
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
322
|
-
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
323
|
-
});
|
|
324
|
-
if (_response.ok) {
|
|
325
|
-
return { data: _response.body, rawResponse: _response.rawResponse };
|
|
326
|
-
}
|
|
327
|
-
if (_response.error.reason === "status-code") {
|
|
328
|
-
switch (_response.error.statusCode) {
|
|
329
|
-
case 422:
|
|
330
|
-
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
331
|
-
default:
|
|
332
|
-
throw new errors.ChrtError({
|
|
333
|
-
statusCode: _response.error.statusCode,
|
|
334
|
-
body: _response.error.body,
|
|
335
|
-
rawResponse: _response.rawResponse,
|
|
336
|
-
});
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
switch (_response.error.reason) {
|
|
340
|
-
case "non-json":
|
|
341
|
-
throw new errors.ChrtError({
|
|
342
|
-
statusCode: _response.error.statusCode,
|
|
343
|
-
body: _response.error.rawBody,
|
|
344
|
-
rawResponse: _response.rawResponse,
|
|
345
|
-
});
|
|
346
|
-
case "timeout":
|
|
347
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /orgs/org_profiles/v1/{handle}.");
|
|
348
|
-
case "unknown":
|
|
349
|
-
throw new errors.ChrtError({
|
|
350
|
-
message: _response.error.errorMessage,
|
|
351
|
-
rawResponse: _response.rawResponse,
|
|
352
|
-
});
|
|
353
|
-
}
|
|
354
|
-
});
|
|
355
|
-
}
|
|
356
|
-
_getAuthorizationHeader() {
|
|
357
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
358
|
-
const bearer = yield core.Supplier.get(this._options.token);
|
|
359
|
-
if (bearer != null) {
|
|
360
|
-
return `Bearer ${bearer}`;
|
|
361
|
-
}
|
|
362
|
-
return undefined;
|
|
363
|
-
});
|
|
364
|
-
}
|
|
365
|
-
}
|
|
366
|
-
exports.OrgProfiles = OrgProfiles;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./requests/index.js"), exports);
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {
|
|
7
|
-
* description: "description",
|
|
8
|
-
* email_address_primary: "email_address_primary",
|
|
9
|
-
* phone_number_primary: "phone_number_primary",
|
|
10
|
-
* schema_version: 1
|
|
11
|
-
* }
|
|
12
|
-
*/
|
|
13
|
-
export interface ProviderOrgProfileClientCreate1 {
|
|
14
|
-
description: string;
|
|
15
|
-
email_address_primary: string;
|
|
16
|
-
/** E.164 formatted phone number (e.g. +16505551234). Assumes US country code if none provided. */
|
|
17
|
-
phone_number_primary: string;
|
|
18
|
-
schema_version: number;
|
|
19
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* @example
|
|
6
|
-
* {}
|
|
7
|
-
*/
|
|
8
|
-
export interface ProviderOrgProfileClientUpdate1 {
|
|
9
|
-
description?: string | null;
|
|
10
|
-
email_address_primary?: string | null;
|
|
11
|
-
phone_number_primary?: string | null;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./client/index.js";
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./client/index.js"), exports);
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as environments from "../../../../../../environments.js";
|
|
5
|
-
import * as core from "../../../../../../core/index.js";
|
|
6
|
-
import * as Chrt from "../../../../../index.js";
|
|
7
|
-
export declare namespace Providers {
|
|
8
|
-
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.ChrtEnvironment | string>;
|
|
10
|
-
/** Specify a custom URL to connect the client to. */
|
|
11
|
-
baseUrl?: core.Supplier<string>;
|
|
12
|
-
token?: core.Supplier<core.BearerToken | undefined>;
|
|
13
|
-
/** Additional headers to include in requests. */
|
|
14
|
-
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
15
|
-
fetcher?: core.FetchFunction;
|
|
16
|
-
}
|
|
17
|
-
interface RequestOptions {
|
|
18
|
-
/** The maximum time to wait for a response in seconds. */
|
|
19
|
-
timeoutInSeconds?: number;
|
|
20
|
-
/** The number of times to retry the request. Defaults to 2. */
|
|
21
|
-
maxRetries?: number;
|
|
22
|
-
/** A hook to abort the request. */
|
|
23
|
-
abortSignal?: AbortSignal;
|
|
24
|
-
/** Additional query string parameters to include in the request. */
|
|
25
|
-
queryParams?: Record<string, unknown>;
|
|
26
|
-
/** Additional headers to include in the request. */
|
|
27
|
-
headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
export declare class Providers {
|
|
31
|
-
protected readonly _options: Providers.Options;
|
|
32
|
-
constructor(_options?: Providers.Options);
|
|
33
|
-
/**
|
|
34
|
-
* Lists on-CHRT executor connections and off-CHRT executor records. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (ProviderOnAndOffChrtExecutorListRes)
|
|
35
|
-
*
|
|
36
|
-
* @param {Chrt.orgs.ProvidersListOnAndOffChrtExecutorsV1Request} request
|
|
37
|
-
* @param {Providers.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
|
-
*
|
|
39
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
40
|
-
*
|
|
41
|
-
* @example
|
|
42
|
-
* await client.orgs.providers.listOnAndOffChrtExecutorsV1({
|
|
43
|
-
* search: "search",
|
|
44
|
-
* filter_auto_assign_enabled: true,
|
|
45
|
-
* page: 1,
|
|
46
|
-
* page_size: 1,
|
|
47
|
-
* latitude: 1.1,
|
|
48
|
-
* longitude: 1.1
|
|
49
|
-
* })
|
|
50
|
-
*/
|
|
51
|
-
listOnAndOffChrtExecutorsV1(request?: Chrt.orgs.ProvidersListOnAndOffChrtExecutorsV1Request, requestOptions?: Providers.RequestOptions): core.HttpResponsePromise<Chrt.ProviderOnAndOffChrtExecutorListRes>;
|
|
52
|
-
private __listOnAndOffChrtExecutorsV1;
|
|
53
|
-
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
54
|
-
}
|