@chrt-inc/typescript-sdk 1.949.0 → 1.953.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.
Files changed (46) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/shipping/resources/flights/client/Client.d.ts +1 -1
  3. package/dist/cjs/api/resources/shipping/resources/flights/client/Client.js +1 -1
  4. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.ts +1 -0
  5. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.js +5 -1
  6. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.ts +3 -0
  7. package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/Client.d.ts +3 -3
  8. package/dist/cjs/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/Client.js +7 -7
  9. package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/Client.d.ts +3 -3
  10. package/dist/cjs/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/Client.js +7 -7
  11. package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/Client.d.ts +3 -3
  12. package/dist/cjs/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/Client.js +7 -7
  13. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/Client.d.ts +3 -3
  14. package/dist/cjs/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/Client.js +7 -7
  15. package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/Client.d.ts +3 -3
  16. package/dist/cjs/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/Client.js +7 -7
  17. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.d.ts +3 -3
  18. package/dist/cjs/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.js +7 -7
  19. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.d.ts +1 -1
  20. package/dist/cjs/api/resources/tracking/resources/sessions/client/Client.js +1 -1
  21. package/dist/cjs/version.d.ts +1 -1
  22. package/dist/cjs/version.js +1 -1
  23. package/dist/esm/Client.mjs +2 -2
  24. package/dist/esm/api/resources/shipping/resources/flights/client/Client.d.mts +1 -1
  25. package/dist/esm/api/resources/shipping/resources/flights/client/Client.mjs +1 -1
  26. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.mts +1 -0
  27. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.mjs +5 -1
  28. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.mts +3 -0
  29. package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/Client.d.mts +3 -3
  30. package/dist/esm/api/resources/shippingIntegrations/resources/atlas/resources/orders/client/Client.mjs +7 -7
  31. package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/Client.d.mts +3 -3
  32. package/dist/esm/api/resources/shippingIntegrations/resources/cxt/resources/orders/client/Client.mjs +7 -7
  33. package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/Client.d.mts +3 -3
  34. package/dist/esm/api/resources/shippingIntegrations/resources/dispatchScience/resources/orders/client/Client.mjs +7 -7
  35. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/Client.d.mts +3 -3
  36. package/dist/esm/api/resources/shippingIntegrations/resources/ecourier/resources/orders/client/Client.mjs +7 -7
  37. package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/Client.d.mts +3 -3
  38. package/dist/esm/api/resources/shippingIntegrations/resources/ontime360/resources/orders/client/Client.mjs +7 -7
  39. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.d.mts +3 -3
  40. package/dist/esm/api/resources/shippingIntegrations/resources/xcelerator/resources/orders/client/Client.mjs +7 -7
  41. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.d.mts +1 -1
  42. package/dist/esm/api/resources/tracking/resources/sessions/client/Client.mjs +1 -1
  43. package/dist/esm/version.d.mts +1 -1
  44. package/dist/esm/version.mjs +1 -1
  45. package/package.json +1 -1
  46. package/reference.md +21 -32
