@widgetic/api-sdk 1.0.21 → 1.0.22

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 (245) hide show
  1. package/dist/apis/AdminBillingApi.d.ts +92 -1
  2. package/dist/apis/AdminBillingApi.js +246 -1
  3. package/dist/apis/AgentApi.d.ts +2 -2
  4. package/dist/apis/AgentApi.js +2 -2
  5. package/dist/apis/AuthenticationApi.d.ts +12 -1
  6. package/dist/apis/AuthenticationApi.js +31 -0
  7. package/dist/apis/BillingApi.js +13 -13
  8. package/dist/apis/CompositionsApi.d.ts +5 -5
  9. package/dist/apis/CompositionsApi.js +3 -3
  10. package/dist/apis/CreditsApi.d.ts +4 -4
  11. package/dist/apis/CreditsApi.js +4 -4
  12. package/dist/apis/MCPApi.d.ts +6 -6
  13. package/dist/apis/MCPApi.js +15 -6
  14. package/dist/apis/NoticesApi.d.ts +41 -0
  15. package/dist/apis/NoticesApi.js +103 -0
  16. package/dist/apis/OrganizationsApi.d.ts +17 -4
  17. package/dist/apis/OrganizationsApi.js +41 -4
  18. package/dist/apis/SubscriptionsApi.d.ts +32 -4
  19. package/dist/apis/SubscriptionsApi.js +82 -5
  20. package/dist/apis/WidgetsApi.d.ts +19 -35
  21. package/dist/apis/WidgetsApi.js +32 -32
  22. package/dist/apis/WorkflowsApi.d.ts +2 -2
  23. package/dist/apis/WorkflowsApi.js +2 -2
  24. package/dist/apis/index.d.ts +1 -0
  25. package/dist/apis/index.js +1 -0
  26. package/dist/esm/apis/AdminBillingApi.d.ts +92 -1
  27. package/dist/esm/apis/AdminBillingApi.js +246 -1
  28. package/dist/esm/apis/AgentApi.d.ts +2 -2
  29. package/dist/esm/apis/AgentApi.js +2 -2
  30. package/dist/esm/apis/AuthenticationApi.d.ts +12 -1
  31. package/dist/esm/apis/AuthenticationApi.js +32 -1
  32. package/dist/esm/apis/BillingApi.js +13 -13
  33. package/dist/esm/apis/CompositionsApi.d.ts +5 -5
  34. package/dist/esm/apis/CompositionsApi.js +4 -4
  35. package/dist/esm/apis/CreditsApi.d.ts +4 -4
  36. package/dist/esm/apis/CreditsApi.js +4 -4
  37. package/dist/esm/apis/MCPApi.d.ts +6 -6
  38. package/dist/esm/apis/MCPApi.js +15 -6
  39. package/dist/esm/apis/NoticesApi.d.ts +41 -0
  40. package/dist/esm/apis/NoticesApi.js +99 -0
  41. package/dist/esm/apis/OrganizationsApi.d.ts +17 -4
  42. package/dist/esm/apis/OrganizationsApi.js +41 -4
  43. package/dist/esm/apis/SubscriptionsApi.d.ts +32 -4
  44. package/dist/esm/apis/SubscriptionsApi.js +83 -6
  45. package/dist/esm/apis/WidgetsApi.d.ts +19 -35
  46. package/dist/esm/apis/WidgetsApi.js +33 -33
  47. package/dist/esm/apis/WorkflowsApi.d.ts +2 -2
  48. package/dist/esm/apis/WorkflowsApi.js +2 -2
  49. package/dist/esm/apis/index.d.ts +1 -0
  50. package/dist/esm/apis/index.js +1 -0
  51. package/dist/esm/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.d.ts +18 -0
  52. package/dist/esm/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.js +6 -0
  53. package/dist/esm/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.d.ts +32 -0
  54. package/dist/esm/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.js +41 -0
  55. package/dist/esm/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +32 -0
  56. package/dist/esm/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +43 -0
  57. package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200Response.d.ts +39 -0
  58. package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200Response.js +44 -0
  59. package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.d.ts +57 -0
  60. package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.js +50 -0
  61. package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.d.ts +68 -0
  62. package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.js +53 -0
  63. package/dist/esm/models/ApiV1AdminBillingRefundsPostRequest.d.ts +8 -8
  64. package/dist/esm/models/ApiV1AdminBillingRefundsPostRequest.js +4 -4
  65. package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200Response.d.ts +71 -0
  66. package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200Response.js +59 -0
  67. package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
  68. package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js +48 -0
  69. package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPostRequest.d.ts +70 -0
  70. package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPostRequest.js +62 -0
  71. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.d.ts +39 -0
  72. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.js +44 -0
  73. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.d.ts +33 -0
  74. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.js +42 -0
  75. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +62 -0
  76. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.js +51 -0
  77. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.d.ts +39 -0
  78. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.js +44 -0
  79. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.d.ts +33 -0
  80. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.js +42 -0
  81. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.d.ts +32 -0
  82. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.js +43 -0
  83. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.d.ts +39 -0
  84. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.js +44 -0
  85. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.d.ts +50 -0
  86. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.js +47 -0
  87. package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200Response.d.ts +39 -0
  88. package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200Response.js +44 -0
  89. package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.d.ts +32 -0
  90. package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.js +41 -0
  91. package/dist/esm/models/ApiV1BillingUsersUserIdPortalPostRequest.d.ts +32 -0
  92. package/dist/esm/models/ApiV1BillingUsersUserIdPortalPostRequest.js +41 -0
  93. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.d.ts +1 -2
  94. package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.js +1 -2
  95. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.d.ts +71 -0
  96. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.js +59 -0
  97. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
  98. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js +48 -0
  99. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.d.ts +38 -0
  100. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js +43 -0
  101. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.d.ts +44 -0
  102. package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.js +45 -0
  103. package/dist/esm/models/ConfigureAutoReloadRequest.d.ts +6 -0
  104. package/dist/esm/models/ConfigureAutoReloadRequest.js +2 -0
  105. package/dist/esm/models/CreateMessageRequest.d.ts +13 -0
  106. package/dist/esm/models/CreateMessageRequest.js +2 -0
  107. package/dist/esm/models/GenerateCodeRequest.d.ts +42 -0
  108. package/dist/esm/models/GenerateCodeRequest.js +14 -0
  109. package/dist/esm/models/GetCompositionsBatch200ResponseErrorsInner.d.ts +38 -0
  110. package/dist/esm/models/GetCompositionsBatch200ResponseErrorsInner.js +43 -0
  111. package/dist/esm/models/GetWidgetPublishHistory200ResponseDataInner.d.ts +13 -1
  112. package/dist/esm/models/GetWidgetPublishHistory200ResponseDataInner.js +4 -0
  113. package/dist/esm/models/ListAccountNotices200Response.d.ts +39 -0
  114. package/dist/esm/models/ListAccountNotices200Response.js +44 -0
  115. package/dist/esm/models/ListAccountNotices200ResponseData.d.ts +33 -0
  116. package/dist/esm/models/ListAccountNotices200ResponseData.js +42 -0
  117. package/dist/esm/models/ListAccountNotices200ResponseDataNoticesInner.d.ts +68 -0
  118. package/dist/esm/models/ListAccountNotices200ResponseDataNoticesInner.js +53 -0
  119. package/dist/esm/models/LoginUser200Response.d.ts +38 -0
  120. package/dist/esm/models/LoginUser200Response.js +43 -0
  121. package/dist/esm/models/MoveSubscriptionSurfaceRequest.d.ts +58 -0
  122. package/dist/esm/models/MoveSubscriptionSurfaceRequest.js +56 -0
  123. package/dist/esm/models/OrganizationsOrgIdBillingMembersUpdatePostRequest.d.ts +1 -1
  124. package/dist/esm/models/OrganizationsOrgIdBillingYearlyMembersAddPostRequest.d.ts +1 -1
  125. package/dist/esm/models/OrganizationsOrgIdBillingYearlyMembersRemovePostRequest.d.ts +1 -1
  126. package/dist/esm/models/ProcessRefund200Response.d.ts +6 -0
  127. package/dist/esm/models/ProcessRefund200Response.js +2 -0
  128. package/dist/esm/models/RefundRequest.d.ts +10 -4
  129. package/dist/esm/models/RefundRequest.js +4 -4
  130. package/dist/esm/models/RollbackComponent200Response.d.ts +38 -0
  131. package/dist/esm/models/RollbackComponent200Response.js +43 -0
  132. package/dist/esm/models/SignupUserRequest.d.ts +6 -0
  133. package/dist/esm/models/SignupUserRequest.js +2 -0
  134. package/dist/esm/models/UpdateSubscription.d.ts +30 -8
  135. package/dist/esm/models/UpdateSubscription.js +21 -8
  136. package/dist/esm/models/UploadWidgetThumbnail200Response.d.ts +39 -0
  137. package/dist/esm/models/UploadWidgetThumbnail200Response.js +44 -0
  138. package/dist/esm/models/UploadWidgetThumbnail200ResponseData.d.ts +32 -0
  139. package/dist/esm/models/UploadWidgetThumbnail200ResponseData.js +41 -0
  140. package/dist/esm/models/UploadWidgetThumbnailRequest.d.ts +32 -0
  141. package/dist/esm/models/UploadWidgetThumbnailRequest.js +43 -0
  142. package/dist/esm/models/ValidateInviteCode200Response.d.ts +39 -0
  143. package/dist/esm/models/ValidateInviteCode200Response.js +44 -0
  144. package/dist/esm/models/ValidateInviteCode200ResponseData.d.ts +44 -0
  145. package/dist/esm/models/ValidateInviteCode200ResponseData.js +45 -0
  146. package/dist/esm/models/index.d.ts +26 -1
  147. package/dist/esm/models/index.js +26 -1
  148. package/dist/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.d.ts +18 -0
  149. package/dist/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.js +6 -0
  150. package/dist/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.d.ts +32 -0
  151. package/dist/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.js +48 -0
  152. package/dist/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +32 -0
  153. package/dist/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +50 -0
  154. package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200Response.d.ts +39 -0
  155. package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200Response.js +51 -0
  156. package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.d.ts +57 -0
  157. package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.js +57 -0
  158. package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.d.ts +68 -0
  159. package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.js +60 -0
  160. package/dist/models/ApiV1AdminBillingRefundsPostRequest.d.ts +8 -8
  161. package/dist/models/ApiV1AdminBillingRefundsPostRequest.js +4 -4
  162. package/dist/models/ApiV1AdminBillingRefundsPreviewPost200Response.d.ts +71 -0
  163. package/dist/models/ApiV1AdminBillingRefundsPreviewPost200Response.js +67 -0
  164. package/dist/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
  165. package/dist/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js +55 -0
  166. package/dist/models/ApiV1AdminBillingRefundsPreviewPostRequest.d.ts +70 -0
  167. package/dist/models/ApiV1AdminBillingRefundsPreviewPostRequest.js +70 -0
  168. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.d.ts +39 -0
  169. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.js +51 -0
  170. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.d.ts +33 -0
  171. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.js +49 -0
  172. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +62 -0
  173. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.js +58 -0
  174. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.d.ts +39 -0
  175. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.js +51 -0
  176. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.d.ts +33 -0
  177. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.js +49 -0
  178. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.d.ts +32 -0
  179. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.js +50 -0
  180. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.d.ts +39 -0
  181. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.js +51 -0
  182. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.d.ts +50 -0
  183. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.js +54 -0
  184. package/dist/models/ApiV1BillingUsersUserIdPortalPost200Response.d.ts +39 -0
  185. package/dist/models/ApiV1BillingUsersUserIdPortalPost200Response.js +51 -0
  186. package/dist/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.d.ts +32 -0
  187. package/dist/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.js +48 -0
  188. package/dist/models/ApiV1BillingUsersUserIdPortalPostRequest.d.ts +32 -0
  189. package/dist/models/ApiV1BillingUsersUserIdPortalPostRequest.js +48 -0
  190. package/dist/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.d.ts +1 -2
  191. package/dist/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.js +1 -2
  192. package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.d.ts +71 -0
  193. package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.js +67 -0
  194. package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
  195. package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js +55 -0
  196. package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.d.ts +38 -0
  197. package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js +50 -0
  198. package/dist/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.d.ts +44 -0
  199. package/dist/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.js +52 -0
  200. package/dist/models/ConfigureAutoReloadRequest.d.ts +6 -0
  201. package/dist/models/ConfigureAutoReloadRequest.js +2 -0
  202. package/dist/models/CreateMessageRequest.d.ts +13 -0
  203. package/dist/models/CreateMessageRequest.js +2 -0
  204. package/dist/models/GenerateCodeRequest.d.ts +42 -0
  205. package/dist/models/GenerateCodeRequest.js +14 -0
  206. package/dist/models/GetCompositionsBatch200ResponseErrorsInner.d.ts +38 -0
  207. package/dist/models/GetCompositionsBatch200ResponseErrorsInner.js +50 -0
  208. package/dist/models/GetWidgetPublishHistory200ResponseDataInner.d.ts +13 -1
  209. package/dist/models/GetWidgetPublishHistory200ResponseDataInner.js +4 -0
  210. package/dist/models/ListAccountNotices200Response.d.ts +39 -0
  211. package/dist/models/ListAccountNotices200Response.js +51 -0
  212. package/dist/models/ListAccountNotices200ResponseData.d.ts +33 -0
  213. package/dist/models/ListAccountNotices200ResponseData.js +49 -0
  214. package/dist/models/ListAccountNotices200ResponseDataNoticesInner.d.ts +68 -0
  215. package/dist/models/ListAccountNotices200ResponseDataNoticesInner.js +60 -0
  216. package/dist/models/LoginUser200Response.d.ts +38 -0
  217. package/dist/models/LoginUser200Response.js +50 -0
  218. package/dist/models/MoveSubscriptionSurfaceRequest.d.ts +58 -0
  219. package/dist/models/MoveSubscriptionSurfaceRequest.js +64 -0
  220. package/dist/models/OrganizationsOrgIdBillingMembersUpdatePostRequest.d.ts +1 -1
  221. package/dist/models/OrganizationsOrgIdBillingYearlyMembersAddPostRequest.d.ts +1 -1
  222. package/dist/models/OrganizationsOrgIdBillingYearlyMembersRemovePostRequest.d.ts +1 -1
  223. package/dist/models/ProcessRefund200Response.d.ts +6 -0
  224. package/dist/models/ProcessRefund200Response.js +2 -0
  225. package/dist/models/RefundRequest.d.ts +10 -4
  226. package/dist/models/RefundRequest.js +4 -4
  227. package/dist/models/RollbackComponent200Response.d.ts +38 -0
  228. package/dist/models/RollbackComponent200Response.js +50 -0
  229. package/dist/models/SignupUserRequest.d.ts +6 -0
  230. package/dist/models/SignupUserRequest.js +2 -0
  231. package/dist/models/UpdateSubscription.d.ts +30 -8
  232. package/dist/models/UpdateSubscription.js +22 -9
  233. package/dist/models/UploadWidgetThumbnail200Response.d.ts +39 -0
  234. package/dist/models/UploadWidgetThumbnail200Response.js +51 -0
  235. package/dist/models/UploadWidgetThumbnail200ResponseData.d.ts +32 -0
  236. package/dist/models/UploadWidgetThumbnail200ResponseData.js +48 -0
  237. package/dist/models/UploadWidgetThumbnailRequest.d.ts +32 -0
  238. package/dist/models/UploadWidgetThumbnailRequest.js +50 -0
  239. package/dist/models/ValidateInviteCode200Response.d.ts +39 -0
  240. package/dist/models/ValidateInviteCode200Response.js +51 -0
  241. package/dist/models/ValidateInviteCode200ResponseData.d.ts +44 -0
  242. package/dist/models/ValidateInviteCode200ResponseData.js +52 -0
  243. package/dist/models/index.d.ts +26 -1
  244. package/dist/models/index.js +26 -1
  245. package/package.json +1 -1
