@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
@@ -0,0 +1,83 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../../../../../environments.mjs";
5
+ import * as core from "../../../../../../../../core/index.mjs";
6
+ import * as Chrt from "../../../../../../../index.mjs";
7
+ export declare namespace S3Objects {
8
+ interface Options {
9
+ environment?: core.Supplier<environments.ChrtEnvironment | string>;
10
+ /** Specify a custom URL to connect the client to. */
11
+ baseUrl?: core.Supplier<string>;
12
+ token?: core.Supplier<core.BearerToken | undefined>;
13
+ /** Additional headers to include in requests. */
14
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
15
+ fetcher?: core.FetchFunction;
16
+ }
17
+ interface RequestOptions {
18
+ /** The maximum time to wait for a response in seconds. */
19
+ timeoutInSeconds?: number;
20
+ /** The number of times to retry the request. Defaults to 2. */
21
+ maxRetries?: number;
22
+ /** A hook to abort the request. */
23
+ abortSignal?: AbortSignal;
24
+ /** Additional query string parameters to include in the request. */
25
+ queryParams?: Record<string, unknown>;
26
+ /** Additional headers to include in the request. */
27
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
28
+ }
29
+ }
30
+ export declare class S3Objects {
31
+ protected readonly _options: S3Objects.Options;
32
+ constructor(_options?: S3Objects.Options);
33
+ /**
34
+ * Retrieves metadata for a case S3 object. | authz: min_org_role=operator | () -> (CaseS3ObjectMetadata1)
35
+ *
36
+ * @param {string} caseS3ObjectMetadataId
37
+ * @param {S3Objects.RequestOptions} requestOptions - Request-specific configuration.
38
+ *
39
+ * @throws {@link Chrt.UnprocessableEntityError}
40
+ *
41
+ * @example
42
+ * await client.operations.cases.s3Objects.getS3ObjectMetadataV1("case_s3_object_metadata_id")
43
+ */
44
+ getS3ObjectMetadataV1(caseS3ObjectMetadataId: string, requestOptions?: S3Objects.RequestOptions): core.HttpResponsePromise<Chrt.CaseS3ObjectMetadata1>;
45
+ private __getS3ObjectMetadataV1;
46
+ /**
47
+ * Streams a case S3 object file from storage. | authz: min_org_role=operator | () -> (binary)
48
+ * @throws {@link Chrt.UnprocessableEntityError}
49
+ */
50
+ getV1(caseS3ObjectMetadataId: string, requestOptions?: S3Objects.RequestOptions): core.HttpResponsePromise<core.BinaryResponse>;
51
+ private __getV1;
52
+ /**
53
+ * Uploads a file to a case. Automatic blurhash generation for images. | authz: min_org_role=operator | (UploadFile) -> (bool)
54
+ *
55
+ * @param {string} caseId
56
+ * @param {Chrt.operations.cases.BodyPostCasesS3ObjectsAddV1OperationsCasesS3ObjectsAddV1CaseIdPost} request
57
+ * @param {S3Objects.RequestOptions} requestOptions - Request-specific configuration.
58
+ *
59
+ * @throws {@link Chrt.UnprocessableEntityError}
60
+ *
61
+ * @example
62
+ * import { createReadStream } from "fs";
63
+ * await client.operations.cases.s3Objects.addV1("case_id", {
64
+ * file: fs.createReadStream("/path/to/your/file")
65
+ * })
66
+ */
67
+ addV1(caseId: string, request: Chrt.operations.cases.BodyPostCasesS3ObjectsAddV1OperationsCasesS3ObjectsAddV1CaseIdPost, requestOptions?: S3Objects.RequestOptions): core.HttpResponsePromise<boolean>;
68
+ private __addV1;
69
+ /**
70
+ * Deletes an S3 object metadata and the associated S3 object from a case. Only the uploader or an operator from the uploading org can delete. | () -> (bool)
71
+ *
72
+ * @param {string} caseS3ObjectMetadataId
73
+ * @param {S3Objects.RequestOptions} requestOptions - Request-specific configuration.
74
+ *
75
+ * @throws {@link Chrt.UnprocessableEntityError}
76
+ *
77
+ * @example
78
+ * await client.operations.cases.s3Objects.deleteV1("case_s3_object_metadata_id")
79
+ */
80
+ deleteV1(caseS3ObjectMetadataId: string, requestOptions?: S3Objects.RequestOptions): core.HttpResponsePromise<boolean>;
81
+ private __deleteV1;
82
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
83
+ }
@@ -0,0 +1,271 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
5
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
6
+ return new (P || (P = Promise))(function (resolve, reject) {
7
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
8
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
9
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
10
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
11
+ });
12
+ };
13
+ import * as environments from "../../../../../../../../environments.mjs";
14
+ import * as core from "../../../../../../../../core/index.mjs";
15
+ import * as Chrt from "../../../../../../../index.mjs";
16
+ import { mergeHeaders, mergeOnlyDefinedHeaders } from "../../../../../../../../core/headers.mjs";
17
+ import * as errors from "../../../../../../../../errors/index.mjs";
18
+ export class S3Objects {
19
+ constructor(_options = {}) {
20
+ this._options = _options;
21
+ }
22
+ /**
23
+ * Retrieves metadata for a case S3 object. | authz: min_org_role=operator | () -> (CaseS3ObjectMetadata1)
24
+ *
25
+ * @param {string} caseS3ObjectMetadataId
26
+ * @param {S3Objects.RequestOptions} requestOptions - Request-specific configuration.
27
+ *
28
+ * @throws {@link Chrt.UnprocessableEntityError}
29
+ *
30
+ * @example
31
+ * await client.operations.cases.s3Objects.getS3ObjectMetadataV1("case_s3_object_metadata_id")
32
+ */
33
+ getS3ObjectMetadataV1(caseS3ObjectMetadataId, requestOptions) {
34
+ return core.HttpResponsePromise.fromPromise(this.__getS3ObjectMetadataV1(caseS3ObjectMetadataId, requestOptions));
35
+ }
36
+ __getS3ObjectMetadataV1(caseS3ObjectMetadataId, requestOptions) {
37
+ return __awaiter(this, void 0, void 0, function* () {
38
+ var _a, _b, _c, _d;
39
+ 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);
40
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
41
+ 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/s3_objects/s3_object_metadata/v1/${encodeURIComponent(caseS3ObjectMetadataId)}`),
42
+ method: "GET",
43
+ headers: _headers,
44
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
45
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
46
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
47
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
48
+ });
49
+ if (_response.ok) {
50
+ return { data: _response.body, rawResponse: _response.rawResponse };
51
+ }
52
+ if (_response.error.reason === "status-code") {
53
+ switch (_response.error.statusCode) {
54
+ case 422:
55
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
56
+ default:
57
+ throw new errors.ChrtError({
58
+ statusCode: _response.error.statusCode,
59
+ body: _response.error.body,
60
+ rawResponse: _response.rawResponse,
61
+ });
62
+ }
63
+ }
64
+ switch (_response.error.reason) {
65
+ case "non-json":
66
+ throw new errors.ChrtError({
67
+ statusCode: _response.error.statusCode,
68
+ body: _response.error.rawBody,
69
+ rawResponse: _response.rawResponse,
70
+ });
71
+ case "timeout":
72
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /operations/cases/s3_objects/s3_object_metadata/v1/{case_s3_object_metadata_id}.");
73
+ case "unknown":
74
+ throw new errors.ChrtError({
75
+ message: _response.error.errorMessage,
76
+ rawResponse: _response.rawResponse,
77
+ });
78
+ }
79
+ });
80
+ }
81
+ /**
82
+ * Streams a case S3 object file from storage. | authz: min_org_role=operator | () -> (binary)
83
+ * @throws {@link Chrt.UnprocessableEntityError}
84
+ */
85
+ getV1(caseS3ObjectMetadataId, requestOptions) {
86
+ return core.HttpResponsePromise.fromPromise(this.__getV1(caseS3ObjectMetadataId, requestOptions));
87
+ }
88
+ __getV1(caseS3ObjectMetadataId, requestOptions) {
89
+ return __awaiter(this, void 0, void 0, function* () {
90
+ var _a, _b, _c, _d;
91
+ 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);
92
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
93
+ 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/s3_objects/v1/${encodeURIComponent(caseS3ObjectMetadataId)}`),
94
+ method: "GET",
95
+ headers: _headers,
96
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
97
+ responseType: "binary-response",
98
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
99
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
100
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
101
+ });
102
+ if (_response.ok) {
103
+ return { data: _response.body, rawResponse: _response.rawResponse };
104
+ }
105
+ if (_response.error.reason === "status-code") {
106
+ switch (_response.error.statusCode) {
107
+ case 422:
108
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
109
+ default:
110
+ throw new errors.ChrtError({
111
+ statusCode: _response.error.statusCode,
112
+ body: _response.error.body,
113
+ rawResponse: _response.rawResponse,
114
+ });
115
+ }
116
+ }
117
+ switch (_response.error.reason) {
118
+ case "non-json":
119
+ throw new errors.ChrtError({
120
+ statusCode: _response.error.statusCode,
121
+ body: _response.error.rawBody,
122
+ rawResponse: _response.rawResponse,
123
+ });
124
+ case "timeout":
125
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /operations/cases/s3_objects/v1/{case_s3_object_metadata_id}.");
126
+ case "unknown":
127
+ throw new errors.ChrtError({
128
+ message: _response.error.errorMessage,
129
+ rawResponse: _response.rawResponse,
130
+ });
131
+ }
132
+ });
133
+ }
134
+ /**
135
+ * Uploads a file to a case. Automatic blurhash generation for images. | authz: min_org_role=operator | (UploadFile) -> (bool)
136
+ *
137
+ * @param {string} caseId
138
+ * @param {Chrt.operations.cases.BodyPostCasesS3ObjectsAddV1OperationsCasesS3ObjectsAddV1CaseIdPost} request
139
+ * @param {S3Objects.RequestOptions} requestOptions - Request-specific configuration.
140
+ *
141
+ * @throws {@link Chrt.UnprocessableEntityError}
142
+ *
143
+ * @example
144
+ * import { createReadStream } from "fs";
145
+ * await client.operations.cases.s3Objects.addV1("case_id", {
146
+ * file: fs.createReadStream("/path/to/your/file")
147
+ * })
148
+ */
149
+ addV1(caseId, request, requestOptions) {
150
+ return core.HttpResponsePromise.fromPromise(this.__addV1(caseId, request, requestOptions));
151
+ }
152
+ __addV1(caseId, request, requestOptions) {
153
+ return __awaiter(this, void 0, void 0, function* () {
154
+ var _a, _b, _c, _d;
155
+ const _request = yield core.newFormData();
156
+ yield _request.appendFile("file", request.file);
157
+ const _maybeEncodedRequest = yield _request.getRequest();
158
+ let _headers = mergeHeaders((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, mergeOnlyDefinedHeaders(Object.assign({ Authorization: yield this._getAuthorizationHeader() }, _maybeEncodedRequest.headers)), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
159
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
160
+ 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/s3_objects/add/v1/${encodeURIComponent(caseId)}`),
161
+ method: "POST",
162
+ headers: _headers,
163
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
164
+ requestType: "file",
165
+ duplex: _maybeEncodedRequest.duplex,
166
+ body: _maybeEncodedRequest.body,
167
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
168
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
169
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
170
+ });
171
+ if (_response.ok) {
172
+ return { data: _response.body, rawResponse: _response.rawResponse };
173
+ }
174
+ if (_response.error.reason === "status-code") {
175
+ switch (_response.error.statusCode) {
176
+ case 422:
177
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
178
+ default:
179
+ throw new errors.ChrtError({
180
+ statusCode: _response.error.statusCode,
181
+ body: _response.error.body,
182
+ rawResponse: _response.rawResponse,
183
+ });
184
+ }
185
+ }
186
+ switch (_response.error.reason) {
187
+ case "non-json":
188
+ throw new errors.ChrtError({
189
+ statusCode: _response.error.statusCode,
190
+ body: _response.error.rawBody,
191
+ rawResponse: _response.rawResponse,
192
+ });
193
+ case "timeout":
194
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /operations/cases/s3_objects/add/v1/{case_id}.");
195
+ case "unknown":
196
+ throw new errors.ChrtError({
197
+ message: _response.error.errorMessage,
198
+ rawResponse: _response.rawResponse,
199
+ });
200
+ }
201
+ });
202
+ }
203
+ /**
204
+ * Deletes an S3 object metadata and the associated S3 object from a case. Only the uploader or an operator from the uploading org can delete. | () -> (bool)
205
+ *
206
+ * @param {string} caseS3ObjectMetadataId
207
+ * @param {S3Objects.RequestOptions} requestOptions - Request-specific configuration.
208
+ *
209
+ * @throws {@link Chrt.UnprocessableEntityError}
210
+ *
211
+ * @example
212
+ * await client.operations.cases.s3Objects.deleteV1("case_s3_object_metadata_id")
213
+ */
214
+ deleteV1(caseS3ObjectMetadataId, requestOptions) {
215
+ return core.HttpResponsePromise.fromPromise(this.__deleteV1(caseS3ObjectMetadataId, requestOptions));
216
+ }
217
+ __deleteV1(caseS3ObjectMetadataId, requestOptions) {
218
+ return __awaiter(this, void 0, void 0, function* () {
219
+ var _a, _b, _c, _d;
220
+ 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);
221
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
222
+ 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/s3_objects/delete/v1/${encodeURIComponent(caseS3ObjectMetadataId)}`),
223
+ method: "DELETE",
224
+ headers: _headers,
225
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
226
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
227
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
228
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
229
+ });
230
+ if (_response.ok) {
231
+ return { data: _response.body, rawResponse: _response.rawResponse };
232
+ }
233
+ if (_response.error.reason === "status-code") {
234
+ switch (_response.error.statusCode) {
235
+ case 422:
236
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
237
+ default:
238
+ throw new errors.ChrtError({
239
+ statusCode: _response.error.statusCode,
240
+ body: _response.error.body,
241
+ rawResponse: _response.rawResponse,
242
+ });
243
+ }
244
+ }
245
+ switch (_response.error.reason) {
246
+ case "non-json":
247
+ throw new errors.ChrtError({
248
+ statusCode: _response.error.statusCode,
249
+ body: _response.error.rawBody,
250
+ rawResponse: _response.rawResponse,
251
+ });
252
+ case "timeout":
253
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling DELETE /operations/cases/s3_objects/delete/v1/{case_s3_object_metadata_id}.");
254
+ case "unknown":
255
+ throw new errors.ChrtError({
256
+ message: _response.error.errorMessage,
257
+ rawResponse: _response.rawResponse,
258
+ });
259
+ }
260
+ });
261
+ }
262
+ _getAuthorizationHeader() {
263
+ return __awaiter(this, void 0, void 0, function* () {
264
+ const bearer = yield core.Supplier.get(this._options.token);
265
+ if (bearer != null) {
266
+ return `Bearer ${bearer}`;
267
+ }
268
+ return undefined;
269
+ });
270
+ }
271
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ export * from "./requests/index.mjs";
@@ -0,0 +1 @@
1
+ export * from "./requests/index.mjs";
@@ -0,0 +1,13 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as core from "../../../../../../../../../core/index.mjs";
5
+ /**
6
+ * @example
7
+ * {
8
+ * file: fs.createReadStream("/path/to/your/file")
9
+ * }
10
+ */
11
+ export interface BodyPostCasesS3ObjectsAddV1OperationsCasesS3ObjectsAddV1CaseIdPost {
12
+ file: core.file.Uploadable.FileLike;
13
+ }
@@ -0,0 +1 @@
1
+ export { type BodyPostCasesS3ObjectsAddV1OperationsCasesS3ObjectsAddV1CaseIdPost } from "./BodyPostCasesS3ObjectsAddV1OperationsCasesS3ObjectsAddV1CaseIdPost.mjs";
@@ -0,0 +1 @@
1
+ export * from "./client/index.mjs";
@@ -0,0 +1 @@
1
+ export * from "./client/index.mjs";
@@ -43,7 +43,8 @@ export declare class Departments {
43
43
  * sort_by: "created_at",
44
44
  * sort_order: "asc",
45
45
  * page: 1,
46
- * page_size: 1
46
+ * page_size: 1,
47
+ * filter_department: ["automotive"]
47
48
  * })