@@ -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.949.0",
64
- "User-Agent": "@chrt-inc/typescript-sdk/1.949.0",
63
+ "X-Fern-SDK-Version": "1.953.0",
64
+ "User-Agent": "@chrt-inc/typescript-sdk/1.953.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) });
@@ -70,7 +70,7 @@ export declare class Flights {
70
70
  getFlightStatusForFlightLegV1(flightLegId: string, requestOptions?: Flights.RequestOptions): core.HttpResponsePromise<Chrt.FlightLeg1>;
71
71
  private __getFlightStatusForFlightLegV1;
72
72
  /**
73
- * Returns the raw Cirium positional track for a flight leg; pass force_refresh=true to bypass the cache. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, order_executor_org_operators, shipper_org_operators] | () -> (FlightTrackRes)
73
+ * Returns the Cirium positional track for a flight leg; pass force_refresh=true to bypass the cache. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, order_executor_org_operators, shipper_org_operators] | () -> (FlightTrackRes)
74
74
  *
75
75
  * @param {string} flightLegId
76
76
  * @param {Chrt.shipping.FlightsGetFlightTrackForFlightLegV1Request} request
@@ -233,7 +233,7 @@ class Flights {
233
233
  });
234
234
  }
235
235
  /**
236
- * Returns the raw Cirium positional track for a flight leg; pass force_refresh=true to bypass the cache. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, order_executor_org_operators, shipper_org_operators] | () -> (FlightTrackRes)
236
+ * Returns the Cirium positional track for a flight leg; pass force_refresh=true to bypass the cache. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, order_executor_org_operators, shipper_org_operators] | () -> (FlightTrackRes)
237
237
  *
238
238
  * @param {string} flightLegId
239
239
  * @param {Chrt.shipping.FlightsGetFlightTrackForFlightLegV1Request} request
@@ -104,6 +104,7 @@ export declare class OrderTemplatesNew {
104
104
  * search: "search",
105
105
  * filter_archived: true,
106
106
  * filter_owned_by_user_id: "filter_owned_by_user_id",
107
+ * filter_coordinator_label: "filter_coordinator_label",
107
108
  * filter_executor_org_id: "filter_executor_org_id",
108
109
  * filter_off_chrt_executor_org_data_id: "filter_off_chrt_executor_org_data_id",
109
110
  * filter_shipper_org_id: "filter_shipper_org_id",
@@ -284,6 +284,7 @@ class OrderTemplatesNew {
284
284
  * search: "search",
285
285
  * filter_archived: true,
286
286
  * filter_owned_by_user_id: "filter_owned_by_user_id",
287
+ * filter_coordinator_label: "filter_coordinator_label",
287
288
  * filter_executor_org_id: "filter_executor_org_id",
288
289
  * filter_off_chrt_executor_org_data_id: "filter_off_chrt_executor_org_data_id",
289
290
  * filter_shipper_org_id: "filter_shipper_org_id",
@@ -303,7 +304,7 @@ class OrderTemplatesNew {
303
304
  __listV1() {
304
305
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
305
306
  var _a, _b, _c, _d, _e, _f, _g;
306
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_archived: filterArchived, filter_owned_by_user_id: filterOwnedByUserId, filter_executor_org_id: filterExecutorOrgId, filter_off_chrt_executor_org_data_id: filterOffChrtExecutorOrgDataId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_last_edited_at_timestamp_gte: filterLastEditedAtTimestampGte, filter_last_edited_at_timestamp_lte: filterLastEditedAtTimestampLte, filter_last_used_at_timestamp_gte: filterLastUsedAtTimestampGte, filter_last_used_at_timestamp_lte: filterLastUsedAtTimestampLte, } = request;
307
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_archived: filterArchived, filter_owned_by_user_id: filterOwnedByUserId, filter_coordinator_label: filterCoordinatorLabel, filter_executor_org_id: filterExecutorOrgId, filter_off_chrt_executor_org_data_id: filterOffChrtExecutorOrgDataId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_last_edited_at_timestamp_gte: filterLastEditedAtTimestampGte, filter_last_edited_at_timestamp_lte: filterLastEditedAtTimestampLte, filter_last_used_at_timestamp_gte: filterLastUsedAtTimestampGte, filter_last_used_at_timestamp_lte: filterLastUsedAtTimestampLte, } = request;
307
308
  const _queryParams = {};
308
309
  if (sortBy !== undefined) {
309
310
  _queryParams["sort_by"] = sortBy;
@@ -326,6 +327,9 @@ class OrderTemplatesNew {
326
327
  if (filterOwnedByUserId !== undefined) {
327
328
  _queryParams["filter_owned_by_user_id"] = filterOwnedByUserId;
328
329
  }
330
+ if (filterCoordinatorLabel !== undefined) {
331
+ _queryParams["filter_coordinator_label"] = filterCoordinatorLabel;
332
+ }
329
333
  if (filterExecutorOrgId !== undefined) {
330
334
  _queryParams["filter_executor_org_id"] = filterExecutorOrgId;
331
335
  }
@@ -12,6 +12,7 @@ import * as Chrt from "../../../../../../index.js";
12
12
  * search: "search",
13
13
  * filter_archived: true,
14
14
  * filter_owned_by_user_id: "filter_owned_by_user_id",
15
+ * filter_coordinator_label: "filter_coordinator_label",
15
16
  * filter_executor_org_id: "filter_executor_org_id",
16
17
  * filter_off_chrt_executor_org_data_id: "filter_off_chrt_executor_org_data_id",
17
18
  * filter_shipper_org_id: "filter_shipper_org_id",
@@ -38,6 +39,8 @@ export interface OrderTemplatesNewListV1Request {
38
39
  filter_archived?: boolean | null;
39
40
  /** Filter by the user that created the template. */
40
41
  filter_owned_by_user_id?: string | null;
42
+ /** Filter by coordinator label. */
43
+ filter_coordinator_label?: string | null;
41
44
  /** Filter by an on-CHRT executor organization ID. */
42
45
  filter_executor_org_id?: string | null;
43
46
  /** Filter by an off-CHRT executor organization data ID. */
@@ -33,16 +33,16 @@ export declare class Orders {
33
33
  /**
34
34
  * Returns one mirrored Atlas order by the provider's own order ID with the provider organization expanded. | () -> (AtlasOrderExpanded1)
35
35
  *
36
- * @param {string} providerOrgId - CHRT org ID of the courier whose Atlas instance holds the order
36
+ * @param {string} orgId - CHRT org ID of the other party (executor if caller is coordinator, coordinator if caller is executor)
37
37
  * @param {string} integrationOrderId - Atlas's own ID for the order, as carried on a unified order row
38
38
  * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
39
39
  *
40
40
  * @throws {@link Chrt.UnprocessableEntityError}
41
41
  *
42
42
  * @example
43
- * await client.shippingIntegrations.atlas.orders.detailByIntegrationOrderIdV1("provider_org_id", "integration_order_id")
43
+ * await client.shippingIntegrations.atlas.orders.detailByIntegrationOrderIdV1("org_id", "integration_order_id")
44
44
  */
45
- detailByIntegrationOrderIdV1(providerOrgId: string, integrationOrderId: string, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Chrt.AtlasOrderExpanded1>;
45
+ detailByIntegrationOrderIdV1(orgId: string, integrationOrderId: string, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Chrt.AtlasOrderExpanded1>;
46
46
  private __detailByIntegrationOrderIdV1;
47
47
  /**
48
48
  * Returns one mirrored Atlas order by its Mongo ObjectId with the provider organization expanded. | () -> (AtlasOrderExpanded1)
@@ -58,24 +58,24 @@ class Orders {
58
58
  /**
59
59
  * Returns one mirrored Atlas order by the provider's own order ID with the provider organization expanded. | () -> (AtlasOrderExpanded1)
60
60
  *
61
- * @param {string} providerOrgId - CHRT org ID of the courier whose Atlas instance holds the order
61
+ * @param {string} orgId - CHRT org ID of the other party (executor if caller is coordinator, coordinator if caller is executor)
62
62
  * @param {string} integrationOrderId - Atlas's own ID for the order, as carried on a unified order row
63
63
  * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
64
64
  *
65
65
  * @throws {@link Chrt.UnprocessableEntityError}
66
66
  *
67
67
  * @example
68
- * await client.shippingIntegrations.atlas.orders.detailByIntegrationOrderIdV1("provider_org_id", "integration_order_id")
68
+ * await client.shippingIntegrations.atlas.orders.detailByIntegrationOrderIdV1("org_id", "integration_order_id")
69
69
  */
70
- detailByIntegrationOrderIdV1(providerOrgId, integrationOrderId, requestOptions) {
71
- return core.HttpResponsePromise.fromPromise(this.__detailByIntegrationOrderIdV1(providerOrgId, integrationOrderId, requestOptions));
70
+ detailByIntegrationOrderIdV1(orgId, integrationOrderId, requestOptions) {
71
+ return core.HttpResponsePromise.fromPromise(this.__detailByIntegrationOrderIdV1(orgId, integrationOrderId, requestOptions));
72
72
  }
73
- __detailByIntegrationOrderIdV1(providerOrgId, integrationOrderId, requestOptions) {
73
+ __detailByIntegrationOrderIdV1(orgId, integrationOrderId, requestOptions) {
74
74
  return __awaiter(this, void 0, void 0, function* () {
75
75
  var _a, _b, _c, _d;
76
76
  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);
77
77
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
78
- 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, `shipping_integrations/atlas/orders/by_integration_order_id/detail/v1/${encodeURIComponent(providerOrgId)}/${encodeURIComponent(integrationOrderId)}`),
78
+ 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, `shipping_integrations/atlas/orders/by_integration_order_id/detail/v1/${encodeURIComponent(orgId)}/${encodeURIComponent(integrationOrderId)}`),
79
79
  method: "GET",
80
80
  headers: _headers,
81
81
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -106,7 +106,7 @@ class Orders {
106
106
  rawResponse: _response.rawResponse,
107
107
  });
108
108
  case "timeout":
109
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping_integrations/atlas/orders/by_integration_order_id/detail/v1/{provider_org_id}/{integration_order_id}.");
109
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping_integrations/atlas/orders/by_integration_order_id/detail/v1/{org_id}/{integration_order_id}.");
110
110
  case "unknown":
111
111
  throw new errors.ChrtError({
112
112
  message: _response.error.errorMessage,
@@ -33,16 +33,16 @@ export declare class Orders {
33
33
  /**
34
34
  * Returns one mirrored CXT order by the provider's own order ID with the provider organization expanded. | () -> (CxtOrderExpanded1)
35
35
  *
36
- * @param {string} providerOrgId - CHRT org ID of the courier whose CXT instance holds the order
36
+ * @param {string} orgId - CHRT org ID of the other party (executor if caller is coordinator, coordinator if caller is executor)
37
37
  * @param {string} integrationOrderId - CXT's own decimal ID for the order, as carried on a unified order row
38
38
  * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
39
39
  *
40
40
  * @throws {@link Chrt.UnprocessableEntityError}
41
41
  *
42
42
  * @example
43
- * await client.shippingIntegrations.cxt.orders.detailByIntegrationOrderIdV1("provider_org_id", "integration_order_id")
43
+ * await client.shippingIntegrations.cxt.orders.detailByIntegrationOrderIdV1("org_id", "integration_order_id")
44
44
  */
45
- detailByIntegrationOrderIdV1(providerOrgId: string, integrationOrderId: string, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Chrt.CxtOrderExpanded1>;
45
+ detailByIntegrationOrderIdV1(orgId: string, integrationOrderId: string, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Chrt.CxtOrderExpanded1>;
46
46
  private __detailByIntegrationOrderIdV1;
47
47
  /**
48
48
  * Returns one mirrored CXT order by its Mongo ObjectId with the provider organization expanded. | () -> (CxtOrderExpanded1)
@@ -58,24 +58,24 @@ class Orders {
58
58
  /**
59
59
  * Returns one mirrored CXT order by the provider's own order ID with the provider organization expanded. | () -> (CxtOrderExpanded1)
60
60
  *
61
- * @param {string} providerOrgId - CHRT org ID of the courier whose CXT instance holds the order
61
+ * @param {string} orgId - CHRT org ID of the other party (executor if caller is coordinator, coordinator if caller is executor)
62
62
  * @param {string} integrationOrderId - CXT's own decimal ID for the order, as carried on a unified order row
63
63
  * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
64
64
  *
65
65
  * @throws {@link Chrt.UnprocessableEntityError}
66
66
  *
67
67
  * @example
68
- * await client.shippingIntegrations.cxt.orders.detailByIntegrationOrderIdV1("provider_org_id", "integration_order_id")
68
+ * await client.shippingIntegrations.cxt.orders.detailByIntegrationOrderIdV1("org_id", "integration_order_id")
69
69
  */
70
- detailByIntegrationOrderIdV1(providerOrgId, integrationOrderId, requestOptions) {
71
- return core.HttpResponsePromise.fromPromise(this.__detailByIntegrationOrderIdV1(providerOrgId, integrationOrderId, requestOptions));
70
+ detailByIntegrationOrderIdV1(orgId, integrationOrderId, requestOptions) {
71
+ return core.HttpResponsePromise.fromPromise(this.__detailByIntegrationOrderIdV1(orgId, integrationOrderId, requestOptions));
72
72
  }
73
- __detailByIntegrationOrderIdV1(providerOrgId, integrationOrderId, requestOptions) {
73
+ __detailByIntegrationOrderIdV1(orgId, integrationOrderId, requestOptions) {
74
74
  return __awaiter(this, void 0, void 0, function* () {
75
75
  var _a, _b, _c, _d;
76
76
  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);
77
77
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
78
- 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, `shipping_integrations/cxt/orders/by_integration_order_id/detail/v1/${encodeURIComponent(providerOrgId)}/${encodeURIComponent(integrationOrderId)}`),
78
+ 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, `shipping_integrations/cxt/orders/by_integration_order_id/detail/v1/${encodeURIComponent(orgId)}/${encodeURIComponent(integrationOrderId)}`),
79
79
  method: "GET",
80
80
  headers: _headers,
81
81
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -106,7 +106,7 @@ class Orders {
106
106
  rawResponse: _response.rawResponse,
107
107
  });
108
108
  case "timeout":
109
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping_integrations/cxt/orders/by_integration_order_id/detail/v1/{provider_org_id}/{integration_order_id}.");
109
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping_integrations/cxt/orders/by_integration_order_id/detail/v1/{org_id}/{integration_order_id}.");
110
110
  case "unknown":
111
111
  throw new errors.ChrtError({
112
112
  message: _response.error.errorMessage,
@@ -33,16 +33,16 @@ export declare class Orders {
33
33
  /**
34
34
  * Returns one mirrored DispatchScience order by the provider's own order ID. | () -> (DispatchScienceOrder1)
35
35
  *
36
- * @param {string} providerOrgId - CHRT org ID of the courier whose DispatchScience instance holds the order
36
+ * @param {string} orgId - CHRT org ID of the other party (executor if caller is coordinator, coordinator if caller is executor)
37
37
  * @param {string} integrationOrderId - DispatchScience's own ID for the order (its orderId), as carried on a unified order row
38
38
  * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
39
39
  *
40
40
  * @throws {@link Chrt.UnprocessableEntityError}
41
41
  *
42
42
  * @example
43
- * await client.shippingIntegrations.dispatchScience.orders.detailByIntegrationOrderIdV1("provider_org_id", "integration_order_id")
43
+ * await client.shippingIntegrations.dispatchScience.orders.detailByIntegrationOrderIdV1("org_id", "integration_order_id")
44
44
  */
45
- detailByIntegrationOrderIdV1(providerOrgId: string, integrationOrderId: string, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Chrt.DispatchScienceOrder1>;
45
+ detailByIntegrationOrderIdV1(orgId: string, integrationOrderId: string, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Chrt.DispatchScienceOrder1>;
46
46
  private __detailByIntegrationOrderIdV1;
47
47
  /**
48
48
  * Returns one mirrored DispatchScience order by its Mongo ObjectId. | () -> (DispatchScienceOrder1)
@@ -58,24 +58,24 @@ class Orders {
58
58
  /**
59
59
  * Returns one mirrored DispatchScience order by the provider's own order ID. | () -> (DispatchScienceOrder1)
60
60
  *
61
- * @param {string} providerOrgId - CHRT org ID of the courier whose DispatchScience instance holds the order
61
+ * @param {string} orgId - CHRT org ID of the other party (executor if caller is coordinator, coordinator if caller is executor)
62
62
  * @param {string} integrationOrderId - DispatchScience's own ID for the order (its orderId), as carried on a unified order row
63
63
  * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
64
64
  *
65
65
  * @throws {@link Chrt.UnprocessableEntityError}
66
66
  *
67
67
  * @example
68
- * await client.shippingIntegrations.dispatchScience.orders.detailByIntegrationOrderIdV1("provider_org_id", "integration_order_id")
68
+ * await client.shippingIntegrations.dispatchScience.orders.detailByIntegrationOrderIdV1("org_id", "integration_order_id")
69
69
  */
70
- detailByIntegrationOrderIdV1(providerOrgId, integrationOrderId, requestOptions) {
71
- return core.HttpResponsePromise.fromPromise(this.__detailByIntegrationOrderIdV1(providerOrgId, integrationOrderId, requestOptions));
70
+ detailByIntegrationOrderIdV1(orgId, integrationOrderId, requestOptions) {
71
+ return core.HttpResponsePromise.fromPromise(this.__detailByIntegrationOrderIdV1(orgId, integrationOrderId, requestOptions));
72
72
  }
73
- __detailByIntegrationOrderIdV1(providerOrgId, integrationOrderId, requestOptions) {
73
+ __detailByIntegrationOrderIdV1(orgId, integrationOrderId, requestOptions) {
74
74
  return __awaiter(this, void 0, void 0, function* () {
75
75
  var _a, _b, _c, _d;
76
76
  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);
77
77
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
78
- 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, `shipping_integrations/dispatch_science/orders/by_integration_order_id/detail/v1/${encodeURIComponent(providerOrgId)}/${encodeURIComponent(integrationOrderId)}`),
78
+ 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, `shipping_integrations/dispatch_science/orders/by_integration_order_id/detail/v1/${encodeURIComponent(orgId)}/${encodeURIComponent(integrationOrderId)}`),
79
79
  method: "GET",
80
80
  headers: _headers,
81
81
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -106,7 +106,7 @@ class Orders {
106
106
  rawResponse: _response.rawResponse,
107
107
  });
108
108
  case "timeout":
109
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping_integrations/dispatch_science/orders/by_integration_order_id/detail/v1/{provider_org_id}/{integration_order_id}.");
109
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping_integrations/dispatch_science/orders/by_integration_order_id/detail/v1/{org_id}/{integration_order_id}.");
110
110
  case "unknown":
111
111
  throw new errors.ChrtError({
112
112
  message: _response.error.errorMessage,
@@ -33,16 +33,16 @@ export declare class Orders {
33
33
  /**
34
34
  * Returns one mirrored e-Courier order by the provider's own order number. | () -> (EcourierOrder1)
35
35
  *
36
- * @param {string} providerOrgId - CHRT org ID of the courier whose e-Courier database holds the order
36
+ * @param {string} orgId - CHRT org ID of the other party (executor if caller is coordinator, coordinator if caller is executor)
37
37
  * @param {string} integrationOrderId - e-Courier's own order number for the order, as carried on a unified order row
38
38
  * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
39
39
  *
40
40
  * @throws {@link Chrt.UnprocessableEntityError}
41
41
  *
42
42
  * @example
43
- * await client.shippingIntegrations.ecourier.orders.detailByIntegrationOrderIdV1("provider_org_id", "integration_order_id")
43
+ * await client.shippingIntegrations.ecourier.orders.detailByIntegrationOrderIdV1("org_id", "integration_order_id")
44
44
  */
45
- detailByIntegrationOrderIdV1(providerOrgId: string, integrationOrderId: string, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Chrt.EcourierOrder1>;
45
+ detailByIntegrationOrderIdV1(orgId: string, integrationOrderId: string, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Chrt.EcourierOrder1>;
46
46
  private __detailByIntegrationOrderIdV1;
47
47
  /**
48
48
  * Returns one mirrored e-Courier order by its Mongo ObjectId. | () -> (EcourierOrder1)
@@ -58,24 +58,24 @@ class Orders {
58
58
  /**
59
59
  * Returns one mirrored e-Courier order by the provider's own order number. | () -> (EcourierOrder1)
60
60
  *
61
- * @param {string} providerOrgId - CHRT org ID of the courier whose e-Courier database holds the order
61
+ * @param {string} orgId - CHRT org ID of the other party (executor if caller is coordinator, coordinator if caller is executor)
62
62
  * @param {string} integrationOrderId - e-Courier's own order number for the order, as carried on a unified order row
63
63
  * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
64
64
  *
65
65
  * @throws {@link Chrt.UnprocessableEntityError}
66
66
  *
67
67
  * @example
68
- * await client.shippingIntegrations.ecourier.orders.detailByIntegrationOrderIdV1("provider_org_id", "integration_order_id")
68
+ * await client.shippingIntegrations.ecourier.orders.detailByIntegrationOrderIdV1("org_id", "integration_order_id")
69
69
  */
70
- detailByIntegrationOrderIdV1(providerOrgId, integrationOrderId, requestOptions) {
71
- return core.HttpResponsePromise.fromPromise(this.__detailByIntegrationOrderIdV1(providerOrgId, integrationOrderId, requestOptions));
70
+ detailByIntegrationOrderIdV1(orgId, integrationOrderId, requestOptions) {
71
+ return core.HttpResponsePromise.fromPromise(this.__detailByIntegrationOrderIdV1(orgId, integrationOrderId, requestOptions));
72
72
  }
73
- __detailByIntegrationOrderIdV1(providerOrgId, integrationOrderId, requestOptions) {
73
+ __detailByIntegrationOrderIdV1(orgId, integrationOrderId, requestOptions) {
74
74
  return __awaiter(this, void 0, void 0, function* () {
75
75
  var _a, _b, _c, _d;
76
76
  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);
77
77
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
78
- 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, `shipping_integrations/ecourier/orders/by_integration_order_id/detail/v1/${encodeURIComponent(providerOrgId)}/${encodeURIComponent(integrationOrderId)}`),
78
+ 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, `shipping_integrations/ecourier/orders/by_integration_order_id/detail/v1/${encodeURIComponent(orgId)}/${encodeURIComponent(integrationOrderId)}`),
79
79
  method: "GET",
80
80
  headers: _headers,
81
81
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -106,7 +106,7 @@ class Orders {
106
106
  rawResponse: _response.rawResponse,
107
107
  });
108
108
  case "timeout":
109
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping_integrations/ecourier/orders/by_integration_order_id/detail/v1/{provider_org_id}/{integration_order_id}.");
109
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping_integrations/ecourier/orders/by_integration_order_id/detail/v1/{org_id}/{integration_order_id}.");
110
110
  case "unknown":
111
111
  throw new errors.ChrtError({
112
112
  message: _response.error.errorMessage,
@@ -33,16 +33,16 @@ export declare class Orders {
33
33
  /**
34
34
  * Returns one mirrored OnTime360 order by the provider's own order GUID. | () -> (OnTime360Order1)
35
35
  *
36
- * @param {string} providerOrgId - CHRT org ID of the courier whose OnTime360 site holds the order
36
+ * @param {string} orgId - CHRT org ID of the other party (executor if caller is coordinator, coordinator if caller is executor)
37
37
  * @param {string} integrationOrderId - OnTime360's own GUID for the order (its ID), as carried on a unified order row
38
38
  * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
39
39
  *
40
40
  * @throws {@link Chrt.UnprocessableEntityError}
41
41
  *
42
42
  * @example
43
- * await client.shippingIntegrations.ontime360.orders.detailByIntegrationOrderIdV1("provider_org_id", "integration_order_id")
43
+ * await client.shippingIntegrations.ontime360.orders.detailByIntegrationOrderIdV1("org_id", "integration_order_id")
44
44
  */
45
- detailByIntegrationOrderIdV1(providerOrgId: string, integrationOrderId: string, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Chrt.OnTime360Order1>;
45
+ detailByIntegrationOrderIdV1(orgId: string, integrationOrderId: string, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Chrt.OnTime360Order1>;
46
46
  private __detailByIntegrationOrderIdV1;
47
47
  /**
48
48
  * Returns one mirrored OnTime360 order by its Mongo ObjectId. | () -> (OnTime360Order1)
@@ -58,24 +58,24 @@ class Orders {
58
58
  /**
59
59
  * Returns one mirrored OnTime360 order by the provider's own order GUID. | () -> (OnTime360Order1)
60
60
  *
61
- * @param {string} providerOrgId - CHRT org ID of the courier whose OnTime360 site holds the order
61
+ * @param {string} orgId - CHRT org ID of the other party (executor if caller is coordinator, coordinator if caller is executor)
62
62
  * @param {string} integrationOrderId - OnTime360's own GUID for the order (its ID), as carried on a unified order row
63
63
  * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
64
64
  *
65
65
  * @throws {@link Chrt.UnprocessableEntityError}
66
66
  *
67
67
  * @example
68
- * await client.shippingIntegrations.ontime360.orders.detailByIntegrationOrderIdV1("provider_org_id", "integration_order_id")
68
+ * await client.shippingIntegrations.ontime360.orders.detailByIntegrationOrderIdV1("org_id", "integration_order_id")
69
69
  */
70
- detailByIntegrationOrderIdV1(providerOrgId, integrationOrderId, requestOptions) {
71
- return core.HttpResponsePromise.fromPromise(this.__detailByIntegrationOrderIdV1(providerOrgId, integrationOrderId, requestOptions));
70
+ detailByIntegrationOrderIdV1(orgId, integrationOrderId, requestOptions) {
71
+ return core.HttpResponsePromise.fromPromise(this.__detailByIntegrationOrderIdV1(orgId, integrationOrderId, requestOptions));
72
72
  }
73
- __detailByIntegrationOrderIdV1(providerOrgId, integrationOrderId, requestOptions) {
73
+ __detailByIntegrationOrderIdV1(orgId, integrationOrderId, requestOptions) {
74
74
  return __awaiter(this, void 0, void 0, function* () {
75
75
  var _a, _b, _c, _d;
76
76
  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);
77
77
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
78
- 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, `shipping_integrations/ontime360/orders/by_integration_order_id/detail/v1/${encodeURIComponent(providerOrgId)}/${encodeURIComponent(integrationOrderId)}`),
78
+ 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, `shipping_integrations/ontime360/orders/by_integration_order_id/detail/v1/${encodeURIComponent(orgId)}/${encodeURIComponent(integrationOrderId)}`),
79
79
  method: "GET",
80
80
  headers: _headers,
81
81
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -106,7 +106,7 @@ class Orders {
106
106
  rawResponse: _response.rawResponse,
107
107
  });
108
108
  case "timeout":
109
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping_integrations/ontime360/orders/by_integration_order_id/detail/v1/{provider_org_id}/{integration_order_id}.");
109
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping_integrations/ontime360/orders/by_integration_order_id/detail/v1/{org_id}/{integration_order_id}.");
110
110
  case "unknown":
111
111
  throw new errors.ChrtError({
112
112
  message: _response.error.errorMessage,
@@ -33,16 +33,16 @@ export declare class Orders {
33
33
  /**
34
34
  * Returns one mirrored Xcelerator order by the provider's own order ID with the provider organization expanded. | () -> (XceleratorOrderExpanded1)
35
35
  *
36
- * @param {string} providerOrgId - CHRT org ID of the courier whose Xcelerator instance holds the order
36
+ * @param {string} orgId - CHRT org ID of the other party (executor if caller is coordinator, coordinator if caller is executor)
37
37
  * @param {string} integrationOrderId - Xcelerator's own ID for the order (its OrderTrackingId), as carried on a unified order row
38
38
  * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
39
39
  *
40
40
  * @throws {@link Chrt.UnprocessableEntityError}
41
41
  *
42
42
  * @example
43
- * await client.shippingIntegrations.xcelerator.orders.detailByIntegrationOrderIdV1("provider_org_id", "integration_order_id")
43
+ * await client.shippingIntegrations.xcelerator.orders.detailByIntegrationOrderIdV1("org_id", "integration_order_id")
44
44
  */
45
- detailByIntegrationOrderIdV1(providerOrgId: string, integrationOrderId: string, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Chrt.XceleratorOrderExpanded1>;
45
+ detailByIntegrationOrderIdV1(orgId: string, integrationOrderId: string, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Chrt.XceleratorOrderExpanded1>;
46
46
  private __detailByIntegrationOrderIdV1;
47
47
  /**
48
48
  * Returns one mirrored Xcelerator order by its Mongo ObjectId with the provider organization expanded. | () -> (XceleratorOrderExpanded1)
@@ -58,24 +58,24 @@ class Orders {
58
58
  /**
59
59
  * Returns one mirrored Xcelerator order by the provider's own order ID with the provider organization expanded. | () -> (XceleratorOrderExpanded1)
60
60
  *
61
- * @param {string} providerOrgId - CHRT org ID of the courier whose Xcelerator instance holds the order
61
+ * @param {string} orgId - CHRT org ID of the other party (executor if caller is coordinator, coordinator if caller is executor)
62
62
  * @param {string} integrationOrderId - Xcelerator's own ID for the order (its OrderTrackingId), as carried on a unified order row
63
63
  * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
64
64
  *
65
65
  * @throws {@link Chrt.UnprocessableEntityError}
66
66
  *
67
67
  * @example
68
- * await client.shippingIntegrations.xcelerator.orders.detailByIntegrationOrderIdV1("provider_org_id", "integration_order_id")
68
+ * await client.shippingIntegrations.xcelerator.orders.detailByIntegrationOrderIdV1("org_id", "integration_order_id")
69
69
  */
70
- detailByIntegrationOrderIdV1(providerOrgId, integrationOrderId, requestOptions) {
71
- return core.HttpResponsePromise.fromPromise(this.__detailByIntegrationOrderIdV1(providerOrgId, integrationOrderId, requestOptions));
70
+ detailByIntegrationOrderIdV1(orgId, integrationOrderId, requestOptions) {
71
+ return core.HttpResponsePromise.fromPromise(this.__detailByIntegrationOrderIdV1(orgId, integrationOrderId, requestOptions));
72
72
  }
73
- __detailByIntegrationOrderIdV1(providerOrgId, integrationOrderId, requestOptions) {
73
+ __detailByIntegrationOrderIdV1(orgId, integrationOrderId, requestOptions) {
74
74
  return __awaiter(this, void 0, void 0, function* () {
75
75
  var _a, _b, _c, _d;
76
76
  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);
77
77
  const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
78
- 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, `shipping_integrations/xcelerator/orders/by_integration_order_id/detail/v1/${encodeURIComponent(providerOrgId)}/${encodeURIComponent(integrationOrderId)}`),
78
+ 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, `shipping_integrations/xcelerator/orders/by_integration_order_id/detail/v1/${encodeURIComponent(orgId)}/${encodeURIComponent(integrationOrderId)}`),
79
79
  method: "GET",
80
80
  headers: _headers,
81
81
  queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
@@ -106,7 +106,7 @@ class Orders {
106
106
  rawResponse: _response.rawResponse,
107
107
  });
108
108
  case "timeout":
109
- throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping_integrations/xcelerator/orders/by_integration_order_id/detail/v1/{provider_org_id}/{integration_order_id}.");
109
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping_integrations/xcelerator/orders/by_integration_order_id/detail/v1/{org_id}/{integration_order_id}.");
110
110
  case "unknown":
111
111
  throw new errors.ChrtError({
112
112
  message: _response.error.errorMessage,
@@ -63,7 +63,7 @@ export declare class Sessions {
63
63
  flightLegsV1(request: Chrt.tracking.SessionsFlightLegsV1Request, requestOptions?: Sessions.RequestOptions): core.HttpResponsePromise<Chrt.FlightLeg1[]>;
64
64
  private __flightLegsV1;
65
65
  /**
66
- * Returns the raw Cirium positional track for one of the session's flight legs; pass force_refresh=true to bypass the cache. Access restricted to the caller's organization or shared organizations. | auth: api_key | authz: min_org_role=operator | () -> (FlightTrackRes)
66
+ * Returns the Cirium positional track for one of the session's flight legs; pass force_refresh=true to bypass the cache. Access restricted to the caller's organization or shared organizations. | auth: api_key | authz: min_org_role=operator | () -> (FlightTrackRes)
67
67
  *
68
68
  * @param {Chrt.tracking.SessionsFlightTrackV1Request} request
69
69
  * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
@@ -203,7 +203,7 @@ class Sessions {
203
203
  });
204
204
  }
205
205
  /**
206
- * Returns the raw Cirium positional track for one of the session's flight legs; pass force_refresh=true to bypass the cache. Access restricted to the caller's organization or shared organizations. | auth: api_key | authz: min_org_role=operator | () -> (FlightTrackRes)
206
+ * Returns the Cirium positional track for one of the session's flight legs; pass force_refresh=true to bypass the cache. Access restricted to the caller's organization or shared organizations. | auth: api_key | authz: min_org_role=operator | () -> (FlightTrackRes)
207
207
  *
208
208
  * @param {Chrt.tracking.SessionsFlightTrackV1Request} request
209
209
  * @param {Sessions.RequestOptions} requestOptions - Request-specific configuration.
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.949.0";
1
+ export declare const SDK_VERSION = "1.953.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "1.949.0";
4
+ exports.SDK_VERSION = "1.953.0";
@@ -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.949.0",
28
- "User-Agent": "@chrt-inc/typescript-sdk/1.949.0",
27
+ "X-Fern-SDK-Version": "1.953.0",
28
+ "User-Agent": "@chrt-inc/typescript-sdk/1.953.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) });
@@ -70,7 +70,7 @@ export declare class Flights {
70
70
  getFlightStatusForFlightLegV1(flightLegId: string, requestOptions?: Flights.RequestOptions): core.HttpResponsePromise<Chrt.FlightLeg1>;
71
71
  private __getFlightStatusForFlightLegV1;
72
72
  /**
73
- * Returns the raw Cirium positional track for a flight leg; pass force_refresh=true to bypass the cache. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, order_executor_org_operators, shipper_org_operators] | () -> (FlightTrackRes)
73
+ * Returns the Cirium positional track for a flight leg; pass force_refresh=true to bypass the cache. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, order_executor_org_operators, shipper_org_operators] | () -> (FlightTrackRes)
74
74
  *
75
75
  * @param {string} flightLegId
76
76
  * @param {Chrt.shipping.FlightsGetFlightTrackForFlightLegV1Request} request
@@ -197,7 +197,7 @@ export class Flights {
197
197
  });
198
198
  }
199
199
  /**
200
- * Returns the raw Cirium positional track for a flight leg; pass force_refresh=true to bypass the cache. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, order_executor_org_operators, shipper_org_operators] | () -> (FlightTrackRes)
200
+ * Returns the Cirium positional track for a flight leg; pass force_refresh=true to bypass the cache. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, order_executor_org_operators, shipper_org_operators] | () -> (FlightTrackRes)
201
201
  *
202
202
  * @param {string} flightLegId
203
203
  * @param {Chrt.shipping.FlightsGetFlightTrackForFlightLegV1Request} request
@@ -104,6 +104,7 @@ export declare class OrderTemplatesNew {
104
104
  * search: "search",
105
105
  * filter_archived: true,
106
106
  * filter_owned_by_user_id: "filter_owned_by_user_id",
107
+ * filter_coordinator_label: "filter_coordinator_label",
107
108
  * filter_executor_org_id: "filter_executor_org_id",
108
109
  * filter_off_chrt_executor_org_data_id: "filter_off_chrt_executor_org_data_id",
109
110
  * filter_shipper_org_id: "filter_shipper_org_id",
@@ -248,6 +248,7 @@ export class OrderTemplatesNew {
248
248
  * search: "search",
249
249
  * filter_archived: true,
250
250
  * filter_owned_by_user_id: "filter_owned_by_user_id",
251
+ * filter_coordinator_label: "filter_coordinator_label",
251
252
  * filter_executor_org_id: "filter_executor_org_id",
252
253
  * filter_off_chrt_executor_org_data_id: "filter_off_chrt_executor_org_data_id",
253
254
  * filter_shipper_org_id: "filter_shipper_org_id",
@@ -267,7 +268,7 @@ export class OrderTemplatesNew {
267
268
  __listV1() {
268
269
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
269
270
  var _a, _b, _c, _d, _e, _f, _g;
270
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_archived: filterArchived, filter_owned_by_user_id: filterOwnedByUserId, filter_executor_org_id: filterExecutorOrgId, filter_off_chrt_executor_org_data_id: filterOffChrtExecutorOrgDataId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_last_edited_at_timestamp_gte: filterLastEditedAtTimestampGte, filter_last_edited_at_timestamp_lte: filterLastEditedAtTimestampLte, filter_last_used_at_timestamp_gte: filterLastUsedAtTimestampGte, filter_last_used_at_timestamp_lte: filterLastUsedAtTimestampLte, } = request;
271
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_archived: filterArchived, filter_owned_by_user_id: filterOwnedByUserId, filter_coordinator_label: filterCoordinatorLabel, filter_executor_org_id: filterExecutorOrgId, filter_off_chrt_executor_org_data_id: filterOffChrtExecutorOrgDataId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_created_at_timestamp_gte: filterCreatedAtTimestampGte, filter_created_at_timestamp_lte: filterCreatedAtTimestampLte, filter_last_edited_at_timestamp_gte: filterLastEditedAtTimestampGte, filter_last_edited_at_timestamp_lte: filterLastEditedAtTimestampLte, filter_last_used_at_timestamp_gte: filterLastUsedAtTimestampGte, filter_last_used_at_timestamp_lte: filterLastUsedAtTimestampLte, } = request;
271
272
  const _queryParams = {};
272
273
  if (sortBy !== undefined) {
273
274
  _queryParams["sort_by"] = sortBy;
@@ -290,6 +291,9 @@ export class OrderTemplatesNew {
290
291
  if (filterOwnedByUserId !== undefined) {
291
292
  _queryParams["filter_owned_by_user_id"] = filterOwnedByUserId;
292
293
  }
294
+ if (filterCoordinatorLabel !== undefined) {
295
+ _queryParams["filter_coordinator_label"] = filterCoordinatorLabel;
296
+ }
293
297
  if (filterExecutorOrgId !== undefined) {
294
298
  _queryParams["filter_executor_org_id"] = filterExecutorOrgId;
295
299
  }
@@ -12,6 +12,7 @@ import * as Chrt from "../../../../../../index.mjs";
12
12
  * search: "search",
13
13
  * filter_archived: true,
14
14
  * filter_owned_by_user_id: "filter_owned_by_user_id",
15
+ * filter_coordinator_label: "filter_coordinator_label",
15
16
  * filter_executor_org_id: "filter_executor_org_id",
16
17
  * filter_off_chrt_executor_org_data_id: "filter_off_chrt_executor_org_data_id",
17
18
  * filter_shipper_org_id: "filter_shipper_org_id",
@@ -38,6 +39,8 @@ export interface OrderTemplatesNewListV1Request {
38
39
  filter_archived?: boolean | null;
39
40
  /** Filter by the user that created the template. */
40
41
  filter_owned_by_user_id?: string | null;
42
+ /** Filter by coordinator label. */
43
+ filter_coordinator_label?: string | null;
41
44
  /** Filter by an on-CHRT executor organization ID. */
42
45
  filter_executor_org_id?: string | null;
43
46
  /** Filter by an off-CHRT executor organization data ID. */