@chrt-inc/typescript-sdk 1.681.0 → 1.685.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (198) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/orgs/client/Client.d.ts +3 -0
  3. package/dist/cjs/api/resources/orgs/client/Client.js +13 -8
  4. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/client/Client.d.ts +76 -0
  5. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/client/Client.js +248 -0
  6. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/client/index.d.ts +2 -0
  7. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/client/index.js +17 -0
  8. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/client/requests/OrgComplianceDocumentClientCreate1.d.ts +17 -0
  9. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/client/requests/index.d.ts +1 -0
  10. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/client/requests/index.js +2 -0
  11. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/index.d.ts +2 -0
  12. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/index.js +18 -0
  13. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/resources/index.d.ts +2 -0
  14. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/resources/index.js +41 -0
  15. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/Client.d.ts +83 -0
  16. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/Client.js +311 -0
  17. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/index.d.ts +2 -0
  18. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/index.js +17 -0
  19. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/requests/BodyPostOrgComplianceDocumentsS3ObjectAddV1OrgsComplianceDocumentsS3ObjectAddV1OrgComplianceDocumentIdPost.d.ts +13 -0
  20. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/requests/BodyPostOrgComplianceDocumentsS3ObjectAddV1OrgsComplianceDocumentsS3ObjectAddV1OrgComplianceDocumentIdPost.js +5 -0
  21. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/requests/index.d.ts +1 -0
  22. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/requests/index.js +2 -0
  23. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/resources/s3Object/index.d.ts +1 -0
  24. package/dist/cjs/api/resources/orgs/resources/complianceDocuments/resources/s3Object/index.js +17 -0
  25. package/dist/cjs/api/resources/orgs/resources/index.d.ts +2 -0
  26. package/dist/cjs/api/resources/orgs/resources/index.js +3 -1
  27. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.d.ts +3 -0
  28. package/dist/cjs/api/resources/shipping/resources/drivers/client/Client.js +5 -0
  29. package/dist/cjs/api/resources/shipping/resources/drivers/index.d.ts +1 -0
  30. package/dist/cjs/api/resources/shipping/resources/drivers/index.js +1 -0
  31. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/Client.d.ts +80 -0
  32. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/Client.js +257 -0
  33. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/index.d.ts +2 -0
  34. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/index.js +17 -0
  35. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/requests/DriverComplianceDocumentClientCreate1.d.ts +17 -0
  36. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/requests/DriverComplianceDocumentClientCreate1.js +5 -0
  37. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/requests/index.d.ts +1 -0
  38. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/requests/index.js +2 -0
  39. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/index.d.ts +2 -0
  40. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/index.js +18 -0
  41. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/index.d.ts +2 -0
  42. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/index.js +41 -0
  43. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/Client.d.ts +83 -0
  44. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/Client.js +311 -0
  45. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/index.d.ts +2 -0
  46. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/index.js +17 -0
  47. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/requests/BodyPostDriverComplianceDocumentsS3ObjectAddV1ShippingDriversComplianceDocumentsS3ObjectAddV1DriverComplianceDocumentIdPost.d.ts +13 -0
  48. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/requests/BodyPostDriverComplianceDocumentsS3ObjectAddV1ShippingDriversComplianceDocumentsS3ObjectAddV1DriverComplianceDocumentIdPost.js +5 -0
  49. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/requests/index.d.ts +1 -0
  50. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/requests/index.js +2 -0
  51. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/index.d.ts +1 -0
  52. package/dist/cjs/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/index.js +17 -0
  53. package/dist/cjs/api/resources/shipping/resources/drivers/resources/index.d.ts +2 -0
  54. package/dist/cjs/api/resources/shipping/resources/drivers/resources/index.js +41 -0
  55. package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.d.ts +1 -1
  56. package/dist/cjs/api/resources/shipping/resources/tasks/client/Client.js +1 -1
  57. package/dist/cjs/api/types/BillingLineItemS3ObjectAddedWebhookPayload.d.ts +14 -0
  58. package/dist/cjs/api/types/BillingLineItemS3ObjectAddedWebhookPayload.js +5 -0
  59. package/dist/cjs/api/types/DateTimeWindow1.d.ts +7 -0
  60. package/dist/cjs/api/types/DateTimeWindow1.js +5 -0
  61. package/dist/cjs/api/types/DriverComplianceDocument1.d.ts +15 -0
  62. package/dist/cjs/api/types/DriverComplianceDocument1.js +5 -0
  63. package/dist/cjs/api/types/DriverComplianceDocumentS3ObjectMetadata1.d.ts +19 -0
  64. package/dist/cjs/api/types/DriverComplianceDocumentS3ObjectMetadata1.js +5 -0
  65. package/dist/cjs/api/types/DriverComplianceDocumentTypeEnum1.d.ts +8 -0
  66. package/dist/cjs/api/types/DriverComplianceDocumentTypeEnum1.js +10 -0
  67. package/dist/cjs/api/types/ListingBidThreadActionAddedWebhookPayload.d.ts +21 -0
  68. package/dist/cjs/api/types/ListingBidThreadActionAddedWebhookPayload.js +5 -0
  69. package/dist/cjs/api/types/NotificationEventsForOrgsEnum.d.ts +8 -2
  70. package/dist/cjs/api/types/NotificationEventsForOrgsEnum.js +7 -1
  71. package/dist/cjs/api/types/NotificationEventsForUsersEnum.d.ts +7 -1
  72. package/dist/cjs/api/types/NotificationEventsForUsersEnum.js +6 -0
  73. package/dist/cjs/api/types/OperationsCaseMessageWebhookPayload.d.ts +15 -0
  74. package/dist/cjs/api/types/OperationsCaseMessageWebhookPayload.js +5 -0
  75. package/dist/cjs/api/types/OperationsCaseS3ObjectAddedWebhookPayload.d.ts +14 -0
  76. package/dist/cjs/api/types/OperationsCaseS3ObjectAddedWebhookPayload.js +5 -0
  77. package/dist/cjs/api/types/OrgComplianceDocument1.d.ts +15 -0
  78. package/dist/cjs/api/types/OrgComplianceDocument1.js +5 -0
  79. package/dist/cjs/api/types/OrgComplianceDocumentS3ObjectMetadata1.d.ts +19 -0
  80. package/dist/cjs/api/types/OrgComplianceDocumentS3ObjectMetadata1.js +5 -0
  81. package/dist/cjs/api/types/OrgComplianceDocumentTypeEnum1.d.ts +8 -0
  82. package/dist/cjs/api/types/OrgComplianceDocumentTypeEnum1.js +10 -0
  83. package/dist/cjs/api/types/ShippingTaskAttemptedWebhookPayload.d.ts +22 -0
  84. package/dist/cjs/api/types/ShippingTaskAttemptedWebhookPayload.js +5 -0
  85. package/dist/cjs/api/types/ShippingTaskExecutorOrgNoteAddedWebhookPayload.d.ts +17 -0
  86. package/dist/cjs/api/types/ShippingTaskExecutorOrgNoteAddedWebhookPayload.js +5 -0
  87. package/dist/cjs/api/types/ShippingTaskGroupProviderAssignedWebhookPayload.d.ts +14 -0
  88. package/dist/cjs/api/types/ShippingTaskGroupProviderAssignedWebhookPayload.js +5 -0
  89. package/dist/cjs/api/types/Task1.d.ts +1 -1
  90. package/dist/cjs/api/types/TaskClientCreate1.d.ts +1 -1
  91. package/dist/cjs/api/types/TaskClientUpdate1.d.ts +1 -1
  92. package/dist/cjs/api/types/TimeWindow1.d.ts +2 -2
  93. package/dist/cjs/api/types/index.d.ts +14 -1
  94. package/dist/cjs/api/types/index.js +14 -1
  95. package/dist/cjs/version.d.ts +1 -1
  96. package/dist/cjs/version.js +1 -1
  97. package/dist/esm/Client.mjs +2 -2
  98. package/dist/esm/api/resources/orgs/client/Client.d.mts +3 -0
  99. package/dist/esm/api/resources/orgs/client/Client.mjs +5 -0
  100. package/dist/esm/api/resources/orgs/resources/complianceDocuments/client/Client.d.mts +76 -0
  101. package/dist/esm/api/resources/orgs/resources/complianceDocuments/client/Client.mjs +211 -0
  102. package/dist/esm/api/resources/orgs/resources/complianceDocuments/client/index.d.mts +2 -0
  103. package/dist/esm/api/resources/orgs/resources/complianceDocuments/client/index.mjs +1 -0
  104. package/dist/esm/api/resources/orgs/resources/complianceDocuments/client/requests/OrgComplianceDocumentClientCreate1.d.mts +17 -0
  105. package/dist/esm/api/resources/orgs/resources/complianceDocuments/client/requests/index.d.mts +1 -0
  106. package/dist/esm/api/resources/orgs/resources/complianceDocuments/client/requests/index.mjs +1 -0
  107. package/dist/esm/api/resources/orgs/resources/complianceDocuments/index.d.mts +2 -0
  108. package/dist/esm/api/resources/orgs/resources/complianceDocuments/index.mjs +2 -0
  109. package/dist/esm/api/resources/orgs/resources/complianceDocuments/resources/index.d.mts +2 -0
  110. package/dist/esm/api/resources/orgs/resources/complianceDocuments/resources/index.mjs +2 -0
  111. package/dist/esm/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/Client.d.mts +83 -0
  112. package/dist/esm/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/Client.mjs +274 -0
  113. package/dist/esm/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/index.d.mts +2 -0
  114. package/dist/esm/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/index.mjs +1 -0
  115. package/dist/esm/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/requests/BodyPostOrgComplianceDocumentsS3ObjectAddV1OrgsComplianceDocumentsS3ObjectAddV1OrgComplianceDocumentIdPost.d.mts +13 -0
  116. package/dist/esm/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/requests/BodyPostOrgComplianceDocumentsS3ObjectAddV1OrgsComplianceDocumentsS3ObjectAddV1OrgComplianceDocumentIdPost.mjs +4 -0
  117. package/dist/esm/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/requests/index.d.mts +1 -0
  118. package/dist/esm/api/resources/orgs/resources/complianceDocuments/resources/s3Object/client/requests/index.mjs +1 -0
  119. package/dist/esm/api/resources/orgs/resources/complianceDocuments/resources/s3Object/index.d.mts +1 -0
  120. package/dist/esm/api/resources/orgs/resources/complianceDocuments/resources/s3Object/index.mjs +1 -0
  121. package/dist/esm/api/resources/orgs/resources/index.d.mts +2 -0
  122. package/dist/esm/api/resources/orgs/resources/index.mjs +2 -0
  123. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.d.mts +3 -0
  124. package/dist/esm/api/resources/shipping/resources/drivers/client/Client.mjs +5 -0
  125. package/dist/esm/api/resources/shipping/resources/drivers/index.d.mts +1 -0
  126. package/dist/esm/api/resources/shipping/resources/drivers/index.mjs +1 -0
  127. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/Client.d.mts +80 -0
  128. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/Client.mjs +220 -0
  129. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/index.d.mts +2 -0
  130. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/index.mjs +1 -0
  131. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/requests/DriverComplianceDocumentClientCreate1.d.mts +17 -0
  132. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/requests/DriverComplianceDocumentClientCreate1.mjs +4 -0
  133. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/requests/index.d.mts +1 -0
  134. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/client/requests/index.mjs +1 -0
  135. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/index.d.mts +2 -0
  136. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/index.mjs +2 -0
  137. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/index.d.mts +2 -0
  138. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/index.mjs +2 -0
  139. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/Client.d.mts +83 -0
  140. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/Client.mjs +274 -0
  141. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/index.d.mts +2 -0
  142. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/index.mjs +1 -0
  143. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/requests/BodyPostDriverComplianceDocumentsS3ObjectAddV1ShippingDriversComplianceDocumentsS3ObjectAddV1DriverComplianceDocumentIdPost.d.mts +13 -0
  144. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/requests/BodyPostDriverComplianceDocumentsS3ObjectAddV1ShippingDriversComplianceDocumentsS3ObjectAddV1DriverComplianceDocumentIdPost.mjs +4 -0
  145. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/requests/index.d.mts +1 -0
  146. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/client/requests/index.mjs +1 -0
  147. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/index.d.mts +1 -0
  148. package/dist/esm/api/resources/shipping/resources/drivers/resources/complianceDocuments/resources/s3Object/index.mjs +1 -0
  149. package/dist/esm/api/resources/shipping/resources/drivers/resources/index.d.mts +2 -0
  150. package/dist/esm/api/resources/shipping/resources/drivers/resources/index.mjs +2 -0
  151. package/dist/esm/api/resources/shipping/resources/tasks/client/Client.d.mts +1 -1
  152. package/dist/esm/api/resources/shipping/resources/tasks/client/Client.mjs +1 -1
  153. package/dist/esm/api/types/BillingLineItemS3ObjectAddedWebhookPayload.d.mts +14 -0
  154. package/dist/esm/api/types/BillingLineItemS3ObjectAddedWebhookPayload.mjs +4 -0
  155. package/dist/esm/api/types/DateTimeWindow1.d.mts +7 -0
  156. package/dist/esm/api/types/DateTimeWindow1.mjs +4 -0
  157. package/dist/esm/api/types/DriverComplianceDocument1.d.mts +15 -0
  158. package/dist/esm/api/types/DriverComplianceDocument1.mjs +4 -0
  159. package/dist/esm/api/types/DriverComplianceDocumentS3ObjectMetadata1.d.mts +19 -0
  160. package/dist/esm/api/types/DriverComplianceDocumentS3ObjectMetadata1.mjs +4 -0
  161. package/dist/esm/api/types/DriverComplianceDocumentTypeEnum1.d.mts +8 -0
  162. package/dist/esm/api/types/DriverComplianceDocumentTypeEnum1.mjs +7 -0
  163. package/dist/esm/api/types/ListingBidThreadActionAddedWebhookPayload.d.mts +21 -0
  164. package/dist/esm/api/types/ListingBidThreadActionAddedWebhookPayload.mjs +4 -0
  165. package/dist/esm/api/types/NotificationEventsForOrgsEnum.d.mts +8 -2
  166. package/dist/esm/api/types/NotificationEventsForOrgsEnum.mjs +7 -1
  167. package/dist/esm/api/types/NotificationEventsForUsersEnum.d.mts +7 -1
  168. package/dist/esm/api/types/NotificationEventsForUsersEnum.mjs +6 -0
  169. package/dist/esm/api/types/OperationsCaseMessageWebhookPayload.d.mts +15 -0
  170. package/dist/esm/api/types/OperationsCaseMessageWebhookPayload.mjs +4 -0
  171. package/dist/esm/api/types/OperationsCaseS3ObjectAddedWebhookPayload.d.mts +14 -0
  172. package/dist/esm/api/types/OperationsCaseS3ObjectAddedWebhookPayload.mjs +4 -0
  173. package/dist/esm/api/types/OrgComplianceDocument1.d.mts +15 -0
  174. package/dist/esm/api/types/OrgComplianceDocument1.mjs +4 -0
  175. package/dist/esm/api/types/OrgComplianceDocumentS3ObjectMetadata1.d.mts +19 -0
  176. package/dist/esm/api/types/OrgComplianceDocumentS3ObjectMetadata1.mjs +4 -0
  177. package/dist/esm/api/types/OrgComplianceDocumentTypeEnum1.d.mts +8 -0
  178. package/dist/esm/api/types/OrgComplianceDocumentTypeEnum1.mjs +7 -0
  179. package/dist/esm/api/types/ShippingTaskAttemptedWebhookPayload.d.mts +22 -0
  180. package/dist/esm/api/types/ShippingTaskAttemptedWebhookPayload.mjs +4 -0
  181. package/dist/esm/api/types/ShippingTaskExecutorOrgNoteAddedWebhookPayload.d.mts +17 -0
  182. package/dist/esm/api/types/ShippingTaskExecutorOrgNoteAddedWebhookPayload.mjs +4 -0
  183. package/dist/esm/api/types/ShippingTaskGroupProviderAssignedWebhookPayload.d.mts +14 -0
  184. package/dist/esm/api/types/ShippingTaskGroupProviderAssignedWebhookPayload.mjs +4 -0
  185. package/dist/esm/api/types/Task1.d.mts +1 -1
  186. package/dist/esm/api/types/TaskClientCreate1.d.mts +1 -1
  187. package/dist/esm/api/types/TaskClientUpdate1.d.mts +1 -1
  188. package/dist/esm/api/types/TimeWindow1.d.mts +2 -2
  189. package/dist/esm/api/types/index.d.mts +14 -1
  190. package/dist/esm/api/types/index.mjs +14 -1
  191. package/dist/esm/version.d.mts +1 -1
  192. package/dist/esm/version.mjs +1 -1
  193. package/package.json +1 -1
  194. package/reference.md +1487 -569
  195. package/dist/cjs/api/types/ShippingTaskGroupCourierOrgAssignedWebhookPayload.d.ts +0 -14
  196. package/dist/esm/api/types/ShippingTaskGroupCourierOrgAssignedWebhookPayload.d.mts +0 -14
  197. /package/dist/cjs/api/{types/ShippingTaskGroupCourierOrgAssignedWebhookPayload.js → resources/orgs/resources/complianceDocuments/client/requests/OrgComplianceDocumentClientCreate1.js} +0 -0
  198. /package/dist/esm/api/{types/ShippingTaskGroupCourierOrgAssignedWebhookPayload.mjs → resources/orgs/resources/complianceDocuments/client/requests/OrgComplianceDocumentClientCreate1.mjs} +0 -0
