@chrt-inc/typescript-sdk 1.990.0 → 1.997.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 (180) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/errors/ForbiddenError.d.ts +9 -0
  3. package/dist/cjs/api/errors/ForbiddenError.js +52 -0
  4. package/dist/cjs/api/errors/LockedError.d.ts +9 -0
  5. package/dist/cjs/api/errors/LockedError.js +52 -0
  6. package/dist/cjs/api/errors/NotFoundError.d.ts +9 -0
  7. package/dist/cjs/api/errors/NotFoundError.js +52 -0
  8. package/dist/cjs/api/errors/ServiceUnavailableError.d.ts +9 -0
  9. package/dist/cjs/api/errors/ServiceUnavailableError.js +52 -0
  10. package/dist/cjs/api/errors/UnprocessableEntityError.d.ts +1 -2
  11. package/dist/cjs/api/errors/index.d.ts +4 -0
  12. package/dist/cjs/api/errors/index.js +4 -0
  13. package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.d.ts +1 -1
  14. package/dist/cjs/api/resources/billingNew/resources/orders/client/Client.js +9 -4
  15. package/dist/cjs/api/resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.d.ts +3 -3
  16. package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.d.ts +2 -2
  17. package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.js +1 -1
  18. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.d.ts +19 -3
  19. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/Client.js +87 -9
  20. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.ts +4 -0
  21. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.ts +3 -3
  22. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.ts +3 -3
  23. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksTypeaheadV1Request.d.ts +16 -0
  24. package/dist/cjs/api/resources/operations/resources/operationsTasks/client/requests/index.d.ts +1 -0
  25. package/dist/cjs/api/resources/operations/resources/orderInternalMessages/resources/s3Objects/client/Client.d.ts +5 -1
  26. package/dist/cjs/api/resources/operations/resources/orderInternalMessages/resources/s3Objects/client/Client.js +13 -1
  27. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/Client.d.ts +5 -1
  28. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/Client.js +13 -1
  29. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +3 -0
  30. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +25 -8
  31. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListV1Request.d.ts +9 -0
  32. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/Client.d.ts +5 -1
  33. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/Client.js +13 -1
  34. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.ts +2 -2
  35. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/Client.js +10 -5
  36. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientCreate1.d.ts +1 -1
  37. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientUpdate1.d.ts +1 -2
  38. package/dist/cjs/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.ts +3 -3
  39. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.d.ts +6 -6
  40. package/dist/cjs/api/resources/shipping/resources/orders/client/Client.js +9 -9
  41. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/{OrdersUpdateLabelReq.d.ts → OrdersUpdateLabelsReq.d.ts} +2 -3
  42. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/OrdersUpdateLabelsReq.js +5 -0
  43. package/dist/cjs/api/resources/shipping/resources/orders/client/requests/index.d.ts +1 -1
  44. package/dist/cjs/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.ts +1 -1
  45. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +1 -1
  46. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +9 -4
  47. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.ts +3 -2
  48. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.ts +5 -1
  49. package/dist/cjs/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.js +13 -1
  50. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.d.ts +5 -1
  51. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.js +13 -1
  52. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.d.ts +2 -0
  53. package/dist/cjs/api/resources/tracking/resources/devices/client/Client.js +9 -1
  54. package/dist/cjs/api/resources/tracking/resources/devices/client/requests/DevicesListV1Request.d.ts +6 -0
  55. package/dist/cjs/api/types/BidThreadForListing1.d.ts +19 -0
  56. package/dist/cjs/api/types/BidThreadForListing1.js +5 -0
  57. package/dist/cjs/api/types/BidThreadForListingListRes.d.ts +8 -0
  58. package/dist/cjs/api/types/BidThreadForListingListRes.js +5 -0
  59. package/dist/cjs/api/types/FileDownloadErrorRes.d.ts +27 -0
  60. package/dist/cjs/api/types/FileDownloadErrorRes.js +19 -0
  61. package/dist/cjs/api/types/FileDownloadRequestErrorRes.d.ts +13 -0
  62. package/dist/cjs/api/types/FileDownloadRequestErrorRes.js +5 -0
  63. package/dist/cjs/api/types/NotFoundErrorBody.d.ts +5 -0
  64. package/dist/cjs/api/types/NotFoundErrorBody.js +5 -0
  65. package/dist/cjs/api/types/OperationsTaskStatusEnum.d.ts +2 -1
  66. package/dist/cjs/api/types/OperationsTaskStatusEnum.js +1 -0
  67. package/dist/cjs/api/types/OperationsTaskTypeEnum.d.ts +2 -1
  68. package/dist/cjs/api/types/OperationsTaskTypeEnum.js +1 -0
  69. package/dist/cjs/api/types/OperationsTaskTypeaheadFieldEnum.d.ts +4 -0
  70. package/dist/cjs/api/types/OperationsTaskTypeaheadFieldEnum.js +5 -0
  71. package/dist/cjs/api/types/OperationsTaskTypeaheadResult.d.ts +8 -0
  72. package/dist/cjs/api/types/OperationsTaskTypeaheadResult.js +5 -0
  73. package/dist/cjs/api/types/Order1.d.ts +1 -1
  74. package/dist/cjs/api/types/OrderBillingExecutor1.d.ts +1 -1
  75. package/dist/cjs/api/types/OrderBillingExpandedListItem1.d.ts +1 -1
  76. package/dist/cjs/api/types/OrderLimitedForProvider1.d.ts +1 -1
  77. package/dist/cjs/api/types/OrderTaskGroupExecutorDetails1.d.ts +1 -1
  78. package/dist/cjs/api/types/OrderTemplateNew1.d.ts +1 -1
  79. package/dist/cjs/api/types/OrderTemplateNewCore1.d.ts +1 -1
  80. package/dist/cjs/api/types/OrderTemplateNewExpanded1.d.ts +2 -1
  81. package/dist/cjs/api/types/TaskArtifactTypeEnum1.d.ts +2 -1
  82. package/dist/cjs/api/types/TaskArtifactTypeEnum1.js +1 -0
  83. package/dist/cjs/api/types/UnprocessableEntityErrorBody.d.ts +5 -0
  84. package/dist/cjs/api/types/UnprocessableEntityErrorBody.js +5 -0
  85. package/dist/cjs/api/types/index.d.ts +8 -0
  86. package/dist/cjs/api/types/index.js +8 -0
  87. package/dist/cjs/version.d.ts +1 -1
  88. package/dist/cjs/version.js +1 -1
  89. package/dist/esm/Client.mjs +2 -2
  90. package/dist/esm/api/errors/ForbiddenError.d.mts +9 -0
  91. package/dist/esm/api/errors/ForbiddenError.mjs +15 -0
  92. package/dist/esm/api/errors/LockedError.d.mts +9 -0
  93. package/dist/esm/api/errors/LockedError.mjs +15 -0
  94. package/dist/esm/api/errors/NotFoundError.d.mts +9 -0
  95. package/dist/esm/api/errors/NotFoundError.mjs +15 -0
  96. package/dist/esm/api/errors/ServiceUnavailableError.d.mts +9 -0
  97. package/dist/esm/api/errors/ServiceUnavailableError.mjs +15 -0
  98. package/dist/esm/api/errors/UnprocessableEntityError.d.mts +1 -2
  99. package/dist/esm/api/errors/index.d.mts +4 -0
  100. package/dist/esm/api/errors/index.mjs +4 -0
  101. package/dist/esm/api/resources/billingNew/resources/orders/client/Client.d.mts +1 -1
  102. package/dist/esm/api/resources/billingNew/resources/orders/client/Client.mjs +9 -4
  103. package/dist/esm/api/resources/billingNew/resources/orders/client/requests/OrderBillingExpandedListReq.d.mts +3 -3
  104. package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.d.mts +2 -2
  105. package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.mjs +1 -1
  106. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.d.mts +19 -3
  107. package/dist/esm/api/resources/operations/resources/operationsTasks/client/Client.mjs +87 -9
  108. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTaskClientUpdate1.d.mts +4 -0
  109. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksExpandedListV1Request.d.mts +3 -3
  110. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksListV1Request.d.mts +3 -3
  111. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/OperationsTasksTypeaheadV1Request.d.mts +16 -0
  112. package/dist/esm/api/resources/operations/resources/operationsTasks/client/requests/index.d.mts +1 -0
  113. package/dist/esm/api/resources/operations/resources/orderInternalMessages/resources/s3Objects/client/Client.d.mts +5 -1
  114. package/dist/esm/api/resources/operations/resources/orderInternalMessages/resources/s3Objects/client/Client.mjs +13 -1
  115. package/dist/esm/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/Client.d.mts +5 -1
  116. package/dist/esm/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/Client.mjs +13 -1
  117. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +3 -0
  118. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +25 -8
  119. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListV1Request.d.mts +9 -0
  120. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/Client.d.mts +5 -1
  121. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/Client.mjs +13 -1
  122. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.d.mts +2 -2
  123. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/Client.mjs +10 -5
  124. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientCreate1.d.mts +1 -1
  125. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplateNewClientUpdate1.d.mts +1 -2
  126. package/dist/esm/api/resources/shipping/resources/orderTemplatesNew/client/requests/OrderTemplatesNewListV1Request.d.mts +3 -3
  127. package/dist/esm/api/resources/shipping/resources/orders/client/Client.d.mts +6 -6
  128. package/dist/esm/api/resources/shipping/resources/orders/client/Client.mjs +9 -9
  129. package/dist/esm/api/resources/shipping/resources/orders/client/requests/{OrdersUpdateLabelReq.d.mts → OrdersUpdateLabelsReq.d.mts} +2 -3
  130. package/dist/esm/api/resources/shipping/resources/orders/client/requests/OrdersUpdateLabelsReq.mjs +4 -0
  131. package/dist/esm/api/resources/shipping/resources/orders/client/requests/index.d.mts +1 -1
  132. package/dist/esm/api/resources/shipping/resources/orders/resources/drafts/client/requests/OrdersOpenDraftReq.d.mts +1 -1
  133. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +1 -1
  134. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +9 -4
  135. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForProviderOperatorsV1Request.d.mts +3 -2
  136. package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.d.mts +5 -1
  137. package/dist/esm/api/resources/shipping/resources/taskArtifacts/resources/s3Object/client/Client.mjs +13 -1
  138. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.d.mts +5 -1
  139. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/s3Object/client/Client.mjs +13 -1
  140. package/dist/esm/api/resources/tracking/resources/devices/client/Client.d.mts +2 -0
  141. package/dist/esm/api/resources/tracking/resources/devices/client/Client.mjs +9 -1
  142. package/dist/esm/api/resources/tracking/resources/devices/client/requests/DevicesListV1Request.d.mts +6 -0
  143. package/dist/esm/api/types/BidThreadForListing1.d.mts +19 -0
  144. package/dist/esm/api/types/BidThreadForListing1.mjs +4 -0
  145. package/dist/esm/api/types/BidThreadForListingListRes.d.mts +8 -0
  146. package/dist/esm/api/types/BidThreadForListingListRes.mjs +4 -0
  147. package/dist/esm/api/types/FileDownloadErrorRes.d.mts +27 -0
  148. package/dist/esm/api/types/FileDownloadErrorRes.mjs +16 -0
  149. package/dist/esm/api/types/FileDownloadRequestErrorRes.d.mts +13 -0
  150. package/dist/esm/api/types/FileDownloadRequestErrorRes.mjs +4 -0
  151. package/dist/esm/api/types/NotFoundErrorBody.d.mts +5 -0
  152. package/dist/esm/api/types/NotFoundErrorBody.mjs +4 -0
  153. package/dist/esm/api/types/OperationsTaskStatusEnum.d.mts +2 -1
  154. package/dist/esm/api/types/OperationsTaskStatusEnum.mjs +1 -0
  155. package/dist/esm/api/types/OperationsTaskTypeEnum.d.mts +2 -1
  156. package/dist/esm/api/types/OperationsTaskTypeEnum.mjs +1 -0
  157. package/dist/esm/api/types/OperationsTaskTypeaheadFieldEnum.d.mts +4 -0
  158. package/dist/esm/api/types/OperationsTaskTypeaheadFieldEnum.mjs +4 -0
  159. package/dist/esm/api/types/OperationsTaskTypeaheadResult.d.mts +8 -0
  160. package/dist/esm/api/types/OperationsTaskTypeaheadResult.mjs +4 -0
  161. package/dist/esm/api/types/Order1.d.mts +1 -1
  162. package/dist/esm/api/types/OrderBillingExecutor1.d.mts +1 -1
  163. package/dist/esm/api/types/OrderBillingExpandedListItem1.d.mts +1 -1
  164. package/dist/esm/api/types/OrderLimitedForProvider1.d.mts +1 -1
  165. package/dist/esm/api/types/OrderTaskGroupExecutorDetails1.d.mts +1 -1
  166. package/dist/esm/api/types/OrderTemplateNew1.d.mts +1 -1
  167. package/dist/esm/api/types/OrderTemplateNewCore1.d.mts +1 -1
  168. package/dist/esm/api/types/OrderTemplateNewExpanded1.d.mts +2 -1
  169. package/dist/esm/api/types/TaskArtifactTypeEnum1.d.mts +2 -1
  170. package/dist/esm/api/types/TaskArtifactTypeEnum1.mjs +1 -0
  171. package/dist/esm/api/types/UnprocessableEntityErrorBody.d.mts +5 -0
  172. package/dist/esm/api/types/UnprocessableEntityErrorBody.mjs +4 -0
  173. package/dist/esm/api/types/index.d.mts +8 -0
  174. package/dist/esm/api/types/index.mjs +8 -0
  175. package/dist/esm/version.d.mts +1 -1
  176. package/dist/esm/version.mjs +1 -1
  177. package/package.json +1 -1
  178. package/reference.md +90 -19
  179. /package/dist/cjs/api/resources/{shipping/resources/orders/client/requests/OrdersUpdateLabelReq.js → operations/resources/operationsTasks/client/requests/OperationsTasksTypeaheadV1Request.js} +0 -0
  180. /package/dist/esm/api/resources/{shipping/resources/orders/client/requests/OrdersUpdateLabelReq.mjs → operations/resources/operationsTasks/client/requests/OperationsTasksTypeaheadV1Request.mjs} +0 -0
