@chrt-inc/typescript-sdk 1.639.0 → 1.641.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 (164) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/Client.d.ts +0 -1
  3. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/Client.js +0 -1
  4. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.d.ts +0 -1
  5. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/Client.d.ts +0 -1
  6. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/Client.js +0 -1
  7. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgersListV1Request.d.ts +0 -1
  8. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.d.ts +0 -1
  9. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.js +0 -1
  10. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListV1Request.d.ts +0 -1
  11. package/dist/cjs/api/resources/billing/resources/statements/client/Client.d.ts +0 -2
  12. package/dist/cjs/api/resources/billing/resources/statements/client/Client.js +0 -2
  13. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.ts +0 -1
  14. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.ts +0 -1
  15. package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.d.ts +0 -2
  16. package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.js +0 -2
  17. package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.d.ts +0 -1
  18. package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.d.ts +0 -1
  19. package/dist/cjs/api/resources/listing/resources/listings/client/Client.d.ts +0 -6
  20. package/dist/cjs/api/resources/listing/resources/listings/client/Client.js +0 -6
  21. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListByOrgV1Request.d.ts +0 -2
  22. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.d.ts +0 -2
  23. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.d.ts +0 -2
  24. package/dist/cjs/api/resources/operations/resources/cases/client/Client.d.ts +0 -2
  25. package/dist/cjs/api/resources/operations/resources/cases/client/Client.js +0 -2
  26. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.ts +0 -2
  27. package/dist/cjs/api/resources/operations/resources/departments/client/Client.d.ts +1 -2
  28. package/dist/cjs/api/resources/operations/resources/departments/client/Client.js +1 -2
  29. package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.ts +1 -2
  30. package/dist/cjs/api/resources/orgs/client/Client.d.ts +0 -1
  31. package/dist/cjs/api/resources/orgs/client/Client.js +0 -1
  32. package/dist/cjs/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.ts +0 -1
  33. package/dist/cjs/api/resources/shipping/client/Client.d.ts +3 -0
  34. package/dist/cjs/api/resources/shipping/client/Client.js +9 -4
  35. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +0 -1
  36. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +0 -1
  37. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.ts +0 -1
  38. package/dist/cjs/api/resources/shipping/resources/index.d.ts +2 -0
  39. package/dist/cjs/api/resources/shipping/resources/index.js +3 -1
  40. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/Client.d.ts +112 -0
  41. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/Client.js +429 -0
  42. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/index.d.ts +2 -0
  43. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/index.js +17 -0
  44. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/requests/OrderScheduleCreateReq.d.ts +12 -0
  45. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/requests/OrderScheduleRoundTripModelTestReq.d.ts +12 -0
  46. package/dist/cjs/api/resources/{utils/resources/dev/client/requests/AgentReq.d.ts → shipping/resources/orderSchedules/client/requests/OrderScheduleUpdateReq.d.ts} +2 -2
  47. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/requests/index.d.ts +3 -0
  48. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/requests/index.js +2 -0
  49. package/dist/cjs/api/resources/shipping/resources/orderSchedules/index.d.ts +1 -0
  50. package/dist/cjs/api/resources/shipping/resources/orderSchedules/index.js +17 -0
  51. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +0 -2
  52. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +0 -2
  53. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +0 -1
  54. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +0 -1
  55. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +0 -2
  56. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +0 -2
  57. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.ts +0 -1
  58. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +0 -1
  59. package/dist/cjs/api/resources/utils/resources/dev/client/Client.d.ts +12 -12
  60. package/dist/cjs/api/resources/utils/resources/dev/client/Client.js +20 -20
  61. package/dist/cjs/api/resources/utils/resources/dev/client/requests/PingOpenAiReq.d.ts +12 -0
  62. package/dist/cjs/api/resources/utils/resources/dev/client/requests/{ScheduledHelloPocReq.d.ts → ScheduledPingReq.d.ts} +3 -5
  63. package/dist/cjs/api/resources/utils/resources/dev/client/requests/ScheduledPingReq.js +5 -0
  64. package/dist/cjs/api/resources/utils/resources/dev/client/requests/index.d.ts +2 -2
  65. package/dist/cjs/api/types/OrderScheduleRoundTripModelTestRes.d.ts +11 -0
  66. package/dist/cjs/api/types/OrderScheduleRoundTripModelTestRes.js +5 -0
  67. package/dist/cjs/api/types/OrderScheduleStub.d.ts +7 -0
  68. package/dist/cjs/api/types/OrderScheduleStub.js +5 -0
  69. package/dist/cjs/api/types/PingOpenAiRes.d.ts +6 -0
  70. package/dist/cjs/api/types/PingOpenAiRes.js +5 -0
  71. package/dist/cjs/api/types/{ScheduledHelloPocRes.d.ts → ScheduledPingRes.d.ts} +3 -3
  72. package/dist/cjs/api/types/ScheduledPingRes.js +5 -0
  73. package/dist/cjs/api/types/index.d.ts +4 -2
  74. package/dist/cjs/api/types/index.js +4 -2
  75. package/dist/cjs/version.d.ts +1 -1
  76. package/dist/cjs/version.js +1 -1
  77. package/dist/esm/Client.mjs +2 -2
  78. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/Client.d.mts +0 -1
  79. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/Client.mjs +0 -1
  80. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.d.mts +0 -1
  81. package/dist/esm/api/resources/billing/resources/billingLedgers/client/Client.d.mts +0 -1
  82. package/dist/esm/api/resources/billing/resources/billingLedgers/client/Client.mjs +0 -1
  83. package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgersListV1Request.d.mts +0 -1
  84. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.d.mts +0 -1
  85. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.mjs +0 -1
  86. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListV1Request.d.mts +0 -1
  87. package/dist/esm/api/resources/billing/resources/statements/client/Client.d.mts +0 -2
  88. package/dist/esm/api/resources/billing/resources/statements/client/Client.mjs +0 -2
  89. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.mts +0 -1
  90. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.mts +0 -1
  91. package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.d.mts +0 -2
  92. package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.mjs +0 -2
  93. package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.d.mts +0 -1
  94. package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.d.mts +0 -1
  95. package/dist/esm/api/resources/listing/resources/listings/client/Client.d.mts +0 -6
  96. package/dist/esm/api/resources/listing/resources/listings/client/Client.mjs +0 -6
  97. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListByOrgV1Request.d.mts +0 -2
  98. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.d.mts +0 -2
  99. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.d.mts +0 -2
  100. package/dist/esm/api/resources/operations/resources/cases/client/Client.d.mts +0 -2
  101. package/dist/esm/api/resources/operations/resources/cases/client/Client.mjs +0 -2
  102. package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.mts +0 -2
  103. package/dist/esm/api/resources/operations/resources/departments/client/Client.d.mts +1 -2
  104. package/dist/esm/api/resources/operations/resources/departments/client/Client.mjs +1 -2
  105. package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.mts +1 -2
  106. package/dist/esm/api/resources/orgs/client/Client.d.mts +0 -1
  107. package/dist/esm/api/resources/orgs/client/Client.mjs +0 -1
  108. package/dist/esm/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.mts +0 -1
  109. package/dist/esm/api/resources/shipping/client/Client.d.mts +3 -0
  110. package/dist/esm/api/resources/shipping/client/Client.mjs +5 -0
  111. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +0 -1
  112. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +0 -1
  113. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.mts +0 -1
  114. package/dist/esm/api/resources/shipping/resources/index.d.mts +2 -0
  115. package/dist/esm/api/resources/shipping/resources/index.mjs +2 -0
  116. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/Client.d.mts +112 -0
  117. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/Client.mjs +392 -0
  118. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/index.d.mts +2 -0
  119. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/index.mjs +1 -0
  120. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/requests/OrderScheduleCreateReq.d.mts +12 -0
  121. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/requests/OrderScheduleRoundTripModelTestReq.d.mts +12 -0
  122. package/dist/esm/api/resources/{utils/resources/dev/client/requests/AgentReq.d.mts → shipping/resources/orderSchedules/client/requests/OrderScheduleUpdateReq.d.mts} +2 -2
  123. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/requests/index.d.mts +3 -0
  124. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/requests/index.mjs +1 -0
  125. package/dist/esm/api/resources/shipping/resources/orderSchedules/index.d.mts +1 -0
  126. package/dist/esm/api/resources/shipping/resources/orderSchedules/index.mjs +1 -0
  127. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +0 -2
  128. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +0 -2
  129. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +0 -1
  130. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +0 -1
  131. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +0 -2
  132. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +0 -2
  133. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.mts +0 -1
  134. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +0 -1
  135. package/dist/esm/api/resources/utils/resources/dev/client/Client.d.mts +12 -12
  136. package/dist/esm/api/resources/utils/resources/dev/client/Client.mjs +20 -20
  137. package/dist/esm/api/resources/utils/resources/dev/client/requests/PingOpenAiReq.d.mts +12 -0
  138. package/dist/esm/api/resources/utils/resources/dev/client/requests/{ScheduledHelloPocReq.d.mts → ScheduledPingReq.d.mts} +3 -5
  139. package/dist/esm/api/resources/utils/resources/dev/client/requests/ScheduledPingReq.mjs +4 -0
  140. package/dist/esm/api/resources/utils/resources/dev/client/requests/index.d.mts +2 -2
  141. package/dist/esm/api/types/OrderScheduleRoundTripModelTestRes.d.mts +11 -0
  142. package/dist/esm/api/types/OrderScheduleRoundTripModelTestRes.mjs +4 -0
  143. package/dist/esm/api/types/OrderScheduleStub.d.mts +7 -0
  144. package/dist/esm/api/types/OrderScheduleStub.mjs +4 -0
  145. package/dist/esm/api/types/PingOpenAiRes.d.mts +6 -0
  146. package/dist/esm/api/types/PingOpenAiRes.mjs +4 -0
  147. package/dist/esm/api/types/{ScheduledHelloPocRes.d.mts → ScheduledPingRes.d.mts} +3 -3
  148. package/dist/esm/api/types/ScheduledPingRes.mjs +4 -0
  149. package/dist/esm/api/types/index.d.mts +4 -2
  150. package/dist/esm/api/types/index.mjs +4 -2
  151. package/dist/esm/version.d.mts +1 -1
  152. package/dist/esm/version.mjs +1 -1
  153. package/package.json +1 -1
  154. package/reference.md +392 -32
  155. package/dist/cjs/api/types/AgentRes.d.ts +0 -8
  156. package/dist/esm/api/types/AgentRes.d.mts +0 -8
  157. /package/dist/cjs/api/resources/{utils/resources/dev/client/requests/AgentReq.js → shipping/resources/orderSchedules/client/requests/OrderScheduleCreateReq.js} +0 -0
  158. /package/dist/cjs/api/resources/{utils/resources/dev/client/requests/ScheduledHelloPocReq.js → shipping/resources/orderSchedules/client/requests/OrderScheduleRoundTripModelTestReq.js} +0 -0
  159. /package/dist/cjs/api/{types/AgentRes.js → resources/shipping/resources/orderSchedules/client/requests/OrderScheduleUpdateReq.js} +0 -0
  160. /package/dist/cjs/api/{types/ScheduledHelloPocRes.js → resources/utils/resources/dev/client/requests/PingOpenAiReq.js} +0 -0
  161. /package/dist/esm/api/resources/{utils/resources/dev/client/requests/AgentReq.mjs → shipping/resources/orderSchedules/client/requests/OrderScheduleCreateReq.mjs} +0 -0
  162. /package/dist/esm/api/resources/{utils/resources/dev/client/requests/ScheduledHelloPocReq.mjs → shipping/resources/orderSchedules/client/requests/OrderScheduleRoundTripModelTestReq.mjs} +0 -0
  163. /package/dist/esm/api/{types/AgentRes.mjs → resources/shipping/resources/orderSchedules/client/requests/OrderScheduleUpdateReq.mjs} +0 -0
  164. /package/dist/esm/api/{types/ScheduledHelloPocRes.mjs → resources/utils/resources/dev/client/requests/PingOpenAiReq.mjs} +0 -0
