@chrt-inc/typescript-sdk 1.661.0 → 1.662.1

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 (192) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/Client.d.ts +1 -0
  3. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/Client.js +1 -0
  4. package/dist/cjs/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.d.ts +1 -0
  5. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/Client.d.ts +2 -1
  6. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/Client.js +2 -1
  7. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientCreate1.d.ts +1 -0
  8. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientUpdate1.d.ts +2 -0
  9. package/dist/cjs/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgersListV1Request.d.ts +1 -0
  10. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.d.ts +1 -0
  11. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/Client.js +1 -0
  12. package/dist/cjs/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListV1Request.d.ts +1 -0
  13. package/dist/cjs/api/resources/billing/resources/statements/client/Client.d.ts +2 -0
  14. package/dist/cjs/api/resources/billing/resources/statements/client/Client.js +2 -0
  15. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.ts +1 -0
  16. package/dist/cjs/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.ts +1 -0
  17. package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.d.ts +2 -0
  18. package/dist/cjs/api/resources/listing/resources/bidThreads/client/Client.js +2 -0
  19. package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.d.ts +1 -0
  20. package/dist/cjs/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.d.ts +1 -0
  21. package/dist/cjs/api/resources/listing/resources/listings/client/Client.d.ts +6 -0
  22. package/dist/cjs/api/resources/listing/resources/listings/client/Client.js +6 -0
  23. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListByOrgV1Request.d.ts +2 -0
  24. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.d.ts +2 -0
  25. package/dist/cjs/api/resources/listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.d.ts +2 -0
  26. package/dist/cjs/api/resources/operations/resources/cases/client/Client.d.ts +77 -0
  27. package/dist/cjs/api/resources/operations/resources/cases/client/Client.js +315 -0
  28. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseNeedsActionReq.d.ts +12 -0
  29. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseStatusReq.d.ts +13 -0
  30. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CaseStatusReq.js +5 -0
  31. package/dist/cjs/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.ts +2 -0
  32. package/dist/cjs/api/resources/operations/resources/cases/client/requests/index.d.ts +2 -0
  33. package/dist/cjs/api/resources/operations/resources/cases/index.d.ts +1 -0
  34. package/dist/cjs/api/resources/operations/resources/cases/index.js +1 -0
  35. package/dist/cjs/api/resources/operations/resources/cases/resources/index.d.ts +2 -0
  36. package/dist/cjs/api/resources/operations/resources/cases/resources/index.js +41 -0
  37. package/dist/cjs/api/resources/operations/resources/cases/resources/s3Objects/client/Client.d.ts +83 -0
  38. package/dist/cjs/api/resources/operations/resources/cases/resources/s3Objects/client/Client.js +308 -0
  39. package/dist/cjs/api/resources/operations/resources/cases/resources/s3Objects/client/index.d.ts +2 -0
  40. package/dist/cjs/api/resources/operations/resources/cases/resources/s3Objects/client/index.js +17 -0
  41. package/dist/cjs/api/resources/operations/resources/cases/resources/s3Objects/client/requests/BodyPostCasesS3ObjectsAddV1OperationsCasesS3ObjectsAddV1CaseIdPost.d.ts +13 -0
  42. package/dist/cjs/api/resources/operations/resources/cases/resources/s3Objects/client/requests/BodyPostCasesS3ObjectsAddV1OperationsCasesS3ObjectsAddV1CaseIdPost.js +5 -0
  43. package/dist/cjs/api/resources/operations/resources/cases/resources/s3Objects/client/requests/index.d.ts +1 -0
  44. package/dist/cjs/api/resources/operations/resources/cases/resources/s3Objects/client/requests/index.js +2 -0
  45. package/dist/cjs/api/resources/operations/resources/cases/resources/s3Objects/index.d.ts +1 -0
  46. package/dist/cjs/api/resources/operations/resources/cases/resources/s3Objects/index.js +17 -0
  47. package/dist/cjs/api/resources/operations/resources/departments/client/Client.d.ts +2 -1
  48. package/dist/cjs/api/resources/operations/resources/departments/client/Client.js +2 -1
  49. package/dist/cjs/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.ts +2 -1
  50. package/dist/cjs/api/resources/orgs/client/Client.d.ts +2 -1
  51. package/dist/cjs/api/resources/orgs/client/Client.js +2 -1
  52. package/dist/cjs/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.ts +1 -0
  53. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/Client.d.ts +1 -1
  54. package/dist/cjs/api/resources/orgs/resources/orgProfiles/client/Client.js +1 -1
  55. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +1 -0
  56. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +1 -0
  57. package/dist/cjs/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.ts +1 -0
  58. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/Client.d.ts +2 -0
  59. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/Client.js +2 -0
  60. package/dist/cjs/api/resources/shipping/resources/orderSchedules/client/requests/OrderSchedulesListV1Request.d.ts +2 -0
  61. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.ts +2 -0
  62. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/Client.js +2 -0
  63. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.ts +1 -0
  64. package/dist/cjs/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.ts +1 -0
  65. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.d.ts +1 -1
  66. package/dist/cjs/api/resources/shipping/resources/taskGroups/client/Client.js +1 -1
  67. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.ts +2 -0
  68. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.js +2 -0
  69. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.ts +1 -0
  70. package/dist/cjs/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.ts +1 -0
  71. package/dist/cjs/api/types/BillingLedger1.d.ts +1 -0
  72. package/dist/cjs/api/types/Caller.d.ts +4 -3
  73. package/dist/cjs/api/types/CallerCredentialTypeEnum.d.ts +2 -2
  74. package/dist/cjs/api/types/CallerCredentialTypeEnum.js +1 -1
  75. package/dist/cjs/api/types/Case1.d.ts +4 -0
  76. package/dist/cjs/api/types/CaseMessage1.d.ts +1 -0
  77. package/dist/cjs/api/types/CaseS3ObjectMetadata1.d.ts +19 -0
  78. package/dist/cjs/api/types/CaseS3ObjectMetadata1.js +5 -0
  79. package/dist/cjs/api/types/InternalDelegationTokenReq.d.ts +9 -0
  80. package/dist/cjs/api/types/InternalDelegationTokenReq.js +5 -0
  81. package/dist/cjs/api/types/InternalDelegationTokenRes.d.ts +6 -0
  82. package/dist/cjs/api/types/InternalDelegationTokenRes.js +5 -0
  83. package/dist/cjs/api/types/OrgInfoResponse.d.ts +5 -5
  84. package/dist/cjs/api/types/OrgPrivateData1.d.ts +1 -0
  85. package/dist/cjs/api/types/OrgRoleEnum.d.ts +7 -13
  86. package/dist/cjs/api/types/OrgRoleEnum.js +2 -2
  87. package/dist/cjs/api/types/UserPrivateData1.d.ts +1 -0
  88. package/dist/cjs/api/types/WorkflowActorContext.d.ts +14 -0
  89. package/dist/cjs/api/types/WorkflowActorContext.js +5 -0
  90. package/dist/cjs/api/types/index.d.ts +4 -1
  91. package/dist/cjs/api/types/index.js +4 -1
  92. package/dist/cjs/version.d.ts +1 -1
  93. package/dist/cjs/version.js +1 -1
  94. package/dist/esm/Client.mjs +2 -2
  95. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/Client.d.mts +1 -0
  96. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/Client.mjs +1 -0
  97. package/dist/esm/api/resources/billing/resources/billingLedgerPeriods/client/requests/BillingLedgerPeriodsListV1Request.d.mts +1 -0
  98. package/dist/esm/api/resources/billing/resources/billingLedgers/client/Client.d.mts +2 -1
  99. package/dist/esm/api/resources/billing/resources/billingLedgers/client/Client.mjs +2 -1
  100. package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientCreate1.d.mts +1 -0
  101. package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgerClientUpdate1.d.mts +2 -0
  102. package/dist/esm/api/resources/billing/resources/billingLedgers/client/requests/BillingLedgersListV1Request.d.mts +1 -0
  103. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.d.mts +1 -0
  104. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/Client.mjs +1 -0
  105. package/dist/esm/api/resources/billing/resources/lineItemGroups/client/requests/LineItemGroupsListV1Request.d.mts +1 -0
  106. package/dist/esm/api/resources/billing/resources/statements/client/Client.d.mts +2 -0
  107. package/dist/esm/api/resources/billing/resources/statements/client/Client.mjs +2 -0
  108. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsExpandedListV1Request.d.mts +1 -0
  109. package/dist/esm/api/resources/billing/resources/statements/client/requests/StatementsListV1Request.d.mts +1 -0
  110. package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.d.mts +2 -0
  111. package/dist/esm/api/resources/listing/resources/bidThreads/client/Client.mjs +2 -0
  112. package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForBidderV1Request.d.mts +1 -0
  113. package/dist/esm/api/resources/listing/resources/bidThreads/client/requests/BidThreadsListForListingV1Request.d.mts +1 -0
  114. package/dist/esm/api/resources/listing/resources/listings/client/Client.d.mts +6 -0
  115. package/dist/esm/api/resources/listing/resources/listings/client/Client.mjs +6 -0
  116. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListByOrgV1Request.d.mts +2 -0
  117. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListForDriverBidderV1Request.d.mts +2 -0
  118. package/dist/esm/api/resources/listing/resources/listings/client/requests/ListingsListForProviderBidderV1Request.d.mts +2 -0
  119. package/dist/esm/api/resources/operations/resources/cases/client/Client.d.mts +77 -0
  120. package/dist/esm/api/resources/operations/resources/cases/client/Client.mjs +315 -0
  121. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseNeedsActionReq.d.mts +12 -0
  122. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseStatusReq.d.mts +13 -0
  123. package/dist/esm/api/resources/operations/resources/cases/client/requests/CaseStatusReq.mjs +4 -0
  124. package/dist/esm/api/resources/operations/resources/cases/client/requests/CasesListV1Request.d.mts +2 -0
  125. package/dist/esm/api/resources/operations/resources/cases/client/requests/index.d.mts +2 -0
  126. package/dist/esm/api/resources/operations/resources/cases/index.d.mts +1 -0
  127. package/dist/esm/api/resources/operations/resources/cases/index.mjs +1 -0
  128. package/dist/esm/api/resources/operations/resources/cases/resources/index.d.mts +2 -0
  129. package/dist/esm/api/resources/operations/resources/cases/resources/index.mjs +2 -0
  130. package/dist/esm/api/resources/operations/resources/cases/resources/s3Objects/client/Client.d.mts +83 -0
  131. package/dist/esm/api/resources/operations/resources/cases/resources/s3Objects/client/Client.mjs +271 -0
  132. package/dist/esm/api/resources/operations/resources/cases/resources/s3Objects/client/index.d.mts +2 -0
  133. package/dist/esm/api/resources/operations/resources/cases/resources/s3Objects/client/index.mjs +1 -0
  134. package/dist/esm/api/resources/operations/resources/cases/resources/s3Objects/client/requests/BodyPostCasesS3ObjectsAddV1OperationsCasesS3ObjectsAddV1CaseIdPost.d.mts +13 -0
  135. package/dist/esm/api/resources/operations/resources/cases/resources/s3Objects/client/requests/BodyPostCasesS3ObjectsAddV1OperationsCasesS3ObjectsAddV1CaseIdPost.mjs +4 -0
  136. package/dist/esm/api/resources/operations/resources/cases/resources/s3Objects/client/requests/index.d.mts +1 -0
  137. package/dist/esm/api/resources/operations/resources/cases/resources/s3Objects/client/requests/index.mjs +1 -0
  138. package/dist/esm/api/resources/operations/resources/cases/resources/s3Objects/index.d.mts +1 -0
  139. package/dist/esm/api/resources/operations/resources/cases/resources/s3Objects/index.mjs +1 -0
  140. package/dist/esm/api/resources/operations/resources/departments/client/Client.d.mts +2 -1
  141. package/dist/esm/api/resources/operations/resources/departments/client/Client.mjs +2 -1
  142. package/dist/esm/api/resources/operations/resources/departments/client/requests/DepartmentsListV1Request.d.mts +2 -1
  143. package/dist/esm/api/resources/orgs/client/Client.d.mts +2 -1
  144. package/dist/esm/api/resources/orgs/client/Client.mjs +2 -1
  145. package/dist/esm/api/resources/orgs/client/requests/OrgsListMembersV1Request.d.mts +1 -0
  146. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/Client.d.mts +1 -1
  147. package/dist/esm/api/resources/orgs/resources/orgProfiles/client/Client.mjs +1 -1
  148. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +1 -0
  149. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +1 -0
  150. package/dist/esm/api/resources/shipping/resources/drivers/client/requests/DriversListOrgMembersAndDriversV1Request.d.mts +1 -0
  151. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/Client.d.mts +2 -0
  152. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/Client.mjs +2 -0
  153. package/dist/esm/api/resources/shipping/resources/orderSchedules/client/requests/OrderSchedulesListV1Request.d.mts +2 -0
  154. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.d.mts +2 -0
  155. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/Client.mjs +2 -0
  156. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForCoordinatorOperatorsV1Request.d.mts +1 -0
  157. package/dist/esm/api/resources/shipping/resources/orders/resources/expanded/client/requests/ExpandedListForShipperOperatorsV1Request.d.mts +1 -0
  158. package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.d.mts +1 -1
  159. package/dist/esm/api/resources/shipping/resources/taskGroups/client/Client.mjs +1 -1
  160. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.d.mts +2 -0
  161. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/Client.mjs +2 -0
  162. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForDriverForExecutorV1Request.d.mts +1 -0
  163. package/dist/esm/api/resources/shipping/resources/taskGroups/resources/expanded/client/requests/ExpandedListForExecutorOperatorsV1Request.d.mts +1 -0
  164. package/dist/esm/api/types/BillingLedger1.d.mts +1 -0
  165. package/dist/esm/api/types/Caller.d.mts +4 -3
  166. package/dist/esm/api/types/CallerCredentialTypeEnum.d.mts +2 -2
  167. package/dist/esm/api/types/CallerCredentialTypeEnum.mjs +1 -1
  168. package/dist/esm/api/types/Case1.d.mts +4 -0
  169. package/dist/esm/api/types/CaseMessage1.d.mts +1 -0
  170. package/dist/esm/api/types/CaseS3ObjectMetadata1.d.mts +19 -0
  171. package/dist/esm/api/types/CaseS3ObjectMetadata1.mjs +4 -0
  172. package/dist/esm/api/types/InternalDelegationTokenReq.d.mts +9 -0
  173. package/dist/esm/api/types/InternalDelegationTokenReq.mjs +4 -0
  174. package/dist/esm/api/types/InternalDelegationTokenRes.d.mts +6 -0
  175. package/dist/esm/api/types/InternalDelegationTokenRes.mjs +4 -0
  176. package/dist/esm/api/types/OrgInfoResponse.d.mts +5 -5
  177. package/dist/esm/api/types/OrgPrivateData1.d.mts +1 -0
  178. package/dist/esm/api/types/OrgRoleEnum.d.mts +7 -13
  179. package/dist/esm/api/types/OrgRoleEnum.mjs +2 -2
  180. package/dist/esm/api/types/UserPrivateData1.d.mts +1 -0
  181. package/dist/esm/api/types/WorkflowActorContext.d.mts +14 -0
  182. package/dist/esm/api/types/WorkflowActorContext.mjs +4 -0
  183. package/dist/esm/api/types/index.d.mts +4 -1
  184. package/dist/esm/api/types/index.mjs +4 -1
  185. package/dist/esm/version.d.mts +1 -1
  186. package/dist/esm/version.mjs +1 -1
  187. package/package.json +1 -1
  188. package/reference.md +694 -63
  189. package/dist/cjs/api/types/ClerkOrgData.d.ts +0 -12
  190. package/dist/esm/api/types/ClerkOrgData.d.mts +0 -12
  191. /package/dist/cjs/api/{types/ClerkOrgData.js → resources/operations/resources/cases/client/requests/CaseNeedsActionReq.js} +0 -0
  192. /package/dist/esm/api/{types/ClerkOrgData.mjs → resources/operations/resources/cases/client/requests/CaseNeedsActionReq.mjs} +0 -0
