@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,52 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfApiV1SubscriptionsIdRefundPreviewPostRequest = instanceOfApiV1SubscriptionsIdRefundPreviewPostRequest;
17
+ exports.ApiV1SubscriptionsIdRefundPreviewPostRequestFromJSON = ApiV1SubscriptionsIdRefundPreviewPostRequestFromJSON;
18
+ exports.ApiV1SubscriptionsIdRefundPreviewPostRequestFromJSONTyped = ApiV1SubscriptionsIdRefundPreviewPostRequestFromJSONTyped;
19
+ exports.ApiV1SubscriptionsIdRefundPreviewPostRequestToJSON = ApiV1SubscriptionsIdRefundPreviewPostRequestToJSON;
20
+ exports.ApiV1SubscriptionsIdRefundPreviewPostRequestToJSONTyped = ApiV1SubscriptionsIdRefundPreviewPostRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ApiV1SubscriptionsIdRefundPreviewPostRequest interface.
23
+ */
24
+ function instanceOfApiV1SubscriptionsIdRefundPreviewPostRequest(value) {
25
+ return true;
26
+ }
27
+ function ApiV1SubscriptionsIdRefundPreviewPostRequestFromJSON(json) {
28
+ return ApiV1SubscriptionsIdRefundPreviewPostRequestFromJSONTyped(json, false);
29
+ }
30
+ function ApiV1SubscriptionsIdRefundPreviewPostRequestFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'paymentIntentId': json['paymentIntentId'] == null ? undefined : json['paymentIntentId'],
36
+ 'stripeInvoiceId': json['stripeInvoiceId'] == null ? undefined : json['stripeInvoiceId'],
37
+ 'reason': json['reason'] == null ? undefined : json['reason'],
38
+ };
39
+ }
40
+ function ApiV1SubscriptionsIdRefundPreviewPostRequestToJSON(json) {
41
+ return ApiV1SubscriptionsIdRefundPreviewPostRequestToJSONTyped(json, false);
42
+ }
43
+ function ApiV1SubscriptionsIdRefundPreviewPostRequestToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'paymentIntentId': value['paymentIntentId'],
49
+ 'stripeInvoiceId': value['stripeInvoiceId'],
50
+ 'reason': value['reason'],
51
+ };
52
+ }
@@ -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.
@@ -37,6 +37,7 @@ function ConfigureAutoReloadRequestFromJSONTyped(json, ignoreDiscriminator) {
37
37
  'enabled': json['enabled'],
38
38
  'threshold': json['threshold'] == null ? undefined : json['threshold'],
39
39
  'reload_amount': json['reload_amount'] == null ? undefined : json['reload_amount'],
40
+ 'max_per_month': json['max_per_month'] == null ? undefined : json['max_per_month'],
40
41
  };
41
42
  }
42
43
  function ConfigureAutoReloadRequestToJSON(json) {
@@ -50,5 +51,6 @@ function ConfigureAutoReloadRequestToJSONTyped(value, ignoreDiscriminator = fals
50
51
  'enabled': value['enabled'],
51
52
  'threshold': value['threshold'],
52
53
  'reload_amount': value['reload_amount'],
54
+ 'max_per_month': value['max_per_month'],
53
55
  };
54
56
  }
@@ -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}
@@ -49,6 +49,7 @@ function CreateMessageRequestFromJSONTyped(json, ignoreDiscriminator) {
49
49
  'message_type': json['message_type'],
50
50
  'attachments': json['attachments'] == null ? undefined : (json['attachments'].map(ContentItemInput_1.ContentItemInputFromJSON)),
51
51
  'is_commit': json['is_commit'] == null ? undefined : json['is_commit'],
52
+ 'suggestions': json['suggestions'] == null ? undefined : json['suggestions'],
52
53
  'user_id': json['user_id'],
53
54
  };
54
55
  }
@@ -64,6 +65,7 @@ function CreateMessageRequestToJSONTyped(value, ignoreDiscriminator = false) {
64
65
  'message_type': value['message_type'],
65
66
  'attachments': value['attachments'] == null ? undefined : (value['attachments'].map(ContentItemInput_1.ContentItemInputToJSON)),
66
67
  'is_commit': value['is_commit'],
68
+ 'suggestions': value['suggestions'],
67
69
  'user_id': value['user_id'],
68
70
  };
69
71
  }
