@chrt-inc/typescript-sdk 1.847.0 → 1.858.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 (70) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/operations/resources/cases/client/Client.d.ts +30 -1
  3. package/dist/cjs/api/resources/operations/resources/cases/client/Client.js +125 -1
  4. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +3 -1
  5. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +10 -2
  6. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.ts +7 -1
  7. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.d.ts +5 -5
  8. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/Client.js +4 -4
  9. package/dist/cjs/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.ts +4 -4
  10. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.d.ts +2 -1
  11. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/Client.js +10 -4
  12. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.ts +4 -1
  13. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.ts +4 -1
  14. package/dist/cjs/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.ts +6 -3
  15. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +1 -1
  16. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +1 -1
  17. package/dist/cjs/api/types/Case1.d.ts +1 -0
  18. package/dist/cjs/api/types/OperationsTask1.d.ts +3 -0
  19. package/dist/cjs/api/types/OrderBuilderReq.d.ts +0 -2
  20. package/dist/cjs/api/types/OrderTemplate1.d.ts +4 -1
  21. package/dist/cjs/api/types/OrderTemplateCore1.d.ts +4 -1
  22. package/dist/cjs/api/types/OrderTemplateExpanded1.d.ts +1 -0
  23. package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.d.ts +2 -1
  24. package/dist/cjs/api/types/OrderTemplateReferenceColumnEnum1.js +1 -0
  25. package/dist/cjs/api/types/OrderTemplateResolvabilityRes.d.ts +1 -0
  26. package/dist/cjs/api/types/OrdersDraftDeleteManyRes.d.ts +7 -0
  27. package/dist/cjs/api/types/OrdersDraftDeleteManyRes.js +5 -0
  28. package/dist/cjs/api/types/ShippingTurnClientCreate1.d.ts +1 -0
  29. package/dist/cjs/api/types/TaskListToApplyToCase1.d.ts +7 -0
  30. package/dist/cjs/api/types/TaskListToApplyToCase1.js +5 -0
  31. package/dist/cjs/api/types/index.d.ts +2 -0
  32. package/dist/cjs/api/types/index.js +2 -0
  33. package/dist/cjs/version.d.ts +1 -1
  34. package/dist/cjs/version.js +1 -1
  35. package/dist/esm/Client.mjs +2 -2
  36. package/dist/esm/api/resources/operations/resources/cases/client/Client.d.mts +30 -1
  37. package/dist/esm/api/resources/operations/resources/cases/client/Client.mjs +125 -1
  38. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +3 -1
  39. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +10 -2
  40. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.mts +7 -1
  41. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.d.mts +5 -5
  42. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/Client.mjs +4 -4
  43. package/dist/esm/api/resources/shipping/resources/orderDrafts/client/requests/OrdersNewDraftReq.d.mts +4 -4
  44. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.d.mts +2 -1
  45. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/Client.mjs +10 -4
  46. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientCreate1.d.mts +4 -1
  47. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplateClientUpdate1.d.mts +4 -1
  48. package/dist/esm/api/resources/shipping/resources/orderTemplates/client/requests/OrderTemplatesListV1Request.d.mts +6 -3
  49. package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +1 -1
  50. package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +1 -1
  51. package/dist/esm/api/types/Case1.d.mts +1 -0
  52. package/dist/esm/api/types/OperationsTask1.d.mts +3 -0
  53. package/dist/esm/api/types/OrderBuilderReq.d.mts +0 -2
  54. package/dist/esm/api/types/OrderTemplate1.d.mts +4 -1
  55. package/dist/esm/api/types/OrderTemplateCore1.d.mts +4 -1
  56. package/dist/esm/api/types/OrderTemplateExpanded1.d.mts +1 -0
  57. package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.d.mts +2 -1
  58. package/dist/esm/api/types/OrderTemplateReferenceColumnEnum1.mjs +1 -0
  59. package/dist/esm/api/types/OrderTemplateResolvabilityRes.d.mts +1 -0
  60. package/dist/esm/api/types/OrdersDraftDeleteManyRes.d.mts +7 -0
  61. package/dist/esm/api/types/OrdersDraftDeleteManyRes.mjs +4 -0
  62. package/dist/esm/api/types/ShippingTurnClientCreate1.d.mts +1 -0
  63. package/dist/esm/api/types/TaskListToApplyToCase1.d.mts +7 -0
  64. package/dist/esm/api/types/TaskListToApplyToCase1.mjs +4 -0
  65. package/dist/esm/api/types/index.d.mts +2 -0
  66. package/dist/esm/api/types/index.mjs +2 -0
  67. package/dist/esm/version.d.mts +1 -1
  68. package/dist/esm/version.mjs +1 -1
  69. package/package.json +1 -1
  70. package/reference.md +164 -9