@@ -211,6 +211,8 @@ export class Listings {
211
211
  * sort_order: "asc",
212
212
  * page: 1,
213
213
  * page_size: 1,
214
+ * filter_status: ["open"],
215
+ * filter_type: ["dispatch"],
214
216
  * filter_task_group_id: "filter_task_group_id",
215
217
  * filter_order_id: "filter_order_id",
216
218
  * filter_created_by_org_id: "filter_created_by_org_id",
@@ -340,6 +342,8 @@ export class Listings {
340
342
  * sort_order: "asc",
341
343
  * page: 1,
342
344
  * page_size: 1,
345
+ * filter_status: ["open"],
346
+ * filter_type: ["dispatch"],
343
347
  * filter_task_group_id: "filter_task_group_id",
344
348
  * filter_order_id: "filter_order_id",
345
349
  * filter_created_by_org_id: "filter_created_by_org_id",
@@ -466,6 +470,8 @@ export class Listings {
466
470
  * sort_order: "asc",
467
471
  * page: 1,
468
472
  * page_size: 1,
473
+ * filter_status: ["open"],
474
+ * filter_type: ["dispatch"],
469
475
  * filter_task_group_id: "filter_task_group_id",
470
476
  * filter_order_id: "filter_order_id",
471
477
  * filter_created_by_org_id: "filter_created_by_org_id",
@@ -10,6 +10,8 @@ import * as Chrt from "../../../../../../index.mjs";
10
10
  * sort_order: "asc",
11
11
  * page: 1,
12
12
  * page_size: 1,
13
+ * filter_status: ["open"],
14
+ * filter_type: ["dispatch"],
13
15
  * filter_task_group_id: "filter_task_group_id",
14
16
  * filter_order_id: "filter_order_id",
15
17
  * filter_created_by_org_id: "filter_created_by_org_id",
@@ -9,6 +9,8 @@ import * as Chrt from "../../../../../../index.mjs";
9
9
  * sort_order: "asc",
10
10
  * page: 1,
11
11
  * page_size: 1,
12
+ * filter_status: ["open"],
13
+ * filter_type: ["dispatch"],
12
14
  * filter_task_group_id: "filter_task_group_id",
13
15
  * filter_order_id: "filter_order_id",
14
16
  * filter_created_by_org_id: "filter_created_by_org_id",
@@ -9,6 +9,8 @@ import * as Chrt from "../../../../../../index.mjs";
9
9
  * sort_order: "asc",
10
10
  * page: 1,
11
11
  * page_size: 1,
12
+ * filter_status: ["open"],
13
+ * filter_type: ["dispatch"],
12
14
  * filter_task_group_id: "filter_task_group_id",
13
15
  * filter_order_id: "filter_order_id",
14
16
  * filter_created_by_org_id: "filter_created_by_org_id",
@@ -4,6 +4,7 @@
4
4
  import * as environments from "../../../../../../environments.mjs";
5
5
  import * as core from "../../../../../../core/index.mjs";
6
6
  import * as Chrt from "../../../../../index.mjs";
7
+ import { S3Objects } from "../resources/s3Objects/client/Client.mjs";
7
8
  export declare namespace Cases {
8
9
  interface Options {
9
10
  environment?: core.Supplier<environments.ChrtEnvironment | string>;
@@ -29,7 +30,9 @@ export declare namespace Cases {
29
30
  }
30
31
  export declare class Cases {
31
32
  protected readonly _options: Cases.Options;
33
+ protected _s3Objects: S3Objects | undefined;
32
34
  constructor(_options?: Cases.Options);
35
+ get s3Objects(): S3Objects;
33
36
  /**
34
37
  * Lists cases for the caller's organization with filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (CaseListRes)
35
38
  *
@@ -44,6 +47,8 @@ export declare class Cases {
44
47
  * sort_order: "asc",
45
48
  * page: 1,
46
49
  * page_size: 1,
50
+ * filter_status: ["open"],
51
+ * filter_department_id: ["filter_department_id"],
47
52
  * filter_assigned_operator_user_id: "filter_assigned_operator_user_id",
48
53
  * filter_needs_action: true,
49
54
  * filter_unassigned: true
@@ -91,6 +96,64 @@ export declare class Cases {
91
96
  */
92
97
  getByOrderV1(orderId: string, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<Chrt.Case1>;
93
98
  private __getByOrderV1;
99
+ /**
100
+ * Retrieves the case for a given order ID, short ID, or off-chrt reference ID. | authz: min_org_role=operator | () -> (Case1)
101
+ *
102
+ * @param {string} orderRef - Order ID, short ID, or off-chrt reference ID
103
+ * @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
104
+ *
105
+ * @throws {@link Chrt.UnprocessableEntityError}
106
+ *
107
+ * @example
108
+ * await client.operations.cases.getByOrderRefV1("order_ref")
109
+ */
110
+ getByOrderRefV1(orderRef: string, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<Chrt.Case1>;
111
+ private __getByOrderRefV1;
112
+ /**
113
+ * Retrieves the case for a given order short ID. | authz: min_org_role=operator | () -> (Case1)
114
+ *
115
+ * @param {string} orderShortId
116
+ * @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
117
+ *
118
+ * @throws {@link Chrt.UnprocessableEntityError}
119
+ *
120
+ * @example
121
+ * await client.operations.cases.getByOrderShortIdV1("order_short_id")
122
+ */
123
+ getByOrderShortIdV1(orderShortId: string, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<Chrt.Case1>;
124
+ private __getByOrderShortIdV1;
125
+ /**
126
+ * Updates whether a case needs action. | authz: min_org_role=operator | (CaseNeedsActionReq) -> (bool)
127
+ *
128
+ * @param {string} caseId
129
+ * @param {Chrt.operations.CaseNeedsActionReq} request
130
+ * @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
131
+ *
132
+ * @throws {@link Chrt.UnprocessableEntityError}
133
+ *
134
+ * @example
135
+ * await client.operations.cases.updateNeedsActionV1("case_id", {
136
+ * needs_action: true
137
+ * })
138
+ */
139
+ updateNeedsActionV1(caseId: string, request: Chrt.operations.CaseNeedsActionReq, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<boolean>;
140
+ private __updateNeedsActionV1;
141
+ /**
142
+ * Updates a case's status. Closing a case also clears needs_action. | authz: min_org_role=operator | (CaseStatusReq) -> (bool)
143
+ *
144
+ * @param {string} caseId
145
+ * @param {Chrt.operations.CaseStatusReq} request
146
+ * @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
147
+ *
148
+ * @throws {@link Chrt.UnprocessableEntityError}
149
+ *
150
+ * @example
151
+ * await client.operations.cases.updateStatusV1("case_id", {
152
+ * status: "open"
153
+ * })
154
+ */
155
+ updateStatusV1(caseId: string, request: Chrt.operations.CaseStatusReq, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<boolean>;
156
+ private __updateStatusV1;
94
157
  /**
95
158
  * Adds operator(s) to a case. | authz: min_org_role=operator | (CaseAssignReq) -> (bool)
96
159
  *
@@ -139,5 +202,19 @@ export declare class Cases {
139
202
  */
140
203
  addMessageV1(caseId: string, request: Chrt.operations.CaseAddMessageReq, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<boolean>;
141
204
  private __addMessageV1;
205
+ /**
206
+ * Deletes a message from a case. | authz: min_org_role=operator | () -> (bool)
207
+ *
208
+ * @param {string} caseId
209
+ * @param {string} messageId
210
+ * @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
211
+ *
212
+ * @throws {@link Chrt.UnprocessableEntityError}
213
+ *
214
+ * @example
215
+ * await client.operations.cases.deleteMessageV1("case_id", "message_id")
216
+ */
217
+ deleteMessageV1(caseId: string, messageId: string, requestOptions?: Cases.RequestOptions): core.HttpResponsePromise<boolean>;
218
+ private __deleteMessageV1;
142
219
  protected _getAuthorizationHeader(): Promise<string | undefined>;
143
220
  }
@@ -15,10 +15,15 @@ import * as core from "../../../../../../core/index.mjs";
15
15
  import * as Chrt from "../../../../../index.mjs";
16
16
  import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../core/headers.mjs";
17
17
  import * as errors from "../../../../../../errors/index.mjs";
18
+ import { S3Objects } from "../resources/s3Objects/client/Client.mjs";
18
19
  export class Cases {
19
20
  constructor(_options = {}) {
20
21
  this._options = _options;
21
22
  }
23
+ get s3Objects() {
24
+ var _a;
25
+ return ((_a = this._s3Objects) !== null && _a !== void 0 ? _a : (this._s3Objects = new S3Objects(this._options)));
26
+ }
22
27
  /**
23
28
  * Lists cases for the caller's organization with filtering, sorting, and pagination. | authz: min_org_role=operator | () -> (CaseListRes)
24
29
  *
@@ -33,6 +38,8 @@ export class Cases {
33
38
  * sort_order: "asc",
34
39
  * page: 1,
35
40
  * page_size: 1,
41
+ * filter_status: ["open"],
42
+ * filter_department_id: ["filter_department_id"],
36
43
  * filter_assigned_operator_user_id: "filter_assigned_operator_user_id",
37
44
  * filter_needs_action: true,
38
45
  * filter_unassigned: true
@@ -306,6 +313,254 @@ export class Cases {
306
313
  }
307
314
  });
308
315
  }
316
+ /**
317
+ * Retrieves the case for a given order ID, short ID, or off-chrt reference ID. | authz: min_org_role=operator | () -> (Case1)
318
+ *
319
+ * @param {string} orderRef - Order ID, short ID, or off-chrt reference ID
320
+ * @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
321
+ *
322
+ * @throws {@link Chrt.UnprocessableEntityError}
323
+ *
324
+ * @example
325
+ * await client.operations.cases.getByOrderRefV1("order_ref")
326
+ */
327
+ getByOrderRefV1(orderRef, requestOptions) {
328
+ return core.HttpResponsePromise.fromPromise(this.__getByOrderRefV1(orderRef, requestOptions));
329
+ }
330
+ __getByOrderRefV1(orderRef, requestOptions) {
331
+ return __awaiter(this, void 0, void 0, function* () {
332
+ var _a, _b, _c, _d;
333
+ let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
334
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
335
+ 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/by_order_ref/v1/${encodeURIComponent(orderRef)}`),
336
+ method: "GET",
337
+ headers: _headers,
338
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
339
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
340
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
341
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
342
+ });
343
+ if (_response.ok) {
344
+ return { data: _response.body, rawResponse: _response.rawResponse };
345
+ }
346
+ if (_response.error.reason === "status-code") {
347
+ switch (_response.error.statusCode) {
348
+ case 422:
349
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
350
+ default:
351
+ throw new errors.ChrtError({
352
+ statusCode: _response.error.statusCode,
353
+ body: _response.error.body,
354
+ rawResponse: _response.rawResponse,
355
+ });
356
+ }
357
+ }
358
+ switch (_response.error.reason) {
359
+ case "non-json":
360
+ throw new errors.ChrtError({
361
+ statusCode: _response.error.statusCode,
362
+ body: _response.error.rawBody,
363
+ rawResponse: _response.rawResponse,
364
+ });
365
+ case "timeout":
366
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /operations/cases/by_order_ref/v1/{order_ref}.");
367
+ case "unknown":
368
+ throw new errors.ChrtError({
369
+ message: _response.error.errorMessage,
370
+ rawResponse: _response.rawResponse,
371
+ });
372
+ }
373
+ });
374
+ }
375
+ /**
376
+ * Retrieves the case for a given order short ID. | authz: min_org_role=operator | () -> (Case1)
377
+ *
378
+ * @param {string} orderShortId
379
+ * @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
380
+ *
381
+ * @throws {@link Chrt.UnprocessableEntityError}
382
+ *
383
+ * @example
384
+ * await client.operations.cases.getByOrderShortIdV1("order_short_id")
385
+ */
386
+ getByOrderShortIdV1(orderShortId, requestOptions) {
387
+ return core.HttpResponsePromise.fromPromise(this.__getByOrderShortIdV1(orderShortId, requestOptions));
388
+ }
389
+ __getByOrderShortIdV1(orderShortId, requestOptions) {
390
+ return __awaiter(this, void 0, void 0, function* () {
391
+ var _a, _b, _c, _d;
392
+ let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
393
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
394
+ 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/by_order_short_id/v1/${encodeURIComponent(orderShortId)}`),
395
+ method: "GET",
396
+ headers: _headers,
397
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
398
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
399
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
400
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
401
+ });
402
+ if (_response.ok) {
403
+ return { data: _response.body, rawResponse: _response.rawResponse };
404
+ }
405
+ if (_response.error.reason === "status-code") {
406
+ switch (_response.error.statusCode) {
407
+ case 422:
408
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
409
+ default:
410
+ throw new errors.ChrtError({
411
+ statusCode: _response.error.statusCode,
412
+ body: _response.error.body,
413
+ rawResponse: _response.rawResponse,
414
+ });
415
+ }
416
+ }
417
+ switch (_response.error.reason) {
418
+ case "non-json":
419
+ throw new errors.ChrtError({
420
+ statusCode: _response.error.statusCode,
421
+ body: _response.error.rawBody,
422
+ rawResponse: _response.rawResponse,
423
+ });
424
+ case "timeout":
425
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /operations/cases/by_order_short_id/v1/{order_short_id}.");
426
+ case "unknown":
427
+ throw new errors.ChrtError({
428
+ message: _response.error.errorMessage,
429
+ rawResponse: _response.rawResponse,
430
+ });
431
+ }
432
+ });
433
+ }
434
+ /**
435
+ * Updates whether a case needs action. | authz: min_org_role=operator | (CaseNeedsActionReq) -> (bool)
436
+ *
437
+ * @param {string} caseId
438
+ * @param {Chrt.operations.CaseNeedsActionReq} request
439
+ * @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
440
+ *
441
+ * @throws {@link Chrt.UnprocessableEntityError}
442
+ *
443
+ * @example
444
+ * await client.operations.cases.updateNeedsActionV1("case_id", {
445
+ * needs_action: true
446
+ * })
447
+ */
448
+ updateNeedsActionV1(caseId, request, requestOptions) {
449
+ return core.HttpResponsePromise.fromPromise(this.__updateNeedsActionV1(caseId, request, requestOptions));
450
+ }
451
+ __updateNeedsActionV1(caseId, request, requestOptions) {
452
+ return __awaiter(this, void 0, void 0, function* () {
453
+ var _a, _b, _c, _d;
454
+ let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
455
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
456
+ 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/needs_action/v1/${encodeURIComponent(caseId)}`),
457
+ method: "PATCH",
458
+ headers: _headers,
459
+ contentType: "application/json",
460
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
461
+ requestType: "json",
462
+ body: request,
463
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
464
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
465
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
466
+ });
467
+ if (_response.ok) {
468
+ return { data: _response.body, rawResponse: _response.rawResponse };
469
+ }
470
+ if (_response.error.reason === "status-code") {
471
+ switch (_response.error.statusCode) {
472
+ case 422:
473
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
474
+ default:
475
+ throw new errors.ChrtError({
476
+ statusCode: _response.error.statusCode,
477
+ body: _response.error.body,
478
+ rawResponse: _response.rawResponse,
479
+ });
480
+ }
481
+ }
482
+ switch (_response.error.reason) {
483
+ case "non-json":
484
+ throw new errors.ChrtError({
485
+ statusCode: _response.error.statusCode,
486
+ body: _response.error.rawBody,
487
+ rawResponse: _response.rawResponse,
488
+ });
489
+ case "timeout":
490
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /operations/cases/needs_action/v1/{case_id}.");
491
+ case "unknown":
492
+ throw new errors.ChrtError({
493
+ message: _response.error.errorMessage,
494
+ rawResponse: _response.rawResponse,
495
+ });
496
+ }
497
+ });
498
+ }
499
+ /**
500
+ * Updates a case's status. Closing a case also clears needs_action. | authz: min_org_role=operator | (CaseStatusReq) -> (bool)
501
+ *
502
+ * @param {string} caseId
503
+ * @param {Chrt.operations.CaseStatusReq} request
504
+ * @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
505
+ *
506
+ * @throws {@link Chrt.UnprocessableEntityError}
507
+ *
508
+ * @example
509
+ * await client.operations.cases.updateStatusV1("case_id", {
510
+ * status: "open"
511
+ * })
512
+ */
513
+ updateStatusV1(caseId, request, requestOptions) {
514
+ return core.HttpResponsePromise.fromPromise(this.__updateStatusV1(caseId, request, requestOptions));
515
+ }
516
+ __updateStatusV1(caseId, request, requestOptions) {
517
+ return __awaiter(this, void 0, void 0, function* () {
518
+ var _a, _b, _c, _d;
519
+ let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
520
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
521
+ 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/status/v1/${encodeURIComponent(caseId)}`),
522
+ method: "PATCH",
523
+ headers: _headers,
524
+ contentType: "application/json",
525
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
526
+ requestType: "json",
527
+ body: request,
528
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
529
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
530
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
531
+ });
532
+ if (_response.ok) {
533
+ return { data: _response.body, rawResponse: _response.rawResponse };
534
+ }
535
+ if (_response.error.reason === "status-code") {
536
+ switch (_response.error.statusCode) {
537
+ case 422:
538
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
539
+ default:
540
+ throw new errors.ChrtError({
541
+ statusCode: _response.error.statusCode,
542
+ body: _response.error.body,
543
+ rawResponse: _response.rawResponse,
544
+ });
545
+ }
546
+ }
547
+ switch (_response.error.reason) {
548
+ case "non-json":
549
+ throw new errors.ChrtError({
550
+ statusCode: _response.error.statusCode,
551
+ body: _response.error.rawBody,
552
+ rawResponse: _response.rawResponse,
553
+ });
554
+ case "timeout":
555
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling PATCH /operations/cases/status/v1/{case_id}.");
556
+ case "unknown":
557
+ throw new errors.ChrtError({
558
+ message: _response.error.errorMessage,
559
+ rawResponse: _response.rawResponse,
560
+ });
561
+ }
562
+ });
563
+ }
309
564
  /**
310
565
  * Adds operator(s) to a case. | authz: min_org_role=operator | (CaseAssignReq) -> (bool)
311
566
  *
@@ -501,6 +756,66 @@ export class Cases {
501
756
  }
502
757
  });
503
758
  }
759
+ /**
760
+ * Deletes a message from a case. | authz: min_org_role=operator | () -> (bool)
761
+ *
762
+ * @param {string} caseId
763
+ * @param {string} messageId
764
+ * @param {Cases.RequestOptions} requestOptions - Request-specific configuration.
765
+ *
766
+ * @throws {@link Chrt.UnprocessableEntityError}
767
+ *
768
+ * @example
769
+ * await client.operations.cases.deleteMessageV1("case_id", "message_id")
770
+ */
771
+ deleteMessageV1(caseId, messageId, requestOptions) {
772
+ return core.HttpResponsePromise.fromPromise(this.__deleteMessageV1(caseId, messageId, requestOptions));
773
+ }
774
+ __deleteMessageV1(caseId, messageId, requestOptions) {
775
+ return __awaiter(this, void 0, void 0, function* () {
776
+ var _a, _b, _c, _d;
777
+ let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
778
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
779
+ 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/delete_message/v1/${encodeURIComponent(caseId)}/${encodeURIComponent(messageId)}`),
780
+ method: "DELETE",
781
+ headers: _headers,
782
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
783
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
784
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
785
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
786
+ });
787
+ if (_response.ok) {
788
+ return { data: _response.body, rawResponse: _response.rawResponse };
789
+ }
790
+ if (_response.error.reason === "status-code") {
791
+ switch (_response.error.statusCode) {
792
+ case 422:
793
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
794
+ default:
795
+ throw new errors.ChrtError({
796
+ statusCode: _response.error.statusCode,
797
+ body: _response.error.body,
798
+ rawResponse: _response.rawResponse,
799
+ });
800
+ }
801
+ }
802
+ switch (_response.error.reason) {
803
+ case "non-json":
804
+ throw new errors.ChrtError({
805
+ statusCode: _response.error.statusCode,
806
+ body: _response.error.rawBody,
807
+ rawResponse: _response.rawResponse,
808
+ });
809
+ case "timeout":
810
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /operations/cases/delete_message/v1/{case_id}/{message_id}.");
811
+ case "unknown":
812
+ throw new errors.ChrtError({
813
+ message: _response.error.errorMessage,
814
+ rawResponse: _response.rawResponse,
815
+ });
816
+ }
817
+ });
818
+ }
504
819
  _getAuthorizationHeader() {
505
820
  return __awaiter(this, void 0, void 0, function* () {
506
821
  const bearer = yield core.Supplier.get(this._options.token);
@@ -0,0 +1,12 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * needs_action: true
8
+ * }
9
+ */
10
+ export interface CaseNeedsActionReq {
11
+ needs_action: boolean;
12
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../../../../../../index.mjs";
5
+ /**
6
+ * @example
7
+ * {
8
+ * status: "open"
9
+ * }
10
+ */
11
+ export interface CaseStatusReq {
12
+ status: Chrt.CaseStatusEnum;
13
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -9,6 +9,8 @@ import * as Chrt from "../../../../../../index.mjs";
9
9
  * sort_order: "asc",
10
10
  * page: 1,
11
11
  * page_size: 1,
12
+ * filter_status: ["open"],
13
+ * filter_department_id: ["filter_department_id"],
12
14
  * filter_assigned_operator_user_id: "filter_assigned_operator_user_id",
13
15
  * filter_needs_action: true,
14
16
  * filter_unassigned: true
@@ -1,5 +1,7 @@
1
1
  export { type CasesListV1Request } from "./CasesListV1Request.mjs";
2
2
  export { type CaseClientUpdate1 } from "./CaseClientUpdate1.mjs";
3
+ export { type CaseNeedsActionReq } from "./CaseNeedsActionReq.mjs";
4
+ export { type CaseStatusReq } from "./CaseStatusReq.mjs";
3
5
  export { type CaseAssignReq } from "./CaseAssignReq.mjs";
4
6
  export { type CaseUnassignReq } from "./CaseUnassignReq.mjs";
5
7
  export { type CaseAddMessageReq } from "./CaseAddMessageReq.mjs";
@@ -1 +1,2 @@
1
1
  export * from "./client/index.mjs";
2
+ export * from "./resources/index.mjs";
@@ -1 +1,2 @@
1
1
  export * from "./client/index.mjs";
2
+ export * from "./resources/index.mjs";
@@ -0,0 +1,2 @@
1
+ export * as s3Objects from "./s3Objects/index.mjs";
2
+ export * from "./s3Objects/client/requests/index.mjs";
@@ -0,0 +1,2 @@
1
+ export * as s3Objects from "./s3Objects/index.mjs";
2
+ export * from "./s3Objects/client/requests/index.mjs";