@widgetic/api-sdk 1.0.20 → 1.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/AdminBillingApi.d.ts +92 -1
- package/dist/apis/AdminBillingApi.js +246 -1
- package/dist/apis/AgentApi.d.ts +17 -5
- package/dist/apis/AgentApi.js +42 -4
- package/dist/apis/AuthenticationApi.d.ts +12 -1
- package/dist/apis/AuthenticationApi.js +31 -0
- package/dist/apis/BillingApi.js +13 -13
- package/dist/apis/CompositionsApi.d.ts +5 -5
- package/dist/apis/CompositionsApi.js +3 -3
- package/dist/apis/CreditsApi.d.ts +4 -4
- package/dist/apis/CreditsApi.js +4 -4
- package/dist/apis/MCPApi.d.ts +6 -6
- package/dist/apis/MCPApi.js +15 -6
- package/dist/apis/NoticesApi.d.ts +41 -0
- package/dist/apis/NoticesApi.js +103 -0
- package/dist/apis/OrganizationsApi.d.ts +17 -4
- package/dist/apis/OrganizationsApi.js +41 -4
- package/dist/apis/SubscriptionsApi.d.ts +32 -4
- package/dist/apis/SubscriptionsApi.js +82 -5
- package/dist/apis/WidgetsApi.d.ts +19 -35
- package/dist/apis/WidgetsApi.js +32 -32
- package/dist/apis/WorkflowsApi.d.ts +2 -2
- package/dist/apis/WorkflowsApi.js +2 -2
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/AdminBillingApi.d.ts +92 -1
- package/dist/esm/apis/AdminBillingApi.js +246 -1
- package/dist/esm/apis/AgentApi.d.ts +17 -5
- package/dist/esm/apis/AgentApi.js +43 -5
- package/dist/esm/apis/AuthenticationApi.d.ts +12 -1
- package/dist/esm/apis/AuthenticationApi.js +32 -1
- package/dist/esm/apis/BillingApi.js +13 -13
- package/dist/esm/apis/CompositionsApi.d.ts +5 -5
- package/dist/esm/apis/CompositionsApi.js +4 -4
- package/dist/esm/apis/CreditsApi.d.ts +4 -4
- package/dist/esm/apis/CreditsApi.js +4 -4
- package/dist/esm/apis/MCPApi.d.ts +6 -6
- package/dist/esm/apis/MCPApi.js +15 -6
- package/dist/esm/apis/NoticesApi.d.ts +41 -0
- package/dist/esm/apis/NoticesApi.js +99 -0
- package/dist/esm/apis/OrganizationsApi.d.ts +17 -4
- package/dist/esm/apis/OrganizationsApi.js +41 -4
- package/dist/esm/apis/SubscriptionsApi.d.ts +32 -4
- package/dist/esm/apis/SubscriptionsApi.js +83 -6
- package/dist/esm/apis/WidgetsApi.d.ts +19 -35
- package/dist/esm/apis/WidgetsApi.js +33 -33
- package/dist/esm/apis/WorkflowsApi.d.ts +2 -2
- package/dist/esm/apis/WorkflowsApi.js +2 -2
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.d.ts +18 -0
- package/dist/esm/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.js +6 -0
- package/dist/esm/models/AgentWidgetBuilderPublishWidgetIdPostRequest.d.ts +6 -0
- package/dist/esm/models/AgentWidgetBuilderPublishWidgetIdPostRequest.js +2 -0
- package/dist/esm/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.d.ts +32 -0
- package/dist/esm/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.js +41 -0
- package/dist/esm/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +32 -0
- package/dist/esm/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +43 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200Response.js +44 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.d.ts +57 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.js +50 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.d.ts +68 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.js +53 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPostRequest.d.ts +8 -8
- package/dist/esm/models/ApiV1AdminBillingRefundsPostRequest.js +4 -4
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200Response.d.ts +71 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200Response.js +59 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js +48 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPostRequest.d.ts +70 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPostRequest.js +62 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.js +44 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.d.ts +33 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.js +42 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +62 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.js +51 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.js +44 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.d.ts +33 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.js +42 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.d.ts +32 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.js +43 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.js +44 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.d.ts +50 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.js +47 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200Response.js +44 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.d.ts +32 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.js +41 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPostRequest.d.ts +32 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPostRequest.js +41 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.d.ts +1 -2
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.js +1 -2
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.d.ts +71 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.js +59 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js +48 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.d.ts +38 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js +43 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.d.ts +44 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.js +45 -0
- package/dist/esm/models/ConfigureAutoReloadRequest.d.ts +6 -0
- package/dist/esm/models/ConfigureAutoReloadRequest.js +2 -0
- package/dist/esm/models/CreateMessageRequest.d.ts +13 -0
- package/dist/esm/models/CreateMessageRequest.js +2 -0
- package/dist/esm/models/GenerateCodeRequest.d.ts +42 -0
- package/dist/esm/models/GenerateCodeRequest.js +14 -0
- package/dist/esm/models/GetCompositionsBatch200ResponseErrorsInner.d.ts +38 -0
- package/dist/esm/models/GetCompositionsBatch200ResponseErrorsInner.js +43 -0
- package/dist/esm/models/GetWidgetPublishHistory200ResponseDataInner.d.ts +13 -1
- package/dist/esm/models/GetWidgetPublishHistory200ResponseDataInner.js +4 -0
- package/dist/esm/models/ListAccountNotices200Response.d.ts +39 -0
- package/dist/esm/models/ListAccountNotices200Response.js +44 -0
- package/dist/esm/models/ListAccountNotices200ResponseData.d.ts +33 -0
- package/dist/esm/models/ListAccountNotices200ResponseData.js +42 -0
- package/dist/esm/models/ListAccountNotices200ResponseDataNoticesInner.d.ts +68 -0
- package/dist/esm/models/ListAccountNotices200ResponseDataNoticesInner.js +53 -0
- package/dist/esm/models/LoginUser200Response.d.ts +38 -0
- package/dist/esm/models/LoginUser200Response.js +43 -0
- package/dist/esm/models/MoveSubscriptionSurfaceRequest.d.ts +58 -0
- package/dist/esm/models/MoveSubscriptionSurfaceRequest.js +56 -0
- package/dist/esm/models/OrganizationsOrgIdBillingMembersUpdatePostRequest.d.ts +1 -1
- package/dist/esm/models/OrganizationsOrgIdBillingYearlyMembersAddPostRequest.d.ts +1 -1
- package/dist/esm/models/OrganizationsOrgIdBillingYearlyMembersRemovePostRequest.d.ts +1 -1
- package/dist/esm/models/PreviewWidgetVersion200Response.d.ts +39 -0
- package/dist/esm/models/PreviewWidgetVersion200Response.js +48 -0
- package/dist/esm/models/PreviewWidgetVersion200ResponseData.d.ts +56 -0
- package/dist/esm/models/PreviewWidgetVersion200ResponseData.js +57 -0
- package/dist/esm/models/ProcessRefund200Response.d.ts +6 -0
- package/dist/esm/models/ProcessRefund200Response.js +2 -0
- package/dist/esm/models/RefundRequest.d.ts +10 -4
- package/dist/esm/models/RefundRequest.js +4 -4
- package/dist/esm/models/RollbackComponent200Response.d.ts +38 -0
- package/dist/esm/models/RollbackComponent200Response.js +43 -0
- package/dist/esm/models/SignupUserRequest.d.ts +6 -0
- package/dist/esm/models/SignupUserRequest.js +2 -0
- package/dist/esm/models/UpdateSubscription.d.ts +30 -8
- package/dist/esm/models/UpdateSubscription.js +21 -8
- package/dist/esm/models/UploadWidgetThumbnail200Response.d.ts +39 -0
- package/dist/esm/models/UploadWidgetThumbnail200Response.js +44 -0
- package/dist/esm/models/UploadWidgetThumbnail200ResponseData.d.ts +32 -0
- package/dist/esm/models/UploadWidgetThumbnail200ResponseData.js +41 -0
- package/dist/esm/models/UploadWidgetThumbnailRequest.d.ts +32 -0
- package/dist/esm/models/UploadWidgetThumbnailRequest.js +43 -0
- package/dist/esm/models/ValidateInviteCode200Response.d.ts +39 -0
- package/dist/esm/models/ValidateInviteCode200Response.js +44 -0
- package/dist/esm/models/ValidateInviteCode200ResponseData.d.ts +44 -0
- package/dist/esm/models/ValidateInviteCode200ResponseData.js +45 -0
- package/dist/esm/models/index.d.ts +28 -1
- package/dist/esm/models/index.js +28 -1
- package/dist/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.d.ts +18 -0
- package/dist/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.js +6 -0
- package/dist/models/AgentWidgetBuilderPublishWidgetIdPostRequest.d.ts +6 -0
- package/dist/models/AgentWidgetBuilderPublishWidgetIdPostRequest.js +2 -0
- package/dist/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.d.ts +32 -0
- package/dist/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.js +48 -0
- package/dist/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +32 -0
- package/dist/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +50 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200Response.d.ts +39 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200Response.js +51 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.d.ts +57 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.js +57 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.d.ts +68 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.js +60 -0
- package/dist/models/ApiV1AdminBillingRefundsPostRequest.d.ts +8 -8
- package/dist/models/ApiV1AdminBillingRefundsPostRequest.js +4 -4
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200Response.d.ts +71 -0
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200Response.js +67 -0
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js +55 -0
- package/dist/models/ApiV1AdminBillingRefundsPreviewPostRequest.d.ts +70 -0
- package/dist/models/ApiV1AdminBillingRefundsPreviewPostRequest.js +70 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.d.ts +39 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.js +51 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.d.ts +33 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.js +49 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +62 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.js +58 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.d.ts +39 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.js +51 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.d.ts +33 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.js +49 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.d.ts +32 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.js +50 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.d.ts +39 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.js +51 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.d.ts +50 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.js +54 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200Response.d.ts +39 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200Response.js +51 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.d.ts +32 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.js +48 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPostRequest.d.ts +32 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPostRequest.js +48 -0
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.d.ts +1 -2
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.js +1 -2
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.d.ts +71 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.js +67 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js +55 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.d.ts +38 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js +50 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.d.ts +44 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.js +52 -0
- package/dist/models/ConfigureAutoReloadRequest.d.ts +6 -0
- package/dist/models/ConfigureAutoReloadRequest.js +2 -0
- package/dist/models/CreateMessageRequest.d.ts +13 -0
- package/dist/models/CreateMessageRequest.js +2 -0
- package/dist/models/GenerateCodeRequest.d.ts +42 -0
- package/dist/models/GenerateCodeRequest.js +14 -0
- package/dist/models/GetCompositionsBatch200ResponseErrorsInner.d.ts +38 -0
- package/dist/models/GetCompositionsBatch200ResponseErrorsInner.js +50 -0
- package/dist/models/GetWidgetPublishHistory200ResponseDataInner.d.ts +13 -1
- package/dist/models/GetWidgetPublishHistory200ResponseDataInner.js +4 -0
- package/dist/models/ListAccountNotices200Response.d.ts +39 -0
- package/dist/models/ListAccountNotices200Response.js +51 -0
- package/dist/models/ListAccountNotices200ResponseData.d.ts +33 -0
- package/dist/models/ListAccountNotices200ResponseData.js +49 -0
- package/dist/models/ListAccountNotices200ResponseDataNoticesInner.d.ts +68 -0
- package/dist/models/ListAccountNotices200ResponseDataNoticesInner.js +60 -0
- package/dist/models/LoginUser200Response.d.ts +38 -0
- package/dist/models/LoginUser200Response.js +50 -0
- package/dist/models/MoveSubscriptionSurfaceRequest.d.ts +58 -0
- package/dist/models/MoveSubscriptionSurfaceRequest.js +64 -0
- package/dist/models/OrganizationsOrgIdBillingMembersUpdatePostRequest.d.ts +1 -1
- package/dist/models/OrganizationsOrgIdBillingYearlyMembersAddPostRequest.d.ts +1 -1
- package/dist/models/OrganizationsOrgIdBillingYearlyMembersRemovePostRequest.d.ts +1 -1
- package/dist/models/PreviewWidgetVersion200Response.d.ts +39 -0
- package/dist/models/PreviewWidgetVersion200Response.js +55 -0
- package/dist/models/PreviewWidgetVersion200ResponseData.d.ts +56 -0
- package/dist/models/PreviewWidgetVersion200ResponseData.js +64 -0
- package/dist/models/ProcessRefund200Response.d.ts +6 -0
- package/dist/models/ProcessRefund200Response.js +2 -0
- package/dist/models/RefundRequest.d.ts +10 -4
- package/dist/models/RefundRequest.js +4 -4
- package/dist/models/RollbackComponent200Response.d.ts +38 -0
- package/dist/models/RollbackComponent200Response.js +50 -0
- package/dist/models/SignupUserRequest.d.ts +6 -0
- package/dist/models/SignupUserRequest.js +2 -0
- package/dist/models/UpdateSubscription.d.ts +30 -8
- package/dist/models/UpdateSubscription.js +22 -9
- package/dist/models/UploadWidgetThumbnail200Response.d.ts +39 -0
- package/dist/models/UploadWidgetThumbnail200Response.js +51 -0
- package/dist/models/UploadWidgetThumbnail200ResponseData.d.ts +32 -0
- package/dist/models/UploadWidgetThumbnail200ResponseData.js +48 -0
- package/dist/models/UploadWidgetThumbnailRequest.d.ts +32 -0
- package/dist/models/UploadWidgetThumbnailRequest.js +50 -0
- package/dist/models/ValidateInviteCode200Response.d.ts +39 -0
- package/dist/models/ValidateInviteCode200Response.js +51 -0
- package/dist/models/ValidateInviteCode200ResponseData.d.ts +44 -0
- package/dist/models/ValidateInviteCode200ResponseData.js +52 -0
- package/dist/models/index.d.ts +28 -1
- package/dist/models/index.js +28 -1
- package/package.json +1 -1
|
@@ -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 { 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;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Widgetic API Gateway
|
|
6
|
+
* API documentation for the Widgetic API Gateway
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.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
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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;
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
}
|
|
@@ -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 { 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;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Widgetic API Gateway
|
|
6
|
+
* API documentation for the Widgetic API Gateway
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfApiV1BillingUsersUserIdPortalPost200Response = instanceOfApiV1BillingUsersUserIdPortalPost200Response;
|
|
17
|
+
exports.ApiV1BillingUsersUserIdPortalPost200ResponseFromJSON = ApiV1BillingUsersUserIdPortalPost200ResponseFromJSON;
|
|
18
|
+
exports.ApiV1BillingUsersUserIdPortalPost200ResponseFromJSONTyped = ApiV1BillingUsersUserIdPortalPost200ResponseFromJSONTyped;
|
|
19
|
+
exports.ApiV1BillingUsersUserIdPortalPost200ResponseToJSON = ApiV1BillingUsersUserIdPortalPost200ResponseToJSON;
|
|
20
|
+
exports.ApiV1BillingUsersUserIdPortalPost200ResponseToJSONTyped = ApiV1BillingUsersUserIdPortalPost200ResponseToJSONTyped;
|
|
21
|
+
const ApiV1BillingUsersUserIdPortalPost200ResponseData_1 = require("./ApiV1BillingUsersUserIdPortalPost200ResponseData");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ApiV1BillingUsersUserIdPortalPost200Response interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfApiV1BillingUsersUserIdPortalPost200Response(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function ApiV1BillingUsersUserIdPortalPost200ResponseFromJSON(json) {
|
|
29
|
+
return ApiV1BillingUsersUserIdPortalPost200ResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function ApiV1BillingUsersUserIdPortalPost200ResponseFromJSONTyped(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, ApiV1BillingUsersUserIdPortalPost200ResponseData_1.ApiV1BillingUsersUserIdPortalPost200ResponseDataFromJSON)(json['data']),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ApiV1BillingUsersUserIdPortalPost200ResponseToJSON(json) {
|
|
41
|
+
return ApiV1BillingUsersUserIdPortalPost200ResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ApiV1BillingUsersUserIdPortalPost200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'success': value['success'],
|
|
49
|
+
'data': (0, ApiV1BillingUsersUserIdPortalPost200ResponseData_1.ApiV1BillingUsersUserIdPortalPost200ResponseDataToJSON)(value['data']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 ApiV1BillingUsersUserIdPortalPost200ResponseData
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiV1BillingUsersUserIdPortalPost200ResponseData {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiV1BillingUsersUserIdPortalPost200ResponseData
|
|
22
|
+
*/
|
|
23
|
+
url?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ApiV1BillingUsersUserIdPortalPost200ResponseData interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfApiV1BillingUsersUserIdPortalPost200ResponseData(value: object): value is ApiV1BillingUsersUserIdPortalPost200ResponseData;
|
|
29
|
+
export declare function ApiV1BillingUsersUserIdPortalPost200ResponseDataFromJSON(json: any): ApiV1BillingUsersUserIdPortalPost200ResponseData;
|
|
30
|
+
export declare function ApiV1BillingUsersUserIdPortalPost200ResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1BillingUsersUserIdPortalPost200ResponseData;
|
|
31
|
+
export declare function ApiV1BillingUsersUserIdPortalPost200ResponseDataToJSON(json: any): ApiV1BillingUsersUserIdPortalPost200ResponseData;
|
|
32
|
+
export declare function ApiV1BillingUsersUserIdPortalPost200ResponseDataToJSONTyped(value?: ApiV1BillingUsersUserIdPortalPost200ResponseData | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
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.instanceOfApiV1BillingUsersUserIdPortalPost200ResponseData = instanceOfApiV1BillingUsersUserIdPortalPost200ResponseData;
|
|
17
|
+
exports.ApiV1BillingUsersUserIdPortalPost200ResponseDataFromJSON = ApiV1BillingUsersUserIdPortalPost200ResponseDataFromJSON;
|
|
18
|
+
exports.ApiV1BillingUsersUserIdPortalPost200ResponseDataFromJSONTyped = ApiV1BillingUsersUserIdPortalPost200ResponseDataFromJSONTyped;
|
|
19
|
+
exports.ApiV1BillingUsersUserIdPortalPost200ResponseDataToJSON = ApiV1BillingUsersUserIdPortalPost200ResponseDataToJSON;
|
|
20
|
+
exports.ApiV1BillingUsersUserIdPortalPost200ResponseDataToJSONTyped = ApiV1BillingUsersUserIdPortalPost200ResponseDataToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiV1BillingUsersUserIdPortalPost200ResponseData interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiV1BillingUsersUserIdPortalPost200ResponseData(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ApiV1BillingUsersUserIdPortalPost200ResponseDataFromJSON(json) {
|
|
28
|
+
return ApiV1BillingUsersUserIdPortalPost200ResponseDataFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ApiV1BillingUsersUserIdPortalPost200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'url': json['url'] == null ? undefined : json['url'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function ApiV1BillingUsersUserIdPortalPost200ResponseDataToJSON(json) {
|
|
39
|
+
return ApiV1BillingUsersUserIdPortalPost200ResponseDataToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function ApiV1BillingUsersUserIdPortalPost200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'url': value['url'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 ApiV1BillingUsersUserIdPortalPostRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiV1BillingUsersUserIdPortalPostRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Where Stripe sends the user back after the portal session
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ApiV1BillingUsersUserIdPortalPostRequest
|
|
22
|
+
*/
|
|
23
|
+
returnUrl?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ApiV1BillingUsersUserIdPortalPostRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfApiV1BillingUsersUserIdPortalPostRequest(value: object): value is ApiV1BillingUsersUserIdPortalPostRequest;
|
|
29
|
+
export declare function ApiV1BillingUsersUserIdPortalPostRequestFromJSON(json: any): ApiV1BillingUsersUserIdPortalPostRequest;
|
|
30
|
+
export declare function ApiV1BillingUsersUserIdPortalPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1BillingUsersUserIdPortalPostRequest;
|
|
31
|
+
export declare function ApiV1BillingUsersUserIdPortalPostRequestToJSON(json: any): ApiV1BillingUsersUserIdPortalPostRequest;
|
|
32
|
+
export declare function ApiV1BillingUsersUserIdPortalPostRequestToJSONTyped(value?: ApiV1BillingUsersUserIdPortalPostRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
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.instanceOfApiV1BillingUsersUserIdPortalPostRequest = instanceOfApiV1BillingUsersUserIdPortalPostRequest;
|
|
17
|
+
exports.ApiV1BillingUsersUserIdPortalPostRequestFromJSON = ApiV1BillingUsersUserIdPortalPostRequestFromJSON;
|
|
18
|
+
exports.ApiV1BillingUsersUserIdPortalPostRequestFromJSONTyped = ApiV1BillingUsersUserIdPortalPostRequestFromJSONTyped;
|
|
19
|
+
exports.ApiV1BillingUsersUserIdPortalPostRequestToJSON = ApiV1BillingUsersUserIdPortalPostRequestToJSON;
|
|
20
|
+
exports.ApiV1BillingUsersUserIdPortalPostRequestToJSONTyped = ApiV1BillingUsersUserIdPortalPostRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the ApiV1BillingUsersUserIdPortalPostRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfApiV1BillingUsersUserIdPortalPostRequest(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function ApiV1BillingUsersUserIdPortalPostRequestFromJSON(json) {
|
|
28
|
+
return ApiV1BillingUsersUserIdPortalPostRequestFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function ApiV1BillingUsersUserIdPortalPostRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'returnUrl': json['returnUrl'] == null ? undefined : json['returnUrl'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function ApiV1BillingUsersUserIdPortalPostRequestToJSON(json) {
|
|
39
|
+
return ApiV1BillingUsersUserIdPortalPostRequestToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function ApiV1BillingUsersUserIdPortalPostRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'returnUrl': value['returnUrl'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface ApiV1BillingUsersUserIdSubscriptionPostRequest {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Personal subscriptions are Solo-only. Teams is an organization plan — upgrade through the organization flow, not this endpoint.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof ApiV1BillingUsersUserIdSubscriptionPostRequest
|
|
22
22
|
*/
|
|
@@ -33,7 +33,6 @@ export interface ApiV1BillingUsersUserIdSubscriptionPostRequest {
|
|
|
33
33
|
*/
|
|
34
34
|
export declare const ApiV1BillingUsersUserIdSubscriptionPostRequestPlanTypeEnum: {
|
|
35
35
|
readonly Solo: "solo";
|
|
36
|
-
readonly Teams: "teams";
|
|
37
36
|
};
|
|
38
37
|
export type ApiV1BillingUsersUserIdSubscriptionPostRequestPlanTypeEnum = typeof ApiV1BillingUsersUserIdSubscriptionPostRequestPlanTypeEnum[keyof typeof ApiV1BillingUsersUserIdSubscriptionPostRequestPlanTypeEnum];
|
|
39
38
|
/**
|
|
@@ -0,0 +1,71 @@
|
|
|
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 { ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview } from './ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiV1SubscriptionsIdRefundPreviewPost200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiV1SubscriptionsIdRefundPreviewPost200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ApiV1SubscriptionsIdRefundPreviewPost200Response
|
|
23
|
+
*/
|
|
24
|
+
paymentIntentId?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ApiV1SubscriptionsIdRefundPreviewPost200Response
|
|
29
|
+
*/
|
|
30
|
+
amountUsd?: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ApiV1SubscriptionsIdRefundPreviewPost200Response
|
|
35
|
+
*/
|
|
36
|
+
unitPriceUsd?: number | null;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ApiV1SubscriptionsIdRefundPreviewPost200Response
|
|
41
|
+
*/
|
|
42
|
+
planType?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ApiV1SubscriptionsIdRefundPreviewPost200Response
|
|
47
|
+
*/
|
|
48
|
+
allowanceKind?: ApiV1SubscriptionsIdRefundPreviewPost200ResponseAllowanceKindEnum;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview}
|
|
52
|
+
* @memberof ApiV1SubscriptionsIdRefundPreviewPost200Response
|
|
53
|
+
*/
|
|
54
|
+
organizationPreview?: ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview | null;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* @export
|
|
58
|
+
*/
|
|
59
|
+
export declare const ApiV1SubscriptionsIdRefundPreviewPost200ResponseAllowanceKindEnum: {
|
|
60
|
+
readonly Grant: "grant";
|
|
61
|
+
readonly Organization: "organization";
|
|
62
|
+
};
|
|
63
|
+
export type ApiV1SubscriptionsIdRefundPreviewPost200ResponseAllowanceKindEnum = typeof ApiV1SubscriptionsIdRefundPreviewPost200ResponseAllowanceKindEnum[keyof typeof ApiV1SubscriptionsIdRefundPreviewPost200ResponseAllowanceKindEnum];
|
|
64
|
+
/**
|
|
65
|
+
* Check if a given object implements the ApiV1SubscriptionsIdRefundPreviewPost200Response interface.
|
|
66
|
+
*/
|
|
67
|
+
export declare function instanceOfApiV1SubscriptionsIdRefundPreviewPost200Response(value: object): value is ApiV1SubscriptionsIdRefundPreviewPost200Response;
|
|
68
|
+
export declare function ApiV1SubscriptionsIdRefundPreviewPost200ResponseFromJSON(json: any): ApiV1SubscriptionsIdRefundPreviewPost200Response;
|
|
69
|
+
export declare function ApiV1SubscriptionsIdRefundPreviewPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiV1SubscriptionsIdRefundPreviewPost200Response;
|
|
70
|
+
export declare function ApiV1SubscriptionsIdRefundPreviewPost200ResponseToJSON(json: any): ApiV1SubscriptionsIdRefundPreviewPost200Response;
|
|
71
|
+
export declare function ApiV1SubscriptionsIdRefundPreviewPost200ResponseToJSONTyped(value?: ApiV1SubscriptionsIdRefundPreviewPost200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
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.ApiV1SubscriptionsIdRefundPreviewPost200ResponseAllowanceKindEnum = void 0;
|
|
17
|
+
exports.instanceOfApiV1SubscriptionsIdRefundPreviewPost200Response = instanceOfApiV1SubscriptionsIdRefundPreviewPost200Response;
|
|
18
|
+
exports.ApiV1SubscriptionsIdRefundPreviewPost200ResponseFromJSON = ApiV1SubscriptionsIdRefundPreviewPost200ResponseFromJSON;
|
|
19
|
+
exports.ApiV1SubscriptionsIdRefundPreviewPost200ResponseFromJSONTyped = ApiV1SubscriptionsIdRefundPreviewPost200ResponseFromJSONTyped;
|
|
20
|
+
exports.ApiV1SubscriptionsIdRefundPreviewPost200ResponseToJSON = ApiV1SubscriptionsIdRefundPreviewPost200ResponseToJSON;
|
|
21
|
+
exports.ApiV1SubscriptionsIdRefundPreviewPost200ResponseToJSONTyped = ApiV1SubscriptionsIdRefundPreviewPost200ResponseToJSONTyped;
|
|
22
|
+
const ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview_1 = require("./ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.ApiV1SubscriptionsIdRefundPreviewPost200ResponseAllowanceKindEnum = {
|
|
27
|
+
Grant: 'grant',
|
|
28
|
+
Organization: 'organization'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ApiV1SubscriptionsIdRefundPreviewPost200Response interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfApiV1SubscriptionsIdRefundPreviewPost200Response(value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
function ApiV1SubscriptionsIdRefundPreviewPost200ResponseFromJSON(json) {
|
|
37
|
+
return ApiV1SubscriptionsIdRefundPreviewPost200ResponseFromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
function ApiV1SubscriptionsIdRefundPreviewPost200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'paymentIntentId': json['paymentIntentId'] == null ? undefined : json['paymentIntentId'],
|
|
45
|
+
'amountUsd': json['amountUsd'] == null ? undefined : json['amountUsd'],
|
|
46
|
+
'unitPriceUsd': json['unitPriceUsd'] == null ? undefined : json['unitPriceUsd'],
|
|
47
|
+
'planType': json['planType'] == null ? undefined : json['planType'],
|
|
48
|
+
'allowanceKind': json['allowanceKind'] == null ? undefined : json['allowanceKind'],
|
|
49
|
+
'organizationPreview': json['organizationPreview'] == null ? undefined : (0, ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview_1.ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewFromJSON)(json['organizationPreview']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
function ApiV1SubscriptionsIdRefundPreviewPost200ResponseToJSON(json) {
|
|
53
|
+
return ApiV1SubscriptionsIdRefundPreviewPost200ResponseToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
function ApiV1SubscriptionsIdRefundPreviewPost200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'paymentIntentId': value['paymentIntentId'],
|
|
61
|
+
'amountUsd': value['amountUsd'],
|
|
62
|
+
'unitPriceUsd': value['unitPriceUsd'],
|
|
63
|
+
'planType': value['planType'],
|
|
64
|
+
'allowanceKind': value['allowanceKind'],
|
|
65
|
+
'organizationPreview': (0, ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview_1.ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewToJSON)(value['organizationPreview']),
|
|
66
|
+
};
|
|
67
|
+
}
|