@@ -57,8 +57,8 @@ class ChrtClient {
57
57
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
58
58
  "X-Fern-Language": "JavaScript",
59
59
  "X-Fern-SDK-Name": "@chrt-inc/typescript-sdk",
60
- "X-Fern-SDK-Version": "1.847.0",
61
- "User-Agent": "@chrt-inc/typescript-sdk/1.847.0",
60
+ "X-Fern-SDK-Version": "1.858.0",
61
+ "User-Agent": "@chrt-inc/typescript-sdk/1.858.0",
62
62
  "X-Fern-Runtime": core.RUNTIME.type,
63
63
  "X-Fern-Runtime-Version": core.RUNTIME.version,
64
64
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -184,6 +184,35 @@ export declare class Cases {
184
184
  */
185
185
  getSuggestedDepartmentV1(caseId: string, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<(string | null) | undefined>;
186
186
  private __getSuggestedDepartmentV1;
187
+ /**
188
+ * Adds a task list to apply when the order is staged. | authz: min_org_role=operator | (UTCDatetime | None) -> (bool)
189
+ *
190
+ * @param {string} caseId
191
+ * @param {string} taskListId
192
+ * @param {string | null} request
193
+ * @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
194
+ *
195
+ * @throws {@link Chrt.UnprocessableEntityError}
196
+ *
197
+ * @example
198
+ * await client.operations.cases.addTaskListToApplyAtOrderStagingV1("case_id", "task_list_id", "2024-01-15T09:30:00Z")
199
+ */
200
+ addTaskListToApplyAtOrderStagingV1(caseId: string, taskListId: string, request?: string | null, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<boolean>;
201
+ private __addTaskListToApplyAtOrderStagingV1;
202
+ /**
203
+ * Removes a pending staging task list to apply from a draft order case. | authz: min_org_role=operator | () -> (bool)
204
+ *
205
+ * @param {string} caseId
206
+ * @param {string} taskListId
207
+ * @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
208
+ *
209
+ * @throws {@link Chrt.UnprocessableEntityError}
210
+ *
211
+ * @example
212
+ * await client.operations.cases.removeTaskListToApplyAtOrderStagingV1("case_id", "task_list_id")
213
+ */
214
+ removeTaskListToApplyAtOrderStagingV1(caseId: string, taskListId: string, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<boolean>;
215
+ private __removeTaskListToApplyAtOrderStagingV1;
187
216
  /**
188
217
  * Returns distinct case_tag values matching the query via case-insensitive regex for the caller's organization. | authz: min_org_role=operator | () -> (list[CaseTypeaheadResult])
189
218
  *
@@ -230,7 +259,7 @@ export declare class Cases {
230
259
  getV1(caseId: string, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<Chrt.Case1>;
231
260
  private __getV1;
232
261
  /**
233
- * Updates a case's department_id and case_tag. | authz: min_org_role=operator | (CaseClientUpdate1) -> (bool)
262
+ * Updates a case's department and tag. | authz: min_org_role=operator | (CaseClientUpdate1) -> (bool)
234
263
  *
235
264
  * @param {string} caseId
236
265
  * @param {Chrt.operations.CaseClientUpdate1} request
@@ -725,6 +725,130 @@ class Cases {
725
725
  }
726
726
  });
727
727
  }
728
+ /**
729
+ * Adds a task list to apply when the order is staged. | authz: min_org_role=operator | (UTCDatetime | None) -> (bool)
730
+ *
731
+ * @param {string} caseId
732
+ * @param {string} taskListId
733
+ * @param {string | null} request
734
+ * @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
735
+ *
736
+ * @throws {@link Chrt.UnprocessableEntityError}
737
+ *
738
+ * @example
739
+ * await client.operations.cases.addTaskListToApplyAtOrderStagingV1("case_id", "task_list_id", "2024-01-15T09:30:00Z")
740
+ */
741
+ addTaskListToApplyAtOrderStagingV1(caseId, taskListId, request, requestOptions) {
742
+ return core.HttpResponsePromise.fromPromise(this.__addTaskListToApplyAtOrderStagingV1(caseId, taskListId, request, requestOptions));
743
+ }
744
+ __addTaskListToApplyAtOrderStagingV1(caseId, taskListId, request, requestOptions) {
745
+ return __awaiter(this, void 0, void 0, function* () {
746
+ var _a, _b, _c, _d;
747
+ 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);
748
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
749
+ 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, `operations/cases/task_lists_to_apply_at_order_staging/add/v1/${encodeURIComponent(caseId)}/${encodeURIComponent(taskListId)}`),
750
+ method: "POST",
751
+ headers: _headers,
752
+ contentType: "application/json",
753
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
754
+ requestType: "json",
755
+ body: request != null ? request : undefined,
756
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
757
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
758
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
759
+ });
760
+ if (_response.ok) {
761
+ return { data: _response.body, rawResponse: _response.rawResponse };
762
+ }
763
+ if (_response.error.reason === "status-code") {
764
+ switch (_response.error.statusCode) {
765
+ case 422:
766
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
767
+ default:
768
+ throw new errors.ChrtError({
769
+ statusCode: _response.error.statusCode,
770
+ body: _response.error.body,
771
+ rawResponse: _response.rawResponse,
772
+ });
773
+ }
774
+ }
775
+ switch (_response.error.reason) {
776
+ case "non-json":
777
+ throw new errors.ChrtError({
778
+ statusCode: _response.error.statusCode,
779
+ body: _response.error.rawBody,
780
+ rawResponse: _response.rawResponse,
781
+ });
782
+ case "timeout":
783
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /operations/cases/task_lists_to_apply_at_order_staging/add/v1/{case_id}/{task_list_id}.");
784
+ case "unknown":
785
+ throw new errors.ChrtError({
786
+ message: _response.error.errorMessage,
787
+ rawResponse: _response.rawResponse,
788
+ });
789
+ }
790
+ });
791
+ }
792
+ /**
793
+ * Removes a pending staging task list to apply from a draft order case. | authz: min_org_role=operator | () -> (bool)
794
+ *
795
+ * @param {string} caseId
796
+ * @param {string} taskListId
797
+ * @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
798
+ *
799
+ * @throws {@link Chrt.UnprocessableEntityError}
800
+ *
801
+ * @example
802
+ * await client.operations.cases.removeTaskListToApplyAtOrderStagingV1("case_id", "task_list_id")
803
+ */
804
+ removeTaskListToApplyAtOrderStagingV1(caseId, taskListId, requestOptions) {
805
+ return core.HttpResponsePromise.fromPromise(this.__removeTaskListToApplyAtOrderStagingV1(caseId, taskListId, requestOptions));
806
+ }
807
+ __removeTaskListToApplyAtOrderStagingV1(caseId, taskListId, requestOptions) {
808
+ return __awaiter(this, void 0, void 0, function* () {
809
+ var _a, _b, _c, _d;
810
+ 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);
811
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
812
+ 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, `operations/cases/task_lists_to_apply_at_order_staging/remove/v1/${encodeURIComponent(caseId)}/${encodeURIComponent(taskListId)}`),
813
+ method: "POST",
814
+ headers: _headers,
815
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
816
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
817
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
818
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
819
+ });
820
+ if (_response.ok) {
821
+ return { data: _response.body, rawResponse: _response.rawResponse };
822
+ }
823
+ if (_response.error.reason === "status-code") {
824
+ switch (_response.error.statusCode) {
825
+ case 422:
826
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
827
+ default:
828
+ throw new errors.ChrtError({
829
+ statusCode: _response.error.statusCode,
830
+ body: _response.error.body,
831
+ rawResponse: _response.rawResponse,
832
+ });
833
+ }
834
+ }
835
+ switch (_response.error.reason) {
836
+ case "non-json":
837
+ throw new errors.ChrtError({
838
+ statusCode: _response.error.statusCode,
839
+ body: _response.error.rawBody,
840
+ rawResponse: _response.rawResponse,
841
+ });
842
+ case "timeout":
843
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /operations/cases/task_lists_to_apply_at_order_staging/remove/v1/{case_id}/{task_list_id}.");
844
+ case "unknown":
845
+ throw new errors.ChrtError({
846
+ message: _response.error.errorMessage,
847
+ rawResponse: _response.rawResponse,
848
+ });
849
+ }
850
+ });
851
+ }
728
852
  /**
729
853
  * Returns distinct case_tag values matching the query via case-insensitive regex for the caller's organization. | authz: min_org_role=operator | () -> (list[CaseTypeaheadResult])
730
854
  *
@@ -918,7 +1042,7 @@ class Cases {
918
1042
  });
919
1043
  }
920
1044
  /**
921
- * Updates a case's department_id and case_tag. | authz: min_org_role=operator | (CaseClientUpdate1) -> (bool)
1045
+ * Updates a case's department and tag. | authz: min_org_role=operator | (CaseClientUpdate1) -> (bool)
922
1046
  *
923
1047
  * @param {string} caseId
924
1048
  * @param {Chrt.operations.CaseClientUpdate1} request
@@ -79,7 +79,7 @@ export declare class OperationsTasks {
79
79
  deleteCommentV1(taskId: string, commentId: string, requestOptions?: OperationsTasks.RequestOptions): core.HttpResponsePromise<boolean>;
80
80
  private __deleteCommentV1;
81
81
  /**
82
- * Lists OperationsTasks for the caller's organization, with order ids / department / type / status / tag / assignee / deadline filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListRes)
82
+ * Lists OperationsTasks for the caller's organization, with order ids / order short id / order off-CHRT reference id / department / type / status / tag / assignee / deadline filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListRes)
83
83
  *
84
84
  * @param {Chrt.operations.OperationsTasksListV1Request} request
85
85
  * @param {OperationsTasks.RequestOptions} requestOptions - Request-specific configuration.
@@ -92,6 +92,8 @@ export declare class OperationsTasks {
92
92
  * sort_order: "asc",
93
93
  * page: 1,
94
94
  * page_size: 1,
95
+ * filter_order_short_id: "filter_order_short_id",
96
+ * filter_order_off_chrt_reference_id: "filter_order_off_chrt_reference_id",
95
97
  * filter_department_id: "filter_department_id",
96
98
  * filter_assigned_user_id: "filter_assigned_user_id",
97
99
  * filter_deadline_gte: "2024-01-15T09:30:00Z",
@@ -251,7 +251,7 @@ class OperationsTasks {
251
251
  });
252
252
  }
253
253
  /**
254
- * Lists OperationsTasks for the caller's organization, with order ids / department / type / status / tag / assignee / deadline filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListRes)
254
+ * Lists OperationsTasks for the caller's organization, with order ids / order short id / order off-CHRT reference id / department / type / status / tag / assignee / deadline filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (OperationsTaskListRes)
255
255
  *
256
256
  * @param {Chrt.operations.OperationsTasksListV1Request} request
257
257
  * @param {OperationsTasks.RequestOptions} requestOptions - Request-specific configuration.
@@ -264,6 +264,8 @@ class OperationsTasks {
264
264
  * sort_order: "asc",
265
265
  * page: 1,
266
266
  * page_size: 1,
267
+ * filter_order_short_id: "filter_order_short_id",
268
+ * filter_order_off_chrt_reference_id: "filter_order_off_chrt_reference_id",
267
269
  * filter_department_id: "filter_department_id",
268
270
  * filter_assigned_user_id: "filter_assigned_user_id",
269
271
  * filter_deadline_gte: "2024-01-15T09:30:00Z",
@@ -276,7 +278,7 @@ class OperationsTasks {
276
278
  __listV1() {
277
279
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
278
280
  var _a, _b, _c, _d, _e, _f;
279
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, filter_order_ids: filterOrderIds, filter_department_id: filterDepartmentId, filter_task_type: filterTaskType, filter_status: filterStatus, filter_tag: filterTag, filter_assigned_user_id: filterAssignedUserId, filter_deadline_gte: filterDeadlineGte, filter_deadline_lte: filterDeadlineLte, } = request;
281
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, filter_order_ids: filterOrderIds, filter_order_short_id: filterOrderShortId, filter_order_off_chrt_reference_id: filterOrderOffChrtReferenceId, filter_department_id: filterDepartmentId, filter_task_type: filterTaskType, filter_status: filterStatus, filter_tag: filterTag, filter_assigned_user_id: filterAssignedUserId, filter_deadline_gte: filterDeadlineGte, filter_deadline_lte: filterDeadlineLte, } = request;
280
282
  const _queryParams = {};
281
283
  if (sortBy !== undefined) {
282
284
  _queryParams["sort_by"] = sortBy;
@@ -298,6 +300,12 @@ class OperationsTasks {
298
300
  _queryParams["filter_order_ids"] = filterOrderIds;
299
301
  }
300
302
  }
303
+ if (filterOrderShortId !== undefined) {
304
+ _queryParams["filter_order_short_id"] = filterOrderShortId;
305
+ }
306
+ if (filterOrderOffChrtReferenceId !== undefined) {
307
+ _queryParams["filter_order_off_chrt_reference_id"] = filterOrderOffChrtReferenceId;
308
+ }
301
309
  if (filterDepartmentId !== undefined) {
302
310
  _queryParams["filter_department_id"] = filterDepartmentId;
303
311
  }
@@ -9,6 +9,8 @@ import * as Chrt from "../../../../../../index.js";
9
9
  * sort_order: "asc",
10
10
  * page: 1,
11
11
  * page_size: 1,
12
+ * filter_order_short_id: "filter_order_short_id",
13
+ * filter_order_off_chrt_reference_id: "filter_order_off_chrt_reference_id",
12
14
  * filter_department_id: "filter_department_id",
13
15
  * filter_assigned_user_id: "filter_assigned_user_id",
14
16
  * filter_deadline_gte: "2024-01-15T09:30:00Z",
@@ -22,8 +24,12 @@ export interface OperationsTasksListV1Request {
22
24
  sort_order?: Chrt.SortOrderEnum | null;
23
25
  page?: number | null;
24
26
  page_size?: number | null;
25
- /** Filter to tasks on any of these order ids (e.g. the order_ids returned by the orders typeahead for a chosen short_id / off-chrt reference) */
27
+ /** Filter to tasks on any of these order ids (e.g. the order_ids returned by the orders typeahead for a chosen short_id / off-chrt reference id) */
26
28
  filter_order_ids?: (string | null) | (string | null)[];
