@widgetic/api-sdk 1.0.29 → 1.0.31

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 (547) hide show
  1. package/dist/apis/AdminApi.d.ts +3 -2
  2. package/dist/apis/AdminApi.js +3 -2
  3. package/dist/apis/AgentRepositoryManagementApi.d.ts +32 -0
  4. package/dist/apis/AgentRepositoryManagementApi.js +75 -0
  5. package/dist/apis/BillingApi.d.ts +3 -3
  6. package/dist/apis/BillingApi.js +1 -1
  7. package/dist/apis/CompositionsApi.d.ts +182 -83
  8. package/dist/apis/CompositionsApi.js +368 -84
  9. package/dist/apis/CreditsApi.d.ts +6 -6
  10. package/dist/apis/EnterpriseCustomizationsApi.d.ts +87 -0
  11. package/dist/apis/EnterpriseCustomizationsApi.js +233 -0
  12. package/dist/apis/InvoicesApi.d.ts +6 -6
  13. package/dist/apis/InvoicesApi.js +2 -2
  14. package/dist/apis/ManagedUsersApi.d.ts +104 -27
  15. package/dist/apis/ManagedUsersApi.js +247 -12
  16. package/dist/apis/OperationsApi.d.ts +3 -3
  17. package/dist/apis/PartnerApi.d.ts +1230 -0
  18. package/dist/apis/PartnerApi.js +3376 -0
  19. package/dist/apis/PartnersApi.d.ts +83 -43
  20. package/dist/apis/PartnersApi.js +119 -0
  21. package/dist/apis/PublicEmbedApi.d.ts +33 -0
  22. package/dist/apis/PublicEmbedApi.js +71 -0
  23. package/dist/apis/UIComponentsApi.d.ts +96 -0
  24. package/dist/apis/UIComponentsApi.js +209 -0
  25. package/dist/apis/UploadsApi.d.ts +29 -16
  26. package/dist/apis/UploadsApi.js +40 -3
  27. package/dist/apis/UsersApi.d.ts +27 -27
  28. package/dist/apis/WidgetsApi.d.ts +33 -18
  29. package/dist/apis/WidgetsApi.js +84 -39
  30. package/dist/apis/WorkflowsApi.d.ts +44 -0
  31. package/dist/apis/WorkflowsApi.js +111 -0
  32. package/dist/apis/index.d.ts +6 -0
  33. package/dist/apis/index.js +6 -0
  34. package/dist/esm/apis/AdminApi.d.ts +3 -2
  35. package/dist/esm/apis/AdminApi.js +3 -2
  36. package/dist/esm/apis/AgentRepositoryManagementApi.d.ts +32 -0
  37. package/dist/esm/apis/AgentRepositoryManagementApi.js +71 -0
  38. package/dist/esm/apis/BillingApi.d.ts +3 -3
  39. package/dist/esm/apis/BillingApi.js +2 -2
  40. package/dist/esm/apis/CompositionsApi.d.ts +182 -83
  41. package/dist/esm/apis/CompositionsApi.js +368 -84
  42. package/dist/esm/apis/CreditsApi.d.ts +6 -6
  43. package/dist/esm/apis/EnterpriseCustomizationsApi.d.ts +87 -0
  44. package/dist/esm/apis/EnterpriseCustomizationsApi.js +229 -0
  45. package/dist/esm/apis/InvoicesApi.d.ts +6 -6
  46. package/dist/esm/apis/InvoicesApi.js +1 -1
  47. package/dist/esm/apis/ManagedUsersApi.d.ts +104 -27
  48. package/dist/esm/apis/ManagedUsersApi.js +248 -13
  49. package/dist/esm/apis/OperationsApi.d.ts +3 -3
  50. package/dist/esm/apis/PartnerApi.d.ts +1230 -0
  51. package/dist/esm/apis/PartnerApi.js +3372 -0
  52. package/dist/esm/apis/PartnersApi.d.ts +83 -43
  53. package/dist/esm/apis/PartnersApi.js +120 -1
  54. package/dist/esm/apis/PublicEmbedApi.d.ts +33 -0
  55. package/dist/esm/apis/PublicEmbedApi.js +67 -0
  56. package/dist/esm/apis/UIComponentsApi.d.ts +96 -0
  57. package/dist/esm/apis/UIComponentsApi.js +205 -0
  58. package/dist/esm/apis/UploadsApi.d.ts +29 -16
  59. package/dist/esm/apis/UploadsApi.js +40 -3
  60. package/dist/esm/apis/UsersApi.d.ts +27 -27
  61. package/dist/esm/apis/WidgetsApi.d.ts +33 -18
  62. package/dist/esm/apis/WidgetsApi.js +85 -40
  63. package/dist/esm/apis/WorkflowsApi.d.ts +44 -0
  64. package/dist/esm/apis/WorkflowsApi.js +107 -0
  65. package/dist/esm/apis/index.d.ts +6 -0
  66. package/dist/esm/apis/index.js +6 -0
  67. package/dist/esm/models/AgentRepositoriesRepoIdSyncPost202Response.d.ts +32 -0
  68. package/dist/esm/models/AgentRepositoriesRepoIdSyncPost202Response.js +41 -0
  69. package/dist/esm/models/AgentRepositoriesRepoIdSyncPostRequest.d.ts +32 -0
  70. package/dist/esm/models/AgentRepositoriesRepoIdSyncPostRequest.js +43 -0
  71. package/dist/esm/models/AgentTasksTaskIdStatusPutRequest.d.ts +54 -0
  72. package/dist/esm/models/AgentTasksTaskIdStatusPutRequest.js +60 -0
  73. package/dist/esm/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.d.ts +32 -0
  74. package/dist/esm/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.js +41 -0
  75. package/dist/esm/models/ApiV1AdminBillingGrantsPostRequest.d.ts +82 -0
  76. package/dist/esm/models/ApiV1AdminBillingGrantsPostRequest.js +79 -0
  77. package/dist/esm/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.d.ts +32 -0
  78. package/dist/esm/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.js +41 -0
  79. package/dist/esm/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +32 -0
  80. package/dist/esm/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +43 -0
  81. package/dist/esm/models/ApiV1AdminBillingRefundsPostRequest.d.ts +64 -0
  82. package/dist/esm/models/ApiV1AdminBillingRefundsPostRequest.js +60 -0
  83. package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200Response.d.ts +71 -0
  84. package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200Response.js +59 -0
  85. package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
  86. package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js +48 -0
  87. package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPostRequest.d.ts +70 -0
  88. package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPostRequest.js +62 -0
  89. package/dist/esm/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.d.ts +46 -0
  90. package/dist/esm/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.js +52 -0
  91. package/dist/esm/models/ApiV1BillingPricingGet200Response.d.ts +39 -0
  92. package/dist/esm/models/ApiV1BillingPricingGet200Response.js +44 -0
  93. package/dist/esm/models/ApiV1BillingPricingGet200ResponseData.d.ts +46 -0
  94. package/dist/esm/models/ApiV1BillingPricingGet200ResponseData.js +47 -0
  95. package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataPlansInner.d.ts +68 -0
  96. package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataPlansInner.js +53 -0
  97. package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataTrial.d.ts +44 -0
  98. package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataTrial.js +45 -0
  99. package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200Response.d.ts +39 -0
  100. package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200Response.js +44 -0
  101. package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.d.ts +33 -0
  102. package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.js +42 -0
  103. package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.d.ts +68 -0
  104. package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.js +53 -0
  105. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.d.ts +39 -0
  106. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.js +44 -0
  107. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.d.ts +32 -0
  108. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.js +41 -0
  109. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.d.ts +39 -0
  110. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.js +44 -0
  111. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.d.ts +32 -0
  112. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.js +41 -0
  113. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.d.ts +39 -0
  114. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.js +44 -0
  115. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.d.ts +32 -0
  116. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.js +41 -0
  117. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.d.ts +32 -0
  118. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.js +41 -0
  119. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.d.ts +39 -0
  120. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.js +44 -0
  121. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.d.ts +120 -0
  122. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.js +76 -0
  123. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.d.ts +39 -0
  124. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.js +44 -0
  125. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.d.ts +38 -0
  126. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.js +43 -0
  127. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.d.ts +39 -0
  128. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.js +44 -0
  129. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.d.ts +38 -0
  130. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.js +43 -0
  131. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.d.ts +53 -0
  132. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.js +58 -0
  133. package/dist/esm/models/ApiV1MetricsGet200Response.d.ts +39 -0
  134. package/dist/esm/models/ApiV1MetricsGet200Response.js +44 -0
  135. package/dist/esm/models/ApiV1MetricsGet200ResponseData.d.ts +56 -0
  136. package/dist/esm/models/ApiV1MetricsGet200ResponseData.js +50 -0
  137. package/dist/esm/models/ApiV1MetricsGet200ResponseDataErrorsValue.d.ts +44 -0
  138. package/dist/esm/models/ApiV1MetricsGet200ResponseDataErrorsValue.js +45 -0
  139. package/dist/esm/models/ApiV1MetricsGet200ResponseDataLatencyValue.d.ts +50 -0
  140. package/dist/esm/models/ApiV1MetricsGet200ResponseDataLatencyValue.js +47 -0
  141. package/dist/esm/models/ApiV1MetricsLatencyGet200Response.d.ts +41 -0
  142. package/dist/esm/models/ApiV1MetricsLatencyGet200Response.js +45 -0
  143. package/dist/esm/models/ApiV1MetricsLatencyGet200ResponseDataValue.d.ts +62 -0
  144. package/dist/esm/models/ApiV1MetricsLatencyGet200ResponseDataValue.js +51 -0
  145. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.d.ts +71 -0
  146. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.js +59 -0
  147. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
  148. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js +48 -0
  149. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.d.ts +38 -0
  150. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js +43 -0
  151. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.d.ts +44 -0
  152. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.js +45 -0
  153. package/dist/esm/models/CancelCurrentSubscription200Response.d.ts +45 -0
  154. package/dist/esm/models/CancelCurrentSubscription200Response.js +46 -0
  155. package/dist/esm/models/CancelCurrentSubscriptionRequest.d.ts +44 -0
  156. package/dist/esm/models/CancelCurrentSubscriptionRequest.js +45 -0
  157. package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.d.ts +38 -0
  158. package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.js +43 -0
  159. package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.d.ts +38 -0
  160. package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.js +47 -0
  161. package/dist/esm/models/ComponentManifest.d.ts +52 -0
  162. package/dist/esm/models/ComponentManifest.js +49 -0
  163. package/dist/esm/models/ComponentManifestAssets.d.ts +38 -0
  164. package/dist/esm/models/ComponentManifestAssets.js +43 -0
  165. package/dist/esm/models/ComponentManifestConfig.d.ts +44 -0
  166. package/dist/esm/models/ComponentManifestConfig.js +45 -0
  167. package/dist/esm/models/Composition.d.ts +6 -0
  168. package/dist/esm/models/Composition.js +2 -0
  169. package/dist/esm/models/CompositionEntryAggregateTally.d.ts +62 -0
  170. package/dist/esm/models/CompositionEntryAggregateTally.js +51 -0
  171. package/dist/esm/models/CompositionEntryAggregatesBlock.d.ts +45 -0
  172. package/dist/esm/models/CompositionEntryAggregatesBlock.js +50 -0
  173. package/dist/esm/models/CompositionEntryDeleteSuccess.d.ts +39 -0
  174. package/dist/esm/models/CompositionEntryDeleteSuccess.js +48 -0
  175. package/dist/esm/models/CompositionEntryDeleteSuccessData.d.ts +32 -0
  176. package/dist/esm/models/CompositionEntryDeleteSuccessData.js +43 -0
  177. package/dist/esm/models/CompositionEntryItem.d.ts +60 -0
  178. package/dist/esm/models/CompositionEntryItem.js +57 -0
  179. package/dist/esm/models/CompositionEntryItemsMeta.d.ts +51 -0
  180. package/dist/esm/models/CompositionEntryItemsMeta.js +55 -0
  181. package/dist/esm/models/CompositionEntryItemsPageSuccess.d.ts +46 -0
  182. package/dist/esm/models/CompositionEntryItemsPageSuccess.js +53 -0
  183. package/dist/esm/models/CreateCanvasRequest.d.ts +6 -0
  184. package/dist/esm/models/CreateCanvasRequest.js +2 -0
  185. package/dist/esm/models/CreateCheckoutSession200Response.d.ts +38 -0
  186. package/dist/esm/models/CreateCheckoutSession200Response.js +43 -0
  187. package/dist/esm/models/CreateCheckoutSessionRequest.d.ts +32 -0
  188. package/dist/esm/models/CreateCheckoutSessionRequest.js +43 -0
  189. package/dist/esm/models/CreateCompositionContentItemRequest.d.ts +33 -0
  190. package/dist/esm/models/CreateCompositionContentItemRequest.js +37 -0
  191. package/dist/esm/models/CreateCompositionFromPresetRequest.d.ts +56 -0
  192. package/dist/esm/models/CreateCompositionFromPresetRequest.js +51 -0
  193. package/dist/esm/models/CreateCompositionFromWidget201Response.d.ts +39 -0
  194. package/dist/esm/models/CreateCompositionFromWidget201Response.js +44 -0
  195. package/dist/esm/models/CreateCompositionFromWidgetRequest.d.ts +62 -0
  196. package/dist/esm/models/CreateCompositionFromWidgetRequest.js +53 -0
  197. package/dist/esm/models/DeleteCompositionContentItem200Response.d.ts +38 -0
  198. package/dist/esm/models/DeleteCompositionContentItem200Response.js +43 -0
  199. package/dist/esm/models/DevelopmentPlan.d.ts +97 -0
  200. package/dist/esm/models/DevelopmentPlan.js +69 -0
  201. package/dist/esm/models/DevelopmentTask.d.ts +90 -0
  202. package/dist/esm/models/DevelopmentTask.js +66 -0
  203. package/dist/esm/models/EnterpriseCustomization.d.ts +125 -0
  204. package/dist/esm/models/EnterpriseCustomization.js +77 -0
  205. package/dist/esm/models/ExportCompositionEntryItems200Response.d.ts +46 -0
  206. package/dist/esm/models/ExportCompositionEntryItems200Response.js +53 -0
  207. package/dist/esm/models/ExportCompositionEntryItems200ResponseMeta.d.ts +38 -0
  208. package/dist/esm/models/ExportCompositionEntryItems200ResponseMeta.js +47 -0
  209. package/dist/esm/models/GenerateComponentWorkflowInput.d.ts +56 -0
  210. package/dist/esm/models/GenerateComponentWorkflowInput.js +55 -0
  211. package/dist/esm/models/GenerateMixedComponentInput.d.ts +62 -0
  212. package/dist/esm/models/GenerateMixedComponentInput.js +59 -0
  213. package/dist/esm/models/GetCompositionContentSchema200Response.d.ts +2 -2
  214. package/dist/esm/models/GetManagedUserLimits200Response.d.ts +39 -0
  215. package/dist/esm/models/GetManagedUserLimits200Response.js +44 -0
  216. package/dist/esm/models/GetManagedUserLimits200ResponseData.d.ts +50 -0
  217. package/dist/esm/models/GetManagedUserLimits200ResponseData.js +55 -0
  218. package/dist/esm/models/GetManagedUserStorageUsage200Response.d.ts +39 -0
  219. package/dist/esm/models/GetManagedUserStorageUsage200Response.js +44 -0
  220. package/dist/esm/models/GetManagedUserStorageUsage200ResponseData.d.ts +45 -0
  221. package/dist/esm/models/GetManagedUserStorageUsage200ResponseData.js +52 -0
  222. package/dist/esm/models/GetManagedUserStorageUsage200ResponseDataByPurpose.d.ts +51 -0
  223. package/dist/esm/models/GetManagedUserStorageUsage200ResponseDataByPurpose.js +48 -0
  224. package/dist/esm/models/GetOrganizationStorageUsage200ResponseDataBreakdown.d.ts +44 -0
  225. package/dist/esm/models/GetOrganizationStorageUsage200ResponseDataBreakdown.js +45 -0
  226. package/dist/esm/models/GetPartnerDesignDefaults200Response.d.ts +39 -0
  227. package/dist/esm/models/GetPartnerDesignDefaults200Response.js +44 -0
  228. package/dist/esm/models/GetPartnerDesignDefaults200ResponseData.d.ts +32 -0
  229. package/dist/esm/models/GetPartnerDesignDefaults200ResponseData.js +41 -0
  230. package/dist/esm/models/ListComponents200Response.d.ts +33 -0
  231. package/dist/esm/models/ListComponents200Response.js +42 -0
  232. package/dist/esm/models/ListEnterpriseCustomizations200Response.d.ts +40 -0
  233. package/dist/esm/models/ListEnterpriseCustomizations200Response.js +45 -0
  234. package/dist/esm/models/ListEnterpriseCustomizations200ResponsePagination.d.ts +50 -0
  235. package/dist/esm/models/ListEnterpriseCustomizations200ResponsePagination.js +47 -0
  236. package/dist/esm/models/ManagedUserEntriesMeta.d.ts +56 -0
  237. package/dist/esm/models/ManagedUserEntriesMeta.js +57 -0
  238. package/dist/esm/models/ManagedUserEntriesPageSuccess.d.ts +46 -0
  239. package/dist/esm/models/ManagedUserEntriesPageSuccess.js +53 -0
  240. package/dist/esm/models/ManagedUserEntryItem.d.ts +72 -0
  241. package/dist/esm/models/ManagedUserEntryItem.js +65 -0
  242. package/dist/esm/models/MountRequest.d.ts +45 -0
  243. package/dist/esm/models/MountRequest.js +48 -0
  244. package/dist/esm/models/MountRequestTheme.d.ts +54 -0
  245. package/dist/esm/models/MountRequestTheme.js +54 -0
  246. package/dist/esm/models/MountRequestThemeColors.d.ts +50 -0
  247. package/dist/esm/models/MountRequestThemeColors.js +47 -0
  248. package/dist/esm/models/MountRequestThemeTypography.d.ts +38 -0
  249. package/dist/esm/models/MountRequestThemeTypography.js +43 -0
  250. package/dist/esm/models/MountResponse.d.ts +46 -0
  251. package/dist/esm/models/MountResponse.js +50 -0
  252. package/dist/esm/models/NewWidgetComponentsMetadataInner.d.ts +64 -0
  253. package/dist/esm/models/NewWidgetComponentsMetadataInner.js +53 -0
  254. package/dist/esm/models/NewWidgetComponentsMetadataInnerPosition.d.ts +38 -0
  255. package/dist/esm/models/NewWidgetComponentsMetadataInnerPosition.js +43 -0
  256. package/dist/esm/models/NewWidgetComponentsMetadataInnerSize.d.ts +38 -0
  257. package/dist/esm/models/NewWidgetComponentsMetadataInnerSize.js +43 -0
  258. package/dist/esm/models/PartnerNotification.d.ts +1 -1
  259. package/dist/esm/models/PartnerNotificationDelivery.d.ts +6 -0
  260. package/dist/esm/models/PartnerNotificationDelivery.js +4 -0
  261. package/dist/esm/models/PartnerNotificationEvent.d.ts +15 -0
  262. package/dist/esm/models/PartnerNotificationEvent.js +13 -1
  263. package/dist/esm/models/PartnerNotificationEventType.d.ts +4 -0
  264. package/dist/esm/models/PartnerNotificationEventType.js +5 -1
  265. package/dist/esm/models/PublicCompositionEntryCreated.d.ts +39 -0
  266. package/dist/esm/models/PublicCompositionEntryCreated.js +48 -0
  267. package/dist/esm/models/PublicCompositionEntryCreatedData.d.ts +44 -0
  268. package/dist/esm/models/PublicCompositionEntryCreatedData.js +51 -0
  269. package/dist/esm/models/PublicCompositionEntryRequest.d.ts +40 -0
  270. package/dist/esm/models/PublicCompositionEntryRequest.js +45 -0
  271. package/dist/esm/models/PurchaseStoragePack200ResponseDataPaymentIntent.d.ts +50 -0
  272. package/dist/esm/models/PurchaseStoragePack200ResponseDataPaymentIntent.js +47 -0
  273. package/dist/esm/models/PurposeStorageBucket.d.ts +38 -0
  274. package/dist/esm/models/PurposeStorageBucket.js +47 -0
  275. package/dist/esm/models/RollbackComponentRequest.d.ts +38 -0
  276. package/dist/esm/models/RollbackComponentRequest.js +45 -0
  277. package/dist/esm/models/SetCompositionDataSourceRequest.d.ts +38 -0
  278. package/dist/esm/models/SetCompositionDataSourceRequest.js +47 -0
  279. package/dist/esm/models/SetDynamicContent200Response.d.ts +6 -0
  280. package/dist/esm/models/SetDynamicContent200Response.js +2 -0
  281. package/dist/esm/models/SetManagedUserLimitsRequest.d.ts +32 -0
  282. package/dist/esm/models/SetManagedUserLimitsRequest.js +43 -0
  283. package/dist/esm/models/SetPartnerDesignDefaultsRequest.d.ts +32 -0
  284. package/dist/esm/models/SetPartnerDesignDefaultsRequest.js +43 -0
  285. package/dist/esm/models/UIComponent.d.ts +65 -0
  286. package/dist/esm/models/UIComponent.js +57 -0
  287. package/dist/esm/models/UpdateCompositionRequest.d.ts +38 -0
  288. package/dist/esm/models/UpdateCompositionRequest.js +43 -0
  289. package/dist/esm/models/UpdateCurrentSubscriptionRequest.d.ts +38 -0
  290. package/dist/esm/models/UpdateCurrentSubscriptionRequest.js +43 -0
  291. package/dist/esm/models/UpdateEnterpriseCustomizationRequest.d.ts +95 -0
  292. package/dist/esm/models/UpdateEnterpriseCustomizationRequest.js +67 -0
  293. package/dist/esm/models/Upload.d.ts +15 -0
  294. package/dist/esm/models/Upload.js +10 -0
  295. package/dist/esm/models/UploadsIdDelete200Response.d.ts +39 -0
  296. package/dist/esm/models/UploadsIdDelete200Response.js +44 -0
  297. package/dist/esm/models/UploadsIdDelete200ResponseData.d.ts +32 -0
  298. package/dist/esm/models/UploadsIdDelete200ResponseData.js +41 -0
  299. package/dist/esm/models/WorkflowAcceptedResponse.d.ts +38 -0
  300. package/dist/esm/models/WorkflowAcceptedResponse.js +43 -0
  301. package/dist/esm/models/index.d.ts +109 -2
  302. package/dist/esm/models/index.js +109 -2
  303. package/dist/models/AgentRepositoriesRepoIdSyncPost202Response.d.ts +32 -0
  304. package/dist/models/AgentRepositoriesRepoIdSyncPost202Response.js +48 -0
  305. package/dist/models/AgentRepositoriesRepoIdSyncPostRequest.d.ts +32 -0
  306. package/dist/models/AgentRepositoriesRepoIdSyncPostRequest.js +50 -0
  307. package/dist/models/AgentTasksTaskIdStatusPutRequest.d.ts +54 -0
  308. package/dist/models/AgentTasksTaskIdStatusPutRequest.js +68 -0
  309. package/dist/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.d.ts +32 -0
  310. package/dist/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.js +48 -0
  311. package/dist/models/ApiV1AdminBillingGrantsPostRequest.d.ts +82 -0
  312. package/dist/models/ApiV1AdminBillingGrantsPostRequest.js +87 -0
  313. package/dist/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.d.ts +32 -0
  314. package/dist/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.js +48 -0
  315. package/dist/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +32 -0
  316. package/dist/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +50 -0
  317. package/dist/models/ApiV1AdminBillingRefundsPostRequest.d.ts +64 -0
  318. package/dist/models/ApiV1AdminBillingRefundsPostRequest.js +68 -0
  319. package/dist/models/ApiV1AdminBillingRefundsPreviewPost200Response.d.ts +71 -0
  320. package/dist/models/ApiV1AdminBillingRefundsPreviewPost200Response.js +67 -0
  321. package/dist/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
  322. package/dist/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js +55 -0
  323. package/dist/models/ApiV1AdminBillingRefundsPreviewPostRequest.d.ts +70 -0
  324. package/dist/models/ApiV1AdminBillingRefundsPreviewPostRequest.js +70 -0
  325. package/dist/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.d.ts +46 -0
  326. package/dist/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.js +60 -0
  327. package/dist/models/ApiV1BillingPricingGet200Response.d.ts +39 -0
  328. package/dist/models/ApiV1BillingPricingGet200Response.js +51 -0
  329. package/dist/models/ApiV1BillingPricingGet200ResponseData.d.ts +46 -0
  330. package/dist/models/ApiV1BillingPricingGet200ResponseData.js +54 -0
  331. package/dist/models/ApiV1BillingPricingGet200ResponseDataPlansInner.d.ts +68 -0
  332. package/dist/models/ApiV1BillingPricingGet200ResponseDataPlansInner.js +60 -0
  333. package/dist/models/ApiV1BillingPricingGet200ResponseDataTrial.d.ts +44 -0
  334. package/dist/models/ApiV1BillingPricingGet200ResponseDataTrial.js +52 -0
  335. package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200Response.d.ts +39 -0
  336. package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200Response.js +51 -0
  337. package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.d.ts +33 -0
  338. package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.js +49 -0
  339. package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.d.ts +68 -0
  340. package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.js +60 -0
  341. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.d.ts +39 -0
  342. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.js +51 -0
  343. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.d.ts +32 -0
  344. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.js +48 -0
  345. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.d.ts +39 -0
  346. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.js +51 -0
  347. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.d.ts +32 -0
  348. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.js +48 -0
  349. package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.d.ts +39 -0
  350. package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.js +51 -0
  351. package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.d.ts +32 -0
  352. package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.js +48 -0
  353. package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.d.ts +32 -0
  354. package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.js +48 -0
  355. package/dist/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.d.ts +39 -0
  356. package/dist/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.js +51 -0
  357. package/dist/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.d.ts +120 -0
  358. package/dist/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.js +84 -0
  359. package/dist/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.d.ts +39 -0
  360. package/dist/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.js +51 -0
  361. package/dist/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.d.ts +38 -0
  362. package/dist/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.js +50 -0
  363. package/dist/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.d.ts +39 -0
  364. package/dist/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.js +51 -0
  365. package/dist/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.d.ts +38 -0
  366. package/dist/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.js +50 -0
  367. package/dist/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.d.ts +53 -0
  368. package/dist/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.js +66 -0
  369. package/dist/models/ApiV1MetricsGet200Response.d.ts +39 -0
  370. package/dist/models/ApiV1MetricsGet200Response.js +51 -0
  371. package/dist/models/ApiV1MetricsGet200ResponseData.d.ts +56 -0
  372. package/dist/models/ApiV1MetricsGet200ResponseData.js +57 -0
  373. package/dist/models/ApiV1MetricsGet200ResponseDataErrorsValue.d.ts +44 -0
  374. package/dist/models/ApiV1MetricsGet200ResponseDataErrorsValue.js +52 -0
  375. package/dist/models/ApiV1MetricsGet200ResponseDataLatencyValue.d.ts +50 -0
  376. package/dist/models/ApiV1MetricsGet200ResponseDataLatencyValue.js +54 -0
  377. package/dist/models/ApiV1MetricsLatencyGet200Response.d.ts +41 -0
  378. package/dist/models/ApiV1MetricsLatencyGet200Response.js +52 -0
  379. package/dist/models/ApiV1MetricsLatencyGet200ResponseDataValue.d.ts +62 -0
  380. package/dist/models/ApiV1MetricsLatencyGet200ResponseDataValue.js +58 -0
  381. package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.d.ts +71 -0
  382. package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.js +67 -0
  383. package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
  384. package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js +55 -0
  385. package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.d.ts +38 -0
  386. package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js +50 -0
  387. package/dist/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.d.ts +44 -0
  388. package/dist/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.js +52 -0
  389. package/dist/models/CancelCurrentSubscription200Response.d.ts +45 -0
  390. package/dist/models/CancelCurrentSubscription200Response.js +53 -0
  391. package/dist/models/CancelCurrentSubscriptionRequest.d.ts +44 -0
  392. package/dist/models/CancelCurrentSubscriptionRequest.js +52 -0
  393. package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.d.ts +38 -0
  394. package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.js +50 -0
  395. package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.d.ts +38 -0
  396. package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.js +54 -0
  397. package/dist/models/ComponentManifest.d.ts +52 -0
  398. package/dist/models/ComponentManifest.js +56 -0
  399. package/dist/models/ComponentManifestAssets.d.ts +38 -0
  400. package/dist/models/ComponentManifestAssets.js +50 -0
  401. package/dist/models/ComponentManifestConfig.d.ts +44 -0
  402. package/dist/models/ComponentManifestConfig.js +52 -0
  403. package/dist/models/Composition.d.ts +6 -0
  404. package/dist/models/Composition.js +2 -0
  405. package/dist/models/CompositionEntryAggregateTally.d.ts +62 -0
  406. package/dist/models/CompositionEntryAggregateTally.js +58 -0
  407. package/dist/models/CompositionEntryAggregatesBlock.d.ts +45 -0
  408. package/dist/models/CompositionEntryAggregatesBlock.js +57 -0
  409. package/dist/models/CompositionEntryDeleteSuccess.d.ts +39 -0
  410. package/dist/models/CompositionEntryDeleteSuccess.js +55 -0
  411. package/dist/models/CompositionEntryDeleteSuccessData.d.ts +32 -0
  412. package/dist/models/CompositionEntryDeleteSuccessData.js +50 -0
  413. package/dist/models/CompositionEntryItem.d.ts +60 -0
  414. package/dist/models/CompositionEntryItem.js +64 -0
  415. package/dist/models/CompositionEntryItemsMeta.d.ts +51 -0
  416. package/dist/models/CompositionEntryItemsMeta.js +63 -0
  417. package/dist/models/CompositionEntryItemsPageSuccess.d.ts +46 -0
  418. package/dist/models/CompositionEntryItemsPageSuccess.js +60 -0
  419. package/dist/models/CreateCanvasRequest.d.ts +6 -0
  420. package/dist/models/CreateCanvasRequest.js +2 -0
  421. package/dist/models/CreateCheckoutSession200Response.d.ts +38 -0
  422. package/dist/models/CreateCheckoutSession200Response.js +50 -0
  423. package/dist/models/CreateCheckoutSessionRequest.d.ts +32 -0
  424. package/dist/models/CreateCheckoutSessionRequest.js +50 -0
  425. package/dist/models/CreateCompositionContentItemRequest.d.ts +33 -0
  426. package/dist/models/CreateCompositionContentItemRequest.js +44 -0
  427. package/dist/models/CreateCompositionFromPresetRequest.d.ts +56 -0
  428. package/dist/models/CreateCompositionFromPresetRequest.js +58 -0
  429. package/dist/models/CreateCompositionFromWidget201Response.d.ts +39 -0
  430. package/dist/models/CreateCompositionFromWidget201Response.js +51 -0
  431. package/dist/models/CreateCompositionFromWidgetRequest.d.ts +62 -0
  432. package/dist/models/CreateCompositionFromWidgetRequest.js +60 -0
  433. package/dist/models/DeleteCompositionContentItem200Response.d.ts +38 -0
  434. package/dist/models/DeleteCompositionContentItem200Response.js +50 -0
  435. package/dist/models/DevelopmentPlan.d.ts +97 -0
  436. package/dist/models/DevelopmentPlan.js +77 -0
  437. package/dist/models/DevelopmentTask.d.ts +90 -0
  438. package/dist/models/DevelopmentTask.js +74 -0
  439. package/dist/models/EnterpriseCustomization.d.ts +125 -0
  440. package/dist/models/EnterpriseCustomization.js +85 -0
  441. package/dist/models/ExportCompositionEntryItems200Response.d.ts +46 -0
  442. package/dist/models/ExportCompositionEntryItems200Response.js +60 -0
  443. package/dist/models/ExportCompositionEntryItems200ResponseMeta.d.ts +38 -0
  444. package/dist/models/ExportCompositionEntryItems200ResponseMeta.js +54 -0
  445. package/dist/models/GenerateComponentWorkflowInput.d.ts +56 -0
  446. package/dist/models/GenerateComponentWorkflowInput.js +62 -0
  447. package/dist/models/GenerateMixedComponentInput.d.ts +62 -0
  448. package/dist/models/GenerateMixedComponentInput.js +66 -0
  449. package/dist/models/GetCompositionContentSchema200Response.d.ts +2 -2
  450. package/dist/models/GetManagedUserLimits200Response.d.ts +39 -0
  451. package/dist/models/GetManagedUserLimits200Response.js +51 -0
  452. package/dist/models/GetManagedUserLimits200ResponseData.d.ts +50 -0
  453. package/dist/models/GetManagedUserLimits200ResponseData.js +62 -0
  454. package/dist/models/GetManagedUserStorageUsage200Response.d.ts +39 -0
  455. package/dist/models/GetManagedUserStorageUsage200Response.js +51 -0
  456. package/dist/models/GetManagedUserStorageUsage200ResponseData.d.ts +45 -0
  457. package/dist/models/GetManagedUserStorageUsage200ResponseData.js +59 -0
  458. package/dist/models/GetManagedUserStorageUsage200ResponseDataByPurpose.d.ts +51 -0
  459. package/dist/models/GetManagedUserStorageUsage200ResponseDataByPurpose.js +55 -0
  460. package/dist/models/GetOrganizationStorageUsage200ResponseDataBreakdown.d.ts +44 -0
  461. package/dist/models/GetOrganizationStorageUsage200ResponseDataBreakdown.js +52 -0
  462. package/dist/models/GetPartnerDesignDefaults200Response.d.ts +39 -0
  463. package/dist/models/GetPartnerDesignDefaults200Response.js +51 -0
  464. package/dist/models/GetPartnerDesignDefaults200ResponseData.d.ts +32 -0
  465. package/dist/models/GetPartnerDesignDefaults200ResponseData.js +48 -0
  466. package/dist/models/ListComponents200Response.d.ts +33 -0
  467. package/dist/models/ListComponents200Response.js +49 -0
  468. package/dist/models/ListEnterpriseCustomizations200Response.d.ts +40 -0
  469. package/dist/models/ListEnterpriseCustomizations200Response.js +52 -0
  470. package/dist/models/ListEnterpriseCustomizations200ResponsePagination.d.ts +50 -0
  471. package/dist/models/ListEnterpriseCustomizations200ResponsePagination.js +54 -0
  472. package/dist/models/ManagedUserEntriesMeta.d.ts +56 -0
  473. package/dist/models/ManagedUserEntriesMeta.js +64 -0
  474. package/dist/models/ManagedUserEntriesPageSuccess.d.ts +46 -0
  475. package/dist/models/ManagedUserEntriesPageSuccess.js +60 -0
  476. package/dist/models/ManagedUserEntryItem.d.ts +72 -0
  477. package/dist/models/ManagedUserEntryItem.js +72 -0
  478. package/dist/models/MountRequest.d.ts +45 -0
  479. package/dist/models/MountRequest.js +55 -0
  480. package/dist/models/MountRequestTheme.d.ts +54 -0
  481. package/dist/models/MountRequestTheme.js +62 -0
  482. package/dist/models/MountRequestThemeColors.d.ts +50 -0
  483. package/dist/models/MountRequestThemeColors.js +54 -0
  484. package/dist/models/MountRequestThemeTypography.d.ts +38 -0
  485. package/dist/models/MountRequestThemeTypography.js +50 -0
  486. package/dist/models/MountResponse.d.ts +46 -0
  487. package/dist/models/MountResponse.js +58 -0
  488. package/dist/models/NewWidgetComponentsMetadataInner.d.ts +64 -0
  489. package/dist/models/NewWidgetComponentsMetadataInner.js +60 -0
  490. package/dist/models/NewWidgetComponentsMetadataInnerPosition.d.ts +38 -0
  491. package/dist/models/NewWidgetComponentsMetadataInnerPosition.js +50 -0
  492. package/dist/models/NewWidgetComponentsMetadataInnerSize.d.ts +38 -0
  493. package/dist/models/NewWidgetComponentsMetadataInnerSize.js +50 -0
  494. package/dist/models/PartnerNotification.d.ts +1 -1
  495. package/dist/models/PartnerNotificationDelivery.d.ts +6 -0
  496. package/dist/models/PartnerNotificationDelivery.js +4 -0
  497. package/dist/models/PartnerNotificationEvent.d.ts +15 -0
  498. package/dist/models/PartnerNotificationEvent.js +14 -2
  499. package/dist/models/PartnerNotificationEventType.d.ts +4 -0
  500. package/dist/models/PartnerNotificationEventType.js +5 -1
  501. package/dist/models/PublicCompositionEntryCreated.d.ts +39 -0
  502. package/dist/models/PublicCompositionEntryCreated.js +55 -0
  503. package/dist/models/PublicCompositionEntryCreatedData.d.ts +44 -0
  504. package/dist/models/PublicCompositionEntryCreatedData.js +58 -0
  505. package/dist/models/PublicCompositionEntryRequest.d.ts +40 -0
  506. package/dist/models/PublicCompositionEntryRequest.js +52 -0
  507. package/dist/models/PurchaseStoragePack200ResponseDataPaymentIntent.d.ts +50 -0
  508. package/dist/models/PurchaseStoragePack200ResponseDataPaymentIntent.js +54 -0
  509. package/dist/models/PurposeStorageBucket.d.ts +38 -0
  510. package/dist/models/PurposeStorageBucket.js +54 -0
  511. package/dist/models/RollbackComponentRequest.d.ts +38 -0
  512. package/dist/models/RollbackComponentRequest.js +52 -0
  513. package/dist/models/SetCompositionDataSourceRequest.d.ts +38 -0
  514. package/dist/models/SetCompositionDataSourceRequest.js +54 -0
  515. package/dist/models/SetDynamicContent200Response.d.ts +6 -0
  516. package/dist/models/SetDynamicContent200Response.js +2 -0
  517. package/dist/models/SetManagedUserLimitsRequest.d.ts +32 -0
  518. package/dist/models/SetManagedUserLimitsRequest.js +50 -0
  519. package/dist/models/SetPartnerDesignDefaultsRequest.d.ts +32 -0
  520. package/dist/models/SetPartnerDesignDefaultsRequest.js +50 -0
  521. package/dist/models/UIComponent.d.ts +65 -0
  522. package/dist/models/UIComponent.js +65 -0
  523. package/dist/models/UpdateCompositionRequest.d.ts +38 -0
  524. package/dist/models/UpdateCompositionRequest.js +50 -0
  525. package/dist/models/UpdateCurrentSubscriptionRequest.d.ts +38 -0
  526. package/dist/models/UpdateCurrentSubscriptionRequest.js +50 -0
  527. package/dist/models/UpdateEnterpriseCustomizationRequest.d.ts +95 -0
  528. package/dist/models/UpdateEnterpriseCustomizationRequest.js +75 -0
  529. package/dist/models/Upload.d.ts +15 -0
  530. package/dist/models/Upload.js +11 -1
  531. package/dist/models/UploadsIdDelete200Response.d.ts +39 -0
  532. package/dist/models/UploadsIdDelete200Response.js +51 -0
  533. package/dist/models/UploadsIdDelete200ResponseData.d.ts +32 -0
  534. package/dist/models/UploadsIdDelete200ResponseData.js +48 -0
  535. package/dist/models/WorkflowAcceptedResponse.d.ts +38 -0
  536. package/dist/models/WorkflowAcceptedResponse.js +50 -0
  537. package/dist/models/index.d.ts +109 -2
  538. package/dist/models/index.js +109 -2
  539. package/package.json +1 -1
  540. package/dist/esm/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.d.ts +0 -39
  541. package/dist/esm/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.js +0 -44
  542. package/dist/esm/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.d.ts +0 -32
  543. package/dist/esm/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.js +0 -41
  544. package/dist/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.d.ts +0 -39
  545. package/dist/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.js +0 -51
  546. package/dist/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.d.ts +0 -32
  547. package/dist/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.js +0 -48
