@widgetic/api-sdk 1.0.20 → 1.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/AdminBillingApi.d.ts +92 -1
- package/dist/apis/AdminBillingApi.js +246 -1
- package/dist/apis/AgentApi.d.ts +17 -5
- package/dist/apis/AgentApi.js +42 -4
- package/dist/apis/AuthenticationApi.d.ts +12 -1
- package/dist/apis/AuthenticationApi.js +31 -0
- package/dist/apis/BillingApi.js +13 -13
- package/dist/apis/CompositionsApi.d.ts +5 -5
- package/dist/apis/CompositionsApi.js +3 -3
- package/dist/apis/CreditsApi.d.ts +4 -4
- package/dist/apis/CreditsApi.js +4 -4
- package/dist/apis/MCPApi.d.ts +6 -6
- package/dist/apis/MCPApi.js +15 -6
- package/dist/apis/NoticesApi.d.ts +41 -0
- package/dist/apis/NoticesApi.js +103 -0
- package/dist/apis/OrganizationsApi.d.ts +17 -4
- package/dist/apis/OrganizationsApi.js +41 -4
- package/dist/apis/SubscriptionsApi.d.ts +32 -4
- package/dist/apis/SubscriptionsApi.js +82 -5
- package/dist/apis/WidgetsApi.d.ts +19 -35
- package/dist/apis/WidgetsApi.js +32 -32
- package/dist/apis/WorkflowsApi.d.ts +2 -2
- package/dist/apis/WorkflowsApi.js +2 -2
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/apis/AdminBillingApi.d.ts +92 -1
- package/dist/esm/apis/AdminBillingApi.js +246 -1
- package/dist/esm/apis/AgentApi.d.ts +17 -5
- package/dist/esm/apis/AgentApi.js +43 -5
- package/dist/esm/apis/AuthenticationApi.d.ts +12 -1
- package/dist/esm/apis/AuthenticationApi.js +32 -1
- package/dist/esm/apis/BillingApi.js +13 -13
- package/dist/esm/apis/CompositionsApi.d.ts +5 -5
- package/dist/esm/apis/CompositionsApi.js +4 -4
- package/dist/esm/apis/CreditsApi.d.ts +4 -4
- package/dist/esm/apis/CreditsApi.js +4 -4
- package/dist/esm/apis/MCPApi.d.ts +6 -6
- package/dist/esm/apis/MCPApi.js +15 -6
- package/dist/esm/apis/NoticesApi.d.ts +41 -0
- package/dist/esm/apis/NoticesApi.js +99 -0
- package/dist/esm/apis/OrganizationsApi.d.ts +17 -4
- package/dist/esm/apis/OrganizationsApi.js +41 -4
- package/dist/esm/apis/SubscriptionsApi.d.ts +32 -4
- package/dist/esm/apis/SubscriptionsApi.js +83 -6
- package/dist/esm/apis/WidgetsApi.d.ts +19 -35
- package/dist/esm/apis/WidgetsApi.js +33 -33
- package/dist/esm/apis/WorkflowsApi.d.ts +2 -2
- package/dist/esm/apis/WorkflowsApi.js +2 -2
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- package/dist/esm/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.d.ts +18 -0
- package/dist/esm/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.js +6 -0
- package/dist/esm/models/AgentWidgetBuilderPublishWidgetIdPostRequest.d.ts +6 -0
- package/dist/esm/models/AgentWidgetBuilderPublishWidgetIdPostRequest.js +2 -0
- package/dist/esm/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.d.ts +32 -0
- package/dist/esm/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.js +41 -0
- package/dist/esm/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +32 -0
- package/dist/esm/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +43 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200Response.js +44 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.d.ts +57 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.js +50 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.d.ts +68 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.js +53 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPostRequest.d.ts +8 -8
- package/dist/esm/models/ApiV1AdminBillingRefundsPostRequest.js +4 -4
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200Response.d.ts +71 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200Response.js +59 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js +48 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPostRequest.d.ts +70 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPostRequest.js +62 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.js +44 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.d.ts +33 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.js +42 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +62 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.js +51 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.js +44 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.d.ts +33 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.js +42 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.d.ts +32 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.js +43 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.js +44 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.d.ts +50 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.js +47 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200Response.js +44 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.d.ts +32 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.js +41 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPostRequest.d.ts +32 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPostRequest.js +41 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.d.ts +1 -2
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.js +1 -2
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.d.ts +71 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.js +59 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js +48 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.d.ts +38 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js +43 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.d.ts +44 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.js +45 -0
- package/dist/esm/models/ConfigureAutoReloadRequest.d.ts +6 -0
- package/dist/esm/models/ConfigureAutoReloadRequest.js +2 -0
- package/dist/esm/models/CreateMessageRequest.d.ts +13 -0
- package/dist/esm/models/CreateMessageRequest.js +2 -0
- package/dist/esm/models/GenerateCodeRequest.d.ts +42 -0
- package/dist/esm/models/GenerateCodeRequest.js +14 -0
- package/dist/esm/models/GetCompositionsBatch200ResponseErrorsInner.d.ts +38 -0
- package/dist/esm/models/GetCompositionsBatch200ResponseErrorsInner.js +43 -0
- package/dist/esm/models/GetWidgetPublishHistory200ResponseDataInner.d.ts +13 -1
- package/dist/esm/models/GetWidgetPublishHistory200ResponseDataInner.js +4 -0
- package/dist/esm/models/ListAccountNotices200Response.d.ts +39 -0
- package/dist/esm/models/ListAccountNotices200Response.js +44 -0
- package/dist/esm/models/ListAccountNotices200ResponseData.d.ts +33 -0
- package/dist/esm/models/ListAccountNotices200ResponseData.js +42 -0
- package/dist/esm/models/ListAccountNotices200ResponseDataNoticesInner.d.ts +68 -0
- package/dist/esm/models/ListAccountNotices200ResponseDataNoticesInner.js +53 -0
- package/dist/esm/models/LoginUser200Response.d.ts +38 -0
- package/dist/esm/models/LoginUser200Response.js +43 -0
- package/dist/esm/models/MoveSubscriptionSurfaceRequest.d.ts +58 -0
- package/dist/esm/models/MoveSubscriptionSurfaceRequest.js +56 -0
- package/dist/esm/models/OrganizationsOrgIdBillingMembersUpdatePostRequest.d.ts +1 -1
- package/dist/esm/models/OrganizationsOrgIdBillingYearlyMembersAddPostRequest.d.ts +1 -1
- package/dist/esm/models/OrganizationsOrgIdBillingYearlyMembersRemovePostRequest.d.ts +1 -1
- package/dist/esm/models/PreviewWidgetVersion200Response.d.ts +39 -0
- package/dist/esm/models/PreviewWidgetVersion200Response.js +48 -0
- package/dist/esm/models/PreviewWidgetVersion200ResponseData.d.ts +56 -0
- package/dist/esm/models/PreviewWidgetVersion200ResponseData.js +57 -0
- package/dist/esm/models/ProcessRefund200Response.d.ts +6 -0
- package/dist/esm/models/ProcessRefund200Response.js +2 -0
- package/dist/esm/models/RefundRequest.d.ts +10 -4
- package/dist/esm/models/RefundRequest.js +4 -4
- package/dist/esm/models/RollbackComponent200Response.d.ts +38 -0
- package/dist/esm/models/RollbackComponent200Response.js +43 -0
- package/dist/esm/models/SignupUserRequest.d.ts +6 -0
- package/dist/esm/models/SignupUserRequest.js +2 -0
- package/dist/esm/models/UpdateSubscription.d.ts +30 -8
- package/dist/esm/models/UpdateSubscription.js +21 -8
- package/dist/esm/models/UploadWidgetThumbnail200Response.d.ts +39 -0
- package/dist/esm/models/UploadWidgetThumbnail200Response.js +44 -0
- package/dist/esm/models/UploadWidgetThumbnail200ResponseData.d.ts +32 -0
- package/dist/esm/models/UploadWidgetThumbnail200ResponseData.js +41 -0
- package/dist/esm/models/UploadWidgetThumbnailRequest.d.ts +32 -0
- package/dist/esm/models/UploadWidgetThumbnailRequest.js +43 -0
- package/dist/esm/models/ValidateInviteCode200Response.d.ts +39 -0
- package/dist/esm/models/ValidateInviteCode200Response.js +44 -0
- package/dist/esm/models/ValidateInviteCode200ResponseData.d.ts +44 -0
- package/dist/esm/models/ValidateInviteCode200ResponseData.js +45 -0
- package/dist/esm/models/index.d.ts +28 -1
- package/dist/esm/models/index.js +28 -1
- package/dist/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.d.ts +18 -0
- package/dist/models/AgentWidgetBuilderPublishWidgetIdPost200ResponseData.js +6 -0
- package/dist/models/AgentWidgetBuilderPublishWidgetIdPostRequest.d.ts +6 -0
- package/dist/models/AgentWidgetBuilderPublishWidgetIdPostRequest.js +2 -0
- package/dist/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.d.ts +32 -0
- package/dist/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.js +48 -0
- package/dist/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +32 -0
- package/dist/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +50 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200Response.d.ts +39 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200Response.js +51 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.d.ts +57 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.js +57 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.d.ts +68 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.js +60 -0
- package/dist/models/ApiV1AdminBillingRefundsPostRequest.d.ts +8 -8
- package/dist/models/ApiV1AdminBillingRefundsPostRequest.js +4 -4
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200Response.d.ts +71 -0
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200Response.js +67 -0
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js +55 -0
- package/dist/models/ApiV1AdminBillingRefundsPreviewPostRequest.d.ts +70 -0
- package/dist/models/ApiV1AdminBillingRefundsPreviewPostRequest.js +70 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.d.ts +39 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.js +51 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.d.ts +33 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.js +49 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +62 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.js +58 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.d.ts +39 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.js +51 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.d.ts +33 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.js +49 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.d.ts +32 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.js +50 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.d.ts +39 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.js +51 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.d.ts +50 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.js +54 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200Response.d.ts +39 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200Response.js +51 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.d.ts +32 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.js +48 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPostRequest.d.ts +32 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPostRequest.js +48 -0
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.d.ts +1 -2
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.js +1 -2
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.d.ts +71 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.js +67 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js +55 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.d.ts +38 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js +50 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.d.ts +44 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.js +52 -0
- package/dist/models/ConfigureAutoReloadRequest.d.ts +6 -0
- package/dist/models/ConfigureAutoReloadRequest.js +2 -0
- package/dist/models/CreateMessageRequest.d.ts +13 -0
- package/dist/models/CreateMessageRequest.js +2 -0
- package/dist/models/GenerateCodeRequest.d.ts +42 -0
- package/dist/models/GenerateCodeRequest.js +14 -0
- package/dist/models/GetCompositionsBatch200ResponseErrorsInner.d.ts +38 -0
- package/dist/models/GetCompositionsBatch200ResponseErrorsInner.js +50 -0
- package/dist/models/GetWidgetPublishHistory200ResponseDataInner.d.ts +13 -1
- package/dist/models/GetWidgetPublishHistory200ResponseDataInner.js +4 -0
- package/dist/models/ListAccountNotices200Response.d.ts +39 -0
- package/dist/models/ListAccountNotices200Response.js +51 -0
- package/dist/models/ListAccountNotices200ResponseData.d.ts +33 -0
- package/dist/models/ListAccountNotices200ResponseData.js +49 -0
- package/dist/models/ListAccountNotices200ResponseDataNoticesInner.d.ts +68 -0
- package/dist/models/ListAccountNotices200ResponseDataNoticesInner.js +60 -0
- package/dist/models/LoginUser200Response.d.ts +38 -0
- package/dist/models/LoginUser200Response.js +50 -0
- package/dist/models/MoveSubscriptionSurfaceRequest.d.ts +58 -0
- package/dist/models/MoveSubscriptionSurfaceRequest.js +64 -0
- package/dist/models/OrganizationsOrgIdBillingMembersUpdatePostRequest.d.ts +1 -1
- package/dist/models/OrganizationsOrgIdBillingYearlyMembersAddPostRequest.d.ts +1 -1
- package/dist/models/OrganizationsOrgIdBillingYearlyMembersRemovePostRequest.d.ts +1 -1
- package/dist/models/PreviewWidgetVersion200Response.d.ts +39 -0
- package/dist/models/PreviewWidgetVersion200Response.js +55 -0
- package/dist/models/PreviewWidgetVersion200ResponseData.d.ts +56 -0
- package/dist/models/PreviewWidgetVersion200ResponseData.js +64 -0
- package/dist/models/ProcessRefund200Response.d.ts +6 -0
- package/dist/models/ProcessRefund200Response.js +2 -0
- package/dist/models/RefundRequest.d.ts +10 -4
- package/dist/models/RefundRequest.js +4 -4
- package/dist/models/RollbackComponent200Response.d.ts +38 -0
- package/dist/models/RollbackComponent200Response.js +50 -0
- package/dist/models/SignupUserRequest.d.ts +6 -0
- package/dist/models/SignupUserRequest.js +2 -0
- package/dist/models/UpdateSubscription.d.ts +30 -8
- package/dist/models/UpdateSubscription.js +22 -9
- package/dist/models/UploadWidgetThumbnail200Response.d.ts +39 -0
- package/dist/models/UploadWidgetThumbnail200Response.js +51 -0
- package/dist/models/UploadWidgetThumbnail200ResponseData.d.ts +32 -0
- package/dist/models/UploadWidgetThumbnail200ResponseData.js +48 -0
- package/dist/models/UploadWidgetThumbnailRequest.d.ts +32 -0
- package/dist/models/UploadWidgetThumbnailRequest.js +50 -0
- package/dist/models/ValidateInviteCode200Response.d.ts +39 -0
- package/dist/models/ValidateInviteCode200Response.js +51 -0
- package/dist/models/ValidateInviteCode200ResponseData.d.ts +44 -0
- package/dist/models/ValidateInviteCode200ResponseData.js +52 -0
- package/dist/models/index.d.ts +28 -1
- package/dist/models/index.js +28 -1
- package/package.json +1 -1
|
@@ -0,0 +1,57 @@
|
|
|
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 PreviewWidgetVersion200ResponseData interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPreviewWidgetVersion200ResponseData(value) {
|
|
18
|
+
if (!('widgetId' in value) || value['widgetId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('version' in value) || value['version'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('commitSha' in value) || value['commitSha'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('previewUrl' in value) || value['previewUrl'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function PreviewWidgetVersion200ResponseDataFromJSON(json) {
|
|
29
|
+
return PreviewWidgetVersion200ResponseDataFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function PreviewWidgetVersion200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'widgetId': json['widgetId'],
|
|
37
|
+
'version': json['version'],
|
|
38
|
+
'commitSha': json['commitSha'],
|
|
39
|
+
'previewUrl': json['previewUrl'],
|
|
40
|
+
'buildTimeMs': json['buildTimeMs'] == null ? undefined : json['buildTimeMs'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export function PreviewWidgetVersion200ResponseDataToJSON(json) {
|
|
44
|
+
return PreviewWidgetVersion200ResponseDataToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
export function PreviewWidgetVersion200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'widgetId': value['widgetId'],
|
|
52
|
+
'version': value['version'],
|
|
53
|
+
'commitSha': value['commitSha'],
|
|
54
|
+
'previewUrl': value['previewUrl'],
|
|
55
|
+
'buildTimeMs': value['buildTimeMs'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -27,6 +27,12 @@ export interface ProcessRefund200Response {
|
|
|
27
27
|
* @memberof ProcessRefund200Response
|
|
28
28
|
*/
|
|
29
29
|
refundId?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ProcessRefund200Response
|
|
34
|
+
*/
|
|
35
|
+
status?: string;
|
|
30
36
|
}
|
|
31
37
|
/**
|
|
32
38
|
* Check if a given object implements the ProcessRefund200Response interface.
|
|
@@ -27,6 +27,7 @@ export function ProcessRefund200ResponseFromJSONTyped(json, ignoreDiscriminator)
|
|
|
27
27
|
return {
|
|
28
28
|
'success': json['success'] == null ? undefined : json['success'],
|
|
29
29
|
'refundId': json['refundId'] == null ? undefined : json['refundId'],
|
|
30
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
30
31
|
};
|
|
31
32
|
}
|
|
32
33
|
export function ProcessRefund200ResponseToJSON(json) {
|
|
@@ -39,5 +40,6 @@ export function ProcessRefund200ResponseToJSONTyped(value, ignoreDiscriminator =
|
|
|
39
40
|
return {
|
|
40
41
|
'success': value['success'],
|
|
41
42
|
'refundId': value['refundId'],
|
|
43
|
+
'status': value['status'],
|
|
42
44
|
};
|
|
43
45
|
}
|
|
@@ -10,17 +10,23 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
* Request to process a refund for a subscription
|
|
13
|
+
* Request to process a refund for a subscription. Both fields are optional: when neither is given, the subscription in the path names the charge — its latest paid invoice, resolved server-side. A caller that names a charge gets exactly that charge refunded.
|
|
14
14
|
* @export
|
|
15
15
|
* @interface RefundRequest
|
|
16
16
|
*/
|
|
17
17
|
export interface RefundRequest {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {
|
|
19
|
+
* Stripe payment intent of the charge to refund
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RefundRequest
|
|
22
|
+
*/
|
|
23
|
+
paymentIntentId?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Stripe invoice the charge was collected on (alternative to paymentIntentId)
|
|
26
|
+
* @type {string}
|
|
21
27
|
* @memberof RefundRequest
|
|
22
28
|
*/
|
|
23
|
-
|
|
29
|
+
stripeInvoiceId?: string;
|
|
24
30
|
/**
|
|
25
31
|
* Reason for the refund
|
|
26
32
|
* @type {string}
|
|
@@ -15,8 +15,6 @@
|
|
|
15
15
|
* Check if a given object implements the RefundRequest interface.
|
|
16
16
|
*/
|
|
17
17
|
export function instanceOfRefundRequest(value) {
|
|
18
|
-
if (!('amount' in value) || value['amount'] === undefined)
|
|
19
|
-
return false;
|
|
20
18
|
return true;
|
|
21
19
|
}
|
|
22
20
|
export function RefundRequestFromJSON(json) {
|
|
@@ -27,7 +25,8 @@ export function RefundRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
25
|
return json;
|
|
28
26
|
}
|
|
29
27
|
return {
|
|
30
|
-
'
|
|
28
|
+
'paymentIntentId': json['paymentIntentId'] == null ? undefined : json['paymentIntentId'],
|
|
29
|
+
'stripeInvoiceId': json['stripeInvoiceId'] == null ? undefined : json['stripeInvoiceId'],
|
|
31
30
|
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
32
31
|
};
|
|
33
32
|
}
|
|
@@ -39,7 +38,8 @@ export function RefundRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
39
38
|
return value;
|
|
40
39
|
}
|
|
41
40
|
return {
|
|
42
|
-
'
|
|
41
|
+
'paymentIntentId': value['paymentIntentId'],
|
|
42
|
+
'stripeInvoiceId': value['stripeInvoiceId'],
|
|
43
43
|
'reason': value['reason'],
|
|
44
44
|
};
|
|
45
45
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 RollbackComponent200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface RollbackComponent200Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof RollbackComponent200Response
|
|
22
|
+
*/
|
|
23
|
+
success?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof RollbackComponent200Response
|
|
28
|
+
*/
|
|
29
|
+
message?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the RollbackComponent200Response interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfRollbackComponent200Response(value: object): value is RollbackComponent200Response;
|
|
35
|
+
export declare function RollbackComponent200ResponseFromJSON(json: any): RollbackComponent200Response;
|
|
36
|
+
export declare function RollbackComponent200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RollbackComponent200Response;
|
|
37
|
+
export declare function RollbackComponent200ResponseToJSON(json: any): RollbackComponent200Response;
|
|
38
|
+
export declare function RollbackComponent200ResponseToJSONTyped(value?: RollbackComponent200Response | 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 RollbackComponent200Response interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfRollbackComponent200Response(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function RollbackComponent200ResponseFromJSON(json) {
|
|
21
|
+
return RollbackComponent200ResponseFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function RollbackComponent200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'success': json['success'] == null ? undefined : json['success'],
|
|
29
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function RollbackComponent200ResponseToJSON(json) {
|
|
33
|
+
return RollbackComponent200ResponseToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function RollbackComponent200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'success': value['success'],
|
|
41
|
+
'message': value['message'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -39,6 +39,12 @@ export interface SignupUserRequest {
|
|
|
39
39
|
* @memberof SignupUserRequest
|
|
40
40
|
*/
|
|
41
41
|
plan?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SignupUserRequest
|
|
46
|
+
*/
|
|
47
|
+
inviteCode?: string;
|
|
42
48
|
}
|
|
43
49
|
/**
|
|
44
50
|
* Check if a given object implements the SignupUserRequest interface.
|
|
@@ -33,6 +33,7 @@ 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'],
|
|
36
37
|
};
|
|
37
38
|
}
|
|
38
39
|
export function SignupUserRequestToJSON(json) {
|
|
@@ -47,5 +48,6 @@ export function SignupUserRequestToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
47
48
|
'password': value['password'],
|
|
48
49
|
'role': value['role'],
|
|
49
50
|
'plan': value['plan'],
|
|
51
|
+
'inviteCode': value['inviteCode'],
|
|
50
52
|
};
|
|
51
53
|
}
|
|
@@ -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;
|