@@ -0,0 +1,59 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Widgetic API Gateway
5
+ * API documentation for the Widgetic API Gateway
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewFromJSON, ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewToJSON, } from './ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js';
15
+ /**
16
+ * @export
17
+ */
18
+ export const ApiV1SubscriptionsIdRefundPreviewPost200ResponseAllowanceKindEnum = {
19
+ Grant: 'grant',
20
+ Organization: 'organization'
21
+ };
22
+ /**
23
+ * Check if a given object implements the ApiV1SubscriptionsIdRefundPreviewPost200Response interface.
24
+ */
25
+ export function instanceOfApiV1SubscriptionsIdRefundPreviewPost200Response(value) {
26
+ return true;
27
+ }
28
+ export function ApiV1SubscriptionsIdRefundPreviewPost200ResponseFromJSON(json) {
29
+ return ApiV1SubscriptionsIdRefundPreviewPost200ResponseFromJSONTyped(json, false);
30
+ }
31
+ export function ApiV1SubscriptionsIdRefundPreviewPost200ResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'paymentIntentId': json['paymentIntentId'] == null ? undefined : json['paymentIntentId'],
37
+ 'amountUsd': json['amountUsd'] == null ? undefined : json['amountUsd'],
38
+ 'unitPriceUsd': json['unitPriceUsd'] == null ? undefined : json['unitPriceUsd'],
39
+ 'planType': json['planType'] == null ? undefined : json['planType'],
40
+ 'allowanceKind': json['allowanceKind'] == null ? undefined : json['allowanceKind'],
41
+ 'organizationPreview': json['organizationPreview'] == null ? undefined : ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewFromJSON(json['organizationPreview']),
42
+ };
43
+ }
44
+ export function ApiV1SubscriptionsIdRefundPreviewPost200ResponseToJSON(json) {
45
+ return ApiV1SubscriptionsIdRefundPreviewPost200ResponseToJSONTyped(json, false);
46
+ }
47
+ export function ApiV1SubscriptionsIdRefundPreviewPost200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'paymentIntentId': value['paymentIntentId'],
53
+ 'amountUsd': value['amountUsd'],
54
+ 'unitPriceUsd': value['unitPriceUsd'],
55
+ 'planType': value['planType'],
56
+ 'allowanceKind': value['allowanceKind'],
57
+ 'organizationPreview': ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewToJSON(value['organizationPreview']),
58
+ };
59
+ }
@@ -0,0 +1,51 @@
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 type { ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner } from './ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner';
13
+ /**
14
+ * The per-member clawback an organization refund would make
15
+ * @export
16
+ * @interface ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview
17
+ */
18
+ export interface ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview
23
+ */
24
+ impliedCredits?: number;
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview
29
+ */
30
+ unspentCredits?: number;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview
35
+ */
36
+ reversableCredits?: number;
37
+ /**
38
+ *
39
+ * @type {Array<ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner>}
40
+ * @memberof ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview
41
+ */
42
+ shares?: Array<ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner>;
43
+ }
44
+ /**
45
+ * Check if a given object implements the ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview interface.
46
+ */
47
+ export declare function instanceOfApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview(value: object): value is ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview;
48
+ export declare function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewFromJSON(json: any): ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview;
49
+ export declare function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview;
50
+ export declare function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewToJSON(json: any): ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview;
51
+ export declare function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewToJSONTyped(value?: ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Widgetic API Gateway
5
+ * API documentation for the Widgetic API Gateway
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerFromJSON, ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerToJSON, } from './ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js';
15
+ /**
16
+ * Check if a given object implements the ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview interface.
17
+ */
18
+ export function instanceOfApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview(value) {
19
+ return true;
20
+ }
21
+ export function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewFromJSON(json) {
22
+ return ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewFromJSONTyped(json, false);
23
+ }
24
+ export function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return {
29
+ 'impliedCredits': json['impliedCredits'] == null ? undefined : json['impliedCredits'],
30
+ 'unspentCredits': json['unspentCredits'] == null ? undefined : json['unspentCredits'],
31
+ 'reversableCredits': json['reversableCredits'] == null ? undefined : json['reversableCredits'],
32
+ 'shares': json['shares'] == null ? undefined : (json['shares'].map(ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerFromJSON)),
33
+ };
34
+ }
35
+ export function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewToJSON(json) {
36
+ return ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewToJSONTyped(json, false);
37
+ }
38
+ export function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewToJSONTyped(value, ignoreDiscriminator = false) {
39
+ if (value == null) {
40
+ return value;
41
+ }
42
+ return {
43
+ 'impliedCredits': value['impliedCredits'],
44
+ 'unspentCredits': value['unspentCredits'],
45
+ 'reversableCredits': value['reversableCredits'],
46
+ 'shares': value['shares'] == null ? undefined : (value['shares'].map(ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerToJSON)),
47
+ };
48
+ }
@@ -0,0 +1,38 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner
16
+ */
17
+ export interface ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner
22
+ */
23
+ userId?: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner
28
+ */
29
+ credits?: number;
30
+ }
31
+ /**
32
+ * Check if a given object implements the ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner interface.
33
+ */
34
+ export declare function instanceOfApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner(value: object): value is ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner;
35
+ export declare function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerFromJSON(json: any): ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner;
36
+ export declare function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner;
37
+ export declare function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerToJSON(json: any): ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner;
38
+ export declare function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerToJSONTyped(value?: ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,43 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Widgetic API Gateway
5
+ * API documentation for the Widgetic API Gateway
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner interface.
16
+ */
17
+ export function instanceOfApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner(value) {
18
+ return true;
19
+ }
20
+ export function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerFromJSON(json) {
21
+ return ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerFromJSONTyped(json, false);
22
+ }
23
+ export function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'userId': json['userId'] == null ? undefined : json['userId'],
29
+ 'credits': json['credits'] == null ? undefined : json['credits'],
30
+ };
31
+ }
32
+ export function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerToJSON(json) {
33
+ return ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerToJSONTyped(json, false);
34
+ }
35
+ export function ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInnerToJSONTyped(value, ignoreDiscriminator = false) {
36
+ if (value == null) {
37
+ return value;
38
+ }
39
+ return {
40
+ 'userId': value['userId'],
41
+ 'credits': value['credits'],
42
+ };
43
+ }
@@ -0,0 +1,44 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface ApiV1SubscriptionsIdRefundPreviewPostRequest
16
+ */
17
+ export interface ApiV1SubscriptionsIdRefundPreviewPostRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ApiV1SubscriptionsIdRefundPreviewPostRequest
22
+ */
23
+ paymentIntentId?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ApiV1SubscriptionsIdRefundPreviewPostRequest
28
+ */
29
+ stripeInvoiceId?: string;
30
+ /**
31
+ * Optional and unused on a preview; accepted so a client can post the same body it will send to the refund endpoint.
32
+ * @type {string}
33
+ * @memberof ApiV1SubscriptionsIdRefundPreviewPostRequest
34
+ */
35
+ reason?: string;
36
+ }
37
+ /**
38
+ * Check if a given object implements the ApiV1SubscriptionsIdRefundPreviewPostRequest interface.
39
+ */
40
+ export declare function instanceOfApiV1SubscriptionsIdRefundPreviewPostRequest(value: object): value is ApiV1SubscriptionsIdRefundPreviewPostRequest;
41
+ export declare function ApiV1SubscriptionsIdRefundPreviewPostRequestFromJSON(json: any): ApiV1SubscriptionsIdRefundPreviewPostRequest;
42
+ export declare function ApiV1SubscriptionsIdRefundPreviewPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1SubscriptionsIdRefundPreviewPostRequest;
43
+ export declare function ApiV1SubscriptionsIdRefundPreviewPostRequestToJSON(json: any): ApiV1SubscriptionsIdRefundPreviewPostRequest;
44
+ export declare function ApiV1SubscriptionsIdRefundPreviewPostRequestToJSONTyped(value?: ApiV1SubscriptionsIdRefundPreviewPostRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,45 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Widgetic API Gateway
5
+ * API documentation for the Widgetic API Gateway
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the ApiV1SubscriptionsIdRefundPreviewPostRequest interface.
16
+ */
17
+ export function instanceOfApiV1SubscriptionsIdRefundPreviewPostRequest(value) {
18
+ return true;
19
+ }
20
+ export function ApiV1SubscriptionsIdRefundPreviewPostRequestFromJSON(json) {
21
+ return ApiV1SubscriptionsIdRefundPreviewPostRequestFromJSONTyped(json, false);
22
+ }
23
+ export function ApiV1SubscriptionsIdRefundPreviewPostRequestFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'paymentIntentId': json['paymentIntentId'] == null ? undefined : json['paymentIntentId'],
29
+ 'stripeInvoiceId': json['stripeInvoiceId'] == null ? undefined : json['stripeInvoiceId'],
30
+ 'reason': json['reason'] == null ? undefined : json['reason'],
31
+ };
32
+ }
33
+ export function ApiV1SubscriptionsIdRefundPreviewPostRequestToJSON(json) {
34
+ return ApiV1SubscriptionsIdRefundPreviewPostRequestToJSONTyped(json, false);
35
+ }
36
+ export function ApiV1SubscriptionsIdRefundPreviewPostRequestToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'paymentIntentId': value['paymentIntentId'],
42
+ 'stripeInvoiceId': value['stripeInvoiceId'],
43
+ 'reason': value['reason'],
44
+ };
45
+ }
@@ -33,6 +33,12 @@ export interface ConfigureAutoReloadRequest {
33
33
  * @memberof ConfigureAutoReloadRequest
34
34
  */
35
35
  reload_amount?: number;
36
+ /**
37
+ * Reload credits allowed per calendar month (UTC). Defaults to 2000 when omitted. Counts the credits the reload path grants; a reload that would exceed it is skipped with a warning.
38
+ * @type {number}
39
+ * @memberof ConfigureAutoReloadRequest
40
+ */
41
+ max_per_month?: number;
36
42
  }
