@chrt-inc/typescript-sdk 1.1004.0 → 1.1008.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/billingNew/resources/invoiceLineItems/client/Client.d.ts +25 -5
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/Client.js +80 -8
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsCurrencyConversionRevertForOrdersReq.d.ts +22 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsCurrencyConversionUpdateForOrdersReq.d.ts +28 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsCurrencyConversionUpdateForOrdersReq.js +5 -0
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/index.d.ts +2 -1
- package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/Client.d.ts +3 -2
- package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/Client.js +7 -3
- package/dist/cjs/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataTypeaheadV1Request.d.ts +5 -1
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +1 -1
- package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.js +1 -1
- package/dist/cjs/api/types/DriverTypeaheadFieldEnum.d.ts +1 -5
- package/dist/cjs/api/types/DriverTypeaheadFieldEnum.js +0 -5
- package/dist/cjs/api/types/InvoiceLineItemsCurrencyConversionForOrdersRes.d.ts +20 -0
- package/dist/cjs/api/types/InvoiceLineItemsCurrencyConversionForOrdersRes.js +14 -0
- package/dist/cjs/api/types/SessionTypeaheadFieldEnum.d.ts +9 -0
- package/dist/cjs/api/types/SessionTypeaheadFieldEnum.js +11 -0
- package/dist/cjs/api/types/SessionTypeaheadResult.d.ts +1 -1
- package/dist/cjs/api/types/index.d.ts +2 -1
- package/dist/cjs/api/types/index.js +2 -1
- 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/billingNew/resources/invoiceLineItems/client/Client.d.mts +25 -5
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/Client.mjs +80 -8
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsCurrencyConversionRevertForOrdersReq.d.mts +22 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsCurrencyConversionUpdateForOrdersReq.d.mts +28 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/InvoiceLineItemsCurrencyConversionUpdateForOrdersReq.mjs +4 -0
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/index.d.mts +2 -1
- package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/Client.d.mts +3 -2
- package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/Client.mjs +7 -3
- package/dist/esm/api/resources/orgs/resources/offChrtOrgData/client/requests/OffChrtOrgDataTypeaheadV1Request.d.mts +5 -1
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +1 -1
- package/dist/esm/api/resources/tracking/resources/sessions/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/tracking/resources/sessions/client/Client.mjs +1 -1
- package/dist/esm/api/types/DriverTypeaheadFieldEnum.d.mts +1 -5
- package/dist/esm/api/types/DriverTypeaheadFieldEnum.mjs +1 -4
- package/dist/esm/api/types/InvoiceLineItemsCurrencyConversionForOrdersRes.d.mts +20 -0
- package/dist/esm/api/types/InvoiceLineItemsCurrencyConversionForOrdersRes.mjs +11 -0
- package/dist/esm/api/types/SessionTypeaheadFieldEnum.d.mts +9 -0
- package/dist/esm/api/types/SessionTypeaheadFieldEnum.mjs +8 -0
- package/dist/esm/api/types/SessionTypeaheadResult.d.mts +1 -1
- package/dist/esm/api/types/index.d.mts +2 -1
- package/dist/esm/api/types/index.mjs +2 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +78 -7
- package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/ReceivablesAcrossOrdersCurrencyConversionUpdateReq.d.ts +0 -18
- package/dist/cjs/api/types/ReceivablesAcrossOrdersCurrencyConversionOrderRes.d.ts +0 -18
- package/dist/cjs/api/types/ReceivablesAcrossOrdersCurrencyConversionOrderRes.js +0 -14
- package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/ReceivablesAcrossOrdersCurrencyConversionUpdateReq.d.mts +0 -18
- package/dist/esm/api/types/ReceivablesAcrossOrdersCurrencyConversionOrderRes.d.mts +0 -18
- package/dist/esm/api/types/ReceivablesAcrossOrdersCurrencyConversionOrderRes.mjs +0 -11
- /package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/{ReceivablesAcrossOrdersCurrencyConversionUpdateReq.js → InvoiceLineItemsCurrencyConversionRevertForOrdersReq.js} +0 -0
- /package/dist/esm/api/resources/billingNew/resources/invoiceLineItems/client/requests/{ReceivablesAcrossOrdersCurrencyConversionUpdateReq.mjs → InvoiceLineItemsCurrencyConversionRevertForOrdersReq.mjs} +0 -0
package/dist/cjs/Client.js
CHANGED
|
@@ -60,8 +60,8 @@ class ChrtClient {
|
|
|
60
60
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
|
|
61
61
|
"X-Fern-Language": "JavaScript",
|
|
62
62
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
63
|
-
"X-Fern-SDK-Version": "1.
|
|
64
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
63
|
+
"X-Fern-SDK-Version": "1.1008.0",
|
|
64
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.1008.0",
|
|
65
65
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
66
66
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
67
67
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -232,21 +232,41 @@ export declare class InvoiceLineItems {
|
|
|
232
232
|
listV1(request?: Chrt.billingNew.InvoiceLineItemsListV1Request, requestOptions?: InvoiceLineItems.RequestOptions): core.HttpResponsePromise<Chrt.InvoiceLineItemListRes>;
|
|
233
233
|
private __listV1;
|
|
234
234
|
/**
|
|
235
|
-
*
|
|
235
|
+
* Restores each selected order's converted charges for one direction, counterparty, and source currency to their original amounts. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceLineItemsCurrencyConversionRevertForOrdersReq) -> (list[InvoiceLineItemsCurrencyConversionForOrdersRes])
|
|
236
236
|
*
|
|
237
|
-
* @param {Chrt.billingNew.
|
|
237
|
+
* @param {Chrt.billingNew.InvoiceLineItemsCurrencyConversionRevertForOrdersReq} request
|
|
238
238
|
* @param {InvoiceLineItems.RequestOptions} requestOptions - Request-specific configuration.
|
|
239
239
|
*
|
|
240
240
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
241
241
|
*
|
|
242
242
|
* @example
|
|
243
|
-
* await client.billingNew.invoiceLineItems.
|
|
243
|
+
* await client.billingNew.invoiceLineItems.revertCurrencyConversionForOrdersV1({
|
|
244
|
+
* invoice_type: "accounts_receivable",
|
|
244
245
|
* order_ids: ["order_ids"],
|
|
246
|
+
* source_currency_code: "USD"
|
|
247
|
+
* })
|
|
248
|
+
*/
|
|
249
|
+
revertCurrencyConversionForOrdersV1(request: Chrt.billingNew.InvoiceLineItemsCurrencyConversionRevertForOrdersReq, requestOptions?: InvoiceLineItems.RequestOptions): core.HttpResponsePromise<Chrt.InvoiceLineItemsCurrencyConversionForOrdersRes[]>;
|
|
250
|
+
private __revertCurrencyConversionForOrdersV1;
|
|
251
|
+
/**
|
|
252
|
+
* Converts each selected order's charges for one direction, counterparty, and source currency at one rate. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceLineItemsCurrencyConversionUpdateForOrdersReq) -> (list[InvoiceLineItemsCurrencyConversionForOrdersRes])
|
|
253
|
+
*
|
|
254
|
+
* @param {Chrt.billingNew.InvoiceLineItemsCurrencyConversionUpdateForOrdersReq} request
|
|
255
|
+
* @param {InvoiceLineItems.RequestOptions} requestOptions - Request-specific configuration.
|
|
256
|
+
*
|
|
257
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
258
|
+
*
|
|
259
|
+
* @example
|
|
260
|
+
* await client.billingNew.invoiceLineItems.updateCurrencyConversionForOrdersV1({
|
|
261
|
+
* conversion_rate: 1.1,
|
|
262
|
+
* invoice_type: "accounts_receivable",
|
|
263
|
+
* order_ids: ["order_ids"],
|
|
264
|
+
* source_currency_code: "USD",
|
|
245
265
|
* target_currency_code: "USD"
|
|
246
266
|
* })
|
|
247
267
|
*/
|
|
248
|
-
|
|
249
|
-
private
|
|
268
|
+
updateCurrencyConversionForOrdersV1(request: Chrt.billingNew.InvoiceLineItemsCurrencyConversionUpdateForOrdersReq, requestOptions?: InvoiceLineItems.RequestOptions): core.HttpResponsePromise<Chrt.InvoiceLineItemsCurrencyConversionForOrdersRes[]>;
|
|
269
|
+
private __updateCurrencyConversionForOrdersV1;
|
|
250
270
|
/**
|
|
251
271
|
* Converts uninvoiced charges or updates exchange rates within their draft invoice currency. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceLineItemsCurrencyConversionUpdateManyReq) -> (list[InvoiceLineItem1])
|
|
252
272
|
*
|
|
@@ -851,28 +851,100 @@ class InvoiceLineItems {
|
|
|
851
851
|
});
|
|
852
852
|
}
|
|
853
853
|
/**
|
|
854
|
-
*
|
|
854
|
+
* Restores each selected order's converted charges for one direction, counterparty, and source currency to their original amounts. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceLineItemsCurrencyConversionRevertForOrdersReq) -> (list[InvoiceLineItemsCurrencyConversionForOrdersRes])
|
|
855
855
|
*
|
|
856
|
-
* @param {Chrt.billingNew.
|
|
856
|
+
* @param {Chrt.billingNew.InvoiceLineItemsCurrencyConversionRevertForOrdersReq} request
|
|
857
857
|
* @param {InvoiceLineItems.RequestOptions} requestOptions - Request-specific configuration.
|
|
858
858
|
*
|
|
859
859
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
860
860
|
*
|
|
861
861
|
* @example
|
|
862
|
-
* await client.billingNew.invoiceLineItems.
|
|
862
|
+
* await client.billingNew.invoiceLineItems.revertCurrencyConversionForOrdersV1({
|
|
863
|
+
* invoice_type: "accounts_receivable",
|
|
863
864
|
* order_ids: ["order_ids"],
|
|
865
|
+
* source_currency_code: "USD"
|
|
866
|
+
* })
|
|
867
|
+
*/
|
|
868
|
+
revertCurrencyConversionForOrdersV1(request, requestOptions) {
|
|
869
|
+
return core.HttpResponsePromise.fromPromise(this.__revertCurrencyConversionForOrdersV1(request, requestOptions));
|
|
870
|
+
}
|
|
871
|
+
__revertCurrencyConversionForOrdersV1(request, requestOptions) {
|
|
872
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
873
|
+
var _a, _b, _c, _d;
|
|
874
|
+
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);
|
|
875
|
+
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
876
|
+
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, "billing_new/invoice_line_items/revert_currency_conversion_for_orders/v1"),
|
|
877
|
+
method: "PATCH",
|
|
878
|
+
headers: _headers,
|
|
879
|
+
contentType: "application/json",
|
|
880
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
881
|
+
requestType: "json",
|
|
882
|
+
body: request,
|
|
883
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
884
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
885
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
886
|
+
});
|
|
887
|
+
if (_response.ok) {
|
|
888
|
+
return {
|
|
889
|
+
data: _response.body,
|
|
890
|
+
rawResponse: _response.rawResponse,
|
|
891
|
+
};
|
|
892
|
+
}
|
|
893
|
+
if (_response.error.reason === "status-code") {
|
|
894
|
+
switch (_response.error.statusCode) {
|
|
895
|
+
case 422:
|
|
896
|
+
throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
|
|
897
|
+
default:
|
|
898
|
+
throw new errors.ChrtError({
|
|
899
|
+
statusCode: _response.error.statusCode,
|
|
900
|
+
body: _response.error.body,
|
|
901
|
+
rawResponse: _response.rawResponse,
|
|
902
|
+
});
|
|
903
|
+
}
|
|
904
|
+
}
|
|
905
|
+
switch (_response.error.reason) {
|
|
906
|
+
case "non-json":
|
|
907
|
+
throw new errors.ChrtError({
|
|
908
|
+
statusCode: _response.error.statusCode,
|
|
909
|
+
body: _response.error.rawBody,
|
|
910
|
+
rawResponse: _response.rawResponse,
|
|
911
|
+
});
|
|
912
|
+
case "timeout":
|
|
913
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /billing_new/invoice_line_items/revert_currency_conversion_for_orders/v1.");
|
|
914
|
+
case "unknown":
|
|
915
|
+
throw new errors.ChrtError({
|
|
916
|
+
message: _response.error.errorMessage,
|
|
917
|
+
rawResponse: _response.rawResponse,
|
|
918
|
+
});
|
|
919
|
+
}
|
|
920
|
+
});
|
|
921
|
+
}
|
|
922
|
+
/**
|
|
923
|
+
* Converts each selected order's charges for one direction, counterparty, and source currency at one rate. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceLineItemsCurrencyConversionUpdateForOrdersReq) -> (list[InvoiceLineItemsCurrencyConversionForOrdersRes])
|
|
924
|
+
*
|
|
925
|
+
* @param {Chrt.billingNew.InvoiceLineItemsCurrencyConversionUpdateForOrdersReq} request
|
|
926
|
+
* @param {InvoiceLineItems.RequestOptions} requestOptions - Request-specific configuration.
|
|
927
|
+
*
|
|
928
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
929
|
+
*
|
|
930
|
+
* @example
|
|
931
|
+
* await client.billingNew.invoiceLineItems.updateCurrencyConversionForOrdersV1({
|
|
932
|
+
* conversion_rate: 1.1,
|
|
933
|
+
* invoice_type: "accounts_receivable",
|
|
934
|
+
* order_ids: ["order_ids"],
|
|
935
|
+
* source_currency_code: "USD",
|
|
864
936
|
* target_currency_code: "USD"
|
|
865
937
|
* })
|
|
866
938
|
*/
|
|
867
|
-
|
|
868
|
-
return core.HttpResponsePromise.fromPromise(this.
|
|
939
|
+
updateCurrencyConversionForOrdersV1(request, requestOptions) {
|
|
940
|
+
return core.HttpResponsePromise.fromPromise(this.__updateCurrencyConversionForOrdersV1(request, requestOptions));
|
|
869
941
|
}
|
|
870
|
-
|
|
942
|
+
__updateCurrencyConversionForOrdersV1(request, requestOptions) {
|
|
871
943
|
return __awaiter(this, void 0, void 0, function* () {
|
|
872
944
|
var _a, _b, _c, _d;
|
|
873
945
|
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);
|
|
874
946
|
const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
|
|
875
|
-
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, "billing_new/invoice_line_items/
|
|
947
|
+
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, "billing_new/invoice_line_items/update_currency_conversion_for_orders/v1"),
|
|
876
948
|
method: "PATCH",
|
|
877
949
|
headers: _headers,
|
|
878
950
|
contentType: "application/json",
|
|
@@ -909,7 +981,7 @@ class InvoiceLineItems {
|
|
|
909
981
|
rawResponse: _response.rawResponse,
|
|
910
982
|
});
|
|
911
983
|
case "timeout":
|
|
912
|
-
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /billing_new/invoice_line_items/
|
|
984
|
+
throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /billing_new/invoice_line_items/update_currency_conversion_for_orders/v1.");
|
|
913
985
|
case "unknown":
|
|
914
986
|
throw new errors.ChrtError({
|
|
915
987
|
message: _response.error.errorMessage,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../../../../../../index.js";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* invoice_type: "accounts_receivable",
|
|
9
|
+
* order_ids: ["order_ids"],
|
|
10
|
+
* source_currency_code: "USD"
|
|
11
|
+
* }
|
|
12
|
+
*/
|
|
13
|
+
export interface InvoiceLineItemsCurrencyConversionRevertForOrdersReq {
|
|
14
|
+
counterparty_driver_id?: string | null;
|
|
15
|
+
counterparty_off_chrt_org_data_id?: string | null;
|
|
16
|
+
/** Must be a string starting with `org_` */
|
|
17
|
+
counterparty_org_id?: string | null;
|
|
18
|
+
invoice_type: Chrt.InvoiceTypeEnum1;
|
|
19
|
+
order_ids: string[];
|
|
20
|
+
/** Original currency of the charges to act on -- their currency_conversion.source_currency_code if already converted, otherwise their current currency_code. */
|
|
21
|
+
source_currency_code: Chrt.BillingCurrencyCodeEnum1;
|
|
22
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../../../../../../index.js";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* conversion_rate: 1.1,
|
|
9
|
+
* invoice_type: "accounts_receivable",
|
|
10
|
+
* order_ids: ["order_ids"],
|
|
11
|
+
* source_currency_code: "USD",
|
|
12
|
+
* target_currency_code: "USD"
|
|
13
|
+
* }
|
|
14
|
+
*/
|
|
15
|
+
export interface InvoiceLineItemsCurrencyConversionUpdateForOrdersReq {
|
|
16
|
+
/** Units of target_currency_code per one unit of source_currency_code. */
|
|
17
|
+
conversion_rate: number;
|
|
18
|
+
counterparty_driver_id?: string | null;
|
|
19
|
+
counterparty_off_chrt_org_data_id?: string | null;
|
|
20
|
+
/** Must be a string starting with `org_` */
|
|
21
|
+
counterparty_org_id?: string | null;
|
|
22
|
+
description?: string | null;
|
|
23
|
+
invoice_type: Chrt.InvoiceTypeEnum1;
|
|
24
|
+
order_ids: string[];
|
|
25
|
+
/** Original currency of the charges to act on -- their currency_conversion.source_currency_code if already converted, otherwise their current currency_code. */
|
|
26
|
+
source_currency_code: Chrt.BillingCurrencyCodeEnum1;
|
|
27
|
+
target_currency_code: Chrt.BillingCurrencyCodeEnum1;
|
|
28
|
+
}
|
package/dist/cjs/api/resources/billingNew/resources/invoiceLineItems/client/requests/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export { type CreateInvoiceLineItemsFromAwbCostsReq } from "./CreateInvoiceLineI
|
|
|
3
3
|
export { type InvoiceLineItemsDeleteManyReq } from "./InvoiceLineItemsDeleteManyReq.js";
|
|
4
4
|
export { type InvoiceLineItemExportListReq } from "./InvoiceLineItemExportListReq.js";
|
|
5
5
|
export { type InvoiceLineItemsListV1Request } from "./InvoiceLineItemsListV1Request.js";
|
|
6
|
-
export { type
|
|
6
|
+
export { type InvoiceLineItemsCurrencyConversionRevertForOrdersReq } from "./InvoiceLineItemsCurrencyConversionRevertForOrdersReq.js";
|
|
7
|
+
export { type InvoiceLineItemsCurrencyConversionUpdateForOrdersReq } from "./InvoiceLineItemsCurrencyConversionUpdateForOrdersReq.js";
|
|
7
8
|
export { type InvoiceLineItemsCurrencyConversionUpdateManyReq } from "./InvoiceLineItemsCurrencyConversionUpdateManyReq.js";
|
|
8
9
|
export { type InvoiceLineItemClientUpdate1 } from "./InvoiceLineItemClientUpdate1.js";
|
|
@@ -71,7 +71,7 @@ export declare class OffChrtOrgData {
|
|
|
71
71
|
listV1(request?: Chrt.orgs.OffChrtOrgDataListV1Request, requestOptions?: OffChrtOrgData.RequestOptions): core.HttpResponsePromise<Chrt.OffChrtOrgDataListRes>;
|
|
72
72
|
private __listV1;
|
|
73
73
|
/**
|
|
74
|
-
* Returns matching name values and their IDs within the caller's organization. | authz: allowed_org_types=[provider] | () -> (list[OffChrtOrgDataTypeaheadResult])
|
|
74
|
+
* Returns matching name values and their IDs within the caller's organization, optionally filtered by org_type. | authz: allowed_org_types=[provider] | () -> (list[OffChrtOrgDataTypeaheadResult])
|
|
75
75
|
*
|
|
76
76
|
* @param {Chrt.orgs.OffChrtOrgDataTypeaheadV1Request} request
|
|
77
77
|
* @param {OffChrtOrgData.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -81,7 +81,8 @@ export declare class OffChrtOrgData {
|
|
|
81
81
|
* @example
|
|
82
82
|
* await client.orgs.offChrtOrgData.typeaheadV1({
|
|
83
83
|
* query: "query",
|
|
84
|
-
* limit: 1
|
|
84
|
+
* limit: 1,
|
|
85
|
+
* filter_org_type: "provider"
|
|
85
86
|
* })
|
|
86
87
|
*/
|
|
87
88
|
typeaheadV1(request: Chrt.orgs.OffChrtOrgDataTypeaheadV1Request, requestOptions?: OffChrtOrgData.RequestOptions): core.HttpResponsePromise<Chrt.OffChrtOrgDataTypeaheadResult[]>;
|
|
@@ -219,7 +219,7 @@ class OffChrtOrgData {
|
|
|
219
219
|
});
|
|
220
220
|
}
|
|
221
221
|
/**
|
|
222
|
-
* Returns matching name values and their IDs within the caller's organization. | authz: allowed_org_types=[provider] | () -> (list[OffChrtOrgDataTypeaheadResult])
|
|
222
|
+
* Returns matching name values and their IDs within the caller's organization, optionally filtered by org_type. | authz: allowed_org_types=[provider] | () -> (list[OffChrtOrgDataTypeaheadResult])
|
|
223
223
|
*
|
|
224
224
|
* @param {Chrt.orgs.OffChrtOrgDataTypeaheadV1Request} request
|
|
225
225
|
* @param {OffChrtOrgData.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -229,7 +229,8 @@ class OffChrtOrgData {
|
|
|
229
229
|
* @example
|
|
230
230
|
* await client.orgs.offChrtOrgData.typeaheadV1({
|
|
231
231
|
* query: "query",
|
|
232
|
-
* limit: 1
|
|
232
|
+
* limit: 1,
|
|
233
|
+
* filter_org_type: "provider"
|
|
233
234
|
* })
|
|
234
235
|
*/
|
|
235
236
|
typeaheadV1(request, requestOptions) {
|
|
@@ -238,12 +239,15 @@ class OffChrtOrgData {
|
|
|
238
239
|
__typeaheadV1(request, requestOptions) {
|
|
239
240
|
return __awaiter(this, void 0, void 0, function* () {
|
|
240
241
|
var _a, _b, _c, _d, _e;
|
|
241
|
-
const { query, limit } = request;
|
|
242
|
+
const { query, limit, filter_org_type: filterOrgType } = request;
|
|
242
243
|
const _queryParams = {};
|
|
243
244
|
_queryParams["query"] = query;
|
|
244
245
|
if (limit !== undefined) {
|
|
245
246
|
_queryParams["limit"] = (_a = limit === null || limit === void 0 ? void 0 : limit.toString()) !== null && _a !== void 0 ? _a : null;
|
|
246
247
|
}
|
|
248
|
+
if (filterOrgType !== undefined) {
|
|
249
|
+
_queryParams["filter_org_type"] = filterOrgType;
|
|
250
|
+
}
|
|
247
251
|
let _headers = (0, headers_js_1.mergeHeaders)((_b = this._options) === null || _b === void 0 ? void 0 : _b.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
248
252
|
const _response = yield ((_c = this._options.fetcher) !== null && _c !== void 0 ? _c : core.fetcher)({
|
|
249
253
|
url: core.url.join((_e = (_d = (yield core.Supplier.get(this._options.baseUrl))) !== null && _d !== void 0 ? _d : (yield core.Supplier.get(this._options.environment))) !== null && _e !== void 0 ? _e : environments.ChrtEnvironment.Local, "orgs/off_chrt_org_data/typeahead/v1"),
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
+
import * as Chrt from "../../../../../../index.js";
|
|
4
5
|
/**
|
|
5
6
|
* @example
|
|
6
7
|
* {
|
|
7
8
|
* query: "query",
|
|
8
|
-
* limit: 1
|
|
9
|
+
* limit: 1,
|
|
10
|
+
* filter_org_type: "provider"
|
|
9
11
|
* }
|
|
10
12
|
*/
|
|
11
13
|
export interface OffChrtOrgDataTypeaheadV1Request {
|
|
@@ -13,4 +15,6 @@ export interface OffChrtOrgDataTypeaheadV1Request {
|
|
|
13
15
|
query: string;
|
|
14
16
|
/** Max results per field */
|
|
15
17
|
limit?: number | null;
|
|
18
|
+
/** Filter by organization type */
|
|
19
|
+
filter_org_type?: Chrt.OrgTypeEnum | null;
|
|
16
20
|
}
|
|
@@ -251,7 +251,7 @@ export declare class Drivers {
|
|
|
251
251
|
getStatsV1(driverId: string, request: Chrt.shipping.DriverStatsReq, requestOptions?: Drivers.RequestOptions): core.HttpResponsePromise<Chrt.DriverStatsRes>;
|
|
252
252
|
private __getStatsV1;
|
|
253
253
|
/**
|
|
254
|
-
* Returns matching first_name
|
|
254
|
+
* Returns matching full_name (first_name + last_name) values and their IDs within the caller's organization, excluding archived drivers. | () -> (list[DriverTypeaheadResult])
|
|
255
255
|
*
|
|
256
256
|
* @param {Chrt.shipping.DriversTypeaheadV1Request} request
|
|
257
257
|
* @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -1046,7 +1046,7 @@ class Drivers {
|
|
|
1046
1046
|
});
|
|
1047
1047
|
}
|
|
1048
1048
|
/**
|
|
1049
|
-
* Returns matching first_name
|
|
1049
|
+
* Returns matching full_name (first_name + last_name) values and their IDs within the caller's organization, excluding archived drivers. | () -> (list[DriverTypeaheadResult])
|
|
1050
1050
|
*
|
|
1051
1051
|
* @param {Chrt.shipping.DriversTypeaheadV1Request} request
|
|
1052
1052
|
* @param {Drivers.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -170,7 +170,7 @@ export declare class Sessions {
|
|
|
170
170
|
terminateV1(request: Chrt.tracking.SessionsTerminateV1Request, requestOptions?: Sessions.RequestOptions): core.HttpResponsePromise<boolean>;
|
|
171
171
|
private __terminateV1;
|
|
172
172
|
/**
|
|
173
|
-
* Returns distinct device_mac_address and
|
|
173
|
+
* Returns distinct device_mac_address, off_chrt_reference_id, and flight_numbers values matching the query via case-insensitive regex, searching sessions. Use org_scope to restrict to owned, shared, or both (default). | auth: api_key | authz: min_org_role=operator | () -> (list[SessionTypeaheadResult])
|
|
174
174
|
*
|
|
175
175
|
* @param {Chrt.tracking.SessionsTypeaheadV1Request} request
|
|
176
176
|
* @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -629,7 +629,7 @@ class Sessions {
|
|
|
629
629
|
});
|
|
630
630
|
}
|
|
631
631
|
/**
|
|
632
|
-
* Returns distinct device_mac_address and
|
|
632
|
+
* Returns distinct device_mac_address, off_chrt_reference_id, and flight_numbers values matching the query via case-insensitive regex, searching sessions. Use org_scope to restrict to owned, shared, or both (default). | auth: api_key | authz: min_org_role=operator | () -> (list[SessionTypeaheadResult])
|
|
633
633
|
*
|
|
634
634
|
* @param {Chrt.tracking.SessionsTypeaheadV1Request} request
|
|
635
635
|
* @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export type DriverTypeaheadFieldEnum = "
|
|
5
|
-
export declare const DriverTypeaheadFieldEnum: {
|
|
6
|
-
readonly FirstName: "first_name";
|
|
7
|
-
readonly LastName: "last_name";
|
|
8
|
-
};
|
|
4
|
+
export type DriverTypeaheadFieldEnum = "full_name";
|
|
@@ -3,8 +3,3 @@
|
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
4
4
|
*/
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.DriverTypeaheadFieldEnum = void 0;
|
|
7
|
-
exports.DriverTypeaheadFieldEnum = {
|
|
8
|
-
FirstName: "first_name",
|
|
9
|
-
LastName: "last_name",
|
|
10
|
-
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Chrt from "../index.js";
|
|
5
|
+
export interface InvoiceLineItemsCurrencyConversionForOrdersRes {
|
|
6
|
+
converted_invoice_line_items?: Chrt.InvoiceLineItem1[];
|
|
7
|
+
failure_reason?: string | null;
|
|
8
|
+
order_id: string;
|
|
9
|
+
status: InvoiceLineItemsCurrencyConversionForOrdersRes.Status;
|
|
10
|
+
/** Order charges for another direction, counterparty, or original source currency. */
|
|
11
|
+
unmatched_invoice_line_item_ids?: string[];
|
|
12
|
+
}
|
|
13
|
+
export declare namespace InvoiceLineItemsCurrencyConversionForOrdersRes {
|
|
14
|
+
type Status = "succeeded" | "failed" | "no_matching_charges";
|
|
15
|
+
const Status: {
|
|
16
|
+
readonly Succeeded: "succeeded";
|
|
17
|
+
readonly Failed: "failed";
|
|
18
|
+
readonly NoMatchingCharges: "no_matching_charges";
|
|
19
|
+
};
|
|
20
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.InvoiceLineItemsCurrencyConversionForOrdersRes = void 0;
|
|
7
|
+
var InvoiceLineItemsCurrencyConversionForOrdersRes;
|
|
8
|
+
(function (InvoiceLineItemsCurrencyConversionForOrdersRes) {
|
|
9
|
+
InvoiceLineItemsCurrencyConversionForOrdersRes.Status = {
|
|
10
|
+
Succeeded: "succeeded",
|
|
11
|
+
Failed: "failed",
|
|
12
|
+
NoMatchingCharges: "no_matching_charges",
|
|
13
|
+
};
|
|
14
|
+
})(InvoiceLineItemsCurrencyConversionForOrdersRes || (exports.InvoiceLineItemsCurrencyConversionForOrdersRes = InvoiceLineItemsCurrencyConversionForOrdersRes = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export type SessionTypeaheadFieldEnum = "device_mac_address" | "off_chrt_reference_id" | "flight_numbers";
|
|
5
|
+
export declare const SessionTypeaheadFieldEnum: {
|
|
6
|
+
readonly DeviceMacAddress: "device_mac_address";
|
|
7
|
+
readonly OffChrtReferenceId: "off_chrt_reference_id";
|
|
8
|
+
readonly FlightNumbers: "flight_numbers";
|
|
9
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.SessionTypeaheadFieldEnum = void 0;
|
|
7
|
+
exports.SessionTypeaheadFieldEnum = {
|
|
8
|
+
DeviceMacAddress: "device_mac_address",
|
|
9
|
+
OffChrtReferenceId: "off_chrt_reference_id",
|
|
10
|
+
FlightNumbers: "flight_numbers",
|
|
11
|
+
};
|
|
@@ -326,6 +326,7 @@ export * from "./InvoiceLineItemStatusEnum1.js";
|
|
|
326
326
|
export * from "./InvoiceLineItemTypeEnum1.js";
|
|
327
327
|
export * from "./InvoiceLineItemUnitEnum1.js";
|
|
328
328
|
export * from "./InvoiceLineItemsByOrderExpandedRes.js";
|
|
329
|
+
export * from "./InvoiceLineItemsCurrencyConversionForOrdersRes.js";
|
|
329
330
|
export * from "./InvoiceLineItemsDeleteManyRes.js";
|
|
330
331
|
export * from "./InvoiceLineItemsFromChrtGroundProviderRateSheetsReq.js";
|
|
331
332
|
export * from "./InvoiceListRes.js";
|
|
@@ -525,7 +526,6 @@ export * from "./Position2D.js";
|
|
|
525
526
|
export * from "./Position3D.js";
|
|
526
527
|
export * from "./ProFormaLineItem1.js";
|
|
527
528
|
export * from "./ProFormaLineItemProvenanceEnum1.js";
|
|
528
|
-
export * from "./ReceivablesAcrossOrdersCurrencyConversionOrderRes.js";
|
|
529
529
|
export * from "./ReelablesAsset1.js";
|
|
530
530
|
export * from "./ReelablesAssetListRes.js";
|
|
531
531
|
export * from "./ReelablesAssetPausedTimeWindow1.js";
|
|
@@ -551,6 +551,7 @@ export * from "./SessionGeofenceClientCreate1.js";
|
|
|
551
551
|
export * from "./SessionGeofenceTemplate1.js";
|
|
552
552
|
export * from "./SessionListRes.js";
|
|
553
553
|
export * from "./SessionSortByEnum.js";
|
|
554
|
+
export * from "./SessionTypeaheadFieldEnum.js";
|
|
554
555
|
export * from "./SessionTypeaheadResult.js";
|
|
555
556
|
export * from "./SessionTypeaheadValue.js";
|
|
556
557
|
export * from "./ShipperCoordinatorConnection1.js";
|
|
@@ -342,6 +342,7 @@ __exportStar(require("./InvoiceLineItemStatusEnum1.js"), exports);
|
|
|
342
342
|
__exportStar(require("./InvoiceLineItemTypeEnum1.js"), exports);
|
|
343
343
|
__exportStar(require("./InvoiceLineItemUnitEnum1.js"), exports);
|
|
344
344
|
__exportStar(require("./InvoiceLineItemsByOrderExpandedRes.js"), exports);
|
|
345
|
+
__exportStar(require("./InvoiceLineItemsCurrencyConversionForOrdersRes.js"), exports);
|
|
345
346
|
__exportStar(require("./InvoiceLineItemsDeleteManyRes.js"), exports);
|
|
346
347
|
__exportStar(require("./InvoiceLineItemsFromChrtGroundProviderRateSheetsReq.js"), exports);
|
|
347
348
|
__exportStar(require("./InvoiceListRes.js"), exports);
|
|
@@ -541,7 +542,6 @@ __exportStar(require("./Position2D.js"), exports);
|
|
|
541
542
|
__exportStar(require("./Position3D.js"), exports);
|
|
542
543
|
__exportStar(require("./ProFormaLineItem1.js"), exports);
|
|
543
544
|
__exportStar(require("./ProFormaLineItemProvenanceEnum1.js"), exports);
|
|
544
|
-
__exportStar(require("./ReceivablesAcrossOrdersCurrencyConversionOrderRes.js"), exports);
|
|
545
545
|
__exportStar(require("./ReelablesAsset1.js"), exports);
|
|
546
546
|
__exportStar(require("./ReelablesAssetListRes.js"), exports);
|
|
547
547
|
__exportStar(require("./ReelablesAssetPausedTimeWindow1.js"), exports);
|
|
@@ -567,6 +567,7 @@ __exportStar(require("./SessionGeofenceClientCreate1.js"), exports);
|
|
|
567
567
|
__exportStar(require("./SessionGeofenceTemplate1.js"), exports);
|
|
568
568
|
__exportStar(require("./SessionListRes.js"), exports);
|
|
569
569
|
__exportStar(require("./SessionSortByEnum.js"), exports);
|
|
570
|
+
__exportStar(require("./SessionTypeaheadFieldEnum.js"), exports);
|
|
570
571
|
__exportStar(require("./SessionTypeaheadResult.js"), exports);
|
|
571
572
|
__exportStar(require("./SessionTypeaheadValue.js"), exports);
|
|
572
573
|
__exportStar(require("./ShipperCoordinatorConnection1.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.1008.0";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -24,8 +24,8 @@ export class ChrtClient {
|
|
|
24
24
|
this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
|
|
25
25
|
"X-Fern-Language": "JavaScript",
|
|
26
26
|
"X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
|
|
27
|
-
"X-Fern-SDK-Version": "1.
|
|
28
|
-
"User-Agent": "@chrt-inc/typescript-sdk/1.
|
|
27
|
+
"X-Fern-SDK-Version": "1.1008.0",
|
|
28
|
+
"User-Agent": "@chrt-inc/typescript-sdk/1.1008.0",
|
|
29
29
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
30
30
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
31
31
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -232,21 +232,41 @@ export declare class InvoiceLineItems {
|
|
|
232
232
|
listV1(request?: Chrt.billingNew.InvoiceLineItemsListV1Request, requestOptions?: InvoiceLineItems.RequestOptions): core.HttpResponsePromise<Chrt.InvoiceLineItemListRes>;
|
|
233
233
|
private __listV1;
|
|
234
234
|
/**
|
|
235
|
-
*
|
|
235
|
+
* Restores each selected order's converted charges for one direction, counterparty, and source currency to their original amounts. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceLineItemsCurrencyConversionRevertForOrdersReq) -> (list[InvoiceLineItemsCurrencyConversionForOrdersRes])
|
|
236
236
|
*
|
|
237
|
-
* @param {Chrt.billingNew.
|
|
237
|
+
* @param {Chrt.billingNew.InvoiceLineItemsCurrencyConversionRevertForOrdersReq} request
|
|
238
238
|
* @param {InvoiceLineItems.RequestOptions} requestOptions - Request-specific configuration.
|
|
239
239
|
*
|
|
240
240
|
* @throws {@link Chrt.UnprocessableEntityError}
|
|
241
241
|
*
|
|
242
242
|
* @example
|
|
243
|
-
* await client.billingNew.invoiceLineItems.
|
|
243
|
+
* await client.billingNew.invoiceLineItems.revertCurrencyConversionForOrdersV1({
|
|
244
|
+
* invoice_type: "accounts_receivable",
|
|
244
245
|
* order_ids: ["order_ids"],
|
|
246
|
+
* source_currency_code: "USD"
|
|
247
|
+
* })
|
|
248
|
+
*/
|
|
249
|
+
revertCurrencyConversionForOrdersV1(request: Chrt.billingNew.InvoiceLineItemsCurrencyConversionRevertForOrdersReq, requestOptions?: InvoiceLineItems.RequestOptions): core.HttpResponsePromise<Chrt.InvoiceLineItemsCurrencyConversionForOrdersRes[]>;
|
|
250
|
+
private __revertCurrencyConversionForOrdersV1;
|
|
251
|
+
/**
|
|
252
|
+
* Converts each selected order's charges for one direction, counterparty, and source currency at one rate. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceLineItemsCurrencyConversionUpdateForOrdersReq) -> (list[InvoiceLineItemsCurrencyConversionForOrdersRes])
|
|
253
|
+
*
|
|
254
|
+
* @param {Chrt.billingNew.InvoiceLineItemsCurrencyConversionUpdateForOrdersReq} request
|
|
255
|
+
* @param {InvoiceLineItems.RequestOptions} requestOptions - Request-specific configuration.
|
|
256
|
+
*
|
|
257
|
+
* @throws {@link Chrt.UnprocessableEntityError}
|
|
258
|
+
*
|
|
259
|
+
* @example
|
|
260
|
+
* await client.billingNew.invoiceLineItems.updateCurrencyConversionForOrdersV1({
|
|
261
|
+
* conversion_rate: 1.1,
|
|
262
|
+
* invoice_type: "accounts_receivable",
|
|
263
|
+
* order_ids: ["order_ids"],
|
|
264
|
+
* source_currency_code: "USD",
|
|
245
265
|
* target_currency_code: "USD"
|
|
246
266
|
* })
|
|
247
267
|
*/
|
|
248
|
-
|
|
249
|
-
private
|
|
268
|
+
updateCurrencyConversionForOrdersV1(request: Chrt.billingNew.InvoiceLineItemsCurrencyConversionUpdateForOrdersReq, requestOptions?: InvoiceLineItems.RequestOptions): core.HttpResponsePromise<Chrt.InvoiceLineItemsCurrencyConversionForOrdersRes[]>;
|
|
269
|
+
private __updateCurrencyConversionForOrdersV1;
|
|
250
270
|
/**
|
|
251
271
|
* Converts uninvoiced charges or updates exchange rates within their draft invoice currency. | authz: allowed_org_types=[provider], min_org_role=operator | (InvoiceLineItemsCurrencyConversionUpdateManyReq) -> (list[InvoiceLineItem1])
|
|
252
272
|
*
|