@widgetic/api-sdk 1.0.15 → 1.0.17

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 (226) hide show
  1. package/dist/apis/ABTestingApi.js +90 -30
  2. package/dist/apis/AdminApi.js +12 -4
  3. package/dist/apis/AuthenticationApi.d.ts +3 -3
  4. package/dist/apis/AuthenticationApi.js +31 -11
  5. package/dist/apis/BatchApi.js +6 -2
  6. package/dist/apis/BillingApi.d.ts +13 -13
  7. package/dist/apis/BillingApi.js +8 -8
  8. package/dist/apis/CanvasesApi.js +30 -10
  9. package/dist/apis/ComponentsApi.d.ts +3 -3
  10. package/dist/apis/ComponentsApi.js +43 -15
  11. package/dist/apis/CompositionsApi.js +132 -44
  12. package/dist/apis/ContentsApi.js +36 -12
  13. package/dist/apis/ConversationsApi.js +30 -10
  14. package/dist/apis/CreditsApi.js +30 -10
  15. package/dist/apis/DemoContentsApi.js +30 -10
  16. package/dist/apis/EntitlementsApi.js +30 -10
  17. package/dist/apis/FoldersApi.js +30 -10
  18. package/dist/apis/HealthApi.js +12 -4
  19. package/dist/apis/IntegrationsApi.js +42 -14
  20. package/dist/apis/InvitationsApi.js +12 -4
  21. package/dist/apis/InvoicesApi.js +36 -12
  22. package/dist/apis/ManagedUsersApi.js +36 -12
  23. package/dist/apis/MessagesApi.js +36 -12
  24. package/dist/apis/OrganizationActivitiesApi.d.ts +93 -0
  25. package/dist/apis/OrganizationActivitiesApi.js +221 -0
  26. package/dist/apis/OrganizationsApi.d.ts +31 -106
  27. package/dist/apis/OrganizationsApi.js +324 -292
  28. package/dist/apis/PartnerCustomizationsApi.js +30 -10
  29. package/dist/apis/PartnersApi.js +30 -10
  30. package/dist/apis/PromptsApi.js +30 -10
  31. package/dist/apis/SubscriptionPlansApi.js +12 -4
  32. package/dist/apis/SubscriptionsApi.js +48 -16
  33. package/dist/apis/TranslationsApi.d.ts +5 -5
  34. package/dist/apis/TranslationsApi.js +2 -2
  35. package/dist/apis/UIComponentsApi.js +24 -8
  36. package/dist/apis/UsageApi.js +42 -14
  37. package/dist/apis/UsersApi.d.ts +3 -3
  38. package/dist/apis/UsersApi.js +1 -1
  39. package/dist/apis/WorkspacesApi.js +78 -26
  40. package/dist/apis/index.d.ts +1 -0
  41. package/dist/apis/index.js +1 -0
  42. package/dist/esm/apis/ABTestingApi.js +90 -30
  43. package/dist/esm/apis/AdminApi.js +12 -4
  44. package/dist/esm/apis/AuthenticationApi.d.ts +3 -3
  45. package/dist/esm/apis/AuthenticationApi.js +32 -12
  46. package/dist/esm/apis/BatchApi.js +6 -2
  47. package/dist/esm/apis/BillingApi.d.ts +13 -13
  48. package/dist/esm/apis/BillingApi.js +9 -9
  49. package/dist/esm/apis/CanvasesApi.js +30 -10
  50. package/dist/esm/apis/ComponentsApi.d.ts +3 -3
  51. package/dist/esm/apis/ComponentsApi.js +44 -16
  52. package/dist/esm/apis/CompositionsApi.js +132 -44
  53. package/dist/esm/apis/ContentsApi.js +36 -12
  54. package/dist/esm/apis/ConversationsApi.js +30 -10
  55. package/dist/esm/apis/CreditsApi.js +30 -10
  56. package/dist/esm/apis/DemoContentsApi.js +30 -10
  57. package/dist/esm/apis/EntitlementsApi.js +30 -10
  58. package/dist/esm/apis/FoldersApi.js +30 -10
  59. package/dist/esm/apis/HealthApi.js +12 -4
  60. package/dist/esm/apis/IntegrationsApi.js +42 -14
  61. package/dist/esm/apis/InvitationsApi.js +12 -4
  62. package/dist/esm/apis/InvoicesApi.js +36 -12
  63. package/dist/esm/apis/ManagedUsersApi.js +36 -12
  64. package/dist/esm/apis/MessagesApi.js +36 -12
  65. package/dist/esm/apis/OrganizationActivitiesApi.d.ts +93 -0
  66. package/dist/esm/apis/OrganizationActivitiesApi.js +217 -0
  67. package/dist/esm/apis/OrganizationsApi.d.ts +31 -106
  68. package/dist/esm/apis/OrganizationsApi.js +324 -292
  69. package/dist/esm/apis/PartnerCustomizationsApi.js +30 -10
  70. package/dist/esm/apis/PartnersApi.js +30 -10
  71. package/dist/esm/apis/PromptsApi.js +30 -10
  72. package/dist/esm/apis/SubscriptionPlansApi.js +12 -4
  73. package/dist/esm/apis/SubscriptionsApi.js +48 -16
  74. package/dist/esm/apis/TranslationsApi.d.ts +5 -5
  75. package/dist/esm/apis/TranslationsApi.js +3 -3
  76. package/dist/esm/apis/UIComponentsApi.js +24 -8
  77. package/dist/esm/apis/UsageApi.js +42 -14
  78. package/dist/esm/apis/UsersApi.d.ts +3 -3
  79. package/dist/esm/apis/UsersApi.js +2 -2
  80. package/dist/esm/apis/WorkspacesApi.js +78 -26
  81. package/dist/esm/apis/index.d.ts +1 -0
  82. package/dist/esm/apis/index.js +1 -0
  83. package/dist/esm/models/AgentModelsGet200ResponseModelsInner.d.ts +6 -0
  84. package/dist/esm/models/AgentModelsGet200ResponseModelsInner.js +2 -0
  85. package/dist/esm/models/Canvas.d.ts +6 -0
  86. package/dist/esm/models/Canvas.js +2 -0
  87. package/dist/esm/models/CreateCanvasRequest.d.ts +6 -0
  88. package/dist/esm/models/CreateCanvasRequest.js +2 -0
  89. package/dist/esm/models/ErrorResponse.d.ts +12 -12
  90. package/dist/esm/models/ErrorResponse.js +4 -4
  91. package/dist/esm/models/GetCompositionsBatch200Response.d.ts +3 -3
  92. package/dist/esm/models/GetCompositionsBatch200Response.js +3 -3
  93. package/dist/esm/models/GetWidgetsBatch200Response.d.ts +3 -3
  94. package/dist/esm/models/GetWidgetsBatch200Response.js +3 -3
  95. package/dist/esm/models/GetWidgetsBatch200ResponseErrorsInner.d.ts +38 -0
  96. package/dist/esm/models/{GetCompositionsBatch200ResponseErrorsInner.js → GetWidgetsBatch200ResponseErrorsInner.js} +8 -8
  97. package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsGet200Response.d.ts +39 -0
  98. package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsGet200Response.js +44 -0
  99. package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsGet200ResponseData.d.ts +33 -0
  100. package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsGet200ResponseData.js +42 -0
  101. package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +62 -0
  102. package/dist/esm/models/{ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.js → OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner.js} +8 -8
  103. package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsPost200Response.d.ts +39 -0
  104. package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsPost200Response.js +44 -0
  105. package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsPost200ResponseData.d.ts +33 -0
  106. package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsPost200ResponseData.js +42 -0
  107. package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsPostRequest.d.ts +32 -0
  108. package/dist/esm/models/{ApiV1BillingUsersUserIdPaymentMethodsPostRequest.js → OrganizationsOrgIdBillingPaymentMethodsPostRequest.js} +8 -8
  109. package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200Response.d.ts +39 -0
  110. package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200Response.js +44 -0
  111. package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData.d.ts +50 -0
  112. package/dist/esm/models/{ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.js → OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData.js} +8 -8
  113. package/dist/esm/models/OrganizationsOrgIdBillingPortalPost200Response.d.ts +39 -0
  114. package/dist/esm/models/OrganizationsOrgIdBillingPortalPost200Response.js +44 -0
  115. package/dist/esm/models/OrganizationsOrgIdBillingPortalPost200ResponseData.d.ts +32 -0
  116. package/dist/esm/models/OrganizationsOrgIdBillingPortalPost200ResponseData.js +41 -0
  117. package/dist/esm/models/OrganizationsOrgIdBillingPortalPostRequest.d.ts +32 -0
  118. package/dist/esm/models/OrganizationsOrgIdBillingPortalPostRequest.js +41 -0
  119. package/dist/esm/models/OrganizationsOrgIdBillingYearlyPricingComparisonGet200Response.d.ts +38 -0
  120. package/dist/esm/models/OrganizationsOrgIdBillingYearlyPricingComparisonGet200Response.js +43 -0
  121. package/dist/esm/models/UpdateCanvasRequest.d.ts +6 -0
  122. package/dist/esm/models/UpdateCanvasRequest.js +2 -0
  123. package/dist/esm/models/UpdateWidgetRequest.d.ts +12 -0
  124. package/dist/esm/models/UpdateWidgetRequest.js +5 -0
  125. package/dist/esm/models/UsersSendFeedbackPost200Response.d.ts +38 -0
  126. package/dist/esm/models/{RollbackComponent200Response.js → UsersSendFeedbackPost200Response.js} +8 -8
  127. package/dist/esm/models/index.d.ts +24 -24
  128. package/dist/esm/models/index.js +24 -24
  129. package/dist/models/AgentModelsGet200ResponseModelsInner.d.ts +6 -0
  130. package/dist/models/AgentModelsGet200ResponseModelsInner.js +2 -0
  131. package/dist/models/Canvas.d.ts +6 -0
  132. package/dist/models/Canvas.js +2 -0
  133. package/dist/models/CreateCanvasRequest.d.ts +6 -0
  134. package/dist/models/CreateCanvasRequest.js +2 -0
  135. package/dist/models/ErrorResponse.d.ts +12 -12
  136. package/dist/models/ErrorResponse.js +4 -4
  137. package/dist/models/GetCompositionsBatch200Response.d.ts +3 -3
  138. package/dist/models/GetCompositionsBatch200Response.js +3 -3
  139. package/dist/models/GetWidgetsBatch200Response.d.ts +3 -3
  140. package/dist/models/GetWidgetsBatch200Response.js +3 -3
  141. package/dist/models/GetWidgetsBatch200ResponseErrorsInner.d.ts +38 -0
  142. package/dist/models/GetWidgetsBatch200ResponseErrorsInner.js +50 -0
  143. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsGet200Response.d.ts +39 -0
  144. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsGet200Response.js +51 -0
  145. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsGet200ResponseData.d.ts +33 -0
  146. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsGet200ResponseData.js +49 -0
  147. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +62 -0
  148. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner.js +58 -0
  149. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsPost200Response.d.ts +39 -0
  150. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsPost200Response.js +51 -0
  151. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsPost200ResponseData.d.ts +33 -0
  152. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsPost200ResponseData.js +49 -0
  153. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsPostRequest.d.ts +32 -0
  154. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsPostRequest.js +50 -0
  155. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200Response.d.ts +39 -0
  156. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200Response.js +51 -0
  157. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData.d.ts +50 -0
  158. package/dist/models/OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData.js +54 -0
  159. package/dist/models/OrganizationsOrgIdBillingPortalPost200Response.d.ts +39 -0
  160. package/dist/models/OrganizationsOrgIdBillingPortalPost200Response.js +51 -0
  161. package/dist/models/OrganizationsOrgIdBillingPortalPost200ResponseData.d.ts +32 -0
  162. package/dist/models/OrganizationsOrgIdBillingPortalPost200ResponseData.js +48 -0
  163. package/dist/models/OrganizationsOrgIdBillingPortalPostRequest.d.ts +32 -0
  164. package/dist/models/OrganizationsOrgIdBillingPortalPostRequest.js +48 -0
  165. package/dist/models/OrganizationsOrgIdBillingYearlyPricingComparisonGet200Response.d.ts +38 -0
  166. package/dist/models/OrganizationsOrgIdBillingYearlyPricingComparisonGet200Response.js +50 -0
  167. package/dist/models/UpdateCanvasRequest.d.ts +6 -0
  168. package/dist/models/UpdateCanvasRequest.js +2 -0
  169. package/dist/models/UpdateWidgetRequest.d.ts +12 -0
  170. package/dist/models/UpdateWidgetRequest.js +5 -0
  171. package/dist/models/UsersSendFeedbackPost200Response.d.ts +38 -0
  172. package/dist/models/UsersSendFeedbackPost200Response.js +50 -0
  173. package/dist/models/index.d.ts +24 -24
  174. package/dist/models/index.js +24 -24
  175. package/package.json +1 -1
  176. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.d.ts +0 -39
  177. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.js +0 -44
  178. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.d.ts +0 -33
  179. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.js +0 -42
  180. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +0 -62
  181. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.d.ts +0 -39
  182. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.js +0 -44
  183. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.d.ts +0 -33
  184. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.js +0 -42
  185. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.d.ts +0 -32
  186. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.d.ts +0 -39
  187. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.js +0 -44
  188. package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.d.ts +0 -50
  189. package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200Response.d.ts +0 -39
  190. package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200Response.js +0 -44
  191. package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.d.ts +0 -32
  192. package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.js +0 -41
  193. package/dist/esm/models/ApiV1BillingUsersUserIdPortalPostRequest.d.ts +0 -32
  194. package/dist/esm/models/ApiV1BillingUsersUserIdPortalPostRequest.js +0 -41
  195. package/dist/esm/models/GetCompositionsBatch200ResponseErrorsInner.d.ts +0 -38
  196. package/dist/esm/models/LoginUser200Response.d.ts +0 -38
  197. package/dist/esm/models/LoginUser200Response.js +0 -43
  198. package/dist/esm/models/RollbackComponent200Response.d.ts +0 -38
  199. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.d.ts +0 -39
  200. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.js +0 -51
  201. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.d.ts +0 -33
  202. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.js +0 -49
  203. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +0 -62
  204. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.js +0 -58
  205. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.d.ts +0 -39
  206. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.js +0 -51
  207. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.d.ts +0 -33
  208. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.js +0 -49
  209. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.d.ts +0 -32
  210. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.js +0 -50
  211. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.d.ts +0 -39
  212. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.js +0 -51
  213. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.d.ts +0 -50
  214. package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.js +0 -54
  215. package/dist/models/ApiV1BillingUsersUserIdPortalPost200Response.d.ts +0 -39
  216. package/dist/models/ApiV1BillingUsersUserIdPortalPost200Response.js +0 -51
  217. package/dist/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.d.ts +0 -32
  218. package/dist/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.js +0 -48
  219. package/dist/models/ApiV1BillingUsersUserIdPortalPostRequest.d.ts +0 -32
  220. package/dist/models/ApiV1BillingUsersUserIdPortalPostRequest.js +0 -48
  221. package/dist/models/GetCompositionsBatch200ResponseErrorsInner.d.ts +0 -38
  222. package/dist/models/GetCompositionsBatch200ResponseErrorsInner.js +0 -50
  223. package/dist/models/LoginUser200Response.d.ts +0 -38
  224. package/dist/models/LoginUser200Response.js +0 -50
  225. package/dist/models/RollbackComponent200Response.d.ts +0 -38
  226. package/dist/models/RollbackComponent200Response.js +0 -50