37
43
  /**
38
44
  * Check if a given object implements the ConfigureAutoReloadRequest interface.
@@ -30,6 +30,7 @@ export function ConfigureAutoReloadRequestFromJSONTyped(json, ignoreDiscriminato
30
30
  'enabled': json['enabled'],
31
31
  'threshold': json['threshold'] == null ? undefined : json['threshold'],
32
32
  'reload_amount': json['reload_amount'] == null ? undefined : json['reload_amount'],
33
+ 'max_per_month': json['max_per_month'] == null ? undefined : json['max_per_month'],
33
34
  };
34
35
  }
35
36
  export function ConfigureAutoReloadRequestToJSON(json) {
@@ -43,5 +44,6 @@ export function ConfigureAutoReloadRequestToJSONTyped(value, ignoreDiscriminator
43
44
  'enabled': value['enabled'],
44
45
  'threshold': value['threshold'],
45
46
  'reload_amount': value['reload_amount'],
47
+ 'max_per_month': value['max_per_month'],
46
48
  };
47
49
  }
@@ -40,6 +40,19 @@ export interface CreateMessageRequest {
40
40
  * @memberof CreateMessageRequest
41
41
  */
42
42
  is_commit?: boolean;
43
+ /**
44
+ * Suggested follow-ups riding an assistant message (clarification cards).
45
+ * Structured objects — `label` is display copy the client renders verbatim
46
+ * and never parses; `intent` is the machine-readable behavior the chip's
47
+ * tap carries back. Legacy bare strings coerce to refine suggestions on
48
+ * the server's read path.
49
+ * @type {Array<{ label: string, intent: 'refine' | 'generate_anyway' }>}
50
+ * @memberof CreateMessageRequest
51
+ */
52
+ suggestions?: Array<{
53
+ label: string;
54
+ intent: 'refine' | 'generate_anyway';
55
+ }> | null;
43
56
  /**
44
57
  * ID of the user sending the message
45
58
  * @type {string}
@@ -41,6 +41,7 @@ export function CreateMessageRequestFromJSONTyped(json, ignoreDiscriminator) {
41
41
  'message_type': json['message_type'],
42
42
  'attachments': json['attachments'] == null ? undefined : (json['attachments'].map(ContentItemInputFromJSON)),
43
43
  'is_commit': json['is_commit'] == null ? undefined : json['is_commit'],
44
+ 'suggestions': json['suggestions'] == null ? undefined : json['suggestions'],
44
45
  'user_id': json['user_id'],
45
46
  };
46
47
  }
@@ -56,6 +57,7 @@ export function CreateMessageRequestToJSONTyped(value, ignoreDiscriminator = fal
56
57
  'message_type': value['message_type'],
57
58
  'attachments': value['attachments'] == null ? undefined : (value['attachments'].map(ContentItemInputToJSON)),
58
59
  'is_commit': value['is_commit'],
60
+ 'suggestions': value['suggestions'],
59
61
  'user_id': value['user_id'],
60
62
  };
61
63
  }
@@ -63,6 +63,48 @@ export interface GenerateCodeRequest {
63
63
  * @memberof GenerateCodeRequest
64
64
  */