@@ -0,0 +1,96 @@
1
+ /**
2
+ * Widgetic API Gateway
3
+ * API documentation for the Widgetic API Gateway
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import * as runtime from '../runtime';
13
+ import type { ComponentManifest, ListComponents200Response, MountRequest, MountResponse } from '../models/index';
14
+ export interface GetComponentManifestRequest {
15
+ componentId: GetComponentManifestComponentIdEnum;
16
+ }
17
+ export interface MountComponentRequest {
18
+ componentId: MountComponentComponentIdEnum;
19
+ mountRequest: MountRequest;
20
+ }
21
+ export interface UnmountComponentRequest {
22
+ componentId: UnmountComponentComponentIdEnum;
23
+ instanceId: string;
24
+ }
25
+ /**
26
+ *
27
+ */
28
+ export declare class UIComponentsApi extends runtime.BaseAPI {
29
+ /**
30
+ * Get component manifest with configuration and dependencies
31
+ * Get Component Manifest
32
+ */
33
+ getComponentManifestRaw(requestParameters: GetComponentManifestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ComponentManifest>>;
34
+ /**
35
+ * Get component manifest with configuration and dependencies
36
+ * Get Component Manifest
37
+ */
38
+ getComponentManifest(requestParameters: GetComponentManifestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ComponentManifest>;
39
+ /**
40
+ * List available UI components for partner
41
+ * List UI Components
42
+ */
43
+ listComponentsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListComponents200Response>>;
44
+ /**
45
+ * List available UI components for partner
46
+ * List UI Components
47
+ */
48
+ listComponents(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListComponents200Response>;
49
+ /**
50
+ * Initialize and mount a UI component
51
+ * Mount Component
52
+ */
53
+ mountComponentRaw(requestParameters: MountComponentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MountResponse>>;
54
+ /**
55
+ * Initialize and mount a UI component
56
+ * Mount Component
57
+ */
58
+ mountComponent(requestParameters: MountComponentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MountResponse>;
59
+ /**
60
+ * Cleanup and unmount a UI component instance
61
+ * Unmount Component
62
+ */
63
+ unmountComponentRaw(requestParameters: UnmountComponentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
64
+ /**
65
+ * Cleanup and unmount a UI component instance
66
+ * Unmount Component
67
+ */
68
+ unmountComponent(requestParameters: UnmountComponentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
69
+ }
70
+ /**
71
+ * @export
72
+ */
73
+ export declare const GetComponentManifestComponentIdEnum: {
74
+ readonly WidgetCreator: "widget-creator";
75
+ readonly CompositionEditor: "composition-editor";
76
+ readonly EmbedEditor: "embed-editor";
77
+ };
78
+ export type GetComponentManifestComponentIdEnum = typeof GetComponentManifestComponentIdEnum[keyof typeof GetComponentManifestComponentIdEnum];
79
+ /**
80
+ * @export
81
+ */
82
+ export declare const MountComponentComponentIdEnum: {
83
+ readonly WidgetCreator: "widget-creator";
84
+ readonly CompositionEditor: "composition-editor";
85
+ readonly EmbedEditor: "embed-editor";
86
+ };
87
+ export type MountComponentComponentIdEnum = typeof MountComponentComponentIdEnum[keyof typeof MountComponentComponentIdEnum];
88
+ /**
89
+ * @export
90
+ */
91
+ export declare const UnmountComponentComponentIdEnum: {
92
+ readonly WidgetCreator: "widget-creator";
93
+ readonly CompositionEditor: "composition-editor";
94
+ readonly EmbedEditor: "embed-editor";
95
+ };
96
+ export type UnmountComponentComponentIdEnum = typeof UnmountComponentComponentIdEnum[keyof typeof UnmountComponentComponentIdEnum];
@@ -0,0 +1,209 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Widgetic API Gateway
6
+ * API documentation for the Widgetic API Gateway
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17
+ return new (P || (P = Promise))(function (resolve, reject) {
18
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
19
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
20
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
21
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
22
+ });
23
+ };
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.UnmountComponentComponentIdEnum = exports.MountComponentComponentIdEnum = exports.GetComponentManifestComponentIdEnum = exports.UIComponentsApi = void 0;
26
+ const runtime = require("../runtime");
27
+ const index_1 = require("../models/index");
28
+ /**
29
+ *
30
+ */
31
+ class UIComponentsApi extends runtime.BaseAPI {
32
+ /**
33
+ * Get component manifest with configuration and dependencies
34
+ * Get Component Manifest
35
+ */
36
+ getComponentManifestRaw(requestParameters, initOverrides) {
37
+ return __awaiter(this, void 0, void 0, function* () {
38
+ if (requestParameters['componentId'] == null) {
39
+ throw new runtime.RequiredError('componentId', 'Required parameter "componentId" was null or undefined when calling getComponentManifest().');
40
+ }
41
+ const queryParameters = {};
42
+ const headerParameters = {};
43
+ if (this.configuration && this.configuration.accessToken) {
44
+ const token = this.configuration.accessToken;
45
+ const tokenString = yield token("apiKeyAuth", []);
46
+ if (tokenString) {
47
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
48
+ }
49
+ }
50
+ const response = yield this.request({
51
+ path: `/ui/components/{componentId}/manifest`.replace(`{${"componentId"}}`, encodeURIComponent(String(requestParameters['componentId']))),
52
+ method: 'GET',
53
+ headers: headerParameters,
54
+ query: queryParameters,
55
+ }, initOverrides);
56
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ComponentManifestFromJSON)(jsonValue));
57
+ });
58
+ }
59
+ /**
60
+ * Get component manifest with configuration and dependencies
61
+ * Get Component Manifest
62
+ */
63
+ getComponentManifest(requestParameters, initOverrides) {
64
+ return __awaiter(this, void 0, void 0, function* () {
65
+ const response = yield this.getComponentManifestRaw(requestParameters, initOverrides);
66
+ return yield response.value();
67
+ });
68
+ }
69
+ /**
70
+ * List available UI components for partner
71
+ * List UI Components
72
+ */
73
+ listComponentsRaw(initOverrides) {
74
+ return __awaiter(this, void 0, void 0, function* () {
75
+ const queryParameters = {};
76
+ const headerParameters = {};
77
+ if (this.configuration && this.configuration.accessToken) {
78
+ const token = this.configuration.accessToken;
79
+ const tokenString = yield token("apiKeyAuth", []);
80
+ if (tokenString) {
81
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
82
+ }
83
+ }
84
+ const response = yield this.request({
85
+ path: `/ui/components`,
86
+ method: 'GET',
87
+ headers: headerParameters,
88
+ query: queryParameters,
89
+ }, initOverrides);
90
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ListComponents200ResponseFromJSON)(jsonValue));
91
+ });
92
+ }
93
+ /**
94
+ * List available UI components for partner
95
+ * List UI Components
96
+ */
97
+ listComponents(initOverrides) {
98
+ return __awaiter(this, void 0, void 0, function* () {
99
+ const response = yield this.listComponentsRaw(initOverrides);
100
+ return yield response.value();
101
+ });
102
+ }
103
+ /**
104
+ * Initialize and mount a UI component
105
+ * Mount Component
106
+ */
107
+ mountComponentRaw(requestParameters, initOverrides) {
108
+ return __awaiter(this, void 0, void 0, function* () {
109
+ if (requestParameters['componentId'] == null) {
110
+ throw new runtime.RequiredError('componentId', 'Required parameter "componentId" was null or undefined when calling mountComponent().');
111
+ }
112
+ if (requestParameters['mountRequest'] == null) {
113
+ throw new runtime.RequiredError('mountRequest', 'Required parameter "mountRequest" was null or undefined when calling mountComponent().');
114
+ }
115
+ const queryParameters = {};
116
+ const headerParameters = {};
117
+ headerParameters['Content-Type'] = 'application/json';
118
+ if (this.configuration && this.configuration.accessToken) {
119
+ const token = this.configuration.accessToken;
120
+ const tokenString = yield token("apiKeyAuth", []);
121
+ if (tokenString) {
122
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
123
+ }
124
+ }
125
+ const response = yield this.request({
126
+ path: `/ui/components/{componentId}/mount`.replace(`{${"componentId"}}`, encodeURIComponent(String(requestParameters['componentId']))),
127
+ method: 'POST',
128
+ headers: headerParameters,
129
+ query: queryParameters,
130
+ body: (0, index_1.MountRequestToJSON)(requestParameters['mountRequest']),
131
+ }, initOverrides);
132
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.MountResponseFromJSON)(jsonValue));
133
+ });
134
+ }
135
+ /**
136
+ * Initialize and mount a UI component
137
+ * Mount Component
138
+ */
139
+ mountComponent(requestParameters, initOverrides) {
140
+ return __awaiter(this, void 0, void 0, function* () {
141
+ const response = yield this.mountComponentRaw(requestParameters, initOverrides);
142
+ return yield response.value();
143
+ });
144
+ }
145
+ /**
146
+ * Cleanup and unmount a UI component instance
147
+ * Unmount Component
148
+ */
149
+ unmountComponentRaw(requestParameters, initOverrides) {
150
+ return __awaiter(this, void 0, void 0, function* () {
151
+ if (requestParameters['componentId'] == null) {
152
+ throw new runtime.RequiredError('componentId', 'Required parameter "componentId" was null or undefined when calling unmountComponent().');
153
+ }
154
+ if (requestParameters['instanceId'] == null) {
155
+ throw new runtime.RequiredError('instanceId', 'Required parameter "instanceId" was null or undefined when calling unmountComponent().');
156
+ }
157
+ const queryParameters = {};
158
+ const headerParameters = {};
159
+ if (this.configuration && this.configuration.accessToken) {
160
+ const token = this.configuration.accessToken;
161
+ const tokenString = yield token("apiKeyAuth", []);
162
+ if (tokenString) {
163
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
164
+ }
165
+ }
166
+ const response = yield this.request({
167
+ path: `/ui/components/{componentId}/{instanceId}`.replace(`{${"componentId"}}`, encodeURIComponent(String(requestParameters['componentId']))).replace(`{${"instanceId"}}`, encodeURIComponent(String(requestParameters['instanceId']))),
168
+ method: 'DELETE',
169
+ headers: headerParameters,
170
+ query: queryParameters,
171
+ }, initOverrides);
172
+ return new runtime.VoidApiResponse(response);
173
+ });
174
+ }
175
+ /**
176
+ * Cleanup and unmount a UI component instance
177
+ * Unmount Component
178
+ */
179
+ unmountComponent(requestParameters, initOverrides) {
180
+ return __awaiter(this, void 0, void 0, function* () {
181
+ yield this.unmountComponentRaw(requestParameters, initOverrides);
182
+ });
183
+ }
184
+ }
185
+ exports.UIComponentsApi = UIComponentsApi;
186
+ /**
187
+ * @export
188
+ */
189
+ exports.GetComponentManifestComponentIdEnum = {
190
+ WidgetCreator: 'widget-creator',
191
+ CompositionEditor: 'composition-editor',
192
+ EmbedEditor: 'embed-editor'
193
+ };
194
+ /**
195
+ * @export
196
+ */
197
+ exports.MountComponentComponentIdEnum = {
198
+ WidgetCreator: 'widget-creator',
199
+ CompositionEditor: 'composition-editor',
200
+ EmbedEditor: 'embed-editor'
201
+ };
202
+ /**
203
+ * @export
204
+ */
205
+ exports.UnmountComponentComponentIdEnum = {
206
+ WidgetCreator: 'widget-creator',
207
+ CompositionEditor: 'composition-editor',
208
+ EmbedEditor: 'embed-editor'
209
+ };
@@ -10,19 +10,22 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { Upload, UploadLimits, UploadsGet200Response } from '../models/index';
14
- export interface UploadsGetRequest {
13
+ import type { Upload, UploadLimits, UploadsGet200Response, UploadsIdDelete200Response } from '../models/index';
14
+ export interface UploadsGet0Request {
15
15
  limit?: number;
16
16
  managedUserId?: string;
17
17
  managedUserExternalId?: string;
18
18
  }
19
- export interface UploadsIdGetRequest {
19
+ export interface UploadsIdDelete0Request {
20
20
  id: string;
21
21
  }
22
- export interface UploadsPostRequest {
22
+ export interface UploadsIdGet0Request {
23
+ id: string;
24
+ }
25
+ export interface UploadsPost0Request {
23
26
  file: Blob;
24
- contextType?: UploadsPostContextTypeEnum;
25
- source?: UploadsPostSourceEnum;
27
+ contextType?: UploadsPost0ContextTypeEnum;
28
+ source?: UploadsPost0SourceEnum;
26
29
  managedUserId?: string;
27
30
  managedUserExternalId?: string;
28
31
  }
@@ -37,22 +40,32 @@ export declare class UploadsApi extends runtime.BaseAPI {
37
40
  * The files the account has uploaded, newest first. Deleted files are not listed. Returns at most `limit` files and has no further pages: a client that needs more narrows the list instead, for example to one managed user\'s files with `managed_user_id` or `managed_user_external_id`.
38
41
  * List the account\'s uploads
39
42
  */
40
- uploadsGetRaw(requestParameters: UploadsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UploadsGet200Response>>;
43
+ uploadsGetRaw(requestParameters: UploadsGet0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UploadsGet200Response>>;
41
44
  /**
42
45
  * The files the account has uploaded, newest first. Deleted files are not listed. Returns at most `limit` files and has no further pages: a client that needs more narrows the list instead, for example to one managed user\'s files with `managed_user_id` or `managed_user_external_id`.
43
46
  * List the account\'s uploads
44
47
  */
45
- uploadsGet(requestParameters?: UploadsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UploadsGet200Response>;
48
+ uploadsGet(requestParameters?: UploadsGet0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UploadsGet200Response>;
49
+ /**
50
+ * Removes the stored file and the upload row. A file in Widgetic\'s own storage gives back the space it took from your storage allowance; a file in your own bucket is removed from your bucket. Deleting an upload that is already gone succeeds the same way as the first delete. An upload that belongs to another account is not found. If the storage cannot be reached the call fails and nothing is marked deleted, so it can be repeated.
51
+ * Delete an upload
52
+ */
53
+ uploadsIdDeleteRaw(requestParameters: UploadsIdDelete0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UploadsIdDelete200Response>>;
54
+ /**
55
+ * Removes the stored file and the upload row. A file in Widgetic\'s own storage gives back the space it took from your storage allowance; a file in your own bucket is removed from your bucket. Deleting an upload that is already gone succeeds the same way as the first delete. An upload that belongs to another account is not found. If the storage cannot be reached the call fails and nothing is marked deleted, so it can be repeated.
56
+ * Delete an upload
57
+ */
58
+ uploadsIdDelete(requestParameters: UploadsIdDelete0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UploadsIdDelete200Response>;
46
59
  /**
47
60
  * The details of one of the account\'s uploads. An upload that belongs to another account is not found.
48
61
  * Get an upload by id
49
62
  */
50
- uploadsIdGetRaw(requestParameters: UploadsIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Upload>>;
63
+ uploadsIdGetRaw(requestParameters: UploadsIdGet0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Upload>>;
51
64
  /**
52
65
  * The details of one of the account\'s uploads. An upload that belongs to another account is not found.
53
66
  * Get an upload by id
54
67
  */
55
- uploadsIdGet(requestParameters: UploadsIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Upload>;
68
+ uploadsIdGet(requestParameters: UploadsIdGet0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Upload>;
56
69
  /**
57
70
  * The size limit and the accepted file types of the upload endpoints. Read them from here rather than hard-coding thresholds: they are configuration and can change. The limits are the same for every account, whatever its plan: `multipart_max_bytes` for a file sent in one request (10 MB) and `tus_max_bytes` for a resumable upload (250 MB).
58
71
  * Upload size limits and accepted file types
@@ -67,12 +80,12 @@ export declare class UploadsApi extends runtime.BaseAPI {
67
80
  * Stores one file for the account and returns its public address. This is how a user\'s own images, video and PDFs reach a widget\'s content. Send a `multipart/form-data` request with the file in the field named `file`. The file counts against the account\'s storage allowance, and a full allowance is refused with 413 and `QUOTA_STORAGE_EXCEEDED`. A file over the size limit is refused with 413 and `UPLOAD_TOO_LARGE`, and a type that is not accepted with 415 and `UPLOAD_UNSUPPORTED_TYPE`; `uploadsLimitsGet` lists the size limit and the accepted types. To upload the file for one of your managed users, send `managed_user_id` (Widgetic\'s id for the user) or `managed_user_external_id` (your own identifier for the user), not both. The file stays in your account and counts against its allowance; the tag lets you list one user\'s files with `uploadsGet`. The managed user must be yours and active: one that is not yours, or does not exist, is refused with 404 and `MANAGED_USER_NOT_FOUND`, and one that is switched off with 409 and `MANAGED_USER_INACTIVE`, before the file is stored. The tag is set here and does not change afterwards. Called with an editor session (`createManagedUserEditorSession`), the file is always filed for the session\'s own managed user and is always media for widget content: naming another managed user is refused with 403 and `MANAGED_USER_SESSION_MISMATCH`, and `context_type`, `source`, `widget_id` and `conversation_id` are ignored. A full storage allowance is refused with the same 413 and `QUOTA_STORAGE_EXCEEDED`, but the message only says that it is not available right now (not how much is stored: that is the partner\'s business) and `error.details.limit` is `storage`. An account that administers a partner with a storage destination (`setPartnerStorageDestination`) has its files stored in the partner\'s own bucket instead. Such a file takes none of the allowance, its `url` is served from the partner\'s public address, and its `storage_key` is the key in the partner\'s bucket. The file is never stored with Widgetic instead: when the destination cannot be used the upload is refused with 503 and `STORAGE_DESTINATION_UNAVAILABLE`, and when the partner\'s storage rejects the file with 502 and `STORAGE_DESTINATION_WRITE_FAILED`. Partner storage is not optional. A partner\'s own uploads (with its API key) and the uploads of its customers\' editor sessions are kept in the partner\'s own storage or not at all, so a partner with no destination (or one that removed it after the session was made) has them refused with 409 and `PARTNER_STORAGE_REQUIRED`; they are never stored with Widgetic. An editor session\'s browser is only told that the feature is not available right now.
68
81
  * Upload a file
69
82
  */
70
- uploadsPostRaw(requestParameters: UploadsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Upload>>;
83
+ uploadsPostRaw(requestParameters: UploadsPost0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Upload>>;
71
84
  /**
72
85
  * Stores one file for the account and returns its public address. This is how a user\'s own images, video and PDFs reach a widget\'s content. Send a `multipart/form-data` request with the file in the field named `file`. The file counts against the account\'s storage allowance, and a full allowance is refused with 413 and `QUOTA_STORAGE_EXCEEDED`. A file over the size limit is refused with 413 and `UPLOAD_TOO_LARGE`, and a type that is not accepted with 415 and `UPLOAD_UNSUPPORTED_TYPE`; `uploadsLimitsGet` lists the size limit and the accepted types. To upload the file for one of your managed users, send `managed_user_id` (Widgetic\'s id for the user) or `managed_user_external_id` (your own identifier for the user), not both. The file stays in your account and counts against its allowance; the tag lets you list one user\'s files with `uploadsGet`. The managed user must be yours and active: one that is not yours, or does not exist, is refused with 404 and `MANAGED_USER_NOT_FOUND`, and one that is switched off with 409 and `MANAGED_USER_INACTIVE`, before the file is stored. The tag is set here and does not change afterwards. Called with an editor session (`createManagedUserEditorSession`), the file is always filed for the session\'s own managed user and is always media for widget content: naming another managed user is refused with 403 and `MANAGED_USER_SESSION_MISMATCH`, and `context_type`, `source`, `widget_id` and `conversation_id` are ignored. A full storage allowance is refused with the same 413 and `QUOTA_STORAGE_EXCEEDED`, but the message only says that it is not available right now (not how much is stored: that is the partner\'s business) and `error.details.limit` is `storage`. An account that administers a partner with a storage destination (`setPartnerStorageDestination`) has its files stored in the partner\'s own bucket instead. Such a file takes none of the allowance, its `url` is served from the partner\'s public address, and its `storage_key` is the key in the partner\'s bucket. The file is never stored with Widgetic instead: when the destination cannot be used the upload is refused with 503 and `STORAGE_DESTINATION_UNAVAILABLE`, and when the partner\'s storage rejects the file with 502 and `STORAGE_DESTINATION_WRITE_FAILED`. Partner storage is not optional. A partner\'s own uploads (with its API key) and the uploads of its customers\' editor sessions are kept in the partner\'s own storage or not at all, so a partner with no destination (or one that removed it after the session was made) has them refused with 409 and `PARTNER_STORAGE_REQUIRED`; they are never stored with Widgetic. An editor session\'s browser is only told that the feature is not available right now.
73
86
  * Upload a file
74
87
  */
75
- uploadsPost(requestParameters: UploadsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Upload>;
88
+ uploadsPost(requestParameters: UploadsPost0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Upload>;
76
89
  /**
77
90
  * Resumable uploads carry a file of up to 250 MB (the limit `tus_max_bytes` of `uploadsLimitsGet`, the same for every account) in pieces that can be resumed after a dropped connection, or after the server was restarted: the pieces wait in shared storage, not on one server. They follow the [tus protocol](https://tus.io): `POST /uploads/tus` declares the file (`Upload-Length` and the `Upload-Metadata` keys `filename`, `filetype` and, optionally, `context_type`, `source`, `widget_id`, `conversation_id` and, to file the upload under one of a partner\'s managed users, `managed_user_id` or `managed_user_external_id`), `PATCH` sends the bytes, `HEAD` says how far a client got. They need a signed-in session; an API key uses `uploadsPost`. A partner files an upload under one of its managed users with `managed_user_id` (Widgetic\'s id) or `managed_user_external_id` (the partner\'s own id for the user), never both: the same two fields, with the same spelling, as the form fields of `uploadsPost`. The managed user is looked up among the signed-in account\'s own when the upload is declared, so a wrong one is refused before any byte is sent (the declaring `POST /uploads/tus` answers 400, 404 or 409 with a line of text), and is looked up again here, when the file is stored. The stored file then carries the managed user (`managedUserId`), is found by the `managedUserId` filter of `uploadsGet`, and is counted for that user by `getPartnerStorageUsage`. Without either key the file is the account\'s own. This call stores the finished file: it counts against the account\'s storage allowance only now, not while the file is on its way, so an upload that is abandoned costs nothing. It is safe to call again after a lost answer: the file that was stored is returned, not stored twice. A file that could not be stored (storage down, allowance full) stays available for a day from when the upload began, so the call can be repeated without sending the file again. An unfinished upload is deleted after that day, and an account can hold only a few at once. A partner account that is paused or not yet activated cannot start a resumable upload (the declaring `POST /uploads/tus` answers 403) and cannot complete one (`PARTNER_SUSPENDED`, `PARTNER_INACTIVE`).
78
91
  * Finish a resumable upload — store the file and return it
@@ -87,20 +100,20 @@ export declare class UploadsApi extends runtime.BaseAPI {
87
100
  /**
88
101
  * @export
89
102
  */
90
- export declare const UploadsPostContextTypeEnum: {
103
+ export declare const UploadsPost0ContextTypeEnum: {
91
104
  readonly WidgetCodegen: "widget-codegen";
92
105
  readonly BrowserIc: "browser-ic";
93
106
  readonly ContentProperty: "content-property";
94
107
  };
95
- export type UploadsPostContextTypeEnum = typeof UploadsPostContextTypeEnum[keyof typeof UploadsPostContextTypeEnum];
108
+ export type UploadsPost0ContextTypeEnum = typeof UploadsPost0ContextTypeEnum[keyof typeof UploadsPost0ContextTypeEnum];
96
109
  /**
97
110
  * @export
98
111
  */
99
- export declare const UploadsPostSourceEnum: {
112
+ export declare const UploadsPost0SourceEnum: {
100
113
  readonly ChatUpload: "chat-upload";
101
114
  readonly ChatScreenshot: "chat-screenshot";
102
115
  readonly BrowserIcScreenshot: "browser-ic-screenshot";
103
116
  readonly PreviewScreenshot: "preview-screenshot";
104
117
  readonly FileBrowserUpload: "file-browser-upload";
105
118
  };
106
- export type UploadsPostSourceEnum = typeof UploadsPostSourceEnum[keyof typeof UploadsPostSourceEnum];
119
+ export type UploadsPost0SourceEnum = typeof UploadsPost0SourceEnum[keyof typeof UploadsPost0SourceEnum];
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
22
22
  });
23
23
  };
24
24
  Object.defineProperty(exports, "__esModule", { value: true });
25
- exports.UploadsPostSourceEnum = exports.UploadsPostContextTypeEnum = exports.UploadsApi = void 0;
25
+ exports.UploadsPost0SourceEnum = exports.UploadsPost0ContextTypeEnum = exports.UploadsApi = void 0;
26
26
  const runtime = require("../runtime");
27
27
  const index_1 = require("../models/index");
28
28
  /**
@@ -72,6 +72,43 @@ class UploadsApi extends runtime.BaseAPI {
72
72
  return yield response.value();
73
73
  });
74
74
  }
75
+ /**
76
+ * Removes the stored file and the upload row. A file in Widgetic\'s own storage gives back the space it took from your storage allowance; a file in your own bucket is removed from your bucket. Deleting an upload that is already gone succeeds the same way as the first delete. An upload that belongs to another account is not found. If the storage cannot be reached the call fails and nothing is marked deleted, so it can be repeated.
77
+ * Delete an upload
78
+ */
79
+ uploadsIdDeleteRaw(requestParameters, initOverrides) {
80
+ return __awaiter(this, void 0, void 0, function* () {
81
+ if (requestParameters['id'] == null) {
82
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling uploadsIdDelete().');
83
+ }
84
+ const queryParameters = {};
85
+ const headerParameters = {};
86
+ if (this.configuration && this.configuration.accessToken) {
87
+ const token = this.configuration.accessToken;
88
+ const tokenString = yield token("apiKeyAuth", []);
89
+ if (tokenString) {
90
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
91
+ }
92
+ }
93
+ const response = yield this.request({
94
+ path: `/uploads/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
95
+ method: 'DELETE',
96
+ headers: headerParameters,
97
+ query: queryParameters,
98
+ }, initOverrides);
99
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.UploadsIdDelete200ResponseFromJSON)(jsonValue));
100
+ });
101
+ }
102
+ /**
103
+ * Removes the stored file and the upload row. A file in Widgetic\'s own storage gives back the space it took from your storage allowance; a file in your own bucket is removed from your bucket. Deleting an upload that is already gone succeeds the same way as the first delete. An upload that belongs to another account is not found. If the storage cannot be reached the call fails and nothing is marked deleted, so it can be repeated.
104
+ * Delete an upload
105
+ */
106
+ uploadsIdDelete(requestParameters, initOverrides) {
107
+ return __awaiter(this, void 0, void 0, function* () {
108
+ const response = yield this.uploadsIdDeleteRaw(requestParameters, initOverrides);
109
+ return yield response.value();
110
+ });
111
+ }
75
112
  /**
76
113
  * The details of one of the account\'s uploads. An upload that belongs to another account is not found.
77
114
  * Get an upload by id
@@ -246,7 +283,7 @@ exports.UploadsApi = UploadsApi;
246
283
  /**
247
284
  * @export
248
285
  */
249
- exports.UploadsPostContextTypeEnum = {
286
+ exports.UploadsPost0ContextTypeEnum = {
250
287
  WidgetCodegen: 'widget-codegen',
251
288
  BrowserIc: 'browser-ic',
252
289
  ContentProperty: 'content-property'
@@ -254,7 +291,7 @@ exports.UploadsPostContextTypeEnum = {
254
291
  /**
255
292
  * @export
256
293
  */
257
- exports.UploadsPostSourceEnum = {
294
+ exports.UploadsPost0SourceEnum = {
258
295
  ChatUpload: 'chat-upload',
259
296
  ChatScreenshot: 'chat-screenshot',
260
297
  BrowserIcScreenshot: 'browser-ic-screenshot',