@@ -0,0 +1,429 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
39
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
40
+ return new (P || (P = Promise))(function (resolve, reject) {
41
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
42
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
43
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
44
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
45
+ });
46
+ };
47
+ Object.defineProperty(exports, "__esModule", { value: true });
48
+ exports.OrderSchedules = void 0;
49
+ const environments = __importStar(require("../../../../../../environments.js"));
50
+ const core = __importStar(require("../../../../../../core/index.js"));
51
+ const Chrt = __importStar(require("../../../../../index.js"));
52
+ const headers_js_1 = require("../../../../../../core/headers.js");
53
+ const errors = __importStar(require("../../../../../../errors/index.js"));
54
+ class OrderSchedules {
55
+ constructor(_options = {}) {
56
+ this._options = _options;
57
+ }
58
+ /**
59
+ * Retrieves an order schedule by ID. | () -> (OrderScheduleStub)
60
+ *
61
+ * @param {string} orderScheduleId
62
+ * @param {OrderSchedules.RequestOptions} requestOptions - Request-specific configuration.
63
+ *
64
+ * @throws {@link Chrt.UnprocessableEntityError}
65
+ *
66
+ * @example
67
+ * await client.shipping.orderSchedules.getByIdV1("order_schedule_id")
68
+ */
69
+ getByIdV1(orderScheduleId, requestOptions) {
70
+ return core.HttpResponsePromise.fromPromise(this.__getByIdV1(orderScheduleId, requestOptions));
71
+ }
72
+ __getByIdV1(orderScheduleId, requestOptions) {
73
+ return __awaiter(this, void 0, void 0, function* () {
74
+ var _a, _b, _c, _d;
75
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
76
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
77
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/order_schedules/v1/${encodeURIComponent(orderScheduleId)}`),
78
+ method: "GET",
79
+ headers: _headers,
80
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
81
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
82
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
83
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
84
+ });
85
+ if (_response.ok) {
86
+ return { data: _response.body, rawResponse: _response.rawResponse };
87
+ }
88
+ if (_response.error.reason === "status-code") {
89
+ switch (_response.error.statusCode) {
90
+ case 422:
91
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
92
+ default:
93
+ throw new errors.ChrtError({
94
+ statusCode: _response.error.statusCode,
95
+ body: _response.error.body,
96
+ rawResponse: _response.rawResponse,
97
+ });
98
+ }
99
+ }
100
+ switch (_response.error.reason) {
101
+ case "non-json":
102
+ throw new errors.ChrtError({
103
+ statusCode: _response.error.statusCode,
104
+ body: _response.error.rawBody,
105
+ rawResponse: _response.rawResponse,
106
+ });
107
+ case "timeout":
108
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/order_schedules/v1/{order_schedule_id}.");
109
+ case "unknown":
110
+ throw new errors.ChrtError({
111
+ message: _response.error.errorMessage,
112
+ rawResponse: _response.rawResponse,
113
+ });
114
+ }
115
+ });
116
+ }
117
+ /**
118
+ * Lists order schedules for the caller's organization. | () -> (list[OrderScheduleStub])
119
+ *
120
+ * @param {OrderSchedules.RequestOptions} requestOptions - Request-specific configuration.
121
+ *
122
+ * @example
123
+ * await client.shipping.orderSchedules.listV1()
124
+ */
125
+ listV1(requestOptions) {
126
+ return core.HttpResponsePromise.fromPromise(this.__listV1(requestOptions));
127
+ }
128
+ __listV1(requestOptions) {
129
+ return __awaiter(this, void 0, void 0, function* () {
130
+ var _a, _b, _c, _d;
131
+ 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);
132
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
133
+ 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/order_schedules/list/v1"),
134
+ method: "GET",
135
+ headers: _headers,
136
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
137
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
138
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
139
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
140
+ });
141
+ if (_response.ok) {
142
+ return { data: _response.body, rawResponse: _response.rawResponse };
143
+ }
144
+ if (_response.error.reason === "status-code") {
145
+ throw new errors.ChrtError({
146
+ statusCode: _response.error.statusCode,
147
+ body: _response.error.body,
148
+ rawResponse: _response.rawResponse,
149
+ });
150
+ }
151
+ switch (_response.error.reason) {
152
+ case "non-json":
153
+ throw new errors.ChrtError({
154
+ statusCode: _response.error.statusCode,
155
+ body: _response.error.rawBody,
156
+ rawResponse: _response.rawResponse,
157
+ });
158
+ case "timeout":
159
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/order_schedules/list/v1.");
160
+ case "unknown":
161
+ throw new errors.ChrtError({
162
+ message: _response.error.errorMessage,
163
+ rawResponse: _response.rawResponse,
164
+ });
165
+ }
166
+ });
167
+ }
168
+ /**
169
+ * Creates an order schedule. | (OrderScheduleCreateReq) -> (PydanticObjectId)
170
+ *
171
+ * @param {Chrt.shipping.OrderScheduleCreateReq} request
172
+ * @param {OrderSchedules.RequestOptions} requestOptions - Request-specific configuration.
173
+ *
174
+ * @throws {@link Chrt.UnprocessableEntityError}
175
+ *
176
+ * @example
177
+ * await client.shipping.orderSchedules.createV1({
178
+ * name: "name"
179
+ * })
180
+ */
181
+ createV1(request, requestOptions) {
182
+ return core.HttpResponsePromise.fromPromise(this.__createV1(request, requestOptions));
183
+ }
184
+ __createV1(request, requestOptions) {
185
+ return __awaiter(this, void 0, void 0, function* () {
186
+ var _a, _b, _c, _d;
187
+ 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);
188
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
189
+ 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/order_schedules/create/v1"),
190
+ method: "POST",
191
+ headers: _headers,
192
+ contentType: "application/json",
193
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
194
+ requestType: "json",
195
+ body: request,
196
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
197
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
198
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
199
+ });
200
+ if (_response.ok) {
201
+ return { data: _response.body, rawResponse: _response.rawResponse };
202
+ }
203
+ if (_response.error.reason === "status-code") {
204
+ switch (_response.error.statusCode) {
205
+ case 422:
206
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
207
+ default:
208
+ throw new errors.ChrtError({
209
+ statusCode: _response.error.statusCode,
210
+ body: _response.error.body,
211
+ rawResponse: _response.rawResponse,
212
+ });
213
+ }
214
+ }
215
+ switch (_response.error.reason) {
216
+ case "non-json":
217
+ throw new errors.ChrtError({
218
+ statusCode: _response.error.statusCode,
219
+ body: _response.error.rawBody,
220
+ rawResponse: _response.rawResponse,
221
+ });
222
+ case "timeout":
223
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/order_schedules/create/v1.");
224
+ case "unknown":
225
+ throw new errors.ChrtError({
226
+ message: _response.error.errorMessage,
227
+ rawResponse: _response.rawResponse,
228
+ });
229
+ }
230
+ });
231
+ }
232
+ /**
233
+ * Echoes Temporal schedule specs to test SDK round trips. | (OrderScheduleRoundTripModelTestReq) -> (OrderScheduleRoundTripModelTestRes)
234
+ *
235
+ * @param {Chrt.shipping.OrderScheduleRoundTripModelTestReq} request
236
+ * @param {OrderSchedules.RequestOptions} requestOptions - Request-specific configuration.
237
+ *
238
+ * @throws {@link Chrt.UnprocessableEntityError}
239
+ *
240
+ * @example
241
+ * await client.shipping.orderSchedules.roundTripModelTestV1()
242
+ */
243
+ roundTripModelTestV1(request = {}, requestOptions) {
244
+ return core.HttpResponsePromise.fromPromise(this.__roundTripModelTestV1(request, requestOptions));
245
+ }
246
+ __roundTripModelTestV1() {
247
+ return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
248
+ var _a, _b, _c, _d;
249
+ 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);
250
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
251
+ 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/order_schedules/round_trip_model_test/v1"),
252
+ method: "POST",
253
+ headers: _headers,
254
+ contentType: "application/json",
255
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
256
+ requestType: "json",
257
+ body: request,
258
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
259
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
260
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
261
+ });
262
+ if (_response.ok) {
263
+ return {
264
+ data: _response.body,
265
+ rawResponse: _response.rawResponse,
266
+ };
267
+ }
268
+ if (_response.error.reason === "status-code") {
269
+ switch (_response.error.statusCode) {
270
+ case 422:
271
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
272
+ default:
273
+ throw new errors.ChrtError({
274
+ statusCode: _response.error.statusCode,
275
+ body: _response.error.body,
276
+ rawResponse: _response.rawResponse,
277
+ });
278
+ }
279
+ }
280
+ switch (_response.error.reason) {
281
+ case "non-json":
282
+ throw new errors.ChrtError({
283
+ statusCode: _response.error.statusCode,
284
+ body: _response.error.rawBody,
285
+ rawResponse: _response.rawResponse,
286
+ });
287
+ case "timeout":
288
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/order_schedules/round_trip_model_test/v1.");
289
+ case "unknown":
290
+ throw new errors.ChrtError({
291
+ message: _response.error.errorMessage,
292
+ rawResponse: _response.rawResponse,
293
+ });
294
+ }
295
+ });
296
+ }
297
+ /**
298
+ * Updates an order schedule. | (OrderScheduleUpdateReq) -> (bool)
299
+ *
300
+ * @param {string} orderScheduleId
301
+ * @param {Chrt.shipping.OrderScheduleUpdateReq} request
302
+ * @param {OrderSchedules.RequestOptions} requestOptions - Request-specific configuration.
303
+ *
304
+ * @throws {@link Chrt.UnprocessableEntityError}
305
+ *
306
+ * @example
307
+ * await client.shipping.orderSchedules.updateV1("order_schedule_id")
308
+ */
309
+ updateV1(orderScheduleId, request = {}, requestOptions) {
310
+ return core.HttpResponsePromise.fromPromise(this.__updateV1(orderScheduleId, request, requestOptions));
311
+ }
312
+ __updateV1(orderScheduleId_1) {
313
+ return __awaiter(this, arguments, void 0, function* (orderScheduleId, request = {}, requestOptions) {
314
+ var _a, _b, _c, _d;
315
+ 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);
316
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
317
+ 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/order_schedules/update/v1/${encodeURIComponent(orderScheduleId)}`),
318
+ method: "PATCH",
319
+ headers: _headers,
320
+ contentType: "application/json",
321
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
322
+ requestType: "json",
323
+ body: request,
324
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
325
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
326
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
327
+ });
328
+ if (_response.ok) {
329
+ return { data: _response.body, rawResponse: _response.rawResponse };
330
+ }
331
+ if (_response.error.reason === "status-code") {
332
+ switch (_response.error.statusCode) {
333
+ case 422:
334
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
335
+ default:
336
+ throw new errors.ChrtError({
337
+ statusCode: _response.error.statusCode,
338
+ body: _response.error.body,
339
+ rawResponse: _response.rawResponse,
340
+ });
341
+ }
342
+ }
343
+ switch (_response.error.reason) {
344
+ case "non-json":
345
+ throw new errors.ChrtError({
346
+ statusCode: _response.error.statusCode,
347
+ body: _response.error.rawBody,
348
+ rawResponse: _response.rawResponse,
349
+ });
350
+ case "timeout":
351
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /shipping/order_schedules/update/v1/{order_schedule_id}.");
352
+ case "unknown":
353
+ throw new errors.ChrtError({
354
+ message: _response.error.errorMessage,
355
+ rawResponse: _response.rawResponse,
356
+ });
357
+ }
358
+ });
359
+ }
360
+ /**
361
+ * Deletes an order schedule. | () -> (bool)
362
+ *
363
+ * @param {string} orderScheduleId
364
+ * @param {OrderSchedules.RequestOptions} requestOptions - Request-specific configuration.
365
+ *
366
+ * @throws {@link Chrt.UnprocessableEntityError}
367
+ *
368
+ * @example
369
+ * await client.shipping.orderSchedules.deleteV1("order_schedule_id")
370
+ */
371
+ deleteV1(orderScheduleId, requestOptions) {
372
+ return core.HttpResponsePromise.fromPromise(this.__deleteV1(orderScheduleId, requestOptions));
373
+ }
374
+ __deleteV1(orderScheduleId, requestOptions) {
375
+ return __awaiter(this, void 0, void 0, function* () {
376
+ var _a, _b, _c, _d;
377
+ 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);
378
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
379
+ 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/order_schedules/delete/v1/${encodeURIComponent(orderScheduleId)}`),
380
+ method: "DELETE",
381
+ headers: _headers,
382
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
383
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
384
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
385
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
386
+ });
387
+ if (_response.ok) {
388
+ return { data: _response.body, rawResponse: _response.rawResponse };
389
+ }
390
+ if (_response.error.reason === "status-code") {
391
+ switch (_response.error.statusCode) {
392
+ case 422:
393
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
394
+ default:
395
+ throw new errors.ChrtError({
396
+ statusCode: _response.error.statusCode,
397
+ body: _response.error.body,
398
+ rawResponse: _response.rawResponse,
399
+ });
400
+ }
401
+ }
402
+ switch (_response.error.reason) {
403
+ case "non-json":
404
+ throw new errors.ChrtError({
405
+ statusCode: _response.error.statusCode,
406
+ body: _response.error.rawBody,
407
+ rawResponse: _response.rawResponse,
408
+ });
409
+ case "timeout":
410
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /shipping/order_schedules/delete/v1/{order_schedule_id}.");
411
+ case "unknown":
412
+ throw new errors.ChrtError({
413
+ message: _response.error.errorMessage,
414
+ rawResponse: _response.rawResponse,
415
+ });
416
+ }
417
+ });
418
+ }
419
+ _getAuthorizationHeader() {
420
+ return __awaiter(this, void 0, void 0, function* () {
421
+ const bearer = yield core.Supplier.get(this._options.token);
422
+ if (bearer != null) {
423
+ return `Bearer ${bearer}`;
424
+ }
425
+ return undefined;
426
+ });
427
+ }
428
+ }
429
+ exports.OrderSchedules = OrderSchedules;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ export * from "./requests/index.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests/index.js"), exports);
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * name: "name"
8
+ * }
9
+ */
10
+ export interface OrderScheduleCreateReq {
11
+ name: string;
12
+ }
@@ -0,0 +1,12 @@
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
+ */
9
+ export interface OrderScheduleRoundTripModelTestReq {
10
+ schedule_calendar_spec?: Chrt.ScheduleCalendarSpec | null;
11
+ schedule_interval_spec?: Chrt.ScheduleIntervalSpec | null;
12
+ }
@@ -5,6 +5,6 @@
5
5
  * @example
6
6
  * {}
7
7
  */
8
- export interface AgentReq {
9
- topics?: string[] | null;
8
+ export interface OrderScheduleUpdateReq {
9
+ name?: string | null;
10
10
  }
@@ -0,0 +1,3 @@
1
+ export { type OrderScheduleCreateReq } from "./OrderScheduleCreateReq.js";
2
+ export { type OrderScheduleRoundTripModelTestReq } from "./OrderScheduleRoundTripModelTestReq.js";
3
+ export { type OrderScheduleUpdateReq } from "./OrderScheduleUpdateReq.js";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export * from "./client/index.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client/index.js"), exports);
@@ -73,7 +73,6 @@ export declare class Expanded {
73
73
  * page: 1,
74
74
  * page_size: 1,
75
75
  * search: "search",
76
- * filter_status: ["draft"],
77
76
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
78
77
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
79
78
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -110,7 +109,6 @@ export declare class Expanded {
110
109
  * page: 1,
111
110
  * page_size: 1,
112
111
  * search: "search",
113
- * filter_status: ["draft"],
114
112
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
115
113
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
116
114
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -196,7 +196,6 @@ class Expanded {
196
196
  * page: 1,
197
197
  * page_size: 1,
198
198
  * search: "search",
199
- * filter_status: ["draft"],
200
199
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
201
200
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
202
201
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -355,7 +354,6 @@ class Expanded {
355
354
  * page: 1,
356
355
  * page_size: 1,
357
356
  * search: "search",
358
- * filter_status: ["draft"],
359
357
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
360
358
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
361
359
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -10,7 +10,6 @@ import * as Chrt from "../../../../../../../../index.js";
10
10
  * page: 1,
11
11
  * page_size: 1,
12
12
  * search: "search",
13
- * filter_status: ["draft"],
14
13
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
15
14
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
16
15
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -10,7 +10,6 @@ import * as Chrt from "../../../../../../../../index.js";
10
10
  * page: 1,
11
11
  * page_size: 1,
12
12
  * search: "search",
13
- * filter_status: ["draft"],
14
13
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
15
14
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
16
15
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -101,7 +101,6 @@ export declare class Expanded {
101
101
  * page: 1,
102
102
  * page_size: 1,
103
103
  * search: "search",
104
- * filter_status: ["draft"],
105
104
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
106
105
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
107
106
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -139,7 +138,6 @@ export declare class Expanded {
139
138
  * page: 1,
140
139
  * page_size: 1,
141
140
  * search: "search",
142
- * filter_status: ["draft"],
143
141
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
144
142
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
145
143
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -322,7 +322,6 @@ class Expanded {
322
322
  * page: 1,
323
323
  * page_size: 1,
324
324
  * search: "search",
325
- * filter_status: ["draft"],
326
325
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
327
326
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
328
327
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -485,7 +484,6 @@ class Expanded {
485
484
  * page: 1,
486
485
  * page_size: 1,
487
486
  * search: "search",
488
- * filter_status: ["draft"],
489
487
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
490
488
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
491
489
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -10,7 +10,6 @@ import * as Chrt from "../../../../../../../../index.js";
10
10
  * page: 1,
11
11
  * page_size: 1,
12
12
  * search: "search",
13
- * filter_status: ["draft"],
14
13
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
15
14
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
16
15
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -10,7 +10,6 @@ import * as Chrt from "../../../../../../../../index.js";
10
10
  * page: 1,
11
11
  * page_size: 1,
12
12
  * search: "search",
13
- * filter_status: ["draft"],
14
13
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
15
14
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
16
15
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",