@widgetic/api-sdk 1.0.32 → 1.0.34

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 (536) hide show
  1. package/README.md +4 -0
  2. package/dist/apis/AdminApi.d.ts +30 -46
  3. package/dist/apis/AdminApi.js +53 -102
  4. package/dist/apis/AdminBillingApi.d.ts +2 -2
  5. package/dist/apis/AdminBillingApi.js +2 -2
  6. package/dist/apis/AgentRepositoryManagementApi.d.ts +32 -0
  7. package/dist/apis/AgentRepositoryManagementApi.js +75 -0
  8. package/dist/apis/BillingApi.d.ts +44 -1
  9. package/dist/apis/BillingApi.js +127 -0
  10. package/dist/apis/CompositionsApi.d.ts +2 -2
  11. package/dist/apis/CompositionsApi.js +2 -2
  12. package/dist/apis/CreditsApi.d.ts +7 -7
  13. package/dist/apis/CreditsApi.js +5 -5
  14. package/dist/apis/EnterpriseCustomizationsApi.d.ts +87 -0
  15. package/dist/apis/EnterpriseCustomizationsApi.js +233 -0
  16. package/dist/apis/OrganizationsApi.d.ts +35 -7
  17. package/dist/apis/OrganizationsApi.js +86 -6
  18. package/dist/apis/PartnerApi.d.ts +65 -21
  19. package/dist/apis/PartnerApi.js +147 -19
  20. package/dist/apis/PartnerCustomizationsApi.d.ts +4 -4
  21. package/dist/apis/PartnerCustomizationsApi.js +4 -4
  22. package/dist/apis/PartnersApi.d.ts +28 -67
  23. package/dist/apis/PartnersApi.js +31 -119
  24. package/dist/apis/PublicEmbedApi.d.ts +4 -4
  25. package/dist/apis/PublicEmbedApi.js +4 -4
  26. package/dist/apis/SubscriptionsApi.d.ts +2 -2
  27. package/dist/apis/SubscriptionsApi.js +2 -2
  28. package/dist/apis/UIComponentsApi.d.ts +96 -0
  29. package/dist/apis/UIComponentsApi.js +209 -0
  30. package/dist/apis/UploadsApi.d.ts +4 -4
  31. package/dist/apis/UploadsApi.js +4 -4
  32. package/dist/apis/UsersApi.d.ts +4 -4
  33. package/dist/apis/UsersApi.js +4 -4
  34. package/dist/apis/WorkflowsApi.d.ts +44 -0
  35. package/dist/apis/WorkflowsApi.js +111 -0
  36. package/dist/esm/apis/AdminApi.d.ts +30 -46
  37. package/dist/esm/apis/AdminApi.js +54 -103
  38. package/dist/esm/apis/AdminBillingApi.d.ts +2 -2
  39. package/dist/esm/apis/AdminBillingApi.js +2 -2
  40. package/dist/esm/apis/AgentRepositoryManagementApi.d.ts +32 -0
  41. package/dist/esm/apis/AgentRepositoryManagementApi.js +71 -0
  42. package/dist/esm/apis/BillingApi.d.ts +44 -1
  43. package/dist/esm/apis/BillingApi.js +128 -1
  44. package/dist/esm/apis/CompositionsApi.d.ts +2 -2
  45. package/dist/esm/apis/CompositionsApi.js +2 -2
  46. package/dist/esm/apis/CreditsApi.d.ts +7 -7
  47. package/dist/esm/apis/CreditsApi.js +6 -6
  48. package/dist/esm/apis/EnterpriseCustomizationsApi.d.ts +87 -0
  49. package/dist/esm/apis/EnterpriseCustomizationsApi.js +229 -0
  50. package/dist/esm/apis/OrganizationsApi.d.ts +35 -7
  51. package/dist/esm/apis/OrganizationsApi.js +87 -7
  52. package/dist/esm/apis/PartnerApi.d.ts +65 -21
  53. package/dist/esm/apis/PartnerApi.js +148 -20
  54. package/dist/esm/apis/PartnerCustomizationsApi.d.ts +4 -4
  55. package/dist/esm/apis/PartnerCustomizationsApi.js +4 -4
  56. package/dist/esm/apis/PartnersApi.d.ts +28 -67
  57. package/dist/esm/apis/PartnersApi.js +31 -119
  58. package/dist/esm/apis/PublicEmbedApi.d.ts +4 -4
  59. package/dist/esm/apis/PublicEmbedApi.js +4 -4
  60. package/dist/esm/apis/SubscriptionsApi.d.ts +2 -2
  61. package/dist/esm/apis/SubscriptionsApi.js +2 -2
  62. package/dist/esm/apis/UIComponentsApi.d.ts +96 -0
  63. package/dist/esm/apis/UIComponentsApi.js +205 -0
  64. package/dist/esm/apis/UploadsApi.d.ts +4 -4
  65. package/dist/esm/apis/UploadsApi.js +4 -4
  66. package/dist/esm/apis/UsersApi.d.ts +4 -4
  67. package/dist/esm/apis/UsersApi.js +4 -4
  68. package/dist/esm/apis/WorkflowsApi.d.ts +44 -0
  69. package/dist/esm/apis/WorkflowsApi.js +107 -0
  70. package/dist/esm/models/AgentRepositoriesRepoIdSyncPost202Response.d.ts +32 -0
  71. package/dist/esm/models/AgentRepositoriesRepoIdSyncPost202Response.js +41 -0
  72. package/dist/esm/models/AgentRepositoriesRepoIdSyncPostRequest.d.ts +32 -0
  73. package/dist/esm/models/AgentRepositoriesRepoIdSyncPostRequest.js +43 -0
  74. package/dist/esm/models/AgentTasksTaskIdStatusPutRequest.d.ts +54 -0
  75. package/dist/esm/models/AgentTasksTaskIdStatusPutRequest.js +60 -0
  76. package/dist/esm/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.d.ts +32 -0
  77. package/dist/esm/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.js +41 -0
  78. package/dist/esm/models/ApiV1AdminBillingGrantsPostRequest.d.ts +82 -0
  79. package/dist/esm/models/ApiV1AdminBillingGrantsPostRequest.js +79 -0
  80. package/dist/esm/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.d.ts +32 -0
  81. package/dist/esm/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.js +41 -0
  82. package/dist/esm/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +32 -0
  83. package/dist/esm/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +43 -0
  84. package/dist/esm/models/ApiV1AdminBillingRefundsPostRequest.d.ts +64 -0
  85. package/dist/esm/models/ApiV1AdminBillingRefundsPostRequest.js +60 -0
  86. package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200Response.d.ts +71 -0
  87. package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200Response.js +59 -0
  88. package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
  89. package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js +48 -0
  90. package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPostRequest.d.ts +70 -0
  91. package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPostRequest.js +62 -0
  92. package/dist/esm/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.d.ts +46 -0
  93. package/dist/esm/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.js +52 -0
  94. package/dist/esm/models/ApiV1BillingPricingGet200Response.d.ts +39 -0
  95. package/dist/esm/models/ApiV1BillingPricingGet200Response.js +44 -0
  96. package/dist/esm/models/ApiV1BillingPricingGet200ResponseData.d.ts +46 -0
  97. package/dist/esm/models/ApiV1BillingPricingGet200ResponseData.js +47 -0
  98. package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataPlansInner.d.ts +68 -0
  99. package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataPlansInner.js +53 -0
  100. package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataTrial.d.ts +44 -0
  101. package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataTrial.js +45 -0
  102. package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200Response.d.ts +39 -0
  103. package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200Response.js +44 -0
  104. package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.d.ts +33 -0
  105. package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.js +42 -0
  106. package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.d.ts +68 -0
  107. package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.js +53 -0
  108. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.d.ts +39 -0
  109. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.js +44 -0
  110. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.d.ts +32 -0
  111. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.js +41 -0
  112. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.d.ts +39 -0
  113. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.js +44 -0
  114. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.d.ts +32 -0
  115. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.js +41 -0
  116. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.d.ts +39 -0
  117. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.js +44 -0
  118. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.d.ts +32 -0
  119. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.js +41 -0
  120. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.d.ts +32 -0
  121. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.js +41 -0
  122. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.d.ts +39 -0
  123. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.js +44 -0
  124. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.d.ts +120 -0
  125. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.js +76 -0
  126. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.d.ts +39 -0
  127. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.js +44 -0
  128. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.d.ts +38 -0
  129. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.js +43 -0
  130. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.d.ts +39 -0
  131. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.js +44 -0
  132. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.d.ts +38 -0
  133. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.js +43 -0
  134. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.d.ts +53 -0
  135. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.js +58 -0
  136. package/dist/esm/models/ApiV1MetricsGet200Response.d.ts +39 -0
  137. package/dist/esm/models/ApiV1MetricsGet200Response.js +44 -0
  138. package/dist/esm/models/ApiV1MetricsGet200ResponseData.d.ts +56 -0
  139. package/dist/esm/models/ApiV1MetricsGet200ResponseData.js +50 -0
  140. package/dist/esm/models/ApiV1MetricsGet200ResponseDataErrorsValue.d.ts +44 -0
  141. package/dist/esm/models/ApiV1MetricsGet200ResponseDataErrorsValue.js +45 -0
  142. package/dist/esm/models/ApiV1MetricsGet200ResponseDataLatencyValue.d.ts +50 -0
  143. package/dist/esm/models/ApiV1MetricsGet200ResponseDataLatencyValue.js +47 -0
  144. package/dist/esm/models/ApiV1MetricsLatencyGet200Response.d.ts +41 -0
  145. package/dist/esm/models/ApiV1MetricsLatencyGet200Response.js +45 -0
  146. package/dist/esm/models/ApiV1MetricsLatencyGet200ResponseDataValue.d.ts +62 -0
  147. package/dist/esm/models/ApiV1MetricsLatencyGet200ResponseDataValue.js +51 -0
  148. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.d.ts +71 -0
  149. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.js +59 -0
  150. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
  151. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js +48 -0
  152. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.d.ts +38 -0
  153. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js +43 -0
  154. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.d.ts +44 -0
  155. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.js +45 -0
  156. package/dist/esm/models/BillingUsersUserIdStorageCancelPackPostRequest.d.ts +40 -0
  157. package/dist/esm/models/BillingUsersUserIdStorageCancelPackPostRequest.js +43 -0
  158. package/dist/esm/models/BillingUsersUserIdStorageGet200Response.d.ts +39 -0
  159. package/dist/esm/models/BillingUsersUserIdStorageGet200Response.js +44 -0
  160. package/dist/esm/models/BillingUsersUserIdStorageGet200ResponseData.d.ts +33 -0
  161. package/dist/esm/models/BillingUsersUserIdStorageGet200ResponseData.js +42 -0
  162. package/dist/esm/models/CancelCurrentSubscription200Response.d.ts +45 -0
  163. package/dist/esm/models/CancelCurrentSubscription200Response.js +46 -0
  164. package/dist/esm/models/CancelCurrentSubscriptionRequest.d.ts +44 -0
  165. package/dist/esm/models/CancelCurrentSubscriptionRequest.js +45 -0
  166. package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.d.ts +38 -0
  167. package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.js +43 -0
  168. package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.d.ts +38 -0
  169. package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.js +47 -0
  170. package/dist/esm/models/ComponentManifest.d.ts +52 -0
  171. package/dist/esm/models/ComponentManifest.js +49 -0
  172. package/dist/esm/models/ComponentManifestAssets.d.ts +38 -0
  173. package/dist/esm/models/ComponentManifestAssets.js +43 -0
  174. package/dist/esm/models/ComponentManifestConfig.d.ts +44 -0
  175. package/dist/esm/models/ComponentManifestConfig.js +45 -0
  176. package/dist/esm/models/ConvertSoloToTeams200Response.d.ts +39 -0
  177. package/dist/esm/models/ConvertSoloToTeams200Response.js +44 -0
  178. package/dist/esm/models/CreateCheckoutSession200Response.d.ts +38 -0
  179. package/dist/esm/models/CreateCheckoutSession200Response.js +43 -0
  180. package/dist/esm/models/CreateCheckoutSessionRequest.d.ts +32 -0
  181. package/dist/esm/models/CreateCheckoutSessionRequest.js +43 -0
  182. package/dist/esm/models/CreateComposition201Response.d.ts +39 -0
  183. package/dist/esm/models/CreateComposition201Response.js +44 -0
  184. package/dist/esm/models/CreatePartnerRequest.d.ts +7 -0
  185. package/dist/esm/models/CreatePartnerRequest.js +2 -0
  186. package/dist/esm/models/DevelopmentPlan.d.ts +97 -0
  187. package/dist/esm/models/DevelopmentPlan.js +69 -0
  188. package/dist/esm/models/DevelopmentTask.d.ts +90 -0
  189. package/dist/esm/models/DevelopmentTask.js +66 -0
  190. package/dist/esm/models/EnterpriseCustomization.d.ts +125 -0
  191. package/dist/esm/models/EnterpriseCustomization.js +77 -0
  192. package/dist/esm/models/GenerateComponentWorkflowInput.d.ts +56 -0
  193. package/dist/esm/models/GenerateComponentWorkflowInput.js +55 -0
  194. package/dist/esm/models/GenerateMixedComponentInput.d.ts +62 -0
  195. package/dist/esm/models/GenerateMixedComponentInput.js +59 -0
  196. package/dist/esm/models/GetCompositionContentSchema200Response.d.ts +2 -2
  197. package/dist/esm/models/GetOrganizationPricing200ResponseDataStorage.d.ts +3 -2
  198. package/dist/esm/models/GetOrganizationStorageUsage200ResponseDataBreakdown.d.ts +44 -0
  199. package/dist/esm/models/GetOrganizationStorageUsage200ResponseDataBreakdown.js +45 -0
  200. package/dist/esm/models/GetOrganizationStorageUsage200ResponseDataStorageUsage.d.ts +5 -5
  201. package/dist/esm/models/GetPartnerCreditTransactions200Response.d.ts +39 -0
  202. package/dist/esm/models/GetPartnerCreditTransactions200Response.js +44 -0
  203. package/dist/esm/models/IssuePartnerInvoiceRequest.d.ts +14 -1
  204. package/dist/esm/models/IssuePartnerInvoiceRequest.js +2 -0
  205. package/dist/esm/models/IssuedPartnerInvoice.d.ts +6 -0
  206. package/dist/esm/models/IssuedPartnerInvoice.js +4 -0
  207. package/dist/esm/models/ListComponents200Response.d.ts +33 -0
  208. package/dist/esm/models/ListComponents200Response.js +42 -0
  209. package/dist/esm/models/ListEnterpriseCustomizations200Response.d.ts +40 -0
  210. package/dist/esm/models/ListEnterpriseCustomizations200Response.js +45 -0
  211. package/dist/esm/models/ListEnterpriseCustomizations200ResponsePagination.d.ts +50 -0
  212. package/dist/esm/models/ListEnterpriseCustomizations200ResponsePagination.js +47 -0
  213. package/dist/esm/models/MountRequest.d.ts +45 -0
  214. package/dist/esm/models/MountRequest.js +48 -0
  215. package/dist/esm/models/MountRequestTheme.d.ts +54 -0
  216. package/dist/esm/models/MountRequestTheme.js +54 -0
  217. package/dist/esm/models/MountRequestThemeColors.d.ts +50 -0
  218. package/dist/esm/models/MountRequestThemeColors.js +47 -0
  219. package/dist/esm/models/MountRequestThemeTypography.d.ts +38 -0
  220. package/dist/esm/models/MountRequestThemeTypography.js +43 -0
  221. package/dist/esm/models/MountResponse.d.ts +46 -0
  222. package/dist/esm/models/MountResponse.js +50 -0
  223. package/dist/esm/models/MyPartner.d.ts +7 -0
  224. package/dist/esm/models/MyPartner.js +4 -0
  225. package/dist/esm/models/MyPartners.d.ts +9 -1
  226. package/dist/esm/models/MyPartners.js +6 -1
  227. package/dist/esm/models/NewWidgetComponentsMetadataInner.d.ts +64 -0
  228. package/dist/esm/models/NewWidgetComponentsMetadataInner.js +53 -0
  229. package/dist/esm/models/NewWidgetComponentsMetadataInnerPosition.d.ts +38 -0
  230. package/dist/esm/models/NewWidgetComponentsMetadataInnerPosition.js +43 -0
  231. package/dist/esm/models/NewWidgetComponentsMetadataInnerSize.d.ts +38 -0
  232. package/dist/esm/models/NewWidgetComponentsMetadataInnerSize.js +43 -0
  233. package/dist/esm/models/OrganizationsOrgIdBillingGet200ResponseData.d.ts +25 -5
  234. package/dist/esm/models/OrganizationsOrgIdBillingGet200ResponseData.js +9 -0
  235. package/dist/esm/models/Partner.d.ts +7 -0
  236. package/dist/esm/models/Partner.js +2 -0
  237. package/dist/esm/models/PartnerActivation.d.ts +1 -1
  238. package/dist/esm/models/PartnerBillingOverviewOperationalCredits.d.ts +0 -14
  239. package/dist/esm/models/PartnerBillingOverviewOperationalCredits.js +0 -4
  240. package/dist/esm/models/PartnerBillingProfile.d.ts +1 -1
  241. package/dist/esm/models/PartnerContract.d.ts +15 -3
  242. package/dist/esm/models/PartnerContract.js +6 -2
  243. package/dist/esm/models/PartnerCustomization.d.ts +15 -3
  244. package/dist/esm/models/PartnerCustomization.js +6 -2
  245. package/dist/esm/models/PartnerDetails.d.ts +7 -0
  246. package/dist/esm/models/PartnerDetails.js +2 -0
  247. package/dist/esm/models/PartnerExtraCreditsInvoice.d.ts +98 -0
  248. package/dist/esm/models/PartnerExtraCreditsInvoice.js +87 -0
  249. package/dist/esm/models/PartnerInvoiceSchedule.d.ts +66 -0
  250. package/dist/esm/models/PartnerInvoiceSchedule.js +67 -0
  251. package/dist/esm/models/PartnerInvoiceScheduleContract.d.ts +68 -0
  252. package/dist/esm/models/PartnerInvoiceScheduleContract.js +67 -0
  253. package/dist/esm/models/PartnerInvoiceScheduleNext.d.ts +94 -0
  254. package/dist/esm/models/PartnerInvoiceScheduleNext.js +91 -0
  255. package/dist/esm/models/PartnerInvoiceScheduleNextPeriod.d.ts +38 -0
  256. package/dist/esm/models/PartnerInvoiceScheduleNextPeriod.js +47 -0
  257. package/dist/esm/models/PartnerInvoiceScheduleOverdue.d.ts +38 -0
  258. package/dist/esm/models/PartnerInvoiceScheduleOverdue.js +47 -0
  259. package/dist/esm/models/PartnerInvoiceSchedulePeriod.d.ts +101 -0
  260. package/dist/esm/models/PartnerInvoiceSchedulePeriod.js +91 -0
  261. package/dist/esm/models/PartnerNotification.d.ts +1 -1
  262. package/dist/esm/models/PartnerNotificationEventType.d.ts +2 -0
  263. package/dist/esm/models/PartnerNotificationEventType.js +2 -0
  264. package/dist/esm/models/PartnerUpdateResult.d.ts +8 -16
  265. package/dist/esm/models/PartnerUpdateResult.js +2 -5
  266. package/dist/esm/models/PartnerWithWarnings.d.ts +7 -0
  267. package/dist/esm/models/PartnerWithWarnings.js +2 -0
  268. package/dist/esm/models/PersonalExtraStorage.d.ts +92 -0
  269. package/dist/esm/models/PersonalExtraStorage.js +83 -0
  270. package/dist/esm/models/PersonalExtraStorageBlock.d.ts +56 -0
  271. package/dist/esm/models/PersonalExtraStorageBlock.js +57 -0
  272. package/dist/esm/models/PersonalStorage.d.ts +80 -0
  273. package/dist/esm/models/PersonalStorage.js +73 -0
  274. package/dist/esm/models/PersonalStoragePack.d.ts +100 -0
  275. package/dist/esm/models/PersonalStoragePack.js +84 -0
  276. package/dist/esm/models/PurchaseStoragePack200ResponseDataPaymentIntent.d.ts +50 -0
  277. package/dist/esm/models/PurchaseStoragePack200ResponseDataPaymentIntent.js +47 -0
  278. package/dist/esm/models/RequestExtraCredits.d.ts +33 -0
  279. package/dist/esm/models/RequestExtraCredits.js +43 -0
  280. package/dist/esm/models/RollbackComponentRequest.d.ts +38 -0
  281. package/dist/esm/models/RollbackComponentRequest.js +45 -0
  282. package/dist/esm/models/StorageChange.d.ts +4 -3
  283. package/dist/esm/models/SurfaceConversionResult.d.ts +85 -0
  284. package/dist/esm/models/SurfaceConversionResult.js +76 -0
  285. package/dist/esm/models/SurfaceConversionResultSubscription.d.ts +82 -0
  286. package/dist/esm/models/SurfaceConversionResultSubscription.js +62 -0
  287. package/dist/esm/models/UIComponent.d.ts +65 -0
  288. package/dist/esm/models/UIComponent.js +57 -0
  289. package/dist/esm/models/UpdateCompositionRequest.d.ts +38 -0
  290. package/dist/esm/models/UpdateCompositionRequest.js +43 -0
  291. package/dist/esm/models/UpdateCurrentSubscriptionRequest.d.ts +38 -0
  292. package/dist/esm/models/UpdateCurrentSubscriptionRequest.js +43 -0
  293. package/dist/esm/models/UpdateEnterpriseCustomizationRequest.d.ts +95 -0
  294. package/dist/esm/models/UpdateEnterpriseCustomizationRequest.js +67 -0
  295. package/dist/esm/models/UpdatePartnerCustomizationRequest.d.ts +3 -3
  296. package/dist/esm/models/UpdatePartnerCustomizationRequest.js +2 -2
  297. package/dist/esm/models/UpdatePartnerRequest.d.ts +7 -24
  298. package/dist/esm/models/UpdatePartnerRequest.js +2 -8
  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 +19 -9
  302. package/dist/esm/models/index.js +19 -9
  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/BillingUsersUserIdStorageCancelPackPostRequest.d.ts +40 -0
  390. package/dist/models/BillingUsersUserIdStorageCancelPackPostRequest.js +50 -0
  391. package/dist/models/BillingUsersUserIdStorageGet200Response.d.ts +39 -0
  392. package/dist/models/BillingUsersUserIdStorageGet200Response.js +51 -0
  393. package/dist/models/BillingUsersUserIdStorageGet200ResponseData.d.ts +33 -0
  394. package/dist/models/BillingUsersUserIdStorageGet200ResponseData.js +49 -0
  395. package/dist/models/CancelCurrentSubscription200Response.d.ts +45 -0
  396. package/dist/models/CancelCurrentSubscription200Response.js +53 -0
  397. package/dist/models/CancelCurrentSubscriptionRequest.d.ts +44 -0
  398. package/dist/models/CancelCurrentSubscriptionRequest.js +52 -0
  399. package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.d.ts +38 -0
  400. package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.js +50 -0
  401. package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.d.ts +38 -0
  402. package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.js +54 -0
  403. package/dist/models/ComponentManifest.d.ts +52 -0
  404. package/dist/models/ComponentManifest.js +56 -0
  405. package/dist/models/ComponentManifestAssets.d.ts +38 -0
  406. package/dist/models/ComponentManifestAssets.js +50 -0
  407. package/dist/models/ComponentManifestConfig.d.ts +44 -0
  408. package/dist/models/ComponentManifestConfig.js +52 -0
  409. package/dist/models/ConvertSoloToTeams200Response.d.ts +39 -0
  410. package/dist/models/ConvertSoloToTeams200Response.js +51 -0
  411. package/dist/models/CreateCheckoutSession200Response.d.ts +38 -0
  412. package/dist/models/CreateCheckoutSession200Response.js +50 -0
  413. package/dist/models/CreateCheckoutSessionRequest.d.ts +32 -0
  414. package/dist/models/CreateCheckoutSessionRequest.js +50 -0
  415. package/dist/models/CreateComposition201Response.d.ts +39 -0
  416. package/dist/models/CreateComposition201Response.js +51 -0
  417. package/dist/models/CreatePartnerRequest.d.ts +7 -0
  418. package/dist/models/CreatePartnerRequest.js +2 -0
  419. package/dist/models/DevelopmentPlan.d.ts +97 -0
  420. package/dist/models/DevelopmentPlan.js +77 -0
  421. package/dist/models/DevelopmentTask.d.ts +90 -0
  422. package/dist/models/DevelopmentTask.js +74 -0
  423. package/dist/models/EnterpriseCustomization.d.ts +125 -0
  424. package/dist/models/EnterpriseCustomization.js +85 -0
  425. package/dist/models/GenerateComponentWorkflowInput.d.ts +56 -0
  426. package/dist/models/GenerateComponentWorkflowInput.js +62 -0
  427. package/dist/models/GenerateMixedComponentInput.d.ts +62 -0
  428. package/dist/models/GenerateMixedComponentInput.js +66 -0
  429. package/dist/models/GetCompositionContentSchema200Response.d.ts +2 -2
  430. package/dist/models/GetOrganizationPricing200ResponseDataStorage.d.ts +3 -2
  431. package/dist/models/GetOrganizationStorageUsage200ResponseDataBreakdown.d.ts +44 -0
  432. package/dist/models/GetOrganizationStorageUsage200ResponseDataBreakdown.js +52 -0
  433. package/dist/models/GetOrganizationStorageUsage200ResponseDataStorageUsage.d.ts +5 -5
  434. package/dist/models/GetPartnerCreditTransactions200Response.d.ts +39 -0
  435. package/dist/models/GetPartnerCreditTransactions200Response.js +51 -0
  436. package/dist/models/IssuePartnerInvoiceRequest.d.ts +14 -1
  437. package/dist/models/IssuePartnerInvoiceRequest.js +2 -0
  438. package/dist/models/IssuedPartnerInvoice.d.ts +6 -0
  439. package/dist/models/IssuedPartnerInvoice.js +4 -0
  440. package/dist/models/ListComponents200Response.d.ts +33 -0
  441. package/dist/models/ListComponents200Response.js +49 -0
  442. package/dist/models/ListEnterpriseCustomizations200Response.d.ts +40 -0
  443. package/dist/models/ListEnterpriseCustomizations200Response.js +52 -0
  444. package/dist/models/ListEnterpriseCustomizations200ResponsePagination.d.ts +50 -0
  445. package/dist/models/ListEnterpriseCustomizations200ResponsePagination.js +54 -0
  446. package/dist/models/MountRequest.d.ts +45 -0
  447. package/dist/models/MountRequest.js +55 -0
  448. package/dist/models/MountRequestTheme.d.ts +54 -0
  449. package/dist/models/MountRequestTheme.js +62 -0
  450. package/dist/models/MountRequestThemeColors.d.ts +50 -0
  451. package/dist/models/MountRequestThemeColors.js +54 -0
  452. package/dist/models/MountRequestThemeTypography.d.ts +38 -0
  453. package/dist/models/MountRequestThemeTypography.js +50 -0
  454. package/dist/models/MountResponse.d.ts +46 -0
  455. package/dist/models/MountResponse.js +58 -0
  456. package/dist/models/MyPartner.d.ts +7 -0
  457. package/dist/models/MyPartner.js +4 -0
  458. package/dist/models/MyPartners.d.ts +9 -1
  459. package/dist/models/MyPartners.js +6 -1
  460. package/dist/models/NewWidgetComponentsMetadataInner.d.ts +64 -0
  461. package/dist/models/NewWidgetComponentsMetadataInner.js +60 -0
  462. package/dist/models/NewWidgetComponentsMetadataInnerPosition.d.ts +38 -0
  463. package/dist/models/NewWidgetComponentsMetadataInnerPosition.js +50 -0
  464. package/dist/models/NewWidgetComponentsMetadataInnerSize.d.ts +38 -0
  465. package/dist/models/NewWidgetComponentsMetadataInnerSize.js +50 -0
  466. package/dist/models/OrganizationsOrgIdBillingGet200ResponseData.d.ts +25 -5
  467. package/dist/models/OrganizationsOrgIdBillingGet200ResponseData.js +10 -0
  468. package/dist/models/Partner.d.ts +7 -0
  469. package/dist/models/Partner.js +2 -0
  470. package/dist/models/PartnerActivation.d.ts +1 -1
  471. package/dist/models/PartnerBillingOverviewOperationalCredits.d.ts +0 -14
  472. package/dist/models/PartnerBillingOverviewOperationalCredits.js +0 -4
  473. package/dist/models/PartnerBillingProfile.d.ts +1 -1
  474. package/dist/models/PartnerContract.d.ts +15 -3
  475. package/dist/models/PartnerContract.js +6 -2
  476. package/dist/models/PartnerCustomization.d.ts +15 -3
  477. package/dist/models/PartnerCustomization.js +6 -2
  478. package/dist/models/PartnerDetails.d.ts +7 -0
  479. package/dist/models/PartnerDetails.js +2 -0
  480. package/dist/models/PartnerExtraCreditsInvoice.d.ts +98 -0
  481. package/dist/models/PartnerExtraCreditsInvoice.js +94 -0
  482. package/dist/models/PartnerInvoiceSchedule.d.ts +66 -0
  483. package/dist/models/PartnerInvoiceSchedule.js +74 -0
  484. package/dist/models/PartnerInvoiceScheduleContract.d.ts +68 -0
  485. package/dist/models/PartnerInvoiceScheduleContract.js +74 -0
  486. package/dist/models/PartnerInvoiceScheduleNext.d.ts +94 -0
  487. package/dist/models/PartnerInvoiceScheduleNext.js +99 -0
  488. package/dist/models/PartnerInvoiceScheduleNextPeriod.d.ts +38 -0
  489. package/dist/models/PartnerInvoiceScheduleNextPeriod.js +54 -0
  490. package/dist/models/PartnerInvoiceScheduleOverdue.d.ts +38 -0
  491. package/dist/models/PartnerInvoiceScheduleOverdue.js +54 -0
  492. package/dist/models/PartnerInvoiceSchedulePeriod.d.ts +101 -0
  493. package/dist/models/PartnerInvoiceSchedulePeriod.js +99 -0
  494. package/dist/models/PartnerNotification.d.ts +1 -1
  495. package/dist/models/PartnerNotificationEventType.d.ts +2 -0
  496. package/dist/models/PartnerNotificationEventType.js +2 -0
  497. package/dist/models/PartnerUpdateResult.d.ts +8 -16
  498. package/dist/models/PartnerUpdateResult.js +2 -5
  499. package/dist/models/PartnerWithWarnings.d.ts +7 -0
  500. package/dist/models/PartnerWithWarnings.js +2 -0
  501. package/dist/models/PersonalExtraStorage.d.ts +92 -0
  502. package/dist/models/PersonalExtraStorage.js +91 -0
  503. package/dist/models/PersonalExtraStorageBlock.d.ts +56 -0
  504. package/dist/models/PersonalExtraStorageBlock.js +65 -0
  505. package/dist/models/PersonalStorage.d.ts +80 -0
  506. package/dist/models/PersonalStorage.js +80 -0
  507. package/dist/models/PersonalStoragePack.d.ts +100 -0
  508. package/dist/models/PersonalStoragePack.js +92 -0
  509. package/dist/models/PurchaseStoragePack200ResponseDataPaymentIntent.d.ts +50 -0
  510. package/dist/models/PurchaseStoragePack200ResponseDataPaymentIntent.js +54 -0
  511. package/dist/models/RequestExtraCredits.d.ts +33 -0
  512. package/dist/models/RequestExtraCredits.js +50 -0
  513. package/dist/models/RollbackComponentRequest.d.ts +38 -0
  514. package/dist/models/RollbackComponentRequest.js +52 -0
  515. package/dist/models/StorageChange.d.ts +4 -3
  516. package/dist/models/SurfaceConversionResult.d.ts +85 -0
  517. package/dist/models/SurfaceConversionResult.js +84 -0
  518. package/dist/models/SurfaceConversionResultSubscription.d.ts +82 -0
  519. package/dist/models/SurfaceConversionResultSubscription.js +70 -0
  520. package/dist/models/UIComponent.d.ts +65 -0
  521. package/dist/models/UIComponent.js +65 -0
  522. package/dist/models/UpdateCompositionRequest.d.ts +38 -0
  523. package/dist/models/UpdateCompositionRequest.js +50 -0
  524. package/dist/models/UpdateCurrentSubscriptionRequest.d.ts +38 -0
  525. package/dist/models/UpdateCurrentSubscriptionRequest.js +50 -0
  526. package/dist/models/UpdateEnterpriseCustomizationRequest.d.ts +95 -0
  527. package/dist/models/UpdateEnterpriseCustomizationRequest.js +75 -0
  528. package/dist/models/UpdatePartnerCustomizationRequest.d.ts +3 -3
  529. package/dist/models/UpdatePartnerCustomizationRequest.js +2 -2
  530. package/dist/models/UpdatePartnerRequest.d.ts +7 -24
  531. package/dist/models/UpdatePartnerRequest.js +2 -8
  532. package/dist/models/WorkflowAcceptedResponse.d.ts +38 -0
  533. package/dist/models/WorkflowAcceptedResponse.js +50 -0
  534. package/dist/models/index.d.ts +19 -9
  535. package/dist/models/index.js +19 -9
  536. package/package.json +3 -2