@@ -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.
@@ -44,6 +44,13 @@ function GenerateCodeRequestFromJSONTyped(json, ignoreDiscriminator) {
44
44
  'planId': json['planId'] == null ? undefined : json['planId'],
45
45
  'developmentTaskId': json['developmentTaskId'] == null ? undefined : json['developmentTaskId'],
46
46
  'images': json['images'] == null ? undefined : json['images'],
47
+ 'plannerModelId': json['plannerModelId'] == null ? undefined : json['plannerModelId'],
48
+ 'conversationId': json['conversationId'] == null ? undefined : json['conversationId'],
49
+ 'attachmentIds': json['attachmentIds'] == null ? undefined : json['attachmentIds'],
50
+ 'runtimeLogs': json['runtimeLogs'] == null ? undefined : json['runtimeLogs'],
51
+ 'compileFixOnly': json['compileFixOnly'] == null ? undefined : json['compileFixOnly'],
52
+ 'skipIntentGate': json['skipIntentGate'] == null ? undefined : json['skipIntentGate'],
53
+ 'chipIntent': json['chipIntent'] == null ? undefined : json['chipIntent'],
47
54
  };
48
55
  }
49
56
  function GenerateCodeRequestToJSON(json) {
@@ -62,5 +69,12 @@ function GenerateCodeRequestToJSONTyped(value, ignoreDiscriminator = false) {
62
69
  'planId': value['planId'],
63
70
  'developmentTaskId': value['developmentTaskId'],
64
71
  'images': value['images'],
72
+ 'plannerModelId': value['plannerModelId'],
73
+ 'conversationId': value['conversationId'],
74
+ 'attachmentIds': value['attachmentIds'],
75
+ 'runtimeLogs': value['runtimeLogs'],
76
+ 'compileFixOnly': value['compileFixOnly'],
77
+ 'skipIntentGate': value['skipIntentGate'],
78
+ 'chipIntent': value['chipIntent'],
65
79
  };
66
80
  }
@@ -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,50 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfGetCompositionsBatch200ResponseErrorsInner = instanceOfGetCompositionsBatch200ResponseErrorsInner;
17
+ exports.GetCompositionsBatch200ResponseErrorsInnerFromJSON = GetCompositionsBatch200ResponseErrorsInnerFromJSON;
18
+ exports.GetCompositionsBatch200ResponseErrorsInnerFromJSONTyped = GetCompositionsBatch200ResponseErrorsInnerFromJSONTyped;
19
+ exports.GetCompositionsBatch200ResponseErrorsInnerToJSON = GetCompositionsBatch200ResponseErrorsInnerToJSON;
20
+ exports.GetCompositionsBatch200ResponseErrorsInnerToJSONTyped = GetCompositionsBatch200ResponseErrorsInnerToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the GetCompositionsBatch200ResponseErrorsInner interface.
23
+ */
24
+ function instanceOfGetCompositionsBatch200ResponseErrorsInner(value) {
25
+ return true;
26
+ }
27
+ function GetCompositionsBatch200ResponseErrorsInnerFromJSON(json) {
28
+ return GetCompositionsBatch200ResponseErrorsInnerFromJSONTyped(json, false);
29
+ }
30
+ function GetCompositionsBatch200ResponseErrorsInnerFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'id': json['id'] == null ? undefined : json['id'],
36
+ 'error': json['error'] == null ? undefined : json['error'],
37
+ };
38
+ }
39
+ function GetCompositionsBatch200ResponseErrorsInnerToJSON(json) {
40
+ return GetCompositionsBatch200ResponseErrorsInnerToJSONTyped(json, false);
41
+ }
42
+ function GetCompositionsBatch200ResponseErrorsInnerToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'id': value['id'],
48
+ 'error': value['error'],
49
+ };
50
+ }
@@ -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}
@@ -37,6 +37,8 @@ function GetWidgetPublishHistory200ResponseDataInnerFromJSONTyped(json, ignoreDi
37
37
  'commitSha': json['commitSha'] == null ? undefined : json['commitSha'],
38
38
  'artifactUrl': json['artifactUrl'] == null ? undefined : json['artifactUrl'],
39
39
  'publishedAt': json['publishedAt'] == null ? undefined : (new Date(json['publishedAt'])),
40
+ 'isPublished': json['isPublished'] == null ? undefined : json['isPublished'],
41
+ 'prompt': json['prompt'] == null ? undefined : json['prompt'],
40
42
  'publishedBy': json['publishedBy'] == null ? undefined : json['publishedBy'],
41
43
  };
42
44
  }
@@ -53,6 +55,8 @@ function GetWidgetPublishHistory200ResponseDataInnerToJSONTyped(value, ignoreDis
53
55
  'commitSha': value['commitSha'],
54
56
  'artifactUrl': value['artifactUrl'],
55
57
  'publishedAt': value['publishedAt'] == null ? undefined : (value['publishedAt'].toISOString()),
58
+ 'isPublished': value['isPublished'],
59
+ 'prompt': value['prompt'],
56
60
  'publishedBy': value['publishedBy'],
57
61
  };
