@widgetic/api-sdk 1.0.31 → 1.0.33
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/README.md +4 -0
- package/dist/apis/AdminApi.d.ts +30 -46
- package/dist/apis/AdminApi.js +53 -102
- package/dist/apis/AdminBillingApi.d.ts +2 -2
- package/dist/apis/AdminBillingApi.js +2 -2
- package/dist/apis/BillingApi.d.ts +44 -1
- package/dist/apis/BillingApi.js +127 -0
- package/dist/apis/CompositionsApi.d.ts +19 -15
- package/dist/apis/CompositionsApi.js +21 -14
- package/dist/apis/CreditsApi.d.ts +7 -7
- package/dist/apis/CreditsApi.js +5 -5
- package/dist/apis/OrganizationsApi.d.ts +35 -7
- package/dist/apis/OrganizationsApi.js +86 -6
- package/dist/apis/PartnerApi.d.ts +141 -36
- package/dist/apis/PartnerApi.js +333 -31
- package/dist/apis/PartnerCustomizationsApi.d.ts +4 -4
- package/dist/apis/PartnerCustomizationsApi.js +4 -4
- package/dist/apis/PartnersApi.d.ts +85 -67
- package/dist/apis/PartnersApi.js +198 -119
- package/dist/apis/PublicEmbedApi.d.ts +42 -3
- package/dist/apis/PublicEmbedApi.js +99 -2
- package/dist/apis/SubscriptionsApi.d.ts +2 -2
- package/dist/apis/SubscriptionsApi.js +2 -2
- package/dist/apis/UploadsApi.d.ts +4 -4
- package/dist/apis/UploadsApi.js +4 -4
- package/dist/apis/UsersApi.d.ts +4 -4
- package/dist/apis/UsersApi.js +4 -4
- package/dist/apis/index.d.ts +0 -4
- package/dist/apis/index.js +0 -4
- package/dist/esm/apis/AdminApi.d.ts +30 -46
- package/dist/esm/apis/AdminApi.js +54 -103
- package/dist/esm/apis/AdminBillingApi.d.ts +2 -2
- package/dist/esm/apis/AdminBillingApi.js +2 -2
- package/dist/esm/apis/BillingApi.d.ts +44 -1
- package/dist/esm/apis/BillingApi.js +128 -1
- package/dist/esm/apis/CompositionsApi.d.ts +19 -15
- package/dist/esm/apis/CompositionsApi.js +22 -15
- package/dist/esm/apis/CreditsApi.d.ts +7 -7
- package/dist/esm/apis/CreditsApi.js +6 -6
- package/dist/esm/apis/OrganizationsApi.d.ts +35 -7
- package/dist/esm/apis/OrganizationsApi.js +87 -7
- package/dist/esm/apis/PartnerApi.d.ts +141 -36
- package/dist/esm/apis/PartnerApi.js +334 -32
- package/dist/esm/apis/PartnerCustomizationsApi.d.ts +4 -4
- package/dist/esm/apis/PartnerCustomizationsApi.js +4 -4
- package/dist/esm/apis/PartnersApi.d.ts +85 -67
- package/dist/esm/apis/PartnersApi.js +198 -119
- package/dist/esm/apis/PublicEmbedApi.d.ts +42 -3
- package/dist/esm/apis/PublicEmbedApi.js +100 -3
- package/dist/esm/apis/SubscriptionsApi.d.ts +2 -2
- package/dist/esm/apis/SubscriptionsApi.js +2 -2
- package/dist/esm/apis/UploadsApi.d.ts +4 -4
- package/dist/esm/apis/UploadsApi.js +4 -4
- package/dist/esm/apis/UsersApi.d.ts +4 -4
- package/dist/esm/apis/UsersApi.js +4 -4
- package/dist/esm/apis/index.d.ts +0 -4
- package/dist/esm/apis/index.js +0 -4
- package/dist/esm/models/BillingUsersUserIdStorageCancelPackPostRequest.d.ts +40 -0
- package/dist/esm/models/BillingUsersUserIdStorageCancelPackPostRequest.js +43 -0
- package/dist/esm/models/BillingUsersUserIdStorageGet200Response.d.ts +39 -0
- package/dist/esm/models/BillingUsersUserIdStorageGet200Response.js +44 -0
- package/dist/esm/models/BillingUsersUserIdStorageGet200ResponseData.d.ts +33 -0
- package/dist/esm/models/BillingUsersUserIdStorageGet200ResponseData.js +42 -0
- package/dist/esm/models/Composition.d.ts +12 -0
- package/dist/esm/models/Composition.js +2 -0
- package/dist/esm/models/CompositionDataSource.d.ts +41 -0
- package/dist/esm/models/CompositionDataSource.js +47 -0
- package/dist/esm/models/CompositionEntriesReading.d.ts +20 -4
- package/dist/esm/models/CompositionEntriesReading.js +3 -0
- package/dist/esm/models/CompositionEntryAggregateTally.d.ts +15 -8
- package/dist/esm/models/CompositionEntryAggregatesBlock.d.ts +10 -0
- package/dist/esm/models/CompositionEntryItem.d.ts +4 -1
- package/dist/esm/models/CompositionEntryItemsMeta.d.ts +8 -0
- package/dist/esm/models/ConvertSoloToTeams200Response.d.ts +39 -0
- package/dist/esm/models/ConvertSoloToTeams200Response.js +44 -0
- package/dist/esm/models/CreatePartnerRequest.d.ts +7 -0
- package/dist/esm/models/CreatePartnerRequest.js +2 -0
- package/dist/esm/models/DeleteCompositionDataSource200Response.d.ts +32 -0
- package/dist/esm/models/DeleteCompositionDataSource200Response.js +43 -0
- package/dist/esm/models/GetCompositionContentSchema200Response.d.ts +2 -2
- package/dist/esm/models/GetOrganizationPricing200ResponseDataStorage.d.ts +3 -2
- package/dist/esm/models/GetOrganizationStorageUsage200ResponseDataStorageUsage.d.ts +5 -5
- package/dist/esm/models/GetPartnerCreditTransactions200Response.d.ts +39 -0
- package/dist/esm/models/GetPartnerCreditTransactions200Response.js +44 -0
- package/dist/esm/models/GetPublicCompositionEmbed200Response.d.ts +106 -0
- package/dist/esm/models/GetPublicCompositionEmbed200Response.js +67 -0
- package/dist/esm/models/GetPublicCompositionEmbed200ResponseDataSource.d.ts +38 -0
- package/dist/esm/models/GetPublicCompositionEmbed200ResponseDataSource.js +43 -0
- package/dist/esm/models/GetPublicCompositionEmbed200ResponseDirect.d.ts +44 -0
- package/dist/esm/models/GetPublicCompositionEmbed200ResponseDirect.js +45 -0
- package/dist/esm/models/GetPublicCompositionEmbed403Response.d.ts +51 -0
- package/dist/esm/models/GetPublicCompositionEmbed403Response.js +48 -0
- package/dist/esm/models/GetPublicCompositionEmbed403ResponseDetails.d.ts +46 -0
- package/dist/esm/models/GetPublicCompositionEmbed403ResponseDetails.js +50 -0
- package/dist/esm/models/GetPublicCompositionEmbed404Response.d.ts +47 -0
- package/dist/esm/models/GetPublicCompositionEmbed404Response.js +51 -0
- package/dist/esm/models/GetPublicCompositionEmbed429Response.d.ts +38 -0
- package/dist/esm/models/GetPublicCompositionEmbed429Response.js +43 -0
- package/dist/esm/models/IssuePartnerInvoiceRequest.d.ts +14 -1
- package/dist/esm/models/IssuePartnerInvoiceRequest.js +2 -0
- package/dist/esm/models/IssuedPartnerInvoice.d.ts +6 -0
- package/dist/esm/models/IssuedPartnerInvoice.js +4 -0
- package/dist/esm/models/ManagedUserEntryItem.d.ts +4 -1
- package/dist/esm/models/MyPartner.d.ts +7 -0
- package/dist/esm/models/MyPartner.js +4 -0
- package/dist/esm/models/MyPartners.d.ts +9 -1
- package/dist/esm/models/MyPartners.js +6 -1
- package/dist/esm/models/OrganizationsOrgIdBillingGet200ResponseData.d.ts +25 -5
- package/dist/esm/models/OrganizationsOrgIdBillingGet200ResponseData.js +9 -0
- package/dist/esm/models/Partner.d.ts +7 -0
- package/dist/esm/models/Partner.js +2 -0
- package/dist/esm/models/PartnerActivation.d.ts +1 -1
- package/dist/esm/models/PartnerBillingOverviewOperationalCredits.d.ts +0 -14
- package/dist/esm/models/PartnerBillingOverviewOperationalCredits.js +0 -4
- package/dist/esm/models/PartnerBillingProfile.d.ts +1 -1
- package/dist/esm/models/PartnerContract.d.ts +15 -3
- package/dist/esm/models/PartnerContract.js +6 -2
- package/dist/esm/models/PartnerCustomization.d.ts +15 -3
- package/dist/esm/models/PartnerCustomization.js +6 -2
- package/dist/esm/models/PartnerDetails.d.ts +7 -0
- package/dist/esm/models/PartnerDetails.js +2 -0
- package/dist/esm/models/PartnerEntryContextSecret.d.ts +39 -0
- package/dist/esm/models/PartnerEntryContextSecret.js +48 -0
- package/dist/esm/models/PartnerEntryContextSigning.d.ts +62 -0
- package/dist/esm/models/PartnerEntryContextSigning.js +63 -0
- package/dist/esm/models/PartnerExtraCreditsInvoice.d.ts +98 -0
- package/dist/esm/models/PartnerExtraCreditsInvoice.js +87 -0
- package/dist/esm/models/PartnerInvoiceSchedule.d.ts +66 -0
- package/dist/esm/models/PartnerInvoiceSchedule.js +67 -0
- package/dist/esm/models/PartnerInvoiceScheduleContract.d.ts +68 -0
- package/dist/esm/models/PartnerInvoiceScheduleContract.js +67 -0
- package/dist/esm/models/PartnerInvoiceScheduleNext.d.ts +94 -0
- package/dist/esm/models/PartnerInvoiceScheduleNext.js +91 -0
- package/dist/esm/models/PartnerInvoiceScheduleNextPeriod.d.ts +38 -0
- package/dist/esm/models/PartnerInvoiceScheduleNextPeriod.js +47 -0
- package/dist/esm/models/PartnerInvoiceScheduleOverdue.d.ts +38 -0
- package/dist/esm/models/PartnerInvoiceScheduleOverdue.js +47 -0
- package/dist/esm/models/PartnerInvoiceSchedulePeriod.d.ts +101 -0
- package/dist/esm/models/PartnerInvoiceSchedulePeriod.js +91 -0
- package/dist/esm/models/PartnerNotification.d.ts +1 -1
- package/dist/esm/models/PartnerNotificationEventType.d.ts +2 -0
- package/dist/esm/models/PartnerNotificationEventType.js +2 -0
- package/dist/esm/models/PartnerNotificationTestEventRequest.d.ts +33 -0
- package/dist/esm/models/PartnerNotificationTestEventRequest.js +44 -0
- package/dist/esm/models/PartnerNotificationTestEventResult.d.ts +50 -0
- package/dist/esm/models/PartnerNotificationTestEventResult.js +53 -0
- package/dist/esm/models/PartnerUpdateResult.d.ts +8 -16
- package/dist/esm/models/PartnerUpdateResult.js +2 -5
- package/dist/esm/models/PartnerWithWarnings.d.ts +7 -0
- package/dist/esm/models/PartnerWithWarnings.js +2 -0
- package/dist/esm/models/PersonalExtraStorage.d.ts +92 -0
- package/dist/esm/models/PersonalExtraStorage.js +83 -0
- package/dist/esm/models/PersonalExtraStorageBlock.d.ts +56 -0
- package/dist/esm/models/PersonalExtraStorageBlock.js +57 -0
- package/dist/esm/models/PersonalStorage.d.ts +80 -0
- package/dist/esm/models/PersonalStorage.js +73 -0
- package/dist/esm/models/PersonalStoragePack.d.ts +100 -0
- package/dist/esm/models/PersonalStoragePack.js +84 -0
- package/dist/esm/models/PostPublicCompositionEmbedStatus200Response.d.ts +39 -0
- package/dist/esm/models/PostPublicCompositionEmbedStatus200Response.js +44 -0
- package/dist/esm/models/PostPublicCompositionEmbedStatus200ResponseData.d.ts +45 -0
- package/dist/esm/models/PostPublicCompositionEmbedStatus200ResponseData.js +51 -0
- package/dist/esm/models/PostPublicCompositionEmbedStatus429Response.d.ts +32 -0
- package/dist/esm/models/PostPublicCompositionEmbedStatus429Response.js +41 -0
- package/dist/esm/models/PostPublicCompositionEmbedStatusRequest.d.ts +32 -0
- package/dist/esm/models/PostPublicCompositionEmbedStatusRequest.js +43 -0
- package/dist/esm/models/PublicCompositionEntryRequest.d.ts +1 -1
- package/dist/esm/models/RequestExtraCredits.d.ts +33 -0
- package/dist/esm/models/RequestExtraCredits.js +43 -0
- package/dist/esm/models/StorageChange.d.ts +4 -3
- package/dist/esm/models/SurfaceConversionResult.d.ts +85 -0
- package/dist/esm/models/SurfaceConversionResult.js +76 -0
- package/dist/esm/models/SurfaceConversionResultSubscription.d.ts +82 -0
- package/dist/esm/models/SurfaceConversionResultSubscription.js +62 -0
- package/dist/esm/models/UpdatePartnerCustomizationRequest.d.ts +3 -3
- package/dist/esm/models/UpdatePartnerCustomizationRequest.js +2 -2
- package/dist/esm/models/UpdatePartnerEntryContextSigningRequest.d.ts +32 -0
- package/dist/esm/models/UpdatePartnerEntryContextSigningRequest.js +43 -0
- package/dist/esm/models/UpdatePartnerRequest.d.ts +7 -24
- package/dist/esm/models/UpdatePartnerRequest.js +2 -8
- package/dist/esm/models/index.d.ts +37 -86
- package/dist/esm/models/index.js +37 -86
- package/dist/models/BillingUsersUserIdStorageCancelPackPostRequest.d.ts +40 -0
- package/dist/models/BillingUsersUserIdStorageCancelPackPostRequest.js +50 -0
- package/dist/models/BillingUsersUserIdStorageGet200Response.d.ts +39 -0
- package/dist/models/BillingUsersUserIdStorageGet200Response.js +51 -0
- package/dist/models/BillingUsersUserIdStorageGet200ResponseData.d.ts +33 -0
- package/dist/models/BillingUsersUserIdStorageGet200ResponseData.js +49 -0
- package/dist/models/Composition.d.ts +12 -0
- package/dist/models/Composition.js +2 -0
- package/dist/models/CompositionDataSource.d.ts +41 -0
- package/dist/models/CompositionDataSource.js +54 -0
- package/dist/models/CompositionEntriesReading.d.ts +20 -4
- package/dist/models/CompositionEntriesReading.js +3 -0
- package/dist/models/CompositionEntryAggregateTally.d.ts +15 -8
- package/dist/models/CompositionEntryAggregatesBlock.d.ts +10 -0
- package/dist/models/CompositionEntryItem.d.ts +4 -1
- package/dist/models/CompositionEntryItemsMeta.d.ts +8 -0
- package/dist/models/ConvertSoloToTeams200Response.d.ts +39 -0
- package/dist/models/ConvertSoloToTeams200Response.js +51 -0
- package/dist/models/CreatePartnerRequest.d.ts +7 -0
- package/dist/models/CreatePartnerRequest.js +2 -0
- package/dist/models/DeleteCompositionDataSource200Response.d.ts +32 -0
- package/dist/models/DeleteCompositionDataSource200Response.js +50 -0
- package/dist/models/GetCompositionContentSchema200Response.d.ts +2 -2
- package/dist/models/GetOrganizationPricing200ResponseDataStorage.d.ts +3 -2
- package/dist/models/GetOrganizationStorageUsage200ResponseDataStorageUsage.d.ts +5 -5
- package/dist/models/GetPartnerCreditTransactions200Response.d.ts +39 -0
- package/dist/models/GetPartnerCreditTransactions200Response.js +51 -0
- package/dist/models/GetPublicCompositionEmbed200Response.d.ts +106 -0
- package/dist/models/GetPublicCompositionEmbed200Response.js +74 -0
- package/dist/models/GetPublicCompositionEmbed200ResponseDataSource.d.ts +38 -0
- package/dist/models/GetPublicCompositionEmbed200ResponseDataSource.js +50 -0
- package/dist/models/GetPublicCompositionEmbed200ResponseDirect.d.ts +44 -0
- package/dist/models/GetPublicCompositionEmbed200ResponseDirect.js +52 -0
- package/dist/models/GetPublicCompositionEmbed403Response.d.ts +51 -0
- package/dist/models/GetPublicCompositionEmbed403Response.js +55 -0
- package/dist/models/GetPublicCompositionEmbed403ResponseDetails.d.ts +46 -0
- package/dist/models/GetPublicCompositionEmbed403ResponseDetails.js +58 -0
- package/dist/models/GetPublicCompositionEmbed404Response.d.ts +47 -0
- package/dist/models/GetPublicCompositionEmbed404Response.js +59 -0
- package/dist/models/GetPublicCompositionEmbed429Response.d.ts +38 -0
- package/dist/models/GetPublicCompositionEmbed429Response.js +50 -0
- package/dist/models/IssuePartnerInvoiceRequest.d.ts +14 -1
- package/dist/models/IssuePartnerInvoiceRequest.js +2 -0
- package/dist/models/IssuedPartnerInvoice.d.ts +6 -0
- package/dist/models/IssuedPartnerInvoice.js +4 -0
- package/dist/models/ManagedUserEntryItem.d.ts +4 -1
- package/dist/models/MyPartner.d.ts +7 -0
- package/dist/models/MyPartner.js +4 -0
- package/dist/models/MyPartners.d.ts +9 -1
- package/dist/models/MyPartners.js +6 -1
- package/dist/models/OrganizationsOrgIdBillingGet200ResponseData.d.ts +25 -5
- package/dist/models/OrganizationsOrgIdBillingGet200ResponseData.js +10 -0
- package/dist/models/Partner.d.ts +7 -0
- package/dist/models/Partner.js +2 -0
- package/dist/models/PartnerActivation.d.ts +1 -1
- package/dist/models/PartnerBillingOverviewOperationalCredits.d.ts +0 -14
- package/dist/models/PartnerBillingOverviewOperationalCredits.js +0 -4
- package/dist/models/PartnerBillingProfile.d.ts +1 -1
- package/dist/models/PartnerContract.d.ts +15 -3
- package/dist/models/PartnerContract.js +6 -2
- package/dist/models/PartnerCustomization.d.ts +15 -3
- package/dist/models/PartnerCustomization.js +6 -2
- package/dist/models/PartnerDetails.d.ts +7 -0
- package/dist/models/PartnerDetails.js +2 -0
- package/dist/models/PartnerEntryContextSecret.d.ts +39 -0
- package/dist/models/PartnerEntryContextSecret.js +55 -0
- package/dist/models/PartnerEntryContextSigning.d.ts +62 -0
- package/dist/models/PartnerEntryContextSigning.js +70 -0
- package/dist/models/PartnerExtraCreditsInvoice.d.ts +98 -0
- package/dist/models/PartnerExtraCreditsInvoice.js +94 -0
- package/dist/models/PartnerInvoiceSchedule.d.ts +66 -0
- package/dist/models/PartnerInvoiceSchedule.js +74 -0
- package/dist/models/PartnerInvoiceScheduleContract.d.ts +68 -0
- package/dist/models/PartnerInvoiceScheduleContract.js +74 -0
- package/dist/models/PartnerInvoiceScheduleNext.d.ts +94 -0
- package/dist/models/PartnerInvoiceScheduleNext.js +99 -0
- package/dist/models/PartnerInvoiceScheduleNextPeriod.d.ts +38 -0
- package/dist/models/PartnerInvoiceScheduleNextPeriod.js +54 -0
- package/dist/models/PartnerInvoiceScheduleOverdue.d.ts +38 -0
- package/dist/models/PartnerInvoiceScheduleOverdue.js +54 -0
- package/dist/models/PartnerInvoiceSchedulePeriod.d.ts +101 -0
- package/dist/models/PartnerInvoiceSchedulePeriod.js +99 -0
- package/dist/models/PartnerNotification.d.ts +1 -1
- package/dist/models/PartnerNotificationEventType.d.ts +2 -0
- package/dist/models/PartnerNotificationEventType.js +2 -0
- package/dist/models/PartnerNotificationTestEventRequest.d.ts +33 -0
- package/dist/models/PartnerNotificationTestEventRequest.js +51 -0
- package/dist/models/PartnerNotificationTestEventResult.d.ts +50 -0
- package/dist/models/PartnerNotificationTestEventResult.js +60 -0
- package/dist/models/PartnerUpdateResult.d.ts +8 -16
- package/dist/models/PartnerUpdateResult.js +2 -5
- package/dist/models/PartnerWithWarnings.d.ts +7 -0
- package/dist/models/PartnerWithWarnings.js +2 -0
- package/dist/models/PersonalExtraStorage.d.ts +92 -0
- package/dist/models/PersonalExtraStorage.js +91 -0
- package/dist/models/PersonalExtraStorageBlock.d.ts +56 -0
- package/dist/models/PersonalExtraStorageBlock.js +65 -0
- package/dist/models/PersonalStorage.d.ts +80 -0
- package/dist/models/PersonalStorage.js +80 -0
- package/dist/models/PersonalStoragePack.d.ts +100 -0
- package/dist/models/PersonalStoragePack.js +92 -0
- package/dist/models/PostPublicCompositionEmbedStatus200Response.d.ts +39 -0
- package/dist/models/PostPublicCompositionEmbedStatus200Response.js +51 -0
- package/dist/models/PostPublicCompositionEmbedStatus200ResponseData.d.ts +45 -0
- package/dist/models/PostPublicCompositionEmbedStatus200ResponseData.js +59 -0
- package/dist/models/PostPublicCompositionEmbedStatus429Response.d.ts +32 -0
- package/dist/models/PostPublicCompositionEmbedStatus429Response.js +48 -0
- package/dist/models/PostPublicCompositionEmbedStatusRequest.d.ts +32 -0
- package/dist/models/PostPublicCompositionEmbedStatusRequest.js +50 -0
- package/dist/models/PublicCompositionEntryRequest.d.ts +1 -1
- package/dist/models/RequestExtraCredits.d.ts +33 -0
- package/dist/models/RequestExtraCredits.js +50 -0
- package/dist/models/StorageChange.d.ts +4 -3
- package/dist/models/SurfaceConversionResult.d.ts +85 -0
- package/dist/models/SurfaceConversionResult.js +84 -0
- package/dist/models/SurfaceConversionResultSubscription.d.ts +82 -0
- package/dist/models/SurfaceConversionResultSubscription.js +70 -0
- package/dist/models/UpdatePartnerCustomizationRequest.d.ts +3 -3
- package/dist/models/UpdatePartnerCustomizationRequest.js +2 -2
- package/dist/models/UpdatePartnerEntryContextSigningRequest.d.ts +32 -0
- package/dist/models/UpdatePartnerEntryContextSigningRequest.js +50 -0
- package/dist/models/UpdatePartnerRequest.d.ts +7 -24
- package/dist/models/UpdatePartnerRequest.js +2 -8
- package/dist/models/index.d.ts +37 -86
- package/dist/models/index.js +37 -86
- package/package.json +3 -2
|
@@ -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 { PostPublicCompositionEmbedStatus200ResponseDataFromJSON, PostPublicCompositionEmbedStatus200ResponseDataToJSON, } from './PostPublicCompositionEmbedStatus200ResponseData.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the PostPublicCompositionEmbedStatus200Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfPostPublicCompositionEmbedStatus200Response(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function PostPublicCompositionEmbedStatus200ResponseFromJSON(json) {
|
|
22
|
+
return PostPublicCompositionEmbedStatus200ResponseFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function PostPublicCompositionEmbedStatus200ResponseFromJSONTyped(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 : PostPublicCompositionEmbedStatus200ResponseDataFromJSON(json['data']),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function PostPublicCompositionEmbedStatus200ResponseToJSON(json) {
|
|
34
|
+
return PostPublicCompositionEmbedStatus200ResponseToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function PostPublicCompositionEmbedStatus200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'success': value['success'],
|
|
42
|
+
'data': PostPublicCompositionEmbedStatus200ResponseDataToJSON(value['data']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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 PostPublicCompositionEmbedStatus200ResponseData
|
|
16
|
+
*/
|
|
17
|
+
export interface PostPublicCompositionEmbedStatus200ResponseData {
|
|
18
|
+
/**
|
|
19
|
+
* One state for each distinct composition id asked for, keyed by that id.
|
|
20
|
+
* @type {{ [key: string]: string; }}
|
|
21
|
+
* @memberof PostPublicCompositionEmbedStatus200ResponseData
|
|
22
|
+
*/
|
|
23
|
+
statuses?: {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @export
|
|
29
|
+
*/
|
|
30
|
+
export declare const PostPublicCompositionEmbedStatus200ResponseDataStatusesEnum: {
|
|
31
|
+
readonly Served: "served";
|
|
32
|
+
readonly Unpublished: "unpublished";
|
|
33
|
+
readonly DomainNotAllowed: "domain_not_allowed";
|
|
34
|
+
readonly Suspended: "suspended";
|
|
35
|
+
readonly NotFound: "not_found";
|
|
36
|
+
};
|
|
37
|
+
export type PostPublicCompositionEmbedStatus200ResponseDataStatusesEnum = typeof PostPublicCompositionEmbedStatus200ResponseDataStatusesEnum[keyof typeof PostPublicCompositionEmbedStatus200ResponseDataStatusesEnum];
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the PostPublicCompositionEmbedStatus200ResponseData interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfPostPublicCompositionEmbedStatus200ResponseData(value: object): value is PostPublicCompositionEmbedStatus200ResponseData;
|
|
42
|
+
export declare function PostPublicCompositionEmbedStatus200ResponseDataFromJSON(json: any): PostPublicCompositionEmbedStatus200ResponseData;
|
|
43
|
+
export declare function PostPublicCompositionEmbedStatus200ResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostPublicCompositionEmbedStatus200ResponseData;
|
|
44
|
+
export declare function PostPublicCompositionEmbedStatus200ResponseDataToJSON(json: any): PostPublicCompositionEmbedStatus200ResponseData;
|
|
45
|
+
export declare function PostPublicCompositionEmbedStatus200ResponseDataToJSONTyped(value?: PostPublicCompositionEmbedStatus200ResponseData | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const PostPublicCompositionEmbedStatus200ResponseDataStatusesEnum = {
|
|
18
|
+
Served: 'served',
|
|
19
|
+
Unpublished: 'unpublished',
|
|
20
|
+
DomainNotAllowed: 'domain_not_allowed',
|
|
21
|
+
Suspended: 'suspended',
|
|
22
|
+
NotFound: 'not_found'
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the PostPublicCompositionEmbedStatus200ResponseData interface.
|
|
26
|
+
*/
|
|
27
|
+
export function instanceOfPostPublicCompositionEmbedStatus200ResponseData(value) {
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
export function PostPublicCompositionEmbedStatus200ResponseDataFromJSON(json) {
|
|
31
|
+
return PostPublicCompositionEmbedStatus200ResponseDataFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
export function PostPublicCompositionEmbedStatus200ResponseDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'statuses': json['statuses'] == null ? undefined : json['statuses'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function PostPublicCompositionEmbedStatus200ResponseDataToJSON(json) {
|
|
42
|
+
return PostPublicCompositionEmbedStatus200ResponseDataToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function PostPublicCompositionEmbedStatus200ResponseDataToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'statuses': value['statuses'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Widgetic API Gateway
|
|
3
|
+
* API documentation for the Widgetic API Gateway
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PostPublicCompositionEmbedStatus429Response
|
|
16
|
+
*/
|
|
17
|
+
export interface PostPublicCompositionEmbedStatus429Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PostPublicCompositionEmbedStatus429Response
|
|
22
|
+
*/
|
|
23
|
+
code?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the PostPublicCompositionEmbedStatus429Response interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfPostPublicCompositionEmbedStatus429Response(value: object): value is PostPublicCompositionEmbedStatus429Response;
|
|
29
|
+
export declare function PostPublicCompositionEmbedStatus429ResponseFromJSON(json: any): PostPublicCompositionEmbedStatus429Response;
|
|
30
|
+
export declare function PostPublicCompositionEmbedStatus429ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostPublicCompositionEmbedStatus429Response;
|
|
31
|
+
export declare function PostPublicCompositionEmbedStatus429ResponseToJSON(json: any): PostPublicCompositionEmbedStatus429Response;
|
|
32
|
+
export declare function PostPublicCompositionEmbedStatus429ResponseToJSONTyped(value?: PostPublicCompositionEmbedStatus429Response | 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 PostPublicCompositionEmbedStatus429Response interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPostPublicCompositionEmbedStatus429Response(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function PostPublicCompositionEmbedStatus429ResponseFromJSON(json) {
|
|
21
|
+
return PostPublicCompositionEmbedStatus429ResponseFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function PostPublicCompositionEmbedStatus429ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'code': json['code'] == null ? undefined : json['code'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function PostPublicCompositionEmbedStatus429ResponseToJSON(json) {
|
|
32
|
+
return PostPublicCompositionEmbedStatus429ResponseToJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function PostPublicCompositionEmbedStatus429ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
|
+
if (value == null) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'code': value['code'],
|
|
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 PostPublicCompositionEmbedStatusRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface PostPublicCompositionEmbedStatusRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof PostPublicCompositionEmbedStatusRequest
|
|
22
|
+
*/
|
|
23
|
+
ids: Array<string>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the PostPublicCompositionEmbedStatusRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfPostPublicCompositionEmbedStatusRequest(value: object): value is PostPublicCompositionEmbedStatusRequest;
|
|
29
|
+
export declare function PostPublicCompositionEmbedStatusRequestFromJSON(json: any): PostPublicCompositionEmbedStatusRequest;
|
|
30
|
+
export declare function PostPublicCompositionEmbedStatusRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PostPublicCompositionEmbedStatusRequest;
|
|
31
|
+
export declare function PostPublicCompositionEmbedStatusRequestToJSON(json: any): PostPublicCompositionEmbedStatusRequest;
|
|
32
|
+
export declare function PostPublicCompositionEmbedStatusRequestToJSONTyped(value?: PostPublicCompositionEmbedStatusRequest | 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 PostPublicCompositionEmbedStatusRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPostPublicCompositionEmbedStatusRequest(value) {
|
|
18
|
+
if (!('ids' in value) || value['ids'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function PostPublicCompositionEmbedStatusRequestFromJSON(json) {
|
|
23
|
+
return PostPublicCompositionEmbedStatusRequestFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function PostPublicCompositionEmbedStatusRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'ids': json['ids'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function PostPublicCompositionEmbedStatusRequestToJSON(json) {
|
|
34
|
+
return PostPublicCompositionEmbedStatusRequestToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function PostPublicCompositionEmbedStatusRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'ids': value['ids'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -24,7 +24,7 @@ export interface PublicCompositionEntryRequest {
|
|
|
24
24
|
[key: string]: any;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
|
-
* Host attribution from the embedding page
|
|
27
|
+
* Host attribution from the embedding page. It is not authenticated unless the partner signs it (see the description of this operation): never use it for authorization on its own. At most 20 keys; string values up to 500 characters or finite numbers; 2048 bytes JSON total. A signed context carries two more keys, `widgetic_exp` and `widgetic_sig`: the gateway checks them and drops them, so they are neither stored nor announced.
|
|
28
28
|
* @type {object}
|
|
29
29
|
* @memberof PublicCompositionEntryRequest
|
|
30
30
|
*/
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Widgetic API Gateway
|
|
3
|
+
* API documentation for the Widgetic API Gateway
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface RequestExtraCredits
|
|
16
|
+
*/
|
|
17
|
+
export interface RequestExtraCredits {
|
|
18
|
+
/**
|
|
19
|
+
* The dollars to spend on credits, to the cent: at least 10, at most 100000 in one request. The invoice is for the most whole credits that money buys at the list price of a credit, so it is never for more than this (12.34 buys 123 credits and the invoice says 12.30).
|
|
20
|
+
*
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof RequestExtraCredits
|
|
23
|
+
*/
|
|
24
|
+
usd: number;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the RequestExtraCredits interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfRequestExtraCredits(value: object): value is RequestExtraCredits;
|
|
30
|
+
export declare function RequestExtraCreditsFromJSON(json: any): RequestExtraCredits;
|
|
31
|
+
export declare function RequestExtraCreditsFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestExtraCredits;
|
|
32
|
+
export declare function RequestExtraCreditsToJSON(json: any): RequestExtraCredits;
|
|
33
|
+
export declare function RequestExtraCreditsToJSONTyped(value?: RequestExtraCredits | 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 RequestExtraCredits interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfRequestExtraCredits(value) {
|
|
18
|
+
if (!('usd' in value) || value['usd'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function RequestExtraCreditsFromJSON(json) {
|
|
23
|
+
return RequestExtraCreditsFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function RequestExtraCreditsFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'usd': json['usd'],
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function RequestExtraCreditsToJSON(json) {
|
|
34
|
+
return RequestExtraCreditsToJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function RequestExtraCreditsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
37
|
+
if (value == null) {
|
|
38
|
+
return value;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'usd': value['usd'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -10,8 +10,9 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
* The
|
|
14
|
-
* the
|
|
13
|
+
* The extra storage of an organization (Teams) or of a person (Solo) after a change. Extra
|
|
14
|
+
* storage is a recurring item on the subscription: `chargePerPeriodUsd` renews with the plan
|
|
15
|
+
* until it is removed.
|
|
15
16
|
*
|
|
16
17
|
* @export
|
|
17
18
|
* @interface StorageChange
|
|
@@ -62,7 +63,7 @@ export interface StorageChange {
|
|
|
62
63
|
*/
|
|
63
64
|
proratedChargeNow: boolean;
|
|
64
65
|
/**
|
|
65
|
-
* False when the change is billed but the
|
|
66
|
+
* False when the change is billed but the storage the upload check reads has not caught
|
|
66
67
|
* up yet; it follows from Stripe's next event, so a client may refresh in a moment.
|
|
67
68
|
*
|
|
68
69
|
* @type {boolean}
|
|
@@ -0,0 +1,85 @@
|
|
|
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 { SurfaceConversionResultSubscription } from './SurfaceConversionResultSubscription';
|
|
13
|
+
/**
|
|
14
|
+
* A subscription that has been converted between a person (Solo) and an organization (Teams),
|
|
15
|
+
* in either direction. The Stripe subscription is the same one; what changed is who holds it
|
|
16
|
+
* and which plan it is on.
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface SurfaceConversionResult
|
|
20
|
+
*/
|
|
21
|
+
export interface SurfaceConversionResult {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {SurfaceConversionResultSubscription}
|
|
25
|
+
* @memberof SurfaceConversionResult
|
|
26
|
+
*/
|
|
27
|
+
subscription: SurfaceConversionResultSubscription;
|
|
28
|
+
/**
|
|
29
|
+
* Where the subscription was
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof SurfaceConversionResult
|
|
32
|
+
*/
|
|
33
|
+
from: SurfaceConversionResultFromEnum;
|
|
34
|
+
/**
|
|
35
|
+
* Where the subscription is now
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof SurfaceConversionResult
|
|
38
|
+
*/
|
|
39
|
+
to: SurfaceConversionResultToEnum;
|
|
40
|
+
/**
|
|
41
|
+
* The plan it is on now (`teams` or `solo`)
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof SurfaceConversionResult
|
|
44
|
+
*/
|
|
45
|
+
planType: string;
|
|
46
|
+
/**
|
|
47
|
+
* True when the plan changed but a step after it (for example granting the new plan's
|
|
48
|
+
* credits) did not finish. The change itself is done and must not be repeated: what is
|
|
49
|
+
* missing is logged for support, who can finish it.
|
|
50
|
+
*
|
|
51
|
+
* @type {boolean}
|
|
52
|
+
* @memberof SurfaceConversionResult
|
|
53
|
+
*/
|
|
54
|
+
incomplete: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* What happened and what it costs, in words a person can be shown
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof SurfaceConversionResult
|
|
59
|
+
*/
|
|
60
|
+
message?: string;
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* @export
|
|
64
|
+
*/
|
|
65
|
+
export declare const SurfaceConversionResultFromEnum: {
|
|
66
|
+
readonly Personal: "personal";
|
|
67
|
+
readonly Organization: "organization";
|
|
68
|
+
};
|
|
69
|
+
export type SurfaceConversionResultFromEnum = typeof SurfaceConversionResultFromEnum[keyof typeof SurfaceConversionResultFromEnum];
|
|
70
|
+
/**
|
|
71
|
+
* @export
|
|
72
|
+
*/
|
|
73
|
+
export declare const SurfaceConversionResultToEnum: {
|
|
74
|
+
readonly Personal: "personal";
|
|
75
|
+
readonly Organization: "organization";
|
|
76
|
+
};
|
|
77
|
+
export type SurfaceConversionResultToEnum = typeof SurfaceConversionResultToEnum[keyof typeof SurfaceConversionResultToEnum];
|
|
78
|
+
/**
|
|
79
|
+
* Check if a given object implements the SurfaceConversionResult interface.
|
|
80
|
+
*/
|
|
81
|
+
export declare function instanceOfSurfaceConversionResult(value: object): value is SurfaceConversionResult;
|
|
82
|
+
export declare function SurfaceConversionResultFromJSON(json: any): SurfaceConversionResult;
|
|
83
|
+
export declare function SurfaceConversionResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): SurfaceConversionResult;
|
|
84
|
+
export declare function SurfaceConversionResultToJSON(json: any): SurfaceConversionResult;
|
|
85
|
+
export declare function SurfaceConversionResultToJSONTyped(value?: SurfaceConversionResult | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,76 @@
|
|
|
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 { SurfaceConversionResultSubscriptionFromJSON, SurfaceConversionResultSubscriptionToJSON, } from './SurfaceConversionResultSubscription.js';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const SurfaceConversionResultFromEnum = {
|
|
19
|
+
Personal: 'personal',
|
|
20
|
+
Organization: 'organization'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
export const SurfaceConversionResultToEnum = {
|
|
26
|
+
Personal: 'personal',
|
|
27
|
+
Organization: 'organization'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the SurfaceConversionResult interface.
|
|
31
|
+
*/
|
|
32
|
+
export function instanceOfSurfaceConversionResult(value) {
|
|
33
|
+
if (!('subscription' in value) || value['subscription'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('from' in value) || value['from'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('to' in value) || value['to'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('planType' in value) || value['planType'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('incomplete' in value) || value['incomplete'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
return true;
|
|
44
|
+
}
|
|
45
|
+
export function SurfaceConversionResultFromJSON(json) {
|
|
46
|
+
return SurfaceConversionResultFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
export function SurfaceConversionResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
49
|
+
if (json == null) {
|
|
50
|
+
return json;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'subscription': SurfaceConversionResultSubscriptionFromJSON(json['subscription']),
|
|
54
|
+
'from': json['from'],
|
|
55
|
+
'to': json['to'],
|
|
56
|
+
'planType': json['planType'],
|
|
57
|
+
'incomplete': json['incomplete'],
|
|
58
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
export function SurfaceConversionResultToJSON(json) {
|
|
62
|
+
return SurfaceConversionResultToJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
export function SurfaceConversionResultToJSONTyped(value, ignoreDiscriminator = false) {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
'subscription': SurfaceConversionResultSubscriptionToJSON(value['subscription']),
|
|
70
|
+
'from': value['from'],
|
|
71
|
+
'to': value['to'],
|
|
72
|
+
'planType': value['planType'],
|
|
73
|
+
'incomplete': value['incomplete'],
|
|
74
|
+
'message': value['message'],
|
|
75
|
+
};
|
|
76
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
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
|
+
* The subscription as it is now
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SurfaceConversionResultSubscription
|
|
16
|
+
*/
|
|
17
|
+
export interface SurfaceConversionResultSubscription {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SurfaceConversionResultSubscription
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The plan it is on now (`teams` or `solo`)
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SurfaceConversionResultSubscription
|
|
28
|
+
*/
|
|
29
|
+
planType?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SurfaceConversionResultSubscription
|
|
34
|
+
*/
|
|
35
|
+
status?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SurfaceConversionResultSubscription
|
|
40
|
+
*/
|
|
41
|
+
workspaceType?: SurfaceConversionResultSubscriptionWorkspaceTypeEnum | null;
|
|
42
|
+
/**
|
|
43
|
+
* The organization that holds it; null once it is personal
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SurfaceConversionResultSubscription
|
|
46
|
+
*/
|
|
47
|
+
organizationId?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof SurfaceConversionResultSubscription
|
|
52
|
+
*/
|
|
53
|
+
billingFrequency?: string | null;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof SurfaceConversionResultSubscription
|
|
58
|
+
*/
|
|
59
|
+
currentPeriodEnd?: Date | null;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {boolean}
|
|
63
|
+
* @memberof SurfaceConversionResultSubscription
|
|
64
|
+
*/
|
|
65
|
+
cancelAtPeriodEnd?: boolean;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* @export
|
|
69
|
+
*/
|
|
70
|
+
export declare const SurfaceConversionResultSubscriptionWorkspaceTypeEnum: {
|
|
71
|
+
readonly Personal: "personal";
|
|
72
|
+
readonly Organization: "organization";
|
|
73
|
+
};
|
|
74
|
+
export type SurfaceConversionResultSubscriptionWorkspaceTypeEnum = typeof SurfaceConversionResultSubscriptionWorkspaceTypeEnum[keyof typeof SurfaceConversionResultSubscriptionWorkspaceTypeEnum];
|
|
75
|
+
/**
|
|
76
|
+
* Check if a given object implements the SurfaceConversionResultSubscription interface.
|
|
77
|
+
*/
|
|
78
|
+
export declare function instanceOfSurfaceConversionResultSubscription(value: object): value is SurfaceConversionResultSubscription;
|
|
79
|
+
export declare function SurfaceConversionResultSubscriptionFromJSON(json: any): SurfaceConversionResultSubscription;
|
|
80
|
+
export declare function SurfaceConversionResultSubscriptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): SurfaceConversionResultSubscription;
|
|
81
|
+
export declare function SurfaceConversionResultSubscriptionToJSON(json: any): SurfaceConversionResultSubscription;
|
|
82
|
+
export declare function SurfaceConversionResultSubscriptionToJSONTyped(value?: SurfaceConversionResultSubscription | null, ignoreDiscriminator?: boolean): any;
|