@chrt-inc/typescript-sdk 1.887.0 → 1.891.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 (196) hide show
  1. package/dist/cjs/Client.js +2 -2
  2. package/dist/cjs/api/resources/orgs/resources/accounts/client/Client.d.ts +1 -0
  3. package/dist/cjs/api/resources/orgs/resources/accounts/client/Client.js +5 -1
  4. package/dist/cjs/api/resources/orgs/resources/accounts/client/requests/AccountsListV1Request.d.ts +3 -0
  5. package/dist/cjs/api/resources/orgs/resources/contacts/client/Client.d.ts +30 -0
  6. package/dist/cjs/api/resources/orgs/resources/contacts/client/Client.js +125 -0
  7. package/dist/cjs/api/resources/orgs/resources/contacts/client/requests/ContactAccountAddReq.d.ts +12 -0
  8. package/dist/cjs/api/resources/orgs/resources/contacts/client/requests/ContactAccountAddReq.js +5 -0
  9. package/dist/cjs/api/resources/orgs/resources/contacts/client/requests/ContactClientCreate1.d.ts +1 -1
  10. package/dist/cjs/api/resources/orgs/resources/contacts/client/requests/index.d.ts +1 -0
  11. package/dist/cjs/api/resources/shipping/resources/cargos/client/Client.d.ts +53 -0
  12. package/dist/cjs/api/resources/shipping/resources/cargos/client/Client.js +200 -0
  13. package/dist/cjs/api/resources/shipping/resources/cargos/client/index.d.ts +1 -0
  14. package/dist/cjs/api/resources/shipping/resources/cargos/client/index.js +15 -0
  15. package/dist/cjs/api/resources/shipping/resources/cargos/client/requests/CargoAddToOrderReq.d.ts +18 -0
  16. package/dist/cjs/api/resources/shipping/resources/cargos/client/requests/CargoAddToOrderReq.js +5 -0
  17. package/dist/cjs/api/resources/shipping/resources/cargos/client/requests/CargoAssociateWithTaskReq.d.ts +16 -0
  18. package/dist/cjs/api/resources/shipping/resources/cargos/client/requests/CargoAssociateWithTaskReq.js +5 -0
  19. package/dist/cjs/api/resources/shipping/resources/cargos/client/requests/CargoUnassociateWithTaskReq.d.ts +16 -0
  20. package/dist/cjs/api/resources/shipping/resources/cargos/client/requests/CargoUnassociateWithTaskReq.js +5 -0
  21. package/dist/cjs/api/resources/shipping/resources/cargos/client/requests/index.d.ts +3 -0
  22. package/dist/cjs/api/resources/shipping/resources/cargos/client/requests/index.js +2 -0
  23. package/dist/cjs/api/resources/shipping/resources/index.d.ts +1 -0
  24. package/dist/cjs/api/resources/shipping/resources/index.js +1 -0
  25. package/dist/cjs/api/resources/trackingIntegrations/client/Client.d.ts +3 -0
  26. package/dist/cjs/api/resources/trackingIntegrations/client/Client.js +7 -2
  27. package/dist/cjs/api/resources/trackingIntegrations/resources/index.d.ts +1 -0
  28. package/dist/cjs/api/resources/trackingIntegrations/resources/index.js +2 -1
  29. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/client/Client.d.ts +29 -0
  30. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/client/Client.js +27 -0
  31. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/client/index.d.ts +1 -0
  32. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/client/index.js +2 -0
  33. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/index.d.ts +2 -0
  34. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/index.js +18 -0
  35. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/Client.d.ts +93 -0
  36. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/Client.js +328 -0
  37. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/index.d.ts +2 -0
  38. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/index.js +17 -0
  39. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/AssetsListV1Request.d.ts +21 -0
  40. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/AssetsListV1Request.js +5 -0
  41. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/ReelablesAssetClientUpdate1.d.ts +14 -0
  42. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/ReelablesAssetClientUpdate1.js +5 -0
  43. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/index.d.ts +2 -0
  44. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/index.js +2 -0
  45. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/index.d.ts +1 -0
  46. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/assets/index.js +17 -0
  47. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/index.d.ts +6 -0
  48. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/index.js +45 -0
  49. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/Client.d.ts +51 -0
  50. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/Client.js +135 -0
  51. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/index.d.ts +2 -0
  52. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/index.js +17 -0
  53. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/TimeseriesDataPointsV1Request.d.ts +14 -0
  54. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/TimeseriesDataPointsV1Request.js +5 -0
  55. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/index.d.ts +1 -0
  56. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/index.js +2 -0
  57. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/index.d.ts +1 -0
  58. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/index.js +17 -0
  59. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/Client.d.ts +62 -0
  60. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/Client.js +197 -0
  61. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/index.d.ts +2 -0
  62. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/index.js +17 -0
  63. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/WorkspacesListV1Request.d.ts +21 -0
  64. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/WorkspacesListV1Request.js +5 -0
  65. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/index.d.ts +1 -0
  66. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/index.js +2 -0
  67. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/index.d.ts +1 -0
  68. package/dist/cjs/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/index.js +17 -0
  69. package/dist/cjs/api/types/Contact1.d.ts +1 -1
  70. package/dist/cjs/api/types/ReelablesAsset1.d.ts +22 -0
  71. package/dist/cjs/api/types/ReelablesAsset1.js +5 -0
  72. package/dist/cjs/api/types/ReelablesAssetListRes.d.ts +8 -0
  73. package/dist/cjs/api/types/ReelablesAssetListRes.js +5 -0
  74. package/dist/cjs/api/types/ReelablesAssetSortByEnum.d.ts +8 -0
  75. package/dist/cjs/api/types/ReelablesAssetSortByEnum.js +10 -0
  76. package/dist/cjs/api/types/ReelablesAssetSyncRes.d.ts +8 -0
  77. package/dist/cjs/api/types/ReelablesAssetSyncRes.js +5 -0
  78. package/dist/cjs/api/types/ReelablesDataPoint1.d.ts +12 -0
  79. package/dist/cjs/api/types/ReelablesDataPoint1.js +5 -0
  80. package/dist/cjs/api/types/ReelablesDataPointMetadata1.d.ts +6 -0
  81. package/dist/cjs/api/types/ReelablesDataPointMetadata1.js +5 -0
  82. package/dist/cjs/api/types/ReelablesLabel1.d.ts +9 -0
  83. package/dist/cjs/api/types/ReelablesLabel1.js +5 -0
  84. package/dist/cjs/api/types/ReelablesTimeseriesRes.d.ts +7 -0
  85. package/dist/cjs/api/types/ReelablesTimeseriesRes.js +5 -0
  86. package/dist/cjs/api/types/ReelablesWorkspace1.d.ts +13 -0
  87. package/dist/cjs/api/types/ReelablesWorkspace1.js +5 -0
  88. package/dist/cjs/api/types/ReelablesWorkspaceListRes.d.ts +8 -0
  89. package/dist/cjs/api/types/ReelablesWorkspaceListRes.js +5 -0
  90. package/dist/cjs/api/types/ReelablesWorkspaceSortByEnum.d.ts +4 -0
  91. package/dist/cjs/api/types/ReelablesWorkspaceSortByEnum.js +5 -0
  92. package/dist/cjs/api/types/ReelablesWorkspaceSyncRes.d.ts +9 -0
  93. package/dist/cjs/api/types/ReelablesWorkspaceSyncRes.js +5 -0
  94. package/dist/cjs/api/types/index.d.ts +12 -0
  95. package/dist/cjs/api/types/index.js +12 -0
  96. package/dist/cjs/version.d.ts +1 -1
  97. package/dist/cjs/version.js +1 -1
  98. package/dist/esm/Client.mjs +2 -2
  99. package/dist/esm/api/resources/orgs/resources/accounts/client/Client.d.mts +1 -0
  100. package/dist/esm/api/resources/orgs/resources/accounts/client/Client.mjs +5 -1
  101. package/dist/esm/api/resources/orgs/resources/accounts/client/requests/AccountsListV1Request.d.mts +3 -0
  102. package/dist/esm/api/resources/orgs/resources/contacts/client/Client.d.mts +30 -0
  103. package/dist/esm/api/resources/orgs/resources/contacts/client/Client.mjs +125 -0
  104. package/dist/esm/api/resources/orgs/resources/contacts/client/requests/ContactAccountAddReq.d.mts +12 -0
  105. package/dist/esm/api/resources/orgs/resources/contacts/client/requests/ContactAccountAddReq.mjs +4 -0
  106. package/dist/esm/api/resources/orgs/resources/contacts/client/requests/ContactClientCreate1.d.mts +1 -1
  107. package/dist/esm/api/resources/orgs/resources/contacts/client/requests/index.d.mts +1 -0
  108. package/dist/esm/api/resources/shipping/resources/cargos/client/Client.d.mts +53 -0
  109. package/dist/esm/api/resources/shipping/resources/cargos/client/Client.mjs +200 -0
  110. package/dist/esm/api/resources/shipping/resources/cargos/client/index.d.mts +1 -0
  111. package/dist/esm/api/resources/shipping/resources/cargos/client/index.mjs +1 -1
  112. package/dist/esm/api/resources/shipping/resources/cargos/client/requests/CargoAddToOrderReq.d.mts +18 -0
  113. package/dist/esm/api/resources/shipping/resources/cargos/client/requests/CargoAddToOrderReq.mjs +4 -0
  114. package/dist/esm/api/resources/shipping/resources/cargos/client/requests/CargoAssociateWithTaskReq.d.mts +16 -0
  115. package/dist/esm/api/resources/shipping/resources/cargos/client/requests/CargoAssociateWithTaskReq.mjs +4 -0
  116. package/dist/esm/api/resources/shipping/resources/cargos/client/requests/CargoUnassociateWithTaskReq.d.mts +16 -0
  117. package/dist/esm/api/resources/shipping/resources/cargos/client/requests/CargoUnassociateWithTaskReq.mjs +4 -0
  118. package/dist/esm/api/resources/shipping/resources/cargos/client/requests/index.d.mts +3 -0
  119. package/dist/esm/api/resources/shipping/resources/cargos/client/requests/index.mjs +1 -0
  120. package/dist/esm/api/resources/shipping/resources/index.d.mts +1 -0
  121. package/dist/esm/api/resources/shipping/resources/index.mjs +1 -0
  122. package/dist/esm/api/resources/trackingIntegrations/client/Client.d.mts +3 -0
  123. package/dist/esm/api/resources/trackingIntegrations/client/Client.mjs +5 -0
  124. package/dist/esm/api/resources/trackingIntegrations/resources/index.d.mts +1 -0
  125. package/dist/esm/api/resources/trackingIntegrations/resources/index.mjs +1 -0
  126. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/client/Client.d.mts +29 -0
  127. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/client/Client.mjs +23 -0
  128. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/client/index.d.mts +1 -0
  129. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/client/index.mjs +1 -0
  130. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/index.d.mts +2 -0
  131. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/index.mjs +2 -0
  132. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/Client.d.mts +93 -0
  133. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/Client.mjs +291 -0
  134. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/index.d.mts +2 -0
  135. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/index.mjs +1 -0
  136. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/AssetsListV1Request.d.mts +21 -0
  137. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/AssetsListV1Request.mjs +4 -0
  138. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/ReelablesAssetClientUpdate1.d.mts +14 -0
  139. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/ReelablesAssetClientUpdate1.mjs +4 -0
  140. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/index.d.mts +2 -0
  141. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/client/requests/index.mjs +1 -0
  142. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/index.d.mts +1 -0
  143. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/assets/index.mjs +1 -0
  144. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/index.d.mts +6 -0
  145. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/index.mjs +6 -0
  146. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/Client.d.mts +51 -0
  147. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/Client.mjs +98 -0
  148. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/index.d.mts +2 -0
  149. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/index.mjs +1 -0
  150. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/TimeseriesDataPointsV1Request.d.mts +14 -0
  151. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/TimeseriesDataPointsV1Request.mjs +4 -0
  152. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/index.d.mts +1 -0
  153. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/client/requests/index.mjs +1 -0
  154. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/index.d.mts +1 -0
  155. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/timeseries/index.mjs +1 -0
  156. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/Client.d.mts +62 -0
  157. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/Client.mjs +160 -0
  158. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/index.d.mts +2 -0
  159. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/index.mjs +1 -0
  160. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/WorkspacesListV1Request.d.mts +21 -0
  161. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/WorkspacesListV1Request.mjs +4 -0
  162. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/index.d.mts +1 -0
  163. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/client/requests/index.mjs +1 -0
  164. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/index.d.mts +1 -0
  165. package/dist/esm/api/resources/trackingIntegrations/resources/reelables/resources/workspaces/index.mjs +1 -0
  166. package/dist/esm/api/types/Contact1.d.mts +1 -1
  167. package/dist/esm/api/types/ReelablesAsset1.d.mts +22 -0
  168. package/dist/esm/api/types/ReelablesAsset1.mjs +4 -0
  169. package/dist/esm/api/types/ReelablesAssetListRes.d.mts +8 -0
  170. package/dist/esm/api/types/ReelablesAssetListRes.mjs +4 -0
  171. package/dist/esm/api/types/ReelablesAssetSortByEnum.d.mts +8 -0
  172. package/dist/esm/api/types/ReelablesAssetSortByEnum.mjs +7 -0
  173. package/dist/esm/api/types/ReelablesAssetSyncRes.d.mts +8 -0
  174. package/dist/esm/api/types/ReelablesAssetSyncRes.mjs +4 -0
  175. package/dist/esm/api/types/ReelablesDataPoint1.d.mts +12 -0
  176. package/dist/esm/api/types/ReelablesDataPoint1.mjs +4 -0
  177. package/dist/esm/api/types/ReelablesDataPointMetadata1.d.mts +6 -0
  178. package/dist/esm/api/types/ReelablesDataPointMetadata1.mjs +4 -0
  179. package/dist/esm/api/types/ReelablesLabel1.d.mts +9 -0
  180. package/dist/esm/api/types/ReelablesLabel1.mjs +4 -0
  181. package/dist/esm/api/types/ReelablesTimeseriesRes.d.mts +7 -0
  182. package/dist/esm/api/types/ReelablesTimeseriesRes.mjs +4 -0
  183. package/dist/esm/api/types/ReelablesWorkspace1.d.mts +13 -0
  184. package/dist/esm/api/types/ReelablesWorkspace1.mjs +4 -0
  185. package/dist/esm/api/types/ReelablesWorkspaceListRes.d.mts +8 -0
  186. package/dist/esm/api/types/ReelablesWorkspaceListRes.mjs +4 -0
  187. package/dist/esm/api/types/ReelablesWorkspaceSortByEnum.d.mts +4 -0
  188. package/dist/esm/api/types/ReelablesWorkspaceSortByEnum.mjs +4 -0
  189. package/dist/esm/api/types/ReelablesWorkspaceSyncRes.d.mts +9 -0
  190. package/dist/esm/api/types/ReelablesWorkspaceSyncRes.mjs +4 -0
  191. package/dist/esm/api/types/index.d.mts +12 -0
  192. package/dist/esm/api/types/index.mjs +12 -0
  193. package/dist/esm/version.d.mts +1 -1
  194. package/dist/esm/version.mjs +1 -1
  195. package/package.json +1 -1
  196. package/reference.md +888 -64
