@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.
- package/dist/apis/ABTestingApi.js +90 -30
- package/dist/apis/AdminApi.js +12 -4
- package/dist/apis/AuthenticationApi.d.ts +3 -3
- package/dist/apis/AuthenticationApi.js +31 -11
- package/dist/apis/BatchApi.js +6 -2
- package/dist/apis/BillingApi.d.ts +13 -13
- package/dist/apis/BillingApi.js +8 -8
- package/dist/apis/CanvasesApi.js +30 -10
- package/dist/apis/ComponentsApi.d.ts +3 -3
- package/dist/apis/ComponentsApi.js +43 -15
- package/dist/apis/CompositionsApi.js +132 -44
- package/dist/apis/ContentsApi.js +36 -12
- package/dist/apis/ConversationsApi.js +30 -10
- package/dist/apis/CreditsApi.js +30 -10
- package/dist/apis/DemoContentsApi.js +30 -10
- package/dist/apis/EntitlementsApi.js +30 -10
- package/dist/apis/FoldersApi.js +30 -10
- package/dist/apis/HealthApi.js +12 -4
- package/dist/apis/IntegrationsApi.js +42 -14
- package/dist/apis/InvitationsApi.js +12 -4
- package/dist/apis/InvoicesApi.js +36 -12
- package/dist/apis/ManagedUsersApi.js +36 -12
- package/dist/apis/MessagesApi.js +36 -12
- package/dist/apis/OrganizationActivitiesApi.d.ts +93 -0
- package/dist/apis/OrganizationActivitiesApi.js +221 -0
- package/dist/apis/OrganizationsApi.d.ts +31 -106
- package/dist/apis/OrganizationsApi.js +324 -292
- package/dist/apis/PartnerCustomizationsApi.js +30 -10
- package/dist/apis/PartnersApi.js +30 -10
- package/dist/apis/PromptsApi.js +30 -10
- package/dist/apis/SubscriptionPlansApi.js +12 -4
- package/dist/apis/SubscriptionsApi.js +48 -16
- package/dist/apis/TranslationsApi.d.ts +5 -5
- package/dist/apis/TranslationsApi.js +2 -2
- package/dist/apis/UIComponentsApi.js +24 -8
- package/dist/apis/UsageApi.js +42 -14
- package/dist/apis/UsersApi.d.ts +3 -3
- package/dist/apis/UsersApi.js +1 -1
- package/dist/apis/WorkspacesApi.js +78 -26
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/ABTestingApi.js +90 -30
- package/dist/esm/apis/AdminApi.js +12 -4
- package/dist/esm/apis/AuthenticationApi.d.ts +3 -3
- package/dist/esm/apis/AuthenticationApi.js +32 -12
- package/dist/esm/apis/BatchApi.js +6 -2
- package/dist/esm/apis/BillingApi.d.ts +13 -13
- package/dist/esm/apis/BillingApi.js +9 -9
- package/dist/esm/apis/CanvasesApi.js +30 -10
- package/dist/esm/apis/ComponentsApi.d.ts +3 -3
- package/dist/esm/apis/ComponentsApi.js +44 -16
- package/dist/esm/apis/CompositionsApi.js +132 -44
- package/dist/esm/apis/ContentsApi.js +36 -12
- package/dist/esm/apis/ConversationsApi.js +30 -10
- package/dist/esm/apis/CreditsApi.js +30 -10
- package/dist/esm/apis/DemoContentsApi.js +30 -10
- package/dist/esm/apis/EntitlementsApi.js +30 -10
- package/dist/esm/apis/FoldersApi.js +30 -10
- package/dist/esm/apis/HealthApi.js +12 -4
- package/dist/esm/apis/IntegrationsApi.js +42 -14
- package/dist/esm/apis/InvitationsApi.js +12 -4
- package/dist/esm/apis/InvoicesApi.js +36 -12
- package/dist/esm/apis/ManagedUsersApi.js +36 -12
- package/dist/esm/apis/MessagesApi.js +36 -12
- package/dist/esm/apis/OrganizationActivitiesApi.d.ts +93 -0
- package/dist/esm/apis/OrganizationActivitiesApi.js +217 -0
- package/dist/esm/apis/OrganizationsApi.d.ts +31 -106
- package/dist/esm/apis/OrganizationsApi.js +324 -292
- package/dist/esm/apis/PartnerCustomizationsApi.js +30 -10
- package/dist/esm/apis/PartnersApi.js +30 -10
- package/dist/esm/apis/PromptsApi.js +30 -10
- package/dist/esm/apis/SubscriptionPlansApi.js +12 -4
- package/dist/esm/apis/SubscriptionsApi.js +48 -16
- package/dist/esm/apis/TranslationsApi.d.ts +5 -5
- package/dist/esm/apis/TranslationsApi.js +3 -3
- package/dist/esm/apis/UIComponentsApi.js +24 -8
- package/dist/esm/apis/UsageApi.js +42 -14
- package/dist/esm/apis/UsersApi.d.ts +3 -3
- package/dist/esm/apis/UsersApi.js +2 -2
- package/dist/esm/apis/WorkspacesApi.js +78 -26
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/AgentModelsGet200ResponseModelsInner.d.ts +6 -0
- package/dist/esm/models/AgentModelsGet200ResponseModelsInner.js +2 -0
- package/dist/esm/models/Canvas.d.ts +6 -0
- package/dist/esm/models/Canvas.js +2 -0
- package/dist/esm/models/CreateCanvasRequest.d.ts +6 -0
- package/dist/esm/models/CreateCanvasRequest.js +2 -0
- package/dist/esm/models/ErrorResponse.d.ts +12 -12
- package/dist/esm/models/ErrorResponse.js +4 -4
- package/dist/esm/models/GetCompositionsBatch200Response.d.ts +3 -3
- package/dist/esm/models/GetCompositionsBatch200Response.js +3 -3
- package/dist/esm/models/GetWidgetsBatch200Response.d.ts +3 -3
- package/dist/esm/models/GetWidgetsBatch200Response.js +3 -3
- package/dist/esm/models/GetWidgetsBatch200ResponseErrorsInner.d.ts +38 -0
- package/dist/esm/models/{GetCompositionsBatch200ResponseErrorsInner.js → GetWidgetsBatch200ResponseErrorsInner.js} +8 -8
- package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsGet200Response.d.ts +39 -0
- package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsGet200Response.js +44 -0
- package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsGet200ResponseData.d.ts +33 -0
- package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsGet200ResponseData.js +42 -0
- package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +62 -0
- package/dist/esm/models/{ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.js → OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner.js} +8 -8
- package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsPost200Response.d.ts +39 -0
- package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsPost200Response.js +44 -0
- package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsPost200ResponseData.d.ts +33 -0
- package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsPost200ResponseData.js +42 -0
- package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsPostRequest.d.ts +32 -0
- package/dist/esm/models/{ApiV1BillingUsersUserIdPaymentMethodsPostRequest.js → OrganizationsOrgIdBillingPaymentMethodsPostRequest.js} +8 -8
- package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200Response.d.ts +39 -0
- package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200Response.js +44 -0
- package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData.d.ts +50 -0
- package/dist/esm/models/{ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.js → OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData.js} +8 -8
- package/dist/esm/models/OrganizationsOrgIdBillingPortalPost200Response.d.ts +39 -0
- package/dist/esm/models/OrganizationsOrgIdBillingPortalPost200Response.js +44 -0
- package/dist/esm/models/OrganizationsOrgIdBillingPortalPost200ResponseData.d.ts +32 -0
- package/dist/esm/models/OrganizationsOrgIdBillingPortalPost200ResponseData.js +41 -0
- package/dist/esm/models/OrganizationsOrgIdBillingPortalPostRequest.d.ts +32 -0
- package/dist/esm/models/OrganizationsOrgIdBillingPortalPostRequest.js +41 -0
- package/dist/esm/models/OrganizationsOrgIdBillingYearlyPricingComparisonGet200Response.d.ts +38 -0
- package/dist/esm/models/OrganizationsOrgIdBillingYearlyPricingComparisonGet200Response.js +43 -0
- package/dist/esm/models/UpdateCanvasRequest.d.ts +6 -0
- package/dist/esm/models/UpdateCanvasRequest.js +2 -0
- package/dist/esm/models/UpdateWidgetRequest.d.ts +12 -0
- package/dist/esm/models/UpdateWidgetRequest.js +5 -0
- package/dist/esm/models/UsersSendFeedbackPost200Response.d.ts +38 -0
- package/dist/esm/models/{RollbackComponent200Response.js → UsersSendFeedbackPost200Response.js} +8 -8
- package/dist/esm/models/index.d.ts +24 -24
- package/dist/esm/models/index.js +24 -24
- package/dist/models/AgentModelsGet200ResponseModelsInner.d.ts +6 -0
- package/dist/models/AgentModelsGet200ResponseModelsInner.js +2 -0
- package/dist/models/Canvas.d.ts +6 -0
- package/dist/models/Canvas.js +2 -0
- package/dist/models/CreateCanvasRequest.d.ts +6 -0
- package/dist/models/CreateCanvasRequest.js +2 -0
- package/dist/models/ErrorResponse.d.ts +12 -12
- package/dist/models/ErrorResponse.js +4 -4
- package/dist/models/GetCompositionsBatch200Response.d.ts +3 -3
- package/dist/models/GetCompositionsBatch200Response.js +3 -3
- package/dist/models/GetWidgetsBatch200Response.d.ts +3 -3
- package/dist/models/GetWidgetsBatch200Response.js +3 -3
- package/dist/models/GetWidgetsBatch200ResponseErrorsInner.d.ts +38 -0
- package/dist/models/GetWidgetsBatch200ResponseErrorsInner.js +50 -0
- package/dist/models/OrganizationsOrgIdBillingPaymentMethodsGet200Response.d.ts +39 -0
- package/dist/models/OrganizationsOrgIdBillingPaymentMethodsGet200Response.js +51 -0
- package/dist/models/OrganizationsOrgIdBillingPaymentMethodsGet200ResponseData.d.ts +33 -0
- package/dist/models/OrganizationsOrgIdBillingPaymentMethodsGet200ResponseData.js +49 -0
- package/dist/models/OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +62 -0
- package/dist/models/OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner.js +58 -0
- package/dist/models/OrganizationsOrgIdBillingPaymentMethodsPost200Response.d.ts +39 -0
- package/dist/models/OrganizationsOrgIdBillingPaymentMethodsPost200Response.js +51 -0
- package/dist/models/OrganizationsOrgIdBillingPaymentMethodsPost200ResponseData.d.ts +33 -0
- package/dist/models/OrganizationsOrgIdBillingPaymentMethodsPost200ResponseData.js +49 -0
- package/dist/models/OrganizationsOrgIdBillingPaymentMethodsPostRequest.d.ts +32 -0
- package/dist/models/OrganizationsOrgIdBillingPaymentMethodsPostRequest.js +50 -0
- package/dist/models/OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200Response.d.ts +39 -0
- package/dist/models/OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200Response.js +51 -0
- package/dist/models/OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData.d.ts +50 -0
- package/dist/models/OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData.js +54 -0
- package/dist/models/OrganizationsOrgIdBillingPortalPost200Response.d.ts +39 -0
- package/dist/models/OrganizationsOrgIdBillingPortalPost200Response.js +51 -0
- package/dist/models/OrganizationsOrgIdBillingPortalPost200ResponseData.d.ts +32 -0
- package/dist/models/OrganizationsOrgIdBillingPortalPost200ResponseData.js +48 -0
- package/dist/models/OrganizationsOrgIdBillingPortalPostRequest.d.ts +32 -0
- package/dist/models/OrganizationsOrgIdBillingPortalPostRequest.js +48 -0
- package/dist/models/OrganizationsOrgIdBillingYearlyPricingComparisonGet200Response.d.ts +38 -0
- package/dist/models/OrganizationsOrgIdBillingYearlyPricingComparisonGet200Response.js +50 -0
- package/dist/models/UpdateCanvasRequest.d.ts +6 -0
- package/dist/models/UpdateCanvasRequest.js +2 -0
- package/dist/models/UpdateWidgetRequest.d.ts +12 -0
- package/dist/models/UpdateWidgetRequest.js +5 -0
- package/dist/models/UsersSendFeedbackPost200Response.d.ts +38 -0
- package/dist/models/UsersSendFeedbackPost200Response.js +50 -0
- package/dist/models/index.d.ts +24 -24
- package/dist/models/index.js +24 -24
- package/package.json +1 -1
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.d.ts +0 -33
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.js +0 -42
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +0 -62
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.d.ts +0 -33
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.js +0 -42
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.d.ts +0 -50
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.js +0 -41
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPostRequest.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPostRequest.js +0 -41
- package/dist/esm/models/GetCompositionsBatch200ResponseErrorsInner.d.ts +0 -38
- package/dist/esm/models/LoginUser200Response.d.ts +0 -38
- package/dist/esm/models/LoginUser200Response.js +0 -43
- package/dist/esm/models/RollbackComponent200Response.d.ts +0 -38
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.d.ts +0 -33
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.js +0 -49
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +0 -62
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.js +0 -58
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.d.ts +0 -33
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.js +0 -49
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.js +0 -50
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.d.ts +0 -50
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.js +0 -54
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.js +0 -48
- package/dist/models/ApiV1BillingUsersUserIdPortalPostRequest.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdPortalPostRequest.js +0 -48
- package/dist/models/GetCompositionsBatch200ResponseErrorsInner.d.ts +0 -38
- package/dist/models/GetCompositionsBatch200ResponseErrorsInner.js +0 -50
- package/dist/models/LoginUser200Response.d.ts +0 -38
- package/dist/models/LoginUser200Response.js +0 -50
- package/dist/models/RollbackComponent200Response.d.ts +0 -38
- package/dist/models/RollbackComponent200Response.js +0 -50
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Widgetic API Gateway
|
|
3
|
+
* API documentation for the Widgetic API Gateway
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner } from './OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OrganizationsOrgIdBillingPaymentMethodsGet200ResponseData
|
|
17
|
+
*/
|
|
18
|
+
export interface OrganizationsOrgIdBillingPaymentMethodsGet200ResponseData {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner>}
|
|
22
|
+
* @memberof OrganizationsOrgIdBillingPaymentMethodsGet200ResponseData
|
|
23
|
+
*/
|
|
24
|
+
paymentMethods?: Array<OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the OrganizationsOrgIdBillingPaymentMethodsGet200ResponseData interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfOrganizationsOrgIdBillingPaymentMethodsGet200ResponseData(value: object): value is OrganizationsOrgIdBillingPaymentMethodsGet200ResponseData;
|
|
30
|
+
export declare function OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataFromJSON(json: any): OrganizationsOrgIdBillingPaymentMethodsGet200ResponseData;
|
|
31
|
+
export declare function OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationsOrgIdBillingPaymentMethodsGet200ResponseData;
|
|
32
|
+
export declare function OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataToJSON(json: any): OrganizationsOrgIdBillingPaymentMethodsGet200ResponseData;
|
|
33
|
+
export declare function OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataToJSONTyped(value?: OrganizationsOrgIdBillingPaymentMethodsGet200ResponseData | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInnerFromJSON, OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInnerToJSON, } from './OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the OrganizationsOrgIdBillingPaymentMethodsGet200ResponseData interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfOrganizationsOrgIdBillingPaymentMethodsGet200ResponseData(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataFromJSON(json) {
|
|
22
|
+
return OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'paymentMethods': json['paymentMethods'] == null ? undefined : (json['paymentMethods'].map(OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInnerFromJSON)),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataToJSON(json) {
|
|
33
|
+
return OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'paymentMethods': value['paymentMethods'] == null ? undefined : (value['paymentMethods'].map(OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInnerToJSON)),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Widgetic API Gateway
|
|
3
|
+
* API documentation for the Widgetic API Gateway
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner
|
|
16
|
+
*/
|
|
17
|
+
export interface OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner
|
|
28
|
+
*/
|
|
29
|
+
brand?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner
|
|
34
|
+
*/
|
|
35
|
+
last4?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner
|
|
40
|
+
*/
|
|
41
|
+
exp_month?: number | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner
|
|
46
|
+
*/
|
|
47
|
+
exp_year?: number | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {boolean}
|
|
51
|
+
* @memberof OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner
|
|
52
|
+
*/
|
|
53
|
+
is_default?: boolean;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* Check if a given object implements the OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner interface.
|
|
57
|
+
*/
|
|
58
|
+
export declare function instanceOfOrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner(value: object): value is OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner;
|
|
59
|
+
export declare function OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInnerFromJSON(json: any): OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner;
|
|
60
|
+
export declare function OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner;
|
|
61
|
+
export declare function OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInnerToJSON(json: any): OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner;
|
|
62
|
+
export declare function OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInnerToJSONTyped(value?: OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
|
-
* Check if a given object implements the
|
|
15
|
+
* Check if a given object implements the OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner interface.
|
|
16
16
|
*/
|
|
17
|
-
export function
|
|
17
|
+
export function instanceOfOrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner(value) {
|
|
18
18
|
return true;
|
|
19
19
|
}
|
|
20
|
-
export function
|
|
21
|
-
return
|
|
20
|
+
export function OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInnerFromJSON(json) {
|
|
21
|
+
return OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInnerFromJSONTyped(json, false);
|
|
22
22
|
}
|
|
23
|
-
export function
|
|
23
|
+
export function OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
24
|
if (json == null) {
|
|
25
25
|
return json;
|
|
26
26
|
}
|
|
@@ -33,10 +33,10 @@ export function ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMe
|
|
|
33
33
|
'is_default': json['is_default'] == null ? undefined : json['is_default'],
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
|
-
export function
|
|
37
|
-
return
|
|
36
|
+
export function OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInnerToJSON(json) {
|
|
37
|
+
return OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInnerToJSONTyped(json, false);
|
|
38
38
|
}
|
|
39
|
-
export function
|
|
39
|
+
export function OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
40
|
if (value == null) {
|
|
41
41
|
return value;
|
|
42
42
|
}
|
|
@@ -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 { OrganizationsOrgIdBillingPaymentMethodsPost200ResponseData } from './OrganizationsOrgIdBillingPaymentMethodsPost200ResponseData';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OrganizationsOrgIdBillingPaymentMethodsPost200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface OrganizationsOrgIdBillingPaymentMethodsPost200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof OrganizationsOrgIdBillingPaymentMethodsPost200Response
|
|
23
|
+
*/
|
|
24
|
+
success?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {OrganizationsOrgIdBillingPaymentMethodsPost200ResponseData}
|
|
28
|
+
* @memberof OrganizationsOrgIdBillingPaymentMethodsPost200Response
|
|
29
|
+
*/
|
|
30
|
+
data?: OrganizationsOrgIdBillingPaymentMethodsPost200ResponseData;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the OrganizationsOrgIdBillingPaymentMethodsPost200Response interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfOrganizationsOrgIdBillingPaymentMethodsPost200Response(value: object): value is OrganizationsOrgIdBillingPaymentMethodsPost200Response;
|
|
36
|
+
export declare function OrganizationsOrgIdBillingPaymentMethodsPost200ResponseFromJSON(json: any): OrganizationsOrgIdBillingPaymentMethodsPost200Response;
|
|
37
|
+
export declare function OrganizationsOrgIdBillingPaymentMethodsPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationsOrgIdBillingPaymentMethodsPost200Response;
|
|
38
|
+
export declare function OrganizationsOrgIdBillingPaymentMethodsPost200ResponseToJSON(json: any): OrganizationsOrgIdBillingPaymentMethodsPost200Response;
|
|
39
|
+
export declare function OrganizationsOrgIdBillingPaymentMethodsPost200ResponseToJSONTyped(value?: OrganizationsOrgIdBillingPaymentMethodsPost200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { OrganizationsOrgIdBillingPaymentMethodsPost200ResponseDataFromJSON, OrganizationsOrgIdBillingPaymentMethodsPost200ResponseDataToJSON, } from './OrganizationsOrgIdBillingPaymentMethodsPost200ResponseData.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the OrganizationsOrgIdBillingPaymentMethodsPost200Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfOrganizationsOrgIdBillingPaymentMethodsPost200Response(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function OrganizationsOrgIdBillingPaymentMethodsPost200ResponseFromJSON(json) {
|
|
22
|
+
return OrganizationsOrgIdBillingPaymentMethodsPost200ResponseFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function OrganizationsOrgIdBillingPaymentMethodsPost200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'success': json['success'] == null ? undefined : json['success'],
|
|
30
|
+
'data': json['data'] == null ? undefined : OrganizationsOrgIdBillingPaymentMethodsPost200ResponseDataFromJSON(json['data']),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function OrganizationsOrgIdBillingPaymentMethodsPost200ResponseToJSON(json) {
|
|
34
|
+
return OrganizationsOrgIdBillingPaymentMethodsPost200ResponseToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function OrganizationsOrgIdBillingPaymentMethodsPost200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'success': value['success'],
|
|
42
|
+
'data': OrganizationsOrgIdBillingPaymentMethodsPost200ResponseDataToJSON(value['data']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Widgetic API Gateway
|
|
3
|
+
* API documentation for the Widgetic API Gateway
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner } from './OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OrganizationsOrgIdBillingPaymentMethodsPost200ResponseData
|
|
17
|
+
*/
|
|
18
|
+
export interface OrganizationsOrgIdBillingPaymentMethodsPost200ResponseData {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner}
|
|
22
|
+
* @memberof OrganizationsOrgIdBillingPaymentMethodsPost200ResponseData
|
|
23
|
+
*/
|
|
24
|
+
paymentMethod?: OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the OrganizationsOrgIdBillingPaymentMethodsPost200ResponseData interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfOrganizationsOrgIdBillingPaymentMethodsPost200ResponseData(value: object): value is OrganizationsOrgIdBillingPaymentMethodsPost200ResponseData;
|
|
30
|
+
export declare function OrganizationsOrgIdBillingPaymentMethodsPost200ResponseDataFromJSON(json: any): OrganizationsOrgIdBillingPaymentMethodsPost200ResponseData;
|
|
31
|
+
export declare function OrganizationsOrgIdBillingPaymentMethodsPost200ResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationsOrgIdBillingPaymentMethodsPost200ResponseData;
|
|
32
|
+
export declare function OrganizationsOrgIdBillingPaymentMethodsPost200ResponseDataToJSON(json: any): OrganizationsOrgIdBillingPaymentMethodsPost200ResponseData;
|
|
33
|
+
export declare function OrganizationsOrgIdBillingPaymentMethodsPost200ResponseDataToJSONTyped(value?: OrganizationsOrgIdBillingPaymentMethodsPost200ResponseData | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInnerFromJSON, OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInnerToJSON, } from './OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInner.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the OrganizationsOrgIdBillingPaymentMethodsPost200ResponseData interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfOrganizationsOrgIdBillingPaymentMethodsPost200ResponseData(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function OrganizationsOrgIdBillingPaymentMethodsPost200ResponseDataFromJSON(json) {
|
|
22
|
+
return OrganizationsOrgIdBillingPaymentMethodsPost200ResponseDataFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function OrganizationsOrgIdBillingPaymentMethodsPost200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'paymentMethod': json['paymentMethod'] == null ? undefined : OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInnerFromJSON(json['paymentMethod']),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function OrganizationsOrgIdBillingPaymentMethodsPost200ResponseDataToJSON(json) {
|
|
33
|
+
return OrganizationsOrgIdBillingPaymentMethodsPost200ResponseDataToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function OrganizationsOrgIdBillingPaymentMethodsPost200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'paymentMethod': OrganizationsOrgIdBillingPaymentMethodsGet200ResponseDataPaymentMethodsInnerToJSON(value['paymentMethod']),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
@@ -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 OrganizationsOrgIdBillingPaymentMethodsPostRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface OrganizationsOrgIdBillingPaymentMethodsPostRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Stripe payment method ID (pm_...)
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OrganizationsOrgIdBillingPaymentMethodsPostRequest
|
|
22
|
+
*/
|
|
23
|
+
paymentMethodId: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the OrganizationsOrgIdBillingPaymentMethodsPostRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfOrganizationsOrgIdBillingPaymentMethodsPostRequest(value: object): value is OrganizationsOrgIdBillingPaymentMethodsPostRequest;
|
|
29
|
+
export declare function OrganizationsOrgIdBillingPaymentMethodsPostRequestFromJSON(json: any): OrganizationsOrgIdBillingPaymentMethodsPostRequest;
|
|
30
|
+
export declare function OrganizationsOrgIdBillingPaymentMethodsPostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationsOrgIdBillingPaymentMethodsPostRequest;
|
|
31
|
+
export declare function OrganizationsOrgIdBillingPaymentMethodsPostRequestToJSON(json: any): OrganizationsOrgIdBillingPaymentMethodsPostRequest;
|
|
32
|
+
export declare function OrganizationsOrgIdBillingPaymentMethodsPostRequestToJSONTyped(value?: OrganizationsOrgIdBillingPaymentMethodsPostRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -12,17 +12,17 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
|
-
* Check if a given object implements the
|
|
15
|
+
* Check if a given object implements the OrganizationsOrgIdBillingPaymentMethodsPostRequest interface.
|
|
16
16
|
*/
|
|
17
|
-
export function
|
|
17
|
+
export function instanceOfOrganizationsOrgIdBillingPaymentMethodsPostRequest(value) {
|
|
18
18
|
if (!('paymentMethodId' in value) || value['paymentMethodId'] === undefined)
|
|
19
19
|
return false;
|
|
20
20
|
return true;
|
|
21
21
|
}
|
|
22
|
-
export function
|
|
23
|
-
return
|
|
22
|
+
export function OrganizationsOrgIdBillingPaymentMethodsPostRequestFromJSON(json) {
|
|
23
|
+
return OrganizationsOrgIdBillingPaymentMethodsPostRequestFromJSONTyped(json, false);
|
|
24
24
|
}
|
|
25
|
-
export function
|
|
25
|
+
export function OrganizationsOrgIdBillingPaymentMethodsPostRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
26
|
if (json == null) {
|
|
27
27
|
return json;
|
|
28
28
|
}
|
|
@@ -30,10 +30,10 @@ export function ApiV1BillingUsersUserIdPaymentMethodsPostRequestFromJSONTyped(js
|
|
|
30
30
|
'paymentMethodId': json['paymentMethodId'],
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
|
-
export function
|
|
34
|
-
return
|
|
33
|
+
export function OrganizationsOrgIdBillingPaymentMethodsPostRequestToJSON(json) {
|
|
34
|
+
return OrganizationsOrgIdBillingPaymentMethodsPostRequestToJSONTyped(json, false);
|
|
35
35
|
}
|
|
36
|
-
export function
|
|
36
|
+
export function OrganizationsOrgIdBillingPaymentMethodsPostRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
37
|
if (value == null) {
|
|
38
38
|
return value;
|
|
39
39
|
}
|
package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200Response.d.ts
ADDED
|
@@ -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 { OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData } from './OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200Response
|
|
23
|
+
*/
|
|
24
|
+
success?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData}
|
|
28
|
+
* @memberof OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200Response
|
|
29
|
+
*/
|
|
30
|
+
data?: OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200Response interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfOrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200Response(value: object): value is OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200Response;
|
|
36
|
+
export declare function OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseFromJSON(json: any): OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200Response;
|
|
37
|
+
export declare function OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200Response;
|
|
38
|
+
export declare function OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseToJSON(json: any): OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200Response;
|
|
39
|
+
export declare function OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseToJSONTyped(value?: OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseDataFromJSON, OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseDataToJSON, } from './OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfOrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200Response(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseFromJSON(json) {
|
|
22
|
+
return OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'success': json['success'] == null ? undefined : json['success'],
|
|
30
|
+
'data': json['data'] == null ? undefined : OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseDataFromJSON(json['data']),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseToJSON(json) {
|
|
34
|
+
return OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'success': value['success'],
|
|
42
|
+
'data': OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseDataToJSON(value['data']),
|
|
43
|
+
};
|
|
44
|
+
}
|
package/dist/esm/models/OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData.d.ts
ADDED
|
@@ -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 OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData
|
|
16
|
+
*/
|
|
17
|
+
export interface OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData
|
|
22
|
+
*/
|
|
23
|
+
clientSecret?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData
|
|
28
|
+
*/
|
|
29
|
+
setupIntentId?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData
|
|
34
|
+
*/
|
|
35
|
+
customerId?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData
|
|
40
|
+
*/
|
|
41
|
+
publishableKey?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfOrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData(value: object): value is OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData;
|
|
47
|
+
export declare function OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseDataFromJSON(json: any): OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData;
|
|
48
|
+
export declare function OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData;
|
|
49
|
+
export declare function OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseDataToJSON(json: any): OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData;
|
|
50
|
+
export declare function OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseDataToJSONTyped(value?: OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
/**
|
|
15
|
-
* Check if a given object implements the
|
|
15
|
+
* Check if a given object implements the OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData interface.
|
|
16
16
|
*/
|
|
17
|
-
export function
|
|
17
|
+
export function instanceOfOrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseData(value) {
|
|
18
18
|
return true;
|
|
19
19
|
}
|
|
20
|
-
export function
|
|
21
|
-
return
|
|
20
|
+
export function OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseDataFromJSON(json) {
|
|
21
|
+
return OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseDataFromJSONTyped(json, false);
|
|
22
22
|
}
|
|
23
|
-
export function
|
|
23
|
+
export function OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
24
|
if (json == null) {
|
|
25
25
|
return json;
|
|
26
26
|
}
|
|
@@ -31,10 +31,10 @@ export function ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseD
|
|
|
31
31
|
'publishableKey': json['publishableKey'] == null ? undefined : json['publishableKey'],
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
|
-
export function
|
|
35
|
-
return
|
|
34
|
+
export function OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseDataToJSON(json) {
|
|
35
|
+
return OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseDataToJSONTyped(json, false);
|
|
36
36
|
}
|
|
37
|
-
export function
|
|
37
|
+
export function OrganizationsOrgIdBillingPaymentMethodsSetupIntentPost200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
38
|
if (value == null) {
|
|
39
39
|
return value;
|
|
40
40
|
}
|
|
@@ -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 { OrganizationsOrgIdBillingPortalPost200ResponseData } from './OrganizationsOrgIdBillingPortalPost200ResponseData';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface OrganizationsOrgIdBillingPortalPost200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface OrganizationsOrgIdBillingPortalPost200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof OrganizationsOrgIdBillingPortalPost200Response
|
|
23
|
+
*/
|
|
24
|
+
success?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {OrganizationsOrgIdBillingPortalPost200ResponseData}
|
|
28
|
+
* @memberof OrganizationsOrgIdBillingPortalPost200Response
|
|
29
|
+
*/
|
|
30
|
+
data?: OrganizationsOrgIdBillingPortalPost200ResponseData;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the OrganizationsOrgIdBillingPortalPost200Response interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfOrganizationsOrgIdBillingPortalPost200Response(value: object): value is OrganizationsOrgIdBillingPortalPost200Response;
|
|
36
|
+
export declare function OrganizationsOrgIdBillingPortalPost200ResponseFromJSON(json: any): OrganizationsOrgIdBillingPortalPost200Response;
|
|
37
|
+
export declare function OrganizationsOrgIdBillingPortalPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationsOrgIdBillingPortalPost200Response;
|
|
38
|
+
export declare function OrganizationsOrgIdBillingPortalPost200ResponseToJSON(json: any): OrganizationsOrgIdBillingPortalPost200Response;
|
|
39
|
+
export declare function OrganizationsOrgIdBillingPortalPost200ResponseToJSONTyped(value?: OrganizationsOrgIdBillingPortalPost200Response | null, ignoreDiscriminator?: boolean): any;
|