@widgetic/api-sdk 1.0.24 → 1.0.25

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 (1471) hide show
  1. package/dist/apis/ABTestingApi.d.ts +29 -1
  2. package/dist/apis/ABTestingApi.js +80 -0
  3. package/dist/apis/AdminApi.d.ts +192 -1
  4. package/dist/apis/AdminApi.js +507 -1
  5. package/dist/apis/AdminBillingApi.d.ts +103 -97
  6. package/dist/apis/AdminBillingApi.js +182 -168
  7. package/dist/apis/AgentApi.d.ts +31 -42
  8. package/dist/apis/AgentApi.js +67 -110
  9. package/dist/apis/AuthenticationApi.d.ts +19 -3
  10. package/dist/apis/AuthenticationApi.js +35 -4
  11. package/dist/apis/BillingApi.d.ts +42 -42
  12. package/dist/apis/BillingApi.js +68 -68
  13. package/dist/apis/CanvasesApi.d.ts +10 -8
  14. package/dist/apis/CanvasesApi.js +14 -8
  15. package/dist/apis/ComponentsApi.d.ts +1 -28
  16. package/dist/apis/ComponentsApi.js +0 -85
  17. package/dist/apis/CompositionsApi.d.ts +74 -17
  18. package/dist/apis/CompositionsApi.js +178 -15
  19. package/dist/apis/CreditsApi.d.ts +15 -14
  20. package/dist/apis/CreditsApi.js +15 -14
  21. package/dist/apis/EntitlementsApi.js +3 -3
  22. package/dist/apis/InvoicesApi.d.ts +35 -19
  23. package/dist/apis/InvoicesApi.js +33 -18
  24. package/dist/apis/MCPApi.d.ts +2 -35
  25. package/dist/apis/MCPApi.js +2 -89
  26. package/dist/apis/ManagedUsersApi.d.ts +105 -11
  27. package/dist/apis/ManagedUsersApi.js +285 -9
  28. package/dist/apis/MonitoringApi.d.ts +19 -19
  29. package/dist/apis/MonitoringApi.js +24 -24
  30. package/dist/apis/OAuthConnectionsApi.d.ts +68 -0
  31. package/dist/apis/OAuthConnectionsApi.js +183 -0
  32. package/dist/apis/OperationsApi.d.ts +9 -4
  33. package/dist/apis/OperationsApi.js +8 -3
  34. package/dist/apis/OrganizationsApi.d.ts +35 -19
  35. package/dist/apis/OrganizationsApi.js +71 -17
  36. package/dist/apis/PartnerCustomizationsApi.d.ts +6 -6
  37. package/dist/apis/PartnerCustomizationsApi.js +6 -6
  38. package/dist/apis/PartnersApi.d.ts +124 -3
  39. package/dist/apis/PartnersApi.js +350 -2
  40. package/dist/apis/ShopifyApi.d.ts +127 -0
  41. package/dist/apis/ShopifyApi.js +335 -0
  42. package/dist/apis/SubscriptionsApi.d.ts +17 -17
  43. package/dist/apis/SubscriptionsApi.js +42 -42
  44. package/dist/apis/UploadsApi.d.ts +41 -22
  45. package/dist/apis/UploadsApi.js +86 -30
  46. package/dist/apis/UsageApi.d.ts +6 -6
  47. package/dist/apis/UsageApi.js +9 -9
  48. package/dist/apis/UsersApi.d.ts +138 -1
  49. package/dist/apis/UsersApi.js +404 -0
  50. package/dist/apis/WidgetsApi.d.ts +30 -27
  51. package/dist/apis/WidgetsApi.js +68 -39
  52. package/dist/apis/WorkspacesApi.d.ts +29 -1
  53. package/dist/apis/WorkspacesApi.js +80 -0
  54. package/dist/apis/index.d.ts +2 -3
  55. package/dist/apis/index.js +2 -3
  56. package/dist/esm/apis/ABTestingApi.d.ts +29 -1
  57. package/dist/esm/apis/ABTestingApi.js +81 -1
  58. package/dist/esm/apis/AdminApi.d.ts +192 -1
  59. package/dist/esm/apis/AdminApi.js +507 -1
  60. package/dist/esm/apis/AdminBillingApi.d.ts +103 -97
  61. package/dist/esm/apis/AdminBillingApi.js +182 -168
  62. package/dist/esm/apis/AgentApi.d.ts +31 -42
  63. package/dist/esm/apis/AgentApi.js +68 -111
  64. package/dist/esm/apis/AuthenticationApi.d.ts +19 -3
  65. package/dist/esm/apis/AuthenticationApi.js +36 -5
  66. package/dist/esm/apis/BillingApi.d.ts +42 -42
  67. package/dist/esm/apis/BillingApi.js +69 -69
  68. package/dist/esm/apis/CanvasesApi.d.ts +10 -8
  69. package/dist/esm/apis/CanvasesApi.js +14 -8
  70. package/dist/esm/apis/ComponentsApi.d.ts +1 -28
  71. package/dist/esm/apis/ComponentsApi.js +1 -86
  72. package/dist/esm/apis/CompositionsApi.d.ts +74 -17
  73. package/dist/esm/apis/CompositionsApi.js +179 -16
  74. package/dist/esm/apis/CreditsApi.d.ts +15 -14
  75. package/dist/esm/apis/CreditsApi.js +15 -14
  76. package/dist/esm/apis/EntitlementsApi.js +3 -3
  77. package/dist/esm/apis/InvoicesApi.d.ts +35 -19
  78. package/dist/esm/apis/InvoicesApi.js +32 -17
  79. package/dist/esm/apis/MCPApi.d.ts +2 -35
  80. package/dist/esm/apis/MCPApi.js +2 -89
  81. package/dist/esm/apis/ManagedUsersApi.d.ts +105 -11
  82. package/dist/esm/apis/ManagedUsersApi.js +286 -10
  83. package/dist/esm/apis/MonitoringApi.d.ts +19 -19
  84. package/dist/esm/apis/MonitoringApi.js +24 -24
  85. package/dist/esm/apis/OAuthConnectionsApi.d.ts +68 -0
  86. package/dist/esm/apis/OAuthConnectionsApi.js +179 -0
  87. package/dist/esm/apis/OperationsApi.d.ts +9 -4
  88. package/dist/esm/apis/OperationsApi.js +8 -3
  89. package/dist/esm/apis/OrganizationsApi.d.ts +35 -19
  90. package/dist/esm/apis/OrganizationsApi.js +72 -18
  91. package/dist/esm/apis/PartnerCustomizationsApi.d.ts +6 -6
  92. package/dist/esm/apis/PartnerCustomizationsApi.js +6 -6
  93. package/dist/esm/apis/PartnersApi.d.ts +124 -3
  94. package/dist/esm/apis/PartnersApi.js +351 -3
  95. package/dist/esm/apis/ShopifyApi.d.ts +127 -0
  96. package/dist/esm/apis/ShopifyApi.js +331 -0
  97. package/dist/esm/apis/SubscriptionsApi.d.ts +17 -17
  98. package/dist/esm/apis/SubscriptionsApi.js +43 -43
  99. package/dist/esm/apis/UploadsApi.d.ts +41 -22
  100. package/dist/esm/apis/UploadsApi.js +86 -30
  101. package/dist/esm/apis/UsageApi.d.ts +6 -6
  102. package/dist/esm/apis/UsageApi.js +9 -9
  103. package/dist/esm/apis/UsersApi.d.ts +138 -1
  104. package/dist/esm/apis/UsersApi.js +405 -1
  105. package/dist/esm/apis/WidgetsApi.d.ts +30 -27
  106. package/dist/esm/apis/WidgetsApi.js +68 -39
  107. package/dist/esm/apis/WorkspacesApi.d.ts +29 -1
  108. package/dist/esm/apis/WorkspacesApi.js +81 -1
  109. package/dist/esm/apis/index.d.ts +2 -3
  110. package/dist/esm/apis/index.js +2 -3
  111. package/dist/esm/models/ABTestDiagnosis.d.ts +69 -0
  112. package/dist/esm/models/ABTestDiagnosis.js +61 -0
  113. package/dist/esm/models/ABTestStatistics.d.ts +47 -0
  114. package/dist/esm/models/ABTestStatistics.js +48 -0
  115. package/dist/esm/models/ABTestStatisticsOverall.d.ts +56 -0
  116. package/dist/esm/models/ABTestStatisticsOverall.js +49 -0
  117. package/dist/esm/models/ABTestStatisticsRecommendation.d.ts +54 -0
  118. package/dist/esm/models/ABTestStatisticsRecommendation.js +54 -0
  119. package/dist/esm/models/ABTestStatisticsVariantsInner.d.ts +104 -0
  120. package/dist/esm/models/ABTestStatisticsVariantsInner.js +65 -0
  121. package/dist/esm/models/AccountCreditBalance.d.ts +58 -0
  122. package/dist/esm/models/AccountCreditBalance.js +49 -0
  123. package/dist/esm/models/AccountCreditTransaction.d.ts +69 -0
  124. package/dist/esm/models/AccountCreditTransaction.js +53 -0
  125. package/dist/esm/models/AddPartnerCreditsRequest.d.ts +1 -1
  126. package/dist/esm/models/AdjustPartnerCredits200Response.d.ts +44 -0
  127. package/dist/esm/models/AdjustPartnerCredits200Response.js +45 -0
  128. package/dist/esm/models/AdjustPartnerCreditsRequest.d.ts +54 -0
  129. package/dist/esm/models/AdjustPartnerCreditsRequest.js +60 -0
  130. package/dist/esm/models/AdjustUserCredits200Response.d.ts +44 -0
  131. package/dist/esm/models/AdjustUserCredits200Response.js +45 -0
  132. package/dist/esm/models/AdjustUserCreditsRequest.d.ts +44 -0
  133. package/dist/esm/models/AdjustUserCreditsRequest.js +51 -0
  134. package/dist/esm/models/AdminBillingGrantsGrantIdRejectPostRequest.d.ts +32 -0
  135. package/dist/esm/models/AdminBillingGrantsGrantIdRejectPostRequest.js +41 -0
  136. package/dist/esm/models/AdminBillingGrantsPost200Response.d.ts +39 -0
  137. package/dist/esm/models/AdminBillingGrantsPost200Response.js +44 -0
  138. package/dist/esm/models/AdminBillingGrantsPost200ResponseData.d.ts +46 -0
  139. package/dist/esm/models/AdminBillingGrantsPost200ResponseData.js +46 -0
  140. package/dist/esm/models/AdminBillingGrantsPost200ResponseDataGrant.d.ts +110 -0
  141. package/dist/esm/models/AdminBillingGrantsPost200ResponseDataGrant.js +77 -0
  142. package/dist/esm/models/AdminBillingGrantsPostRequest.d.ts +82 -0
  143. package/dist/esm/models/AdminBillingGrantsPostRequest.js +79 -0
  144. package/dist/esm/models/AdminBillingPlansPricesBackfillPostRequest.d.ts +32 -0
  145. package/dist/esm/models/AdminBillingPlansPricesBackfillPostRequest.js +41 -0
  146. package/dist/esm/models/AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +32 -0
  147. package/dist/esm/models/AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +43 -0
  148. package/dist/esm/models/AdminBillingRefundsClawbacksGet200Response.d.ts +39 -0
  149. package/dist/esm/models/AdminBillingRefundsClawbacksGet200Response.js +44 -0
  150. package/dist/esm/models/AdminBillingRefundsClawbacksGet200ResponseData.d.ts +57 -0
  151. package/dist/esm/models/AdminBillingRefundsClawbacksGet200ResponseData.js +50 -0
  152. package/dist/esm/models/AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.d.ts +68 -0
  153. package/dist/esm/models/AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.js +53 -0
  154. package/dist/esm/models/AdminBillingRefundsPostRequest.d.ts +70 -0
  155. package/dist/esm/models/AdminBillingRefundsPostRequest.js +64 -0
  156. package/dist/esm/models/AdminBillingRefundsPreviewPost200Response.d.ts +71 -0
  157. package/dist/esm/models/AdminBillingRefundsPreviewPost200Response.js +59 -0
  158. package/dist/esm/models/AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
  159. package/dist/esm/models/AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js +48 -0
  160. package/dist/esm/models/AdminBillingRefundsPreviewPostRequest.d.ts +70 -0
  161. package/dist/esm/models/AdminBillingRefundsPreviewPostRequest.js +62 -0
  162. package/dist/esm/models/AdminBillingSubscriptionsSubjectIdCancelPostRequest.d.ts +46 -0
  163. package/dist/esm/models/AdminBillingSubscriptionsSubjectIdCancelPostRequest.js +52 -0
  164. package/dist/esm/models/AgentDesignResolvePost200Response.d.ts +39 -0
  165. package/dist/esm/models/AgentDesignResolvePost200Response.js +44 -0
  166. package/dist/esm/models/AgentDesignResolvePost200ResponseData.d.ts +80 -0
  167. package/dist/esm/models/AgentDesignResolvePost200ResponseData.js +57 -0
  168. package/dist/esm/models/AgentDesignResolvePostRequest.d.ts +54 -0
  169. package/dist/esm/models/AgentDesignResolvePostRequest.js +51 -0
  170. package/dist/esm/models/AgentShapeRecognizePost200Response.d.ts +39 -0
  171. package/dist/esm/models/AgentShapeRecognizePost200Response.js +44 -0
  172. package/dist/esm/models/AgentShapeRecognizePost200ResponseData.d.ts +68 -0
  173. package/dist/esm/models/AgentShapeRecognizePost200ResponseData.js +53 -0
  174. package/dist/esm/models/AgentShapeRecognizePostRequest.d.ts +54 -0
  175. package/dist/esm/models/AgentShapeRecognizePostRequest.js +53 -0
  176. package/dist/esm/models/AgentShapeRecognizePostRequestCandidatesInner.d.ts +44 -0
  177. package/dist/esm/models/AgentShapeRecognizePostRequestCandidatesInner.js +51 -0
  178. package/dist/esm/models/AgentShapeRecognizePostRequestDeterministic.d.ts +38 -0
  179. package/dist/esm/models/AgentShapeRecognizePostRequestDeterministic.js +43 -0
  180. package/dist/esm/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.d.ts +6 -0
  181. package/dist/esm/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.js +2 -0
  182. package/dist/esm/models/ApproveShopifySeat200Response.d.ts +39 -0
  183. package/dist/esm/models/ApproveShopifySeat200Response.js +44 -0
  184. package/dist/esm/models/ApproveShopifySeat200ResponseData.d.ts +50 -0
  185. package/dist/esm/models/ApproveShopifySeat200ResponseData.js +52 -0
  186. package/dist/esm/models/ApproveShopifySeat200ResponseDataSeat.d.ts +52 -0
  187. package/dist/esm/models/ApproveShopifySeat200ResponseDataSeat.js +52 -0
  188. package/dist/esm/models/BillingPricingGet200Response.d.ts +39 -0
  189. package/dist/esm/models/BillingPricingGet200Response.js +44 -0
  190. package/dist/esm/models/BillingPricingGet200ResponseData.d.ts +46 -0
  191. package/dist/esm/models/BillingPricingGet200ResponseData.js +47 -0
  192. package/dist/esm/models/BillingPricingGet200ResponseDataPlansInner.d.ts +68 -0
  193. package/dist/esm/models/BillingPricingGet200ResponseDataPlansInner.js +53 -0
  194. package/dist/esm/models/BillingPricingGet200ResponseDataTrial.d.ts +44 -0
  195. package/dist/esm/models/BillingPricingGet200ResponseDataTrial.js +45 -0
  196. package/dist/esm/models/BillingUsersUserIdInvoicesGet200Response.d.ts +39 -0
  197. package/dist/esm/models/BillingUsersUserIdInvoicesGet200Response.js +44 -0
  198. package/dist/esm/models/BillingUsersUserIdInvoicesGet200ResponseData.d.ts +33 -0
  199. package/dist/esm/models/BillingUsersUserIdInvoicesGet200ResponseData.js +42 -0
  200. package/dist/esm/models/BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.d.ts +68 -0
  201. package/dist/esm/models/BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.js +53 -0
  202. package/dist/esm/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.d.ts +39 -0
  203. package/dist/esm/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.js +44 -0
  204. package/dist/esm/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.d.ts +32 -0
  205. package/dist/esm/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.js +41 -0
  206. package/dist/esm/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.d.ts +39 -0
  207. package/dist/esm/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.js +44 -0
  208. package/dist/esm/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.d.ts +32 -0
  209. package/dist/esm/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.js +41 -0
  210. package/dist/esm/models/BillingUsersUserIdPortalPostRequest.d.ts +32 -0
  211. package/dist/esm/models/BillingUsersUserIdPortalPostRequest.js +41 -0
  212. package/dist/esm/models/BillingUsersUserIdSubscriptionCancelPost200Response.d.ts +39 -0
  213. package/dist/esm/models/BillingUsersUserIdSubscriptionCancelPost200Response.js +44 -0
  214. package/dist/esm/models/BillingUsersUserIdSubscriptionCancelPost200ResponseData.d.ts +32 -0
  215. package/dist/esm/models/BillingUsersUserIdSubscriptionCancelPost200ResponseData.js +41 -0
  216. package/dist/esm/models/BillingUsersUserIdSubscriptionCancelPostRequest.d.ts +32 -0
  217. package/dist/esm/models/BillingUsersUserIdSubscriptionCancelPostRequest.js +41 -0
  218. package/dist/esm/models/BillingUsersUserIdSubscriptionGet200Response.d.ts +39 -0
  219. package/dist/esm/models/BillingUsersUserIdSubscriptionGet200Response.js +44 -0
  220. package/dist/esm/models/BillingUsersUserIdSubscriptionGet200ResponseData.d.ts +120 -0
  221. package/dist/esm/models/BillingUsersUserIdSubscriptionGet200ResponseData.js +76 -0
  222. package/dist/esm/models/BillingUsersUserIdSubscriptionPayPost200Response.d.ts +39 -0
  223. package/dist/esm/models/BillingUsersUserIdSubscriptionPayPost200Response.js +44 -0
  224. package/dist/esm/models/BillingUsersUserIdSubscriptionPayPost200ResponseData.d.ts +38 -0
  225. package/dist/esm/models/BillingUsersUserIdSubscriptionPayPost200ResponseData.js +43 -0
  226. package/dist/esm/models/BillingUsersUserIdSubscriptionPost200Response.d.ts +39 -0
  227. package/dist/esm/models/BillingUsersUserIdSubscriptionPost200Response.js +44 -0
  228. package/dist/esm/models/BillingUsersUserIdSubscriptionPost200ResponseData.d.ts +38 -0
  229. package/dist/esm/models/BillingUsersUserIdSubscriptionPost200ResponseData.js +43 -0
  230. package/dist/esm/models/BillingUsersUserIdSubscriptionPostRequest.d.ts +59 -0
  231. package/dist/esm/models/BillingUsersUserIdSubscriptionPostRequest.js +60 -0
  232. package/dist/esm/models/CancelStoragePackRequest.d.ts +40 -0
  233. package/dist/esm/models/CancelStoragePackRequest.js +43 -0
  234. package/dist/esm/models/Canvas.d.ts +6 -0
  235. package/dist/esm/models/Canvas.js +2 -0
  236. package/dist/esm/models/Component.d.ts +4 -4
  237. package/dist/esm/models/Component.js +8 -8
  238. package/dist/esm/models/Composition.d.ts +6 -0
  239. package/dist/esm/models/Composition.js +2 -0
  240. package/dist/esm/models/CompositionEntriesDescription.d.ts +47 -0
  241. package/dist/esm/models/CompositionEntriesDescription.js +52 -0
  242. package/dist/esm/models/CompositionEntriesReading.d.ts +83 -0
  243. package/dist/esm/models/CompositionEntriesReading.js +72 -0
  244. package/dist/esm/models/CompositionEntryColumn.d.ts +38 -0
  245. package/dist/esm/models/CompositionEntryColumn.js +47 -0
  246. package/dist/esm/models/CompositionEntryTable.d.ts +45 -0
  247. package/dist/esm/models/CompositionEntryTable.js +52 -0
  248. package/dist/esm/models/CompositionEntryTally.d.ts +40 -0
  249. package/dist/esm/models/CompositionEntryTally.js +47 -0
  250. package/dist/esm/models/CompositionVersion.d.ts +1 -1
  251. package/dist/esm/models/CompositionVersion.js +2 -2
  252. package/dist/esm/models/ConfigureAutoReloadRequest.d.ts +1 -1
  253. package/dist/esm/models/CopyMyPresetRequest.d.ts +32 -0
  254. package/dist/esm/models/CopyMyPresetRequest.js +43 -0
  255. package/dist/esm/models/CopyPartnerPresetRequest.d.ts +32 -0
  256. package/dist/esm/models/CopyPartnerPresetRequest.js +41 -0
  257. package/dist/esm/models/CreateCanvasRequest.d.ts +12 -0
  258. package/dist/esm/models/CreateCanvasRequest.js +4 -0
  259. package/dist/esm/models/CreateInvoiceRequest.d.ts +137 -0
  260. package/dist/esm/models/CreateInvoiceRequest.js +100 -0
  261. package/dist/esm/models/CreateInvoiceRequestItemsInner.d.ts +50 -0
  262. package/dist/esm/models/CreateInvoiceRequestItemsInner.js +55 -0
  263. package/dist/esm/models/CreateMessageRequest.d.ts +7 -13
  264. package/dist/esm/models/CreateMessageRequest.js +5 -4
  265. package/dist/esm/models/CreateMessageRequestSuggestionsInner.d.ts +46 -0
  266. package/dist/esm/models/CreateMessageRequestSuggestionsInner.js +54 -0
  267. package/dist/esm/models/CreateOrganizationTranslationRequest.d.ts +58 -0
  268. package/dist/esm/models/CreateOrganizationTranslationRequest.js +57 -0
  269. package/dist/esm/models/CreatePartnerRequest.d.ts +71 -0
  270. package/dist/esm/models/CreatePartnerRequest.js +59 -0
  271. package/dist/esm/models/CreateShopifyBuilderSession200Response.d.ts +39 -0
  272. package/dist/esm/models/CreateShopifyBuilderSession200Response.js +44 -0
  273. package/dist/esm/models/CreateShopifyBuilderSession200ResponseData.d.ts +44 -0
  274. package/dist/esm/models/CreateShopifyBuilderSession200ResponseData.js +45 -0
  275. package/dist/esm/models/CreateShopifyBuilderSessionRequest.d.ts +32 -0
  276. package/dist/esm/models/CreateShopifyBuilderSessionRequest.js +41 -0
  277. package/dist/esm/models/CreateUserApiKeyRequest.d.ts +38 -0
  278. package/dist/esm/models/CreateUserApiKeyRequest.js +45 -0
  279. package/dist/esm/models/CreateWidget201Response.d.ts +3 -3
  280. package/dist/esm/models/CreateWidget201Response.js +3 -3
  281. package/dist/esm/models/CreateWidget201ResponseData.d.ts +181 -0
  282. package/dist/esm/models/CreateWidget201ResponseData.js +95 -0
  283. package/dist/esm/models/CreatedUserApiKey.d.ts +68 -0
  284. package/dist/esm/models/CreatedUserApiKey.js +65 -0
  285. package/dist/esm/models/DecideOAuthAuthorization200Response.d.ts +39 -0
  286. package/dist/esm/models/DecideOAuthAuthorization200Response.js +44 -0
  287. package/dist/esm/models/DecideOAuthAuthorization200ResponseData.d.ts +59 -0
  288. package/dist/esm/models/DecideOAuthAuthorization200ResponseData.js +62 -0
  289. package/dist/esm/models/DecideOAuthAuthorizationRequest.d.ts +32 -0
  290. package/dist/esm/models/DecideOAuthAuthorizationRequest.js +43 -0
  291. package/dist/esm/models/DeclineShopifySeat200Response.d.ts +39 -0
  292. package/dist/esm/models/DeclineShopifySeat200Response.js +44 -0
  293. package/dist/esm/models/DeclineShopifySeat200ResponseData.d.ts +47 -0
  294. package/dist/esm/models/DeclineShopifySeat200ResponseData.js +51 -0
  295. package/dist/esm/models/DeclineShopifySeat200ResponseDataSeat.d.ts +52 -0
  296. package/dist/esm/models/DeclineShopifySeat200ResponseDataSeat.js +52 -0
  297. package/dist/esm/models/DeleteAccountRequest.d.ts +32 -0
  298. package/dist/esm/models/DeleteAccountRequest.js +41 -0
  299. package/dist/esm/models/DeletePersonalWorkspaceDomain200Response.d.ts +32 -0
  300. package/dist/esm/models/DeletePersonalWorkspaceDomain200Response.js +41 -0
  301. package/dist/esm/models/DeleteUserApiKey200Response.d.ts +32 -0
  302. package/dist/esm/models/DeleteUserApiKey200Response.js +41 -0
  303. package/dist/esm/models/DisconnectOAuthConnection200Response.d.ts +39 -0
  304. package/dist/esm/models/DisconnectOAuthConnection200Response.js +44 -0
  305. package/dist/esm/models/DisconnectOAuthConnection200ResponseData.d.ts +32 -0
  306. package/dist/esm/models/DisconnectOAuthConnection200ResponseData.js +43 -0
  307. package/dist/esm/models/DuplicateWidgetRequest.d.ts +18 -0
  308. package/dist/esm/models/DuplicateWidgetRequest.js +6 -0
  309. package/dist/esm/models/EditorSession.d.ts +91 -0
  310. package/dist/esm/models/EditorSession.js +79 -0
  311. package/dist/esm/models/Entitlement.d.ts +7 -7
  312. package/dist/esm/models/Entitlement.js +14 -14
  313. package/dist/esm/models/EntitlementCheck.d.ts +1 -1
  314. package/dist/esm/models/EntitlementCheck.js +2 -2
  315. package/dist/esm/models/ForbiddenErrorResponse.d.ts +51 -0
  316. package/dist/esm/models/ForbiddenErrorResponse.js +52 -0
  317. package/dist/esm/models/ForbiddenErrorResponseError.d.ts +57 -0
  318. package/dist/esm/models/ForbiddenErrorResponseError.js +54 -0
  319. package/dist/esm/models/ForbiddenErrorResponseErrorDetails.d.ts +49 -0
  320. package/dist/esm/models/ForbiddenErrorResponseErrorDetails.js +50 -0
  321. package/dist/esm/models/GenerateCodeRequest.d.ts +41 -33
  322. package/dist/esm/models/GenerateCodeRequest.js +21 -10
  323. package/dist/esm/models/GenerateCodeRequestBrandKit.d.ts +69 -0
  324. package/dist/esm/models/GenerateCodeRequestBrandKit.js +59 -0
  325. package/dist/esm/models/GenerateCodeRequestBrandKitUploadsInner.d.ts +52 -0
  326. package/dist/esm/models/GenerateCodeRequestBrandKitUploadsInner.js +52 -0
  327. package/dist/esm/models/GetAllManagedUsers200Response.d.ts +7 -12
  328. package/dist/esm/models/GetAllManagedUsers200Response.js +5 -6
  329. package/dist/esm/models/GetAllManagedUsers200ResponseMeta.d.ts +56 -0
  330. package/dist/esm/models/GetAllManagedUsers200ResponseMeta.js +49 -0
  331. package/dist/esm/models/GetComponentsByWidgetId200Response.d.ts +7 -12
  332. package/dist/esm/models/GetComponentsByWidgetId200Response.js +5 -6
  333. package/dist/esm/models/GetComponentsByWidgetId200ResponseMeta.d.ts +56 -0
  334. package/dist/esm/models/GetComponentsByWidgetId200ResponseMeta.js +49 -0
  335. package/dist/esm/models/GetCompositionEmbedSchema200Response.d.ts +74 -0
  336. package/dist/esm/models/GetCompositionEmbedSchema200Response.js +57 -0
  337. package/dist/esm/models/GetCompositionPreview200Response.d.ts +50 -0
  338. package/dist/esm/models/GetCompositionPreview200Response.js +47 -0
  339. package/dist/esm/models/GetCompositionVersions200Response.d.ts +39 -0
  340. package/dist/esm/models/GetCompositionVersions200Response.js +44 -0
  341. package/dist/esm/models/GetInvoicesByPartnerId200Response.d.ts +39 -0
  342. package/dist/esm/models/GetInvoicesByPartnerId200Response.js +44 -0
  343. package/dist/esm/models/GetManagedUserEntitlements200Response.d.ts +1 -1
  344. package/dist/esm/models/GetManagedUserEntitlements200Response.js +2 -2
  345. package/dist/esm/models/GetManagedUsersByManagerId200Response.d.ts +51 -0
  346. package/dist/esm/models/GetManagedUsersByManagerId200Response.js +48 -0
  347. package/dist/esm/models/GetOAuthAuthorization200Response.d.ts +39 -0
  348. package/dist/esm/models/GetOAuthAuthorization200Response.js +44 -0
  349. package/dist/esm/models/GetOAuthAuthorization200ResponseData.d.ts +77 -0
  350. package/dist/esm/models/GetOAuthAuthorization200ResponseData.js +73 -0
  351. package/dist/esm/models/GetOAuthAuthorization200ResponseDataClient.d.ts +58 -0
  352. package/dist/esm/models/GetOAuthAuthorization200ResponseDataClient.js +62 -0
  353. package/dist/esm/models/GetOAuthAuthorization200ResponseDataScopesInner.d.ts +38 -0
  354. package/dist/esm/models/GetOAuthAuthorization200ResponseDataScopesInner.js +47 -0
  355. package/dist/esm/models/GetOrganizationPricing200ResponseDataStorage.d.ts +27 -3
  356. package/dist/esm/models/GetOrganizationPricing200ResponseDataStorage.js +6 -0
  357. package/dist/esm/models/GetOrganizationStorageUsage200ResponseData.d.ts +3 -21
  358. package/dist/esm/models/GetOrganizationStorageUsage200ResponseData.js +3 -9
  359. package/dist/esm/models/GetOrganizationStorageUsage200ResponseDataStorageUsage.d.ts +98 -0
  360. package/dist/esm/models/GetOrganizationStorageUsage200ResponseDataStorageUsage.js +63 -0
  361. package/dist/esm/models/GetPartnerCreditBalance200Response.d.ts +2 -2
  362. package/dist/esm/models/GetPartnerCreditBalance200Response.js +4 -4
  363. package/dist/esm/models/GetPartnerCreditBalance200ResponseAutoReloadSettings.d.ts +1 -1
  364. package/dist/esm/models/GetPartnerCreditBalance200ResponseAutoReloadSettings.js +2 -2
  365. package/dist/esm/models/GetPartnerEntitlements200Response.d.ts +1 -1
  366. package/dist/esm/models/GetPartnerEntitlements200Response.js +2 -2
  367. package/dist/esm/models/GetPersonalWorkspaceDomains200Response.d.ts +39 -0
  368. package/dist/esm/models/GetPersonalWorkspaceDomains200Response.js +44 -0
  369. package/dist/esm/models/GetShopifySeatQuote200Response.d.ts +39 -0
  370. package/dist/esm/models/GetShopifySeatQuote200Response.js +44 -0
  371. package/dist/esm/models/GetShopifySeatQuote200ResponseData.d.ts +33 -0
  372. package/dist/esm/models/GetShopifySeatQuote200ResponseData.js +42 -0
  373. package/dist/esm/models/GetShopifySeatQuote200ResponseDataQuote.d.ts +128 -0
  374. package/dist/esm/models/GetShopifySeatQuote200ResponseDataQuote.js +84 -0
  375. package/dist/esm/models/GetShopifySeatQuote200ResponseDataQuoteCredits.d.ts +44 -0
  376. package/dist/esm/models/GetShopifySeatQuote200ResponseDataQuoteCredits.js +45 -0
  377. package/dist/esm/models/GetShopifySeatQuote200ResponseDataQuoteCurrentPlan.d.ts +73 -0
  378. package/dist/esm/models/GetShopifySeatQuote200ResponseDataQuoteCurrentPlan.js +64 -0
  379. package/dist/esm/models/GetShopifySeatQuote200ResponseDataQuoteTargetPlan.d.ts +58 -0
  380. package/dist/esm/models/GetShopifySeatQuote200ResponseDataQuoteTargetPlan.js +54 -0
  381. package/dist/esm/models/GetShopifyTenant200Response.d.ts +39 -0
  382. package/dist/esm/models/GetShopifyTenant200Response.js +44 -0
  383. package/dist/esm/models/GetShopifyTenant200ResponseData.d.ts +33 -0
  384. package/dist/esm/models/GetShopifyTenant200ResponseData.js +42 -0
  385. package/dist/esm/models/GetShopifyTenant200ResponseDataTenant.d.ts +64 -0
  386. package/dist/esm/models/GetShopifyTenant200ResponseDataTenant.js +53 -0
  387. package/dist/esm/models/GetShopifyTenant200ResponseDataTenantPlan.d.ts +149 -0
  388. package/dist/esm/models/GetShopifyTenant200ResponseDataTenantPlan.js +87 -0
  389. package/dist/esm/models/GetShopifyTenant200ResponseDataTenantPlanPendingChange.d.ts +52 -0
  390. package/dist/esm/models/GetShopifyTenant200ResponseDataTenantPlanPendingChange.js +52 -0
  391. package/dist/esm/models/GetShopifyTenant200ResponseDataTenantSeat.d.ts +87 -0
  392. package/dist/esm/models/GetShopifyTenant200ResponseDataTenantSeat.js +67 -0
  393. package/dist/esm/models/GetUserApiKeyUsageLogs200Response.d.ts +33 -0
  394. package/dist/esm/models/GetUserApiKeyUsageLogs200Response.js +44 -0
  395. package/dist/esm/models/GetUserApiKeys200Response.d.ts +39 -0
  396. package/dist/esm/models/GetUserApiKeys200Response.js +44 -0
  397. package/dist/esm/models/GetUserCreditTransactions200Response.d.ts +39 -0
  398. package/dist/esm/models/GetUserCreditTransactions200Response.js +44 -0
  399. package/dist/esm/models/GetUserEntitlements200Response.d.ts +1 -1
  400. package/dist/esm/models/GetUserEntitlements200Response.js +2 -2
  401. package/dist/esm/models/GetWidgetPublishHistory200ResponseDataInner.d.ts +6 -0
  402. package/dist/esm/models/GetWidgetPublishHistory200ResponseDataInner.js +2 -0
  403. package/dist/esm/models/GetWidgets200Response.d.ts +4 -3
  404. package/dist/esm/models/GetWidgets200Response.js +3 -2
  405. package/dist/esm/models/GetWidgets200ResponseMeta.d.ts +70 -0
  406. package/dist/esm/models/GetWidgets200ResponseMeta.js +53 -0
  407. package/dist/esm/models/GetWorkspaceABTestDiagnosis200Response.d.ts +39 -0
  408. package/dist/esm/models/GetWorkspaceABTestDiagnosis200Response.js +44 -0
  409. package/dist/esm/models/GetWorkspaceABTestStatistics200Response.d.ts +39 -0
  410. package/dist/esm/models/GetWorkspaceABTestStatistics200Response.js +44 -0
  411. package/dist/esm/models/IssuePartnerInvoiceRequest.d.ts +44 -0
  412. package/dist/esm/models/IssuePartnerInvoiceRequest.js +45 -0
  413. package/dist/esm/models/IssuedPartnerInvoice.d.ts +68 -0
  414. package/dist/esm/models/IssuedPartnerInvoice.js +67 -0
  415. package/dist/esm/models/ListMyPresets200Response.d.ts +39 -0
  416. package/dist/esm/models/ListMyPresets200Response.js +44 -0
  417. package/dist/esm/models/ListOAuthConnections200Response.d.ts +39 -0
  418. package/dist/esm/models/ListOAuthConnections200Response.js +44 -0
  419. package/dist/esm/models/ListOAuthConnections200ResponseData.d.ts +33 -0
  420. package/dist/esm/models/ListOAuthConnections200ResponseData.js +44 -0
  421. package/dist/esm/models/ListOAuthConnections200ResponseDataConnectionsInner.d.ts +70 -0
  422. package/dist/esm/models/ListOAuthConnections200ResponseDataConnectionsInner.js +69 -0
  423. package/dist/esm/models/ListOAuthConnections200ResponseDataConnectionsInnerClient.d.ts +44 -0
  424. package/dist/esm/models/ListOAuthConnections200ResponseDataConnectionsInnerClient.js +51 -0
  425. package/dist/esm/models/ListPartnerCustomizations200ResponsePagination.d.ts +1 -1
  426. package/dist/esm/models/ListPartnerCustomizations200ResponsePagination.js +2 -2
  427. package/dist/esm/models/ListPartnerPresets200Response.d.ts +39 -0
  428. package/dist/esm/models/ListPartnerPresets200Response.js +44 -0
  429. package/dist/esm/models/ListShopifySeats200Response.d.ts +39 -0
  430. package/dist/esm/models/ListShopifySeats200Response.js +44 -0
  431. package/dist/esm/models/ListShopifySeats200ResponseData.d.ts +64 -0
  432. package/dist/esm/models/ListShopifySeats200ResponseData.js +53 -0
  433. package/dist/esm/models/ListShopifySeats200ResponseDataPlan.d.ts +81 -0
  434. package/dist/esm/models/ListShopifySeats200ResponseDataPlan.js +68 -0
  435. package/dist/esm/models/ListShopifySeats200ResponseDataSeatsInner.d.ts +111 -0
  436. package/dist/esm/models/ListShopifySeats200ResponseDataSeatsInner.js +75 -0
  437. package/dist/esm/models/ManagedUser.d.ts +13 -5
  438. package/dist/esm/models/ManagedUser.js +14 -12
  439. package/dist/esm/models/ManagedUserOperationUsage.d.ts +56 -0
  440. package/dist/esm/models/ManagedUserOperationUsage.js +59 -0
  441. package/dist/esm/models/ManagedUserUsage.d.ts +65 -0
  442. package/dist/esm/models/ManagedUserUsage.js +65 -0
  443. package/dist/esm/models/ManagedUserUsageTotals.d.ts +50 -0
  444. package/dist/esm/models/ManagedUserUsageTotals.js +55 -0
  445. package/dist/esm/models/MetricsGet200Response.d.ts +39 -0
  446. package/dist/esm/models/MetricsGet200Response.js +44 -0
  447. package/dist/esm/models/MetricsGet200ResponseData.d.ts +56 -0
  448. package/dist/esm/models/MetricsGet200ResponseData.js +50 -0
  449. package/dist/esm/models/MetricsGet200ResponseDataErrorsValue.d.ts +44 -0
  450. package/dist/esm/models/MetricsGet200ResponseDataErrorsValue.js +45 -0
  451. package/dist/esm/models/MetricsGet200ResponseDataLatencyValue.d.ts +50 -0
  452. package/dist/esm/models/MetricsGet200ResponseDataLatencyValue.js +47 -0
  453. package/dist/esm/models/MetricsLatencyGet200Response.d.ts +41 -0
  454. package/dist/esm/models/MetricsLatencyGet200Response.js +45 -0
  455. package/dist/esm/models/MetricsLatencyGet200ResponseDataValue.d.ts +62 -0
  456. package/dist/esm/models/MetricsLatencyGet200ResponseDataValue.js +51 -0
  457. package/dist/esm/models/ModifyCodeRequest.d.ts +0 -6
  458. package/dist/esm/models/ModifyCodeRequest.js +0 -2
  459. package/dist/esm/models/MyPreset.d.ts +50 -0
  460. package/dist/esm/models/MyPreset.js +55 -0
  461. package/dist/esm/models/MyPresetCopy.d.ts +56 -0
  462. package/dist/esm/models/MyPresetCopy.js +59 -0
  463. package/dist/esm/models/NewComposition.d.ts +12 -0
  464. package/dist/esm/models/NewComposition.js +4 -0
  465. package/dist/esm/models/NewEditorSession.d.ts +62 -0
  466. package/dist/esm/models/NewEditorSession.js +57 -0
  467. package/dist/esm/models/NewManagedUser.d.ts +3 -3
  468. package/dist/esm/models/NewManagedUser.js +1 -3
  469. package/dist/esm/models/NewWidget.d.ts +20 -66
  470. package/dist/esm/models/NewWidget.js +6 -23
  471. package/dist/esm/models/OperationsIdGet200Response.d.ts +88 -0
  472. package/dist/esm/models/OperationsIdGet200Response.js +65 -0
  473. package/dist/esm/models/OrganizationsOrgIdBillingGet200ResponseData.d.ts +9 -1
  474. package/dist/esm/models/OrganizationsOrgIdBillingGet200ResponseData.js +2 -0
  475. package/dist/esm/models/OrganizationsOrgIdBillingPortalPostRequest.d.ts +1 -1
  476. package/dist/esm/models/OrganizationsOrgIdBillingUpgradePostRequest.d.ts +5 -1
  477. package/dist/esm/models/Partner.d.ts +144 -0
  478. package/dist/esm/models/Partner.js +89 -0
  479. package/dist/esm/models/PartnerBillingOverview.d.ts +54 -0
  480. package/dist/esm/models/PartnerBillingOverview.js +51 -0
  481. package/dist/esm/models/PartnerBillingOverviewBillingIntegration.d.ts +50 -0
  482. package/dist/esm/models/PartnerBillingOverviewBillingIntegration.js +47 -0
  483. package/dist/esm/models/PartnerBillingOverviewOperationalCredits.d.ts +60 -0
  484. package/dist/esm/models/PartnerBillingOverviewOperationalCredits.js +49 -0
  485. package/dist/esm/models/PartnerBillingOverviewPartner.d.ts +58 -0
  486. package/dist/esm/models/PartnerBillingOverviewPartner.js +54 -0
  487. package/dist/esm/models/PartnerBillingReport.d.ts +69 -0
  488. package/dist/esm/models/PartnerBillingReport.js +55 -0
  489. package/dist/esm/models/PartnerBillingReportGroupedDataValue.d.ts +44 -0
  490. package/dist/esm/models/PartnerBillingReportGroupedDataValue.js +45 -0
  491. package/dist/esm/models/PartnerBillingReportSummary.d.ts +44 -0
  492. package/dist/esm/models/PartnerBillingReportSummary.js +45 -0
  493. package/dist/esm/models/PartnerContract.d.ts +120 -0
  494. package/dist/esm/models/PartnerContract.js +75 -0
  495. package/dist/esm/models/PartnerCreditAdjustment.d.ts +46 -0
  496. package/dist/esm/models/PartnerCreditAdjustment.js +45 -0
  497. package/dist/esm/models/PartnerCustomization.d.ts +13 -13
  498. package/dist/esm/models/PartnerCustomization.js +26 -26
  499. package/dist/esm/models/PartnerDetails.d.ts +164 -0
  500. package/dist/esm/models/PartnerDetails.js +98 -0
  501. package/dist/esm/models/PartnerDetailsAllOfAdminMetadata.d.ts +44 -0
  502. package/dist/esm/models/PartnerDetailsAllOfAdminMetadata.js +45 -0
  503. package/dist/esm/models/PartnerInvoice.d.ts +164 -0
  504. package/dist/esm/models/PartnerInvoice.js +93 -0
  505. package/dist/esm/models/PartnerList.d.ts +51 -0
  506. package/dist/esm/models/PartnerList.js +56 -0
  507. package/dist/esm/models/PartnerMonthlyStats.d.ts +81 -0
  508. package/dist/esm/models/PartnerMonthlyStats.js +58 -0
  509. package/dist/esm/models/PartnerMonthlyStatsPeriod.d.ts +38 -0
  510. package/dist/esm/models/PartnerMonthlyStatsPeriod.js +43 -0
  511. package/dist/esm/models/PartnerPreset.d.ts +81 -0
  512. package/dist/esm/models/PartnerPreset.js +75 -0
  513. package/dist/esm/models/PartnerPresetCopy.d.ts +62 -0
  514. package/dist/esm/models/PartnerPresetCopy.js +63 -0
  515. package/dist/esm/models/PartnerPresetRemoval.d.ts +32 -0
  516. package/dist/esm/models/PartnerPresetRemoval.js +43 -0
  517. package/dist/esm/models/PartnerStorageDestination.d.ts +99 -0
  518. package/dist/esm/models/PartnerStorageDestination.js +83 -0
  519. package/dist/esm/models/PartnerStorageRemoval.d.ts +32 -0
  520. package/dist/esm/models/PartnerStorageRemoval.js +43 -0
  521. package/dist/esm/models/PartnerUpdateResult.d.ts +158 -0
  522. package/dist/esm/models/PartnerUpdateResult.js +94 -0
  523. package/dist/esm/models/PartnerWithWarnings.d.ts +151 -0
  524. package/dist/esm/models/PartnerWithWarnings.js +91 -0
  525. package/dist/esm/models/PersonalWorkspaceDomain.d.ts +56 -0
  526. package/dist/esm/models/PersonalWorkspaceDomain.js +55 -0
  527. package/dist/esm/models/PersonalWorkspaceDomainResult.d.ts +39 -0
  528. package/dist/esm/models/PersonalWorkspaceDomainResult.js +48 -0
  529. package/dist/esm/models/PurchaseStoragePack200ResponseData.d.ts +3 -3
  530. package/dist/esm/models/PurchaseStoragePack200ResponseData.js +3 -3
  531. package/dist/esm/models/PurchaseStoragePackRequest.d.ts +3 -1
  532. package/dist/esm/models/RefundPartnerCreditsRequest.d.ts +65 -0
  533. package/dist/esm/models/RefundPartnerCreditsRequest.js +65 -0
  534. package/dist/esm/models/RemoveShopifySeat200Response.d.ts +39 -0
  535. package/dist/esm/models/RemoveShopifySeat200Response.js +44 -0
  536. package/dist/esm/models/RemoveShopifySeat200ResponseData.d.ts +55 -0
  537. package/dist/esm/models/RemoveShopifySeat200ResponseData.js +53 -0
  538. package/dist/esm/models/RemoveShopifySeat200ResponseDataSeat.d.ts +51 -0
  539. package/dist/esm/models/RemoveShopifySeat200ResponseDataSeat.js +51 -0
  540. package/dist/esm/models/RenameWidgetPublishHistoryTitle200Response.d.ts +39 -0
  541. package/dist/esm/models/RenameWidgetPublishHistoryTitle200Response.js +44 -0
  542. package/dist/esm/models/RenameWidgetPublishHistoryTitle200ResponseData.d.ts +44 -0
  543. package/dist/esm/models/RenameWidgetPublishHistoryTitle200ResponseData.js +45 -0
  544. package/dist/esm/models/RenameWidgetPublishHistoryTitleRequest.d.ts +32 -0
  545. package/dist/esm/models/RenameWidgetPublishHistoryTitleRequest.js +43 -0
  546. package/dist/esm/models/RepositoryResponse.d.ts +5 -0
  547. package/dist/esm/models/RevokeManagedUserEditorSessions200Response.d.ts +32 -0
  548. package/dist/esm/models/RevokeManagedUserEditorSessions200Response.js +41 -0
  549. package/dist/esm/models/SetPartnerPresetRequest.d.ts +50 -0
  550. package/dist/esm/models/SetPartnerPresetRequest.js +49 -0
  551. package/dist/esm/models/SetPartnerStorageDestinationRequest.d.ts +79 -0
  552. package/dist/esm/models/SetPartnerStorageDestinationRequest.js +67 -0
  553. package/dist/esm/models/SetWidgetPublishHistoryLive200ResponseDataData.d.ts +6 -0
  554. package/dist/esm/models/SetWidgetPublishHistoryLive200ResponseDataData.js +2 -0
  555. package/dist/esm/models/SignupUserRequest.d.ts +7 -1
  556. package/dist/esm/models/SignupUserRequest.js +2 -0
  557. package/dist/esm/models/StopWorkspaceABTestRequest.d.ts +10 -1
  558. package/dist/esm/models/StopWorkspaceABTestRequest.js +2 -0
  559. package/dist/esm/models/StorageChange.d.ts +96 -0
  560. package/dist/esm/models/StorageChange.js +85 -0
  561. package/dist/esm/models/StoragePack.d.ts +26 -7
  562. package/dist/esm/models/StoragePack.js +19 -10
  563. package/dist/esm/models/SubscriptionsIdRefundPreviewPost200Response.d.ts +71 -0
  564. package/dist/esm/models/SubscriptionsIdRefundPreviewPost200Response.js +59 -0
  565. package/dist/esm/models/SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
  566. package/dist/esm/models/SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js +48 -0
  567. package/dist/esm/models/SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.d.ts +38 -0
  568. package/dist/esm/models/SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js +43 -0
  569. package/dist/esm/models/SubscriptionsIdRefundPreviewPostRequest.d.ts +44 -0
  570. package/dist/esm/models/SubscriptionsIdRefundPreviewPostRequest.js +45 -0
  571. package/dist/esm/models/SyncShopifyBilling200Response.d.ts +39 -0
  572. package/dist/esm/models/SyncShopifyBilling200Response.js +44 -0
  573. package/dist/esm/models/SyncShopifyBilling200ResponseData.d.ts +39 -0
  574. package/dist/esm/models/SyncShopifyBilling200ResponseData.js +44 -0
  575. package/dist/esm/models/SyncShopifyBilling200ResponseDataSync.d.ts +67 -0
  576. package/dist/esm/models/SyncShopifyBilling200ResponseDataSync.js +64 -0
  577. package/dist/esm/models/UpdateDomainRequest.d.ts +3 -3
  578. package/dist/esm/models/UpdateDomainRequest.js +3 -3
  579. package/dist/esm/models/UpdateInvoiceStatusRequest.d.ts +47 -0
  580. package/dist/esm/models/UpdateInvoiceStatusRequest.js +57 -0
  581. package/dist/esm/models/UpdateManagedUser.d.ts +8 -1
  582. package/dist/esm/models/UpdateManagedUser.js +2 -0
  583. package/dist/esm/models/UpdateMessageRequest.d.ts +5 -4
  584. package/dist/esm/models/UpdateMessageRequest.js +3 -2
  585. package/dist/esm/models/UpdatePartnerEntitlements200Response.d.ts +2 -2
  586. package/dist/esm/models/UpdatePartnerEntitlements200Response.js +4 -4
  587. package/dist/esm/models/UpdatePartnerRequest.d.ts +89 -0
  588. package/dist/esm/models/UpdatePartnerRequest.js +59 -0
  589. package/dist/esm/models/UpdatePartnerStatusRequest.d.ts +47 -0
  590. package/dist/esm/models/UpdatePartnerStatusRequest.js +53 -0
  591. package/dist/esm/models/UpdateUserApiKeyRequest.d.ts +38 -0
  592. package/dist/esm/models/UpdateUserApiKeyRequest.js +43 -0
  593. package/dist/esm/models/UpdateWidget.d.ts +3 -15
  594. package/dist/esm/models/UpdateWidget.js +3 -7
  595. package/dist/esm/models/UpdateWidgetComponentsMetadataInner.d.ts +64 -0
  596. package/dist/esm/models/UpdateWidgetComponentsMetadataInner.js +53 -0
  597. package/dist/esm/models/UpdateWidgetComponentsMetadataInnerPosition.d.ts +38 -0
  598. package/dist/esm/models/UpdateWidgetComponentsMetadataInnerPosition.js +43 -0
  599. package/dist/esm/models/UpdateWidgetComponentsMetadataInnerSize.d.ts +38 -0
  600. package/dist/esm/models/UpdateWidgetComponentsMetadataInnerSize.js +43 -0
  601. package/dist/esm/models/Upload.d.ts +124 -0
  602. package/dist/esm/models/Upload.js +99 -0
  603. package/dist/esm/models/UploadLimits.d.ts +62 -0
  604. package/dist/esm/models/UploadLimits.js +51 -0
  605. package/dist/esm/models/UploadsGet200Response.d.ts +39 -0
  606. package/dist/esm/models/UploadsGet200Response.js +44 -0
  607. package/dist/esm/models/UserApiKey.d.ts +68 -0
  608. package/dist/esm/models/UserApiKey.js +63 -0
  609. package/dist/esm/models/UserApiKeyUsageLog.d.ts +76 -0
  610. package/dist/esm/models/UserApiKeyUsageLog.js +67 -0
  611. package/dist/esm/models/Widget.d.ts +6 -18
  612. package/dist/esm/models/Widget.js +2 -6
  613. package/dist/esm/models/index.d.ts +206 -74
  614. package/dist/esm/models/index.js +206 -74
  615. package/dist/esm/runtime.d.ts +40 -3
  616. package/dist/esm/runtime.js +72 -12
  617. package/dist/models/ABTestDiagnosis.d.ts +69 -0
  618. package/dist/models/ABTestDiagnosis.js +69 -0
  619. package/dist/models/ABTestStatistics.d.ts +47 -0
  620. package/dist/models/ABTestStatistics.js +55 -0
  621. package/dist/models/ABTestStatisticsOverall.d.ts +56 -0
  622. package/dist/models/ABTestStatisticsOverall.js +56 -0
  623. package/dist/models/ABTestStatisticsRecommendation.d.ts +54 -0
  624. package/dist/models/ABTestStatisticsRecommendation.js +62 -0
  625. package/dist/models/ABTestStatisticsVariantsInner.d.ts +104 -0
  626. package/dist/models/ABTestStatisticsVariantsInner.js +72 -0
  627. package/dist/models/AccountCreditBalance.d.ts +58 -0
  628. package/dist/models/AccountCreditBalance.js +56 -0
  629. package/dist/models/AccountCreditTransaction.d.ts +69 -0
  630. package/dist/models/AccountCreditTransaction.js +60 -0
  631. package/dist/models/AddPartnerCreditsRequest.d.ts +1 -1
  632. package/dist/models/AdjustPartnerCredits200Response.d.ts +44 -0
  633. package/dist/models/AdjustPartnerCredits200Response.js +52 -0
  634. package/dist/models/AdjustPartnerCreditsRequest.d.ts +54 -0
  635. package/dist/models/AdjustPartnerCreditsRequest.js +68 -0
  636. package/dist/models/AdjustUserCredits200Response.d.ts +44 -0
  637. package/dist/models/AdjustUserCredits200Response.js +52 -0
  638. package/dist/models/AdjustUserCreditsRequest.d.ts +44 -0
  639. package/dist/models/AdjustUserCreditsRequest.js +58 -0
  640. package/dist/models/AdminBillingGrantsGrantIdRejectPostRequest.d.ts +32 -0
  641. package/dist/models/AdminBillingGrantsGrantIdRejectPostRequest.js +48 -0
  642. package/dist/models/AdminBillingGrantsPost200Response.d.ts +39 -0
  643. package/dist/models/AdminBillingGrantsPost200Response.js +51 -0
  644. package/dist/models/AdminBillingGrantsPost200ResponseData.d.ts +46 -0
  645. package/dist/models/AdminBillingGrantsPost200ResponseData.js +53 -0
  646. package/dist/models/AdminBillingGrantsPost200ResponseDataGrant.d.ts +110 -0
  647. package/dist/models/AdminBillingGrantsPost200ResponseDataGrant.js +85 -0
  648. package/dist/models/AdminBillingGrantsPostRequest.d.ts +82 -0
  649. package/dist/models/AdminBillingGrantsPostRequest.js +87 -0
  650. package/dist/models/AdminBillingPlansPricesBackfillPostRequest.d.ts +32 -0
  651. package/dist/models/AdminBillingPlansPricesBackfillPostRequest.js +48 -0
  652. package/dist/models/AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +32 -0
  653. package/dist/models/AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +50 -0
  654. package/dist/models/AdminBillingRefundsClawbacksGet200Response.d.ts +39 -0
  655. package/dist/models/AdminBillingRefundsClawbacksGet200Response.js +51 -0
  656. package/dist/models/AdminBillingRefundsClawbacksGet200ResponseData.d.ts +57 -0
  657. package/dist/models/AdminBillingRefundsClawbacksGet200ResponseData.js +57 -0
  658. package/dist/models/AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.d.ts +68 -0
  659. package/dist/models/AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.js +60 -0
  660. package/dist/models/AdminBillingRefundsPostRequest.d.ts +70 -0
  661. package/dist/models/AdminBillingRefundsPostRequest.js +72 -0
  662. package/dist/models/AdminBillingRefundsPreviewPost200Response.d.ts +71 -0
  663. package/dist/models/AdminBillingRefundsPreviewPost200Response.js +67 -0
  664. package/dist/models/AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
  665. package/dist/models/AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js +55 -0
  666. package/dist/models/AdminBillingRefundsPreviewPostRequest.d.ts +70 -0
  667. package/dist/models/AdminBillingRefundsPreviewPostRequest.js +70 -0
  668. package/dist/models/AdminBillingSubscriptionsSubjectIdCancelPostRequest.d.ts +46 -0
  669. package/dist/models/AdminBillingSubscriptionsSubjectIdCancelPostRequest.js +60 -0
  670. package/dist/models/AgentDesignResolvePost200Response.d.ts +39 -0
  671. package/dist/models/AgentDesignResolvePost200Response.js +51 -0
  672. package/dist/models/AgentDesignResolvePost200ResponseData.d.ts +80 -0
  673. package/dist/models/AgentDesignResolvePost200ResponseData.js +64 -0
  674. package/dist/models/AgentDesignResolvePostRequest.d.ts +54 -0
  675. package/dist/models/AgentDesignResolvePostRequest.js +58 -0
  676. package/dist/models/AgentShapeRecognizePost200Response.d.ts +39 -0
  677. package/dist/models/AgentShapeRecognizePost200Response.js +51 -0
  678. package/dist/models/AgentShapeRecognizePost200ResponseData.d.ts +68 -0
  679. package/dist/models/AgentShapeRecognizePost200ResponseData.js +60 -0
  680. package/dist/models/AgentShapeRecognizePostRequest.d.ts +54 -0
  681. package/dist/models/AgentShapeRecognizePostRequest.js +60 -0
  682. package/dist/models/AgentShapeRecognizePostRequestCandidatesInner.d.ts +44 -0
  683. package/dist/models/AgentShapeRecognizePostRequestCandidatesInner.js +58 -0
  684. package/dist/models/AgentShapeRecognizePostRequestDeterministic.d.ts +38 -0
  685. package/dist/models/AgentShapeRecognizePostRequestDeterministic.js +50 -0
  686. package/dist/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.d.ts +6 -0
  687. package/dist/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.js +2 -0
  688. package/dist/models/ApproveShopifySeat200Response.d.ts +39 -0
  689. package/dist/models/ApproveShopifySeat200Response.js +51 -0
  690. package/dist/models/ApproveShopifySeat200ResponseData.d.ts +50 -0
  691. package/dist/models/ApproveShopifySeat200ResponseData.js +60 -0
  692. package/dist/models/ApproveShopifySeat200ResponseDataSeat.d.ts +52 -0
  693. package/dist/models/ApproveShopifySeat200ResponseDataSeat.js +60 -0
  694. package/dist/models/BillingPricingGet200Response.d.ts +39 -0
  695. package/dist/models/BillingPricingGet200Response.js +51 -0
  696. package/dist/models/BillingPricingGet200ResponseData.d.ts +46 -0
  697. package/dist/models/BillingPricingGet200ResponseData.js +54 -0
  698. package/dist/models/BillingPricingGet200ResponseDataPlansInner.d.ts +68 -0
  699. package/dist/models/BillingPricingGet200ResponseDataPlansInner.js +60 -0
  700. package/dist/models/BillingPricingGet200ResponseDataTrial.d.ts +44 -0
  701. package/dist/models/BillingPricingGet200ResponseDataTrial.js +52 -0
  702. package/dist/models/BillingUsersUserIdInvoicesGet200Response.d.ts +39 -0
  703. package/dist/models/BillingUsersUserIdInvoicesGet200Response.js +51 -0
  704. package/dist/models/BillingUsersUserIdInvoicesGet200ResponseData.d.ts +33 -0
  705. package/dist/models/BillingUsersUserIdInvoicesGet200ResponseData.js +49 -0
  706. package/dist/models/BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.d.ts +68 -0
  707. package/dist/models/BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.js +60 -0
  708. package/dist/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.d.ts +39 -0
  709. package/dist/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.js +51 -0
  710. package/dist/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.d.ts +32 -0
  711. package/dist/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.js +48 -0
  712. package/dist/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.d.ts +39 -0
  713. package/dist/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.js +51 -0
  714. package/dist/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.d.ts +32 -0
  715. package/dist/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.js +48 -0
  716. package/dist/models/BillingUsersUserIdPortalPostRequest.d.ts +32 -0
  717. package/dist/models/BillingUsersUserIdPortalPostRequest.js +48 -0
  718. package/dist/models/BillingUsersUserIdSubscriptionCancelPost200Response.d.ts +39 -0
  719. package/dist/models/BillingUsersUserIdSubscriptionCancelPost200Response.js +51 -0
  720. package/dist/models/BillingUsersUserIdSubscriptionCancelPost200ResponseData.d.ts +32 -0
  721. package/dist/models/BillingUsersUserIdSubscriptionCancelPost200ResponseData.js +48 -0
  722. package/dist/models/BillingUsersUserIdSubscriptionCancelPostRequest.d.ts +32 -0
  723. package/dist/models/BillingUsersUserIdSubscriptionCancelPostRequest.js +48 -0
  724. package/dist/models/BillingUsersUserIdSubscriptionGet200Response.d.ts +39 -0
  725. package/dist/models/BillingUsersUserIdSubscriptionGet200Response.js +51 -0
  726. package/dist/models/BillingUsersUserIdSubscriptionGet200ResponseData.d.ts +120 -0
  727. package/dist/models/BillingUsersUserIdSubscriptionGet200ResponseData.js +84 -0
  728. package/dist/models/BillingUsersUserIdSubscriptionPayPost200Response.d.ts +39 -0
  729. package/dist/models/BillingUsersUserIdSubscriptionPayPost200Response.js +51 -0
  730. package/dist/models/BillingUsersUserIdSubscriptionPayPost200ResponseData.d.ts +38 -0
  731. package/dist/models/BillingUsersUserIdSubscriptionPayPost200ResponseData.js +50 -0
  732. package/dist/models/BillingUsersUserIdSubscriptionPost200Response.d.ts +39 -0
  733. package/dist/models/BillingUsersUserIdSubscriptionPost200Response.js +51 -0
  734. package/dist/models/BillingUsersUserIdSubscriptionPost200ResponseData.d.ts +38 -0
  735. package/dist/models/BillingUsersUserIdSubscriptionPost200ResponseData.js +50 -0
  736. package/dist/models/BillingUsersUserIdSubscriptionPostRequest.d.ts +59 -0
  737. package/dist/models/BillingUsersUserIdSubscriptionPostRequest.js +68 -0
  738. package/dist/models/CancelStoragePackRequest.d.ts +40 -0
  739. package/dist/models/CancelStoragePackRequest.js +50 -0
  740. package/dist/models/Canvas.d.ts +6 -0
  741. package/dist/models/Canvas.js +2 -0
  742. package/dist/models/Component.d.ts +4 -4
  743. package/dist/models/Component.js +8 -8
  744. package/dist/models/Composition.d.ts +6 -0
  745. package/dist/models/Composition.js +2 -0
  746. package/dist/models/CompositionEntriesDescription.d.ts +47 -0
  747. package/dist/models/CompositionEntriesDescription.js +59 -0
  748. package/dist/models/CompositionEntriesReading.d.ts +83 -0
  749. package/dist/models/CompositionEntriesReading.js +79 -0
  750. package/dist/models/CompositionEntryColumn.d.ts +38 -0
  751. package/dist/models/CompositionEntryColumn.js +54 -0
  752. package/dist/models/CompositionEntryTable.d.ts +45 -0
  753. package/dist/models/CompositionEntryTable.js +59 -0
  754. package/dist/models/CompositionEntryTally.d.ts +40 -0
  755. package/dist/models/CompositionEntryTally.js +54 -0
  756. package/dist/models/CompositionVersion.d.ts +1 -1
  757. package/dist/models/CompositionVersion.js +2 -2
  758. package/dist/models/ConfigureAutoReloadRequest.d.ts +1 -1
  759. package/dist/models/CopyMyPresetRequest.d.ts +32 -0
  760. package/dist/models/CopyMyPresetRequest.js +50 -0
  761. package/dist/models/CopyPartnerPresetRequest.d.ts +32 -0
  762. package/dist/models/CopyPartnerPresetRequest.js +48 -0
  763. package/dist/models/CreateCanvasRequest.d.ts +12 -0
  764. package/dist/models/CreateCanvasRequest.js +4 -0
  765. package/dist/models/CreateInvoiceRequest.d.ts +137 -0
  766. package/dist/models/CreateInvoiceRequest.js +108 -0
  767. package/dist/models/CreateInvoiceRequestItemsInner.d.ts +50 -0
  768. package/dist/models/CreateInvoiceRequestItemsInner.js +62 -0
  769. package/dist/models/CreateMessageRequest.d.ts +7 -13
  770. package/dist/models/CreateMessageRequest.js +5 -4
  771. package/dist/models/CreateMessageRequestSuggestionsInner.d.ts +46 -0
  772. package/dist/models/CreateMessageRequestSuggestionsInner.js +62 -0
  773. package/dist/models/CreateOrganizationTranslationRequest.d.ts +58 -0
  774. package/dist/models/CreateOrganizationTranslationRequest.js +64 -0
  775. package/dist/models/CreatePartnerRequest.d.ts +71 -0
  776. package/dist/models/CreatePartnerRequest.js +66 -0
  777. package/dist/models/CreateShopifyBuilderSession200Response.d.ts +39 -0
  778. package/dist/models/CreateShopifyBuilderSession200Response.js +51 -0
  779. package/dist/models/CreateShopifyBuilderSession200ResponseData.d.ts +44 -0
  780. package/dist/models/CreateShopifyBuilderSession200ResponseData.js +52 -0
  781. package/dist/models/CreateShopifyBuilderSessionRequest.d.ts +32 -0
  782. package/dist/models/CreateShopifyBuilderSessionRequest.js +48 -0
  783. package/dist/models/CreateUserApiKeyRequest.d.ts +38 -0
  784. package/dist/models/CreateUserApiKeyRequest.js +52 -0
  785. package/dist/models/CreateWidget201Response.d.ts +3 -3
  786. package/dist/models/CreateWidget201Response.js +3 -3
  787. package/dist/models/CreateWidget201ResponseData.d.ts +181 -0
  788. package/dist/models/CreateWidget201ResponseData.js +103 -0
  789. package/dist/models/CreatedUserApiKey.d.ts +68 -0
  790. package/dist/models/CreatedUserApiKey.js +72 -0
  791. package/dist/models/DecideOAuthAuthorization200Response.d.ts +39 -0
  792. package/dist/models/DecideOAuthAuthorization200Response.js +51 -0
  793. package/dist/models/DecideOAuthAuthorization200ResponseData.d.ts +59 -0
  794. package/dist/models/DecideOAuthAuthorization200ResponseData.js +70 -0
  795. package/dist/models/DecideOAuthAuthorizationRequest.d.ts +32 -0
  796. package/dist/models/DecideOAuthAuthorizationRequest.js +50 -0
  797. package/dist/models/DeclineShopifySeat200Response.d.ts +39 -0
  798. package/dist/models/DeclineShopifySeat200Response.js +51 -0
  799. package/dist/models/DeclineShopifySeat200ResponseData.d.ts +47 -0
  800. package/dist/models/DeclineShopifySeat200ResponseData.js +59 -0
  801. package/dist/models/DeclineShopifySeat200ResponseDataSeat.d.ts +52 -0
  802. package/dist/models/DeclineShopifySeat200ResponseDataSeat.js +60 -0
  803. package/dist/models/DeleteAccountRequest.d.ts +32 -0
  804. package/dist/models/DeleteAccountRequest.js +48 -0
  805. package/dist/models/DeletePersonalWorkspaceDomain200Response.d.ts +32 -0
  806. package/dist/models/DeletePersonalWorkspaceDomain200Response.js +48 -0
  807. package/dist/models/DeleteUserApiKey200Response.d.ts +32 -0
  808. package/dist/models/DeleteUserApiKey200Response.js +48 -0
  809. package/dist/models/DisconnectOAuthConnection200Response.d.ts +39 -0
  810. package/dist/models/DisconnectOAuthConnection200Response.js +51 -0
  811. package/dist/models/DisconnectOAuthConnection200ResponseData.d.ts +32 -0
  812. package/dist/models/DisconnectOAuthConnection200ResponseData.js +50 -0
  813. package/dist/models/DuplicateWidgetRequest.d.ts +18 -0
  814. package/dist/models/DuplicateWidgetRequest.js +6 -0
  815. package/dist/models/EditorSession.d.ts +91 -0
  816. package/dist/models/EditorSession.js +87 -0
  817. package/dist/models/Entitlement.d.ts +7 -7
  818. package/dist/models/Entitlement.js +14 -14
  819. package/dist/models/EntitlementCheck.d.ts +1 -1
  820. package/dist/models/EntitlementCheck.js +2 -2
  821. package/dist/models/ForbiddenErrorResponse.d.ts +51 -0
  822. package/dist/models/ForbiddenErrorResponse.js +59 -0
  823. package/dist/models/ForbiddenErrorResponseError.d.ts +57 -0
  824. package/dist/models/ForbiddenErrorResponseError.js +61 -0
  825. package/dist/models/ForbiddenErrorResponseErrorDetails.d.ts +49 -0
  826. package/dist/models/ForbiddenErrorResponseErrorDetails.js +58 -0
  827. package/dist/models/GenerateCodeRequest.d.ts +41 -33
  828. package/dist/models/GenerateCodeRequest.js +22 -10
  829. package/dist/models/GenerateCodeRequestBrandKit.d.ts +69 -0
  830. package/dist/models/GenerateCodeRequestBrandKit.js +67 -0
  831. package/dist/models/GenerateCodeRequestBrandKitUploadsInner.d.ts +52 -0
  832. package/dist/models/GenerateCodeRequestBrandKitUploadsInner.js +60 -0
  833. package/dist/models/GetAllManagedUsers200Response.d.ts +7 -12
  834. package/dist/models/GetAllManagedUsers200Response.js +5 -6
  835. package/dist/models/GetAllManagedUsers200ResponseMeta.d.ts +56 -0
  836. package/dist/models/GetAllManagedUsers200ResponseMeta.js +56 -0
  837. package/dist/models/GetComponentsByWidgetId200Response.d.ts +7 -12
  838. package/dist/models/GetComponentsByWidgetId200Response.js +5 -6
  839. package/dist/models/GetComponentsByWidgetId200ResponseMeta.d.ts +56 -0
  840. package/dist/models/GetComponentsByWidgetId200ResponseMeta.js +56 -0
  841. package/dist/models/GetCompositionEmbedSchema200Response.d.ts +74 -0
  842. package/dist/models/GetCompositionEmbedSchema200Response.js +65 -0
  843. package/dist/models/GetCompositionPreview200Response.d.ts +50 -0
  844. package/dist/models/GetCompositionPreview200Response.js +54 -0
  845. package/dist/models/GetCompositionVersions200Response.d.ts +39 -0
  846. package/dist/models/GetCompositionVersions200Response.js +51 -0
  847. package/dist/models/GetInvoicesByPartnerId200Response.d.ts +39 -0
  848. package/dist/models/GetInvoicesByPartnerId200Response.js +51 -0
  849. package/dist/models/GetManagedUserEntitlements200Response.d.ts +1 -1
  850. package/dist/models/GetManagedUserEntitlements200Response.js +2 -2
  851. package/dist/models/GetManagedUsersByManagerId200Response.d.ts +51 -0
  852. package/dist/models/GetManagedUsersByManagerId200Response.js +55 -0
  853. package/dist/models/GetOAuthAuthorization200Response.d.ts +39 -0
  854. package/dist/models/GetOAuthAuthorization200Response.js +51 -0
  855. package/dist/models/GetOAuthAuthorization200ResponseData.d.ts +77 -0
  856. package/dist/models/GetOAuthAuthorization200ResponseData.js +81 -0
  857. package/dist/models/GetOAuthAuthorization200ResponseDataClient.d.ts +58 -0
  858. package/dist/models/GetOAuthAuthorization200ResponseDataClient.js +70 -0
  859. package/dist/models/GetOAuthAuthorization200ResponseDataScopesInner.d.ts +38 -0
  860. package/dist/models/GetOAuthAuthorization200ResponseDataScopesInner.js +54 -0
  861. package/dist/models/GetOrganizationPricing200ResponseDataStorage.d.ts +27 -3
  862. package/dist/models/GetOrganizationPricing200ResponseDataStorage.js +6 -0
  863. package/dist/models/GetOrganizationStorageUsage200ResponseData.d.ts +3 -21
  864. package/dist/models/GetOrganizationStorageUsage200ResponseData.js +3 -9
  865. package/dist/models/GetOrganizationStorageUsage200ResponseDataStorageUsage.d.ts +98 -0
  866. package/dist/models/GetOrganizationStorageUsage200ResponseDataStorageUsage.js +70 -0
  867. package/dist/models/GetPartnerCreditBalance200Response.d.ts +2 -2
  868. package/dist/models/GetPartnerCreditBalance200Response.js +4 -4
  869. package/dist/models/GetPartnerCreditBalance200ResponseAutoReloadSettings.d.ts +1 -1
  870. package/dist/models/GetPartnerCreditBalance200ResponseAutoReloadSettings.js +2 -2
  871. package/dist/models/GetPartnerEntitlements200Response.d.ts +1 -1
  872. package/dist/models/GetPartnerEntitlements200Response.js +2 -2
  873. package/dist/models/GetPersonalWorkspaceDomains200Response.d.ts +39 -0
  874. package/dist/models/GetPersonalWorkspaceDomains200Response.js +51 -0
  875. package/dist/models/GetShopifySeatQuote200Response.d.ts +39 -0
  876. package/dist/models/GetShopifySeatQuote200Response.js +51 -0
  877. package/dist/models/GetShopifySeatQuote200ResponseData.d.ts +33 -0
  878. package/dist/models/GetShopifySeatQuote200ResponseData.js +49 -0
  879. package/dist/models/GetShopifySeatQuote200ResponseDataQuote.d.ts +128 -0
  880. package/dist/models/GetShopifySeatQuote200ResponseDataQuote.js +92 -0
  881. package/dist/models/GetShopifySeatQuote200ResponseDataQuoteCredits.d.ts +44 -0
  882. package/dist/models/GetShopifySeatQuote200ResponseDataQuoteCredits.js +52 -0
  883. package/dist/models/GetShopifySeatQuote200ResponseDataQuoteCurrentPlan.d.ts +73 -0
  884. package/dist/models/GetShopifySeatQuote200ResponseDataQuoteCurrentPlan.js +72 -0
  885. package/dist/models/GetShopifySeatQuote200ResponseDataQuoteTargetPlan.d.ts +58 -0
  886. package/dist/models/GetShopifySeatQuote200ResponseDataQuoteTargetPlan.js +62 -0
  887. package/dist/models/GetShopifyTenant200Response.d.ts +39 -0
  888. package/dist/models/GetShopifyTenant200Response.js +51 -0
  889. package/dist/models/GetShopifyTenant200ResponseData.d.ts +33 -0
  890. package/dist/models/GetShopifyTenant200ResponseData.js +49 -0
  891. package/dist/models/GetShopifyTenant200ResponseDataTenant.d.ts +64 -0
  892. package/dist/models/GetShopifyTenant200ResponseDataTenant.js +60 -0
  893. package/dist/models/GetShopifyTenant200ResponseDataTenantPlan.d.ts +149 -0
  894. package/dist/models/GetShopifyTenant200ResponseDataTenantPlan.js +95 -0
  895. package/dist/models/GetShopifyTenant200ResponseDataTenantPlanPendingChange.d.ts +52 -0
  896. package/dist/models/GetShopifyTenant200ResponseDataTenantPlanPendingChange.js +60 -0
  897. package/dist/models/GetShopifyTenant200ResponseDataTenantSeat.d.ts +87 -0
  898. package/dist/models/GetShopifyTenant200ResponseDataTenantSeat.js +75 -0
  899. package/dist/models/GetUserApiKeyUsageLogs200Response.d.ts +33 -0
  900. package/dist/models/GetUserApiKeyUsageLogs200Response.js +51 -0
  901. package/dist/models/GetUserApiKeys200Response.d.ts +39 -0
  902. package/dist/models/GetUserApiKeys200Response.js +51 -0
  903. package/dist/models/GetUserCreditTransactions200Response.d.ts +39 -0
  904. package/dist/models/GetUserCreditTransactions200Response.js +51 -0
  905. package/dist/models/GetUserEntitlements200Response.d.ts +1 -1
  906. package/dist/models/GetUserEntitlements200Response.js +2 -2
  907. package/dist/models/GetWidgetPublishHistory200ResponseDataInner.d.ts +6 -0
  908. package/dist/models/GetWidgetPublishHistory200ResponseDataInner.js +2 -0
  909. package/dist/models/GetWidgets200Response.d.ts +4 -3
  910. package/dist/models/GetWidgets200Response.js +3 -2
  911. package/dist/models/GetWidgets200ResponseMeta.d.ts +70 -0
  912. package/dist/models/GetWidgets200ResponseMeta.js +60 -0
  913. package/dist/models/GetWorkspaceABTestDiagnosis200Response.d.ts +39 -0
  914. package/dist/models/GetWorkspaceABTestDiagnosis200Response.js +51 -0
  915. package/dist/models/GetWorkspaceABTestStatistics200Response.d.ts +39 -0
  916. package/dist/models/GetWorkspaceABTestStatistics200Response.js +51 -0
  917. package/dist/models/IssuePartnerInvoiceRequest.d.ts +44 -0
  918. package/dist/models/IssuePartnerInvoiceRequest.js +52 -0
  919. package/dist/models/IssuedPartnerInvoice.d.ts +68 -0
  920. package/dist/models/IssuedPartnerInvoice.js +74 -0
  921. package/dist/models/ListMyPresets200Response.d.ts +39 -0
  922. package/dist/models/ListMyPresets200Response.js +51 -0
  923. package/dist/models/ListOAuthConnections200Response.d.ts +39 -0
  924. package/dist/models/ListOAuthConnections200Response.js +51 -0
  925. package/dist/models/ListOAuthConnections200ResponseData.d.ts +33 -0
  926. package/dist/models/ListOAuthConnections200ResponseData.js +51 -0
  927. package/dist/models/ListOAuthConnections200ResponseDataConnectionsInner.d.ts +70 -0
  928. package/dist/models/ListOAuthConnections200ResponseDataConnectionsInner.js +76 -0
  929. package/dist/models/ListOAuthConnections200ResponseDataConnectionsInnerClient.d.ts +44 -0
  930. package/dist/models/ListOAuthConnections200ResponseDataConnectionsInnerClient.js +58 -0
  931. package/dist/models/ListPartnerCustomizations200ResponsePagination.d.ts +1 -1
  932. package/dist/models/ListPartnerCustomizations200ResponsePagination.js +2 -2
  933. package/dist/models/ListPartnerPresets200Response.d.ts +39 -0
  934. package/dist/models/ListPartnerPresets200Response.js +51 -0
  935. package/dist/models/ListShopifySeats200Response.d.ts +39 -0
  936. package/dist/models/ListShopifySeats200Response.js +51 -0
  937. package/dist/models/ListShopifySeats200ResponseData.d.ts +64 -0
  938. package/dist/models/ListShopifySeats200ResponseData.js +60 -0
  939. package/dist/models/ListShopifySeats200ResponseDataPlan.d.ts +81 -0
  940. package/dist/models/ListShopifySeats200ResponseDataPlan.js +76 -0
  941. package/dist/models/ListShopifySeats200ResponseDataSeatsInner.d.ts +111 -0
  942. package/dist/models/ListShopifySeats200ResponseDataSeatsInner.js +83 -0
  943. package/dist/models/ManagedUser.d.ts +13 -5
  944. package/dist/models/ManagedUser.js +14 -12
  945. package/dist/models/ManagedUserOperationUsage.d.ts +56 -0
  946. package/dist/models/ManagedUserOperationUsage.js +66 -0
  947. package/dist/models/ManagedUserUsage.d.ts +65 -0
  948. package/dist/models/ManagedUserUsage.js +72 -0
  949. package/dist/models/ManagedUserUsageTotals.d.ts +50 -0
  950. package/dist/models/ManagedUserUsageTotals.js +62 -0
  951. package/dist/models/MetricsGet200Response.d.ts +39 -0
  952. package/dist/models/MetricsGet200Response.js +51 -0
  953. package/dist/models/MetricsGet200ResponseData.d.ts +56 -0
  954. package/dist/models/MetricsGet200ResponseData.js +57 -0
  955. package/dist/models/MetricsGet200ResponseDataErrorsValue.d.ts +44 -0
  956. package/dist/models/MetricsGet200ResponseDataErrorsValue.js +52 -0
  957. package/dist/models/MetricsGet200ResponseDataLatencyValue.d.ts +50 -0
  958. package/dist/models/MetricsGet200ResponseDataLatencyValue.js +54 -0
  959. package/dist/models/MetricsLatencyGet200Response.d.ts +41 -0
  960. package/dist/models/MetricsLatencyGet200Response.js +52 -0
  961. package/dist/models/MetricsLatencyGet200ResponseDataValue.d.ts +62 -0
  962. package/dist/models/MetricsLatencyGet200ResponseDataValue.js +58 -0
  963. package/dist/models/ModifyCodeRequest.d.ts +0 -6
  964. package/dist/models/ModifyCodeRequest.js +0 -2
  965. package/dist/models/MyPreset.d.ts +50 -0
  966. package/dist/models/MyPreset.js +62 -0
  967. package/dist/models/MyPresetCopy.d.ts +56 -0
  968. package/dist/models/MyPresetCopy.js +66 -0
  969. package/dist/models/NewComposition.d.ts +12 -0
  970. package/dist/models/NewComposition.js +4 -0
  971. package/dist/models/NewEditorSession.d.ts +62 -0
  972. package/dist/models/NewEditorSession.js +65 -0
  973. package/dist/models/NewManagedUser.d.ts +3 -3
  974. package/dist/models/NewManagedUser.js +1 -3
  975. package/dist/models/NewWidget.d.ts +20 -66
  976. package/dist/models/NewWidget.js +6 -23
  977. package/dist/models/OperationsIdGet200Response.d.ts +88 -0
  978. package/dist/models/OperationsIdGet200Response.js +73 -0
  979. package/dist/models/OrganizationsOrgIdBillingGet200ResponseData.d.ts +9 -1
  980. package/dist/models/OrganizationsOrgIdBillingGet200ResponseData.js +2 -0
  981. package/dist/models/OrganizationsOrgIdBillingPortalPostRequest.d.ts +1 -1
  982. package/dist/models/OrganizationsOrgIdBillingUpgradePostRequest.d.ts +5 -1
  983. package/dist/models/Partner.d.ts +144 -0
  984. package/dist/models/Partner.js +97 -0
  985. package/dist/models/PartnerBillingOverview.d.ts +54 -0
  986. package/dist/models/PartnerBillingOverview.js +58 -0
  987. package/dist/models/PartnerBillingOverviewBillingIntegration.d.ts +50 -0
  988. package/dist/models/PartnerBillingOverviewBillingIntegration.js +54 -0
  989. package/dist/models/PartnerBillingOverviewOperationalCredits.d.ts +60 -0
  990. package/dist/models/PartnerBillingOverviewOperationalCredits.js +56 -0
  991. package/dist/models/PartnerBillingOverviewPartner.d.ts +58 -0
  992. package/dist/models/PartnerBillingOverviewPartner.js +62 -0
  993. package/dist/models/PartnerBillingReport.d.ts +69 -0
  994. package/dist/models/PartnerBillingReport.js +62 -0
  995. package/dist/models/PartnerBillingReportGroupedDataValue.d.ts +44 -0
  996. package/dist/models/PartnerBillingReportGroupedDataValue.js +52 -0
  997. package/dist/models/PartnerBillingReportSummary.d.ts +44 -0
  998. package/dist/models/PartnerBillingReportSummary.js +52 -0
  999. package/dist/models/PartnerContract.d.ts +120 -0
  1000. package/dist/models/PartnerContract.js +83 -0
  1001. package/dist/models/PartnerCreditAdjustment.d.ts +46 -0
  1002. package/dist/models/PartnerCreditAdjustment.js +52 -0
  1003. package/dist/models/PartnerCustomization.d.ts +13 -13
  1004. package/dist/models/PartnerCustomization.js +26 -26
  1005. package/dist/models/PartnerDetails.d.ts +164 -0
  1006. package/dist/models/PartnerDetails.js +106 -0
  1007. package/dist/models/PartnerDetailsAllOfAdminMetadata.d.ts +44 -0
  1008. package/dist/models/PartnerDetailsAllOfAdminMetadata.js +52 -0
  1009. package/dist/models/PartnerInvoice.d.ts +164 -0
  1010. package/dist/models/PartnerInvoice.js +101 -0
  1011. package/dist/models/PartnerList.d.ts +51 -0
  1012. package/dist/models/PartnerList.js +63 -0
  1013. package/dist/models/PartnerMonthlyStats.d.ts +81 -0
  1014. package/dist/models/PartnerMonthlyStats.js +65 -0
  1015. package/dist/models/PartnerMonthlyStatsPeriod.d.ts +38 -0
  1016. package/dist/models/PartnerMonthlyStatsPeriod.js +50 -0
  1017. package/dist/models/PartnerPreset.d.ts +81 -0
  1018. package/dist/models/PartnerPreset.js +82 -0
  1019. package/dist/models/PartnerPresetCopy.d.ts +62 -0
  1020. package/dist/models/PartnerPresetCopy.js +70 -0
  1021. package/dist/models/PartnerPresetRemoval.d.ts +32 -0
  1022. package/dist/models/PartnerPresetRemoval.js +50 -0
  1023. package/dist/models/PartnerStorageDestination.d.ts +99 -0
  1024. package/dist/models/PartnerStorageDestination.js +90 -0
  1025. package/dist/models/PartnerStorageRemoval.d.ts +32 -0
  1026. package/dist/models/PartnerStorageRemoval.js +50 -0
  1027. package/dist/models/PartnerUpdateResult.d.ts +158 -0
  1028. package/dist/models/PartnerUpdateResult.js +102 -0
  1029. package/dist/models/PartnerWithWarnings.d.ts +151 -0
  1030. package/dist/models/PartnerWithWarnings.js +99 -0
  1031. package/dist/models/PersonalWorkspaceDomain.d.ts +56 -0
  1032. package/dist/models/PersonalWorkspaceDomain.js +62 -0
  1033. package/dist/models/PersonalWorkspaceDomainResult.d.ts +39 -0
  1034. package/dist/models/PersonalWorkspaceDomainResult.js +55 -0
  1035. package/dist/models/PurchaseStoragePack200ResponseData.d.ts +3 -3
  1036. package/dist/models/PurchaseStoragePack200ResponseData.js +3 -3
  1037. package/dist/models/PurchaseStoragePackRequest.d.ts +3 -1
  1038. package/dist/models/RefundPartnerCreditsRequest.d.ts +65 -0
  1039. package/dist/models/RefundPartnerCreditsRequest.js +73 -0
  1040. package/dist/models/RemoveShopifySeat200Response.d.ts +39 -0
  1041. package/dist/models/RemoveShopifySeat200Response.js +51 -0
  1042. package/dist/models/RemoveShopifySeat200ResponseData.d.ts +55 -0
  1043. package/dist/models/RemoveShopifySeat200ResponseData.js +61 -0
  1044. package/dist/models/RemoveShopifySeat200ResponseDataSeat.d.ts +51 -0
  1045. package/dist/models/RemoveShopifySeat200ResponseDataSeat.js +59 -0
  1046. package/dist/models/RenameWidgetPublishHistoryTitle200Response.d.ts +39 -0
  1047. package/dist/models/RenameWidgetPublishHistoryTitle200Response.js +51 -0
  1048. package/dist/models/RenameWidgetPublishHistoryTitle200ResponseData.d.ts +44 -0
  1049. package/dist/models/RenameWidgetPublishHistoryTitle200ResponseData.js +52 -0
  1050. package/dist/models/RenameWidgetPublishHistoryTitleRequest.d.ts +32 -0
  1051. package/dist/models/RenameWidgetPublishHistoryTitleRequest.js +50 -0
  1052. package/dist/models/RepositoryResponse.d.ts +5 -0
  1053. package/dist/models/RevokeManagedUserEditorSessions200Response.d.ts +32 -0
  1054. package/dist/models/RevokeManagedUserEditorSessions200Response.js +48 -0
  1055. package/dist/models/SetPartnerPresetRequest.d.ts +50 -0
  1056. package/dist/models/SetPartnerPresetRequest.js +56 -0
  1057. package/dist/models/SetPartnerStorageDestinationRequest.d.ts +79 -0
  1058. package/dist/models/SetPartnerStorageDestinationRequest.js +74 -0
  1059. package/dist/models/SetWidgetPublishHistoryLive200ResponseDataData.d.ts +6 -0
  1060. package/dist/models/SetWidgetPublishHistoryLive200ResponseDataData.js +2 -0
  1061. package/dist/models/SignupUserRequest.d.ts +7 -1
  1062. package/dist/models/SignupUserRequest.js +2 -0
  1063. package/dist/models/StopWorkspaceABTestRequest.d.ts +10 -1
  1064. package/dist/models/StopWorkspaceABTestRequest.js +2 -0
  1065. package/dist/models/StorageChange.d.ts +96 -0
  1066. package/dist/models/StorageChange.js +93 -0
  1067. package/dist/models/StoragePack.d.ts +26 -7
  1068. package/dist/models/StoragePack.js +20 -11
  1069. package/dist/models/SubscriptionsIdRefundPreviewPost200Response.d.ts +71 -0
  1070. package/dist/models/SubscriptionsIdRefundPreviewPost200Response.js +67 -0
  1071. package/dist/models/SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
  1072. package/dist/models/SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js +55 -0
  1073. package/dist/models/SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.d.ts +38 -0
  1074. package/dist/models/SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js +50 -0
  1075. package/dist/models/SubscriptionsIdRefundPreviewPostRequest.d.ts +44 -0
  1076. package/dist/models/SubscriptionsIdRefundPreviewPostRequest.js +52 -0
  1077. package/dist/models/SyncShopifyBilling200Response.d.ts +39 -0
  1078. package/dist/models/SyncShopifyBilling200Response.js +51 -0
  1079. package/dist/models/SyncShopifyBilling200ResponseData.d.ts +39 -0
  1080. package/dist/models/SyncShopifyBilling200ResponseData.js +51 -0
  1081. package/dist/models/SyncShopifyBilling200ResponseDataSync.d.ts +67 -0
  1082. package/dist/models/SyncShopifyBilling200ResponseDataSync.js +72 -0
  1083. package/dist/models/UpdateDomainRequest.d.ts +3 -3
  1084. package/dist/models/UpdateDomainRequest.js +3 -3
  1085. package/dist/models/UpdateInvoiceStatusRequest.d.ts +47 -0
  1086. package/dist/models/UpdateInvoiceStatusRequest.js +65 -0
  1087. package/dist/models/UpdateManagedUser.d.ts +8 -1
  1088. package/dist/models/UpdateManagedUser.js +2 -0
  1089. package/dist/models/UpdateMessageRequest.d.ts +5 -4
  1090. package/dist/models/UpdateMessageRequest.js +3 -2
  1091. package/dist/models/UpdatePartnerEntitlements200Response.d.ts +2 -2
  1092. package/dist/models/UpdatePartnerEntitlements200Response.js +4 -4
  1093. package/dist/models/UpdatePartnerRequest.d.ts +89 -0
  1094. package/dist/models/UpdatePartnerRequest.js +66 -0
  1095. package/dist/models/UpdatePartnerStatusRequest.d.ts +47 -0
  1096. package/dist/models/UpdatePartnerStatusRequest.js +61 -0
  1097. package/dist/models/UpdateUserApiKeyRequest.d.ts +38 -0
  1098. package/dist/models/UpdateUserApiKeyRequest.js +50 -0
  1099. package/dist/models/UpdateWidget.d.ts +3 -15
  1100. package/dist/models/UpdateWidget.js +3 -7
  1101. package/dist/models/UpdateWidgetComponentsMetadataInner.d.ts +64 -0
  1102. package/dist/models/UpdateWidgetComponentsMetadataInner.js +60 -0
  1103. package/dist/models/UpdateWidgetComponentsMetadataInnerPosition.d.ts +38 -0
  1104. package/dist/models/UpdateWidgetComponentsMetadataInnerPosition.js +50 -0
  1105. package/dist/models/UpdateWidgetComponentsMetadataInnerSize.d.ts +38 -0
  1106. package/dist/models/UpdateWidgetComponentsMetadataInnerSize.js +50 -0
  1107. package/dist/models/Upload.d.ts +124 -0
  1108. package/dist/models/Upload.js +107 -0
  1109. package/dist/models/UploadLimits.d.ts +62 -0
  1110. package/dist/models/UploadLimits.js +58 -0
  1111. package/dist/models/UploadsGet200Response.d.ts +39 -0
  1112. package/dist/models/UploadsGet200Response.js +51 -0
  1113. package/dist/models/UserApiKey.d.ts +68 -0
  1114. package/dist/models/UserApiKey.js +70 -0
  1115. package/dist/models/UserApiKeyUsageLog.d.ts +76 -0
  1116. package/dist/models/UserApiKeyUsageLog.js +74 -0
  1117. package/dist/models/Widget.d.ts +6 -18
  1118. package/dist/models/Widget.js +2 -6
  1119. package/dist/models/index.d.ts +206 -74
  1120. package/dist/models/index.js +206 -74
  1121. package/dist/runtime.d.ts +40 -3
  1122. package/dist/runtime.js +75 -15
  1123. package/package.json +1 -1
  1124. package/dist/apis/AgentRepositoryManagementApi.d.ts +0 -32
  1125. package/dist/apis/AgentRepositoryManagementApi.js +0 -75
  1126. package/dist/apis/UIComponentsApi.d.ts +0 -96
  1127. package/dist/apis/UIComponentsApi.js +0 -209
  1128. package/dist/apis/WorkflowsApi.d.ts +0 -44
  1129. package/dist/apis/WorkflowsApi.js +0 -111
  1130. package/dist/esm/apis/AgentRepositoryManagementApi.d.ts +0 -32
  1131. package/dist/esm/apis/AgentRepositoryManagementApi.js +0 -71
  1132. package/dist/esm/apis/UIComponentsApi.d.ts +0 -96
  1133. package/dist/esm/apis/UIComponentsApi.js +0 -205
  1134. package/dist/esm/apis/WorkflowsApi.d.ts +0 -44
  1135. package/dist/esm/apis/WorkflowsApi.js +0 -107
  1136. package/dist/esm/models/AgentRepositoriesRepoIdSyncPost202Response.d.ts +0 -32
  1137. package/dist/esm/models/AgentRepositoriesRepoIdSyncPost202Response.js +0 -41
  1138. package/dist/esm/models/AgentRepositoriesRepoIdSyncPostRequest.d.ts +0 -32
  1139. package/dist/esm/models/AgentRepositoriesRepoIdSyncPostRequest.js +0 -43
  1140. package/dist/esm/models/AgentTasksTaskIdStatusPutRequest.d.ts +0 -54
  1141. package/dist/esm/models/AgentTasksTaskIdStatusPutRequest.js +0 -60
  1142. package/dist/esm/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.d.ts +0 -32
  1143. package/dist/esm/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.js +0 -41
  1144. package/dist/esm/models/ApiV1AdminBillingGrantsPostRequest.d.ts +0 -82
  1145. package/dist/esm/models/ApiV1AdminBillingGrantsPostRequest.js +0 -79
  1146. package/dist/esm/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.d.ts +0 -32
  1147. package/dist/esm/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.js +0 -41
  1148. package/dist/esm/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +0 -32
  1149. package/dist/esm/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +0 -43
  1150. package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200Response.d.ts +0 -39
  1151. package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200Response.js +0 -44
  1152. package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.d.ts +0 -57
  1153. package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.js +0 -50
  1154. package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.d.ts +0 -68
  1155. package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.js +0 -53
  1156. package/dist/esm/models/ApiV1AdminBillingRefundsPostRequest.d.ts +0 -70
  1157. package/dist/esm/models/ApiV1AdminBillingRefundsPostRequest.js +0 -64
  1158. package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200Response.d.ts +0 -71
  1159. package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200Response.js +0 -59
  1160. package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.d.ts +0 -51
  1161. package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js +0 -48
  1162. package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPostRequest.d.ts +0 -70
  1163. package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPostRequest.js +0 -62
  1164. package/dist/esm/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.d.ts +0 -46
  1165. package/dist/esm/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.js +0 -52
  1166. package/dist/esm/models/ApiV1BillingPricingGet200Response.d.ts +0 -39
  1167. package/dist/esm/models/ApiV1BillingPricingGet200Response.js +0 -44
  1168. package/dist/esm/models/ApiV1BillingPricingGet200ResponseData.d.ts +0 -46
  1169. package/dist/esm/models/ApiV1BillingPricingGet200ResponseData.js +0 -47
  1170. package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataPlansInner.d.ts +0 -68
  1171. package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataPlansInner.js +0 -53
  1172. package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataTrial.d.ts +0 -44
  1173. package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataTrial.js +0 -45
  1174. package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200Response.d.ts +0 -39
  1175. package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200Response.js +0 -44
  1176. package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.d.ts +0 -33
  1177. package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.js +0 -42
  1178. package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.d.ts +0 -68
  1179. package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.js +0 -53
  1180. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.d.ts +0 -39
  1181. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.js +0 -44
  1182. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.d.ts +0 -33
  1183. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.js +0 -42
  1184. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +0 -62
  1185. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.js +0 -51
  1186. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.d.ts +0 -39
  1187. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.js +0 -44
  1188. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.d.ts +0 -32
  1189. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.js +0 -41
  1190. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.d.ts +0 -39
  1191. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.js +0 -44
  1192. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.d.ts +0 -32
  1193. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.js +0 -41
  1194. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.d.ts +0 -39
  1195. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.js +0 -44
  1196. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.d.ts +0 -33
  1197. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.js +0 -42
  1198. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.d.ts +0 -32
  1199. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.js +0 -43
  1200. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.d.ts +0 -39
  1201. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.js +0 -44
  1202. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.d.ts +0 -50
  1203. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.js +0 -47
  1204. package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200Response.d.ts +0 -39
  1205. package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200Response.js +0 -44
  1206. package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.d.ts +0 -32
  1207. package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.js +0 -41
  1208. package/dist/esm/models/ApiV1BillingUsersUserIdPortalPostRequest.d.ts +0 -32
  1209. package/dist/esm/models/ApiV1BillingUsersUserIdPortalPostRequest.js +0 -41
  1210. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.d.ts +0 -39
  1211. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.js +0 -44
  1212. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.d.ts +0 -32
  1213. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.js +0 -41
  1214. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.d.ts +0 -32
  1215. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.js +0 -41
  1216. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.d.ts +0 -39
  1217. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.js +0 -44
  1218. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.d.ts +0 -120
  1219. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.js +0 -76
  1220. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.d.ts +0 -39
  1221. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.js +0 -44
  1222. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.d.ts +0 -38
  1223. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.js +0 -43
  1224. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.d.ts +0 -39
  1225. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.js +0 -44
  1226. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.d.ts +0 -38
  1227. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.js +0 -43
  1228. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.d.ts +0 -53
  1229. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.js +0 -58
  1230. package/dist/esm/models/ApiV1MetricsGet200Response.d.ts +0 -39
  1231. package/dist/esm/models/ApiV1MetricsGet200Response.js +0 -44
  1232. package/dist/esm/models/ApiV1MetricsGet200ResponseData.d.ts +0 -56
  1233. package/dist/esm/models/ApiV1MetricsGet200ResponseData.js +0 -50
  1234. package/dist/esm/models/ApiV1MetricsGet200ResponseDataErrorsValue.d.ts +0 -44
  1235. package/dist/esm/models/ApiV1MetricsGet200ResponseDataErrorsValue.js +0 -45
  1236. package/dist/esm/models/ApiV1MetricsGet200ResponseDataLatencyValue.d.ts +0 -50
  1237. package/dist/esm/models/ApiV1MetricsGet200ResponseDataLatencyValue.js +0 -47
  1238. package/dist/esm/models/ApiV1MetricsLatencyGet200Response.d.ts +0 -41
  1239. package/dist/esm/models/ApiV1MetricsLatencyGet200Response.js +0 -45
  1240. package/dist/esm/models/ApiV1MetricsLatencyGet200ResponseDataValue.d.ts +0 -62
  1241. package/dist/esm/models/ApiV1MetricsLatencyGet200ResponseDataValue.js +0 -51
  1242. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.d.ts +0 -71
  1243. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.js +0 -59
  1244. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.d.ts +0 -51
  1245. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js +0 -48
  1246. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.d.ts +0 -38
  1247. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js +0 -43
  1248. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.d.ts +0 -44
  1249. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.js +0 -45
  1250. package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.d.ts +0 -38
  1251. package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.js +0 -43
  1252. package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.d.ts +0 -38
  1253. package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.js +0 -47
  1254. package/dist/esm/models/ComponentManifest.d.ts +0 -52
  1255. package/dist/esm/models/ComponentManifest.js +0 -49
  1256. package/dist/esm/models/ComponentManifestAssets.d.ts +0 -38
  1257. package/dist/esm/models/ComponentManifestAssets.js +0 -43
  1258. package/dist/esm/models/ComponentManifestConfig.d.ts +0 -44
  1259. package/dist/esm/models/ComponentManifestConfig.js +0 -45
  1260. package/dist/esm/models/DevelopmentPlan.d.ts +0 -97
  1261. package/dist/esm/models/DevelopmentPlan.js +0 -69
  1262. package/dist/esm/models/DevelopmentTask.d.ts +0 -90
  1263. package/dist/esm/models/DevelopmentTask.js +0 -66
  1264. package/dist/esm/models/GenerateComponentWorkflowInput.d.ts +0 -56
  1265. package/dist/esm/models/GenerateComponentWorkflowInput.js +0 -55
  1266. package/dist/esm/models/GenerateMixedComponentInput.d.ts +0 -62
  1267. package/dist/esm/models/GenerateMixedComponentInput.js +0 -59
  1268. package/dist/esm/models/GetCompositionsBatch200ResponseErrorsInner.d.ts +0 -38
  1269. package/dist/esm/models/GetCompositionsBatch200ResponseErrorsInner.js +0 -43
  1270. package/dist/esm/models/GetOrganizationStorageUsage200ResponseDataBreakdown.d.ts +0 -44
  1271. package/dist/esm/models/GetOrganizationStorageUsage200ResponseDataBreakdown.js +0 -45
  1272. package/dist/esm/models/ListComponents200Response.d.ts +0 -33
  1273. package/dist/esm/models/ListComponents200Response.js +0 -42
  1274. package/dist/esm/models/LoginUser200Response.d.ts +0 -38
  1275. package/dist/esm/models/LoginUser200Response.js +0 -43
  1276. package/dist/esm/models/MountRequest.d.ts +0 -45
  1277. package/dist/esm/models/MountRequest.js +0 -48
  1278. package/dist/esm/models/MountRequestTheme.d.ts +0 -54
  1279. package/dist/esm/models/MountRequestTheme.js +0 -54
  1280. package/dist/esm/models/MountRequestThemeColors.d.ts +0 -50
  1281. package/dist/esm/models/MountRequestThemeColors.js +0 -47
  1282. package/dist/esm/models/MountRequestThemeTypography.d.ts +0 -38
  1283. package/dist/esm/models/MountRequestThemeTypography.js +0 -43
  1284. package/dist/esm/models/MountResponse.d.ts +0 -46
  1285. package/dist/esm/models/MountResponse.js +0 -50
  1286. package/dist/esm/models/NewWidgetComponentsMetadataInner.d.ts +0 -64
  1287. package/dist/esm/models/NewWidgetComponentsMetadataInner.js +0 -53
  1288. package/dist/esm/models/NewWidgetComponentsMetadataInnerPosition.d.ts +0 -38
  1289. package/dist/esm/models/NewWidgetComponentsMetadataInnerPosition.js +0 -43
  1290. package/dist/esm/models/NewWidgetComponentsMetadataInnerSize.d.ts +0 -38
  1291. package/dist/esm/models/NewWidgetComponentsMetadataInnerSize.js +0 -43
  1292. package/dist/esm/models/PurchaseStoragePack200ResponseDataPaymentIntent.d.ts +0 -50
  1293. package/dist/esm/models/PurchaseStoragePack200ResponseDataPaymentIntent.js +0 -47
  1294. package/dist/esm/models/RollbackComponent200Response.d.ts +0 -38
  1295. package/dist/esm/models/RollbackComponent200Response.js +0 -43
  1296. package/dist/esm/models/RollbackComponentRequest.d.ts +0 -38
  1297. package/dist/esm/models/RollbackComponentRequest.js +0 -45
  1298. package/dist/esm/models/UIComponent.d.ts +0 -65
  1299. package/dist/esm/models/UIComponent.js +0 -57
  1300. package/dist/esm/models/UpdateCompositionRequest.d.ts +0 -68
  1301. package/dist/esm/models/UpdateCompositionRequest.js +0 -53
  1302. package/dist/esm/models/WorkflowAcceptedResponse.d.ts +0 -38
  1303. package/dist/esm/models/WorkflowAcceptedResponse.js +0 -43
  1304. package/dist/models/AgentRepositoriesRepoIdSyncPost202Response.d.ts +0 -32
  1305. package/dist/models/AgentRepositoriesRepoIdSyncPost202Response.js +0 -48
  1306. package/dist/models/AgentRepositoriesRepoIdSyncPostRequest.d.ts +0 -32
  1307. package/dist/models/AgentRepositoriesRepoIdSyncPostRequest.js +0 -50
  1308. package/dist/models/AgentTasksTaskIdStatusPutRequest.d.ts +0 -54
  1309. package/dist/models/AgentTasksTaskIdStatusPutRequest.js +0 -68
  1310. package/dist/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.d.ts +0 -32
  1311. package/dist/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.js +0 -48
  1312. package/dist/models/ApiV1AdminBillingGrantsPostRequest.d.ts +0 -82
  1313. package/dist/models/ApiV1AdminBillingGrantsPostRequest.js +0 -87
  1314. package/dist/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.d.ts +0 -32
  1315. package/dist/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.js +0 -48
  1316. package/dist/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +0 -32
  1317. package/dist/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +0 -50
  1318. package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200Response.d.ts +0 -39
  1319. package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200Response.js +0 -51
  1320. package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.d.ts +0 -57
  1321. package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.js +0 -57
  1322. package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.d.ts +0 -68
  1323. package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.js +0 -60
  1324. package/dist/models/ApiV1AdminBillingRefundsPostRequest.d.ts +0 -70
  1325. package/dist/models/ApiV1AdminBillingRefundsPostRequest.js +0 -72
  1326. package/dist/models/ApiV1AdminBillingRefundsPreviewPost200Response.d.ts +0 -71
  1327. package/dist/models/ApiV1AdminBillingRefundsPreviewPost200Response.js +0 -67
  1328. package/dist/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.d.ts +0 -51
  1329. package/dist/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js +0 -55
  1330. package/dist/models/ApiV1AdminBillingRefundsPreviewPostRequest.d.ts +0 -70
  1331. package/dist/models/ApiV1AdminBillingRefundsPreviewPostRequest.js +0 -70
  1332. package/dist/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.d.ts +0 -46
  1333. package/dist/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.js +0 -60
  1334. package/dist/models/ApiV1BillingPricingGet200Response.d.ts +0 -39
  1335. package/dist/models/ApiV1BillingPricingGet200Response.js +0 -51
  1336. package/dist/models/ApiV1BillingPricingGet200ResponseData.d.ts +0 -46
  1337. package/dist/models/ApiV1BillingPricingGet200ResponseData.js +0 -54
  1338. package/dist/models/ApiV1BillingPricingGet200ResponseDataPlansInner.d.ts +0 -68
  1339. package/dist/models/ApiV1BillingPricingGet200ResponseDataPlansInner.js +0 -60
  1340. package/dist/models/ApiV1BillingPricingGet200ResponseDataTrial.d.ts +0 -44
  1341. package/dist/models/ApiV1BillingPricingGet200ResponseDataTrial.js +0 -52
  1342. package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200Response.d.ts +0 -39
  1343. package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200Response.js +0 -51
  1344. package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.d.ts +0 -33
  1345. package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.js +0 -49
  1346. package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.d.ts +0 -68
  1347. package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.js +0 -60
  1348. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.d.ts +0 -39
  1349. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.js +0 -51
  1350. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.d.ts +0 -33
  1351. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.js +0 -49
  1352. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +0 -62
  1353. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.js +0 -58
  1354. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.d.ts +0 -39
  1355. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.js +0 -51
  1356. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.d.ts +0 -32
  1357. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.js +0 -48
  1358. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.d.ts +0 -39
  1359. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.js +0 -51
  1360. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.d.ts +0 -32
  1361. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.js +0 -48
  1362. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.d.ts +0 -39
  1363. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.js +0 -51
  1364. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.d.ts +0 -33
  1365. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.js +0 -49
  1366. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.d.ts +0 -32
  1367. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.js +0 -50
  1368. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.d.ts +0 -39
  1369. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.js +0 -51
  1370. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.d.ts +0 -50
  1371. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.js +0 -54
  1372. package/dist/models/ApiV1BillingUsersUserIdPortalPost200Response.d.ts +0 -39
  1373. package/dist/models/ApiV1BillingUsersUserIdPortalPost200Response.js +0 -51
  1374. package/dist/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.d.ts +0 -32
  1375. package/dist/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.js +0 -48
  1376. package/dist/models/ApiV1BillingUsersUserIdPortalPostRequest.d.ts +0 -32
  1377. package/dist/models/ApiV1BillingUsersUserIdPortalPostRequest.js +0 -48
  1378. package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.d.ts +0 -39
  1379. package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.js +0 -51
  1380. package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.d.ts +0 -32
  1381. package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.js +0 -48
  1382. package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.d.ts +0 -32
  1383. package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.js +0 -48
  1384. package/dist/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.d.ts +0 -39
  1385. package/dist/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.js +0 -51
  1386. package/dist/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.d.ts +0 -120
  1387. package/dist/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.js +0 -84
  1388. package/dist/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.d.ts +0 -39
  1389. package/dist/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.js +0 -51
  1390. package/dist/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.d.ts +0 -38
  1391. package/dist/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.js +0 -50
  1392. package/dist/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.d.ts +0 -39
  1393. package/dist/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.js +0 -51
  1394. package/dist/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.d.ts +0 -38
  1395. package/dist/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.js +0 -50
  1396. package/dist/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.d.ts +0 -53
  1397. package/dist/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.js +0 -66
  1398. package/dist/models/ApiV1MetricsGet200Response.d.ts +0 -39
  1399. package/dist/models/ApiV1MetricsGet200Response.js +0 -51
  1400. package/dist/models/ApiV1MetricsGet200ResponseData.d.ts +0 -56
  1401. package/dist/models/ApiV1MetricsGet200ResponseData.js +0 -57
  1402. package/dist/models/ApiV1MetricsGet200ResponseDataErrorsValue.d.ts +0 -44
  1403. package/dist/models/ApiV1MetricsGet200ResponseDataErrorsValue.js +0 -52
  1404. package/dist/models/ApiV1MetricsGet200ResponseDataLatencyValue.d.ts +0 -50
  1405. package/dist/models/ApiV1MetricsGet200ResponseDataLatencyValue.js +0 -54
  1406. package/dist/models/ApiV1MetricsLatencyGet200Response.d.ts +0 -41
  1407. package/dist/models/ApiV1MetricsLatencyGet200Response.js +0 -52
  1408. package/dist/models/ApiV1MetricsLatencyGet200ResponseDataValue.d.ts +0 -62
  1409. package/dist/models/ApiV1MetricsLatencyGet200ResponseDataValue.js +0 -58
  1410. package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.d.ts +0 -71
  1411. package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.js +0 -67
  1412. package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.d.ts +0 -51
  1413. package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js +0 -55
  1414. package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.d.ts +0 -38
  1415. package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js +0 -50
  1416. package/dist/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.d.ts +0 -44
  1417. package/dist/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.js +0 -52
  1418. package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.d.ts +0 -38
  1419. package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.js +0 -50
  1420. package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.d.ts +0 -38
  1421. package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.js +0 -54
  1422. package/dist/models/ComponentManifest.d.ts +0 -52
  1423. package/dist/models/ComponentManifest.js +0 -56
  1424. package/dist/models/ComponentManifestAssets.d.ts +0 -38
  1425. package/dist/models/ComponentManifestAssets.js +0 -50
  1426. package/dist/models/ComponentManifestConfig.d.ts +0 -44
  1427. package/dist/models/ComponentManifestConfig.js +0 -52
  1428. package/dist/models/DevelopmentPlan.d.ts +0 -97
  1429. package/dist/models/DevelopmentPlan.js +0 -77
  1430. package/dist/models/DevelopmentTask.d.ts +0 -90
  1431. package/dist/models/DevelopmentTask.js +0 -74
  1432. package/dist/models/GenerateComponentWorkflowInput.d.ts +0 -56
  1433. package/dist/models/GenerateComponentWorkflowInput.js +0 -62
  1434. package/dist/models/GenerateMixedComponentInput.d.ts +0 -62
  1435. package/dist/models/GenerateMixedComponentInput.js +0 -66
  1436. package/dist/models/GetCompositionsBatch200ResponseErrorsInner.d.ts +0 -38
  1437. package/dist/models/GetCompositionsBatch200ResponseErrorsInner.js +0 -50
  1438. package/dist/models/GetOrganizationStorageUsage200ResponseDataBreakdown.d.ts +0 -44
  1439. package/dist/models/GetOrganizationStorageUsage200ResponseDataBreakdown.js +0 -52
  1440. package/dist/models/ListComponents200Response.d.ts +0 -33
  1441. package/dist/models/ListComponents200Response.js +0 -49
  1442. package/dist/models/LoginUser200Response.d.ts +0 -38
  1443. package/dist/models/LoginUser200Response.js +0 -50
  1444. package/dist/models/MountRequest.d.ts +0 -45
  1445. package/dist/models/MountRequest.js +0 -55
  1446. package/dist/models/MountRequestTheme.d.ts +0 -54
  1447. package/dist/models/MountRequestTheme.js +0 -62
  1448. package/dist/models/MountRequestThemeColors.d.ts +0 -50
  1449. package/dist/models/MountRequestThemeColors.js +0 -54
  1450. package/dist/models/MountRequestThemeTypography.d.ts +0 -38
  1451. package/dist/models/MountRequestThemeTypography.js +0 -50
  1452. package/dist/models/MountResponse.d.ts +0 -46
  1453. package/dist/models/MountResponse.js +0 -58
  1454. package/dist/models/NewWidgetComponentsMetadataInner.d.ts +0 -64
  1455. package/dist/models/NewWidgetComponentsMetadataInner.js +0 -60
  1456. package/dist/models/NewWidgetComponentsMetadataInnerPosition.d.ts +0 -38
  1457. package/dist/models/NewWidgetComponentsMetadataInnerPosition.js +0 -50
  1458. package/dist/models/NewWidgetComponentsMetadataInnerSize.d.ts +0 -38
  1459. package/dist/models/NewWidgetComponentsMetadataInnerSize.js +0 -50
  1460. package/dist/models/PurchaseStoragePack200ResponseDataPaymentIntent.d.ts +0 -50
  1461. package/dist/models/PurchaseStoragePack200ResponseDataPaymentIntent.js +0 -54
  1462. package/dist/models/RollbackComponent200Response.d.ts +0 -38
  1463. package/dist/models/RollbackComponent200Response.js +0 -50
  1464. package/dist/models/RollbackComponentRequest.d.ts +0 -38
  1465. package/dist/models/RollbackComponentRequest.js +0 -52
  1466. package/dist/models/UIComponent.d.ts +0 -65
  1467. package/dist/models/UIComponent.js +0 -65
  1468. package/dist/models/UpdateCompositionRequest.d.ts +0 -68
  1469. package/dist/models/UpdateCompositionRequest.js +0 -60
  1470. package/dist/models/WorkflowAcceptedResponse.d.ts +0 -38
  1471. package/dist/models/WorkflowAcceptedResponse.js +0 -50