@@ -1,62 +0,0 @@
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;
@@ -1,58 +0,0 @@
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.instanceOfApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner = instanceOfApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner;
17
- exports.ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerFromJSON = ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerFromJSON;
18
- exports.ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerFromJSONTyped = ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerFromJSONTyped;
19
- exports.ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerToJSON = ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerToJSON;
20
- exports.ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerToJSONTyped = ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerToJSONTyped;
21
- /**
22
- * Check if a given object implements the ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner interface.
23
- */
24
- function instanceOfApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner(value) {
25
- return true;
26
- }
27
- function ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerFromJSON(json) {
28
- return ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerFromJSONTyped(json, false);
29
- }
30
- function ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerFromJSONTyped(json, ignoreDiscriminator) {
31
- if (json == null) {
32
- return json;
33
- }
34
- return {
35
- 'id': json['id'] == null ? undefined : json['id'],
36
- 'brand': json['brand'] == null ? undefined : json['brand'],
37
- 'last4': json['last4'] == null ? undefined : json['last4'],
38
- 'exp_month': json['exp_month'] == null ? undefined : json['exp_month'],
39
- 'exp_year': json['exp_year'] == null ? undefined : json['exp_year'],
40
- 'is_default': json['is_default'] == null ? undefined : json['is_default'],
41
- };
42
- }
43
- function ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerToJSON(json) {
44
- return ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerToJSONTyped(json, false);
45
- }
46
- function ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerToJSONTyped(value, ignoreDiscriminator = false) {
47
- if (value == null) {
48
- return value;
49
- }
50
- return {
51
- 'id': value['id'],
52
- 'brand': value['brand'],
53
- 'last4': value['last4'],
54
- 'exp_month': value['exp_month'],
55
- 'exp_year': value['exp_year'],
56
- 'is_default': value['is_default'],
57
- };
58
- }
@@ -1,39 +0,0 @@
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;
@@ -1,51 +0,0 @@
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.instanceOfApiV1BillingUsersUserIdPaymentMethodsPost200Response = instanceOfApiV1BillingUsersUserIdPaymentMethodsPost200Response;
17
- exports.ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseFromJSON = ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseFromJSON;
18
- exports.ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseFromJSONTyped = ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseFromJSONTyped;
19
- exports.ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseToJSON = ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseToJSON;
20
- exports.ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseToJSONTyped = ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseToJSONTyped;
21
- const ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData_1 = require("./ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData");
22
- /**
23
- * Check if a given object implements the ApiV1BillingUsersUserIdPaymentMethodsPost200Response interface.
24
- */
25
- function instanceOfApiV1BillingUsersUserIdPaymentMethodsPost200Response(value) {
26
- return true;
27
- }
28
- function ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseFromJSON(json) {
29
- return ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseFromJSONTyped(json, false);
30
- }
31
- function ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseFromJSONTyped(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, ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData_1.ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseDataFromJSON)(json['data']),
38
- };
39
- }
40
- function ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseToJSON(json) {
41
- return ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseToJSONTyped(json, false);
42
- }
43
- function ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
44
- if (value == null) {
45
- return value;
46
- }
47
- return {
48
- 'success': value['success'],
49
- 'data': (0, ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData_1.ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseDataToJSON)(value['data']),
50
- };
51
- }
@@ -1,33 +0,0 @@
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;
@@ -1,49 +0,0 @@
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.instanceOfApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData = instanceOfApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData;
17
- exports.ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseDataFromJSON = ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseDataFromJSON;
18
- exports.ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseDataFromJSONTyped = ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseDataFromJSONTyped;
19
- exports.ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseDataToJSON = ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseDataToJSON;
20
- exports.ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseDataToJSONTyped = ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseDataToJSONTyped;
21
- const ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner_1 = require("./ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner");
22
- /**
23
- * Check if a given object implements the ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData interface.
24
- */
25
- function instanceOfApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData(value) {
26
- return true;
27
- }
28
- function ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseDataFromJSON(json) {
29
- return ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseDataFromJSONTyped(json, false);
30
- }
31
- function ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'paymentMethod': json['paymentMethod'] == null ? undefined : (0, ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner_1.ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerFromJSON)(json['paymentMethod']),
37
- };
38
- }
39
- function ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseDataToJSON(json) {
40
- return ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseDataToJSONTyped(json, false);
41
- }
42
- function ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
43
- if (value == null) {
44
- return value;
45
- }
46
- return {
47
- 'paymentMethod': (0, ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner_1.ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInnerToJSON)(value['paymentMethod']),
48
- };
49
- }
@@ -1,32 +0,0 @@
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 ApiV1BillingUsersUserIdPaymentMethodsPostRequest
16
- */
17
- export interface ApiV1BillingUsersUserIdPaymentMethodsPostRequest {
18
- /**
19
- * Stripe payment method ID (pm_...)
20
- * @type {string}
21
- * @memberof ApiV1BillingUsersUserIdPaymentMethodsPostRequest
22
- */
23
- paymentMethodId: string;
24
- }
25
- /**
26
- * Check if a given object implements the ApiV1BillingUsersUserIdPaymentMethodsPostRequest interface.
27
- */
28
- export declare function instanceOfApiV1BillingUsersUserIdPaymentMethodsPostRequest(value: object): value is ApiV1BillingUsersUserIdPaymentMethodsPostRequest;
29
- export declare function ApiV1BillingUsersUserIdPaymentMethodsPostRequestFromJSON(json: any): ApiV1BillingUsersUserIdPaymentMethodsPostRequest;
30
- export declare function ApiV1BillingUsersUserIdPaymentMethodsPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1BillingUsersUserIdPaymentMethodsPostRequest;
31
- export declare function ApiV1BillingUsersUserIdPaymentMethodsPostRequestToJSON(json: any): ApiV1BillingUsersUserIdPaymentMethodsPostRequest;
32
- export declare function ApiV1BillingUsersUserIdPaymentMethodsPostRequestToJSONTyped(value?: ApiV1BillingUsersUserIdPaymentMethodsPostRequest | null, ignoreDiscriminator?: boolean): any;
@@ -1,50 +0,0 @@
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.instanceOfApiV1BillingUsersUserIdPaymentMethodsPostRequest = instanceOfApiV1BillingUsersUserIdPaymentMethodsPostRequest;
17
- exports.ApiV1BillingUsersUserIdPaymentMethodsPostRequestFromJSON = ApiV1BillingUsersUserIdPaymentMethodsPostRequestFromJSON;
18
- exports.ApiV1BillingUsersUserIdPaymentMethodsPostRequestFromJSONTyped = ApiV1BillingUsersUserIdPaymentMethodsPostRequestFromJSONTyped;
19
- exports.ApiV1BillingUsersUserIdPaymentMethodsPostRequestToJSON = ApiV1BillingUsersUserIdPaymentMethodsPostRequestToJSON;
20
- exports.ApiV1BillingUsersUserIdPaymentMethodsPostRequestToJSONTyped = ApiV1BillingUsersUserIdPaymentMethodsPostRequestToJSONTyped;
21
- /**
22
- * Check if a given object implements the ApiV1BillingUsersUserIdPaymentMethodsPostRequest interface.
23
- */
24
- function instanceOfApiV1BillingUsersUserIdPaymentMethodsPostRequest(value) {
25
- if (!('paymentMethodId' in value) || value['paymentMethodId'] === undefined)
26
- return false;
27
- return true;
28
- }
29
- function ApiV1BillingUsersUserIdPaymentMethodsPostRequestFromJSON(json) {
30
- return ApiV1BillingUsersUserIdPaymentMethodsPostRequestFromJSONTyped(json, false);
31
- }
32
- function ApiV1BillingUsersUserIdPaymentMethodsPostRequestFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'paymentMethodId': json['paymentMethodId'],
38
- };
39
- }
40
- function ApiV1BillingUsersUserIdPaymentMethodsPostRequestToJSON(json) {
41
- return ApiV1BillingUsersUserIdPaymentMethodsPostRequestToJSONTyped(json, false);
42
- }
43
- function ApiV1BillingUsersUserIdPaymentMethodsPostRequestToJSONTyped(value, ignoreDiscriminator = false) {
44
- if (value == null) {
45
- return value;
46
- }
47
- return {
48
- 'paymentMethodId': value['paymentMethodId'],
49
- };
50
- }
@@ -1,39 +0,0 @@
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 { ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData } from './ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData';
13
- /**
14
- *
15
- * @export
16
- * @interface ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response
17
- */
18
- export interface ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response {
19
- /**
20
- *
21
- * @type {boolean}
22
- * @memberof ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response
23
- */
24
- success?: boolean;
25
- /**
26
- *
27
- * @type {ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData}
28
- * @memberof ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response
29
- */
30
- data?: ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData;
31
- }
32
- /**
33
- * Check if a given object implements the ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response interface.
34
- */
35
- export declare function instanceOfApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response(value: object): value is ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response;
36
- export declare function ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseFromJSON(json: any): ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response;
37
- export declare function ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response;
38
- export declare function ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseToJSON(json: any): ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response;
39
- export declare function ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseToJSONTyped(value?: ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response | null, ignoreDiscriminator?: boolean): any;
@@ -1,51 +0,0 @@
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.instanceOfApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response = instanceOfApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response;
17
- exports.ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseFromJSON = ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseFromJSON;
18
- exports.ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseFromJSONTyped = ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseFromJSONTyped;
19
- exports.ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseToJSON = ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseToJSON;
20
- exports.ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseToJSONTyped = ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseToJSONTyped;
21
- const ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData_1 = require("./ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData");
22
- /**
23
- * Check if a given object implements the ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response interface.
24
- */
25
- function instanceOfApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response(value) {
26
- return true;
27
- }
28
- function ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseFromJSON(json) {
29
- return ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseFromJSONTyped(json, false);
30
- }
31
- function ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseFromJSONTyped(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, ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData_1.ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseDataFromJSON)(json['data']),
38
- };
39
- }
40
- function ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseToJSON(json) {
41
- return ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseToJSONTyped(json, false);
42
- }
43
- function ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
44
- if (value == null) {
45
- return value;
46
- }
47
- return {
48
- 'success': value['success'],
49
- 'data': (0, ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData_1.ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseDataToJSON)(value['data']),
50
- };
51
- }
@@ -1,50 +0,0 @@
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 ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData
16
- */
17
- export interface ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData
22
- */
23
- clientSecret?: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData
28
- */
29
- setupIntentId?: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData
34
- */
35
- customerId?: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData
40
- */
41
- publishableKey?: string;
42
- }
43
- /**
44
- * Check if a given object implements the ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData interface.
45
- */
46
- export declare function instanceOfApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData(value: object): value is ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData;
47
- export declare function ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseDataFromJSON(json: any): ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData;
48
- export declare function ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData;
49
- export declare function ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseDataToJSON(json: any): ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData;
50
- export declare function ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseDataToJSONTyped(value?: ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData | null, ignoreDiscriminator?: boolean): any;
@@ -1,54 +0,0 @@
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.instanceOfApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData = instanceOfApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData;
17
- exports.ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseDataFromJSON = ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseDataFromJSON;
18
- exports.ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseDataFromJSONTyped = ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseDataFromJSONTyped;
19
- exports.ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseDataToJSON = ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseDataToJSON;
20
- exports.ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseDataToJSONTyped = ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseDataToJSONTyped;
21
- /**
22
- * Check if a given object implements the ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData interface.
23
- */
24
- function instanceOfApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData(value) {
25
- return true;
26
- }
27
- function ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseDataFromJSON(json) {
28
- return ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseDataFromJSONTyped(json, false);
29
- }
30
- function ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
31
- if (json == null) {
32
- return json;
33
- }
34
- return {
35
- 'clientSecret': json['clientSecret'] == null ? undefined : json['clientSecret'],
36
- 'setupIntentId': json['setupIntentId'] == null ? undefined : json['setupIntentId'],
37
- 'customerId': json['customerId'] == null ? undefined : json['customerId'],
38
- 'publishableKey': json['publishableKey'] == null ? undefined : json['publishableKey'],
39
- };
40
- }
41
- function ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseDataToJSON(json) {
42
- return ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseDataToJSONTyped(json, false);
43
- }
44
- function ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
45
- if (value == null) {
46
- return value;
47
- }
48
- return {
49
- 'clientSecret': value['clientSecret'],
50
- 'setupIntentId': value['setupIntentId'],
51
- 'customerId': value['customerId'],
52
- 'publishableKey': value['publishableKey'],
53
- };
54
- }
@@ -1,39 +0,0 @@
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 { ApiV1BillingUsersUserIdPortalPost200ResponseData } from './ApiV1BillingUsersUserIdPortalPost200ResponseData';
13
- /**
14
- *
15
- * @export
16
- * @interface ApiV1BillingUsersUserIdPortalPost200Response
17
- */
18
- export interface ApiV1BillingUsersUserIdPortalPost200Response {
19
- /**
20
- *
21
- * @type {boolean}
22
- * @memberof ApiV1BillingUsersUserIdPortalPost200Response
23
- */
24
- success?: boolean;
25
- /**
26
- *
27
- * @type {ApiV1BillingUsersUserIdPortalPost200ResponseData}
28
- * @memberof ApiV1BillingUsersUserIdPortalPost200Response
29
- */
30
- data?: ApiV1BillingUsersUserIdPortalPost200ResponseData;
31
- }
32
- /**
33
- * Check if a given object implements the ApiV1BillingUsersUserIdPortalPost200Response interface.
34
- */
35
- export declare function instanceOfApiV1BillingUsersUserIdPortalPost200Response(value: object): value is ApiV1BillingUsersUserIdPortalPost200Response;
36
- export declare function ApiV1BillingUsersUserIdPortalPost200ResponseFromJSON(json: any): ApiV1BillingUsersUserIdPortalPost200Response;
37
- export declare function ApiV1BillingUsersUserIdPortalPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1BillingUsersUserIdPortalPost200Response;
38
- export declare function ApiV1BillingUsersUserIdPortalPost200ResponseToJSON(json: any): ApiV1BillingUsersUserIdPortalPost200Response;
39
- export declare function ApiV1BillingUsersUserIdPortalPost200ResponseToJSONTyped(value?: ApiV1BillingUsersUserIdPortalPost200Response | null, ignoreDiscriminator?: boolean): any;