@@ -30,6 +30,59 @@ export declare namespace Cargos {
30
30
  export declare class Cargos {
31
31
  protected readonly _options: Cargos.Options;
32
32
  constructor(_options?: Cargos.Options);
33
+ /**
34
+ * Adds cargo to a non-DRAFT order. Cargo added to a terminal order starts terminal; otherwise it starts STAGED. | authz_personas=[coordinator_org_operators] | (CargoAddToOrderReq) -> (PydanticObjectId)
35
+ *
36
+ * @param {Chrt.shipping.CargoAddToOrderReq} request
37
+ * @param {Cargos.RequestOptions} requestOptions - Request-specific configuration.
38
+ *
39
+ * @throws {@link Chrt.UnprocessableEntityError}
40
+ *
41
+ * @example
42
+ * await client.shipping.cargos.addV1({
43
+ * cargo: {
44
+ * cargo_type: "spare_parts",
45
+ * schema_version: 1
46
+ * },
47
+ * order_id: "order_id"
48
+ * })
49
+ */
50
+ addV1(request: Chrt.shipping.CargoAddToOrderReq, requestOptions?: Cargos.RequestOptions): core.HttpResponsePromise<string>;
51
+ private __addV1;
52
+ /**
53
+ * Associates cargo with a task on a non-DRAFT order, then derives cargo status from all associated tasks in the order's task sequence. | authz_personas=[coordinator_org_operators] | (CargoAssociateWithTaskReq) -> (bool)
54
+ *
55
+ * @param {Chrt.shipping.CargoAssociateWithTaskReq} request
56
+ * @param {Cargos.RequestOptions} requestOptions - Request-specific configuration.
57
+ *
58
+ * @throws {@link Chrt.UnprocessableEntityError}
59
+ *
60
+ * @example
61
+ * await client.shipping.cargos.associateWithTaskV1({
62
+ * cargo_id: "cargo_id",
63
+ * order_id: "order_id",
64
+ * task_id: "task_id"
65
+ * })
66
+ */
67
+ associateWithTaskV1(request: Chrt.shipping.CargoAssociateWithTaskReq, requestOptions?: Cargos.RequestOptions): core.HttpResponsePromise<boolean>;
68
+ private __associateWithTaskV1;
69
+ /**
70
+ * Removes a cargo association from a task on a non-DRAFT order, then derives cargo status from the remaining associated tasks in the order's task sequence. | authz_personas=[coordinator_org_operators] | (CargoUnassociateWithTaskReq) -> (bool)
71
+ *
72
+ * @param {Chrt.shipping.CargoUnassociateWithTaskReq} request
73
+ * @param {Cargos.RequestOptions} requestOptions - Request-specific configuration.
74
+ *
75
+ * @throws {@link Chrt.UnprocessableEntityError}
76
+ *
77
+ * @example
78
+ * await client.shipping.cargos.unassociateWithTaskV1({
79
+ * cargo_id: "cargo_id",
80
+ * order_id: "order_id",
81
+ * task_id: "task_id"
82
+ * })
83
+ */
84
+ unassociateWithTaskV1(request: Chrt.shipping.CargoUnassociateWithTaskReq, requestOptions?: Cargos.RequestOptions): core.HttpResponsePromise<boolean>;
85
+ private __unassociateWithTaskV1;
33
86
  /**
34
87
  * Updates cargo details and synchronizes its parent order's AWB list. Cargo must be in STAGED, IN_TRANSIT, DELIVERED, SKIPPED, or EXCEPTION status. | authz_personas=[lig_owner_operators] | (CargoClientUpdate1) -> (PydanticObjectId)
35
88
  *
@@ -19,6 +19,206 @@ export class Cargos {
19
19
  constructor(_options = {}) {
20
20
  this._options = _options;
21
21
  }
22
+ /**
23
+ * Adds cargo to a non-DRAFT order. Cargo added to a terminal order starts terminal; otherwise it starts STAGED. | authz_personas=[coordinator_org_operators] | (CargoAddToOrderReq) -> (PydanticObjectId)
24
+ *
25
+ * @param {Chrt.shipping.CargoAddToOrderReq} request
26
+ * @param {Cargos.RequestOptions} requestOptions - Request-specific configuration.
27
+ *
28
+ * @throws {@link Chrt.UnprocessableEntityError}
29
+ *
30
+ * @example
31
+ * await client.shipping.cargos.addV1({
32
+ * cargo: {
33
+ * cargo_type: "spare_parts",
34
+ * schema_version: 1
35
+ * },
36
+ * order_id: "order_id"
37
+ * })
38
+ */
39
+ addV1(request, requestOptions) {
40
+ return core.HttpResponsePromise.fromPromise(this.__addV1(request, requestOptions));
41
+ }
42
+ __addV1(request, requestOptions) {
43
+ return __awaiter(this, void 0, void 0, function* () {
44
+ var _a, _b, _c, _d;
45
+ 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);
46
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
47
+ 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/cargos/add/v1"),
48
+ method: "POST",
49
+ headers: _headers,
50
+ contentType: "application/json",
51
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
52
+ requestType: "json",
53
+ body: request,
54
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
55
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
56
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
57
+ });
58
+ if (_response.ok) {
59
+ return { data: _response.body, rawResponse: _response.rawResponse };
60
+ }
61
+ if (_response.error.reason === "status-code") {
62
+ switch (_response.error.statusCode) {
63
+ case 422:
64
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
65
+ default:
66
+ throw new errors.ChrtError({
67
+ statusCode: _response.error.statusCode,
68
+ body: _response.error.body,
69
+ rawResponse: _response.rawResponse,
70
+ });
71
+ }
72
+ }
73
+ switch (_response.error.reason) {
74
+ case "non-json":
75
+ throw new errors.ChrtError({
76
+ statusCode: _response.error.statusCode,
77
+ body: _response.error.rawBody,
78
+ rawResponse: _response.rawResponse,
79
+ });
80
+ case "timeout":
81
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/cargos/add/v1.");
82
+ case "unknown":
83
+ throw new errors.ChrtError({
84
+ message: _response.error.errorMessage,
85
+ rawResponse: _response.rawResponse,
86
+ });
87
+ }
88
+ });
89
+ }
90
+ /**
91
+ * Associates cargo with a task on a non-DRAFT order, then derives cargo status from all associated tasks in the order's task sequence. | authz_personas=[coordinator_org_operators] | (CargoAssociateWithTaskReq) -> (bool)
92
+ *
93
+ * @param {Chrt.shipping.CargoAssociateWithTaskReq} request
94
+ * @param {Cargos.RequestOptions} requestOptions - Request-specific configuration.
95
+ *
96
+ * @throws {@link Chrt.UnprocessableEntityError}
97
+ *
98
+ * @example
99
+ * await client.shipping.cargos.associateWithTaskV1({
100
+ * cargo_id: "cargo_id",
101
+ * order_id: "order_id",
102
+ * task_id: "task_id"
103
+ * })
104
+ */
105
+ associateWithTaskV1(request, requestOptions) {
106
+ return core.HttpResponsePromise.fromPromise(this.__associateWithTaskV1(request, requestOptions));
107
+ }
108
+ __associateWithTaskV1(request, requestOptions) {
109
+ return __awaiter(this, void 0, void 0, function* () {
110
+ var _a, _b, _c, _d;
111
+ 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);
112
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
113
+ 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/cargos/associate_with_task/v1"),
114
+ method: "POST",
115
+ headers: _headers,
116
+ contentType: "application/json",
117
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
118
+ requestType: "json",
119
+ body: request,
120
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
121
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
122
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
123
+ });
124
+ if (_response.ok) {
125
+ return { data: _response.body, rawResponse: _response.rawResponse };
126
+ }
127
+ if (_response.error.reason === "status-code") {
128
+ switch (_response.error.statusCode) {
129
+ case 422:
130
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
131
+ default:
132
+ throw new errors.ChrtError({
133
+ statusCode: _response.error.statusCode,
134
+ body: _response.error.body,
135
+ rawResponse: _response.rawResponse,
136
+ });
137
+ }
138
+ }
139
+ switch (_response.error.reason) {
140
+ case "non-json":
141
+ throw new errors.ChrtError({
142
+ statusCode: _response.error.statusCode,
143
+ body: _response.error.rawBody,
144
+ rawResponse: _response.rawResponse,
145
+ });
146
+ case "timeout":
147
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/cargos/associate_with_task/v1.");
148
+ case "unknown":
149
+ throw new errors.ChrtError({
150
+ message: _response.error.errorMessage,
151
+ rawResponse: _response.rawResponse,
152
+ });
153
+ }
154
+ });
155
+ }
156
+ /**
157
+ * Removes a cargo association from a task on a non-DRAFT order, then derives cargo status from the remaining associated tasks in the order's task sequence. | authz_personas=[coordinator_org_operators] | (CargoUnassociateWithTaskReq) -> (bool)
158
+ *
159
+ * @param {Chrt.shipping.CargoUnassociateWithTaskReq} request
160
+ * @param {Cargos.RequestOptions} requestOptions - Request-specific configuration.
161
+ *
162
+ * @throws {@link Chrt.UnprocessableEntityError}
163
+ *
164
+ * @example
165
+ * await client.shipping.cargos.unassociateWithTaskV1({
166
+ * cargo_id: "cargo_id",
167
+ * order_id: "order_id",
168
+ * task_id: "task_id"
169
+ * })
170
+ */
171
+ unassociateWithTaskV1(request, requestOptions) {
172
+ return core.HttpResponsePromise.fromPromise(this.__unassociateWithTaskV1(request, requestOptions));
173
+ }
174
+ __unassociateWithTaskV1(request, requestOptions) {
175
+ return __awaiter(this, void 0, void 0, function* () {
176
+ var _a, _b, _c, _d;
177
+ 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);
178
+ const _response = yield ((_b = this._options.fetcher) !== null && _b !== void 0 ? _b : core.fetcher)({
179
+ 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/cargos/unassociate_with_task/v1"),
180
+ method: "POST",
181
+ headers: _headers,
182
+ contentType: "application/json",
183
+ queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
184
+ requestType: "json",
185
+ body: request,
186
+ timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
187
+ maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
188
+ abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
189
+ });
190
+ if (_response.ok) {
191
+ return { data: _response.body, rawResponse: _response.rawResponse };
192
+ }
193
+ if (_response.error.reason === "status-code") {
194
+ switch (_response.error.statusCode) {
195
+ case 422:
196
+ throw new Chrt.UnprocessableEntityError(_response.error.body, _response.rawResponse);
197
+ default:
198
+ throw new errors.ChrtError({
199
+ statusCode: _response.error.statusCode,
200
+ body: _response.error.body,
201
+ rawResponse: _response.rawResponse,
202
+ });
203
+ }
204
+ }
205
+ switch (_response.error.reason) {
206
+ case "non-json":
207
+ throw new errors.ChrtError({
208
+ statusCode: _response.error.statusCode,
209
+ body: _response.error.rawBody,
210
+ rawResponse: _response.rawResponse,
211
+ });
212
+ case "timeout":
213
+ throw new errors.ChrtTimeoutError("Timeout exceeded when calling POST /shipping/cargos/unassociate_with_task/v1.");
214
+ case "unknown":
215
+ throw new errors.ChrtError({
216
+ message: _response.error.errorMessage,
217
+ rawResponse: _response.rawResponse,
218
+ });
219
+ }
220
+ });
221
+ }
22
222
  /**
23
223
  * Updates cargo details and synchronizes its parent order's AWB list. Cargo must be in STAGED, IN_TRANSIT, DELIVERED, SKIPPED, or EXCEPTION status. | authz_personas=[lig_owner_operators] | (CargoClientUpdate1) -> (PydanticObjectId)
24
224
  *
@@ -1 +1,2 @@
1
1
  export {};
2
+ export * from "./requests/index.mjs";
@@ -1 +1 @@
1
- export {};
1
+ export * from "./requests/index.mjs";
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as Chrt from "../../../../../../index.mjs";
5
+ /**
6
+ * @example
7
+ * {
8
+ * cargo: {
9
+ * cargo_type: "spare_parts",
10
+ * schema_version: 1
11
+ * },
12
+ * order_id: "order_id"
13
+ * }
14
+ */
15
+ export interface CargoAddToOrderReq {
16
+ cargo: Chrt.CargoClientCreate1;
17
+ order_id: string;
18
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * cargo_id: "cargo_id",
8
+ * order_id: "order_id",
9
+ * task_id: "task_id"
10
+ * }
11
+ */
12
+ export interface CargoAssociateWithTaskReq {
13
+ cargo_id: string;
14
+ order_id: string;
15
+ task_id: string;
16
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * @example
6
+ * {
7
+ * cargo_id: "cargo_id",
8
+ * order_id: "order_id",
9
+ * task_id: "task_id"
10
+ * }
11
+ */
12
+ export interface CargoUnassociateWithTaskReq {
13
+ cargo_id: string;
14
+ order_id: string;
15
+ task_id: string;
16
+ }
@@ -0,0 +1,4 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export {};
@@ -0,0 +1,3 @@
1
+ export { type CargoAddToOrderReq } from "./CargoAddToOrderReq.mjs";
2
+ export { type CargoAssociateWithTaskReq } from "./CargoAssociateWithTaskReq.mjs";
3
+ export { type CargoUnassociateWithTaskReq } from "./CargoUnassociateWithTaskReq.mjs";
@@ -10,6 +10,7 @@ export * as ordersAndOrderGroups from "./ordersAndOrderGroups/index.mjs";
10
10
  export * as taskArtifacts from "./taskArtifacts/index.mjs";
11
11
  export * as taskGroups from "./taskGroups/index.mjs";
12
12
  export * as tasks from "./tasks/index.mjs";
13
+ export * from "./cargos/client/requests/index.mjs";
13
14
  export * from "./drivers/client/requests/index.mjs";
14
15
  export * from "./orderGroups/client/requests/index.mjs";
15
16
  export * from "./orderSchedules/client/requests/index.mjs";
@@ -10,6 +10,7 @@ export * as ordersAndOrderGroups from "./ordersAndOrderGroups/index.mjs";
10
10
  export * as taskArtifacts from "./taskArtifacts/index.mjs";
11
11
  export * as taskGroups from "./taskGroups/index.mjs";
12
12
  export * as tasks from "./tasks/index.mjs";
13
+ export * from "./cargos/client/requests/index.mjs";
13
14
  export * from "./drivers/client/requests/index.mjs";
14
15
  export * from "./orderGroups/client/requests/index.mjs";
15
16
  export * from "./orderSchedules/client/requests/index.mjs";
@@ -3,6 +3,7 @@
3
3
  */
4
4
  import * as environments from "../../../../environments.mjs";
5
5
  import * as core from "../../../../core/index.mjs";
6
+ import { Reelables } from "../resources/reelables/client/Client.mjs";
6
7
  import { Tive } from "../resources/tive/client/Client.mjs";
7
8
  export declare namespace TrackingIntegrations {
8
9
  interface Options {
@@ -17,7 +18,9 @@ export declare namespace TrackingIntegrations {
17
18
  }
18
19
  export declare class TrackingIntegrations {
19
20
  protected readonly _options: TrackingIntegrations.Options;
21
+ protected _reelables: Reelables | undefined;
20
22
  protected _tive: Tive | undefined;
21
23
  constructor(_options?: TrackingIntegrations.Options);
24
+ get reelables(): Reelables;
22
25
  get tive(): Tive;
23
26
  }
@@ -1,11 +1,16 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ import { Reelables } from "../resources/reelables/client/Client.mjs";
4
5
  import { Tive } from "../resources/tive/client/Client.mjs";
5
6
  export class TrackingIntegrations {
6
7
  constructor(_options = {}) {
7
8
  this._options = _options;
8
9
  }
10
+ get reelables() {
11
+ var _a;
12
+ return ((_a = this._reelables) !== null && _a !== void 0 ? _a : (this._reelables = new Reelables(this._options)));
13
+ }
9
14
  get tive() {
10
15
  var _a;
11
16
  return ((_a = this._tive) !== null && _a !== void 0 ? _a : (this._tive = new Tive(this._options)));
@@ -1 +1,2 @@
1
+ export * as reelables from "./reelables/index.mjs";
1
2
  export * as tive from "./tive/index.mjs";
@@ -1 +1,2 @@
1
+ export * as reelables from "./reelables/index.mjs";
1
2
  export * as tive from "./tive/index.mjs";
@@ -0,0 +1,29 @@
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 { Assets } from "../resources/assets/client/Client.mjs";
7
+ import { Timeseries } from "../resources/timeseries/client/Client.mjs";
8
+ import { Workspaces } from "../resources/workspaces/client/Client.mjs";
9
+ export declare namespace Reelables {
10
+ interface Options {
11
+ environment?: core.Supplier<environments.ChrtEnvironment | string>;
12
+ /** Specify a custom URL to connect the client to. */
13
+ baseUrl?: core.Supplier<string>;
14
+ token?: core.Supplier<core.BearerToken | undefined>;
15
+ /** Additional headers to include in requests. */
16
+ headers?: Record<string, string | core.Supplier<string | null | undefined> | null | undefined>;
17
+ fetcher?: core.FetchFunction;
18
+ }
19
+ }
20
+ export declare class Reelables {
21
+ protected readonly _options: Reelables.Options;
22
+ protected _assets: Assets | undefined;
23
+ protected _timeseries: Timeseries | undefined;
24
+ protected _workspaces: Workspaces | undefined;
25
+ constructor(_options?: Reelables.Options);
26
+ get assets(): Assets;
27
+ get timeseries(): Timeseries;
28
+ get workspaces(): Workspaces;
29
+ }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import { Assets } from "../resources/assets/client/Client.mjs";
5
+ import { Timeseries } from "../resources/timeseries/client/Client.mjs";
6
+ import { Workspaces } from "../resources/workspaces/client/Client.mjs";
7
+ export class Reelables {
8
+ constructor(_options = {}) {
9
+ this._options = _options;
10
+ }
11
+ get assets() {
12
+ var _a;
13
+ return ((_a = this._assets) !== null && _a !== void 0 ? _a : (this._assets = new Assets(this._options)));
14
+ }
15
+ get timeseries() {
16
+ var _a;
17
+ return ((_a = this._timeseries) !== null && _a !== void 0 ? _a : (this._timeseries = new Timeseries(this._options)));
18
+ }
19
+ get workspaces() {
20
+ var _a;
21
+ return ((_a = this._workspaces) !== null && _a !== void 0 ? _a : (this._workspaces = new Workspaces(this._options)));
22
+ }
23
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.mjs";
2
+ export * from "./resources/index.mjs";
@@ -0,0 +1,2 @@
1
+ export * from "./client/index.mjs";
2
+ export * from "./resources/index.mjs";
@@ -0,0 +1,93 @@
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 Assets {
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 Assets {
31
+ protected readonly _options: Assets.Options;
32
+ constructor(_options?: Assets.Options);
33
+ /**
34
+ * Refreshes and retrieves a Reelables asset by its external ID. | authz: min_org_role=operator | () -> (ReelablesAsset1)
35
+ *
36
+ * @param {string} assetId
37
+ * @param {Assets.RequestOptions} requestOptions - Request-specific configuration.
38
+ *
39
+ * @throws {@link Chrt.UnprocessableEntityError}
40
+ *
41
+ * @example
42
+ * await client.trackingIntegrations.reelables.assets.getV1("asset_id")
43
+ */
44
+ getV1(assetId: string, requestOptions?: Assets.RequestOptions): core.HttpResponsePromise<Chrt.ReelablesAsset1>;
45
+ private __getV1;
46
+ /**
47
+ * Lists cached Reelables assets for a workspace. | authz: min_org_role=operator | () -> (ReelablesAssetListRes)
48
+ *
49
+ * @param {string} workspaceId
50
+ * @param {Chrt.trackingIntegrations.reelables.AssetsListV1Request} request
51
+ * @param {Assets.RequestOptions} requestOptions - Request-specific configuration.
52
+ *
53
+ * @throws {@link Chrt.UnprocessableEntityError}
54
+ *
55
+ * @example
56
+ * await client.trackingIntegrations.reelables.assets.listV1("workspace_id", {
57
+ * sort_by: "asset_id",
58
+ * sort_order: "asc",
59
+ * page: 1,
60
+ * page_size: 1
61
+ * })
62
+ */
63
+ listV1(workspaceId: string, request?: Chrt.trackingIntegrations.reelables.AssetsListV1Request, requestOptions?: Assets.RequestOptions): core.HttpResponsePromise<Chrt.ReelablesAssetListRes>;
64
+ private __listV1;
65
+ /**
66
+ * Synchronizes all Reelables assets for a cached workspace. | authz: min_org_role=operator | () -> (ReelablesAssetSyncRes)
67
+ *
68
+ * @param {string} workspaceId
69
+ * @param {Assets.RequestOptions} requestOptions - Request-specific configuration.
70
+ *
71
+ * @throws {@link Chrt.UnprocessableEntityError}
72
+ *
73
+ * @example
74
+ * await client.trackingIntegrations.reelables.assets.syncV1("workspace_id")
75
+ */
76
+ syncV1(workspaceId: string, requestOptions?: Assets.RequestOptions): core.HttpResponsePromise<Chrt.ReelablesAssetSyncRes>;
77
+ private __syncV1;
78
+ /**
79
+ * Updates a Reelables asset, applying name changes upstream before updating CHRT. | authz: min_org_role=operator | (ReelablesAssetClientUpdate1) -> (ReelablesAsset1)
80
+ *
81
+ * @param {string} assetId
82
+ * @param {Chrt.trackingIntegrations.reelables.ReelablesAssetClientUpdate1} request
83
+ * @param {Assets.RequestOptions} requestOptions - Request-specific configuration.
84
+ *
85
+ * @throws {@link Chrt.UnprocessableEntityError}
86
+ *
87
+ * @example
88
+ * await client.trackingIntegrations.reelables.assets.updateV1("asset_id")
89
+ */
90
+ updateV1(assetId: string, request?: Chrt.trackingIntegrations.reelables.ReelablesAssetClientUpdate1, requestOptions?: Assets.RequestOptions): core.HttpResponsePromise<Chrt.ReelablesAsset1>;
91
+ private __updateV1;
92
+ protected _getAuthorizationHeader(): Promise<string | undefined>;
93
+ }