48
49
  */
49
50
  listV1(request?: Chrt.operations.DepartmentsListV1Request, requestOptions?: Departments.RequestOptions): core.HttpResponsePromise<Chrt.DepartmentListRes>;
@@ -32,7 +32,8 @@ export class Departments {
32
32
  * sort_by: "created_at",
33
33
  * sort_order: "asc",
34
34
  * page: 1,
35
- * page_size: 1
35
+ * page_size: 1,
36
+ * filter_department: ["automotive"]
36
37
  * })
37
38
  */
38
39
  listV1(request = {}, requestOptions) {
@@ -8,7 +8,8 @@ import * as Chrt from "../../../../../../index.mjs";
8
8
  * sort_by: "created_at",
9
9
  * sort_order: "asc",
10
10
  * page: 1,
11
- * page_size: 1
11
+ * page_size: 1,
12
+ * filter_department: ["automotive"]
12
13
  * }
13
14
  */
14
15
  export interface DepartmentsListV1Request {
@@ -71,6 +71,7 @@ export declare class Orgs {
71
71
  *
72
72
  * @example
73
73
  * await client.orgs.listMembersV1({
74
+ * filter_role: ["owner"],
74
75
  * sort_by: "first_name",
75
76
  * sort_order: "asc",
76
77
  * page: 1,
@@ -81,7 +82,7 @@ export declare class Orgs {
81
82
  listMembersV1(request?: Chrt.OrgsListMembersV1Request, requestOptions?: Orgs.RequestOptions): core.HttpResponsePromise<Chrt.OrgMemberListRes>;
82
83
  private __listMembersV1;
83
84
  /**
84
- * Single onboarding entry point. Sets `org_type` in Clerk's JWT public metadata (immutable once set) and idempotently creates `org_private_data` + `org_public_data` for the caller's organization. Optional `handle` and `company_name` populate the public doc on first call; later updates go through PATCH /orgs/org_public_data/v1. Returns True on success (including idempotent retries), 400 on org_type conflict or handle collision. | (SetupOrgReq) -> (bool)
85
+ * Single onboarding entry point. Sets `org_type` in WorkOS JWT metadata (immutable once set) and idempotently creates `org_private_data` + `org_public_data` for the caller's organization. Optional `handle` and `company_name` populate the public doc on first call; later updates go through PATCH /orgs/org_public_data/v1. Returns True on success (including idempotent retries), 400 on org_type conflict or handle collision. | (SetupOrgReq) -> (bool)
85
86
  *
86
87
  * @param {Chrt.SetupOrgReq} request
87
88
  * @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
@@ -115,6 +115,7 @@ export class Orgs {
115
115
  *
116
116
  * @example
117
117
  * await client.orgs.listMembersV1({
118
+ * filter_role: ["owner"],
118
119
  * sort_by: "first_name",
119
120
  * sort_order: "asc",
120
121
  * page: 1,
@@ -196,7 +197,7 @@ export class Orgs {
196
197
  });
197
198
  }
198
199
  /**
199
- * Single onboarding entry point. Sets `org_type` in Clerk's JWT public metadata (immutable once set) and idempotently creates `org_private_data` + `org_public_data` for the caller's organization. Optional `handle` and `company_name` populate the public doc on first call; later updates go through PATCH /orgs/org_public_data/v1. Returns True on success (including idempotent retries), 400 on org_type conflict or handle collision. | (SetupOrgReq) -> (bool)
200
+ * Single onboarding entry point. Sets `org_type` in WorkOS JWT metadata (immutable once set) and idempotently creates `org_private_data` + `org_public_data` for the caller's organization. Optional `handle` and `company_name` populate the public doc on first call; later updates go through PATCH /orgs/org_public_data/v1. Returns True on success (including idempotent retries), 400 on org_type conflict or handle collision. | (SetupOrgReq) -> (bool)
200
201
  *
201
202
  * @param {Chrt.SetupOrgReq} request
202
203
  * @param {Orgs.RequestOptions} requestOptions - Request-specific configuration.
@@ -5,6 +5,7 @@ import * as Chrt from "../../../../index.mjs";
5
5
  /**
6
6
  * @example
7
7
  * {
8
+ * filter_role: ["owner"],
8
9
  * sort_by: "first_name",
9
10
  * sort_order: "asc",
10
11
  * page: 1,
@@ -85,7 +85,7 @@ export declare class OrgProfiles {
85
85
  getByHandleV1(handle: string, requestOptions?: OrgProfiles.RequestOptions): core.HttpResponsePromise<Chrt.ProviderOrgProfile1>;
86
86
  private __getByHandleV1;
87
87
  /**
88
- * Returns the organization avatar image URL from Clerk or a placeholder if not found. | () -> (str)
88
+ * Returns the organization avatar image URL from WorkOS or a placeholder if not found. | () -> (str)
89
89
  *
90
90
  * @param {string} handle
91
91
  * @param {OrgProfiles.RequestOptions} requestOptions - Request-specific configuration.
@@ -259,7 +259,7 @@ export class OrgProfiles {
259
259
  });
260
260
  }
261
261
  /**
262
- * Returns the organization avatar image URL from Clerk or a placeholder if not found. | () -> (str)
262
+ * Returns the organization avatar image URL from WorkOS or a placeholder if not found. | () -> (str)
263
263
  *
264
264
  * @param {string} handle
265
265
  * @param {OrgProfiles.RequestOptions} requestOptions - Request-specific configuration.
@@ -64,6 +64,7 @@ export declare class Drivers {
64
64
  * @example
65
65
  * await client.shipping.drivers.listOrgMembersAndDriversV1({
66
66
  * search: "search",
67
+ * filter_role: ["owner"],
67
68
  * filter_available_according_to_driver: true,
68
69
  * filter_available_according_to_operators: true,
69
70
  * sort_by: "first_name",
@@ -151,6 +151,7 @@ export class Drivers {
151
151
  * @example
152
152
  * await client.shipping.drivers.listOrgMembersAndDriversV1({
153
153
  * search: "search",
154
+ * filter_role: ["owner"],
154
155
  * filter_available_according_to_driver: true,
155
156
  * filter_available_according_to_operators: true,
156
157
  * sort_by: "first_name",
@@ -6,6 +6,7 @@ import * as Chrt from "../../../../../../index.mjs";
6
6
  * @example
7
7
  * {
8
8
  * search: "search",
9
+ * filter_role: ["owner"],
9
10
  * filter_available_according_to_driver: true,
10
11
  * filter_available_according_to_operators: true,
11
12
  * sort_by: "first_name",
@@ -47,6 +47,8 @@ export declare class OrderSchedules {
47
47
  * sort_order: "asc",
48
48
  * page: 1,
49
49
  * page_size: 1,
50
+ * filter_status: ["draft"],
51
+ * filter_orchestrator_schedule_status: ["not_created"],
50
52
  * filter_owned_by_user_id: "filter_owned_by_user_id",
51
53
  * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
52
54
  * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -38,6 +38,8 @@ export class OrderSchedules {
38
38
  * sort_order: "asc",
39
39
  * page: 1,
40
40
  * page_size: 1,
41
+ * filter_status: ["draft"],
42
+ * filter_orchestrator_schedule_status: ["not_created"],
41
43
  * filter_owned_by_user_id: "filter_owned_by_user_id",
42
44
  * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
43
45
  * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -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: ["draft"],
13
+ * filter_orchestrator_schedule_status: ["not_created"],
12
14
  * filter_owned_by_user_id: "filter_owned_by_user_id",
13
15
  * filter_created_at_timestamp_gte: "2024-01-15T09:30:00Z",
14
16
  * filter_created_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -73,6 +73,7 @@ export declare class Expanded {
73
73
  * page: 1,
74
74
  * page_size: 1,
75
75
  * search: "search",
76
+ * filter_status: ["draft"],
76
77
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
77
78
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
78
79
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -109,6 +110,7 @@ export declare class Expanded {
109
110
  * page: 1,
110
111
  * page_size: 1,
111
112
  * search: "search",
113
+ * filter_status: ["draft"],
112
114
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
113
115
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
114
116
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -160,6 +160,7 @@ export class Expanded {
160
160
  * page: 1,
161
161
  * page_size: 1,
162
162
  * search: "search",
163
+ * filter_status: ["draft"],
163
164
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
164
165
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
165
166
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -318,6 +319,7 @@ export class Expanded {
318
319
  * page: 1,
319
320
  * page_size: 1,
320
321
  * search: "search",
322
+ * filter_status: ["draft"],
321
323
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
322
324
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
323
325
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -10,6 +10,7 @@ import * as Chrt from "../../../../../../../../index.mjs";
10
10
  * page: 1,
11
11
  * page_size: 1,
12
12
  * search: "search",
13
+ * filter_status: ["draft"],
13
14
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
14
15
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
15
16
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -10,6 +10,7 @@ import * as Chrt from "../../../../../../../../index.mjs";
10
10
  * page: 1,
11
11
  * page_size: 1,
12
12
  * search: "search",
13
+ * filter_status: ["draft"],
13
14
  * filter_draft_started_at_timestamp_lte: "2024-01-15T09:30:00Z",
14
15
  * filter_draft_started_at_timestamp_gte: "2024-01-15T09:30:00Z",
15
16
  * filter_staged_at_timestamp_lte: "2024-01-15T09:30:00Z",
@@ -329,7 +329,7 @@ export declare class TaskGroups {
329
329
  detachLigFromProviderPayDriverV1(taskGroupId: string, requestOptions?: TaskGroups.RequestOptions): core.HttpResponsePromise<boolean>;
330
330
  private __detachLigFromProviderPayDriverV1;
331
331
  /**
332
- * Preview the LineItem materialization that would result from applying a rate sheet to the SPP vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the requested parties (shipper -> coordinator). Auto-resolves the rate sheet via RateSheetMapping1 for the requested shipper unless body.rate_sheet_id is provided. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_shipper_pay_provider/v1 then attach_lig_to_shipper_pay_provider/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (TaskGroupQuoteForShipperPayProviderClientReq) -> (TaskGroupQuoteResp)
332
+ * Preview the LineItem materialization that would result from applying a rate sheet to the SPP vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the requested parties (shipper -> coordinator). Auto-resolves the rate sheet via RateSheetMapping1 for the requested shipper unless body.rate_sheet_id is provided. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_shipper_pay_provider/v1 then attach_lig_to_shipper_pay_provider/v1. | authz: allowed_org_types=[provider, shipper], min_org_role=operator, authz_personas=[task_group_coordinator_operators, shipper_org_operators] | (TaskGroupQuoteForShipperPayProviderClientReq) -> (TaskGroupQuoteResp)
333
333
  *
334
334
  * @param {string} taskGroupId
335
335
  * @param {Chrt.shipping.TaskGroupQuoteForShipperPayProviderClientReq} request
@@ -1277,7 +1277,7 @@ export class TaskGroups {
1277
1277
  });
1278
1278
  }
1279
1279
  /**
1280
- * Preview the LineItem materialization that would result from applying a rate sheet to the SPP vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the requested parties (shipper -> coordinator). Auto-resolves the rate sheet via RateSheetMapping1 for the requested shipper unless body.rate_sheet_id is provided. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_shipper_pay_provider/v1 then attach_lig_to_shipper_pay_provider/v1. | authz: allowed_org_types=[provider], min_org_role=operator, authz_personas=[task_group_coordinator_operators] | (TaskGroupQuoteForShipperPayProviderClientReq) -> (TaskGroupQuoteResp)
1280
+ * Preview the LineItem materialization that would result from applying a rate sheet to the SPP vector of the named TaskGroup. Returns the resolved rate sheet, materialized LineItems (NOT inserted), the pre-adjustment total, and the requested parties (shipper -> coordinator). Auto-resolves the rate sheet via RateSheetMapping1 for the requested shipper unless body.rate_sheet_id is provided. No DB writes — operator can iterate freely. To commit, call from_rate_sheet/create_for_shipper_pay_provider/v1 then attach_lig_to_shipper_pay_provider/v1. | authz: allowed_org_types=[provider, shipper], min_org_role=operator, authz_personas=[task_group_coordinator_operators, shipper_org_operators] | (TaskGroupQuoteForShipperPayProviderClientReq) -> (TaskGroupQuoteResp)
1281
1281
  *
1282
1282
  * @param {string} taskGroupId
1283
1283
  * @param {Chrt.shipping.TaskGroupQuoteForShipperPayProviderClientReq} request