@widgetic/api-sdk 1.0.21 → 1.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/AdminBillingApi.d.ts +92 -1
- package/dist/apis/AdminBillingApi.js +246 -1
- package/dist/apis/AgentApi.d.ts +2 -2
- package/dist/apis/AgentApi.js +2 -2
- 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 +2 -2
- package/dist/esm/apis/AgentApi.js +2 -2
- 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/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 +54 -0
- package/dist/esm/models/GenerateCodeRequest.js +18 -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/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 +12 -0
- package/dist/esm/models/SignupUserRequest.js +4 -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 +26 -1
- package/dist/esm/models/index.js +26 -1
- package/dist/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.d.ts +18 -0
- package/dist/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.js +6 -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 +54 -0
- package/dist/models/GenerateCodeRequest.js +18 -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/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 +12 -0
- package/dist/models/SignupUserRequest.js +4 -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 +26 -1
- package/dist/models/index.js +26 -1
- package/package.json +1 -1
|
@@ -33,6 +33,8 @@ export function SignupUserRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
'password': json['password'],
|
|
34
34
|
'role': json['role'] == null ? undefined : json['role'],
|
|
35
35
|
'plan': json['plan'] == null ? undefined : json['plan'],
|
|
36
|
+
'inviteCode': json['inviteCode'] == null ? undefined : json['inviteCode'],
|
|
37
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
36
38
|
};
|
|
37
39
|
}
|
|
38
40
|
export function SignupUserRequestToJSON(json) {
|
|
@@ -47,5 +49,7 @@ export function SignupUserRequestToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
47
49
|
'password': value['password'],
|
|
48
50
|
'role': value['role'],
|
|
49
51
|
'plan': value['plan'],
|
|
52
|
+
'inviteCode': value['inviteCode'],
|
|
53
|
+
'name': value['name'],
|
|
50
54
|
};
|
|
51
55
|
}
|
|
@@ -10,19 +10,19 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Fields an admin may change on an existing subscription. These are exactly the fields the route writes — the columns they map to are enumerated in `SUBSCRIPTION_UPDATE_COLUMNS`, and a field not listed here is ignored and reported in the response log rather than written. A subscription's Stripe id, its workspace surface (`workspace_type`/`organization_id`) and its `metadata` are not updatable: the first is the join key the Stripe webhook matches on and is set by the subscribe flow, the second would move the subscription to the other surface's plan catalogue, and the third is owned by the billing jobs.
|
|
14
14
|
* @export
|
|
15
15
|
* @interface UpdateSubscription
|
|
16
16
|
*/
|
|
17
17
|
export interface UpdateSubscription {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Identifier of the plan record to point the subscription at
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof UpdateSubscription
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
planId?: string;
|
|
24
24
|
/**
|
|
25
|
-
* Type of subscription plan
|
|
25
|
+
* Type of subscription plan. Must be purchasable on the surface the subscription already lives on — a personal subscription cannot be moved to Teams.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof UpdateSubscription
|
|
28
28
|
*/
|
|
@@ -33,30 +33,52 @@ export interface UpdateSubscription {
|
|
|
33
33
|
* @memberof UpdateSubscription
|
|
34
34
|
*/
|
|
35
35
|
status?: UpdateSubscriptionStatusEnum;
|
|
36
|
+
/**
|
|
37
|
+
* How often the subscription is billed
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UpdateSubscription
|
|
40
|
+
*/
|
|
41
|
+
billingFrequency?: UpdateSubscriptionBillingFrequencyEnum;
|
|
36
42
|
/**
|
|
37
43
|
* Start date of the current billing period
|
|
38
44
|
* @type {Date}
|
|
39
45
|
* @memberof UpdateSubscription
|
|
40
46
|
*/
|
|
41
|
-
|
|
47
|
+
currentPeriodStart?: Date;
|
|
42
48
|
/**
|
|
43
49
|
* End date of the current billing period
|
|
44
50
|
* @type {Date}
|
|
45
51
|
* @memberof UpdateSubscription
|
|
46
52
|
*/
|
|
47
|
-
|
|
53
|
+
currentPeriodEnd?: Date;
|
|
54
|
+
/**
|
|
55
|
+
* When the subscription was cancelled, if it was
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof UpdateSubscription
|
|
58
|
+
*/
|
|
59
|
+
canceledAt?: Date;
|
|
48
60
|
}
|
|
49
61
|
/**
|
|
50
62
|
* @export
|
|
51
63
|
*/
|
|
52
64
|
export declare const UpdateSubscriptionStatusEnum: {
|
|
53
65
|
readonly Active: "active";
|
|
54
|
-
readonly
|
|
66
|
+
readonly Trialing: "trialing";
|
|
55
67
|
readonly PastDue: "past_due";
|
|
56
68
|
readonly Unpaid: "unpaid";
|
|
57
|
-
readonly
|
|
69
|
+
readonly Suspended: "suspended";
|
|
70
|
+
readonly Canceled: "canceled";
|
|
71
|
+
readonly Incomplete: "incomplete";
|
|
58
72
|
};
|
|
59
73
|
export type UpdateSubscriptionStatusEnum = typeof UpdateSubscriptionStatusEnum[keyof typeof UpdateSubscriptionStatusEnum];
|
|
74
|
+
/**
|
|
75
|
+
* @export
|
|
76
|
+
*/
|
|
77
|
+
export declare const UpdateSubscriptionBillingFrequencyEnum: {
|
|
78
|
+
readonly Monthly: "monthly";
|
|
79
|
+
readonly Yearly: "yearly";
|
|
80
|
+
};
|
|
81
|
+
export type UpdateSubscriptionBillingFrequencyEnum = typeof UpdateSubscriptionBillingFrequencyEnum[keyof typeof UpdateSubscriptionBillingFrequencyEnum];
|
|
60
82
|
/**
|
|
61
83
|
* Check if a given object implements the UpdateSubscription interface.
|
|
62
84
|
*/
|
|
@@ -16,10 +16,19 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export const UpdateSubscriptionStatusEnum = {
|
|
18
18
|
Active: 'active',
|
|
19
|
-
|
|
19
|
+
Trialing: 'trialing',
|
|
20
20
|
PastDue: 'past_due',
|
|
21
21
|
Unpaid: 'unpaid',
|
|
22
|
-
|
|
22
|
+
Suspended: 'suspended',
|
|
23
|
+
Canceled: 'canceled',
|
|
24
|
+
Incomplete: 'incomplete'
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* @export
|
|
28
|
+
*/
|
|
29
|
+
export const UpdateSubscriptionBillingFrequencyEnum = {
|
|
30
|
+
Monthly: 'monthly',
|
|
31
|
+
Yearly: 'yearly'
|
|
23
32
|
};
|
|
24
33
|
/**
|
|
25
34
|
* Check if a given object implements the UpdateSubscription interface.
|
|
@@ -35,11 +44,13 @@ export function UpdateSubscriptionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
44
|
return json;
|
|
36
45
|
}
|
|
37
46
|
return {
|
|
38
|
-
'
|
|
47
|
+
'planId': json['planId'] == null ? undefined : json['planId'],
|
|
39
48
|
'planType': json['planType'] == null ? undefined : json['planType'],
|
|
40
49
|
'status': json['status'] == null ? undefined : json['status'],
|
|
41
|
-
'
|
|
42
|
-
'
|
|
50
|
+
'billingFrequency': json['billingFrequency'] == null ? undefined : json['billingFrequency'],
|
|
51
|
+
'currentPeriodStart': json['currentPeriodStart'] == null ? undefined : (new Date(json['currentPeriodStart'])),
|
|
52
|
+
'currentPeriodEnd': json['currentPeriodEnd'] == null ? undefined : (new Date(json['currentPeriodEnd'])),
|
|
53
|
+
'canceledAt': json['canceledAt'] == null ? undefined : (new Date(json['canceledAt'])),
|
|
43
54
|
};
|
|
44
55
|
}
|
|
45
56
|
export function UpdateSubscriptionToJSON(json) {
|
|
@@ -50,10 +61,12 @@ export function UpdateSubscriptionToJSONTyped(value, ignoreDiscriminator = false
|
|
|
50
61
|
return value;
|
|
51
62
|
}
|
|
52
63
|
return {
|
|
53
|
-
'
|
|
64
|
+
'planId': value['planId'],
|
|
54
65
|
'planType': value['planType'],
|
|
55
66
|
'status': value['status'],
|
|
56
|
-
'
|
|
57
|
-
'
|
|
67
|
+
'billingFrequency': value['billingFrequency'],
|
|
68
|
+
'currentPeriodStart': value['currentPeriodStart'] == null ? undefined : ((value['currentPeriodStart']).toISOString()),
|
|
69
|
+
'currentPeriodEnd': value['currentPeriodEnd'] == null ? undefined : ((value['currentPeriodEnd']).toISOString()),
|
|
70
|
+
'canceledAt': value['canceledAt'] == null ? undefined : ((value['canceledAt']).toISOString()),
|
|
58
71
|
};
|
|
59
72
|
}
|
|
@@ -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 { UploadWidgetThumbnail200ResponseData } from './UploadWidgetThumbnail200ResponseData';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UploadWidgetThumbnail200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface UploadWidgetThumbnail200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof UploadWidgetThumbnail200Response
|
|
23
|
+
*/
|
|
24
|
+
success?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {UploadWidgetThumbnail200ResponseData}
|
|
28
|
+
* @memberof UploadWidgetThumbnail200Response
|
|
29
|
+
*/
|
|
30
|
+
data?: UploadWidgetThumbnail200ResponseData;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the UploadWidgetThumbnail200Response interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfUploadWidgetThumbnail200Response(value: object): value is UploadWidgetThumbnail200Response;
|
|
36
|
+
export declare function UploadWidgetThumbnail200ResponseFromJSON(json: any): UploadWidgetThumbnail200Response;
|
|
37
|
+
export declare function UploadWidgetThumbnail200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UploadWidgetThumbnail200Response;
|
|
38
|
+
export declare function UploadWidgetThumbnail200ResponseToJSON(json: any): UploadWidgetThumbnail200Response;
|
|
39
|
+
export declare function UploadWidgetThumbnail200ResponseToJSONTyped(value?: UploadWidgetThumbnail200Response | 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 { UploadWidgetThumbnail200ResponseDataFromJSON, UploadWidgetThumbnail200ResponseDataToJSON, } from './UploadWidgetThumbnail200ResponseData.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the UploadWidgetThumbnail200Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfUploadWidgetThumbnail200Response(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function UploadWidgetThumbnail200ResponseFromJSON(json) {
|
|
22
|
+
return UploadWidgetThumbnail200ResponseFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function UploadWidgetThumbnail200ResponseFromJSONTyped(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 : UploadWidgetThumbnail200ResponseDataFromJSON(json['data']),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function UploadWidgetThumbnail200ResponseToJSON(json) {
|
|
34
|
+
return UploadWidgetThumbnail200ResponseToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function UploadWidgetThumbnail200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'success': value['success'],
|
|
42
|
+
'data': UploadWidgetThumbnail200ResponseDataToJSON(value['data']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -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 UploadWidgetThumbnail200ResponseData
|
|
16
|
+
*/
|
|
17
|
+
export interface UploadWidgetThumbnail200ResponseData {
|
|
18
|
+
/**
|
|
19
|
+
* The stored thumbnail's CDN URL (cache-busted)
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UploadWidgetThumbnail200ResponseData
|
|
22
|
+
*/
|
|
23
|
+
thumbnailUrl?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the UploadWidgetThumbnail200ResponseData interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfUploadWidgetThumbnail200ResponseData(value: object): value is UploadWidgetThumbnail200ResponseData;
|
|
29
|
+
export declare function UploadWidgetThumbnail200ResponseDataFromJSON(json: any): UploadWidgetThumbnail200ResponseData;
|
|
30
|
+
export declare function UploadWidgetThumbnail200ResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): UploadWidgetThumbnail200ResponseData;
|
|
31
|
+
export declare function UploadWidgetThumbnail200ResponseDataToJSON(json: any): UploadWidgetThumbnail200ResponseData;
|
|
32
|
+
export declare function UploadWidgetThumbnail200ResponseDataToJSONTyped(value?: UploadWidgetThumbnail200ResponseData | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the UploadWidgetThumbnail200ResponseData interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfUploadWidgetThumbnail200ResponseData(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function UploadWidgetThumbnail200ResponseDataFromJSON(json) {
|
|
21
|
+
return UploadWidgetThumbnail200ResponseDataFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function UploadWidgetThumbnail200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'thumbnailUrl': json['thumbnailUrl'] == null ? undefined : json['thumbnailUrl'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function UploadWidgetThumbnail200ResponseDataToJSON(json) {
|
|
32
|
+
return UploadWidgetThumbnail200ResponseDataToJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function UploadWidgetThumbnail200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
|
+
if (value == null) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'thumbnailUrl': value['thumbnailUrl'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -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 UploadWidgetThumbnailRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface UploadWidgetThumbnailRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UploadWidgetThumbnailRequest
|
|
22
|
+
*/
|
|
23
|
+
imageDataUrl: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the UploadWidgetThumbnailRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfUploadWidgetThumbnailRequest(value: object): value is UploadWidgetThumbnailRequest;
|
|
29
|
+
export declare function UploadWidgetThumbnailRequestFromJSON(json: any): UploadWidgetThumbnailRequest;
|
|
30
|
+
export declare function UploadWidgetThumbnailRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UploadWidgetThumbnailRequest;
|
|
31
|
+
export declare function UploadWidgetThumbnailRequestToJSON(json: any): UploadWidgetThumbnailRequest;
|
|
32
|
+
export declare function UploadWidgetThumbnailRequestToJSONTyped(value?: UploadWidgetThumbnailRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the UploadWidgetThumbnailRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfUploadWidgetThumbnailRequest(value) {
|
|
18
|
+
if (!('imageDataUrl' in value) || value['imageDataUrl'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function UploadWidgetThumbnailRequestFromJSON(json) {
|
|
23
|
+
return UploadWidgetThumbnailRequestFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function UploadWidgetThumbnailRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'imageDataUrl': json['imageDataUrl'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function UploadWidgetThumbnailRequestToJSON(json) {
|
|
34
|
+
return UploadWidgetThumbnailRequestToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function UploadWidgetThumbnailRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'imageDataUrl': value['imageDataUrl'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -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 { ValidateInviteCode200ResponseData } from './ValidateInviteCode200ResponseData';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ValidateInviteCode200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface ValidateInviteCode200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ValidateInviteCode200Response
|
|
23
|
+
*/
|
|
24
|
+
success?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {ValidateInviteCode200ResponseData}
|
|
28
|
+
* @memberof ValidateInviteCode200Response
|
|
29
|
+
*/
|
|
30
|
+
data?: ValidateInviteCode200ResponseData;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the ValidateInviteCode200Response interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfValidateInviteCode200Response(value: object): value is ValidateInviteCode200Response;
|
|
36
|
+
export declare function ValidateInviteCode200ResponseFromJSON(json: any): ValidateInviteCode200Response;
|
|
37
|
+
export declare function ValidateInviteCode200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidateInviteCode200Response;
|
|
38
|
+
export declare function ValidateInviteCode200ResponseToJSON(json: any): ValidateInviteCode200Response;
|
|
39
|
+
export declare function ValidateInviteCode200ResponseToJSONTyped(value?: ValidateInviteCode200Response | 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 { ValidateInviteCode200ResponseDataFromJSON, ValidateInviteCode200ResponseDataToJSON, } from './ValidateInviteCode200ResponseData.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ValidateInviteCode200Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfValidateInviteCode200Response(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function ValidateInviteCode200ResponseFromJSON(json) {
|
|
22
|
+
return ValidateInviteCode200ResponseFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function ValidateInviteCode200ResponseFromJSONTyped(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 : ValidateInviteCode200ResponseDataFromJSON(json['data']),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function ValidateInviteCode200ResponseToJSON(json) {
|
|
34
|
+
return ValidateInviteCode200ResponseToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function ValidateInviteCode200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'success': value['success'],
|
|
42
|
+
'data': ValidateInviteCode200ResponseDataToJSON(value['data']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 ValidateInviteCode200ResponseData
|
|
16
|
+
*/
|
|
17
|
+
export interface ValidateInviteCode200ResponseData {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof ValidateInviteCode200ResponseData
|
|
22
|
+
*/
|
|
23
|
+
valid?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ValidateInviteCode200ResponseData
|
|
28
|
+
*/
|
|
29
|
+
reason?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ValidateInviteCode200ResponseData
|
|
34
|
+
*/
|
|
35
|
+
message?: string | null;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ValidateInviteCode200ResponseData interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfValidateInviteCode200ResponseData(value: object): value is ValidateInviteCode200ResponseData;
|
|
41
|
+
export declare function ValidateInviteCode200ResponseDataFromJSON(json: any): ValidateInviteCode200ResponseData;
|
|
42
|
+
export declare function ValidateInviteCode200ResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ValidateInviteCode200ResponseData;
|
|
43
|
+
export declare function ValidateInviteCode200ResponseDataToJSON(json: any): ValidateInviteCode200ResponseData;
|
|
44
|
+
export declare function ValidateInviteCode200ResponseDataToJSONTyped(value?: ValidateInviteCode200ResponseData | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the ValidateInviteCode200ResponseData interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfValidateInviteCode200ResponseData(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function ValidateInviteCode200ResponseDataFromJSON(json) {
|
|
21
|
+
return ValidateInviteCode200ResponseDataFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function ValidateInviteCode200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'valid': json['valid'] == null ? undefined : json['valid'],
|
|
29
|
+
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
30
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function ValidateInviteCode200ResponseDataToJSON(json) {
|
|
34
|
+
return ValidateInviteCode200ResponseDataToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function ValidateInviteCode200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'valid': value['valid'],
|
|
42
|
+
'reason': value['reason'],
|
|
43
|
+
'message': value['message'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -38,7 +38,15 @@ export * from './ApiKey';
|
|
|
38
38
|
export * from './ApiKeyUsageLog';
|
|
39
39
|
export * from './ApiV1AdminBillingGrantsGrantIdRejectPostRequest';
|
|
40
40
|
export * from './ApiV1AdminBillingGrantsPostRequest';
|
|
41
|
+
export * from './ApiV1AdminBillingPlansPricesBackfillPostRequest';
|
|
42
|
+
export * from './ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest';
|
|
43
|
+
export * from './ApiV1AdminBillingRefundsClawbacksGet200Response';
|
|
44
|
+
export * from './ApiV1AdminBillingRefundsClawbacksGet200ResponseData';
|
|
45
|
+
export * from './ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner';
|
|
41
46
|
export * from './ApiV1AdminBillingRefundsPostRequest';
|
|
47
|
+
export * from './ApiV1AdminBillingRefundsPreviewPost200Response';
|
|
48
|
+
export * from './ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview';
|
|
49
|
+
export * from './ApiV1AdminBillingRefundsPreviewPostRequest';
|
|
42
50
|
export * from './ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest';
|
|
43
51
|
export * from './ApiV1BillingPricingGet200Response';
|
|
44
52
|
export * from './ApiV1BillingPricingGet200ResponseData';
|
|
@@ -67,6 +75,10 @@ export * from './ApiV1MetricsGet200ResponseDataErrorsValue';
|
|
|
67
75
|
export * from './ApiV1MetricsGet200ResponseDataLatencyValue';
|
|
68
76
|
export * from './ApiV1MetricsLatencyGet200Response';
|
|
69
77
|
export * from './ApiV1MetricsLatencyGet200ResponseDataValue';
|
|
78
|
+
export * from './ApiV1SubscriptionsIdRefundPreviewPost200Response';
|
|
79
|
+
export * from './ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview';
|
|
80
|
+
export * from './ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner';
|
|
81
|
+
export * from './ApiV1SubscriptionsIdRefundPreviewPostRequest';
|
|
70
82
|
export * from './AssignVariantRequest';
|
|
71
83
|
export * from './BatchOperation';
|
|
72
84
|
export * from './BatchResult';
|
|
@@ -261,6 +273,9 @@ export * from './Invitation';
|
|
|
261
273
|
export * from './InviteOrganizationMember201Response';
|
|
262
274
|
export * from './InviteOrganizationMember201ResponseData';
|
|
263
275
|
export * from './InviteOrganizationMemberRequest';
|
|
276
|
+
export * from './ListAccountNotices200Response';
|
|
277
|
+
export * from './ListAccountNotices200ResponseData';
|
|
278
|
+
export * from './ListAccountNotices200ResponseDataNoticesInner';
|
|
264
279
|
export * from './ListComponents200Response';
|
|
265
280
|
export * from './ListOrganizationTranslations200Response';
|
|
266
281
|
export * from './ListPartnerCustomizations200Response';
|
|
@@ -284,6 +299,7 @@ export * from './MountRequestTheme';
|
|
|
284
299
|
export * from './MountRequestThemeColors';
|
|
285
300
|
export * from './MountRequestThemeTypography';
|
|
286
301
|
export * from './MountResponse';
|
|
302
|
+
export * from './MoveSubscriptionSurfaceRequest';
|
|
287
303
|
export * from './NewAnalyticsEvent';
|
|
288
304
|
export * from './NewComposition';
|
|
289
305
|
export * from './NewFolder';
|
|
@@ -330,6 +346,11 @@ export * from './OrganizationsOrgIdBillingYearlySubscriptionPostRequest';
|
|
|
330
346
|
export * from './PaginationInfo';
|
|
331
347
|
export * from './PartnerCustomization';
|
|
332
348
|
export * from './PingGet200Response';
|
|
349
|
+
export * from './PreviewDeleteCanvas200Response';
|
|
350
|
+
export * from './PreviewDeleteCanvas200ResponseData';
|
|
351
|
+
export * from './PreviewDeleteCanvas200ResponseDataGroupsInner';
|
|
352
|
+
export * from './PreviewWidgetVersion200Response';
|
|
353
|
+
export * from './PreviewWidgetVersion200ResponseData';
|
|
333
354
|
export * from './ProcessBatch200Response';
|
|
334
355
|
export * from './ProcessBatchRequest';
|
|
335
356
|
export * from './ProcessRefund200Response';
|
|
@@ -407,7 +428,6 @@ export * from './UpdateABTestRequest';
|
|
|
407
428
|
export * from './UpdateCanvasRequest';
|
|
408
429
|
export * from './UpdateComponentRequest';
|
|
409
430
|
export * from './UpdateComposition';
|
|
410
|
-
export * from './UpdateCompositionRequest';
|
|
411
431
|
export * from './UpdateCompositionStatusRequest';
|
|
412
432
|
export * from './UpdateConversationRequest';
|
|
413
433
|
export * from './UpdateDemoContentRequest';
|
|
@@ -444,6 +464,9 @@ export * from './UpdateWidgetRepository200Response';
|
|
|
444
464
|
export * from './UpdateWidgetRepository200ResponseData';
|
|
445
465
|
export * from './UpdateWidgetRepositoryRequest';
|
|
446
466
|
export * from './UpdateWidgetRequest';
|
|
467
|
+
export * from './UploadWidgetThumbnail200Response';
|
|
468
|
+
export * from './UploadWidgetThumbnail200ResponseData';
|
|
469
|
+
export * from './UploadWidgetThumbnailRequest';
|
|
447
470
|
export * from './UsersMeBillingGet200Response';
|
|
448
471
|
export * from './UsersMeBillingGet200ResponseData';
|
|
449
472
|
export * from './UsersMeBillingGet200ResponseDataSubscription';
|
|
@@ -451,6 +474,8 @@ export * from './UsersSendFeedbackPost200Response';
|
|
|
451
474
|
export * from './UsersSendFeedbackPostRequest';
|
|
452
475
|
export * from './V1AgentWidgetBuilderBuildPostRequest';
|
|
453
476
|
export * from './ValidateCompositionContent200Response';
|
|
477
|
+
export * from './ValidateInviteCode200Response';
|
|
478
|
+
export * from './ValidateInviteCode200ResponseData';
|
|
454
479
|
export * from './ValidateOrganization200Response';
|
|
455
480
|
export * from './ValidateOrganization200ResponseData';
|
|
456
481
|
export * from './ValidateOrganizationRequest';
|