65
65
  images?: Array<string> | null;
66
+ /**
67
+ * Optional model ID for the planner pre-call that enhances the user prompt before code generation.
68
+ * @type {string}
69
+ * @memberof GenerateCodeRequest
70
+ */
71
+ plannerModelId?: string | null;
72
+ /**
73
+ * Optional conversation whose prior messages are loaded as LLM context for incremental edits.
74
+ * @type {string}
75
+ * @memberof GenerateCodeRequest
76
+ */
77
+ conversationId?: string | null;
78
+ /**
79
+ * Optional upload IDs — server fetches CDN images for vision (avoids inline base64 in chat/codegen).
80
+ * @type {Array<string>}
81
+ * @memberof GenerateCodeRequest
82
+ */
83
+ attachmentIds?: Array<string> | null;
84
+ /**
85
+ * Optional runtime console logs captured from the latest widget preview playback. Included automatically on iteration requests for AI self-diagnosis.
86
+ * @type {Array<string>}
87
+ * @memberof GenerateCodeRequest
88
+ */
89
+ runtimeLogs?: Array<string> | null;
90
+ /**
91
+ * When true, skip full codegen — build current GitLab HEAD and run agent harness repair loop only (Fix Compile Error).
92
+ * @type {boolean}
93
+ * @memberof GenerateCodeRequest
94
+ */
95
+ compileFixOnly?: boolean | null;
96
+ /**
97
+ * Escape hatch from the intent gate's clarification card: set when the user explicitly chose to generate anyway after a gated response. Skips only the gate — auth, quota, concurrency, and cost still apply.
98
+ * @type {boolean}
99
+ * @memberof GenerateCodeRequest
100
+ */
101
+ skipIntentGate?: boolean | null;
102
+ /**
103
+ * Machine-readable signal that this generate request started from a clarification-card chip tap — the tapped chip's own structured intent, sent because the client knows it and the server never infers behavior from copy. Measured as the chip-conversion outcome (split by intent); never acts.
104
+ * @type {string}
105
+ * @memberof GenerateCodeRequest
106
+ */
107
+ chipIntent?: 'refine' | 'generate_anyway' | null;
66
108
  }