29
+ /** Filter to tasks for this order short ID */
30
+ filter_order_short_id?: string | null;
31
+ /** Filter to tasks for this order off-CHRT reference ID */
32
+ filter_order_off_chrt_reference_id?: string | null;
27
33
  /** Filter to tasks routed to this department (desk queue) */
28
34
  filter_department_id?: string | null;
29
35
  /** Filter by task type(s). Defaults to all types. */
@@ -49,7 +49,7 @@ export declare class OrderDrafts {
49
49
  get taskArtifact(): TaskArtifact;
50
50
  get taskGroup(): TaskGroup;
51
51
  /**
52
- * Deletes a draft order and all associated entities. | () -> (bool)
52
+ * Deletes a draft order and all associated entities. | authz_personas=[draft_creator_org_operator] | () -> (bool)
53
53
  *
54
54
  * @param {string} orderId
55
55
  * @param {OrderDrafts.RequestOptions} requestOptions - Request-specific configuration.
@@ -62,7 +62,7 @@ export declare class OrderDrafts {
62
62
  deleteV1(orderId: string, requestOptions?: OrderDrafts.RequestOptions): core.HttpResponsePromise<boolean>;
63
63
  private __deleteV1;
64
64
  /**
65
- * Deletes multiple draft orders and associated entities. | (OrdersDraftDeleteManyReq) -> (bool)
65
+ * Deletes multiple draft orders and associated entities, skipping drafts with billing links. | authz_personas=[draft_creator_org_operator] | (OrdersDraftDeleteManyReq) -> (OrdersDraftDeleteManyRes)
66
66
  *
67
67
  * @param {Chrt.shipping.OrdersDraftDeleteManyReq} request
68
68
  * @param {OrderDrafts.RequestOptions} requestOptions - Request-specific configuration.
@@ -74,7 +74,7 @@ export declare class OrderDrafts {
74
74
  * order_ids: ["order_ids"]
75
75
  * })
76
76
  */
77
- deleteManyV1(request: Chrt.shipping.OrdersDraftDeleteManyReq, requestOptions?: OrderDrafts.RequestOptions): core.HttpResponsePromise<boolean>;
77
+ deleteManyV1(request: Chrt.shipping.OrdersDraftDeleteManyReq, requestOptions?: OrderDrafts.RequestOptions): core.HttpResponsePromise<Chrt.OrdersDraftDeleteManyRes>;
78
78
  private __deleteManyV1;
79
79
  /**
80
80
  * Converts an order screenshot into lightly structured text for the AI order builder. | authz: min_org_role=operator | (UploadFile) -> (str)
@@ -93,7 +93,7 @@ export declare class OrderDrafts {
93
93
  imageToTextV1(request: Chrt.shipping.BodyPostShippingOrderDraftsImageToTextV1, requestOptions?: OrderDrafts.RequestOptions): core.HttpResponsePromise<string>;
94
94
  private __imageToTextV1;
95
95
  /**
96
- * Creates a new draft order with org assignments based on caller's organization type. | (OrdersNewDraftReq) -> (OrdersNewDraftRes)
96
+ * Creates a new draft order with org assignments based on caller's organization type. | authz: min_org_role=operator | (OrdersNewDraftReq) -> (OrdersNewDraftRes)
97
97
  *
98
98
  * @param {Chrt.shipping.OrdersNewDraftReq} request
99
99
  * @param {OrderDrafts.RequestOptions} requestOptions - Request-specific configuration.
@@ -138,7 +138,7 @@ export declare class OrderDrafts {
138
138
  typeaheadV1(request: Chrt.shipping.OrderDraftsTypeaheadV1Request, requestOptions?: OrderDrafts.RequestOptions): core.HttpResponsePromise<Chrt.OrderTypeaheadResult[]>;
139
139
  private __typeaheadV1;
140
140
  /**
141
- * Updates coordinator and/or shipper org assignments for a draft order. | (OrdersDraftUpdateReq) -> (OrdersDraftUpdateRes)
141
+ * Updates coordinator and/or shipper org assignments for a draft order. | authz_personas=[draft_creator_org_operator] | (OrdersDraftUpdateReq) -> (OrdersDraftUpdateRes)
142
142
  *
143
143
  * @param {string} orderId
144
144
  * @param {Chrt.shipping.OrdersDraftUpdateReq} request
@@ -86,7 +86,7 @@ class OrderDrafts {
86
86
  return ((_a = this._taskGroup) !== null && _a !== void 0 ? _a : (this._taskGroup = new Client_js_6.TaskGroup(this._options)));
87
87
  }
88
88
  /**
89
- * Deletes a draft order and all associated entities. | () -> (bool)
89
+ * Deletes a draft order and all associated entities. | authz_personas=[draft_creator_org_operator] | () -> (bool)
90
90
  *
91
91
  * @param {string} orderId
92
92
  * @param {OrderDrafts.RequestOptions} requestOptions - Request-specific configuration.
@@ -145,7 +145,7 @@ class OrderDrafts {
145
145
  });
146
146
  }
147
147
  /**
148
- * Deletes multiple draft orders and associated entities. | (OrdersDraftDeleteManyReq) -> (bool)
148
+ * Deletes multiple draft orders and associated entities, skipping drafts with billing links. | authz_personas=[draft_creator_org_operator] | (OrdersDraftDeleteManyReq) -> (OrdersDraftDeleteManyRes)
149
149
  *
150
150
  * @param {Chrt.shipping.OrdersDraftDeleteManyReq} request
151
151
  * @param {OrderDrafts.RequestOptions} requestOptions - Request-specific configuration.
@@ -277,7 +277,7 @@ class OrderDrafts {
277
277
  });
278
278
  }
279
279
  /**
280
- * Creates a new draft order with org assignments based on caller's organization type. | (OrdersNewDraftReq) -> (OrdersNewDraftRes)
280
+ * Creates a new draft order with org assignments based on caller's organization type. | authz: min_org_role=operator | (OrdersNewDraftReq) -> (OrdersNewDraftRes)
281
281
  *
282
282
  * @param {Chrt.shipping.OrdersNewDraftReq} request
283
283
  * @param {OrderDrafts.RequestOptions} requestOptions - Request-specific configuration.
@@ -472,7 +472,7 @@ class OrderDrafts {
472
472
  });
473
473
  }
474
474
  /**
475
- * Updates coordinator and/or shipper org assignments for a draft order. | (OrdersDraftUpdateReq) -> (OrdersDraftUpdateRes)
475
+ * Updates coordinator and/or shipper org assignments for a draft order. | authz_personas=[draft_creator_org_operator] | (OrdersDraftUpdateReq) -> (OrdersDraftUpdateRes)
476
476
  *
477
477
  * @param {string} orderId
478
478
  * @param {Chrt.shipping.OrdersDraftUpdateReq} request
@@ -13,8 +13,6 @@ export interface OrdersNewDraftReq {
13
13
  /** Optional key, unique per caller org, that makes draft creation idempotent: re-sending the same key returns the already-created draft instead of creating a duplicate. */
14
14
  creation_idempotency_key?: string | null;
15
15
  department_id?: string | null;
16
- /** If set, pins the first applied OperationsTask's deadline; later from_previous_task entries cascade from it. None anchors the chain to the apply time (now). */
17
- initial_deadline_timestamp?: string | null;
18
16
  /** Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved). */
19
17
  off_chrt_reference_id?: string | null;
20
18
  off_chrt_shipper_org_id?: string | null;
@@ -24,6 +22,8 @@ export interface OrdersNewDraftReq {
24
22
  order_thread_shipping_turn?: Chrt.ShippingTurnClientCreate1 | null;
25
23
  /** Must be a string starting with `org_` */
26
24
  shipper_org_id?: string | null;
27
- /** OperationsTaskList ids to apply to the coordinator's Case at draft creation; foreign/stale ids are skipped without failing the draft. */
28
- task_list_ids?: string[];
25
+ /** OperationsTaskList applications to apply to the coordinator's Case at order creation, each with its own optional first-deadline pin. */
26
+ task_lists_to_apply_at_order_creation?: Chrt.TaskListToApplyToCase1[];
27
+ /** OperationsTaskList applications to copy onto the coordinator's Case for deferred application when the draft order is staged. */
28
+ task_lists_to_apply_at_order_staging?: Chrt.TaskListToApplyToCase1[];
29
29
  }
@@ -81,7 +81,8 @@ export declare class OrderTemplates {
81
81
  * filter_case_tag: "filter_case_tag",
82
82
  * filter_driver_id: "filter_driver_id",
83
83
  * filter_directory_entry_id: "filter_directory_entry_id",
84
- * filter_task_list_id: "filter_task_list_id",
84
+ * filter_task_lists_to_apply_at_order_creation_task_list_id: "filter_task_lists_to_apply_at_order_creation_task_list_id",
85
+ * filter_task_lists_to_apply_at_order_staging_task_list_id: "filter_task_lists_to_apply_at_order_staging_task_list_id",
85
86
  * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
86
87
  * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
87
88
  * filter_last_edited_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -198,7 +198,8 @@ class OrderTemplates {
198
198
  * filter_case_tag: "filter_case_tag",
199
199
  * filter_driver_id: "filter_driver_id",
200
200
  * filter_directory_entry_id: "filter_directory_entry_id",
201
- * filter_task_list_id: "filter_task_list_id",
201
+ * filter_task_lists_to_apply_at_order_creation_task_list_id: "filter_task_lists_to_apply_at_order_creation_task_list_id",
202
+ * filter_task_lists_to_apply_at_order_staging_task_list_id: "filter_task_lists_to_apply_at_order_staging_task_list_id",
202
203
  * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
203
204
  * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
204
205
  * filter_last_edited_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -213,7 +214,7 @@ class OrderTemplates {
213
214
  __listV1() {
214
215
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
215
216
  var _a, _b, _c, _d, _e, _f, _g;
216
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_archived: filterArchived, filter_owned_by_user_id: filterOwnedByUserId, filter_off_chrt_reference_id_str: filterOffChrtReferenceIdStr, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_id: filterOffChrtShipperOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_department_id: filterDepartmentId, filter_case_tag: filterCaseTag, filter_driver_id: filterDriverId, filter_directory_entry_id: filterDirectoryEntryId, filter_task_list_id: filterTaskListId, 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;
217
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_archived: filterArchived, filter_owned_by_user_id: filterOwnedByUserId, filter_off_chrt_reference_id_str: filterOffChrtReferenceIdStr, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_id: filterOffChrtShipperOrgId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_department_id: filterDepartmentId, filter_case_tag: filterCaseTag, filter_driver_id: filterDriverId, filter_directory_entry_id: filterDirectoryEntryId, filter_task_lists_to_apply_at_order_creation_task_list_id: filterTaskListsToApplyAtOrderCreationTaskListId, filter_task_lists_to_apply_at_order_staging_task_list_id: filterTaskListsToApplyAtOrderStagingTaskListId, 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;
217
218
  const _queryParams = {};
218
219
  if (sortBy !== undefined) {
219
220
  _queryParams["sort_by"] = sortBy;
@@ -260,8 +261,13 @@ class OrderTemplates {
260
261
  if (filterDirectoryEntryId !== undefined) {
261
262
  _queryParams["filter_directory_entry_id"] = filterDirectoryEntryId;
262
263
  }
263
- if (filterTaskListId !== undefined) {
264
- _queryParams["filter_task_list_id"] = filterTaskListId;
264
+ if (filterTaskListsToApplyAtOrderCreationTaskListId !== undefined) {
265
+ _queryParams["filter_task_lists_to_apply_at_order_creation_task_list_id"] =
266
+ filterTaskListsToApplyAtOrderCreationTaskListId;
267
+ }
268
+ if (filterTaskListsToApplyAtOrderStagingTaskListId !== undefined) {
269
+ _queryParams["filter_task_lists_to_apply_at_order_staging_task_list_id"] =
270
+ filterTaskListsToApplyAtOrderStagingTaskListId;
265
271
  }
266
272
  if (filterCreatedAtTimestampGte !== undefined) {
267
273
  _queryParams["filter_created_at_timestamp_gte"] = filterCreatedAtTimestampGte;
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Chrt from "../../../../../../index.js";
4
5
  /**
5
6
  * @example
6
7
  * {
@@ -18,11 +19,13 @@ export interface OrderTemplateClientCreate1 {
18
19
  driver_ids?: string[];
19
20
  executor_org_ids?: string[];
20
21
  name: string;
22
+ off_chrt_executor_org_ids?: string[];
21
23
  off_chrt_reference_id_str?: string | null;
22
24
  off_chrt_shipper_org_id?: string | null;
23
25
  schema_version: number;
24
26
  /** Must be a string starting with `org_` */
25
27
  shipper_org_id?: string | null;
26
- task_list_ids?: string[];
28
+ task_lists_to_apply_at_order_creation?: Chrt.TaskListToApplyToCase1[];
29
+ task_lists_to_apply_at_order_staging?: Chrt.TaskListToApplyToCase1[];
27
30
  text?: string | null;
28
31
  }
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Chrt from "../../../../../../index.js";
4
5
  /**
5
6
  * @example
6
7
  * {}
@@ -19,6 +20,7 @@ export interface OrderTemplateClientUpdate1 {
19
20
  driver_ids?: string[];
20
21
  executor_org_ids?: string[];
21
22
  name?: string | null;
23
+ off_chrt_executor_org_ids?: string[];
22
24
  off_chrt_reference_id_str?: string | null;
23
25
  off_chrt_reference_id_str__set_to_None?: boolean;
24
26
  off_chrt_shipper_org_id?: string | null;
@@ -26,7 +28,8 @@ export interface OrderTemplateClientUpdate1 {
26
28
  /** Must be a string starting with `org_` */
27
29
  shipper_org_id?: string | null;
28
30
  shipper_org_id__set_to_None?: boolean;
29
- task_list_ids?: string[];
31
+ task_lists_to_apply_at_order_creation?: Chrt.TaskListToApplyToCase1[];
32
+ task_lists_to_apply_at_order_staging?: Chrt.TaskListToApplyToCase1[];
30
33
  text?: string | null;
31
34
  text__set_to_None?: boolean;
32
35
  }
@@ -20,7 +20,8 @@ import * as Chrt from "../../../../../../index.js";
20
20
  * filter_case_tag: "filter_case_tag",
21
21
  * filter_driver_id: "filter_driver_id",
22
22
  * filter_directory_entry_id: "filter_directory_entry_id",
23
- * filter_task_list_id: "filter_task_list_id",
23
+ * filter_task_lists_to_apply_at_order_creation_task_list_id: "filter_task_lists_to_apply_at_order_creation_task_list_id",
24
+ * filter_task_lists_to_apply_at_order_staging_task_list_id: "filter_task_lists_to_apply_at_order_staging_task_list_id",
24
25
  * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
25
26
  * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
26
27
  * filter_last_edited_at_timestamp_gte: "2024-01-15T09:30:00Z",
@@ -58,8 +59,10 @@ export interface OrderTemplatesListV1Request {
58
59
  filter_driver_id?: string | null;
59
60
  /** Filter by directory entry ID included in the template. */
60
61
  filter_directory_entry_id?: string | null;
61
- /** Filter by task list ID included in the template. */
62
- filter_task_list_id?: string | null;
62
+ /** Filter by task list ID included in order-creation applications. */
63
+ filter_task_lists_to_apply_at_order_creation_task_list_id?: string | null;
64
+ /** Filter by task list ID included in staging applications. */
65
+ filter_task_lists_to_apply_at_order_staging_task_list_id?: string | null;
63
66
  /** Filter created_at_timestamp >= value (inclusive). */
64
67
  filter_created_at_timestamp_gte?: string | null;
65
68
  /** Filter created_at_timestamp <= value (inclusive). */
@@ -62,7 +62,7 @@ export declare class Orders {
62
62
  cancelManyV1(request: Chrt.shipping.OrdersCancelManyReq, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<boolean>;
63
63
  private __cancelManyV1;
64
64
  /**
65
- * Validates a draft order and stages all related entities in a transaction. | () -> (bool)
65
+ * Validates a draft order and stages all related entities in a transaction. | authz_personas=[draft_creator_org_operator] | () -> (bool)
66
66
  *
67
67
  * @param {string} orderId
68
68
  * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
@@ -184,7 +184,7 @@ class Orders {
184
184
  });
185
185
  }
186
186
  /**
187
- * Validates a draft order and stages all related entities in a transaction. | () -> (bool)
187
+ * Validates a draft order and stages all related entities in a transaction. | authz_personas=[draft_creator_org_operator] | () -> (bool)
188
188
  *
189
189
  * @param {string} orderId
190
190
  * @param {Orders.RequestOptions} requestOptions - Request-specific configuration.
@@ -15,4 +15,5 @@ export interface Case1 {
15
15
  /** Must be a string starting with `org_` */
16
16
  org_id: string;
17
17
  schema_version: number;
18
+ task_lists_to_apply_at_order_staging?: Chrt.TaskListToApplyToCase1[];
18
19
  }
@@ -13,6 +13,9 @@ export interface OperationsTask1 {
13
13
  department_id?: string | null;
14
14
  description: string;
15
15
  order_id: string;
16
+ /** Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved). */
17
+ order_off_chrt_reference_id?: string | null;
18
+ order_short_id: string;
16
19
  /** Must be a string starting with `org_` */
17
20
  org_id: string;
18
21
  schema_version: number;
@@ -3,8 +3,6 @@
3
3
  */
4
4
  import * as Chrt from "../index.js";
5
5
  export interface OrderBuilderReq {
6
- /** Per-build pin for the first applied OperationsTask's deadline (later from_previous_task entries cascade from it). Kept off the template so saved templates don't carry a stale absolute time; None anchors the chain to the build time. */
7
- initial_deadline_timestamp?: string | null;
8
6
  order_template_core?: Chrt.OrderTemplateCore1 | null;
9
7
  order_template_id?: string | null;
10
8
  }
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Chrt from "../index.js";
4
5
  export interface OrderTemplate1 {
5
6
  _id: string;
6
7
  archived_at_timestamp?: string | null;
@@ -16,6 +17,7 @@ export interface OrderTemplate1 {
16
17
  last_edited_at_timestamp: string;
17
18
  last_used_at_timestamp?: string | null;
18
19
  name: string;
20
+ off_chrt_executor_org_ids?: string[];
19
21
  off_chrt_reference_id_str?: string | null;
20
22
  off_chrt_shipper_org_id?: string | null;
21
23
  /** Must be a string starting with `org_` */
@@ -25,6 +27,7 @@ export interface OrderTemplate1 {
25
27
  schema_version: number;
26
28
  /** Must be a string starting with `org_` */
27
29
  shipper_org_id?: string | null;
28
- task_list_ids?: string[];
30
+ task_lists_to_apply_at_order_creation?: Chrt.TaskListToApplyToCase1[];
31
+ task_lists_to_apply_at_order_staging?: Chrt.TaskListToApplyToCase1[];
29
32
  text?: string | null;
30
33
  }
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import * as Chrt from "../index.js";
4
5
  /**
5
6
  * Shared seed of an order build: the order text + long-lived references. Reused by the library template (OrderTemplateBase1) and the ad-hoc kickoff payload so the fields the builder seeds from can't drift. (Mirrors TaskCore1.)
6
7
  *
@@ -14,10 +15,12 @@ export interface OrderTemplateCore1 {
14
15
  directory_entry_ids?: string[];
15
16
  driver_ids?: string[];
16
17
  executor_org_ids?: string[];
18
+ off_chrt_executor_org_ids?: string[];
17
19
  off_chrt_shipper_org_id?: string | null;
18
20
  schema_version: number;
19
21
  /** Must be a string starting with `org_` */
20
22
  shipper_org_id?: string | null;
21
- task_list_ids?: string[];
23
+ task_lists_to_apply_at_order_creation?: Chrt.TaskListToApplyToCase1[];
24
+ task_lists_to_apply_at_order_staging?: Chrt.TaskListToApplyToCase1[];
22
25
  text?: string | null;
23
26
  }
@@ -6,6 +6,7 @@ export interface OrderTemplateExpanded1 {
6
6
  directory_entries?: Chrt.DirectoryEntry1[];
7
7
  drivers?: Chrt.Driver1[];
8
8
  executor_orgs?: Chrt.OrderTemplateOrgInfo1[];
9
+ off_chrt_executor_orgs?: Chrt.OffChrtProviderOrg1[];
9
10
  off_chrt_shipper_org?: Chrt.OffChrtShipperOrg1 | null;
10
11
  order_template: Chrt.OrderTemplate1;
11
12
  orders?: Chrt.Order1[];
@@ -1,11 +1,12 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type OrderTemplateReferenceColumnEnum1 = "shipper_org_id" | "off_chrt_shipper_org_id" | "executor_org_ids" | "driver_ids" | "directory_entry_ids";
4
+ export type OrderTemplateReferenceColumnEnum1 = "shipper_org_id" | "off_chrt_shipper_org_id" | "executor_org_ids" | "off_chrt_executor_org_ids" | "driver_ids" | "directory_entry_ids";
5
5
  export declare const OrderTemplateReferenceColumnEnum1: {
6
6
  readonly ShipperOrgId: "shipper_org_id";
7
7
  readonly OffChrtShipperOrgId: "off_chrt_shipper_org_id";
8
8
  readonly ExecutorOrgIds: "executor_org_ids";
9
+ readonly OffChrtExecutorOrgIds: "off_chrt_executor_org_ids";
9
10
  readonly DriverIds: "driver_ids";
10
11
  readonly DirectoryEntryIds: "directory_entry_ids";
11
12
  };