@@ -0,0 +1,257 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ var desc = Object.getOwnPropertyDescriptor(m, k);
8
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
9
+ desc = { enumerable: true, get: function() { return m[k]; } };
10
+ }
11
+ Object.defineProperty(o, k2, desc);
12
+ }) : (function(o, m, k, k2) {
13
+ if (k2 === undefined) k2 = k;
14
+ o[k2] = m[k];
15
+ }));
16
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
17
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
18
+ }) : function(o, v) {
19
+ o["default"] = v;
20
+ });
21
+ var __importStar = (this && this.__importStar) || (function () {
22
+ var ownKeys = function(o) {
23
+ ownKeys = Object.getOwnPropertyNames || function (o) {
24
+ var ar = [];
25
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
+ return ar;
27
+ };
28
+ return ownKeys(o);
29
+ };
30
+ return function (mod) {
31
+ if (mod && mod.__esModule) return mod;
32
+ var result = {};
33
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
+ __setModuleDefault(result, mod);
35
+ return result;
36
+ };
37
+ })();
38
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
39
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
40
+ return new (P || (P = Promise))(function (resolve, reject) {
41
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
42
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
43
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
44
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
45
+ });
46
+ };
47
+ Object.defineProperty(exports, "__esModule", { value: true });
48
+ exports.ComplianceDocuments = void 0;
49
+ const environments = __importStar(require("../../../../../../../../environments.js"));
50
+ const core = __importStar(require("../../../../../../../../core/index.js"));
51
+ const Chrt = __importStar(require("../../../../../../../index.js"));
52
+ const headers_js_1 = require("../../../../../../../../core/headers.js");
53
+ const errors = __importStar(require("../../../../../../../../errors/index.js"));
54
+ const Client_js_1 = require("../resources/s3Object/client/Client.js");
55
+ class ComplianceDocuments {
56
+ constructor(_options = {}) {
57
+ this._options = _options;
58
+ }
59
+ get s3Object() {
60
+ var _a;
61
+ return ((_a = this._s3Object) !== null && _a !== void 0 ? _a : (this._s3Object = new Client_js_1.S3Object(this._options)));
62
+ }
63
+ /**
64
+ * Lists compliance documents for one driver in the caller's provider organization. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (list[DriverComplianceDocument1])
65
+ *
66
+ * @param {string} driverId
67
+ * @param {ComplianceDocuments.RequestOptions} requestOptions - Request-specific configuration.
68
+ *
69
+ * @throws {@link Chrt.UnprocessableEntityError}
70
+ *
71
+ * @example
72
+ * await client.shipping.drivers.complianceDocuments.listV1("driver_id")
73
+ */
74
+ listV1(driverId, requestOptions) {
75
+ return core.HttpResponsePromise.fromPromise(this.__listV1(driverId, requestOptions));
76
+ }
77
+ __listV1(driverId, requestOptions) {
78
+ return __awaiter(this, void 0, void 0, function* () {
79
+ var _a, _b, _c, _d;
80
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
81
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
82
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/drivers/compliance_documents/list/v1/${encodeURIComponent(driverId)}`),
83
+ method: "GET",
84
+ headers: _headers,
85
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
86
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
87
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
88
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
89
+ });
90
+ if (_response.ok) {
91
+ return { data: _response.body, rawResponse: _response.rawResponse };
92
+ }
93
+ if (_response.error.reason === "status-code") {
94
+ switch (_response.error.statusCode) {
95
+ case 422:
96
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
97
+ default:
98
+ throw new errors.ChrtError({
99
+ statusCode: _response.error.statusCode,
100
+ body: _response.error.body,
101
+ rawResponse: _response.rawResponse,
102
+ });
103
+ }
104
+ }
105
+ switch (_response.error.reason) {
106
+ case "non-json":
107
+ throw new errors.ChrtError({
108
+ statusCode: _response.error.statusCode,
109
+ body: _response.error.rawBody,
110
+ rawResponse: _response.rawResponse,
111
+ });
112
+ case "timeout":
113
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/compliance_documents/list/v1/{driver_id}.");
114
+ case "unknown":
115
+ throw new errors.ChrtError({
116
+ message: _response.error.errorMessage,
117
+ rawResponse: _response.rawResponse,
118
+ });
119
+ }
120
+ });
121
+ }
122
+ /**
123
+ * Retrieves one driver compliance document in the caller's provider organization. | authz: allowed_org_types=[provider], min_org_role=operator | () -> (DriverComplianceDocument1)
124
+ *
125
+ * @param {string} driverComplianceDocumentId
126
+ * @param {ComplianceDocuments.RequestOptions} requestOptions - Request-specific configuration.
127
+ *
128
+ * @throws {@link Chrt.UnprocessableEntityError}
129
+ *
130
+ * @example
131
+ * await client.shipping.drivers.complianceDocuments.getV1("driver_compliance_document_id")
132
+ */
133
+ getV1(driverComplianceDocumentId, requestOptions) {
134
+ return core.HttpResponsePromise.fromPromise(this.__getV1(driverComplianceDocumentId, requestOptions));
135
+ }
136
+ __getV1(driverComplianceDocumentId, requestOptions) {
137
+ return __awaiter(this, void 0, void 0, function* () {
138
+ var _a, _b, _c, _d;
139
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
140
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
141
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/drivers/compliance_documents/v1/${encodeURIComponent(driverComplianceDocumentId)}`),
142
+ method: "GET",
143
+ headers: _headers,
144
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
145
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
146
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
147
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
148
+ });
149
+ if (_response.ok) {
150
+ return { data: _response.body, rawResponse: _response.rawResponse };
151
+ }
152
+ if (_response.error.reason === "status-code") {
153
+ switch (_response.error.statusCode) {
154
+ case 422:
155
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
156
+ default:
157
+ throw new errors.ChrtError({
158
+ statusCode: _response.error.statusCode,
159
+ body: _response.error.body,
160
+ rawResponse: _response.rawResponse,
161
+ });
162
+ }
163
+ }
164
+ switch (_response.error.reason) {
165
+ case "non-json":
166
+ throw new errors.ChrtError({
167
+ statusCode: _response.error.statusCode,
168
+ body: _response.error.rawBody,
169
+ rawResponse: _response.rawResponse,
170
+ });
171
+ case "timeout":
172
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling GET /shipping/drivers/compliance_documents/v1/{driver_compliance_document_id}.");
173
+ case "unknown":
174
+ throw new errors.ChrtError({
175
+ message: _response.error.errorMessage,
176
+ rawResponse: _response.rawResponse,
177
+ });
178
+ }
179
+ });
180
+ }
181
+ /**
182
+ * Creates a compliance document record for a driver in the caller's provider organization. | authz: allowed_org_types=[provider], min_org_role=administrator | (DriverComplianceDocumentClientCreate1) -> (DriverComplianceDocument1)
183
+ *
184
+ * @param {string} driverId
185
+ * @param {Chrt.shipping.drivers.DriverComplianceDocumentClientCreate1} request
186
+ * @param {ComplianceDocuments.RequestOptions} requestOptions - Request-specific configuration.
187
+ *
188
+ * @throws {@link Chrt.UnprocessableEntityError}
189
+ *
190
+ * @example
191
+ * await client.shipping.drivers.complianceDocuments.createV1("driver_id", {
192
+ * schema_version: 1,
193
+ * document_type: "drivers_license"
194
+ * })
195
+ */
196
+ createV1(driverId, request, requestOptions) {
197
+ return core.HttpResponsePromise.fromPromise(this.__createV1(driverId, request, requestOptions));
198
+ }
199
+ __createV1(driverId, request, requestOptions) {
200
+ return __awaiter(this, void 0, void 0, function* () {
201
+ var _a, _b, _c, _d;
202
+ let _headers = (0, headers_js_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
203
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
204
+ url: core.url.join((_d = (_c = (yield core.Supplier.get(this._options.baseUrl))) !== null && _c !== void 0 ? _c : (yield core.Supplier.get(this._options.environment))) !== null && _d !== void 0 ? _d : environments.ChrtEnvironment.Local, `shipping/drivers/compliance_documents/create/v1/${encodeURIComponent(driverId)}`),
205
+ method: "POST",
206
+ headers: _headers,
207
+ contentType: "application/json",
208
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
209
+ requestType: "json",
210
+ body: request,
211
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
212
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
213
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
214
+ });
215
+ if (_response.ok) {
216
+ return { data: _response.body, rawResponse: _response.rawResponse };
217
+ }
218
+ if (_response.error.reason === "status-code") {
219
+ switch (_response.error.statusCode) {
220
+ case 422:
221
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
222
+ default:
223
+ throw new errors.ChrtError({
224
+ statusCode: _response.error.statusCode,
225
+ body: _response.error.body,
226
+ rawResponse: _response.rawResponse,
227
+ });
228
+ }
229
+ }
230
+ switch (_response.error.reason) {
231
+ case "non-json":
232
+ throw new errors.ChrtError({
233
+ statusCode: _response.error.statusCode,
234
+ body: _response.error.rawBody,
235
+ rawResponse: _response.rawResponse,
236
+ });
237
+ case "timeout":
238
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/drivers/compliance_documents/create/v1/{driver_id}.");
239
+ case "unknown":
240
+ throw new errors.ChrtError({
241
+ message: _response.error.errorMessage,
242
+ rawResponse: _response.rawResponse,
243
+ });
244
+ }
245
+ });
246
+ }
247
+ _getAuthorizationHeader() {
248
+ return __awaiter(this, void 0, void 0, function* () {
249
+ const bearer = yield core.Supplier.get(this._options.token);
250
+ if (bearer != null) {
251
+ return `Bearer ${bearer}`;
252
+ }
253
+ return undefined;
254
+ });
255
+ }
256
+ }
257
+ exports.ComplianceDocuments = ComplianceDocuments;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ export * from "./requests/index.js";
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./requests/index.js"), exports);
@@ -0,0 +1,17 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../../../../../../../../index.js";
5
+ /**
6
+ * @example
7
+ * {
8
+ * schema_version: 1,
9
+ * document_type: "drivers_license"
10
+ * }
11
+ */
12
+ export interface DriverComplianceDocumentClientCreate1 {
13
+ schema_version: number;
14
+ document_type: Chrt.DriverComplianceDocumentTypeEnum1;
15
+ valid_from?: string | null;
16
+ valid_until?: string | null;
17
+ }
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export { type DriverComplianceDocumentClientCreate1 } from "./DriverComplianceDocumentClientCreate1.js";
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.js";
2
+ export * from "./resources/index.js";
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./client/index.js"), exports);
18
+ __exportStar(require("./resources/index.js"), exports);
@@ -0,0 +1,2 @@
1
+ export * as s3Object from "./s3Object/index.js";
2
+ export * from "./s3Object/client/requests/index.js";
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
36
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
37
+ };
38
+ Object.defineProperty(exports, "__esModule", { value: true });
39
+ exports.s3Object = void 0;
40
+ exports.s3Object = __importStar(require("./s3Object/index.js"));
41
+ __exportStar(require("./s3Object/client/requests/index.js"), exports);
@@ -0,0 +1,83 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as environments from "../../../../../../../../../../environments.js";
5
+ import * as core from "../../../../../../../../../../core/index.js";
6
+ import * as Chrt from "../../../../../../../../../index.js";
7
+ export declare namespace S3Object {
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 S3Object {
31
+ protected readonly _options: S3Object.Options;
32
+ constructor(_options?: S3Object.Options);
33
+ /**
34
+ * Retrieves metadata for a driver compliance document S3 object. | authz: allowed_org_types=[provider], min_org_role=administrator | () -> (DriverComplianceDocumentS3ObjectMetadata1)
35
+ *
36
+ * @param {string} driverComplianceDocumentS3ObjectMetadataId
37
+ * @param {S3Object.RequestOptions} requestOptions - Request-specific configuration.
38
+ *
39
+ * @throws {@link Chrt.UnprocessableEntityError}
40
+ *
41
+ * @example
42
+ * await client.shipping.drivers.complianceDocuments.s3Object.getS3ObjectMetadataV1("driver_compliance_document_s3_object_metadata_id")
43
+ */
44
+ getS3ObjectMetadataV1(driverComplianceDocumentS3ObjectMetadataId: string, requestOptions?: S3Object.RequestOptions): core.HttpResponsePromise<Chrt.DriverComplianceDocumentS3ObjectMetadata1>;
45
+ private __getS3ObjectMetadataV1;
46
+ /**
47
+ * Streams a driver compliance document S3 object file from storage. | authz: allowed_org_types=[provider], min_org_role=administrator | () -> (binary)
48
+ * @throws {@link Chrt.UnprocessableEntityError}
49
+ */
50
+ getV1(driverComplianceDocumentS3ObjectMetadataId: string, requestOptions?: S3Object.RequestOptions): core.HttpResponsePromise<core.BinaryResponse>;
51
+ private __getV1;
52
+ /**
53
+ * Uploads a file to a driver compliance document. Automatic blurhash generation for images. | authz: allowed_org_types=[provider], min_org_role=administrator | (UploadFile) -> (bool)
54
+ *
55
+ * @param {string} driverComplianceDocumentId
56
+ * @param {Chrt.shipping.drivers.complianceDocuments.BodyPostDriverComplianceDocumentsS3ObjectAddV1ShippingDriversComplianceDocumentsS3ObjectAddV1DriverComplianceDocumentIdPost} request
57
+ * @param {S3Object.RequestOptions} requestOptions - Request-specific configuration.
58
+ *
59
+ * @throws {@link Chrt.UnprocessableEntityError}
60
+ *
61
+ * @example
62
+ * import { createReadStream } from "fs";
63
+ * await client.shipping.drivers.complianceDocuments.s3Object.addV1("driver_compliance_document_id", {
64
+ * file: fs.createReadStream("/path/to/your/file")
65
+ * })
66
+ */
67
+ addV1(driverComplianceDocumentId: string, request: Chrt.shipping.drivers.complianceDocuments.BodyPostDriverComplianceDocumentsS3ObjectAddV1ShippingDriversComplianceDocumentsS3ObjectAddV1DriverComplianceDocumentIdPost, requestOptions?: S3Object.RequestOptions): core.HttpResponsePromise<boolean>;
68
+ private __addV1;
69
+ /**
70
+ * Deletes a driver compliance document S3 object and metadata. | authz: allowed_org_types=[provider], min_org_role=administrator | () -> (bool)
71
+ *
72
+ * @param {string} driverComplianceDocumentS3ObjectMetadataId
73
+ * @param {S3Object.RequestOptions} requestOptions - Request-specific configuration.
74
+ *
75
+ * @throws {@link Chrt.UnprocessableEntityError}
76
+ *
77
+ * @example
78
+ * await client.shipping.drivers.complianceDocuments.s3Object.deleteV1("driver_compliance_document_s3_object_metadata_id")
79
+ */
80
+ deleteV1(driverComplianceDocumentS3ObjectMetadataId: string, requestOptions?: S3Object.RequestOptions): core.HttpResponsePromise<boolean>;
81
+ private __deleteV1;
82
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
83
+ }