58
62
  }
@@ -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;
@@ -0,0 +1,51 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfListAccountNotices200Response = instanceOfListAccountNotices200Response;
17
+ exports.ListAccountNotices200ResponseFromJSON = ListAccountNotices200ResponseFromJSON;
18
+ exports.ListAccountNotices200ResponseFromJSONTyped = ListAccountNotices200ResponseFromJSONTyped;
19
+ exports.ListAccountNotices200ResponseToJSON = ListAccountNotices200ResponseToJSON;
20
+ exports.ListAccountNotices200ResponseToJSONTyped = ListAccountNotices200ResponseToJSONTyped;
21
+ const ListAccountNotices200ResponseData_1 = require("./ListAccountNotices200ResponseData");
22
+ /**
23
+ * Check if a given object implements the ListAccountNotices200Response interface.
24
+ */
25
+ function instanceOfListAccountNotices200Response(value) {
26
+ return true;
27
+ }
28
+ function ListAccountNotices200ResponseFromJSON(json) {
29
+ return ListAccountNotices200ResponseFromJSONTyped(json, false);
30
+ }
31
+ function ListAccountNotices200ResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'success': json['success'] == null ? undefined : json['success'],
37
+ 'data': json['data'] == null ? undefined : (0, ListAccountNotices200ResponseData_1.ListAccountNotices200ResponseDataFromJSON)(json['data']),
38
+ };
39
+ }
40
+ function ListAccountNotices200ResponseToJSON(json) {
41
+ return ListAccountNotices200ResponseToJSONTyped(json, false);
42
+ }
43
+ function ListAccountNotices200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'success': value['success'],
49
+ 'data': (0, ListAccountNotices200ResponseData_1.ListAccountNotices200ResponseDataToJSON)(value['data']),
50
+ };
51
+ }
@@ -0,0 +1,33 @@
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 { ListAccountNotices200ResponseDataNoticesInner } from './ListAccountNotices200ResponseDataNoticesInner';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListAccountNotices200ResponseData
17
+ */
18
+ export interface ListAccountNotices200ResponseData {
19
+ /**
20
+ *
21
+ * @type {Array<ListAccountNotices200ResponseDataNoticesInner>}
22
+ * @memberof ListAccountNotices200ResponseData
23
+ */
24
+ notices?: Array<ListAccountNotices200ResponseDataNoticesInner>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the ListAccountNotices200ResponseData interface.
28
+ */
29
+ export declare function instanceOfListAccountNotices200ResponseData(value: object): value is ListAccountNotices200ResponseData;
30
+ export declare function ListAccountNotices200ResponseDataFromJSON(json: any): ListAccountNotices200ResponseData;
31
+ export declare function ListAccountNotices200ResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListAccountNotices200ResponseData;
32
+ export declare function ListAccountNotices200ResponseDataToJSON(json: any): ListAccountNotices200ResponseData;
33
+ export declare function ListAccountNotices200ResponseDataToJSONTyped(value?: ListAccountNotices200ResponseData | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,49 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfListAccountNotices200ResponseData = instanceOfListAccountNotices200ResponseData;
17
+ exports.ListAccountNotices200ResponseDataFromJSON = ListAccountNotices200ResponseDataFromJSON;
18
+ exports.ListAccountNotices200ResponseDataFromJSONTyped = ListAccountNotices200ResponseDataFromJSONTyped;
19
+ exports.ListAccountNotices200ResponseDataToJSON = ListAccountNotices200ResponseDataToJSON;
20
+ exports.ListAccountNotices200ResponseDataToJSONTyped = ListAccountNotices200ResponseDataToJSONTyped;
21
+ const ListAccountNotices200ResponseDataNoticesInner_1 = require("./ListAccountNotices200ResponseDataNoticesInner");
22
+ /**
23
+ * Check if a given object implements the ListAccountNotices200ResponseData interface.
24
+ */
25
+ function instanceOfListAccountNotices200ResponseData(value) {
26
+ return true;
27
+ }
28
+ function ListAccountNotices200ResponseDataFromJSON(json) {
29
+ return ListAccountNotices200ResponseDataFromJSONTyped(json, false);
30
+ }
31
+ function ListAccountNotices200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'notices': json['notices'] == null ? undefined : (json['notices'].map(ListAccountNotices200ResponseDataNoticesInner_1.ListAccountNotices200ResponseDataNoticesInnerFromJSON)),
37
+ };
38
+ }
39
+ function ListAccountNotices200ResponseDataToJSON(json) {
40
+ return ListAccountNotices200ResponseDataToJSONTyped(json, false);
41
+ }
42
+ function ListAccountNotices200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'notices': value['notices'] == null ? undefined : (value['notices'].map(ListAccountNotices200ResponseDataNoticesInner_1.ListAccountNotices200ResponseDataNoticesInnerToJSON)),
48
+ };
49
+ }
@@ -0,0 +1,68 @@
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 ListAccountNotices200ResponseDataNoticesInner
16
+ */
17
+ export interface ListAccountNotices200ResponseDataNoticesInner {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ListAccountNotices200ResponseDataNoticesInner
22
+ */
23
+ id?: string;
24
+ /**
25
+ * e.g. `free_window_ending`
26
+ * @type {string}
27
+ * @memberof ListAccountNotices200ResponseDataNoticesInner
28
+ */
29
+ kind?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ListAccountNotices200ResponseDataNoticesInner
34
+ */
35
+ title?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ListAccountNotices200ResponseDataNoticesInner
40
+ */
41
+ body?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof ListAccountNotices200ResponseDataNoticesInner
46
+ */
47
+ actionUrl?: string | null;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof ListAccountNotices200ResponseDataNoticesInner
52
+ */
53
+ actionLabel?: string | null;
54
+ /**
55
+ *
56
+ * @type {Date}
57
+ * @memberof ListAccountNotices200ResponseDataNoticesInner
58
+ */
59
+ expiresAt?: Date | null;
60
+ }
61
+ /**
62
+ * Check if a given object implements the ListAccountNotices200ResponseDataNoticesInner interface.
63
+ */
64
+ export declare function instanceOfListAccountNotices200ResponseDataNoticesInner(value: object): value is ListAccountNotices200ResponseDataNoticesInner;
65
+ export declare function ListAccountNotices200ResponseDataNoticesInnerFromJSON(json: any): ListAccountNotices200ResponseDataNoticesInner;
66
+ export declare function ListAccountNotices200ResponseDataNoticesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ListAccountNotices200ResponseDataNoticesInner;
67
+ export declare function ListAccountNotices200ResponseDataNoticesInnerToJSON(json: any): ListAccountNotices200ResponseDataNoticesInner;
68
+ export declare function ListAccountNotices200ResponseDataNoticesInnerToJSONTyped(value?: ListAccountNotices200ResponseDataNoticesInner | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,60 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfListAccountNotices200ResponseDataNoticesInner = instanceOfListAccountNotices200ResponseDataNoticesInner;
17
+ exports.ListAccountNotices200ResponseDataNoticesInnerFromJSON = ListAccountNotices200ResponseDataNoticesInnerFromJSON;
18
+ exports.ListAccountNotices200ResponseDataNoticesInnerFromJSONTyped = ListAccountNotices200ResponseDataNoticesInnerFromJSONTyped;
19
+ exports.ListAccountNotices200ResponseDataNoticesInnerToJSON = ListAccountNotices200ResponseDataNoticesInnerToJSON;
20
+ exports.ListAccountNotices200ResponseDataNoticesInnerToJSONTyped = ListAccountNotices200ResponseDataNoticesInnerToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ListAccountNotices200ResponseDataNoticesInner interface.
23
+ */
24
+ function instanceOfListAccountNotices200ResponseDataNoticesInner(value) {
25
+ return true;
26
+ }
27
+ function ListAccountNotices200ResponseDataNoticesInnerFromJSON(json) {
28
+ return ListAccountNotices200ResponseDataNoticesInnerFromJSONTyped(json, false);
29
+ }
30
+ function ListAccountNotices200ResponseDataNoticesInnerFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'id': json['id'] == null ? undefined : json['id'],
36
+ 'kind': json['kind'] == null ? undefined : json['kind'],
37
+ 'title': json['title'] == null ? undefined : json['title'],
38
+ 'body': json['body'] == null ? undefined : json['body'],
39
+ 'actionUrl': json['actionUrl'] == null ? undefined : json['actionUrl'],
40
+ 'actionLabel': json['actionLabel'] == null ? undefined : json['actionLabel'],
41
+ 'expiresAt': json['expiresAt'] == null ? undefined : (new Date(json['expiresAt'])),
42
+ };
43
+ }
44
+ function ListAccountNotices200ResponseDataNoticesInnerToJSON(json) {
45
+ return ListAccountNotices200ResponseDataNoticesInnerToJSONTyped(json, false);
46
+ }
47
+ function ListAccountNotices200ResponseDataNoticesInnerToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'id': value['id'],
53
+ 'kind': value['kind'],
54
+ 'title': value['title'],
55
+ 'body': value['body'],
56
+ 'actionUrl': value['actionUrl'],
57
+ 'actionLabel': value['actionLabel'],
58
+ 'expiresAt': value['expiresAt'] == null ? undefined : (value['expiresAt'].toISOString()),
59
+ };
60
+ }