67
109
  /**
68
110
  * Check if a given object implements the GenerateCodeRequest interface.
@@ -37,6 +37,13 @@ export function GenerateCodeRequestFromJSONTyped(json, ignoreDiscriminator) {
37
37
  'planId': json['planId'] == null ? undefined : json['planId'],
38
38
  'developmentTaskId': json['developmentTaskId'] == null ? undefined : json['developmentTaskId'],
39
39
  'images': json['images'] == null ? undefined : json['images'],
40
+ 'plannerModelId': json['plannerModelId'] == null ? undefined : json['plannerModelId'],
41
+ 'conversationId': json['conversationId'] == null ? undefined : json['conversationId'],
42
+ 'attachmentIds': json['attachmentIds'] == null ? undefined : json['attachmentIds'],
43
+ 'runtimeLogs': json['runtimeLogs'] == null ? undefined : json['runtimeLogs'],
44
+ 'compileFixOnly': json['compileFixOnly'] == null ? undefined : json['compileFixOnly'],
45
+ 'skipIntentGate': json['skipIntentGate'] == null ? undefined : json['skipIntentGate'],
46
+ 'chipIntent': json['chipIntent'] == null ? undefined : json['chipIntent'],
40
47
  };
41
48
  }
42
49
  export function GenerateCodeRequestToJSON(json) {
@@ -55,5 +62,12 @@ export function GenerateCodeRequestToJSONTyped(value, ignoreDiscriminator = fals
55
62
  'planId': value['planId'],
56
63
  'developmentTaskId': value['developmentTaskId'],
57
64
  'images': value['images'],
65
+ 'plannerModelId': value['plannerModelId'],
66
+ 'conversationId': value['conversationId'],
67
+ 'attachmentIds': value['attachmentIds'],
68
+ 'runtimeLogs': value['runtimeLogs'],
69
+ 'compileFixOnly': value['compileFixOnly'],
70
+ 'skipIntentGate': value['skipIntentGate'],
71
+ 'chipIntent': value['chipIntent'],
58
72
  };
59
73
  }
@@ -0,0 +1,38 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface GetCompositionsBatch200ResponseErrorsInner
16
+ */
17
+ export interface GetCompositionsBatch200ResponseErrorsInner {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof GetCompositionsBatch200ResponseErrorsInner
22
+ */
23
+ id?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof GetCompositionsBatch200ResponseErrorsInner
28
+ */
29
+ error?: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the GetCompositionsBatch200ResponseErrorsInner interface.
33
+ */
34
+ export declare function instanceOfGetCompositionsBatch200ResponseErrorsInner(value: object): value is GetCompositionsBatch200ResponseErrorsInner;
35
+ export declare function GetCompositionsBatch200ResponseErrorsInnerFromJSON(json: any): GetCompositionsBatch200ResponseErrorsInner;
36
+ export declare function GetCompositionsBatch200ResponseErrorsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetCompositionsBatch200ResponseErrorsInner;
37
+ export declare function GetCompositionsBatch200ResponseErrorsInnerToJSON(json: any): GetCompositionsBatch200ResponseErrorsInner;
38
+ export declare function GetCompositionsBatch200ResponseErrorsInnerToJSONTyped(value?: GetCompositionsBatch200ResponseErrorsInner | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,43 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Widgetic API Gateway
5
+ * API documentation for the Widgetic API Gateway
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * Check if a given object implements the GetCompositionsBatch200ResponseErrorsInner interface.
16
+ */
17
+ export function instanceOfGetCompositionsBatch200ResponseErrorsInner(value) {
18
+ return true;
19
+ }
20
+ export function GetCompositionsBatch200ResponseErrorsInnerFromJSON(json) {
21
+ return GetCompositionsBatch200ResponseErrorsInnerFromJSONTyped(json, false);
22
+ }
23
+ export function GetCompositionsBatch200ResponseErrorsInnerFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'id': json['id'] == null ? undefined : json['id'],
29
+ 'error': json['error'] == null ? undefined : json['error'],
30
+ };
31
+ }
32
+ export function GetCompositionsBatch200ResponseErrorsInnerToJSON(json) {
33
+ return GetCompositionsBatch200ResponseErrorsInnerToJSONTyped(json, false);
34
+ }
35
+ export function GetCompositionsBatch200ResponseErrorsInnerToJSONTyped(value, ignoreDiscriminator = false) {
36
+ if (value == null) {
37
+ return value;
38
+ }
39
+ return {
40
+ 'id': value['id'],
41
+ 'error': value['error'],
42
+ };
43
+ }
@@ -40,11 +40,23 @@ export interface GetWidgetPublishHistory200ResponseDataInner {
40
40
  */
41
41
  artifactUrl?: string | null;
42
42
  /**
43
- *
43
+ * When this version went Live. Null for a Draft.
44
44
  * @type {Date}
45
45
  * @memberof GetWidgetPublishHistory200ResponseDataInner
46
46
  */
47
47
  publishedAt?: Date | null;
48
+ /**
49
+ * True when this version is Live.
50
+ * @type {boolean}
51
+ * @memberof GetWidgetPublishHistory200ResponseDataInner
52
+ */
53
+ isPublished?: boolean;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof GetWidgetPublishHistory200ResponseDataInner
58
+ */
59
+ prompt?: string | null;
48
60
  /**
49
61
  *
50
62
  * @type {string}
@@ -30,6 +30,8 @@ export function GetWidgetPublishHistory200ResponseDataInnerFromJSONTyped(json, i
30
30
  'commitSha': json['commitSha'] == null ? undefined : json['commitSha'],
31
31
  'artifactUrl': json['artifactUrl'] == null ? undefined : json['artifactUrl'],
32
32
  'publishedAt': json['publishedAt'] == null ? undefined : (new Date(json['publishedAt'])),
33
+ 'isPublished': json['isPublished'] == null ? undefined : json['isPublished'],
34
+ 'prompt': json['prompt'] == null ? undefined : json['prompt'],
33
35
  'publishedBy': json['publishedBy'] == null ? undefined : json['publishedBy'],
34
36
  };
35
37
  }
@@ -46,6 +48,8 @@ export function GetWidgetPublishHistory200ResponseDataInnerToJSONTyped(value, ig
46
48
  'commitSha': value['commitSha'],
47
49
  'artifactUrl': value['artifactUrl'],
48
50
  'publishedAt': value['publishedAt'] == null ? undefined : (value['publishedAt'].toISOString()),
51
+ 'isPublished': value['isPublished'],
52
+ 'prompt': value['prompt'],
49
53
  'publishedBy': value['publishedBy'],
50
54
  };
51
55
  }
@@ -0,0 +1,39 @@
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 type { ListAccountNotices200ResponseData } from './ListAccountNotices200ResponseData';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListAccountNotices200Response
17
+ */
18
+ export interface ListAccountNotices200Response {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof ListAccountNotices200Response
23
+ */
24
+ success?: boolean;
25
+ /**
26
+ *
27
+ * @type {ListAccountNotices200ResponseData}
28
+ * @memberof ListAccountNotices200Response
29
+ */
30
+ data?: ListAccountNotices200ResponseData;
31
+ }
32
+ /**
33
+ * Check if a given object implements the ListAccountNotices200Response interface.
34
+ */
35
+ export declare function instanceOfListAccountNotices200Response(value: object): value is ListAccountNotices200Response;
36
+ export declare function ListAccountNotices200ResponseFromJSON(json: any): ListAccountNotices200Response;
37
+ export declare function ListAccountNotices200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListAccountNotices200Response;
38
+ export declare function ListAccountNotices200ResponseToJSON(json: any): ListAccountNotices200Response;
39
+ export declare function ListAccountNotices200ResponseToJSONTyped(value?: ListAccountNotices200Response | null, ignoreDiscriminator?: boolean): any;