@widgetic/api-sdk 1.0.21 → 1.0.23

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 +54 -0
  108. package/dist/esm/models/GenerateCodeRequest.js +18 -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 +12 -0
  133. package/dist/esm/models/SignupUserRequest.js +4 -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 +54 -0
  205. package/dist/models/GenerateCodeRequest.js +18 -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 +12 -0
  230. package/dist/models/SignupUserRequest.js +4 -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,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 — null for a personal charge.
15
+ * @export
16
+ * @interface ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview
17
+ */
18
+ export interface ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview
23
+ */
24
+ impliedCredits?: number;
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview
29
+ */
30
+ unspentCredits?: number;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview
35
+ */
36
+ reversableCredits?: number;
37
+ /**
38
+ *
39
+ * @type {Array<ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner>}
40
+ * @memberof ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview
41
+ */
42
+ shares?: Array<ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner>;
43
+ }
44
+ /**
45
+ * Check if a given object implements the ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview interface.
46
+ */
47
+ export declare function instanceOfApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview(value: object): value is ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview;
48
+ export declare function ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreviewFromJSON(json: any): ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview;
49
+ export declare function ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreviewFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview;
50
+ export declare function ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreviewToJSON(json: any): ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview;
51
+ export declare function ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreviewToJSONTyped(value?: ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview | 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 ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview interface.
17
+ */
18
+ export function instanceOfApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview(value) {
19
+ return true;
20
+ }
21
+ export function ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreviewFromJSON(json) {
22
+ return ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreviewFromJSONTyped(json, false);
23
+ }
24
+ export function ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreviewFromJSONTyped(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 ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreviewToJSON(json) {
36
+ return ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreviewToJSONTyped(json, false);
37
+ }
38
+ export function ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreviewToJSONTyped(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,70 @@
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 ApiV1AdminBillingRefundsPreviewPostRequest
16
+ */
17
+ export interface ApiV1AdminBillingRefundsPreviewPostRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ApiV1AdminBillingRefundsPreviewPostRequest
22
+ */
23
+ subjectType: ApiV1AdminBillingRefundsPreviewPostRequestSubjectTypeEnum;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ApiV1AdminBillingRefundsPreviewPostRequest
28
+ */
29
+ subjectId: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ApiV1AdminBillingRefundsPreviewPostRequest
34
+ */
35
+ paymentIntentId?: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ApiV1AdminBillingRefundsPreviewPostRequest
40
+ */
41
+ stripeInvoiceId?: string;
42
+ /**
43
+ * Names the charge as the subscription's latest paid invoice, resolved server-side; used only when neither charge id is given. Same semantics as on the refund endpoint.
44
+ * @type {string}
45
+ * @memberof ApiV1AdminBillingRefundsPreviewPostRequest
46
+ */
47
+ subscriptionId?: string;
48
+ /**
49
+ * Optional and unused on a preview; accepted so a client can post the same body it will send to the refund endpoint.
50
+ * @type {string}
51
+ * @memberof ApiV1AdminBillingRefundsPreviewPostRequest
52
+ */
53
+ reason?: string;
54
+ }
55
+ /**
56
+ * @export
57
+ */
58
+ export declare const ApiV1AdminBillingRefundsPreviewPostRequestSubjectTypeEnum: {
59
+ readonly User: "user";
60
+ readonly Organization: "organization";
61
+ };
62
+ export type ApiV1AdminBillingRefundsPreviewPostRequestSubjectTypeEnum = typeof ApiV1AdminBillingRefundsPreviewPostRequestSubjectTypeEnum[keyof typeof ApiV1AdminBillingRefundsPreviewPostRequestSubjectTypeEnum];
63
+ /**
64
+ * Check if a given object implements the ApiV1AdminBillingRefundsPreviewPostRequest interface.
65
+ */
66
+ export declare function instanceOfApiV1AdminBillingRefundsPreviewPostRequest(value: object): value is ApiV1AdminBillingRefundsPreviewPostRequest;
67
+ export declare function ApiV1AdminBillingRefundsPreviewPostRequestFromJSON(json: any): ApiV1AdminBillingRefundsPreviewPostRequest;
68
+ export declare function ApiV1AdminBillingRefundsPreviewPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1AdminBillingRefundsPreviewPostRequest;
69
+ export declare function ApiV1AdminBillingRefundsPreviewPostRequestToJSON(json: any): ApiV1AdminBillingRefundsPreviewPostRequest;
70
+ export declare function ApiV1AdminBillingRefundsPreviewPostRequestToJSONTyped(value?: ApiV1AdminBillingRefundsPreviewPostRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,62 @@
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
+ * @export
16
+ */
17
+ export const ApiV1AdminBillingRefundsPreviewPostRequestSubjectTypeEnum = {
18
+ User: 'user',
19
+ Organization: 'organization'
20
+ };
21
+ /**
22
+ * Check if a given object implements the ApiV1AdminBillingRefundsPreviewPostRequest interface.
23
+ */
24
+ export function instanceOfApiV1AdminBillingRefundsPreviewPostRequest(value) {
25
+ if (!('subjectType' in value) || value['subjectType'] === undefined)
26
+ return false;
27
+ if (!('subjectId' in value) || value['subjectId'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ export function ApiV1AdminBillingRefundsPreviewPostRequestFromJSON(json) {
32
+ return ApiV1AdminBillingRefundsPreviewPostRequestFromJSONTyped(json, false);
33
+ }
34
+ export function ApiV1AdminBillingRefundsPreviewPostRequestFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'subjectType': json['subjectType'],
40
+ 'subjectId': json['subjectId'],
41
+ 'paymentIntentId': json['paymentIntentId'] == null ? undefined : json['paymentIntentId'],
42
+ 'stripeInvoiceId': json['stripeInvoiceId'] == null ? undefined : json['stripeInvoiceId'],
43
+ 'subscriptionId': json['subscriptionId'] == null ? undefined : json['subscriptionId'],
44
+ 'reason': json['reason'] == null ? undefined : json['reason'],
45
+ };
46
+ }
47
+ export function ApiV1AdminBillingRefundsPreviewPostRequestToJSON(json) {
48
+ return ApiV1AdminBillingRefundsPreviewPostRequestToJSONTyped(json, false);
49
+ }
50
+ export function ApiV1AdminBillingRefundsPreviewPostRequestToJSONTyped(value, ignoreDiscriminator = false) {
51
+ if (value == null) {
52
+ return value;
53
+ }
54
+ return {
55
+ 'subjectType': value['subjectType'],
56
+ 'subjectId': value['subjectId'],
57
+ 'paymentIntentId': value['paymentIntentId'],
58
+ 'stripeInvoiceId': value['stripeInvoiceId'],
59
+ 'subscriptionId': value['subscriptionId'],
60
+ 'reason': value['reason'],
61
+ };
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 { ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData } from './ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ApiV1BillingUsersUserIdPaymentMethodsGet200Response
17
+ */
18
+ export interface ApiV1BillingUsersUserIdPaymentMethodsGet200Response {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof ApiV1BillingUsersUserIdPaymentMethodsGet200Response
23
+ */
24
+ success?: boolean;
25
+ /**
26
+ *
27
+ * @type {ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData}
28
+ * @memberof ApiV1BillingUsersUserIdPaymentMethodsGet200Response
29
+ */
30
+ data?: ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData;
31
+ }
32
+ /**
33
+ * Check if a given object implements the ApiV1BillingUsersUserIdPaymentMethodsGet200Response interface.
34
+ */
35
+ export declare function instanceOfApiV1BillingUsersUserIdPaymentMethodsGet200Response(value: object): value is ApiV1BillingUsersUserIdPaymentMethodsGet200Response;
36
+ export declare function ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseFromJSON(json: any): ApiV1BillingUsersUserIdPaymentMethodsGet200Response;
37
+ export declare function ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1BillingUsersUserIdPaymentMethodsGet200Response;
38
+ export declare function ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseToJSON(json: any): ApiV1BillingUsersUserIdPaymentMethodsGet200Response;
39
+ export declare function ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseToJSONTyped(value?: ApiV1BillingUsersUserIdPaymentMethodsGet200Response | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,44 @@
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 { ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataFromJSON, ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataToJSON, } from './ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.js';
15
+ /**
16
+ * Check if a given object implements the ApiV1BillingUsersUserIdPaymentMethodsGet200Response interface.
17
+ */
18
+ export function instanceOfApiV1BillingUsersUserIdPaymentMethodsGet200Response(value) {
19
+ return true;
20
+ }
21
+ export function ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseFromJSON(json) {
22
+ return ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseFromJSONTyped(json, false);
23
+ }
24
+ export function ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return {
29
+ 'success': json['success'] == null ? undefined : json['success'],
30
+ 'data': json['data'] == null ? undefined : ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataFromJSON(json['data']),
31
+ };
32
+ }
33
+ export function ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseToJSON(json) {
34
+ return ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseToJSONTyped(json, false);
35
+ }
36
+ export function ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'success': value['success'],
42
+ 'data': ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataToJSON(value['data']),
43
+ };
44
+ }
@@ -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 { ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner } from './ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData
17
+ */
18
+ export interface ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData {
19
+ /**
20
+ *
21
+ * @type {Array<ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner>}
22
+ * @memberof ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData
23
+ */
24
+ paymentMethods?: Array<ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData interface.
28
+ */
29
+ export declare function instanceOfApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData(value: object): value is ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData;
30
+ export declare function ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataFromJSON(json: any): ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData;
31
+ export declare function ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData;
32
+ export declare function ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataToJSON(json: any): ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData;
33
+ export declare function ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataToJSONTyped(value?: ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,42 @@
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 { ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerFromJSON, ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerToJSON, } from './ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.js';
15
+ /**
16
+ * Check if a given object implements the ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData interface.
17
+ */
18
+ export function instanceOfApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData(value) {
19
+ return true;
20
+ }
21
+ export function ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataFromJSON(json) {
22
+ return ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataFromJSONTyped(json, false);
23
+ }
24
+ export function ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return {
29
+ 'paymentMethods': json['paymentMethods'] == null ? undefined : (json['paymentMethods'].map(ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerFromJSON)),
30
+ };
31
+ }
32
+ export function ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataToJSON(json) {
33
+ return ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataToJSONTyped(json, false);
34
+ }
35
+ export function ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
36
+ if (value == null) {
37
+ return value;
38
+ }
39
+ return {
40
+ 'paymentMethods': value['paymentMethods'] == null ? undefined : (value['paymentMethods'].map(ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerToJSON)),
41
+ };
42
+ }
@@ -0,0 +1,62 @@
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 ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner
16
+ */
17
+ export interface ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner
22
+ */
23
+ id?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner
28
+ */
29
+ brand?: string | null;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner
34
+ */
35
+ last4?: string | null;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner
40
+ */
41
+ exp_month?: number | null;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner
46
+ */
47
+ exp_year?: number | null;
48
+ /**
49
+ *
50
+ * @type {boolean}
51
+ * @memberof ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner
52
+ */
53
+ is_default?: boolean;
54
+ }
55
+ /**
56
+ * Check if a given object implements the ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner interface.
57
+ */
58
+ export declare function instanceOfApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner(value: object): value is ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner;
59
+ export declare function ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerFromJSON(json: any): ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner;
60
+ export declare function ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner;
61
+ export declare function ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerToJSON(json: any): ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner;
62
+ export declare function ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerToJSONTyped(value?: ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,51 @@
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 ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner interface.
16
+ */
17
+ export function instanceOfApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner(value) {
18
+ return true;
19
+ }
20
+ export function ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerFromJSON(json) {
21
+ return ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerFromJSONTyped(json, false);
22
+ }
23
+ export function ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerFromJSONTyped(json, ignoreDiscriminator) {
24
+ if (json == null) {
25
+ return json;
26
+ }
27
+ return {
28
+ 'id': json['id'] == null ? undefined : json['id'],
29
+ 'brand': json['brand'] == null ? undefined : json['brand'],
30
+ 'last4': json['last4'] == null ? undefined : json['last4'],
31
+ 'exp_month': json['exp_month'] == null ? undefined : json['exp_month'],
32
+ 'exp_year': json['exp_year'] == null ? undefined : json['exp_year'],
33
+ 'is_default': json['is_default'] == null ? undefined : json['is_default'],
34
+ };
35
+ }
36
+ export function ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerToJSON(json) {
37
+ return ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerToJSONTyped(json, false);
38
+ }
39
+ export function ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerToJSONTyped(value, ignoreDiscriminator = false) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'id': value['id'],
45
+ 'brand': value['brand'],
46
+ 'last4': value['last4'],
47
+ 'exp_month': value['exp_month'],
48
+ 'exp_year': value['exp_year'],
49
+ 'is_default': value['is_default'],
50
+ };
51
+ }
@@ -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 { ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData } from './ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ApiV1BillingUsersUserIdPaymentMethodsPost200Response
17
+ */
18
+ export interface ApiV1BillingUsersUserIdPaymentMethodsPost200Response {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof ApiV1BillingUsersUserIdPaymentMethodsPost200Response
23
+ */
24
+ success?: boolean;
25
+ /**
26
+ *
27
+ * @type {ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData}
28
+ * @memberof ApiV1BillingUsersUserIdPaymentMethodsPost200Response
29
+ */
30
+ data?: ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData;
31
+ }
32
+ /**
33
+ * Check if a given object implements the ApiV1BillingUsersUserIdPaymentMethodsPost200Response interface.
34
+ */
35
+ export declare function instanceOfApiV1BillingUsersUserIdPaymentMethodsPost200Response(value: object): value is ApiV1BillingUsersUserIdPaymentMethodsPost200Response;
36
+ export declare function ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseFromJSON(json: any): ApiV1BillingUsersUserIdPaymentMethodsPost200Response;
37
+ export declare function ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1BillingUsersUserIdPaymentMethodsPost200Response;
38
+ export declare function ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseToJSON(json: any): ApiV1BillingUsersUserIdPaymentMethodsPost200Response;
39
+ export declare function ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseToJSONTyped(value?: ApiV1BillingUsersUserIdPaymentMethodsPost200Response | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,44 @@
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 { ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseDataFromJSON, ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseDataToJSON, } from './ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.js';
15
+ /**
16
+ * Check if a given object implements the ApiV1BillingUsersUserIdPaymentMethodsPost200Response interface.
17
+ */
18
+ export function instanceOfApiV1BillingUsersUserIdPaymentMethodsPost200Response(value) {
19
+ return true;
20
+ }
21
+ export function ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseFromJSON(json) {
22
+ return ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseFromJSONTyped(json, false);
23
+ }
24
+ export function ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseFromJSONTyped(json, ignoreDiscriminator) {
25
+ if (json == null) {
26
+ return json;
27
+ }
28
+ return {
29
+ 'success': json['success'] == null ? undefined : json['success'],
30
+ 'data': json['data'] == null ? undefined : ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseDataFromJSON(json['data']),
31
+ };
32
+ }
33
+ export function ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseToJSON(json) {
34
+ return ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseToJSONTyped(json, false);
35
+ }
36
+ export function ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'success': value['success'],
42
+ 'data': ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseDataToJSON(value['data']),
43
+ };
44
+ }
@@ -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 { ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner } from './ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData
17
+ */
18
+ export interface ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData {
19
+ /**
20
+ *
21
+ * @type {ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner}
22
+ * @memberof ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData
23
+ */
24
+ paymentMethod?: ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner;
25
+ }
26
+ /**
27
+ * Check if a given object implements the ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData interface.
28
+ */
29
+ export declare function instanceOfApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData(value: object): value is ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData;
30
+ export declare function ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseDataFromJSON(json: any): ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData;
31
+ export declare function ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData;
32
+ export declare function ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseDataToJSON(json: any): ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData;
33
+ export declare function ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseDataToJSONTyped(value?: ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData | null, ignoreDiscriminator?: boolean): any;