@@ -10,18 +10,10 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { AddPartnerCreditsRequest, ConfigureAutoReloadRequest, GetPartnerCreditBalance200Response, GetPartnerDesignDefaults200Response, ListPartnerPresets200Response, MyPartners, PartnerAnalyticsByManagedUser, PartnerAnalyticsSummary, PartnerAnalyticsTimeline, PartnerAnalyticsTopWidgets, PartnerContract, PartnerEntryContextSecret, PartnerEntryContextSigning, PartnerNotificationDelivery, PartnerNotificationDeliveryLog, PartnerNotificationPage, PartnerNotificationSettings, PartnerNotificationSettingsChange, PartnerNotificationTestEventRequest, PartnerNotificationTestEventResult, PartnerPreset, PartnerPresetRemoval, PartnerStorageDestination, PartnerStorageRemoval, PartnerStorageUsage, SetPartnerDesignDefaultsRequest, SetPartnerPresetRequest, SetPartnerStorageDestinationRequest, UpdatePartnerEntryContextSigningRequest, UpdatePartnerNotificationSettingsRequest } from '../models/index';
14
- export interface AddPartnerCreditsOperationRequest {
13
+ import type { AccountCreditBalance, GetPartnerCreditTransactions200Response, GetPartnerDesignDefaults200Response, ListPartnerPresets200Response, MyPartners, PartnerAnalyticsByManagedUser, PartnerAnalyticsSummary, PartnerAnalyticsTimeline, PartnerAnalyticsTopWidgets, PartnerContract, PartnerEntryContextSecret, PartnerEntryContextSigning, PartnerExtraCreditsInvoice, PartnerNotificationDelivery, PartnerNotificationDeliveryLog, PartnerNotificationPage, PartnerNotificationSettings, PartnerNotificationSettingsChange, PartnerNotificationTestEventRequest, PartnerNotificationTestEventResult, PartnerPreset, PartnerPresetRemoval, PartnerStorageDestination, PartnerStorageRemoval, PartnerStorageUsage, RequestExtraCredits, SetPartnerDesignDefaultsRequest, SetPartnerPresetRequest, SetPartnerStorageDestinationRequest, UpdatePartnerEntryContextSigningRequest, UpdatePartnerNotificationSettingsRequest } from '../models/index';
14
+ export interface CreatePartnerExtraCreditsInvoice0Request {
15
15
  partnerId: string;
16
- addPartnerCreditsRequest: AddPartnerCreditsRequest;
17
- idempotencyKey?: string;
18
- }
19
- export interface CheckPartnerCreditBalancesRequest {
20
- idempotencyKey?: string;
21
- }
22
- export interface ConfigureAutoReloadOperationRequest {
23
- partnerId: string;
24
- configureAutoReloadRequest: ConfigureAutoReloadRequest;
16
+ requestExtraCredits: RequestExtraCredits;
25
17
  idempotencyKey?: string;
26
18
  }
27
19
  export interface GetPartnerAnalyticsByManagedUserRequest {
@@ -59,14 +51,14 @@ export interface GetPartnerBillingOverview0Request {
59
51
  export interface GetPartnerContract0Request {
60
52
  partnerId: string;
61
53
  }
62
- export interface GetPartnerCreditBalanceRequest {
54
+ export interface GetPartnerCreditBalance0Request {
63
55
  partnerId: string;
64
56
  }
65
- export interface GetPartnerCreditTransactionsRequest {
57
+ export interface GetPartnerCreditTransactions0Request {
66
58
  partnerId: string;
67
59
  limit?: number;
68
60
  offset?: number;
69
- type?: GetPartnerCreditTransactionsTypeEnum;
61
+ type?: string;
70
62
  }
71
63
  export interface GetPartnerDesignDefaults0Request {
72
64
  partnerId: string;
@@ -153,42 +145,22 @@ export interface VerifyPartnerStorageDestination0Request {
153
145
  */
154
146
  export declare class PartnersApi extends runtime.BaseAPI {
155
147
  /**
156
- * Adds credits to a partner\'s account, generating a checkout URL for payment. This call is left out of the public API description on purpose, so a generated client does not have it. The partner wallet it tops up is not used by anything a partner builds on (a partner pays by invoice under its contract). It stays available to the partner\'s administrator and to Widgetic staff.
157
- * Add credits to partner account
158
- */
159
- addPartnerCreditsRaw(requestParameters: AddPartnerCreditsOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
160
- /**
161
- * Adds credits to a partner\'s account, generating a checkout URL for payment. This call is left out of the public API description on purpose, so a generated client does not have it. The partner wallet it tops up is not used by anything a partner builds on (a partner pays by invoice under its contract). It stays available to the partner\'s administrator and to Widgetic staff.
162
- * Add credits to partner account
148
+ * Asks Widgetic for an invoice for extra credits, on top of the credits of the contract. Name the dollars; the invoice is for the most whole credits they buy at the **list price** of a credit (the price a contract may lower belongs to the contract), so it is never for more than you asked: 12.34 buys 123 credits and the invoice says 12.30. The smallest purchase is 10 dollars and one request buys at most 100000 (ask Widgetic for an invoice for more). Pay the invoice with the link in the answer. When it is paid the credits are added **once, for good**, to the account of the person who administers the partner, which is the account everything the partner builds is charged to (`getPartnerCreditBalance` shows it). Extra credits **do not expire**, unlike the credits of a contract period, which end with it. Nothing is added before the invoice is paid, and an unpaid invoice for extra credits never stops the partner: only an unpaid invoice of the contract does (`payment_arrears`). Allowed whatever the partner\'s standing: a partner that has run out of credits, or is stopped for an unpaid contract invoice, can still buy. No contract is needed. An `Idempotency-Key` is required, and it is what makes a retry safe: the same key with the same body returns the invoice already issued, the same key with a different body is refused with 422, and a duplicate that arrives while the first is still running is refused with 409. Use one key per purchase you mean to make, and a new key for the next one. At most 10 requests an hour. Who may ask: the person who administers the partner, or a Widgetic administrator. A key limited to scopes needs `billing:write`.
149
+ * Buy extra credits for a partner
163
150
  */
164
- addPartnerCredits(requestParameters: AddPartnerCreditsOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
151
+ createPartnerExtraCreditsInvoiceRaw(requestParameters: CreatePartnerExtraCreditsInvoice0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PartnerExtraCreditsInvoice>>;
165
152
  /**
166
- * Checks all partner credit balances and triggers auto-reload where needed (Admin only)
167
- * Check all partner balances for auto-reload
153
+ * Asks Widgetic for an invoice for extra credits, on top of the credits of the contract. Name the dollars; the invoice is for the most whole credits they buy at the **list price** of a credit (the price a contract may lower belongs to the contract), so it is never for more than you asked: 12.34 buys 123 credits and the invoice says 12.30. The smallest purchase is 10 dollars and one request buys at most 100000 (ask Widgetic for an invoice for more). Pay the invoice with the link in the answer. When it is paid the credits are added **once, for good**, to the account of the person who administers the partner, which is the account everything the partner builds is charged to (`getPartnerCreditBalance` shows it). Extra credits **do not expire**, unlike the credits of a contract period, which end with it. Nothing is added before the invoice is paid, and an unpaid invoice for extra credits never stops the partner: only an unpaid invoice of the contract does (`payment_arrears`). Allowed whatever the partner\'s standing: a partner that has run out of credits, or is stopped for an unpaid contract invoice, can still buy. No contract is needed. An `Idempotency-Key` is required, and it is what makes a retry safe: the same key with the same body returns the invoice already issued, the same key with a different body is refused with 422, and a duplicate that arrives while the first is still running is refused with 409. Use one key per purchase you mean to make, and a new key for the next one. At most 10 requests an hour. Who may ask: the person who administers the partner, or a Widgetic administrator. A key limited to scopes needs `billing:write`.
154
+ * Buy extra credits for a partner
168
155
  */
169
- checkPartnerCreditBalancesRaw(requestParameters: CheckPartnerCreditBalancesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
156
+ createPartnerExtraCreditsInvoice(requestParameters: CreatePartnerExtraCreditsInvoice0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PartnerExtraCreditsInvoice>;
170
157
  /**
171
- * Checks all partner credit balances and triggers auto-reload where needed (Admin only)
172
- * Check all partner balances for auto-reload
173
- */
174
- checkPartnerCreditBalances(requestParameters?: CheckPartnerCreditBalancesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
175
- /**
176
- * Configures automatic credit reload when balance falls below threshold
177
- * Configure auto-reload settings
178
- */
179
- configureAutoReloadRaw(requestParameters: ConfigureAutoReloadOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
180
- /**
181
- * Configures automatic credit reload when balance falls below threshold
182
- * Configure auto-reload settings
183
- */
184
- configureAutoReload(requestParameters: ConfigureAutoReloadOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
185
- /**
186
- * Returns the partner (nearly always one) that the signed-in account administers, with the id every other partner route asks for and the standing it is in: `active`, `inactive` (not activated yet) or `suspended` (paused, with the reason Widgetic gave). A partner API key is that account\'s key, so it reads its own partner here. An account that administers no partner is not refused: it gets `standing: not_a_partner` and an empty list, so a dashboard can tell \"this is not a partner account\" from \"something failed\". The call stays open while the partner is paused or not yet active: that is when its dashboard has to say why.
158
+ * Returns the partner (nearly always one) that the signed-in account administers, with the id every other partner route asks for and the standing it is in: `active`, `inactive` (not activated yet), `suspended` (paused, with the reason Widgetic gave) or `payment_arrears` (a contract invoice is past its due date and unpaid, since `overdueSince`; the partner is stopped until it is paid). A partner API key is that account\'s key, so it reads its own partner here. An account that administers no partner is not refused: it gets `standing: not_a_partner` and an empty list, so a dashboard can tell \"this is not a partner account\" from \"something failed\". The call stays open while the partner is paused, not yet active or in payment arrears: that is when its dashboard has to say why.
187
159
  * Find the partner you administer
188
160
  */
189
161
  getMyPartnersRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MyPartners>>;
190
162
  /**
191
- * Returns the partner (nearly always one) that the signed-in account administers, with the id every other partner route asks for and the standing it is in: `active`, `inactive` (not activated yet) or `suspended` (paused, with the reason Widgetic gave). A partner API key is that account\'s key, so it reads its own partner here. An account that administers no partner is not refused: it gets `standing: not_a_partner` and an empty list, so a dashboard can tell \"this is not a partner account\" from \"something failed\". The call stays open while the partner is paused or not yet active: that is when its dashboard has to say why.
163
+ * Returns the partner (nearly always one) that the signed-in account administers, with the id every other partner route asks for and the standing it is in: `active`, `inactive` (not activated yet), `suspended` (paused, with the reason Widgetic gave) or `payment_arrears` (a contract invoice is past its due date and unpaid, since `overdueSince`; the partner is stopped until it is paid). A partner API key is that account\'s key, so it reads its own partner here. An account that administers no partner is not refused: it gets `standing: not_a_partner` and an empty list, so a dashboard can tell \"this is not a partner account\" from \"something failed\". The call stays open while the partner is paused, not yet active or in payment arrears: that is when its dashboard has to say why.
192
164
  * Find the partner you administer
193
165
  */
194
166
  getMyPartners(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MyPartners>;
@@ -233,12 +205,12 @@ export declare class PartnersApi extends runtime.BaseAPI {
233
205
  */
234
206
  getPartnerAnalyticsTopWidgets(requestParameters: GetPartnerAnalyticsTopWidgetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PartnerAnalyticsTopWidgets>;
235
207
  /**
236
- * Retrieves operational credits, the partner\'s contract terms (`partnerCustomization`, the same fields as `getPartnerContract`) and billing integration status. Internal negotiation notes are not part of it.
208
+ * Retrieves the older partner wallet\'s figures (`operationalCredits`), the partner\'s contract terms (`partnerCustomization`, the same fields as `getPartnerContract`) and billing integration status. Internal negotiation notes are not part of it. `operationalCredits` is **not** what the partner spends: that is the balance of its administrator\'s account, read with `getPartnerCreditBalance` (and its ledger with `getPartnerCreditTransactions`). The wallet it shows was kept before credits followed the account, and nothing adds to it any more.
237
209
  * Get comprehensive partner billing overview
238
210
  */
239
211
  getPartnerBillingOverviewRaw(requestParameters: GetPartnerBillingOverview0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
240
212
  /**
241
- * Retrieves operational credits, the partner\'s contract terms (`partnerCustomization`, the same fields as `getPartnerContract`) and billing integration status. Internal negotiation notes are not part of it.
213
+ * Retrieves the older partner wallet\'s figures (`operationalCredits`), the partner\'s contract terms (`partnerCustomization`, the same fields as `getPartnerContract`) and billing integration status. Internal negotiation notes are not part of it. `operationalCredits` is **not** what the partner spends: that is the balance of its administrator\'s account, read with `getPartnerCreditBalance` (and its ledger with `getPartnerCreditTransactions`). The wallet it shows was kept before credits followed the account, and nothing adds to it any more.
242
214
  * Get comprehensive partner billing overview
243
215
  */
244
216
  getPartnerBillingOverview(requestParameters: GetPartnerBillingOverview0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
@@ -253,25 +225,25 @@ export declare class PartnersApi extends runtime.BaseAPI {
253
225
  */
254
226
  getPartnerContract(requestParameters: GetPartnerContract0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PartnerContract>;
255
227
  /**
256
- * Retrieves the current credit balance for a partner
228
+ * Returns the credits the partner has: the balance of the account of the person who administers it, and how much of that is reserved by operations that are still running. That is the account its customers\' editor sessions and its own API calls spend from, and the one a paid invoice that carries credits adds to, so it is the same balance `getUserCreditBalance` reads for that person. The partner wallet that was kept before credits followed the account is not read here: nothing adds to it or spends from it any more. A partner with no administrator reads a balance of 0. Access: the person who administers the partner, or a Widgetic administrator.
257
229
  * Get partner credit balance
258
230
  */
259
- getPartnerCreditBalanceRaw(requestParameters: GetPartnerCreditBalanceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetPartnerCreditBalance200Response>>;
231
+ getPartnerCreditBalanceRaw(requestParameters: GetPartnerCreditBalance0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccountCreditBalance>>;
260
232
  /**
261
- * Retrieves the current credit balance for a partner
233
+ * Returns the credits the partner has: the balance of the account of the person who administers it, and how much of that is reserved by operations that are still running. That is the account its customers\' editor sessions and its own API calls spend from, and the one a paid invoice that carries credits adds to, so it is the same balance `getUserCreditBalance` reads for that person. The partner wallet that was kept before credits followed the account is not read here: nothing adds to it or spends from it any more. A partner with no administrator reads a balance of 0. Access: the person who administers the partner, or a Widgetic administrator.
262
234
  * Get partner credit balance
263
235
  */
264
- getPartnerCreditBalance(requestParameters: GetPartnerCreditBalanceRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetPartnerCreditBalance200Response>;
236
+ getPartnerCreditBalance(requestParameters: GetPartnerCreditBalance0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountCreditBalance>;
265
237
  /**
266
- * Retrieves the transaction history for a partner\'s credits
238
+ * Lists what happened to the partner\'s credits, newest first: the entries of the credit ledger of the account of the person who administers it. Every operation that spends credits is a `debit` entry, and the credits an invoice carried arrive as `credit` entries when the invoice is paid, so this is also how the partner\'s usage is read. It is the same ledger `getUserCreditTransactions` reads for that person. The partner wallet that was kept before credits followed the account is not read here. A partner with no administrator has an empty ledger. The page is always bounded: `limit` defaults to 20 and is capped at 100, `offset` defaults to 0. Access: the person who administers the partner, or a Widgetic administrator.
267
239
  * Get partner credit transaction history
268
240
  */
269
- getPartnerCreditTransactionsRaw(requestParameters: GetPartnerCreditTransactionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
241
+ getPartnerCreditTransactionsRaw(requestParameters: GetPartnerCreditTransactions0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetPartnerCreditTransactions200Response>>;
270
242
  /**
271
- * Retrieves the transaction history for a partner\'s credits
243
+ * Lists what happened to the partner\'s credits, newest first: the entries of the credit ledger of the account of the person who administers it. Every operation that spends credits is a `debit` entry, and the credits an invoice carried arrive as `credit` entries when the invoice is paid, so this is also how the partner\'s usage is read. It is the same ledger `getUserCreditTransactions` reads for that person. The partner wallet that was kept before credits followed the account is not read here. A partner with no administrator has an empty ledger. The page is always bounded: `limit` defaults to 20 and is capped at 100, `offset` defaults to 0. Access: the person who administers the partner, or a Widgetic administrator.
272
244
  * Get partner credit transaction history
273
245
  */
274
- getPartnerCreditTransactions(requestParameters: GetPartnerCreditTransactionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
246
+ getPartnerCreditTransactions(requestParameters: GetPartnerCreditTransactions0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetPartnerCreditTransactions200Response>;
275
247
  /**
276
248
  * Read partner-wide design defaults
277
249
  */
@@ -361,12 +333,12 @@ export declare class PartnersApi extends runtime.BaseAPI {
361
333
  */
362
334
  removePartnerPreset(requestParameters: RemovePartnerPreset0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PartnerPresetRemoval>;
363
335
  /**
364
- * Removes the partner\'s storage destination. Partner storage is not optional, so after this the account\'s own uploads with its API key and the uploads of your customers\' editor sessions are refused (409 `PARTNER_STORAGE_REQUIRED`) until a destination is set again, and no editor session can be made. Files already in the partner\'s bucket are not touched and are not moved: they stay where they are, at the addresses they were given. Removing a destination the partner does not have is not an error: the answer is `removed: false`. The caller must be the person who administers the partner, or a Widgetic administrator.
336
+ * Removes the partner\'s storage destination. Partner storage is not optional, so after this every upload of the account, on any route, and the uploads of your customers\' editor sessions are refused (409 `PARTNER_STORAGE_REQUIRED`) until a destination is set again, and no editor session can be made. Files already in the partner\'s bucket are not touched and are not moved: they stay where they are, at the addresses they were given. Removing a destination the partner does not have is not an error: the answer is `removed: false`. The caller must be the person who administers the partner, or a Widgetic administrator.
365
337
  * Stop storing a partner\'s uploaded files in its own bucket
366
338
  */
367
339
  removePartnerStorageDestinationRaw(requestParameters: RemovePartnerStorageDestination0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PartnerStorageRemoval>>;
368
340
  /**
369
- * Removes the partner\'s storage destination. Partner storage is not optional, so after this the account\'s own uploads with its API key and the uploads of your customers\' editor sessions are refused (409 `PARTNER_STORAGE_REQUIRED`) until a destination is set again, and no editor session can be made. Files already in the partner\'s bucket are not touched and are not moved: they stay where they are, at the addresses they were given. Removing a destination the partner does not have is not an error: the answer is `removed: false`. The caller must be the person who administers the partner, or a Widgetic administrator.
341
+ * Removes the partner\'s storage destination. Partner storage is not optional, so after this every upload of the account, on any route, and the uploads of your customers\' editor sessions are refused (409 `PARTNER_STORAGE_REQUIRED`) until a destination is set again, and no editor session can be made. Files already in the partner\'s bucket are not touched and are not moved: they stay where they are, at the addresses they were given. Removing a destination the partner does not have is not an error: the answer is `removed: false`. The caller must be the person who administers the partner, or a Widgetic administrator.
370
342
  * Stop storing a partner\'s uploaded files in its own bucket
371
343
  */
372
344
  removePartnerStorageDestination(requestParameters: RemovePartnerStorageDestination0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PartnerStorageRemoval>;
@@ -431,12 +403,12 @@ export declare class PartnersApi extends runtime.BaseAPI {
431
403
  */
432
404
  setPartnerPreset(requestParameters: SetPartnerPreset0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PartnerPreset>;
433
405
  /**
434
- * Points the partner at a bucket of its own on an S3-compatible service (Amazon S3, Backblaze B2, Cloudflare R2, Wasabi, MinIO and the like). From then on, a file uploaded with `uploadsPost` by the account that administers the partner is stored in that bucket instead of with Widgetic. It takes none of the account\'s storage allowance, and its `url` is served from `public_base_url`. Only uploads sent with an API key, an SDK token or an editor session use the destination. Uploads from the Widgetic website, resumable uploads and the media library keep using Widgetic\'s storage. A destination is required. Partner storage is not optional: your customers\' files, and your own uploads with your API key, are kept in this destination and nowhere else. An editor session (`createManagedUserEditorSession`) of any surface cannot be made until a destination is set (409 `PARTNER_STORAGE_REQUIRED`), a destination removed later stops the uploads of the sessions already made (the same 409), and your own upload with no destination is refused in the same way instead of being stored with Widgetic. A partner cannot be activated until it has a destination that works. The destination is checked before it is saved. Widgetic writes a small test file under `<key_prefix>widgetic-check/`, reads it back from `<public_base_url>/<its key>`, and deletes it. If any step fails nothing is saved and the answer is 422 `STORAGE_DESTINATION_UNVERIFIED`: `details.step` says where (`endpoint`, `write` or `public_read`), `details.reason` says why, and `param` names the field most likely to be wrong. What the bucket needs: - an access key that may put objects into it (it may also delete objects, which lets the test file be cleaned up, but that is not required); - its files publicly readable at `public_base_url`, either because the bucket is public or through a CDN. The secret access key is stored encrypted and is never returned or logged; a response shows only the last four characters of the access key id (`accessKeyHint`). Saving replaces the whole destination, so send every field again, including the secret. Files already stored stay where they are, and keep working for as long as that bucket stays publicly readable. Once a destination is set, an upload is never stored with Widgetic instead: when the destination cannot be used the upload is refused with 503 `STORAGE_DESTINATION_UNAVAILABLE`, and when the bucket rejects the file with 502 `STORAGE_DESTINATION_WRITE_FAILED`. The caller must be the person who administers the partner (an API key of that account works); anyone else is refused with 403 whether or not the partner exists. Widgetic administrators can set any partner\'s.
406
+ * Points the partner at a bucket of its own on an S3-compatible service (Amazon S3, Backblaze B2, Cloudflare R2, Wasabi, MinIO and the like). From then on, every file the account that administers the partner stores is kept in that bucket instead of with Widgetic, whichever way it arrives: a file sent with `uploadsPost` (with an API key, an SDK token, an editor session or from the Widgetic website), a resumable upload, the media library, and the files the agent tools and the MCP server save. It takes none of the account\'s storage allowance, and its `url` is served from `public_base_url`. The chunks of a resumable upload wait in Widgetic\'s temporary staging area until it is completed and are removed then: the finished file is stored in your bucket and nowhere else. A destination is required. Partner storage is not optional: your customers\' files, and your own however they arrive, are kept in this destination and nowhere else. An editor session (`createManagedUserEditorSession`) of any surface cannot be made until a destination is set (409 `PARTNER_STORAGE_REQUIRED`), a destination removed later stops the uploads of the sessions already made (the same 409), and your own upload with no destination (on any route, including a resumable upload, which is refused when it is started) is refused in the same way instead of being stored with Widgetic. A partner cannot be activated until it has a destination that works. The destination is checked before it is saved. Widgetic writes a small test file under `<key_prefix>widgetic-check/`, reads it back from `<public_base_url>/<its key>`, and deletes it. If any step fails nothing is saved and the answer is 422 `STORAGE_DESTINATION_UNVERIFIED`: `details.step` says where (`endpoint`, `write` or `public_read`), `details.reason` says why, and `param` names the field most likely to be wrong. What the bucket needs: - an access key that may put objects into it (it may also delete objects, which lets the test file be cleaned up, but that is not required); - its files publicly readable at `public_base_url`, either because the bucket is public or through a CDN. The secret access key is stored encrypted and is never returned or logged; a response shows only the last four characters of the access key id (`accessKeyHint`). Saving replaces the whole destination, so send every field again, including the secret. Files already stored stay where they are, and keep working for as long as that bucket stays publicly readable. Once a destination is set, an upload is never stored with Widgetic instead: when the destination cannot be used the upload is refused with 503 `STORAGE_DESTINATION_UNAVAILABLE`, and when the bucket rejects the file with 502 `STORAGE_DESTINATION_WRITE_FAILED`. The caller must be the person who administers the partner (an API key of that account works); anyone else is refused with 403 whether or not the partner exists. Widgetic administrators can set any partner\'s.
435
407
  * Set where a partner\'s uploaded files are stored
436
408
  */
437
409
  setPartnerStorageDestinationRaw(requestParameters: SetPartnerStorageDestination0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PartnerStorageDestination>>;
438
410
  /**
439
- * Points the partner at a bucket of its own on an S3-compatible service (Amazon S3, Backblaze B2, Cloudflare R2, Wasabi, MinIO and the like). From then on, a file uploaded with `uploadsPost` by the account that administers the partner is stored in that bucket instead of with Widgetic. It takes none of the account\'s storage allowance, and its `url` is served from `public_base_url`. Only uploads sent with an API key, an SDK token or an editor session use the destination. Uploads from the Widgetic website, resumable uploads and the media library keep using Widgetic\'s storage. A destination is required. Partner storage is not optional: your customers\' files, and your own uploads with your API key, are kept in this destination and nowhere else. An editor session (`createManagedUserEditorSession`) of any surface cannot be made until a destination is set (409 `PARTNER_STORAGE_REQUIRED`), a destination removed later stops the uploads of the sessions already made (the same 409), and your own upload with no destination is refused in the same way instead of being stored with Widgetic. A partner cannot be activated until it has a destination that works. The destination is checked before it is saved. Widgetic writes a small test file under `<key_prefix>widgetic-check/`, reads it back from `<public_base_url>/<its key>`, and deletes it. If any step fails nothing is saved and the answer is 422 `STORAGE_DESTINATION_UNVERIFIED`: `details.step` says where (`endpoint`, `write` or `public_read`), `details.reason` says why, and `param` names the field most likely to be wrong. What the bucket needs: - an access key that may put objects into it (it may also delete objects, which lets the test file be cleaned up, but that is not required); - its files publicly readable at `public_base_url`, either because the bucket is public or through a CDN. The secret access key is stored encrypted and is never returned or logged; a response shows only the last four characters of the access key id (`accessKeyHint`). Saving replaces the whole destination, so send every field again, including the secret. Files already stored stay where they are, and keep working for as long as that bucket stays publicly readable. Once a destination is set, an upload is never stored with Widgetic instead: when the destination cannot be used the upload is refused with 503 `STORAGE_DESTINATION_UNAVAILABLE`, and when the bucket rejects the file with 502 `STORAGE_DESTINATION_WRITE_FAILED`. The caller must be the person who administers the partner (an API key of that account works); anyone else is refused with 403 whether or not the partner exists. Widgetic administrators can set any partner\'s.
411
+ * Points the partner at a bucket of its own on an S3-compatible service (Amazon S3, Backblaze B2, Cloudflare R2, Wasabi, MinIO and the like). From then on, every file the account that administers the partner stores is kept in that bucket instead of with Widgetic, whichever way it arrives: a file sent with `uploadsPost` (with an API key, an SDK token, an editor session or from the Widgetic website), a resumable upload, the media library, and the files the agent tools and the MCP server save. It takes none of the account\'s storage allowance, and its `url` is served from `public_base_url`. The chunks of a resumable upload wait in Widgetic\'s temporary staging area until it is completed and are removed then: the finished file is stored in your bucket and nowhere else. A destination is required. Partner storage is not optional: your customers\' files, and your own however they arrive, are kept in this destination and nowhere else. An editor session (`createManagedUserEditorSession`) of any surface cannot be made until a destination is set (409 `PARTNER_STORAGE_REQUIRED`), a destination removed later stops the uploads of the sessions already made (the same 409), and your own upload with no destination (on any route, including a resumable upload, which is refused when it is started) is refused in the same way instead of being stored with Widgetic. A partner cannot be activated until it has a destination that works. The destination is checked before it is saved. Widgetic writes a small test file under `<key_prefix>widgetic-check/`, reads it back from `<public_base_url>/<its key>`, and deletes it. If any step fails nothing is saved and the answer is 422 `STORAGE_DESTINATION_UNVERIFIED`: `details.step` says where (`endpoint`, `write` or `public_read`), `details.reason` says why, and `param` names the field most likely to be wrong. What the bucket needs: - an access key that may put objects into it (it may also delete objects, which lets the test file be cleaned up, but that is not required); - its files publicly readable at `public_base_url`, either because the bucket is public or through a CDN. The secret access key is stored encrypted and is never returned or logged; a response shows only the last four characters of the access key id (`accessKeyHint`). Saving replaces the whole destination, so send every field again, including the secret. Files already stored stay where they are, and keep working for as long as that bucket stays publicly readable. Once a destination is set, an upload is never stored with Widgetic instead: when the destination cannot be used the upload is refused with 503 `STORAGE_DESTINATION_UNAVAILABLE`, and when the bucket rejects the file with 502 `STORAGE_DESTINATION_WRITE_FAILED`. The caller must be the person who administers the partner (an API key of that account works); anyone else is refused with 403 whether or not the partner exists. Widgetic administrators can set any partner\'s.
440
412
  * Set where a partner\'s uploaded files are stored
441
413
  */
442
414
  setPartnerStorageDestination(requestParameters: SetPartnerStorageDestination0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PartnerStorageDestination>;
@@ -471,14 +443,3 @@ export declare class PartnersApi extends runtime.BaseAPI {
471
443
  */
472
444
  verifyPartnerStorageDestination(requestParameters: VerifyPartnerStorageDestination0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PartnerStorageDestination>;
473
445
  }
474
- /**
475
- * @export
476
- */
477
- export declare const GetPartnerCreditTransactionsTypeEnum: {
478
- readonly Credit: "credit";
479
- readonly Debit: "debit";
480
- readonly Purchase: "purchase";
481
- readonly Usage: "usage";
482
- readonly Refund: "refund";
483
- };
484
- export type GetPartnerCreditTransactionsTypeEnum = typeof GetPartnerCreditTransactionsTypeEnum[keyof typeof GetPartnerCreditTransactionsTypeEnum];
@@ -21,22 +21,22 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
21
21
  });
22
22
  };
23
23
  import * as runtime from '../runtime.js';
24
- import { AddPartnerCreditsRequestToJSON, ConfigureAutoReloadRequestToJSON, GetPartnerCreditBalance200ResponseFromJSON, GetPartnerDesignDefaults200ResponseFromJSON, ListPartnerPresets200ResponseFromJSON, MyPartnersFromJSON, PartnerAnalyticsByManagedUserFromJSON, PartnerAnalyticsSummaryFromJSON, PartnerAnalyticsTimelineFromJSON, PartnerAnalyticsTopWidgetsFromJSON, PartnerContractFromJSON, PartnerEntryContextSecretFromJSON, PartnerEntryContextSigningFromJSON, PartnerNotificationDeliveryFromJSON, PartnerNotificationDeliveryLogFromJSON, PartnerNotificationPageFromJSON, PartnerNotificationSettingsFromJSON, PartnerNotificationSettingsChangeFromJSON, PartnerNotificationTestEventRequestToJSON, PartnerNotificationTestEventResultFromJSON, PartnerPresetFromJSON, PartnerPresetRemovalFromJSON, PartnerStorageDestinationFromJSON, PartnerStorageRemovalFromJSON, PartnerStorageUsageFromJSON, SetPartnerDesignDefaultsRequestToJSON, SetPartnerPresetRequestToJSON, SetPartnerStorageDestinationRequestToJSON, UpdatePartnerEntryContextSigningRequestToJSON, UpdatePartnerNotificationSettingsRequestToJSON, } from '../models/index.js';
24
+ import { AccountCreditBalanceFromJSON, GetPartnerCreditTransactions200ResponseFromJSON, GetPartnerDesignDefaults200ResponseFromJSON, ListPartnerPresets200ResponseFromJSON, MyPartnersFromJSON, PartnerAnalyticsByManagedUserFromJSON, PartnerAnalyticsSummaryFromJSON, PartnerAnalyticsTimelineFromJSON, PartnerAnalyticsTopWidgetsFromJSON, PartnerContractFromJSON, PartnerEntryContextSecretFromJSON, PartnerEntryContextSigningFromJSON, PartnerExtraCreditsInvoiceFromJSON, PartnerNotificationDeliveryFromJSON, PartnerNotificationDeliveryLogFromJSON, PartnerNotificationPageFromJSON, PartnerNotificationSettingsFromJSON, PartnerNotificationSettingsChangeFromJSON, PartnerNotificationTestEventRequestToJSON, PartnerNotificationTestEventResultFromJSON, PartnerPresetFromJSON, PartnerPresetRemovalFromJSON, PartnerStorageDestinationFromJSON, PartnerStorageRemovalFromJSON, PartnerStorageUsageFromJSON, RequestExtraCreditsToJSON, SetPartnerDesignDefaultsRequestToJSON, SetPartnerPresetRequestToJSON, SetPartnerStorageDestinationRequestToJSON, UpdatePartnerEntryContextSigningRequestToJSON, UpdatePartnerNotificationSettingsRequestToJSON, } from '../models/index.js';
25
25
  /**
26
26
  *
27
27
  */
28
28
  export class PartnersApi extends runtime.BaseAPI {
29
29
  /**
30
- * Adds credits to a partner\'s account, generating a checkout URL for payment. This call is left out of the public API description on purpose, so a generated client does not have it. The partner wallet it tops up is not used by anything a partner builds on (a partner pays by invoice under its contract). It stays available to the partner\'s administrator and to Widgetic staff.
31
- * Add credits to partner account
30
+ * Asks Widgetic for an invoice for extra credits, on top of the credits of the contract. Name the dollars; the invoice is for the most whole credits they buy at the **list price** of a credit (the price a contract may lower belongs to the contract), so it is never for more than you asked: 12.34 buys 123 credits and the invoice says 12.30. The smallest purchase is 10 dollars and one request buys at most 100000 (ask Widgetic for an invoice for more). Pay the invoice with the link in the answer. When it is paid the credits are added **once, for good**, to the account of the person who administers the partner, which is the account everything the partner builds is charged to (`getPartnerCreditBalance` shows it). Extra credits **do not expire**, unlike the credits of a contract period, which end with it. Nothing is added before the invoice is paid, and an unpaid invoice for extra credits never stops the partner: only an unpaid invoice of the contract does (`payment_arrears`). Allowed whatever the partner\'s standing: a partner that has run out of credits, or is stopped for an unpaid contract invoice, can still buy. No contract is needed. An `Idempotency-Key` is required, and it is what makes a retry safe: the same key with the same body returns the invoice already issued, the same key with a different body is refused with 422, and a duplicate that arrives while the first is still running is refused with 409. Use one key per purchase you mean to make, and a new key for the next one. At most 10 requests an hour. Who may ask: the person who administers the partner, or a Widgetic administrator. A key limited to scopes needs `billing:write`.
31
+ * Buy extra credits for a partner
32
32
  */
33
- addPartnerCreditsRaw(requestParameters, initOverrides) {
33
+ createPartnerExtraCreditsInvoiceRaw(requestParameters, initOverrides) {
34
34
  return __awaiter(this, void 0, void 0, function* () {
35
35
  if (requestParameters['partnerId'] == null) {
36
- throw new runtime.RequiredError('partnerId', 'Required parameter "partnerId" was null or undefined when calling addPartnerCredits().');
36
+ throw new runtime.RequiredError('partnerId', 'Required parameter "partnerId" was null or undefined when calling createPartnerExtraCreditsInvoice().');
37
37
  }
38
- if (requestParameters['addPartnerCreditsRequest'] == null) {
39
- throw new runtime.RequiredError('addPartnerCreditsRequest', 'Required parameter "addPartnerCreditsRequest" was null or undefined when calling addPartnerCredits().');
38
+ if (requestParameters['requestExtraCredits'] == null) {
39
+ throw new runtime.RequiredError('requestExtraCredits', 'Required parameter "requestExtraCredits" was null or undefined when calling createPartnerExtraCreditsInvoice().');
40
40
  }
41
41
  const queryParameters = {};
42
42
  const headerParameters = {};
@@ -52,106 +52,27 @@ export class PartnersApi extends runtime.BaseAPI {
52
52
  }
53
53
  }
54
54
  const response = yield this.request({
55
- path: `/partners/{partnerId}/credits/add`.replace(`{${"partnerId"}}`, encodeURIComponent(String(requestParameters['partnerId']))),
55
+ path: `/partners/{partnerId}/credits/extra-invoice`.replace(`{${"partnerId"}}`, encodeURIComponent(String(requestParameters['partnerId']))),
56
56
  method: 'POST',
57
57
  headers: headerParameters,
58
58
  query: queryParameters,
59
- body: AddPartnerCreditsRequestToJSON(requestParameters['addPartnerCreditsRequest']),
59
+ body: RequestExtraCreditsToJSON(requestParameters['requestExtraCredits']),
60
60
  }, initOverrides);
61
- return new runtime.VoidApiResponse(response);
62
- });
63
- }
64
- /**
65
- * Adds credits to a partner\'s account, generating a checkout URL for payment. This call is left out of the public API description on purpose, so a generated client does not have it. The partner wallet it tops up is not used by anything a partner builds on (a partner pays by invoice under its contract). It stays available to the partner\'s administrator and to Widgetic staff.
66
- * Add credits to partner account
67
- */
68
- addPartnerCredits(requestParameters, initOverrides) {
69
- return __awaiter(this, void 0, void 0, function* () {
70
- yield this.addPartnerCreditsRaw(requestParameters, initOverrides);
71
- });
72
- }
73
- /**
74
- * Checks all partner credit balances and triggers auto-reload where needed (Admin only)
75
- * Check all partner balances for auto-reload
76
- */
77
- checkPartnerCreditBalancesRaw(requestParameters, initOverrides) {
78
- return __awaiter(this, void 0, void 0, function* () {
79
- const queryParameters = {};
80
- const headerParameters = {};
81
- if (requestParameters['idempotencyKey'] != null) {
82
- headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
83
- }
84
- if (this.configuration && this.configuration.accessToken) {
85
- const token = this.configuration.accessToken;
86
- const tokenString = yield token("apiKeyAuth", []);
87
- if (tokenString) {
88
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
89
- }
90
- }
91
- const response = yield this.request({
92
- path: `/partners/credits/check-balances`,
93
- method: 'POST',
94
- headers: headerParameters,
95
- query: queryParameters,
96
- }, initOverrides);
97
- return new runtime.VoidApiResponse(response);
98
- });
99
- }
100
- /**
101
- * Checks all partner credit balances and triggers auto-reload where needed (Admin only)
102
- * Check all partner balances for auto-reload
103
- */
104
- checkPartnerCreditBalances() {
105
- return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
106
- yield this.checkPartnerCreditBalancesRaw(requestParameters, initOverrides);
61
+ return new runtime.JSONApiResponse(response, (jsonValue) => PartnerExtraCreditsInvoiceFromJSON(jsonValue));
107
62
  });
108
63
  }
109
64
  /**
110
- * Configures automatic credit reload when balance falls below threshold
111
- * Configure auto-reload settings
65
+ * Asks Widgetic for an invoice for extra credits, on top of the credits of the contract. Name the dollars; the invoice is for the most whole credits they buy at the **list price** of a credit (the price a contract may lower belongs to the contract), so it is never for more than you asked: 12.34 buys 123 credits and the invoice says 12.30. The smallest purchase is 10 dollars and one request buys at most 100000 (ask Widgetic for an invoice for more). Pay the invoice with the link in the answer. When it is paid the credits are added **once, for good**, to the account of the person who administers the partner, which is the account everything the partner builds is charged to (`getPartnerCreditBalance` shows it). Extra credits **do not expire**, unlike the credits of a contract period, which end with it. Nothing is added before the invoice is paid, and an unpaid invoice for extra credits never stops the partner: only an unpaid invoice of the contract does (`payment_arrears`). Allowed whatever the partner\'s standing: a partner that has run out of credits, or is stopped for an unpaid contract invoice, can still buy. No contract is needed. An `Idempotency-Key` is required, and it is what makes a retry safe: the same key with the same body returns the invoice already issued, the same key with a different body is refused with 422, and a duplicate that arrives while the first is still running is refused with 409. Use one key per purchase you mean to make, and a new key for the next one. At most 10 requests an hour. Who may ask: the person who administers the partner, or a Widgetic administrator. A key limited to scopes needs `billing:write`.
66
+ * Buy extra credits for a partner
112
67
  */
113
- configureAutoReloadRaw(requestParameters, initOverrides) {
68
+ createPartnerExtraCreditsInvoice(requestParameters, initOverrides) {
114
69
  return __awaiter(this, void 0, void 0, function* () {
115
- if (requestParameters['partnerId'] == null) {
116
- throw new runtime.RequiredError('partnerId', 'Required parameter "partnerId" was null or undefined when calling configureAutoReload().');
117
- }
118
- if (requestParameters['configureAutoReloadRequest'] == null) {
119
- throw new runtime.RequiredError('configureAutoReloadRequest', 'Required parameter "configureAutoReloadRequest" was null or undefined when calling configureAutoReload().');
120
- }
121
- const queryParameters = {};
122
- const headerParameters = {};
123
- headerParameters['Content-Type'] = 'application/json';
124
- if (requestParameters['idempotencyKey'] != null) {
125
- headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
126
- }
127
- if (this.configuration && this.configuration.accessToken) {
128
- const token = this.configuration.accessToken;
129
- const tokenString = yield token("apiKeyAuth", []);
130
- if (tokenString) {
131
- headerParameters["Authorization"] = `Bearer ${tokenString}`;
132
- }
133
- }
134
- const response = yield this.request({
135
- path: `/partners/{partnerId}/credits/auto-reload`.replace(`{${"partnerId"}}`, encodeURIComponent(String(requestParameters['partnerId']))),
136
- method: 'PUT',
137
- headers: headerParameters,
138
- query: queryParameters,
139
- body: ConfigureAutoReloadRequestToJSON(requestParameters['configureAutoReloadRequest']),
140
- }, initOverrides);
141
- return new runtime.VoidApiResponse(response);
142
- });
143
- }
144
- /**
145
- * Configures automatic credit reload when balance falls below threshold
146
- * Configure auto-reload settings
147
- */
148
- configureAutoReload(requestParameters, initOverrides) {
149
- return __awaiter(this, void 0, void 0, function* () {
150
- yield this.configureAutoReloadRaw(requestParameters, initOverrides);
70
+ const response = yield this.createPartnerExtraCreditsInvoiceRaw(requestParameters, initOverrides);
71
+ return yield response.value();
151
72
  });
152
73
  }
153
74
  /**
154
- * Returns the partner (nearly always one) that the signed-in account administers, with the id every other partner route asks for and the standing it is in: `active`, `inactive` (not activated yet) or `suspended` (paused, with the reason Widgetic gave). A partner API key is that account\'s key, so it reads its own partner here. An account that administers no partner is not refused: it gets `standing: not_a_partner` and an empty list, so a dashboard can tell \"this is not a partner account\" from \"something failed\". The call stays open while the partner is paused or not yet active: that is when its dashboard has to say why.
75
+ * Returns the partner (nearly always one) that the signed-in account administers, with the id every other partner route asks for and the standing it is in: `active`, `inactive` (not activated yet), `suspended` (paused, with the reason Widgetic gave) or `payment_arrears` (a contract invoice is past its due date and unpaid, since `overdueSince`; the partner is stopped until it is paid). A partner API key is that account\'s key, so it reads its own partner here. An account that administers no partner is not refused: it gets `standing: not_a_partner` and an empty list, so a dashboard can tell \"this is not a partner account\" from \"something failed\". The call stays open while the partner is paused, not yet active or in payment arrears: that is when its dashboard has to say why.
155
76
  * Find the partner you administer
156
77
  */
157
78
  getMyPartnersRaw(initOverrides) {
@@ -175,7 +96,7 @@ export class PartnersApi extends runtime.BaseAPI {
175
96
  });
176
97
  }
177
98
  /**
178
- * Returns the partner (nearly always one) that the signed-in account administers, with the id every other partner route asks for and the standing it is in: `active`, `inactive` (not activated yet) or `suspended` (paused, with the reason Widgetic gave). A partner API key is that account\'s key, so it reads its own partner here. An account that administers no partner is not refused: it gets `standing: not_a_partner` and an empty list, so a dashboard can tell \"this is not a partner account\" from \"something failed\". The call stays open while the partner is paused or not yet active: that is when its dashboard has to say why.
99
+ * Returns the partner (nearly always one) that the signed-in account administers, with the id every other partner route asks for and the standing it is in: `active`, `inactive` (not activated yet), `suspended` (paused, with the reason Widgetic gave) or `payment_arrears` (a contract invoice is past its due date and unpaid, since `overdueSince`; the partner is stopped until it is paid). A partner API key is that account\'s key, so it reads its own partner here. An account that administers no partner is not refused: it gets `standing: not_a_partner` and an empty list, so a dashboard can tell \"this is not a partner account\" from \"something failed\". The call stays open while the partner is paused, not yet active or in payment arrears: that is when its dashboard has to say why.
179
100
  * Find the partner you administer
180
101
  */
181
102
  getMyPartners(initOverrides) {
@@ -384,7 +305,7 @@ export class PartnersApi extends runtime.BaseAPI {
384
305
  });
385
306
  }
386
307
  /**
387
- * Retrieves operational credits, the partner\'s contract terms (`partnerCustomization`, the same fields as `getPartnerContract`) and billing integration status. Internal negotiation notes are not part of it.
308
+ * Retrieves the older partner wallet\'s figures (`operationalCredits`), the partner\'s contract terms (`partnerCustomization`, the same fields as `getPartnerContract`) and billing integration status. Internal negotiation notes are not part of it. `operationalCredits` is **not** what the partner spends: that is the balance of its administrator\'s account, read with `getPartnerCreditBalance` (and its ledger with `getPartnerCreditTransactions`). The wallet it shows was kept before credits followed the account, and nothing adds to it any more.
388
309
  * Get comprehensive partner billing overview
389
310
  */
390
311
  getPartnerBillingOverviewRaw(requestParameters, initOverrides) {
@@ -411,7 +332,7 @@ export class PartnersApi extends runtime.BaseAPI {
411
332
  });
412
333
  }
413
334
  /**
414
- * Retrieves operational credits, the partner\'s contract terms (`partnerCustomization`, the same fields as `getPartnerContract`) and billing integration status. Internal negotiation notes are not part of it.
335
+ * Retrieves the older partner wallet\'s figures (`operationalCredits`), the partner\'s contract terms (`partnerCustomization`, the same fields as `getPartnerContract`) and billing integration status. Internal negotiation notes are not part of it. `operationalCredits` is **not** what the partner spends: that is the balance of its administrator\'s account, read with `getPartnerCreditBalance` (and its ledger with `getPartnerCreditTransactions`). The wallet it shows was kept before credits followed the account, and nothing adds to it any more.
415
336
  * Get comprehensive partner billing overview
416
337
  */
417
338
  getPartnerBillingOverview(requestParameters, initOverrides) {
@@ -457,7 +378,7 @@ export class PartnersApi extends runtime.BaseAPI {
457
378
  });
458
379
  }
459
380
  /**
460
- * Retrieves the current credit balance for a partner
381
+ * Returns the credits the partner has: the balance of the account of the person who administers it, and how much of that is reserved by operations that are still running. That is the account its customers\' editor sessions and its own API calls spend from, and the one a paid invoice that carries credits adds to, so it is the same balance `getUserCreditBalance` reads for that person. The partner wallet that was kept before credits followed the account is not read here: nothing adds to it or spends from it any more. A partner with no administrator reads a balance of 0. Access: the person who administers the partner, or a Widgetic administrator.
461
382
  * Get partner credit balance
462
383
  */
463
384
  getPartnerCreditBalanceRaw(requestParameters, initOverrides) {
@@ -480,11 +401,11 @@ export class PartnersApi extends runtime.BaseAPI {
480
401
  headers: headerParameters,
481
402
  query: queryParameters,
482
403
  }, initOverrides);
483
- return new runtime.JSONApiResponse(response, (jsonValue) => GetPartnerCreditBalance200ResponseFromJSON(jsonValue));
404
+ return new runtime.JSONApiResponse(response, (jsonValue) => AccountCreditBalanceFromJSON(jsonValue));
484
405
  });
485
406
  }
486
407
  /**
487
- * Retrieves the current credit balance for a partner
408
+ * Returns the credits the partner has: the balance of the account of the person who administers it, and how much of that is reserved by operations that are still running. That is the account its customers\' editor sessions and its own API calls spend from, and the one a paid invoice that carries credits adds to, so it is the same balance `getUserCreditBalance` reads for that person. The partner wallet that was kept before credits followed the account is not read here: nothing adds to it or spends from it any more. A partner with no administrator reads a balance of 0. Access: the person who administers the partner, or a Widgetic administrator.
488
409
  * Get partner credit balance
489
410
  */
490
411
  getPartnerCreditBalance(requestParameters, initOverrides) {
@@ -494,7 +415,7 @@ export class PartnersApi extends runtime.BaseAPI {
494
415
  });
495
416
  }
496
417
  /**
497
- * Retrieves the transaction history for a partner\'s credits
418
+ * Lists what happened to the partner\'s credits, newest first: the entries of the credit ledger of the account of the person who administers it. Every operation that spends credits is a `debit` entry, and the credits an invoice carried arrive as `credit` entries when the invoice is paid, so this is also how the partner\'s usage is read. It is the same ledger `getUserCreditTransactions` reads for that person. The partner wallet that was kept before credits followed the account is not read here. A partner with no administrator has an empty ledger. The page is always bounded: `limit` defaults to 20 and is capped at 100, `offset` defaults to 0. Access: the person who administers the partner, or a Widgetic administrator.
498
419
  * Get partner credit transaction history
499
420
  */
500
421
  getPartnerCreditTransactionsRaw(requestParameters, initOverrides) {
@@ -526,16 +447,17 @@ export class PartnersApi extends runtime.BaseAPI {
526
447
  headers: headerParameters,
527
448
  query: queryParameters,
528
449
  }, initOverrides);
529
- return new runtime.VoidApiResponse(response);
450
+ return new runtime.JSONApiResponse(response, (jsonValue) => GetPartnerCreditTransactions200ResponseFromJSON(jsonValue));
530
451
  });
531
452
  }
532
453
  /**
533
- * Retrieves the transaction history for a partner\'s credits
454
+ * Lists what happened to the partner\'s credits, newest first: the entries of the credit ledger of the account of the person who administers it. Every operation that spends credits is a `debit` entry, and the credits an invoice carried arrive as `credit` entries when the invoice is paid, so this is also how the partner\'s usage is read. It is the same ledger `getUserCreditTransactions` reads for that person. The partner wallet that was kept before credits followed the account is not read here. A partner with no administrator has an empty ledger. The page is always bounded: `limit` defaults to 20 and is capped at 100, `offset` defaults to 0. Access: the person who administers the partner, or a Widgetic administrator.
534
455
  * Get partner credit transaction history
535
456
  */
536
457
  getPartnerCreditTransactions(requestParameters, initOverrides) {
537
458
  return __awaiter(this, void 0, void 0, function* () {
538
- yield this.getPartnerCreditTransactionsRaw(requestParameters, initOverrides);
459
+ const response = yield this.getPartnerCreditTransactionsRaw(requestParameters, initOverrides);
460
+ return yield response.value();
539
461
  });
540
462
  }
541
463
  /**
@@ -888,7 +810,7 @@ export class PartnersApi extends runtime.BaseAPI {
888
810
  });
889
811
  }
890
812
  /**
891
- * Removes the partner\'s storage destination. Partner storage is not optional, so after this the account\'s own uploads with its API key and the uploads of your customers\' editor sessions are refused (409 `PARTNER_STORAGE_REQUIRED`) until a destination is set again, and no editor session can be made. Files already in the partner\'s bucket are not touched and are not moved: they stay where they are, at the addresses they were given. Removing a destination the partner does not have is not an error: the answer is `removed: false`. The caller must be the person who administers the partner, or a Widgetic administrator.
813
+ * Removes the partner\'s storage destination. Partner storage is not optional, so after this every upload of the account, on any route, and the uploads of your customers\' editor sessions are refused (409 `PARTNER_STORAGE_REQUIRED`) until a destination is set again, and no editor session can be made. Files already in the partner\'s bucket are not touched and are not moved: they stay where they are, at the addresses they were given. Removing a destination the partner does not have is not an error: the answer is `removed: false`. The caller must be the person who administers the partner, or a Widgetic administrator.
892
814
  * Stop storing a partner\'s uploaded files in its own bucket
893
815
  */
894
816
  removePartnerStorageDestinationRaw(requestParameters, initOverrides) {
@@ -915,7 +837,7 @@ export class PartnersApi extends runtime.BaseAPI {
915
837
  });
916
838
  }
917
839
  /**
918
- * Removes the partner\'s storage destination. Partner storage is not optional, so after this the account\'s own uploads with its API key and the uploads of your customers\' editor sessions are refused (409 `PARTNER_STORAGE_REQUIRED`) until a destination is set again, and no editor session can be made. Files already in the partner\'s bucket are not touched and are not moved: they stay where they are, at the addresses they were given. Removing a destination the partner does not have is not an error: the answer is `removed: false`. The caller must be the person who administers the partner, or a Widgetic administrator.
840
+ * Removes the partner\'s storage destination. Partner storage is not optional, so after this every upload of the account, on any route, and the uploads of your customers\' editor sessions are refused (409 `PARTNER_STORAGE_REQUIRED`) until a destination is set again, and no editor session can be made. Files already in the partner\'s bucket are not touched and are not moved: they stay where they are, at the addresses they were given. Removing a destination the partner does not have is not an error: the answer is `removed: false`. The caller must be the person who administers the partner, or a Widgetic administrator.
919
841
  * Stop storing a partner\'s uploaded files in its own bucket
920
842
  */
921
843
  removePartnerStorageDestination(requestParameters, initOverrides) {
@@ -1179,7 +1101,7 @@ export class PartnersApi extends runtime.BaseAPI {
1179
1101
  });
1180
1102
  }
1181
1103
  /**
1182
- * Points the partner at a bucket of its own on an S3-compatible service (Amazon S3, Backblaze B2, Cloudflare R2, Wasabi, MinIO and the like). From then on, a file uploaded with `uploadsPost` by the account that administers the partner is stored in that bucket instead of with Widgetic. It takes none of the account\'s storage allowance, and its `url` is served from `public_base_url`. Only uploads sent with an API key, an SDK token or an editor session use the destination. Uploads from the Widgetic website, resumable uploads and the media library keep using Widgetic\'s storage. A destination is required. Partner storage is not optional: your customers\' files, and your own uploads with your API key, are kept in this destination and nowhere else. An editor session (`createManagedUserEditorSession`) of any surface cannot be made until a destination is set (409 `PARTNER_STORAGE_REQUIRED`), a destination removed later stops the uploads of the sessions already made (the same 409), and your own upload with no destination is refused in the same way instead of being stored with Widgetic. A partner cannot be activated until it has a destination that works. The destination is checked before it is saved. Widgetic writes a small test file under `<key_prefix>widgetic-check/`, reads it back from `<public_base_url>/<its key>`, and deletes it. If any step fails nothing is saved and the answer is 422 `STORAGE_DESTINATION_UNVERIFIED`: `details.step` says where (`endpoint`, `write` or `public_read`), `details.reason` says why, and `param` names the field most likely to be wrong. What the bucket needs: - an access key that may put objects into it (it may also delete objects, which lets the test file be cleaned up, but that is not required); - its files publicly readable at `public_base_url`, either because the bucket is public or through a CDN. The secret access key is stored encrypted and is never returned or logged; a response shows only the last four characters of the access key id (`accessKeyHint`). Saving replaces the whole destination, so send every field again, including the secret. Files already stored stay where they are, and keep working for as long as that bucket stays publicly readable. Once a destination is set, an upload is never stored with Widgetic instead: when the destination cannot be used the upload is refused with 503 `STORAGE_DESTINATION_UNAVAILABLE`, and when the bucket rejects the file with 502 `STORAGE_DESTINATION_WRITE_FAILED`. The caller must be the person who administers the partner (an API key of that account works); anyone else is refused with 403 whether or not the partner exists. Widgetic administrators can set any partner\'s.
1104
+ * Points the partner at a bucket of its own on an S3-compatible service (Amazon S3, Backblaze B2, Cloudflare R2, Wasabi, MinIO and the like). From then on, every file the account that administers the partner stores is kept in that bucket instead of with Widgetic, whichever way it arrives: a file sent with `uploadsPost` (with an API key, an SDK token, an editor session or from the Widgetic website), a resumable upload, the media library, and the files the agent tools and the MCP server save. It takes none of the account\'s storage allowance, and its `url` is served from `public_base_url`. The chunks of a resumable upload wait in Widgetic\'s temporary staging area until it is completed and are removed then: the finished file is stored in your bucket and nowhere else. A destination is required. Partner storage is not optional: your customers\' files, and your own however they arrive, are kept in this destination and nowhere else. An editor session (`createManagedUserEditorSession`) of any surface cannot be made until a destination is set (409 `PARTNER_STORAGE_REQUIRED`), a destination removed later stops the uploads of the sessions already made (the same 409), and your own upload with no destination (on any route, including a resumable upload, which is refused when it is started) is refused in the same way instead of being stored with Widgetic. A partner cannot be activated until it has a destination that works. The destination is checked before it is saved. Widgetic writes a small test file under `<key_prefix>widgetic-check/`, reads it back from `<public_base_url>/<its key>`, and deletes it. If any step fails nothing is saved and the answer is 422 `STORAGE_DESTINATION_UNVERIFIED`: `details.step` says where (`endpoint`, `write` or `public_read`), `details.reason` says why, and `param` names the field most likely to be wrong. What the bucket needs: - an access key that may put objects into it (it may also delete objects, which lets the test file be cleaned up, but that is not required); - its files publicly readable at `public_base_url`, either because the bucket is public or through a CDN. The secret access key is stored encrypted and is never returned or logged; a response shows only the last four characters of the access key id (`accessKeyHint`). Saving replaces the whole destination, so send every field again, including the secret. Files already stored stay where they are, and keep working for as long as that bucket stays publicly readable. Once a destination is set, an upload is never stored with Widgetic instead: when the destination cannot be used the upload is refused with 503 `STORAGE_DESTINATION_UNAVAILABLE`, and when the bucket rejects the file with 502 `STORAGE_DESTINATION_WRITE_FAILED`. The caller must be the person who administers the partner (an API key of that account works); anyone else is refused with 403 whether or not the partner exists. Widgetic administrators can set any partner\'s.
1183
1105
  * Set where a partner\'s uploaded files are stored
1184
1106
  */
1185
1107
  setPartnerStorageDestinationRaw(requestParameters, initOverrides) {
@@ -1211,7 +1133,7 @@ export class PartnersApi extends runtime.BaseAPI {
1211
1133
  });
1212
1134
  }
1213
1135
  /**
1214
- * Points the partner at a bucket of its own on an S3-compatible service (Amazon S3, Backblaze B2, Cloudflare R2, Wasabi, MinIO and the like). From then on, a file uploaded with `uploadsPost` by the account that administers the partner is stored in that bucket instead of with Widgetic. It takes none of the account\'s storage allowance, and its `url` is served from `public_base_url`. Only uploads sent with an API key, an SDK token or an editor session use the destination. Uploads from the Widgetic website, resumable uploads and the media library keep using Widgetic\'s storage. A destination is required. Partner storage is not optional: your customers\' files, and your own uploads with your API key, are kept in this destination and nowhere else. An editor session (`createManagedUserEditorSession`) of any surface cannot be made until a destination is set (409 `PARTNER_STORAGE_REQUIRED`), a destination removed later stops the uploads of the sessions already made (the same 409), and your own upload with no destination is refused in the same way instead of being stored with Widgetic. A partner cannot be activated until it has a destination that works. The destination is checked before it is saved. Widgetic writes a small test file under `<key_prefix>widgetic-check/`, reads it back from `<public_base_url>/<its key>`, and deletes it. If any step fails nothing is saved and the answer is 422 `STORAGE_DESTINATION_UNVERIFIED`: `details.step` says where (`endpoint`, `write` or `public_read`), `details.reason` says why, and `param` names the field most likely to be wrong. What the bucket needs: - an access key that may put objects into it (it may also delete objects, which lets the test file be cleaned up, but that is not required); - its files publicly readable at `public_base_url`, either because the bucket is public or through a CDN. The secret access key is stored encrypted and is never returned or logged; a response shows only the last four characters of the access key id (`accessKeyHint`). Saving replaces the whole destination, so send every field again, including the secret. Files already stored stay where they are, and keep working for as long as that bucket stays publicly readable. Once a destination is set, an upload is never stored with Widgetic instead: when the destination cannot be used the upload is refused with 503 `STORAGE_DESTINATION_UNAVAILABLE`, and when the bucket rejects the file with 502 `STORAGE_DESTINATION_WRITE_FAILED`. The caller must be the person who administers the partner (an API key of that account works); anyone else is refused with 403 whether or not the partner exists. Widgetic administrators can set any partner\'s.
1136
+ * Points the partner at a bucket of its own on an S3-compatible service (Amazon S3, Backblaze B2, Cloudflare R2, Wasabi, MinIO and the like). From then on, every file the account that administers the partner stores is kept in that bucket instead of with Widgetic, whichever way it arrives: a file sent with `uploadsPost` (with an API key, an SDK token, an editor session or from the Widgetic website), a resumable upload, the media library, and the files the agent tools and the MCP server save. It takes none of the account\'s storage allowance, and its `url` is served from `public_base_url`. The chunks of a resumable upload wait in Widgetic\'s temporary staging area until it is completed and are removed then: the finished file is stored in your bucket and nowhere else. A destination is required. Partner storage is not optional: your customers\' files, and your own however they arrive, are kept in this destination and nowhere else. An editor session (`createManagedUserEditorSession`) of any surface cannot be made until a destination is set (409 `PARTNER_STORAGE_REQUIRED`), a destination removed later stops the uploads of the sessions already made (the same 409), and your own upload with no destination (on any route, including a resumable upload, which is refused when it is started) is refused in the same way instead of being stored with Widgetic. A partner cannot be activated until it has a destination that works. The destination is checked before it is saved. Widgetic writes a small test file under `<key_prefix>widgetic-check/`, reads it back from `<public_base_url>/<its key>`, and deletes it. If any step fails nothing is saved and the answer is 422 `STORAGE_DESTINATION_UNVERIFIED`: `details.step` says where (`endpoint`, `write` or `public_read`), `details.reason` says why, and `param` names the field most likely to be wrong. What the bucket needs: - an access key that may put objects into it (it may also delete objects, which lets the test file be cleaned up, but that is not required); - its files publicly readable at `public_base_url`, either because the bucket is public or through a CDN. The secret access key is stored encrypted and is never returned or logged; a response shows only the last four characters of the access key id (`accessKeyHint`). Saving replaces the whole destination, so send every field again, including the secret. Files already stored stay where they are, and keep working for as long as that bucket stays publicly readable. Once a destination is set, an upload is never stored with Widgetic instead: when the destination cannot be used the upload is refused with 503 `STORAGE_DESTINATION_UNAVAILABLE`, and when the bucket rejects the file with 502 `STORAGE_DESTINATION_WRITE_FAILED`. The caller must be the person who administers the partner (an API key of that account works); anyone else is refused with 403 whether or not the partner exists. Widgetic administrators can set any partner\'s.
1215
1137
  * Set where a partner\'s uploaded files are stored
1216
1138
  */
1217
1139
  setPartnerStorageDestination(requestParameters, initOverrides) {
@@ -1348,13 +1270,3 @@ export class PartnersApi extends runtime.BaseAPI {
1348
1270
  });
1349
1271
  }
1350
1272
  }
1351
- /**
1352
- * @export
1353
- */
1354
- export const GetPartnerCreditTransactionsTypeEnum = {
1355
- Credit: 'credit',
1356
- Debit: 'debit',
1357
- Purchase: 'purchase',
1358
- Usage: 'usage',
1359
- Refund: 'refund'
1360
- };
@@ -40,22 +40,22 @@ export declare class PublicEmbedApi extends runtime.BaseAPI {
40
40
  */
41
41
  createPublicCompositionEntry(requestParameters: CreatePublicCompositionEntryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PublicCompositionEntryCreated>;
42
42
  /**
43
- * Public customer embed lookup. No API key. Used by embed-sdk.js on third-party sites. If the composition\'s owner listed the websites it may appear on (the workspace\'s domain list, or the `allowedDomains` of a partner the owner administers), a request from any other website is refused with 403 `DOMAIN_NOT_ALLOWED`. The website is read from the `Origin` header, or the host of `Referer` when there is no `Origin`; a request that names neither (a server, a tool) is not refused. An owner who listed nothing is not restricted, and a page on the visitor\'s own machine (`localhost`, `127.0.0.1` or `[::1]`, on any port) is always allowed. The list stops other websites from showing the embed in a visitor\'s browser; it does not hide the published content from someone who holds the composition ID. **Address.** `https://api.widgetic.com/embed/compositions/{compositionId}`: the root of the API host, NOT under `/v1`. A client generated from this description for `https://api.widgetic.com/v1` must be given the base address `https://api.widgetic.com` for the calls of the `Public Embed` tag. **Limit.** 500 calls for each visitor address and browser in one counting window, shared with the frame and the status routes. Over it the answer is 429 `RATE_LIMITED` with a `Retry-After` header.
43
+ * Public customer embed lookup. No API key. Used by embed-sdk.js on third-party sites. If the composition\'s owner listed the websites it may appear on (the workspace\'s domain list, or the `allowedDomains` of a partner the owner administers), a request from any other website is refused with 403 `DOMAIN_NOT_ALLOWED`. The website is read from the `Origin` header, or the host of `Referer` when there is no `Origin`; a request that names neither (a server, a tool) is not refused. An owner who listed nothing is not restricted, and a page on the visitor\'s own machine (`localhost`, `127.0.0.1` or `[::1]`, on any port) is always allowed. So is the website where a partner integrates Widgetic, with every subdomain of it (`platformDomain` in the answer of `GET /partners/mine`), for the widgets of that partner: a partner\'s list never has to name it. The list stops other websites from showing the embed in a visitor\'s browser; it does not hide the published content from someone who holds the composition ID. **Address.** `https://api.widgetic.com/embed/compositions/{compositionId}`: the root of the API host, NOT under `/v1`. A client generated from this description for `https://api.widgetic.com/v1` must be given the base address `https://api.widgetic.com` for the calls of the `Public Embed` tag. **Limit.** 500 calls for each visitor address and browser in one counting window, shared with the frame and the status routes. Over it the answer is 429 `RATE_LIMITED` with a `Retry-After` header.
44
44
  * Resolve a composition UUID to a published widget URL
45
45
  */
46
46
  getPublicCompositionEmbedRaw(requestParameters: GetPublicCompositionEmbedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetPublicCompositionEmbed200Response>>;
47
47
  /**
48
- * Public customer embed lookup. No API key. Used by embed-sdk.js on third-party sites. If the composition\'s owner listed the websites it may appear on (the workspace\'s domain list, or the `allowedDomains` of a partner the owner administers), a request from any other website is refused with 403 `DOMAIN_NOT_ALLOWED`. The website is read from the `Origin` header, or the host of `Referer` when there is no `Origin`; a request that names neither (a server, a tool) is not refused. An owner who listed nothing is not restricted, and a page on the visitor\'s own machine (`localhost`, `127.0.0.1` or `[::1]`, on any port) is always allowed. The list stops other websites from showing the embed in a visitor\'s browser; it does not hide the published content from someone who holds the composition ID. **Address.** `https://api.widgetic.com/embed/compositions/{compositionId}`: the root of the API host, NOT under `/v1`. A client generated from this description for `https://api.widgetic.com/v1` must be given the base address `https://api.widgetic.com` for the calls of the `Public Embed` tag. **Limit.** 500 calls for each visitor address and browser in one counting window, shared with the frame and the status routes. Over it the answer is 429 `RATE_LIMITED` with a `Retry-After` header.
48
+ * Public customer embed lookup. No API key. Used by embed-sdk.js on third-party sites. If the composition\'s owner listed the websites it may appear on (the workspace\'s domain list, or the `allowedDomains` of a partner the owner administers), a request from any other website is refused with 403 `DOMAIN_NOT_ALLOWED`. The website is read from the `Origin` header, or the host of `Referer` when there is no `Origin`; a request that names neither (a server, a tool) is not refused. An owner who listed nothing is not restricted, and a page on the visitor\'s own machine (`localhost`, `127.0.0.1` or `[::1]`, on any port) is always allowed. So is the website where a partner integrates Widgetic, with every subdomain of it (`platformDomain` in the answer of `GET /partners/mine`), for the widgets of that partner: a partner\'s list never has to name it. The list stops other websites from showing the embed in a visitor\'s browser; it does not hide the published content from someone who holds the composition ID. **Address.** `https://api.widgetic.com/embed/compositions/{compositionId}`: the root of the API host, NOT under `/v1`. A client generated from this description for `https://api.widgetic.com/v1` must be given the base address `https://api.widgetic.com` for the calls of the `Public Embed` tag. **Limit.** 500 calls for each visitor address and browser in one counting window, shared with the frame and the status routes. Over it the answer is 429 `RATE_LIMITED` with a `Retry-After` header.
49
49
  * Resolve a composition UUID to a published widget URL
50
50
  */
51
51
  getPublicCompositionEmbed(requestParameters: GetPublicCompositionEmbedRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetPublicCompositionEmbed200Response>;
52
52
  /**
53
- * Public HTML wrapper with an inner published artifact iframe. No API key or SDK required. If the composition\'s owner listed the websites it may appear on, the page is sent with `Content-Security-Policy: frame-ancestors` naming those websites (and Widgetic\'s own), so a browser refuses to show it inside any other website whatever `Referer` policy that website uses. Opening the address directly still works. An owner who listed nothing is not restricted. **Address.** `https://api.widgetic.com/embed/compositions/{compositionId}/frame`: the root of the API host, NOT under `/v1`. A client generated from this description for `https://api.widgetic.com/v1` must be given the base address `https://api.widgetic.com` for the calls of the `Public Embed` tag.
53
+ * Public HTML wrapper with an inner published artifact iframe. No API key or SDK required. If the composition\'s owner listed the websites it may appear on, the page is sent with `Content-Security-Policy: frame-ancestors` naming those websites (and Widgetic\'s own, and the website where the partner the owner administers integrates Widgetic, with its subdomains), so a browser refuses to show it inside any other website whatever `Referer` policy that website uses. Opening the address directly still works. An owner who listed nothing is not restricted. **Address.** `https://api.widgetic.com/embed/compositions/{compositionId}/frame`: the root of the API host, NOT under `/v1`. A client generated from this description for `https://api.widgetic.com/v1` must be given the base address `https://api.widgetic.com` for the calls of the `Public Embed` tag.
54
54
  * Embed a published composition with its saved values
55
55
  */
56
56
  getPublicCompositionIframeRaw(requestParameters: GetPublicCompositionIframeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
57
57
  /**
58
- * Public HTML wrapper with an inner published artifact iframe. No API key or SDK required. If the composition\'s owner listed the websites it may appear on, the page is sent with `Content-Security-Policy: frame-ancestors` naming those websites (and Widgetic\'s own), so a browser refuses to show it inside any other website whatever `Referer` policy that website uses. Opening the address directly still works. An owner who listed nothing is not restricted. **Address.** `https://api.widgetic.com/embed/compositions/{compositionId}/frame`: the root of the API host, NOT under `/v1`. A client generated from this description for `https://api.widgetic.com/v1` must be given the base address `https://api.widgetic.com` for the calls of the `Public Embed` tag.
58
+ * Public HTML wrapper with an inner published artifact iframe. No API key or SDK required. If the composition\'s owner listed the websites it may appear on, the page is sent with `Content-Security-Policy: frame-ancestors` naming those websites (and Widgetic\'s own, and the website where the partner the owner administers integrates Widgetic, with its subdomains), so a browser refuses to show it inside any other website whatever `Referer` policy that website uses. Opening the address directly still works. An owner who listed nothing is not restricted. **Address.** `https://api.widgetic.com/embed/compositions/{compositionId}/frame`: the root of the API host, NOT under `/v1`. A client generated from this description for `https://api.widgetic.com/v1` must be given the base address `https://api.widgetic.com` for the calls of the `Public Embed` tag.
59
59
  * Embed a published composition with its saved values
60
60
  */
61
61
  getPublicCompositionIframe(requestParameters: GetPublicCompositionIframeRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;