@@ -0,0 +1,127 @@
1
+ /**
2
+ * Widgetic API Gateway
3
+ * API documentation for the Widgetic API Gateway
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import * as runtime from '../runtime';
13
+ import type { ApproveShopifySeat200Response, CreateShopifyBuilderSession200Response, CreateShopifyBuilderSessionRequest, DeclineShopifySeat200Response, GetShopifySeatQuote200Response, GetShopifyTenant200Response, ListShopifySeats200Response, RemoveShopifySeat200Response, SyncShopifyBilling200Response } from '../models/index';
14
+ export interface ApproveShopifySeatRequest {
15
+ id: string;
16
+ body?: object;
17
+ }
18
+ export interface CreateShopifyBuilderSessionOperationRequest {
19
+ createShopifyBuilderSessionRequest?: CreateShopifyBuilderSessionRequest;
20
+ }
21
+ export interface DeclineShopifySeatRequest {
22
+ id: string;
23
+ body?: object;
24
+ }
25
+ export interface GetShopifySeatQuoteRequest {
26
+ seats?: number;
27
+ frequency?: GetShopifySeatQuoteFrequencyEnum;
28
+ }
29
+ export interface RemoveShopifySeatRequest {
30
+ id: string;
31
+ }
32
+ export interface SyncShopifyBillingRequest {
33
+ body?: object;
34
+ }
35
+ /**
36
+ *
37
+ */
38
+ export declare class ShopifyApi extends runtime.BaseAPI {
39
+ /**
40
+ * Lets a person who asked to join use Widgetic for the store. The person becomes a team member of the store under their own account (nobody signs up; the account is made for them) with the same features, credits and storage as any member of a Teams store. The credits are this period\'s, pro-rated from today, the way a member who joins a team on widgetic.com gets them. When the store\'s plan has no free seat the person is approved and waits (`outcome` of `awaiting_plan`): the store is not charged for anything, and they are seated as soon as a plan with room is recorded (the merchant chooses one on Shopify\'s plan page). `GET /shopify/billing/quote` says which plan that is. A person suspended because the plan shrank is not queued: there is `409` until a seat is free. Safe to repeat. If the person was seated but their credits and features could not be set up, the answer is `503` with `error.code` of `SHOPIFY_SEAT_RIGHTS_PENDING`; approve again. Only the store\'s account owner may approve, and Shopify is asked to confirm it every time: the recorded answer is not good enough for a change. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
41
+ * Approve a person for the store
42
+ */
43
+ approveShopifySeatRaw(requestParameters: ApproveShopifySeatRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApproveShopifySeat200Response>>;
44
+ /**
45
+ * Lets a person who asked to join use Widgetic for the store. The person becomes a team member of the store under their own account (nobody signs up; the account is made for them) with the same features, credits and storage as any member of a Teams store. The credits are this period\'s, pro-rated from today, the way a member who joins a team on widgetic.com gets them. When the store\'s plan has no free seat the person is approved and waits (`outcome` of `awaiting_plan`): the store is not charged for anything, and they are seated as soon as a plan with room is recorded (the merchant chooses one on Shopify\'s plan page). `GET /shopify/billing/quote` says which plan that is. A person suspended because the plan shrank is not queued: there is `409` until a seat is free. Safe to repeat. If the person was seated but their credits and features could not be set up, the answer is `503` with `error.code` of `SHOPIFY_SEAT_RIGHTS_PENDING`; approve again. Only the store\'s account owner may approve, and Shopify is asked to confirm it every time: the recorded answer is not good enough for a change. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
46
+ * Approve a person for the store
47
+ */
48
+ approveShopifySeat(requestParameters: ApproveShopifySeatRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApproveShopifySeat200Response>;
49
+ /**
50
+ * Lets a person who is using the Shopify app (the store\'s owner, or a team member the owner approved) open the Widgetic builder already signed in, without creating an account. The account signed in is the one the verified person acts as: the store\'s owner account for the owner, the person\'s own member account for a team member. Nothing in the request chooses it. Returns a short-lived signed credential (`handoffToken`) for the site\'s sign-in landing page: open `<site>/auth/oauth-complete/shopify#os=<handoffToken>` (in the URL fragment, never the query string) and the site exchanges it for a session and continues to the builder. The response is a credential: it expires after `expiresInSeconds`, is sent with `Cache-Control: no-store`, and must not be logged or stored. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`). Any other credential receives `403`, and so does a person who has no working seat in the store yet (`error.code` of `SEAT_REQUIRED`). An account the Shopify app did not create for this store (for instance a store whose owner is an ordinary person\'s account) also receives `403`, because signing in as a real person\'s account would expose that person\'s other organizations.
51
+ * Sign the person using the app in to the Widgetic builder
52
+ */
53
+ createShopifyBuilderSessionRaw(requestParameters: CreateShopifyBuilderSessionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateShopifyBuilderSession200Response>>;
54
+ /**
55
+ * Lets a person who is using the Shopify app (the store\'s owner, or a team member the owner approved) open the Widgetic builder already signed in, without creating an account. The account signed in is the one the verified person acts as: the store\'s owner account for the owner, the person\'s own member account for a team member. Nothing in the request chooses it. Returns a short-lived signed credential (`handoffToken`) for the site\'s sign-in landing page: open `<site>/auth/oauth-complete/shopify#os=<handoffToken>` (in the URL fragment, never the query string) and the site exchanges it for a session and continues to the builder. The response is a credential: it expires after `expiresInSeconds`, is sent with `Cache-Control: no-store`, and must not be logged or stored. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`). Any other credential receives `403`, and so does a person who has no working seat in the store yet (`error.code` of `SEAT_REQUIRED`). An account the Shopify app did not create for this store (for instance a store whose owner is an ordinary person\'s account) also receives `403`, because signing in as a real person\'s account would expose that person\'s other organizations.
56
+ * Sign the person using the app in to the Widgetic builder
57
+ */
58
+ createShopifyBuilderSession(requestParameters?: CreateShopifyBuilderSessionOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateShopifyBuilderSession200Response>;
59
+ /**
60
+ * Turns down a person who asked to join, or who was approved and waits for a plan with room. They are told the store owner did not approve them, and can be approved later. A person who already has a seat is removed (`DELETE /shopify/seats/{id}`), not declined. Safe to repeat. Only the store\'s account owner may decline, and Shopify is asked to confirm it every time. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
61
+ * Decline a person who asked to join
62
+ */
63
+ declineShopifySeatRaw(requestParameters: DeclineShopifySeatRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeclineShopifySeat200Response>>;
64
+ /**
65
+ * Turns down a person who asked to join, or who was approved and waits for a plan with room. They are told the store owner did not approve them, and can be approved later. A person who already has a seat is removed (`DELETE /shopify/seats/{id}`), not declined. Safe to repeat. Only the store\'s account owner may decline, and Shopify is asked to confirm it every time. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
66
+ * Decline a person who asked to join
67
+ */
68
+ declineShopifySeat(requestParameters: DeclineShopifySeatRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeclineShopifySeat200Response>;
69
+ /**
70
+ * Tells the store\'s account owner, before they add people, which plan would seat everybody, roughly what Shopify will charge today, and the credits each person would get. Nothing is charged and Shopify is not asked: the plan is the one on record, and every figure is an estimate (`isEstimate` is always true). Shopify shows the exact charge on its plan page, which is where the plan is changed (`planPageUrl`). The daily rate and the credits are worked out by the same code that prices a seat added to a team on widgetic.com, so the two never disagree. A store on a paid plan that moves to a bigger one pays the difference in price for the rest of the period it is in; a store with no plan, in its trial, or that cancelled pays the new plan\'s full price and its period starts now. Without `seats`, the quote is for the people in seats, the people already approved and waiting, and one more: what approving the next person needs. Only the store\'s account owner may read it (`403` and `error.code` of `ACCOUNT_OWNER_REQUIRED` otherwise). Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
71
+ * Estimate what seating more people would cost
72
+ */
73
+ getShopifySeatQuoteRaw(requestParameters: GetShopifySeatQuoteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetShopifySeatQuote200Response>>;
74
+ /**
75
+ * Tells the store\'s account owner, before they add people, which plan would seat everybody, roughly what Shopify will charge today, and the credits each person would get. Nothing is charged and Shopify is not asked: the plan is the one on record, and every figure is an estimate (`isEstimate` is always true). Shopify shows the exact charge on its plan page, which is where the plan is changed (`planPageUrl`). The daily rate and the credits are worked out by the same code that prices a seat added to a team on widgetic.com, so the two never disagree. A store on a paid plan that moves to a bigger one pays the difference in price for the rest of the period it is in; a store with no plan, in its trial, or that cancelled pays the new plan\'s full price and its period starts now. Without `seats`, the quote is for the people in seats, the people already approved and waiting, and one more: what approving the next person needs. Only the store\'s account owner may read it (`403` and `error.code` of `ACCOUNT_OWNER_REQUIRED` otherwise). Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
76
+ * Estimate what seating more people would cost
77
+ */
78
+ getShopifySeatQuote(requestParameters?: GetShopifySeatQuoteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetShopifySeatQuote200Response>;
79
+ /**
80
+ * Resolves the calling Shopify store to its Widgetic organization and reports the store\'s plan. The first call for a store provisions it: an organization and a system-created owner, with no sign-up and no free period: the store has no plan (`plan.hasChosenPlan` is false) until it picks one on Shopify\'s plan page, and the only trial is the 7-day trial on the Solo plan. `isNewInstall` is true only on that call, so the app can welcome a new install once. Shopify sends no subscription webhooks, so when the store\'s plan was last read from Shopify more than five minutes ago it is read again first (a slow Shopify never delays the answer by more than a few seconds). `seat` describes the caller\'s own place in the store. The first person to open a store holds its owner seat until the store\'s account owner opens the app, who then takes it; everybody else asks to join and waits for the account owner to approve them (`canUseWidgetic` is false and `message` says why). A person who cannot use Widgetic yet can still call this endpoint, so the app can tell them so; every other endpoint refuses them with `403` and `error.code` of `SEAT_REQUIRED`. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`). Any other credential receives `403`, because there is no store to describe.
81
+ * Get the store behind a Shopify session
82
+ */
83
+ getShopifyTenantRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetShopifyTenant200Response>>;
84
+ /**
85
+ * Resolves the calling Shopify store to its Widgetic organization and reports the store\'s plan. The first call for a store provisions it: an organization and a system-created owner, with no sign-up and no free period: the store has no plan (`plan.hasChosenPlan` is false) until it picks one on Shopify\'s plan page, and the only trial is the 7-day trial on the Solo plan. `isNewInstall` is true only on that call, so the app can welcome a new install once. Shopify sends no subscription webhooks, so when the store\'s plan was last read from Shopify more than five minutes ago it is read again first (a slow Shopify never delays the answer by more than a few seconds). `seat` describes the caller\'s own place in the store. The first person to open a store holds its owner seat until the store\'s account owner opens the app, who then takes it; everybody else asks to join and waits for the account owner to approve them (`canUseWidgetic` is false and `message` says why). A person who cannot use Widgetic yet can still call this endpoint, so the app can tell them so; every other endpoint refuses them with `403` and `error.code` of `SEAT_REQUIRED`. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`). Any other credential receives `403`, because there is no store to describe.
86
+ * Get the store behind a Shopify session
87
+ */
88
+ getShopifyTenant(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetShopifyTenant200Response>;
89
+ /**
90
+ * The store\'s account owner sees everyone who has opened the app for the store: the people waiting to be approved, the people approved who wait for a plan with room, the team, and the people who are out. Each comes with what the owner can do with them (`canApprove`, `canDecline`, `canRemove`), so the app shows the buttons that will work, and the totals (`seatsInUse`, `seatsFree`). The store\'s owner seat is listed first; it is the store\'s own and nothing can be done to it. A person suspended because the plan shrank has no seat in use and can be seated again once there is room. Only the store\'s account owner may read it (`403` and `error.code` of `ACCOUNT_OWNER_REQUIRED` otherwise). Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
91
+ * List the people who use Widgetic for the store
92
+ */
93
+ listShopifySeatsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListShopifySeats200Response>>;
94
+ /**
95
+ * The store\'s account owner sees everyone who has opened the app for the store: the people waiting to be approved, the people approved who wait for a plan with room, the team, and the people who are out. Each comes with what the owner can do with them (`canApprove`, `canDecline`, `canRemove`), so the app shows the buttons that will work, and the totals (`seatsInUse`, `seatsFree`). The store\'s owner seat is listed first; it is the store\'s own and nothing can be done to it. A person suspended because the plan shrank has no seat in use and can be seated again once there is room. Only the store\'s account owner may read it (`403` and `error.code` of `ACCOUNT_OWNER_REQUIRED` otherwise). Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
96
+ * List the people who use Widgetic for the store
97
+ */
98
+ listShopifySeats(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListShopifySeats200Response>;
99
+ /**
100
+ * Takes a person\'s seat away. They stop being able to use Widgetic for the store at once, and what they made there (compositions, widgets, canvases, A/B tests, translations and projects) stays with the store: it is handed to the store\'s owner account in the same step, so nothing embedded on the storefront goes dark with the person. Their credits and Teams features are taken back; their uploads stay theirs. They can be approved again later, and the seat is free for somebody else straight away. The seat\'s price does not change by itself: the merchant changes the plan on Shopify\'s plan page. Safe to repeat. Only the store\'s account owner may remove, and Shopify is asked to confirm it every time. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
101
+ * Remove a person from the store
102
+ */
103
+ removeShopifySeatRaw(requestParameters: RemoveShopifySeatRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RemoveShopifySeat200Response>>;
104
+ /**
105
+ * Takes a person\'s seat away. They stop being able to use Widgetic for the store at once, and what they made there (compositions, widgets, canvases, A/B tests, translations and projects) stays with the store: it is handed to the store\'s owner account in the same step, so nothing embedded on the storefront goes dark with the person. Their credits and Teams features are taken back; their uploads stay theirs. They can be approved again later, and the seat is free for somebody else straight away. The seat\'s price does not change by itself: the merchant changes the plan on Shopify\'s plan page. Safe to repeat. Only the store\'s account owner may remove, and Shopify is asked to confirm it every time. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
106
+ * Remove a person from the store
107
+ */
108
+ removeShopifySeat(requestParameters: RemoveShopifySeatRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RemoveShopifySeat200Response>;
109
+ /**
110
+ * Shopify App Pricing sends the app no subscription webhooks, so a plan the merchant just chose, changed or cancelled on Shopify\'s plan page is only known once it is read from Shopify. The app calls this when the merchant returns from that page (and again a moment later if the change has not shown up yet). The store\'s plan, credits and seats are brought in line with what Shopify reports, and the store is described exactly as `GET /shopify/tenant` does. Nothing in the request chooses a store or a plan: the store comes from the verified session, and the plan from Shopify. A read newer than ten seconds is not repeated. When Shopify cannot be reached right now the answer is still `200` with the plan as it was recorded and `sync.status` of `unavailable`, so the app can try again. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`). Any other credential receives `403`.
111
+ * Re-read the store\'s plan from Shopify
112
+ */
113
+ syncShopifyBillingRaw(requestParameters: SyncShopifyBillingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SyncShopifyBilling200Response>>;
114
+ /**
115
+ * Shopify App Pricing sends the app no subscription webhooks, so a plan the merchant just chose, changed or cancelled on Shopify\'s plan page is only known once it is read from Shopify. The app calls this when the merchant returns from that page (and again a moment later if the change has not shown up yet). The store\'s plan, credits and seats are brought in line with what Shopify reports, and the store is described exactly as `GET /shopify/tenant` does. Nothing in the request chooses a store or a plan: the store comes from the verified session, and the plan from Shopify. A read newer than ten seconds is not repeated. When Shopify cannot be reached right now the answer is still `200` with the plan as it was recorded and `sync.status` of `unavailable`, so the app can try again. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`). Any other credential receives `403`.
116
+ * Re-read the store\'s plan from Shopify
117
+ */
118
+ syncShopifyBilling(requestParameters?: SyncShopifyBillingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SyncShopifyBilling200Response>;
119
+ }
120
+ /**
121
+ * @export
122
+ */
123
+ export declare const GetShopifySeatQuoteFrequencyEnum: {
124
+ readonly Monthly: "monthly";
125
+ readonly Yearly: "yearly";
126
+ };
127
+ export type GetShopifySeatQuoteFrequencyEnum = typeof GetShopifySeatQuoteFrequencyEnum[keyof typeof GetShopifySeatQuoteFrequencyEnum];
@@ -0,0 +1,335 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Widgetic API Gateway
6
+ * API documentation for the Widgetic API Gateway
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
16
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
17
+ return new (P || (P = Promise))(function (resolve, reject) {
18
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
19
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
20
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
21
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
22
+ });
23
+ };
24
+ Object.defineProperty(exports, "__esModule", { value: true });
25
+ exports.GetShopifySeatQuoteFrequencyEnum = exports.ShopifyApi = void 0;
26
+ const runtime = require("../runtime");
27
+ const index_1 = require("../models/index");
28
+ /**
29
+ *
30
+ */
31
+ class ShopifyApi extends runtime.BaseAPI {
32
+ /**
33
+ * Lets a person who asked to join use Widgetic for the store. The person becomes a team member of the store under their own account (nobody signs up; the account is made for them) with the same features, credits and storage as any member of a Teams store. The credits are this period\'s, pro-rated from today, the way a member who joins a team on widgetic.com gets them. When the store\'s plan has no free seat the person is approved and waits (`outcome` of `awaiting_plan`): the store is not charged for anything, and they are seated as soon as a plan with room is recorded (the merchant chooses one on Shopify\'s plan page). `GET /shopify/billing/quote` says which plan that is. A person suspended because the plan shrank is not queued: there is `409` until a seat is free. Safe to repeat. If the person was seated but their credits and features could not be set up, the answer is `503` with `error.code` of `SHOPIFY_SEAT_RIGHTS_PENDING`; approve again. Only the store\'s account owner may approve, and Shopify is asked to confirm it every time: the recorded answer is not good enough for a change. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
34
+ * Approve a person for the store
35
+ */
36
+ approveShopifySeatRaw(requestParameters, initOverrides) {
37
+ return __awaiter(this, void 0, void 0, function* () {
38
+ if (requestParameters['id'] == null) {
39
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling approveShopifySeat().');
40
+ }
41
+ const queryParameters = {};
42
+ const headerParameters = {};
43
+ headerParameters['Content-Type'] = 'application/json';
44
+ if (this.configuration && this.configuration.accessToken) {
45
+ const token = this.configuration.accessToken;
46
+ const tokenString = yield token("apiKeyAuth", []);
47
+ if (tokenString) {
48
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
49
+ }
50
+ }
51
+ const response = yield this.request({
52
+ path: `/shopify/seats/{id}/approve`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
53
+ method: 'POST',
54
+ headers: headerParameters,
55
+ query: queryParameters,
56
+ body: requestParameters['body'],
57
+ }, initOverrides);
58
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApproveShopifySeat200ResponseFromJSON)(jsonValue));
59
+ });
60
+ }
61
+ /**
62
+ * Lets a person who asked to join use Widgetic for the store. The person becomes a team member of the store under their own account (nobody signs up; the account is made for them) with the same features, credits and storage as any member of a Teams store. The credits are this period\'s, pro-rated from today, the way a member who joins a team on widgetic.com gets them. When the store\'s plan has no free seat the person is approved and waits (`outcome` of `awaiting_plan`): the store is not charged for anything, and they are seated as soon as a plan with room is recorded (the merchant chooses one on Shopify\'s plan page). `GET /shopify/billing/quote` says which plan that is. A person suspended because the plan shrank is not queued: there is `409` until a seat is free. Safe to repeat. If the person was seated but their credits and features could not be set up, the answer is `503` with `error.code` of `SHOPIFY_SEAT_RIGHTS_PENDING`; approve again. Only the store\'s account owner may approve, and Shopify is asked to confirm it every time: the recorded answer is not good enough for a change. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
63
+ * Approve a person for the store
64
+ */
65
+ approveShopifySeat(requestParameters, initOverrides) {
66
+ return __awaiter(this, void 0, void 0, function* () {
67
+ const response = yield this.approveShopifySeatRaw(requestParameters, initOverrides);
68
+ return yield response.value();
69
+ });
70
+ }
71
+ /**
72
+ * Lets a person who is using the Shopify app (the store\'s owner, or a team member the owner approved) open the Widgetic builder already signed in, without creating an account. The account signed in is the one the verified person acts as: the store\'s owner account for the owner, the person\'s own member account for a team member. Nothing in the request chooses it. Returns a short-lived signed credential (`handoffToken`) for the site\'s sign-in landing page: open `<site>/auth/oauth-complete/shopify#os=<handoffToken>` (in the URL fragment, never the query string) and the site exchanges it for a session and continues to the builder. The response is a credential: it expires after `expiresInSeconds`, is sent with `Cache-Control: no-store`, and must not be logged or stored. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`). Any other credential receives `403`, and so does a person who has no working seat in the store yet (`error.code` of `SEAT_REQUIRED`). An account the Shopify app did not create for this store (for instance a store whose owner is an ordinary person\'s account) also receives `403`, because signing in as a real person\'s account would expose that person\'s other organizations.
73
+ * Sign the person using the app in to the Widgetic builder
74
+ */
75
+ createShopifyBuilderSessionRaw(requestParameters, initOverrides) {
76
+ return __awaiter(this, void 0, void 0, function* () {
77
+ const queryParameters = {};
78
+ const headerParameters = {};
79
+ headerParameters['Content-Type'] = 'application/json';
80
+ if (this.configuration && this.configuration.accessToken) {
81
+ const token = this.configuration.accessToken;
82
+ const tokenString = yield token("apiKeyAuth", []);
83
+ if (tokenString) {
84
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
85
+ }
86
+ }
87
+ const response = yield this.request({
88
+ path: `/shopify/builder-session`,
89
+ method: 'POST',
90
+ headers: headerParameters,
91
+ query: queryParameters,
92
+ body: (0, index_1.CreateShopifyBuilderSessionRequestToJSON)(requestParameters['createShopifyBuilderSessionRequest']),
93
+ }, initOverrides);
94
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.CreateShopifyBuilderSession200ResponseFromJSON)(jsonValue));
95
+ });
96
+ }
97
+ /**
98
+ * Lets a person who is using the Shopify app (the store\'s owner, or a team member the owner approved) open the Widgetic builder already signed in, without creating an account. The account signed in is the one the verified person acts as: the store\'s owner account for the owner, the person\'s own member account for a team member. Nothing in the request chooses it. Returns a short-lived signed credential (`handoffToken`) for the site\'s sign-in landing page: open `<site>/auth/oauth-complete/shopify#os=<handoffToken>` (in the URL fragment, never the query string) and the site exchanges it for a session and continues to the builder. The response is a credential: it expires after `expiresInSeconds`, is sent with `Cache-Control: no-store`, and must not be logged or stored. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`). Any other credential receives `403`, and so does a person who has no working seat in the store yet (`error.code` of `SEAT_REQUIRED`). An account the Shopify app did not create for this store (for instance a store whose owner is an ordinary person\'s account) also receives `403`, because signing in as a real person\'s account would expose that person\'s other organizations.
99
+ * Sign the person using the app in to the Widgetic builder
100
+ */
101
+ createShopifyBuilderSession() {
102
+ return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
103
+ const response = yield this.createShopifyBuilderSessionRaw(requestParameters, initOverrides);
104
+ return yield response.value();
105
+ });
106
+ }
107
+ /**
108
+ * Turns down a person who asked to join, or who was approved and waits for a plan with room. They are told the store owner did not approve them, and can be approved later. A person who already has a seat is removed (`DELETE /shopify/seats/{id}`), not declined. Safe to repeat. Only the store\'s account owner may decline, and Shopify is asked to confirm it every time. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
109
+ * Decline a person who asked to join
110
+ */
111
+ declineShopifySeatRaw(requestParameters, initOverrides) {
112
+ return __awaiter(this, void 0, void 0, function* () {
113
+ if (requestParameters['id'] == null) {
114
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling declineShopifySeat().');
115
+ }
116
+ const queryParameters = {};
117
+ const headerParameters = {};
118
+ headerParameters['Content-Type'] = 'application/json';
119
+ if (this.configuration && this.configuration.accessToken) {
120
+ const token = this.configuration.accessToken;
121
+ const tokenString = yield token("apiKeyAuth", []);
122
+ if (tokenString) {
123
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
124
+ }
125
+ }
126
+ const response = yield this.request({
127
+ path: `/shopify/seats/{id}/decline`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
128
+ method: 'POST',
129
+ headers: headerParameters,
130
+ query: queryParameters,
131
+ body: requestParameters['body'],
132
+ }, initOverrides);
133
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.DeclineShopifySeat200ResponseFromJSON)(jsonValue));
134
+ });
135
+ }
136
+ /**
137
+ * Turns down a person who asked to join, or who was approved and waits for a plan with room. They are told the store owner did not approve them, and can be approved later. A person who already has a seat is removed (`DELETE /shopify/seats/{id}`), not declined. Safe to repeat. Only the store\'s account owner may decline, and Shopify is asked to confirm it every time. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
138
+ * Decline a person who asked to join
139
+ */
140
+ declineShopifySeat(requestParameters, initOverrides) {
141
+ return __awaiter(this, void 0, void 0, function* () {
142
+ const response = yield this.declineShopifySeatRaw(requestParameters, initOverrides);
143
+ return yield response.value();
144
+ });
145
+ }
146
+ /**
147
+ * Tells the store\'s account owner, before they add people, which plan would seat everybody, roughly what Shopify will charge today, and the credits each person would get. Nothing is charged and Shopify is not asked: the plan is the one on record, and every figure is an estimate (`isEstimate` is always true). Shopify shows the exact charge on its plan page, which is where the plan is changed (`planPageUrl`). The daily rate and the credits are worked out by the same code that prices a seat added to a team on widgetic.com, so the two never disagree. A store on a paid plan that moves to a bigger one pays the difference in price for the rest of the period it is in; a store with no plan, in its trial, or that cancelled pays the new plan\'s full price and its period starts now. Without `seats`, the quote is for the people in seats, the people already approved and waiting, and one more: what approving the next person needs. Only the store\'s account owner may read it (`403` and `error.code` of `ACCOUNT_OWNER_REQUIRED` otherwise). Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
148
+ * Estimate what seating more people would cost
149
+ */
150
+ getShopifySeatQuoteRaw(requestParameters, initOverrides) {
151
+ return __awaiter(this, void 0, void 0, function* () {
152
+ const queryParameters = {};
153
+ if (requestParameters['seats'] != null) {
154
+ queryParameters['seats'] = requestParameters['seats'];
155
+ }
156
+ if (requestParameters['frequency'] != null) {
157
+ queryParameters['frequency'] = requestParameters['frequency'];
158
+ }
159
+ const headerParameters = {};
160
+ if (this.configuration && this.configuration.accessToken) {
161
+ const token = this.configuration.accessToken;
162
+ const tokenString = yield token("apiKeyAuth", []);
163
+ if (tokenString) {
164
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
165
+ }
166
+ }
167
+ const response = yield this.request({
168
+ path: `/shopify/billing/quote`,
169
+ method: 'GET',
170
+ headers: headerParameters,
171
+ query: queryParameters,
172
+ }, initOverrides);
173
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetShopifySeatQuote200ResponseFromJSON)(jsonValue));
174
+ });
175
+ }
176
+ /**
177
+ * Tells the store\'s account owner, before they add people, which plan would seat everybody, roughly what Shopify will charge today, and the credits each person would get. Nothing is charged and Shopify is not asked: the plan is the one on record, and every figure is an estimate (`isEstimate` is always true). Shopify shows the exact charge on its plan page, which is where the plan is changed (`planPageUrl`). The daily rate and the credits are worked out by the same code that prices a seat added to a team on widgetic.com, so the two never disagree. A store on a paid plan that moves to a bigger one pays the difference in price for the rest of the period it is in; a store with no plan, in its trial, or that cancelled pays the new plan\'s full price and its period starts now. Without `seats`, the quote is for the people in seats, the people already approved and waiting, and one more: what approving the next person needs. Only the store\'s account owner may read it (`403` and `error.code` of `ACCOUNT_OWNER_REQUIRED` otherwise). Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
178
+ * Estimate what seating more people would cost
179
+ */
180
+ getShopifySeatQuote() {
181
+ return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
182
+ const response = yield this.getShopifySeatQuoteRaw(requestParameters, initOverrides);
183
+ return yield response.value();
184
+ });
185
+ }
186
+ /**
187
+ * Resolves the calling Shopify store to its Widgetic organization and reports the store\'s plan. The first call for a store provisions it: an organization and a system-created owner, with no sign-up and no free period: the store has no plan (`plan.hasChosenPlan` is false) until it picks one on Shopify\'s plan page, and the only trial is the 7-day trial on the Solo plan. `isNewInstall` is true only on that call, so the app can welcome a new install once. Shopify sends no subscription webhooks, so when the store\'s plan was last read from Shopify more than five minutes ago it is read again first (a slow Shopify never delays the answer by more than a few seconds). `seat` describes the caller\'s own place in the store. The first person to open a store holds its owner seat until the store\'s account owner opens the app, who then takes it; everybody else asks to join and waits for the account owner to approve them (`canUseWidgetic` is false and `message` says why). A person who cannot use Widgetic yet can still call this endpoint, so the app can tell them so; every other endpoint refuses them with `403` and `error.code` of `SEAT_REQUIRED`. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`). Any other credential receives `403`, because there is no store to describe.
188
+ * Get the store behind a Shopify session
189
+ */
190
+ getShopifyTenantRaw(initOverrides) {
191
+ return __awaiter(this, void 0, void 0, function* () {
192
+ const queryParameters = {};
193
+ const headerParameters = {};
194
+ if (this.configuration && this.configuration.accessToken) {
195
+ const token = this.configuration.accessToken;
196
+ const tokenString = yield token("apiKeyAuth", []);
197
+ if (tokenString) {
198
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
199
+ }
200
+ }
201
+ const response = yield this.request({
202
+ path: `/shopify/tenant`,
203
+ method: 'GET',
204
+ headers: headerParameters,
205
+ query: queryParameters,
206
+ }, initOverrides);
207
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.GetShopifyTenant200ResponseFromJSON)(jsonValue));
208
+ });
209
+ }
210
+ /**
211
+ * Resolves the calling Shopify store to its Widgetic organization and reports the store\'s plan. The first call for a store provisions it: an organization and a system-created owner, with no sign-up and no free period: the store has no plan (`plan.hasChosenPlan` is false) until it picks one on Shopify\'s plan page, and the only trial is the 7-day trial on the Solo plan. `isNewInstall` is true only on that call, so the app can welcome a new install once. Shopify sends no subscription webhooks, so when the store\'s plan was last read from Shopify more than five minutes ago it is read again first (a slow Shopify never delays the answer by more than a few seconds). `seat` describes the caller\'s own place in the store. The first person to open a store holds its owner seat until the store\'s account owner opens the app, who then takes it; everybody else asks to join and waits for the account owner to approve them (`canUseWidgetic` is false and `message` says why). A person who cannot use Widgetic yet can still call this endpoint, so the app can tell them so; every other endpoint refuses them with `403` and `error.code` of `SEAT_REQUIRED`. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`). Any other credential receives `403`, because there is no store to describe.
212
+ * Get the store behind a Shopify session
213
+ */
214
+ getShopifyTenant(initOverrides) {
215
+ return __awaiter(this, void 0, void 0, function* () {
216
+ const response = yield this.getShopifyTenantRaw(initOverrides);
217
+ return yield response.value();
218
+ });
219
+ }
220
+ /**
221
+ * The store\'s account owner sees everyone who has opened the app for the store: the people waiting to be approved, the people approved who wait for a plan with room, the team, and the people who are out. Each comes with what the owner can do with them (`canApprove`, `canDecline`, `canRemove`), so the app shows the buttons that will work, and the totals (`seatsInUse`, `seatsFree`). The store\'s owner seat is listed first; it is the store\'s own and nothing can be done to it. A person suspended because the plan shrank has no seat in use and can be seated again once there is room. Only the store\'s account owner may read it (`403` and `error.code` of `ACCOUNT_OWNER_REQUIRED` otherwise). Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
222
+ * List the people who use Widgetic for the store
223
+ */
224
+ listShopifySeatsRaw(initOverrides) {
225
+ return __awaiter(this, void 0, void 0, function* () {
226
+ const queryParameters = {};
227
+ const headerParameters = {};
228
+ if (this.configuration && this.configuration.accessToken) {
229
+ const token = this.configuration.accessToken;
230
+ const tokenString = yield token("apiKeyAuth", []);
231
+ if (tokenString) {
232
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
233
+ }
234
+ }
235
+ const response = yield this.request({
236
+ path: `/shopify/seats`,
237
+ method: 'GET',
238
+ headers: headerParameters,
239
+ query: queryParameters,
240
+ }, initOverrides);
241
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ListShopifySeats200ResponseFromJSON)(jsonValue));
242
+ });
243
+ }
244
+ /**
245
+ * The store\'s account owner sees everyone who has opened the app for the store: the people waiting to be approved, the people approved who wait for a plan with room, the team, and the people who are out. Each comes with what the owner can do with them (`canApprove`, `canDecline`, `canRemove`), so the app shows the buttons that will work, and the totals (`seatsInUse`, `seatsFree`). The store\'s owner seat is listed first; it is the store\'s own and nothing can be done to it. A person suspended because the plan shrank has no seat in use and can be seated again once there is room. Only the store\'s account owner may read it (`403` and `error.code` of `ACCOUNT_OWNER_REQUIRED` otherwise). Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
246
+ * List the people who use Widgetic for the store
247
+ */
248
+ listShopifySeats(initOverrides) {
249
+ return __awaiter(this, void 0, void 0, function* () {
250
+ const response = yield this.listShopifySeatsRaw(initOverrides);
251
+ return yield response.value();
252
+ });
253
+ }
254
+ /**
255
+ * Takes a person\'s seat away. They stop being able to use Widgetic for the store at once, and what they made there (compositions, widgets, canvases, A/B tests, translations and projects) stays with the store: it is handed to the store\'s owner account in the same step, so nothing embedded on the storefront goes dark with the person. Their credits and Teams features are taken back; their uploads stay theirs. They can be approved again later, and the seat is free for somebody else straight away. The seat\'s price does not change by itself: the merchant changes the plan on Shopify\'s plan page. Safe to repeat. Only the store\'s account owner may remove, and Shopify is asked to confirm it every time. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
256
+ * Remove a person from the store
257
+ */
258
+ removeShopifySeatRaw(requestParameters, initOverrides) {
259
+ return __awaiter(this, void 0, void 0, function* () {
260
+ if (requestParameters['id'] == null) {
261
+ throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling removeShopifySeat().');
262
+ }
263
+ const queryParameters = {};
264
+ const headerParameters = {};
265
+ if (this.configuration && this.configuration.accessToken) {
266
+ const token = this.configuration.accessToken;
267
+ const tokenString = yield token("apiKeyAuth", []);
268
+ if (tokenString) {
269
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
270
+ }
271
+ }
272
+ const response = yield this.request({
273
+ path: `/shopify/seats/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
274
+ method: 'DELETE',
275
+ headers: headerParameters,
276
+ query: queryParameters,
277
+ }, initOverrides);
278
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.RemoveShopifySeat200ResponseFromJSON)(jsonValue));
279
+ });
280
+ }
281
+ /**
282
+ * Takes a person\'s seat away. They stop being able to use Widgetic for the store at once, and what they made there (compositions, widgets, canvases, A/B tests, translations and projects) stays with the store: it is handed to the store\'s owner account in the same step, so nothing embedded on the storefront goes dark with the person. Their credits and Teams features are taken back; their uploads stay theirs. They can be approved again later, and the seat is free for somebody else straight away. The seat\'s price does not change by itself: the merchant changes the plan on Shopify\'s plan page. Safe to repeat. Only the store\'s account owner may remove, and Shopify is asked to confirm it every time. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`).
283
+ * Remove a person from the store
284
+ */
285
+ removeShopifySeat(requestParameters, initOverrides) {
286
+ return __awaiter(this, void 0, void 0, function* () {
287
+ const response = yield this.removeShopifySeatRaw(requestParameters, initOverrides);
288
+ return yield response.value();
289
+ });
290
+ }
291
+ /**
292
+ * Shopify App Pricing sends the app no subscription webhooks, so a plan the merchant just chose, changed or cancelled on Shopify\'s plan page is only known once it is read from Shopify. The app calls this when the merchant returns from that page (and again a moment later if the change has not shown up yet). The store\'s plan, credits and seats are brought in line with what Shopify reports, and the store is described exactly as `GET /shopify/tenant` does. Nothing in the request chooses a store or a plan: the store comes from the verified session, and the plan from Shopify. A read newer than ten seconds is not repeated. When Shopify cannot be reached right now the answer is still `200` with the plan as it was recorded and `sync.status` of `unavailable`, so the app can try again. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`). Any other credential receives `403`.
293
+ * Re-read the store\'s plan from Shopify
294
+ */
295
+ syncShopifyBillingRaw(requestParameters, initOverrides) {
296
+ return __awaiter(this, void 0, void 0, function* () {
297
+ const queryParameters = {};
298
+ const headerParameters = {};
299
+ headerParameters['Content-Type'] = 'application/json';
300
+ if (this.configuration && this.configuration.accessToken) {
301
+ const token = this.configuration.accessToken;
302
+ const tokenString = yield token("apiKeyAuth", []);
303
+ if (tokenString) {
304
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
305
+ }
306
+ }
307
+ const response = yield this.request({
308
+ path: `/shopify/billing/sync`,
309
+ method: 'POST',
310
+ headers: headerParameters,
311
+ query: queryParameters,
312
+ body: requestParameters['body'],
313
+ }, initOverrides);
314
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.SyncShopifyBilling200ResponseFromJSON)(jsonValue));
315
+ });
316
+ }
317
+ /**
318
+ * Shopify App Pricing sends the app no subscription webhooks, so a plan the merchant just chose, changed or cancelled on Shopify\'s plan page is only known once it is read from Shopify. The app calls this when the merchant returns from that page (and again a moment later if the change has not shown up yet). The store\'s plan, credits and seats are brought in line with what Shopify reports, and the store is described exactly as `GET /shopify/tenant` does. Nothing in the request chooses a store or a plan: the store comes from the verified session, and the plan from Shopify. A read newer than ten seconds is not repeated. When Shopify cannot be reached right now the answer is still `200` with the plan as it was recorded and `sync.status` of `unavailable`, so the app can try again. Requires a Shopify session token (`Authorization: Bearer <App Bridge idToken>`). Any other credential receives `403`.
319
+ * Re-read the store\'s plan from Shopify
320
+ */
321
+ syncShopifyBilling() {
322
+ return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
323
+ const response = yield this.syncShopifyBillingRaw(requestParameters, initOverrides);
324
+ return yield response.value();
325
+ });
326
+ }
327
+ }
328
+ exports.ShopifyApi = ShopifyApi;
329
+ /**
330
+ * @export
331
+ */
332
+ exports.GetShopifySeatQuoteFrequencyEnum = {
333
+ Monthly: 'monthly',
334
+ Yearly: 'yearly'
335
+ };
@@ -10,11 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { ApiV1SubscriptionsIdRefundPreviewPost200Response, ApiV1SubscriptionsIdRefundPreviewPostRequest, GetBillingReports200ResponseInner, MoveSubscriptionSurfaceRequest, NewSubscription, ProcessRefund200Response, RefundRequest, Subscription, UpdateSubscription } from '../models/index';
14
- export interface ApiV1SubscriptionsIdRefundPreviewPostOperationRequest {
15
- id: string;
16
- apiV1SubscriptionsIdRefundPreviewPostRequest?: ApiV1SubscriptionsIdRefundPreviewPostRequest;
17
- }
13
+ import type { GetBillingReports200ResponseInner, MoveSubscriptionSurfaceRequest, NewSubscription, ProcessRefund200Response, RefundRequest, Subscription, SubscriptionsIdRefundPreviewPost200Response, SubscriptionsIdRefundPreviewPostRequest, UpdateSubscription } from '../models/index';
18
14
  export interface CreateSubscriptionRequest {
19
15
  newSubscription: NewSubscription;
20
16
  }
