@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
|
@@ -1,111 +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 DirectoryEntries {
|
|
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 DirectoryEntries {
|
|
31
|
-
protected readonly _options: DirectoryEntries.Options;
|
|
32
|
-
constructor(_options?: DirectoryEntries.Options);
|
|
33
|
-
/**
|
|
34
|
-
* Creates an organization-owned directory entry. | authz: min_org_role=operator | (DirectoryEntryClientCreate1) -> (PydanticObjectId)
|
|
35
|
-
*
|
|
36
|
-
* @param {Chrt.orgs.DirectoryEntryClientCreate1} request
|
|
37
|
-
* @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
|
-
*
|
|
39
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
40
|
-
*
|
|
41
|
-
* @example
|
|
42
|
-
* await client.orgs.directoryEntries.createV1({
|
|
43
|
-
* name: "name",
|
|
44
|
-
* schema_version: 1
|
|
45
|
-
* })
|
|
46
|
-
*/
|
|
47
|
-
createV1(request: Chrt.orgs.DirectoryEntryClientCreate1, requestOptions?: DirectoryEntries.RequestOptions): core.HttpResponsePromise<string>;
|
|
48
|
-
private __createV1;
|
|
49
|
-
/**
|
|
50
|
-
* Deletes an organization-owned directory entry. | authz: min_org_role=operator | () -> (bool)
|
|
51
|
-
*
|
|
52
|
-
* @param {string} directoryEntryId
|
|
53
|
-
* @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
|
|
54
|
-
*
|
|
55
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
56
|
-
*
|
|
57
|
-
* @example
|
|
58
|
-
* await client.orgs.directoryEntries.deleteV1("directory_entry_id")
|
|
59
|
-
*/
|
|
60
|
-
deleteV1(directoryEntryId: string, requestOptions?: DirectoryEntries.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
61
|
-
private __deleteV1;
|
|
62
|
-
/**
|
|
63
|
-
* Lists organization-owned directory entries with association filters and search. | authz: min_org_role=operator | () -> (DirectoryEntryListRes)
|
|
64
|
-
*
|
|
65
|
-
* @param {Chrt.orgs.DirectoryEntriesListV1Request} request
|
|
66
|
-
* @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
|
|
67
|
-
*
|
|
68
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
69
|
-
*
|
|
70
|
-
* @example
|
|
71
|
-
* await client.orgs.directoryEntries.listV1({
|
|
72
|
-
* search: "search",
|
|
73
|
-
* filter_entry_org_id: "filter_entry_org_id",
|
|
74
|
-
* filter_entry_off_chrt_org_data_id: "filter_entry_off_chrt_org_data_id",
|
|
75
|
-
* sort_by: "name",
|
|
76
|
-
* sort_order: "asc",
|
|
77
|
-
* page: 1,
|
|
78
|
-
* page_size: 1
|
|
79
|
-
* })
|
|
80
|
-
*/
|
|
81
|
-
listV1(request?: Chrt.orgs.DirectoryEntriesListV1Request, requestOptions?: DirectoryEntries.RequestOptions): core.HttpResponsePromise<Chrt.DirectoryEntryListRes>;
|
|
82
|
-
private __listV1;
|
|
83
|
-
/**
|
|
84
|
-
* Updates an organization-owned directory entry. | authz: min_org_role=operator | (DirectoryEntryClientUpdate1) -> (bool)
|
|
85
|
-
*
|
|
86
|
-
* @param {string} directoryEntryId
|
|
87
|
-
* @param {Chrt.orgs.DirectoryEntryClientUpdate1} request
|
|
88
|
-
* @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
|
|
89
|
-
*
|
|
90
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
91
|
-
*
|
|
92
|
-
* @example
|
|
93
|
-
* await client.orgs.directoryEntries.updateV1("directory_entry_id")
|
|
94
|
-
*/
|
|
95
|
-
updateV1(directoryEntryId: string, request?: Chrt.orgs.DirectoryEntryClientUpdate1, requestOptions?: DirectoryEntries.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
96
|
-
private __updateV1;
|
|
97
|
-
/**
|
|
98
|
-
* Retrieves an organization-owned directory entry. | authz: min_org_role=operator | () -> (DirectoryEntry1)
|
|
99
|
-
*
|
|
100
|
-
* @param {string} directoryEntryId
|
|
101
|
-
* @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
|
|
102
|
-
*
|
|
103
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
104
|
-
*
|
|
105
|
-
* @example
|
|
106
|
-
* await client.orgs.directoryEntries.getV1("directory_entry_id")
|
|
107
|
-
*/
|
|
108
|
-
getV1(directoryEntryId: string, requestOptions?: DirectoryEntries.RequestOptions): core.HttpResponsePromise<Chrt.DirectoryEntry1>;
|
|
109
|
-
private __getV1;
|
|
110
|
-
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
111
|
-
}
|
|
@@ -1,106 +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 OffChrtVendor {
|
|
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 OffChrtVendor {
|
|
31
|
-
protected readonly _options: OffChrtVendor.Options;
|
|
32
|
-
constructor(_options?: OffChrtVendor.Options);
|
|
33
|
-
/**
|
|
34
|
-
* Creates an off-platform vendor shell owned by the caller's org. Used as an off-CHRT billing payment destination (e.g. an airline). | (OffChrtVendorClientCreate1) -> (PydanticObjectId)
|
|
35
|
-
*
|
|
36
|
-
* @param {Chrt.orgs.OffChrtVendorClientCreate1} request
|
|
37
|
-
* @param {OffChrtVendor.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
|
-
*
|
|
39
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
40
|
-
*
|
|
41
|
-
* @example
|
|
42
|
-
* await client.orgs.offChrtVendor.createV1({
|
|
43
|
-
* name: "name",
|
|
44
|
-
* schema_version: 1
|
|
45
|
-
* })
|
|
46
|
-
*/
|
|
47
|
-
createV1(request: Chrt.orgs.OffChrtVendorClientCreate1, requestOptions?: OffChrtVendor.RequestOptions): core.HttpResponsePromise<string>;
|
|
48
|
-
private __createV1;
|
|
49
|
-
/**
|
|
50
|
-
* Lists all off-chrt vendors created by the caller's organization. Pagination only — no search/filter. | () -> (OffChrtVendorListRes)
|
|
51
|
-
*
|
|
52
|
-
* @param {Chrt.orgs.OffChrtVendorListV1Request} request
|
|
53
|
-
* @param {OffChrtVendor.RequestOptions} requestOptions - Request-specific configuration.
|
|
54
|
-
*
|
|
55
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
56
|
-
*
|
|
57
|
-
* @example
|
|
58
|
-
* await client.orgs.offChrtVendor.listV1({
|
|
59
|
-
* page: 1,
|
|
60
|
-
* page_size: 1
|
|
61
|
-
* })
|
|
62
|
-
*/
|
|
63
|
-
listV1(request?: Chrt.orgs.OffChrtVendorListV1Request, requestOptions?: OffChrtVendor.RequestOptions): core.HttpResponsePromise<Chrt.OffChrtVendorListRes>;
|
|
64
|
-
private __listV1;
|
|
65
|
-
/**
|
|
66
|
-
* Retrieves a specific off-chrt vendor by ID. Scoped to the caller's org. | () -> (OffChrtVendor1)
|
|
67
|
-
*
|
|
68
|
-
* @param {string} id
|
|
69
|
-
* @param {OffChrtVendor.RequestOptions} requestOptions - Request-specific configuration.
|
|
70
|
-
*
|
|
71
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
72
|
-
*
|
|
73
|
-
* @example
|
|
74
|
-
* await client.orgs.offChrtVendor.getByIdV1("id")
|
|
75
|
-
*/
|
|
76
|
-
getByIdV1(id: string, requestOptions?: OffChrtVendor.RequestOptions): core.HttpResponsePromise<Chrt.OffChrtVendor1>;
|
|
77
|
-
private __getByIdV1;
|
|
78
|
-
/**
|
|
79
|
-
* Deletes an off-chrt vendor owned by the caller's organization. Existing LineItemGroups / Statements keep their snapshotted destination id; deletion does not cascade. | () -> (bool)
|
|
80
|
-
*
|
|
81
|
-
* @param {string} id
|
|
82
|
-
* @param {OffChrtVendor.RequestOptions} requestOptions - Request-specific configuration.
|
|
83
|
-
*
|
|
84
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
85
|
-
*
|
|
86
|
-
* @example
|
|
87
|
-
* await client.orgs.offChrtVendor.deleteByIdV1("id")
|
|
88
|
-
*/
|
|
89
|
-
deleteByIdV1(id: string, requestOptions?: OffChrtVendor.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
90
|
-
private __deleteByIdV1;
|
|
91
|
-
/**
|
|
92
|
-
* Updates an existing off-chrt vendor owned by the caller's organization. | (OffChrtVendorClientUpdate1) -> (bool)
|
|
93
|
-
*
|
|
94
|
-
* @param {string} id
|
|
95
|
-
* @param {Chrt.orgs.OffChrtVendorClientUpdate1} request
|
|
96
|
-
* @param {OffChrtVendor.RequestOptions} requestOptions - Request-specific configuration.
|
|
97
|
-
*
|
|
98
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
99
|
-
*
|
|
100
|
-
* @example
|
|
101
|
-
* await client.orgs.offChrtVendor.updateByIdV1("id")
|
|
102
|
-
*/
|
|
103
|
-
updateByIdV1(id: string, request?: Chrt.orgs.OffChrtVendorClientUpdate1, requestOptions?: OffChrtVendor.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
104
|
-
private __updateByIdV1;
|
|
105
|
-
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
106
|
-
}
|
|
@@ -1,111 +0,0 @@
|
|
|
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 DirectoryEntries {
|
|
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 DirectoryEntries {
|
|
31
|
-
protected readonly _options: DirectoryEntries.Options;
|
|
32
|
-
constructor(_options?: DirectoryEntries.Options);
|
|
33
|
-
/**
|
|
34
|
-
* Creates an organization-owned directory entry. | authz: min_org_role=operator | (DirectoryEntryClientCreate1) -> (PydanticObjectId)
|
|
35
|
-
*
|
|
36
|
-
* @param {Chrt.orgs.DirectoryEntryClientCreate1} request
|
|
37
|
-
* @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
|
-
*
|
|
39
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
40
|
-
*
|
|
41
|
-
* @example
|
|
42
|
-
* await client.orgs.directoryEntries.createV1({
|
|
43
|
-
* name: "name",
|
|
44
|
-
* schema_version: 1
|
|
45
|
-
* })
|
|
46
|
-
*/
|
|
47
|
-
createV1(request: Chrt.orgs.DirectoryEntryClientCreate1, requestOptions?: DirectoryEntries.RequestOptions): core.HttpResponsePromise<string>;
|
|
48
|
-
private __createV1;
|
|
49
|
-
/**
|
|
50
|
-
* Deletes an organization-owned directory entry. | authz: min_org_role=operator | () -> (bool)
|
|
51
|
-
*
|
|
52
|
-
* @param {string} directoryEntryId
|
|
53
|
-
* @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
|
|
54
|
-
*
|
|
55
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
56
|
-
*
|
|
57
|
-
* @example
|
|
58
|
-
* await client.orgs.directoryEntries.deleteV1("directory_entry_id")
|
|
59
|
-
*/
|
|
60
|
-
deleteV1(directoryEntryId: string, requestOptions?: DirectoryEntries.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
61
|
-
private __deleteV1;
|
|
62
|
-
/**
|
|
63
|
-
* Lists organization-owned directory entries with association filters and search. | authz: min_org_role=operator | () -> (DirectoryEntryListRes)
|
|
64
|
-
*
|
|
65
|
-
* @param {Chrt.orgs.DirectoryEntriesListV1Request} request
|
|
66
|
-
* @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
|
|
67
|
-
*
|
|
68
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
69
|
-
*
|
|
70
|
-
* @example
|
|
71
|
-
* await client.orgs.directoryEntries.listV1({
|
|
72
|
-
* search: "search",
|
|
73
|
-
* filter_entry_org_id: "filter_entry_org_id",
|
|
74
|
-
* filter_entry_off_chrt_org_data_id: "filter_entry_off_chrt_org_data_id",
|
|
75
|
-
* sort_by: "name",
|
|
76
|
-
* sort_order: "asc",
|
|
77
|
-
* page: 1,
|
|
78
|
-
* page_size: 1
|
|
79
|
-
* })
|
|
80
|
-
*/
|
|
81
|
-
listV1(request?: Chrt.orgs.DirectoryEntriesListV1Request, requestOptions?: DirectoryEntries.RequestOptions): core.HttpResponsePromise<Chrt.DirectoryEntryListRes>;
|
|
82
|
-
private __listV1;
|
|
83
|
-
/**
|
|
84
|
-
* Updates an organization-owned directory entry. | authz: min_org_role=operator | (DirectoryEntryClientUpdate1) -> (bool)
|
|
85
|
-
*
|
|
86
|
-
* @param {string} directoryEntryId
|
|
87
|
-
* @param {Chrt.orgs.DirectoryEntryClientUpdate1} request
|
|
88
|
-
* @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
|
|
89
|
-
*
|
|
90
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
91
|
-
*
|
|
92
|
-
* @example
|
|
93
|
-
* await client.orgs.directoryEntries.updateV1("directory_entry_id")
|
|
94
|
-
*/
|
|
95
|
-
updateV1(directoryEntryId: string, request?: Chrt.orgs.DirectoryEntryClientUpdate1, requestOptions?: DirectoryEntries.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
96
|
-
private __updateV1;
|
|
97
|
-
/**
|
|
98
|
-
* Retrieves an organization-owned directory entry. | authz: min_org_role=operator | () -> (DirectoryEntry1)
|
|
99
|
-
*
|
|
100
|
-
* @param {string} directoryEntryId
|
|
101
|
-
* @param {DirectoryEntries.RequestOptions} requestOptions - Request-specific configuration.
|
|
102
|
-
*
|
|
103
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
104
|
-
*
|
|
105
|
-
* @example
|
|
106
|
-
* await client.orgs.directoryEntries.getV1("directory_entry_id")
|
|
107
|
-
*/
|
|
108
|
-
getV1(directoryEntryId: string, requestOptions?: DirectoryEntries.RequestOptions): core.HttpResponsePromise<Chrt.DirectoryEntry1>;
|
|
109
|
-
private __getV1;
|
|
110
|
-
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
111
|
-
}
|
|
@@ -1,106 +0,0 @@
|
|
|
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 OffChrtVendor {
|
|
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 OffChrtVendor {
|
|
31
|
-
protected readonly _options: OffChrtVendor.Options;
|
|
32
|
-
constructor(_options?: OffChrtVendor.Options);
|
|
33
|
-
/**
|
|
34
|
-
* Creates an off-platform vendor shell owned by the caller's org. Used as an off-CHRT billing payment destination (e.g. an airline). | (OffChrtVendorClientCreate1) -> (PydanticObjectId)
|
|
35
|
-
*
|
|
36
|
-
* @param {Chrt.orgs.OffChrtVendorClientCreate1} request
|
|
37
|
-
* @param {OffChrtVendor.RequestOptions} requestOptions - Request-specific configuration.
|
|
38
|
-
*
|
|
39
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
40
|
-
*
|
|
41
|
-
* @example
|
|
42
|
-
* await client.orgs.offChrtVendor.createV1({
|
|
43
|
-
* name: "name",
|
|
44
|
-
* schema_version: 1
|
|
45
|
-
* })
|
|
46
|
-
*/
|
|
47
|
-
createV1(request: Chrt.orgs.OffChrtVendorClientCreate1, requestOptions?: OffChrtVendor.RequestOptions): core.HttpResponsePromise<string>;
|
|
48
|
-
private __createV1;
|
|
49
|
-
/**
|
|
50
|
-
* Lists all off-chrt vendors created by the caller's organization. Pagination only — no search/filter. | () -> (OffChrtVendorListRes)
|
|
51
|
-
*
|
|
52
|
-
* @param {Chrt.orgs.OffChrtVendorListV1Request} request
|
|
53
|
-
* @param {OffChrtVendor.RequestOptions} requestOptions - Request-specific configuration.
|
|
54
|
-
*
|
|
55
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
56
|
-
*
|
|
57
|
-
* @example
|
|
58
|
-
* await client.orgs.offChrtVendor.listV1({
|
|
59
|
-
* page: 1,
|
|
60
|
-
* page_size: 1
|
|
61
|
-
* })
|
|
62
|
-
*/
|
|
63
|
-
listV1(request?: Chrt.orgs.OffChrtVendorListV1Request, requestOptions?: OffChrtVendor.RequestOptions): core.HttpResponsePromise<Chrt.OffChrtVendorListRes>;
|
|
64
|
-
private __listV1;
|
|
65
|
-
/**
|
|
66
|
-
* Retrieves a specific off-chrt vendor by ID. Scoped to the caller's org. | () -> (OffChrtVendor1)
|
|
67
|
-
*
|
|
68
|
-
* @param {string} id
|
|
69
|
-
* @param {OffChrtVendor.RequestOptions} requestOptions - Request-specific configuration.
|
|
70
|
-
*
|
|
71
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
72
|
-
*
|
|
73
|
-
* @example
|
|
74
|
-
* await client.orgs.offChrtVendor.getByIdV1("id")
|
|
75
|
-
*/
|
|
76
|
-
getByIdV1(id: string, requestOptions?: OffChrtVendor.RequestOptions): core.HttpResponsePromise<Chrt.OffChrtVendor1>;
|
|
77
|
-
private __getByIdV1;
|
|
78
|
-
/**
|
|
79
|
-
* Deletes an off-chrt vendor owned by the caller's organization. Existing LineItemGroups / Statements keep their snapshotted destination id; deletion does not cascade. | () -> (bool)
|
|
80
|
-
*
|
|
81
|
-
* @param {string} id
|
|
82
|
-
* @param {OffChrtVendor.RequestOptions} requestOptions - Request-specific configuration.
|
|
83
|
-
*
|
|
84
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
85
|
-
*
|
|
86
|
-
* @example
|
|
87
|
-
* await client.orgs.offChrtVendor.deleteByIdV1("id")
|
|
88
|
-
*/
|
|
89
|
-
deleteByIdV1(id: string, requestOptions?: OffChrtVendor.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
90
|
-
private __deleteByIdV1;
|
|
91
|
-
/**
|
|
92
|
-
* Updates an existing off-chrt vendor owned by the caller's organization. | (OffChrtVendorClientUpdate1) -> (bool)
|
|
93
|
-
*
|
|
94
|
-
* @param {string} id
|
|
95
|
-
* @param {Chrt.orgs.OffChrtVendorClientUpdate1} request
|
|
96
|
-
* @param {OffChrtVendor.RequestOptions} requestOptions - Request-specific configuration.
|
|
97
|
-
*
|
|
98
|
-
* @throws {@link Chrt.UnprocessableEntityError}
|
|
99
|
-
*
|
|
100
|
-
* @example
|
|
101
|
-
* await client.orgs.offChrtVendor.updateByIdV1("id")
|
|
102
|
-
*/
|
|
103
|
-
updateByIdV1(id: string, request?: Chrt.orgs.OffChrtVendorClientUpdate1, requestOptions?: OffChrtVendor.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
104
|
-
private __updateByIdV1;
|
|
105
|
-
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
106
|
-
}
|
/package/dist/cjs/api/resources/orgs/resources/{directoryEntries → accounts}/client/index.d.ts
RENAMED
|
File without changes
|
/package/dist/cjs/api/resources/orgs/resources/{directoryEntries → accounts}/client/index.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/cjs/api/resources/orgs/resources/{offChrtVendor → contacts}/client/requests/index.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/esm/api/resources/orgs/resources/{directoryEntries → accounts}/client/index.d.mts
RENAMED
|
File without changes
|
/package/dist/esm/api/resources/orgs/resources/{directoryEntries → accounts}/client/index.mjs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/esm/api/resources/orgs/resources/{offChrtVendor → contacts}/client/index.d.mts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/esm/api/resources/orgs/resources/{offChrtVendor → contacts}/client/requests/index.mjs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|