@@ -223,7 +223,7 @@ class Expanded {
223
223
  * filter_coordinator_shipper_account_ids: ["filter_coordinator_shipper_account_ids"],
224
224
  * filter_coordinator_department_ids: ["filter_coordinator_department_ids"],
225
225
  * filter_coordinator_assigned_user_ids: ["filter_coordinator_assigned_user_ids"],
226
- * filter_coordinator_label: "filter_coordinator_label",
226
+ * filter_coordinator_labels: ["filter_coordinator_labels"],
227
227
  * body: {}
228
228
  * })
229
229
  */
@@ -233,7 +233,7 @@ class Expanded {
233
233
  __listForProviderOperatorsV1(request, requestOptions) {
234
234
  return __awaiter(this, void 0, void 0, function* () {
235
235
  var _a, _b, _c, _d, _e, _f, _g;
236
- const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_service_line: filterServiceLine, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_executor_department_ids: filterExecutorDepartmentIds, filter_off_chrt_executor_org_data_id: filterOffChrtExecutorOrgDataId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_coordinator_department_ids: filterCoordinatorDepartmentIds, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_label: filterCoordinatorLabel, body: _body, } = request;
236
+ const { provider_role: providerRole, sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, filter_status: filterStatus, filter_service_line: filterServiceLine, filter_order_classification_by_task_group_type: filterOrderClassificationByTaskGroupType, filter_awb_number: filterAwbNumber, filter_has_invoice: filterHasInvoice, filter_draft_started_at_timestamp_lte: filterDraftStartedAtTimestampLte, filter_draft_started_at_timestamp_gte: filterDraftStartedAtTimestampGte, filter_staged_at_timestamp_lte: filterStagedAtTimestampLte, filter_staged_at_timestamp_gte: filterStagedAtTimestampGte, filter_in_progress_at_timestamp_lte: filterInProgressAtTimestampLte, filter_in_progress_at_timestamp_gte: filterInProgressAtTimestampGte, filter_completed_at_timestamp_lte: filterCompletedAtTimestampLte, filter_completed_at_timestamp_gte: filterCompletedAtTimestampGte, filter_cancelled_at_timestamp_lte: filterCancelledAtTimestampLte, filter_cancelled_at_timestamp_gte: filterCancelledAtTimestampGte, filter_exception_at_timestamp_lte: filterExceptionAtTimestampLte, filter_exception_at_timestamp_gte: filterExceptionAtTimestampGte, filter_executor_org_id: filterExecutorOrgId, filter_executor_department_ids: filterExecutorDepartmentIds, filter_off_chrt_executor_org_data_id: filterOffChrtExecutorOrgDataId, filter_coordinator_org_id: filterCoordinatorOrgId, filter_shipper_org_id: filterShipperOrgId, filter_off_chrt_shipper_org_data_id: filterOffChrtShipperOrgDataId, filter_coordinator_shipper_account_ids: filterCoordinatorShipperAccountIds, filter_coordinator_department_ids: filterCoordinatorDepartmentIds, filter_coordinator_assigned_user_ids: filterCoordinatorAssignedUserIds, filter_coordinator_labels: filterCoordinatorLabels, body: _body, } = request;
237
237
  const _queryParams = {};
238
238
  if (providerRole !== undefined) {
239
239
  _queryParams["provider_role"] = providerRole;
@@ -368,8 +368,13 @@ class Expanded {
368
368
  _queryParams["filter_coordinator_assigned_user_ids"] = filterCoordinatorAssignedUserIds;
369
369
  }
370
370
  }
371
- if (filterCoordinatorLabel !== undefined) {
372
- _queryParams["filter_coordinator_label"] = filterCoordinatorLabel;
371
+ if (filterCoordinatorLabels !== undefined) {
372
+ if (Array.isArray(filterCoordinatorLabels)) {
373
+ _queryParams["filter_coordinator_labels"] = filterCoordinatorLabels.map((item) => item);
374
+ }
375
+ else {
376
+ _queryParams["filter_coordinator_labels"] = filterCoordinatorLabels;
377
+ }
373
378
  }
374
379
  let _headers = (0, headers_js_1.mergeHeaders)((_d = this._options) === null || _d === void 0 ? void 0 : _d.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
375
380
  const _response = yield ((_e = this._options.fetcher) !== null && _e !== void 0 ? _e : core.fetcher)({
@@ -37,7 +37,7 @@ import * as Chrt from "../../../../../../../../index.js";
37
37
  * filter_coordinator_shipper_account_ids: ["filter_coordinator_shipper_account_ids"],
38
38
  * filter_coordinator_department_ids: ["filter_coordinator_department_ids"],
39
39
  * filter_coordinator_assigned_user_ids: ["filter_coordinator_assigned_user_ids"],
40
- * filter_coordinator_label: "filter_coordinator_label",
40
+ * filter_coordinator_labels: ["filter_coordinator_labels"],
41
41
  * body: {}
42
42
  * }
43
43
  */
@@ -84,6 +84,7 @@ export interface ExpandedListForProviderOperatorsV1Request {
84
84
  /** Filter by coordinator department IDs */
85
85
  filter_coordinator_department_ids?: (string | null) | (string | null)[];
86
86
  filter_coordinator_assigned_user_ids?: (string | null) | (string | null)[];
87
- filter_coordinator_label?: string | null;
87
+ /** Filter by any of the supplied coordinator labels (exact match). */
88
+ filter_coordinator_labels?: (string | null) | (string | null)[];
88
89
  body: Chrt.OrderAndTaskGroupExpandedReq;
89
90
  }
@@ -31,7 +31,7 @@ export declare class S3Object {
31
31
  protected readonly _options: S3Object.Options;
32
32
  constructor(_options?: S3Object.Options);
33
33
  /**
34
- * Uploads a file (image, PDF, etc.) to a task artifact. Automatic blurhash generation for images. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, shipper_org_operators] | (UploadFile) -> (TaskArtifactS3ObjectMetadata1)
34
+ * Uploads a file (image, PDF, etc.) to a task artifact. Retains uploaded files; previews require a clean malware scan. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, shipper_org_operators] | (UploadFile) -> (TaskArtifactS3ObjectMetadata1)
35
35
  *
36
36
  * @param {string} taskArtifactId
37
37
  * @param {Chrt.shipping.taskArtifacts.BodyPostTaskArtifactsS3ObjectAddV1} request
@@ -101,7 +101,11 @@ export declare class S3Object {
101
101
  private __getS3ObjectMetadataV1;
102
102
  /**
103
103
  * Streams a task artifact S3 object file from storage. | authz_personas=[driver_for_executor, executor_org_operators, shipper_org_operators, coordinator_org_operators] | () -> (binary)
104
+ * @throws {@link Chrt.ForbiddenError}
105
+ * @throws {@link Chrt.NotFoundError}
104
106
  * @throws {@link Chrt.UnprocessableEntityError}
107
+ * @throws {@link Chrt.LockedError}
108
+ * @throws {@link Chrt.ServiceUnavailableError}
105
109
  */
106
110
  getV1(taskArtifactS3ObjectMetadataId: string, requestOptions?: S3Object.RequestOptions): core.HttpResponsePromise<core.BinaryResponse>;
107
111
  private __getV1;
@@ -56,7 +56,7 @@ class S3Object {
56
56
  this._options = _options;
57
57
  }
58
58
  /**
59
- * Uploads a file (image, PDF, etc.) to a task artifact. Automatic blurhash generation for images. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, shipper_org_operators] | (UploadFile) -> (TaskArtifactS3ObjectMetadata1)
59
+ * Uploads a file (image, PDF, etc.) to a task artifact. Retains uploaded files; previews require a clean malware scan. | authz_personas=[driver_for_executor, coordinator_org_operators, executor_org_operators, shipper_org_operators] | (UploadFile) -> (TaskArtifactS3ObjectMetadata1)
60
60
  *
61
61
  * @param {string} taskArtifactId
62
62
  * @param {Chrt.shipping.taskArtifacts.BodyPostTaskArtifactsS3ObjectAddV1} request
@@ -319,7 +319,11 @@ class S3Object {
319
319
  }
320
320
  /**
321
321
  * Streams a task artifact S3 object file from storage. | authz_personas=[driver_for_executor, executor_org_operators, shipper_org_operators, coordinator_org_operators] | () -> (binary)
322
+ * @throws {@link Chrt.ForbiddenError}
323
+ * @throws {@link Chrt.NotFoundError}
322
324
  * @throws {@link Chrt.UnprocessableEntityError}
325
+ * @throws {@link Chrt.LockedError}
326
+ * @throws {@link Chrt.ServiceUnavailableError}
323
327
  */
324
328
  getV1(taskArtifactS3ObjectMetadataId, requestOptions) {
325
329
  return core.HttpResponsePromise.fromPromise(this.__getV1(taskArtifactS3ObjectMetadataId, requestOptions));
@@ -343,8 +347,16 @@ class S3Object {
343
347
  }
344
348
  if (_response.error.reason === "status-code") {
345
349
  switch (_response.error.statusCode) {
350
+ case 403:
351
+ throw new Chrt.ForbiddenError(_response.error.body, _response.rawResponse);
352
+ case 404:
353
+ throw new Chrt.NotFoundError(_response.error.body, _response.rawResponse);
346
354
  case 422:
347
355
  throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
356
+ case 423:
357
+ throw new Chrt.LockedError(_response.error.body, _response.rawResponse);
358
+ case 503:
359
+ throw new Chrt.ServiceUnavailableError(_response.error.body, _response.rawResponse);
348
360
  default:
349
361
  throw new errors.ChrtError({
350
362
  statusCode: _response.error.statusCode,
@@ -31,7 +31,7 @@ export declare class S3Object {
31
31
  protected readonly _options: S3Object.Options;
32
32
  constructor(_options?: S3Object.Options);
33
33
  /**
34
- * Uploads a file (image, PDF, etc.) to a task group. Automatic blurhash generation for images. | authz_personas=[driver_for_executor, executor_org_operators, coordinator_org_operators, shipper_org_operators] | (UploadFile) -> (TaskGroupS3ObjectMetadata1)
34
+ * Uploads a file (image, PDF, etc.) to a task group. Retains uploaded files; previews require a clean malware scan. | authz_personas=[driver_for_executor, executor_org_operators, coordinator_org_operators, shipper_org_operators] | (UploadFile) -> (TaskGroupS3ObjectMetadata1)
35
35
  *
36
36
  * @param {string} taskGroupId
37
37
  * @param {Chrt.shipping.taskGroups.BodyPostTaskGroupsS3ObjectAddV1} request
@@ -75,7 +75,11 @@ export declare class S3Object {
75
75
  private __getS3ObjectMetadataV1;
76
76
  /**
77
77
  * Streams a task group S3 object file from storage. | authz_personas=[driver_for_executor, executor_org_operators, shipper_org_operators, coordinator_org_operators] | () -> (binary)
78
+ * @throws {@link Chrt.ForbiddenError}
79
+ * @throws {@link Chrt.NotFoundError}
78
80
  * @throws {@link Chrt.UnprocessableEntityError}
81
+ * @throws {@link Chrt.LockedError}
82
+ * @throws {@link Chrt.ServiceUnavailableError}
79
83
  */
80
84
  getV1(taskGroupS3ObjectMetadataId: string, requestOptions?: S3Object.RequestOptions): core.HttpResponsePromise<core.BinaryResponse>;
81
85
  private __getV1;
@@ -56,7 +56,7 @@ class S3Object {
56
56
  this._options = _options;
57
57
  }
58
58
  /**
59
- * Uploads a file (image, PDF, etc.) to a task group. Automatic blurhash generation for images. | authz_personas=[driver_for_executor, executor_org_operators, coordinator_org_operators, shipper_org_operators] | (UploadFile) -> (TaskGroupS3ObjectMetadata1)
59
+ * Uploads a file (image, PDF, etc.) to a task group. Retains uploaded files; previews require a clean malware scan. | authz_personas=[driver_for_executor, executor_org_operators, coordinator_org_operators, shipper_org_operators] | (UploadFile) -> (TaskGroupS3ObjectMetadata1)
60
60
  *
61
61
  * @param {string} taskGroupId
62
62
  * @param {Chrt.shipping.taskGroups.BodyPostTaskGroupsS3ObjectAddV1} request
@@ -244,7 +244,11 @@ class S3Object {
244
244
  }
245
245
  /**
246
246
  * Streams a task group S3 object file from storage. | authz_personas=[driver_for_executor, executor_org_operators, shipper_org_operators, coordinator_org_operators] | () -> (binary)
247
+ * @throws {@link Chrt.ForbiddenError}
248
+ * @throws {@link Chrt.NotFoundError}
247
249
  * @throws {@link Chrt.UnprocessableEntityError}
250
+ * @throws {@link Chrt.LockedError}
251
+ * @throws {@link Chrt.ServiceUnavailableError}
248
252
  */
249
253
  getV1(taskGroupS3ObjectMetadataId, requestOptions) {
250
254
  return core.HttpResponsePromise.fromPromise(this.__getV1(taskGroupS3ObjectMetadataId, requestOptions));
@@ -268,8 +272,16 @@ class S3Object {
268
272
  }
269
273
  if (_response.error.reason === "status-code") {
270
274
  switch (_response.error.statusCode) {
275
+ case 403:
276
+ throw new Chrt.ForbiddenError(_response.error.body, _response.rawResponse);
277
+ case 404:
278
+ throw new Chrt.NotFoundError(_response.error.body, _response.rawResponse);
271
279
  case 422:
272
280
  throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
281
+ case 423:
282
+ throw new Chrt.LockedError(_response.error.body, _response.rawResponse);
283
+ case 503:
284
+ throw new Chrt.ServiceUnavailableError(_response.error.body, _response.rawResponse);
273
285
  default:
274
286
  throw new errors.ChrtError({
275
287
  statusCode: _response.error.statusCode,
@@ -76,6 +76,8 @@ export declare class Devices {
76
76
  * page_size: 1,
77
77
  * search: "search",
78
78
  * org_scope: "owned",
79
+ * filter_device_id: "filter_device_id",
80
+ * filter_device_mac_address: "filter_device_mac_address",
79
81
  * filter_off_chrt_reference_id: "filter_off_chrt_reference_id",
80
82
  * filter_type: "D15N-tag",
81
83
  * filter_active_cargo_id: "filter_active_cargo_id",
@@ -210,6 +210,8 @@ class Devices {
210
210
  * page_size: 1,
211
211
  * search: "search",
212
212
  * org_scope: "owned",
213
+ * filter_device_id: "filter_device_id",
214
+ * filter_device_mac_address: "filter_device_mac_address",
213
215
  * filter_off_chrt_reference_id: "filter_off_chrt_reference_id",
214
216
  * filter_type: "D15N-tag",
215
217
  * filter_active_cargo_id: "filter_active_cargo_id",
@@ -231,7 +233,7 @@ class Devices {
231
233
  __listV1() {
232
234
  return __awaiter(this, arguments, void 0, function* (request = {}, requestOptions) {
233
235
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
234
- const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, org_scope: orgScope, filter_off_chrt_reference_id: filterOffChrtReferenceId, filter_type: filterType, filter_active_cargo_id: filterActiveCargoId, filter_active_session_id: filterActiveSessionId, filter_has_active_session: filterHasActiveSession, filter_has_active_cargo: filterHasActiveCargo, filter_registered_at_timestamp_gte: filterRegisteredAtTimestampGte, filter_registered_at_timestamp_lte: filterRegisteredAtTimestampLte, filter_last_seen_at_timestamp_gte: filterLastSeenAtTimestampGte, filter_last_seen_at_timestamp_lte: filterLastSeenAtTimestampLte, filter_first_seen_at_timestamp_gte: filterFirstSeenAtTimestampGte, filter_first_seen_at_timestamp_lte: filterFirstSeenAtTimestampLte, filter_archived: filterArchived, } = request;
236
+ const { sort_by: sortBy, sort_order: sortOrder, page, page_size: pageSize, search, org_scope: orgScope, filter_device_id: filterDeviceId, filter_device_mac_address: filterDeviceMacAddress, filter_off_chrt_reference_id: filterOffChrtReferenceId, filter_type: filterType, filter_active_cargo_id: filterActiveCargoId, filter_active_session_id: filterActiveSessionId, filter_has_active_session: filterHasActiveSession, filter_has_active_cargo: filterHasActiveCargo, filter_registered_at_timestamp_gte: filterRegisteredAtTimestampGte, filter_registered_at_timestamp_lte: filterRegisteredAtTimestampLte, filter_last_seen_at_timestamp_gte: filterLastSeenAtTimestampGte, filter_last_seen_at_timestamp_lte: filterLastSeenAtTimestampLte, filter_first_seen_at_timestamp_gte: filterFirstSeenAtTimestampGte, filter_first_seen_at_timestamp_lte: filterFirstSeenAtTimestampLte, filter_archived: filterArchived, } = request;
235
237
  const _queryParams = {};
236
238
  if (sortBy !== undefined) {
237
239
  _queryParams["sort_by"] = sortBy;
@@ -251,6 +253,12 @@ class Devices {
251
253
  if (orgScope !== undefined) {
252
254
  _queryParams["org_scope"] = orgScope;
253
255
  }
256
+ if (filterDeviceId !== undefined) {
257
+ _queryParams["filter_device_id"] = filterDeviceId;
258
+ }
259
+ if (filterDeviceMacAddress !== undefined) {
260
+ _queryParams["filter_device_mac_address"] = filterDeviceMacAddress;
261
+ }
254
262
  if (filterOffChrtReferenceId !== undefined) {
255
263
  _queryParams["filter_off_chrt_reference_id"] = filterOffChrtReferenceId;
256
264
  }
@@ -11,6 +11,8 @@ import * as Chrt from "../../../../../../index.js";
11
11
  * page_size: 1,
12
12
  * search: "search",
13
13
  * org_scope: "owned",
14
+ * filter_device_id: "filter_device_id",
15
+ * filter_device_mac_address: "filter_device_mac_address",
14
16
  * filter_off_chrt_reference_id: "filter_off_chrt_reference_id",
15
17
  * filter_type: "D15N-tag",
16
18
  * filter_active_cargo_id: "filter_active_cargo_id",
@@ -37,6 +39,10 @@ export interface DevicesListV1Request {
37
39
  search?: string | null;
38
40
  /** Filter by org ownership: owned, shared, or owned_and_shared */
39
41
  org_scope?: Chrt.TrackingOrgScopeEnum | null;
42
+ /** Filter by device ID (exact match) */
43
+ filter_device_id?: string | null;
44
+ /** Filter by device MAC address (exact match) */
45
+ filter_device_mac_address?: string | null;
40
46
  /** Filter by off-CHRT reference ID (exact match) */
41
47
  filter_off_chrt_reference_id?: string | null;
42
48
  /** Filter by device type */
@@ -0,0 +1,19 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface BidThreadForListing1 {
6
+ _id: string;
7
+ accepted_pro_forma_line_items?: Chrt.ProFormaLineItem1[] | null;
8
+ bidder_driver?: Chrt.Driver1 | null;
9
+ bidder_driver_id?: string | null;
10
+ bidder_provider_org?: Chrt.OrgPublicData1 | null;
11
+ /** Must be a string starting with `org_` */
12
+ bidder_provider_org_id?: string | null;
13
+ bids: Chrt.Bid[];
14
+ created_at_timestamp: string;
15
+ listing_id: string;
16
+ schema_version?: number;
17
+ status: Chrt.BidThreadStatusEnum;
18
+ status_changed_at_timestamp: string;
19
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface BidThreadForListingListRes {
6
+ items: Chrt.BidThreadForListing1[];
7
+ total_count: number;
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,27 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface FileDownloadErrorRes {
5
+ /** Stable code for client behavior; do not parse detail. */
6
+ code: FileDownloadErrorRes.Code;
7
+ /** Factual description of the file or scan condition. */
8
+ detail: string;
9
+ /** Whether another download attempt may help without operator intervention. */
10
+ retryable: boolean;
11
+ }
12
+ export declare namespace FileDownloadErrorRes {
13
+ /**
14
+ * Stable code for client behavior; do not parse detail.
15
+ */
16
+ type Code = "FILE_SCAN_PENDING" | "FILE_MALWARE_DETECTED" | "FILE_SCAN_UNSUPPORTED" | "FILE_SCAN_FAILED" | "FILE_SCAN_ACCESS_DENIED" | "FILE_SCAN_STATUS_UNAVAILABLE" | "FILE_DOWNLOAD_UNAVAILABLE" | "FILE_NOT_FOUND";
17
+ const Code: {
18
+ readonly FileScanPending: "FILE_SCAN_PENDING";
19
+ readonly FileMalwareDetected: "FILE_MALWARE_DETECTED";
20
+ readonly FileScanUnsupported: "FILE_SCAN_UNSUPPORTED";
21
+ readonly FileScanFailed: "FILE_SCAN_FAILED";
22
+ readonly FileScanAccessDenied: "FILE_SCAN_ACCESS_DENIED";
23
+ readonly FileScanStatusUnavailable: "FILE_SCAN_STATUS_UNAVAILABLE";
24
+ readonly FileDownloadUnavailable: "FILE_DOWNLOAD_UNAVAILABLE";
25
+ readonly FileNotFound: "FILE_NOT_FOUND";
26
+ };
27
+ }
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.FileDownloadErrorRes = void 0;
7
+ var FileDownloadErrorRes;
8
+ (function (FileDownloadErrorRes) {
9
+ FileDownloadErrorRes.Code = {
10
+ FileScanPending: "FILE_SCAN_PENDING",
11
+ FileMalwareDetected: "FILE_MALWARE_DETECTED",
12
+ FileScanUnsupported: "FILE_SCAN_UNSUPPORTED",
13
+ FileScanFailed: "FILE_SCAN_FAILED",
14
+ FileScanAccessDenied: "FILE_SCAN_ACCESS_DENIED",
15
+ FileScanStatusUnavailable: "FILE_SCAN_STATUS_UNAVAILABLE",
16
+ FileDownloadUnavailable: "FILE_DOWNLOAD_UNAVAILABLE",
17
+ FileNotFound: "FILE_NOT_FOUND",
18
+ };
19
+ })(FileDownloadErrorRes || (exports.FileDownloadErrorRes = FileDownloadErrorRes = {}));
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface FileDownloadRequestErrorRes {
5
+ /** Existing authorization/resource error message or FastAPI request-validation errors. */
6
+ detail: FileDownloadRequestErrorRes.Detail;
7
+ }
8
+ export declare namespace FileDownloadRequestErrorRes {
9
+ /**
10
+ * Existing authorization/resource error message or FastAPI request-validation errors.
11
+ */
12
+ type Detail = string | Record<string, unknown>[];
13
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export type NotFoundErrorBody = Chrt.FileDownloadErrorRes | Chrt.FileDownloadRequestErrorRes;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -8,10 +8,11 @@
8
8
  * structurally parallel to the Check status model in anticipation of the
9
9
  * eventual Task <-> Check merge.
10
10
  */
11
- export type OperationsTaskStatusEnum = "not_started" | "in_progress" | "completed" | "skipped" | "cancelled";
11
+ export type OperationsTaskStatusEnum = "not_started" | "in_progress" | "blocked" | "completed" | "skipped" | "cancelled";
12
12
  export declare const OperationsTaskStatusEnum: {
13
13
  readonly NotStarted: "not_started";
14
14
  readonly InProgress: "in_progress";
15
+ readonly Blocked: "blocked";
15
16
  readonly Completed: "completed";
16
17
  readonly Skipped: "skipped";
17
18
  readonly Cancelled: "cancelled";
@@ -7,6 +7,7 @@ exports.OperationsTaskStatusEnum = void 0;
7
7
  exports.OperationsTaskStatusEnum = {
8
8
  NotStarted: "not_started",
9
9
  InProgress: "in_progress",
10
+ Blocked: "blocked",
10
11
  Completed: "completed",
11
12
  Skipped: "skipped",
12
13
  Cancelled: "cancelled",
@@ -15,13 +15,14 @@
15
15
  * *channel* (call vs. email) — the recipient is what a dispatcher batches
16
16
  * around, and the channel is captured in title/description detail.
17
17
  */
18
- export type OperationsTaskTypeEnum = "review_order_details" | "flight_check" | "facility_check" | "weather_check" | "book_cargo" | "track_and_verify" | "contact_customer" | "contact_agent" | "contact_airline" | "contact_other" | "finalize_billing" | "custom" | "other";
18
+ export type OperationsTaskTypeEnum = "review_order_details" | "flight_check" | "facility_check" | "weather_check" | "book_cargo" | "customs" | "track_and_verify" | "contact_customer" | "contact_agent" | "contact_airline" | "contact_other" | "finalize_billing" | "custom" | "other";
19
19
  export declare const OperationsTaskTypeEnum: {
20
20
  readonly ReviewOrderDetails: "review_order_details";
21
21
  readonly FlightCheck: "flight_check";
22
22
  readonly FacilityCheck: "facility_check";
23
23
  readonly WeatherCheck: "weather_check";
24
24
  readonly BookCargo: "book_cargo";
25
+ readonly Customs: "customs";
25
26
  readonly TrackAndVerify: "track_and_verify";
26
27
  readonly ContactCustomer: "contact_customer";
27
28
  readonly ContactAgent: "contact_agent";
@@ -10,6 +10,7 @@ exports.OperationsTaskTypeEnum = {
10
10
  FacilityCheck: "facility_check",
11
11
  WeatherCheck: "weather_check",
12
12
  BookCargo: "book_cargo",
13
+ Customs: "customs",
13
14
  TrackAndVerify: "track_and_verify",
14
15
  ContactCustomer: "contact_customer",
15
16
  ContactAgent: "contact_agent",
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type OperationsTaskTypeaheadFieldEnum = "entry_tag";
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export interface OperationsTaskTypeaheadResult {
6
+ type: Chrt.OperationsTaskTypeaheadFieldEnum;
7
+ values?: string[];
8
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -9,7 +9,7 @@ export interface Order1 {
9
9
  completed_at_timestamp?: string | null;
10
10
  coordinator_assigned_user_ids?: string[];
11
11
  coordinator_department_ids?: string[];
12
- coordinator_label?: string | null;
12
+ coordinator_labels?: string[];
13
13
  /** Must be a string starting with `org_` */
14
14
  coordinator_org_id?: string | null;
15
15
  coordinator_shipper_account_ids?: string[];
@@ -2,7 +2,7 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface OrderBillingExecutor1 {
5
- executor_label?: string | null;
5
+ executor_labels?: string[];
6
6
  /** Must be a string starting with `org_` */
7
7
  executor_org_id?: string | null;
8
8
  name?: string | null;
@@ -6,7 +6,7 @@ export interface OrderBillingExpandedListItem1 {
6
6
  accounts?: Chrt.OrderBillingAccount1[];
7
7
  awb_numbers?: string[];
8
8
  billing_periods?: Chrt.OrderBillingPeriod1[];
9
- coordinator_label?: string | null;
9
+ coordinator_labels?: string[];
10
10
  executors?: Chrt.OrderBillingExecutor1[];
11
11
  includes_air_waybill_invoice_line_item: boolean;
12
12
  invoice_count: number;
@@ -14,7 +14,7 @@ export interface OrderLimitedForProvider1 {
14
14
  completed_at_timestamp?: string | null;
15
15
  coordinator_assigned_user_ids?: string[];
16
16
  coordinator_department_ids?: string[];
17
- coordinator_label?: string | null;
17
+ coordinator_labels?: string[];
18
18
  /** Must be a string starting with `org_` */
19
19
  coordinator_org_id?: string | null;
20
20
  coordinator_shipper_account_ids?: string[];
@@ -5,7 +5,7 @@ import * as Chrt from "../index.js";
5
5
  export interface OrderTaskGroupExecutorDetails1 {
6
6
  executor_assigned_user_ids?: string[];
7
7
  executor_department_ids?: string[];
8
- executor_label?: string | null;
8
+ executor_labels?: string[];
9
9
  /** Must be a string starting with `org_` */
10
10
  executor_org_id?: string | null;
11
11
  off_chrt_executor_org_data_id?: string | null;
@@ -8,7 +8,7 @@ export interface OrderTemplateNew1 {
8
8
  cargos?: Chrt.OrderTemplateNewCargo1[];
9
9
  coordinator_assigned_user_ids?: string[];
10
10
  coordinator_department_ids?: string[];
11
- coordinator_label?: string | null;
11
+ coordinator_labels?: string[];
12
12
  /** Must be a string starting with `org_` */
13
13
  coordinator_org_id?: string | null;
14
14
  created_at_timestamp: string;
@@ -6,7 +6,7 @@ export interface OrderTemplateNewCore1 {
6
6
  cargos?: Chrt.OrderTemplateNewCargo1[];
7
7
  coordinator_assigned_user_ids?: string[];
8
8
  coordinator_department_ids?: string[];
9
- coordinator_label?: string | null;
9
+ coordinator_labels?: string[];
10
10
  /** Must be a string starting with `org_` */
11
11
  coordinator_org_id?: string | null;
12
12
  /** Must be a URL-safe string of 1-64 characters. Allowed characters: A-Z, a-z, 0-9, '.', '_', '~', '-' (RFC 3986 unreserved). */
@@ -8,7 +8,8 @@ export interface OrderTemplateNewExpanded1 {
8
8
  cargos?: Chrt.OrderTemplateNewCargo1[];
9
9
  coordinator_assigned_user_ids?: string[];
10
10
  coordinator_department_ids?: string[];
11
- coordinator_label?: string | null;
11
+ coordinator_departments?: Chrt.Department1[];
12
+ coordinator_labels?: string[];
12
13
  coordinator_org?: Chrt.OrgPublicData1 | null;
13
14
  /** Must be a string starting with `org_` */
14
15
  coordinator_org_id?: string | null;
@@ -1,9 +1,10 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- export type TaskArtifactTypeEnum1 = "image" | "signature" | "scan" | "other";
4
+ export type TaskArtifactTypeEnum1 = "image" | "file" | "signature" | "scan" | "other";
5
5
  export declare const TaskArtifactTypeEnum1: {
6
6
  readonly Image: "image";
7
+ readonly File: "file";
7
8
  readonly Signature: "signature";
8
9
  readonly Scan: "scan";
9
10
  readonly Other: "other";
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.TaskArtifactTypeEnum1 = void 0;
7
7
  exports.TaskArtifactTypeEnum1 = {
8
8
  Image: "image",
9
+ File: "file",
9
10
  Signature: "signature",
10
11
  Scan: "scan",
11
12
  Other: "other",
@@ -0,0 +1,5 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../index.js";
5
+ export type UnprocessableEntityErrorBody = Chrt.FileDownloadErrorRes | Chrt.FileDownloadRequestErrorRes;
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,5 @@
1
+ export * from "./NotFoundErrorBody.js";
2
+ export * from "./UnprocessableEntityErrorBody.js";
1
3
  export * from "./AiImageDescription.js";
2
4
  export * from "./Account1.js";
3
5
  export * from "./AccountListRes.js";
@@ -33,6 +35,8 @@ export * from "./Bid.js";
33
35
  export * from "./BidActionEnum.js";
34
36
  export * from "./BidAppendReq.js";
35
37
  export * from "./BidThread1.js";
38
+ export * from "./BidThreadForListing1.js";
39
+ export * from "./BidThreadForListingListRes.js";
36
40
  export * from "./BidThreadListRes.js";
37
41
  export * from "./BidThreadSortByEnum.js";
38
42
  export * from "./BidThreadStatusEnum.js";
@@ -226,6 +230,8 @@ export * from "./EcourierOrderResponse1.js";
226
230
  export * from "./EcourierOrderSortByEnum.js";
227
231
  export * from "./EcourierOrderStopResponse1.js";
228
232
  export * from "./ExtraStopRate1.js";
233
+ export * from "./FileDownloadErrorRes.js";
234
+ export * from "./FileDownloadRequestErrorRes.js";
229
235
  export * from "./FirebaseCloudMessagingTokenData1.js";
230
236
  export * from "./FlatFeeRate1.js";
231
237
  export * from "./FlightConnection.js";
@@ -354,6 +360,8 @@ export * from "./OperationsTaskListSortByEnum.js";
354
360
  export * from "./OperationsTaskSortByEnum.js";
355
361
  export * from "./OperationsTaskStatusEnum.js";
356
362
  export * from "./OperationsTaskTypeEnum.js";
363
+ export * from "./OperationsTaskTypeaheadFieldEnum.js";
364
+ export * from "./OperationsTaskTypeaheadResult.js";
357
365
  export * from "./OperationsTasksDeadlineTimestampsUpdateRes1.js";
358
366
  export * from "./OperationsTasksStatusUpdateRes1.js";
359
367
  export * from "./OperationsTasksUpdateDepartmentManyRes.js";