@@ -47,6 +43,10 @@ export interface ProcessRefundRequest {
47
43
  id: string;
48
44
  refundRequest?: RefundRequest;
49
45
  }
46
+ export interface SubscriptionsIdRefundPreviewPostOperationRequest {
47
+ id: string;
48
+ subscriptionsIdRefundPreviewPostRequest?: SubscriptionsIdRefundPreviewPostRequest;
49
+ }
50
50
  export interface UpdateSubscriptionRequest {
51
51
  id: string;
52
52
  updateSubscription: UpdateSubscription;
@@ -55,16 +55,6 @@ export interface UpdateSubscriptionRequest {
55
55
  *
56
56
  */
57
57
  export declare class SubscriptionsApi extends runtime.BaseAPI {
58
- /**
59
- * Resolves the subscription\'s latest paid charge exactly as the refund endpoint does and returns the derived amount, the plan\'s credit rate and — for an organization subscription — the per-member clawback the refund would make, before any money moves. Writes nothing: no Stripe refund, no audit row, no idempotency entry. Every guard refusal the refund endpoint can raise is raised here identically, so a client can drive its confirm dialog off a successful preview.
60
- * Preview this subscription\'s refund without issuing it (dry run)
61
- */
62
- apiV1SubscriptionsIdRefundPreviewPostRaw(requestParameters: ApiV1SubscriptionsIdRefundPreviewPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiV1SubscriptionsIdRefundPreviewPost200Response>>;
63
- /**
64
- * Resolves the subscription\'s latest paid charge exactly as the refund endpoint does and returns the derived amount, the plan\'s credit rate and — for an organization subscription — the per-member clawback the refund would make, before any money moves. Writes nothing: no Stripe refund, no audit row, no idempotency entry. Every guard refusal the refund endpoint can raise is raised here identically, so a client can drive its confirm dialog off a successful preview.
65
- * Preview this subscription\'s refund without issuing it (dry run)
66
- */
67
- apiV1SubscriptionsIdRefundPreviewPost(requestParameters: ApiV1SubscriptionsIdRefundPreviewPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiV1SubscriptionsIdRefundPreviewPost200Response>;
68
58
  /**
69
59
  * Creates a new subscription. Admin only.
70
60
  * Create subscription
@@ -116,12 +106,12 @@ export declare class SubscriptionsApi extends runtime.BaseAPI {
116
106
  */
117
107
  getSubscriptionById(requestParameters: GetSubscriptionByIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Subscription>;
118
108
  /**
119
- * Retrieves all subscriptions for a specific user.
109
+ * Retrieves all subscriptions for a specific user. Administrators only. An account reads its own plan and billing state through `GET /billing/users/{userId}/subscription`.
120
110
  * Get user subscriptions
121
111
  */
122
112
  getSubscriptionsByUserIdRaw(requestParameters: GetSubscriptionsByUserIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<Subscription>>>;
123
113
  /**
124
- * Retrieves all subscriptions for a specific user.
114
+ * Retrieves all subscriptions for a specific user. Administrators only. An account reads its own plan and billing state through `GET /billing/users/{userId}/subscription`.
125
115
  * Get user subscriptions
126
116
  */
127
117
  getSubscriptionsByUserId(requestParameters: GetSubscriptionsByUserIdRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<Subscription>>;
@@ -145,6 +135,16 @@ export declare class SubscriptionsApi extends runtime.BaseAPI {
145
135
  * Process refund
146
136
  */
147
137
  processRefund(requestParameters: ProcessRefundRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProcessRefund200Response>;
138
+ /**
139
+ * Resolves the subscription\'s latest paid charge exactly as the refund endpoint does and returns the derived amount, the plan\'s credit rate and — for an organization subscription — the per-member clawback the refund would make, before any money moves. Writes nothing: no Stripe refund, no audit row, no idempotency entry. Every guard refusal the refund endpoint can raise is raised here identically, so a client can drive its confirm dialog off a successful preview.
140
+ * Preview this subscription\'s refund without issuing it (dry run)
141
+ */
142
+ subscriptionsIdRefundPreviewPostRaw(requestParameters: SubscriptionsIdRefundPreviewPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SubscriptionsIdRefundPreviewPost200Response>>;
143
+ /**
144
+ * Resolves the subscription\'s latest paid charge exactly as the refund endpoint does and returns the derived amount, the plan\'s credit rate and — for an organization subscription — the per-member clawback the refund would make, before any money moves. Writes nothing: no Stripe refund, no audit row, no idempotency entry. Every guard refusal the refund endpoint can raise is raised here identically, so a client can drive its confirm dialog off a successful preview.
145
+ * Preview this subscription\'s refund without issuing it (dry run)
146
+ */
147
+ subscriptionsIdRefundPreviewPost(requestParameters: SubscriptionsIdRefundPreviewPostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SubscriptionsIdRefundPreviewPost200Response>;
148
148
  /**
149
149
  * Updates an existing subscription. Admin only.
150
150
  * Update subscription