@chrt-inc/typescript-sdk 1.881.0 → 1.885.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Client.js +2 -2
- package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.ts +0 -1
- package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.ts +0 -1
- package/dist/cjs/api/resources/notifications/resources/adHoc/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/notifications/resources/adHoc/client/Client.js +2 -2
- package/dist/cjs/api/resources/orgs/client/Client.d.ts +6 -6
- package/dist/cjs/api/resources/orgs/client/Client.js +14 -14
- package/dist/cjs/api/resources/orgs/resources/accounts/client/Client.d.ts +97 -0
- package/dist/cjs/api/resources/orgs/resources/{offChrtVendor → accounts}/client/Client.js +57 -100
- package/dist/{esm/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientCreate1.d.mts → cjs/api/resources/orgs/resources/accounts/client/requests/AccountClientCreate1.d.ts} +4 -2
- package/dist/cjs/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorClientUpdate1.d.ts → accounts/client/requests/AccountClientUpdate1.d.ts} +1 -3
- package/dist/cjs/api/resources/orgs/resources/accounts/client/requests/AccountsListV1Request.d.ts +27 -0
- package/dist/cjs/api/resources/orgs/resources/accounts/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/orgs/resources/contacts/client/Client.d.ts +112 -0
- package/dist/cjs/api/resources/orgs/resources/{directoryEntries → contacts}/client/Client.js +55 -51
- package/dist/cjs/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientCreate1.d.ts → contacts/client/requests/ContactClientCreate1.d.ts} +5 -4
- package/dist/cjs/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.ts → contacts/client/requests/ContactClientUpdate1.d.ts} +1 -1
- package/dist/cjs/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntriesListV1Request.d.ts → contacts/client/requests/ContactsListV1Request.d.ts} +9 -6
- package/dist/cjs/api/resources/orgs/resources/contacts/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/orgs/resources/index.d.ts +4 -4
- package/dist/cjs/api/resources/orgs/resources/index.js +5 -5
- package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/Client.js +1 -1
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.js +4 -4
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.ts +2 -1
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.ts +2 -1
- package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.ts +3 -3
- package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +28 -0
- package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +120 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.ts +1 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +4 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +20 -4
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +3 -0
- package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.js +1 -1
- package/dist/{esm/api/types/OffChrtVendor1.d.mts → cjs/api/types/Account1.d.ts} +4 -2
- package/dist/cjs/api/types/{OffChrtVendorListRes.d.ts → AccountListRes.d.ts} +2 -2
- package/dist/cjs/api/types/AccountSortByEnum.d.ts +4 -0
- package/dist/cjs/api/types/{DirectoryEntry1.d.ts → Contact1.d.ts} +6 -7
- package/dist/cjs/api/types/{DirectoryEntryListRes.d.ts → ContactListRes.d.ts} +2 -2
- package/dist/cjs/api/types/ContactSortByEnum.d.ts +4 -0
- package/dist/cjs/api/types/ContactSortByEnum.js +5 -0
- package/dist/cjs/api/types/CreateOffChrtOrgRes.d.ts +1 -1
- package/dist/cjs/api/types/LineItemGroup1.d.ts +0 -1
- package/dist/cjs/api/types/NotificationIntentAdHoc1.d.ts +1 -1
- package/dist/cjs/api/types/NotificationIntentAdHocClientCreate1.d.ts +1 -1
- package/dist/cjs/api/types/Order1.d.ts +1 -0
- package/dist/cjs/api/types/OrderAndTaskGroupExpandedReq.d.ts +1 -1
- package/dist/cjs/api/types/OrderDraftValidationRequirements.d.ts +1 -0
- package/dist/cjs/api/types/OrderLimitedForCoordinator1.d.ts +1 -0
- package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +1 -0
- package/dist/cjs/api/types/OrderTemplate1.d.ts +2 -1
- package/dist/cjs/api/types/OrderTemplateCore1.d.ts +2 -1
- package/dist/cjs/api/types/OrderTemplateExpanded1.d.ts +1 -1
- package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.d.ts +3 -2
- package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.js +2 -1
- package/dist/cjs/api/types/OrderTemplateReferencesExpanded1.d.ts +1 -1
- package/dist/cjs/api/types/OrderTemplateResolvabilityRes.d.ts +2 -1
- package/dist/cjs/api/types/OrgTypeEnum.d.ts +2 -1
- package/dist/cjs/api/types/OrgTypeEnum.js +1 -0
- package/dist/cjs/api/types/Statement1.d.ts +0 -1
- package/dist/cjs/api/types/Task1.d.ts +1 -1
- package/dist/cjs/api/types/TaskClientCreate1.d.ts +1 -1
- package/dist/cjs/api/types/TaskClientUpdate1.d.ts +1 -1
- package/dist/cjs/api/types/TaskExpanded.d.ts +1 -1
- package/dist/cjs/api/types/index.d.ts +6 -5
- package/dist/cjs/api/types/index.js +6 -5
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupAdHocCreateClientReq.d.mts +0 -1
- package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementCreateClientReq.d.mts +0 -1
- package/dist/esm/api/resources/notifications/resources/adHoc/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/notifications/resources/adHoc/client/Client.mjs +2 -2
- package/dist/esm/api/resources/orgs/client/Client.d.mts +6 -6
- package/dist/esm/api/resources/orgs/client/Client.mjs +8 -8
- package/dist/esm/api/resources/orgs/resources/accounts/client/Client.d.mts +97 -0
- package/dist/esm/api/resources/orgs/resources/{offChrtVendor → accounts}/client/Client.mjs +55 -98
- package/dist/{cjs/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorClientCreate1.d.ts → esm/api/resources/orgs/resources/accounts/client/requests/AccountClientCreate1.d.mts} +4 -2
- package/dist/esm/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorClientUpdate1.d.mts → accounts/client/requests/AccountClientUpdate1.d.mts} +1 -3
- package/dist/esm/api/resources/orgs/resources/accounts/client/requests/AccountsListV1Request.d.mts +27 -0
- package/dist/esm/api/resources/orgs/resources/accounts/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/orgs/resources/contacts/client/Client.d.mts +112 -0
- package/dist/esm/api/resources/orgs/resources/{directoryEntries → contacts}/client/Client.mjs +53 -49
- package/dist/esm/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientCreate1.d.mts → contacts/client/requests/ContactClientCreate1.d.mts} +5 -4
- package/dist/esm/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientUpdate1.d.mts → contacts/client/requests/ContactClientUpdate1.d.mts} +1 -1
- package/dist/esm/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntriesListV1Request.d.mts → contacts/client/requests/ContactsListV1Request.d.mts} +9 -6
- package/dist/esm/api/resources/orgs/resources/contacts/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/orgs/resources/index.d.mts +4 -4
- package/dist/esm/api/resources/orgs/resources/index.mjs +4 -4
- package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/Client.mjs +1 -1
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.mjs +4 -4
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.mts +2 -1
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.mts +2 -1
- package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.mts +3 -3
- package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +28 -0
- package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +120 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.mts +1 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +4 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +20 -4
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +3 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +3 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +3 -0
- package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +3 -0
- package/dist/esm/api/resources/shipping/resources/tasks/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/tasks/client/Client.mjs +1 -1
- package/dist/{cjs/api/types/OffChrtVendor1.d.ts → esm/api/types/Account1.d.mts} +4 -2
- package/dist/esm/api/types/{OffChrtVendorListRes.d.mts → AccountListRes.d.mts} +2 -2
- package/dist/esm/api/types/AccountSortByEnum.d.mts +4 -0
- package/dist/esm/api/types/{DirectoryEntry1.d.mts → Contact1.d.mts} +6 -7
- package/dist/esm/api/types/{DirectoryEntryListRes.d.mts → ContactListRes.d.mts} +2 -2
- package/dist/esm/api/types/ContactSortByEnum.d.mts +4 -0
- package/dist/esm/api/types/ContactSortByEnum.mjs +4 -0
- package/dist/esm/api/types/CreateOffChrtOrgRes.d.mts +1 -1
- package/dist/esm/api/types/LineItemGroup1.d.mts +0 -1
- package/dist/esm/api/types/NotificationIntentAdHoc1.d.mts +1 -1
- package/dist/esm/api/types/NotificationIntentAdHocClientCreate1.d.mts +1 -1
- package/dist/esm/api/types/Order1.d.mts +1 -0
- package/dist/esm/api/types/OrderAndTaskGroupExpandedReq.d.mts +1 -1
- package/dist/esm/api/types/OrderDraftValidationRequirements.d.mts +1 -0
- package/dist/esm/api/types/OrderLimitedForCoordinator1.d.mts +1 -0
- package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +1 -0
- package/dist/esm/api/types/OrderTemplate1.d.mts +2 -1
- package/dist/esm/api/types/OrderTemplateCore1.d.mts +2 -1
- package/dist/esm/api/types/OrderTemplateExpanded1.d.mts +1 -1
- package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.d.mts +3 -2
- package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.mjs +2 -1
- package/dist/esm/api/types/OrderTemplateReferencesExpanded1.d.mts +1 -1
- package/dist/esm/api/types/OrderTemplateResolvabilityRes.d.mts +2 -1
- package/dist/esm/api/types/OrgTypeEnum.d.mts +2 -1
- package/dist/esm/api/types/OrgTypeEnum.mjs +1 -0
- package/dist/esm/api/types/Statement1.d.mts +0 -1
- package/dist/esm/api/types/Task1.d.mts +1 -1
- package/dist/esm/api/types/TaskClientCreate1.d.mts +1 -1
- package/dist/esm/api/types/TaskClientUpdate1.d.mts +1 -1
- package/dist/esm/api/types/TaskExpanded.d.mts +1 -1
- package/dist/esm/api/types/index.d.mts +6 -5
- package/dist/esm/api/types/index.mjs +6 -5
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +358 -270
- package/dist/cjs/api/resources/orgs/resources/directoryEntries/client/Client.d.ts +0 -111
- package/dist/cjs/api/resources/orgs/resources/directoryEntries/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/Client.d.ts +0 -106
- package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorListV1Request.d.ts +0 -14
- package/dist/cjs/api/resources/orgs/resources/offChrtVendor/client/requests/index.d.ts +0 -3
- package/dist/cjs/api/types/DirectoryEntrySortByEnum.d.ts +0 -4
- package/dist/esm/api/resources/orgs/resources/directoryEntries/client/Client.d.mts +0 -111
- package/dist/esm/api/resources/orgs/resources/directoryEntries/client/requests/index.d.mts +0 -3
- package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/Client.d.mts +0 -106
- package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/requests/OffChrtVendorListV1Request.d.mts +0 -14
- package/dist/esm/api/resources/orgs/resources/offChrtVendor/client/requests/index.d.mts +0 -3
- package/dist/esm/api/types/DirectoryEntrySortByEnum.d.mts +0 -4
- /package/dist/cjs/api/resources/orgs/resources/{directoryEntries → accounts}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{directoryEntries → accounts}/client/index.js +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntriesListV1Request.js → accounts/client/requests/AccountClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientCreate1.js → accounts/client/requests/AccountClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientUpdate1.js → accounts/client/requests/AccountsListV1Request.js} +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{directoryEntries → accounts}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{directoryEntries → accounts}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{directoryEntries → accounts}/index.js +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor → contacts}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor → contacts}/client/index.js +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorClientCreate1.js → contacts/client/requests/ContactClientCreate1.js} +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorClientUpdate1.js → contacts/client/requests/ContactClientUpdate1.js} +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorListV1Request.js → contacts/client/requests/ContactsListV1Request.js} +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor → contacts}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor → contacts}/index.d.ts +0 -0
- /package/dist/cjs/api/resources/orgs/resources/{offChrtVendor → contacts}/index.js +0 -0
- /package/dist/cjs/api/types/{DirectoryEntry1.js → Account1.js} +0 -0
- /package/dist/cjs/api/types/{DirectoryEntryListRes.js → AccountListRes.js} +0 -0
- /package/dist/cjs/api/types/{DirectoryEntrySortByEnum.js → AccountSortByEnum.js} +0 -0
- /package/dist/cjs/api/types/{OffChrtVendor1.js → Contact1.js} +0 -0
- /package/dist/cjs/api/types/{OffChrtVendorListRes.js → ContactListRes.js} +0 -0
- /package/dist/esm/api/resources/orgs/resources/{directoryEntries → accounts}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/orgs/resources/{directoryEntries → accounts}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntriesListV1Request.mjs → accounts/client/requests/AccountClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientCreate1.mjs → accounts/client/requests/AccountClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/orgs/resources/{directoryEntries/client/requests/DirectoryEntryClientUpdate1.mjs → accounts/client/requests/AccountsListV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/orgs/resources/{directoryEntries → accounts}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/orgs/resources/{directoryEntries → accounts}/index.d.mts +0 -0
- /package/dist/esm/api/resources/orgs/resources/{directoryEntries → accounts}/index.mjs +0 -0
- /package/dist/esm/api/resources/orgs/resources/{offChrtVendor → contacts}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/orgs/resources/{offChrtVendor → contacts}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorClientCreate1.mjs → contacts/client/requests/ContactClientCreate1.mjs} +0 -0
- /package/dist/esm/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorClientUpdate1.mjs → contacts/client/requests/ContactClientUpdate1.mjs} +0 -0
- /package/dist/esm/api/resources/orgs/resources/{offChrtVendor/client/requests/OffChrtVendorListV1Request.mjs → contacts/client/requests/ContactsListV1Request.mjs} +0 -0
- /package/dist/esm/api/resources/orgs/resources/{offChrtVendor → contacts}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/orgs/resources/{offChrtVendor → contacts}/index.d.mts +0 -0
- /package/dist/esm/api/resources/orgs/resources/{offChrtVendor → contacts}/index.mjs +0 -0
- /package/dist/esm/api/types/{DirectoryEntry1.mjs → Account1.mjs} +0 -0
- /package/dist/esm/api/types/{DirectoryEntryListRes.mjs → AccountListRes.mjs} +0 -0
- /package/dist/esm/api/types/{DirectoryEntrySortByEnum.mjs → AccountSortByEnum.mjs} +0 -0
- /package/dist/esm/api/types/{OffChrtVendor1.mjs → Contact1.mjs} +0 -0
- /package/dist/esm/api/types/{OffChrtVendorListRes.mjs → ContactListRes.mjs} +0 -0
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.js";
|
|
5
5
|
export interface OrderTemplateExpanded1 {
|
|
6
|
-
|
|
6
|
+
contacts?: Chrt.Contact1[];
|
|
7
7
|
drivers?: Chrt.Driver1[];
|
|
8
8
|
executor_orgs?: Chrt.OrderTemplateOrgInfo1[];
|
|
9
9
|
off_chrt_executor_orgs?: Chrt.OffChrtOrgData1[];
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type OrderTemplateReferenceColumnEnum1 = "shipper_org_id" | "off_chrt_shipper_org_data_id" | "executor_org_ids" | "off_chrt_executor_org_data_ids" | "driver_ids" | "
|
|
4
|
+
export type OrderTemplateReferenceColumnEnum1 = "shipper_org_id" | "off_chrt_shipper_org_data_id" | "coordinator_shipper_account_ids" | "executor_org_ids" | "off_chrt_executor_org_data_ids" | "driver_ids" | "contact_ids";
|
|
5
5
|
export declare const OrderTemplateReferenceColumnEnum1: {
|
|
6
6
|
readonly ShipperOrgId: "shipper_org_id";
|
|
7
7
|
readonly OffChrtShipperOrgDataId: "off_chrt_shipper_org_data_id";
|
|
8
|
+
readonly CoordinatorShipperAccountIds: "coordinator_shipper_account_ids";
|
|
8
9
|
readonly ExecutorOrgIds: "executor_org_ids";
|
|
9
10
|
readonly OffChrtExecutorOrgDataIds: "off_chrt_executor_org_data_ids";
|
|
10
11
|
readonly DriverIds: "driver_ids";
|
|
11
|
-
readonly
|
|
12
|
+
readonly ContactIds: "contact_ids";
|
|
12
13
|
};
|
|
@@ -7,8 +7,9 @@ exports.OrderTemplateReferenceColumnEnum1 = void 0;
|
|
|
7
7
|
exports.OrderTemplateReferenceColumnEnum1 = {
|
|
8
8
|
ShipperOrgId: "shipper_org_id",
|
|
9
9
|
OffChrtShipperOrgDataId: "off_chrt_shipper_org_data_id",
|
|
10
|
+
CoordinatorShipperAccountIds: "coordinator_shipper_account_ids",
|
|
10
11
|
ExecutorOrgIds: "executor_org_ids",
|
|
11
12
|
OffChrtExecutorOrgDataIds: "off_chrt_executor_org_data_ids",
|
|
12
13
|
DriverIds: "driver_ids",
|
|
13
|
-
|
|
14
|
+
ContactIds: "contact_ids",
|
|
14
15
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as Chrt from "../index.js";
|
|
5
5
|
export interface OrderTemplateReferencesExpanded1 {
|
|
6
|
-
|
|
6
|
+
contacts?: Chrt.Contact1[];
|
|
7
7
|
drivers?: Chrt.Driver1[];
|
|
8
8
|
executor_orgs?: Chrt.OrderTemplateOrgInfo1[];
|
|
9
9
|
off_chrt_executor_orgs?: Chrt.OffChrtOrgData1[];
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
export interface OrderTemplateResolvabilityRes {
|
|
5
|
+
unresolvable_contact_ids?: string[];
|
|
5
6
|
unresolvable_coordinator?: boolean;
|
|
6
|
-
|
|
7
|
+
unresolvable_coordinator_shipper_account_ids?: string[];
|
|
7
8
|
unresolvable_driver_ids?: string[];
|
|
8
9
|
unresolvable_off_chrt_executor_org_data_ids?: string[];
|
|
9
10
|
unresolvable_off_chrt_shipper?: boolean;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type OrgTypeEnum = "provider" | "shipper";
|
|
4
|
+
export type OrgTypeEnum = "provider" | "shipper" | "vendor";
|
|
5
5
|
export declare const OrgTypeEnum: {
|
|
6
6
|
readonly Provider: "provider";
|
|
7
7
|
readonly Shipper: "shipper";
|
|
8
|
+
readonly Vendor: "vendor";
|
|
8
9
|
};
|
|
@@ -24,7 +24,6 @@ export interface Statement1 {
|
|
|
24
24
|
paid_at_timestamp?: string | null;
|
|
25
25
|
payment_destination_driver_id?: string | null;
|
|
26
26
|
payment_destination_off_chrt_provider_org_data_id?: string | null;
|
|
27
|
-
payment_destination_off_chrt_vendor_id?: string | null;
|
|
28
27
|
/** Must be a string starting with `org_` */
|
|
29
28
|
payment_destination_org_id?: string | null;
|
|
30
29
|
payment_origin_off_chrt_shipper_org_data_id?: string | null;
|
|
@@ -13,12 +13,12 @@ export interface Task1 {
|
|
|
13
13
|
completed_by_org_id?: string | null;
|
|
14
14
|
/** Must be a string starting with `user_` */
|
|
15
15
|
completed_by_user_id?: string | null;
|
|
16
|
+
contact_ids?: string[];
|
|
16
17
|
/** Must be a string starting with `org_` */
|
|
17
18
|
created_by_org_id: string;
|
|
18
19
|
/** Must be a string starting with `user_` */
|
|
19
20
|
created_by_user_id?: string | null;
|
|
20
21
|
datetime_windows?: Chrt.DateTimeWindow1[];
|
|
21
|
-
directory_entry_ids?: string[];
|
|
22
22
|
draft_started_at_timestamp: string;
|
|
23
23
|
exception_at_timestamp?: string | null;
|
|
24
24
|
executor_org_notes?: Chrt.TaskExecutorOrgNote1[];
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
import * as Chrt from "../index.js";
|
|
5
5
|
export interface TaskClientCreate1 {
|
|
6
6
|
action?: TaskClientCreate1.Action | null;
|
|
7
|
+
contact_ids?: string[];
|
|
7
8
|
datetime_windows?: Chrt.DateTimeWindow1[];
|
|
8
|
-
directory_entry_ids?: string[];
|
|
9
9
|
geofence_distance_miles?: number;
|
|
10
10
|
location?: Chrt.LocationFeature | null;
|
|
11
11
|
order_placer_comments?: string | null;
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
import * as Chrt from "../index.js";
|
|
5
5
|
export interface TaskClientUpdate1 {
|
|
6
6
|
action?: TaskClientUpdate1.Action | null;
|
|
7
|
+
contact_ids?: string[];
|
|
7
8
|
datetime_windows?: Chrt.DateTimeWindow1[];
|
|
8
|
-
directory_entry_ids?: string[];
|
|
9
9
|
location?: Chrt.LocationFeature | null;
|
|
10
10
|
order_placer_comments?: string | null;
|
|
11
11
|
order_placer_comments__set_to_None?: boolean;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as Chrt from "../index.js";
|
|
5
5
|
export interface TaskExpanded {
|
|
6
6
|
cargos?: Chrt.Cargo1[] | null;
|
|
7
|
-
|
|
7
|
+
contacts?: Chrt.Contact1[] | null;
|
|
8
8
|
task: Chrt.Task1;
|
|
9
9
|
task_artifacts?: Chrt.TaskArtifact1[] | null;
|
|
10
10
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
export * from "./AiImageDescription.js";
|
|
2
|
+
export * from "./Account1.js";
|
|
3
|
+
export * from "./AccountListRes.js";
|
|
4
|
+
export * from "./AccountSortByEnum.js";
|
|
2
5
|
export * from "./AlertCallback.js";
|
|
3
6
|
export * from "./AlertEvent.js";
|
|
4
7
|
export * from "./AlertMessage.js";
|
|
@@ -121,6 +124,9 @@ export * from "./ConnectionSearchPreferenceEnum.js";
|
|
|
121
124
|
export * from "./ConnectionTypeaheadFieldEnum.js";
|
|
122
125
|
export * from "./ConnectionTypeaheadResult.js";
|
|
123
126
|
export * from "./ConnectionTypeaheadValue.js";
|
|
127
|
+
export * from "./Contact1.js";
|
|
128
|
+
export * from "./ContactListRes.js";
|
|
129
|
+
export * from "./ContactSortByEnum.js";
|
|
124
130
|
export * from "./CoordinatorExecutorConnection1.js";
|
|
125
131
|
export * from "./CoordinatorExecutorConnectionForCoordinatorGeoSearchListItem.js";
|
|
126
132
|
export * from "./CoordinatorExecutorConnectionForCoordinatorListItem.js";
|
|
@@ -146,9 +152,6 @@ export * from "./DeviceLimitedForList1.js";
|
|
|
146
152
|
export * from "./DeviceListRes.js";
|
|
147
153
|
export * from "./DevicePausedTimeWindow1.js";
|
|
148
154
|
export * from "./DeviceSortByEnum.js";
|
|
149
|
-
export * from "./DirectoryEntry1.js";
|
|
150
|
-
export * from "./DirectoryEntryListRes.js";
|
|
151
|
-
export * from "./DirectoryEntrySortByEnum.js";
|
|
152
155
|
export * from "./Driver1.js";
|
|
153
156
|
export * from "./DriverAnalyticsDay.js";
|
|
154
157
|
export * from "./DriverAnalyticsTaskGroup.js";
|
|
@@ -236,8 +239,6 @@ export * from "./OffChrtOrgData1.js";
|
|
|
236
239
|
export * from "./OffChrtOrgDataClientCreate1.js";
|
|
237
240
|
export * from "./OffChrtOrgDataListRes.js";
|
|
238
241
|
export * from "./OffChrtOrgDataSortByEnum.js";
|
|
239
|
-
export * from "./OffChrtVendor1.js";
|
|
240
|
-
export * from "./OffChrtVendorListRes.js";
|
|
241
242
|
export * from "./OnboardCourierRateSheet1.js";
|
|
242
243
|
export * from "./OnboardCourierRateSheetListRes.js";
|
|
243
244
|
export * from "./OnboardCourierTaskActionEnum1.js";
|
|
@@ -15,6 +15,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./AiImageDescription.js"), exports);
|
|
18
|
+
__exportStar(require("./Account1.js"), exports);
|
|
19
|
+
__exportStar(require("./AccountListRes.js"), exports);
|
|
20
|
+
__exportStar(require("./AccountSortByEnum.js"), exports);
|
|
18
21
|
__exportStar(require("./AlertCallback.js"), exports);
|
|
19
22
|
__exportStar(require("./AlertEvent.js"), exports);
|
|
20
23
|
__exportStar(require("./AlertMessage.js"), exports);
|
|
@@ -137,6 +140,9 @@ __exportStar(require("./ConnectionSearchPreferenceEnum.js"), exports);
|
|
|
137
140
|
__exportStar(require("./ConnectionTypeaheadFieldEnum.js"), exports);
|
|
138
141
|
__exportStar(require("./ConnectionTypeaheadResult.js"), exports);
|
|
139
142
|
__exportStar(require("./ConnectionTypeaheadValue.js"), exports);
|
|
143
|
+
__exportStar(require("./Contact1.js"), exports);
|
|
144
|
+
__exportStar(require("./ContactListRes.js"), exports);
|
|
145
|
+
__exportStar(require("./ContactSortByEnum.js"), exports);
|
|
140
146
|
__exportStar(require("./CoordinatorExecutorConnection1.js"), exports);
|
|
141
147
|
__exportStar(require("./CoordinatorExecutorConnectionForCoordinatorGeoSearchListItem.js"), exports);
|
|
142
148
|
__exportStar(require("./CoordinatorExecutorConnectionForCoordinatorListItem.js"), exports);
|
|
@@ -162,9 +168,6 @@ __exportStar(require("./DeviceLimitedForList1.js"), exports);
|
|
|
162
168
|
__exportStar(require("./DeviceListRes.js"), exports);
|
|
163
169
|
__exportStar(require("./DevicePausedTimeWindow1.js"), exports);
|
|
164
170
|
__exportStar(require("./DeviceSortByEnum.js"), exports);
|
|
165
|
-
__exportStar(require("./DirectoryEntry1.js"), exports);
|
|
166
|
-
__exportStar(require("./DirectoryEntryListRes.js"), exports);
|
|
167
|
-
__exportStar(require("./DirectoryEntrySortByEnum.js"), exports);
|
|
168
171
|
__exportStar(require("./Driver1.js"), exports);
|
|
169
172
|
__exportStar(require("./DriverAnalyticsDay.js"), exports);
|
|
170
173
|
__exportStar(require("./DriverAnalyticsTaskGroup.js"), exports);
|
|
@@ -252,8 +255,6 @@ __exportStar(require("./OffChrtOrgData1.js"), exports);
|
|
|
252
255
|
__exportStar(require("./OffChrtOrgDataClientCreate1.js"), exports);
|
|
253
256
|
__exportStar(require("./OffChrtOrgDataListRes.js"), exports);
|
|
254
257
|
__exportStar(require("./OffChrtOrgDataSortByEnum.js"), exports);
|
|
255
|
-
__exportStar(require("./OffChrtVendor1.js"), exports);
|
|
256
|
-
__exportStar(require("./OffChrtVendorListRes.js"), exports);
|
|
257
258
|
__exportStar(require("./OnboardCourierRateSheet1.js"), exports);
|
|
258
259
|
__exportStar(require("./OnboardCourierRateSheetListRes.js"), exports);
|
|
259
260
|
__exportStar(require("./OnboardCourierTaskActionEnum1.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.
|
|
1
|
+
export declare const SDK_VERSION = "1.885.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -21,8 +21,8 @@ export class ChrtClient {
|
|
|
21
21
|
this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
|
|
22
22
|
"X-Fern-Language": "JavaScript",
|
|
23
23
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
24
|
-
"X-Fern-SDK-Version": "1.
|
|
25
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
24
|
+
"X-Fern-SDK-Version": "1.885.0",
|
|
25
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.885.0",
|
|
26
26
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
27
27
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
28
28
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -15,7 +15,6 @@ export interface LineItemGroupAdHocCreateClientReq {
|
|
|
15
15
|
owned_by_org_id: string;
|
|
16
16
|
payment_destination_driver_id?: string | null;
|
|
17
17
|
payment_destination_off_chrt_provider_org_data_id?: string | null;
|
|
18
|
-
payment_destination_off_chrt_vendor_id?: string | null;
|
|
19
18
|
/** Must be a string starting with `org_` */
|
|
20
19
|
payment_destination_org_id?: string | null;
|
|
21
20
|
payment_origin_off_chrt_shipper_org_data_id?: string | null;
|
|
@@ -12,7 +12,6 @@ export interface StatementCreateClientReq {
|
|
|
12
12
|
order_group_id?: string | null;
|
|
13
13
|
payment_destination_driver_id?: string | null;
|
|
14
14
|
payment_destination_off_chrt_provider_org_data_id?: string | null;
|
|
15
|
-
payment_destination_off_chrt_vendor_id?: string | null;
|
|
16
15
|
/** Must be a string starting with `org_` */
|
|
17
16
|
payment_destination_org_id?: string | null;
|
|
18
17
|
payment_origin_off_chrt_shipper_org_data_id?: string | null;
|
|
@@ -41,7 +41,7 @@ export declare class AdHoc {
|
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* await client.notifications.adHoc.createV1("order_id", {
|
|
44
|
-
*
|
|
44
|
+
* contact_id: "contact_id",
|
|
45
45
|
* schema_version: 1
|
|
46
46
|
* })
|
|
47
47
|
*/
|
|
@@ -58,7 +58,7 @@ export declare class AdHoc {
|
|
|
58
58
|
*
|
|
59
59
|
* @example
|
|
60
60
|
* await client.notifications.adHoc.createForSessionV1("session_id", {
|
|
61
|
-
*
|
|
61
|
+
* contact_id: "contact_id",
|
|
62
62
|
* schema_version: 1
|
|
63
63
|
* })
|
|
64
64
|
*/
|
|
@@ -30,7 +30,7 @@ export class AdHoc {
|
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* await client.notifications.adHoc.createV1("order_id", {
|
|
33
|
-
*
|
|
33
|
+
* contact_id: "contact_id",
|
|
34
34
|
* schema_version: 1
|
|
35
35
|
* })
|
|
36
36
|
*/
|
|
@@ -96,7 +96,7 @@ export class AdHoc {
|
|
|
96
96
|
*
|
|
97
97
|
* @example
|
|
98
98
|
* await client.notifications.adHoc.createForSessionV1("session_id", {
|
|
99
|
-
*
|
|
99
|
+
* contact_id: "contact_id",
|
|
100
100
|
* schema_version: 1
|
|
101
101
|
* })
|
|
102
102
|
*/
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
import * as environments from "../../../../environments.mjs";
|
|
5
5
|
import * as core from "../../../../core/index.mjs";
|
|
6
6
|
import * as Chrt from "../../../index.mjs";
|
|
7
|
+
import { Accounts } from "../resources/accounts/client/Client.mjs";
|
|
7
8
|
import { ComplianceDocuments } from "../resources/complianceDocuments/client/Client.mjs";
|
|
8
9
|
import { Connections } from "../resources/connections/client/Client.mjs";
|
|
9
|
-
import {
|
|
10
|
+
import { Contacts } from "../resources/contacts/client/Client.mjs";
|
|
10
11
|
import { OffChrtOrgData } from "../resources/offChrtOrgData/client/Client.mjs";
|
|
11
|
-
import { OffChrtVendor } from "../resources/offChrtVendor/client/Client.mjs";
|
|
12
12
|
import { PrivateData } from "../resources/privateData/client/Client.mjs";
|
|
13
13
|
import { PublicData } from "../resources/publicData/client/Client.mjs";
|
|
14
14
|
export declare namespace Orgs {
|
|
@@ -36,19 +36,19 @@ export declare namespace Orgs {
|
|
|
36
36
|
}
|
|
37
37
|
export declare class Orgs {
|
|
38
38
|
protected readonly _options: Orgs.Options;
|
|
39
|
+
protected _accounts: Accounts | undefined;
|
|
39
40
|
protected _complianceDocuments: ComplianceDocuments | undefined;
|
|
40
41
|
protected _connections: Connections | undefined;
|
|
41
|
-
protected
|
|
42
|
+
protected _contacts: Contacts | undefined;
|
|
42
43
|
protected _offChrtOrgData: OffChrtOrgData | undefined;
|
|
43
|
-
protected _offChrtVendor: OffChrtVendor | undefined;
|
|
44
44
|
protected _privateData: PrivateData | undefined;
|
|
45
45
|
protected _publicData: PublicData | undefined;
|
|
46
46
|
constructor(_options?: Orgs.Options);
|
|
47
|
+
get accounts(): Accounts;
|
|
47
48
|
get complianceDocuments(): ComplianceDocuments;
|
|
48
49
|
get connections(): Connections;
|
|
49
|
-
get
|
|
50
|
+
get contacts(): Contacts;
|
|
50
51
|
get offChrtOrgData(): OffChrtOrgData;
|
|
51
|
-
get offChrtVendor(): OffChrtVendor;
|
|
52
52
|
get privateData(): PrivateData;
|
|
53
53
|
get publicData(): PublicData;
|
|
54
54
|
/**
|
|
@@ -15,17 +15,21 @@ 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
|
+
import { Accounts } from "../resources/accounts/client/Client.mjs";
|
|
18
19
|
import { ComplianceDocuments } from "../resources/complianceDocuments/client/Client.mjs";
|
|
19
20
|
import { Connections } from "../resources/connections/client/Client.mjs";
|
|
20
|
-
import {
|
|
21
|
+
import { Contacts } from "../resources/contacts/client/Client.mjs";
|
|
21
22
|
import { OffChrtOrgData } from "../resources/offChrtOrgData/client/Client.mjs";
|
|
22
|
-
import { OffChrtVendor } from "../resources/offChrtVendor/client/Client.mjs";
|
|
23
23
|
import { PrivateData } from "../resources/privateData/client/Client.mjs";
|
|
24
24
|
import { PublicData } from "../resources/publicData/client/Client.mjs";
|
|
25
25
|
export class Orgs {
|
|
26
26
|
constructor(_options = {}) {
|
|
27
27
|
this._options = _options;
|
|
28
28
|
}
|
|
29
|
+
get accounts() {
|
|
30
|
+
var _a;
|
|
31
|
+
return ((_a = this._accounts) !== null && _a !== void 0 ? _a : (this._accounts = new Accounts(this._options)));
|
|
32
|
+
}
|
|
29
33
|
get complianceDocuments() {
|
|
30
34
|
var _a;
|
|
31
35
|
return ((_a = this._complianceDocuments) !== null && _a !== void 0 ? _a : (this._complianceDocuments = new ComplianceDocuments(this._options)));
|
|
@@ -34,18 +38,14 @@ export class Orgs {
|
|
|
34
38
|
var _a;
|
|
35
39
|
return ((_a = this._connections) !== null && _a !== void 0 ? _a : (this._connections = new Connections(this._options)));
|
|
36
40
|
}
|
|
37
|
-
get
|
|
41
|
+
get contacts() {
|
|
38
42
|
var _a;
|
|
39
|
-
return ((_a = this.
|
|
43
|
+
return ((_a = this._contacts) !== null && _a !== void 0 ? _a : (this._contacts = new Contacts(this._options)));
|
|
40
44
|
}
|
|
41
45
|
get offChrtOrgData() {
|
|
42
46
|
var _a;
|
|
43
47
|
return ((_a = this._offChrtOrgData) !== null && _a !== void 0 ? _a : (this._offChrtOrgData = new OffChrtOrgData(this._options)));
|
|
44
48
|
}
|
|
45
|
-
get offChrtVendor() {
|
|
46
|
-
var _a;
|
|
47
|
-
return ((_a = this._offChrtVendor) !== null && _a !== void 0 ? _a : (this._offChrtVendor = new OffChrtVendor(this._options)));
|
|
48
|
-
}
|
|
49
49
|
get privateData() {
|
|
50
50
|
var _a;
|
|
51
51
|
return ((_a = this._privateData) !== null && _a !== void 0 ? _a : (this._privateData = new PrivateData(this._options)));
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../../../environments.mjs";
|
|
5
|
+
import * as core from "../../../../../../core/index.mjs";
|
|
6
|
+
import * as Chrt from "../../../../../index.mjs";
|
|
7
|
+
export declare namespace Accounts {
|
|
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 Accounts {
|
|
31
|
+
protected readonly _options: Accounts.Options;
|
|
32
|
+
constructor(_options?: Accounts.Options);
|
|
33
|
+
/**
|
|
34
|
+
* Creates a coordinator-private account for a connected on- or off-CHRT shipper. | authz: allowed_org_types=[provider], min_org_role=operator | (AccountClientCreate1) -> (PydanticObjectId)
|
|
35
|
+
*
|
|
36
|
+
* @param {Chrt.orgs.AccountClientCreate1} request
|
|
37
|
+
* @param {Accounts.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
|
+
*
|
|
39
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* await client.orgs.accounts.createV1({
|
|
43
|
+
* name: "name",
|
|
44
|
+
* schema_version: 1
|
|
45
|
+
* })
|
|
46
|
+
*/
|
|
47
|
+
createV1(request: Chrt.orgs.AccountClientCreate1, requestOptions?: Accounts.RequestOptions): core.HttpResponsePromise<string>;
|
|
48
|
+
private __createV1;
|
|
49
|
+
/**
|
|
50
|
+
* Lists coordinator-created shipper accounts with association filters, sorting, and pagination. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (AccountListRes)
|
|
51
|
+
*
|
|
52
|
+
* @param {Chrt.orgs.AccountsListV1Request} request
|
|
53
|
+
* @param {Accounts.RequestOptions} requestOptions - Request-specific configuration.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* await client.orgs.accounts.listV1({
|
|
59
|
+
* filter_org_id: "filter_org_id",
|
|
60
|
+
* filter_off_chrt_org_data_id: "filter_off_chrt_org_data_id",
|
|
61
|
+
* sort_by: "name",
|
|
62
|
+
* sort_order: "asc",
|
|
63
|
+
* page: 1,
|
|
64
|
+
* page_size: 1
|
|
65
|
+
* })
|
|
66
|
+
*/
|
|
67
|
+
listV1(request?: Chrt.orgs.AccountsListV1Request, requestOptions?: Accounts.RequestOptions): core.HttpResponsePromise<Chrt.AccountListRes>;
|
|
68
|
+
private __listV1;
|
|
69
|
+
/**
|
|
70
|
+
* Updates the name of a coordinator-created shipper account. | authz: allowed_org_types=[provider], min_org_role=operator | (AccountClientUpdate1) -> (bool)
|
|
71
|
+
*
|
|
72
|
+
* @param {string} accountId
|
|
73
|
+
* @param {Chrt.orgs.AccountClientUpdate1} request
|
|
74
|
+
* @param {Accounts.RequestOptions} requestOptions - Request-specific configuration.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* await client.orgs.accounts.updateV1("account_id")
|
|
80
|
+
*/
|
|
81
|
+
updateV1(accountId: string, request?: Chrt.orgs.AccountClientUpdate1, requestOptions?: Accounts.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
82
|
+
private __updateV1;
|
|
83
|
+
/**
|
|
84
|
+
* Retrieves a coordinator-created shipper account. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (Account1)
|
|
85
|
+
*
|
|
86
|
+
* @param {string} accountId
|
|
87
|
+
* @param {Accounts.RequestOptions} requestOptions - Request-specific configuration.
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
90
|
+
*
|
|
91
|
+
* @example
|
|
92
|
+
* await client.orgs.accounts.getV1("account_id")
|
|
93
|
+
*/
|
|
94
|
+
getV1(accountId: string, requestOptions?: Accounts.RequestOptions): core.HttpResponsePromise<Chrt.Account1>;
|
|
95
|
+
private __getV1;
|
|
96
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
97
|
+
}
|