@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,51 @@
|
|
|
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 { GetPublicCompositionEmbed403ResponseDetails } from './GetPublicCompositionEmbed403ResponseDetails';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetPublicCompositionEmbed403Response
|
|
17
|
+
*/
|
|
18
|
+
export interface GetPublicCompositionEmbed403Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof GetPublicCompositionEmbed403Response
|
|
23
|
+
*/
|
|
24
|
+
error?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof GetPublicCompositionEmbed403Response
|
|
29
|
+
*/
|
|
30
|
+
message?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof GetPublicCompositionEmbed403Response
|
|
35
|
+
*/
|
|
36
|
+
code?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {GetPublicCompositionEmbed403ResponseDetails}
|
|
40
|
+
* @memberof GetPublicCompositionEmbed403Response
|
|
41
|
+
*/
|
|
42
|
+
details?: GetPublicCompositionEmbed403ResponseDetails;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the GetPublicCompositionEmbed403Response interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfGetPublicCompositionEmbed403Response(value: object): value is GetPublicCompositionEmbed403Response;
|
|
48
|
+
export declare function GetPublicCompositionEmbed403ResponseFromJSON(json: any): GetPublicCompositionEmbed403Response;
|
|
49
|
+
export declare function GetPublicCompositionEmbed403ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPublicCompositionEmbed403Response;
|
|
50
|
+
export declare function GetPublicCompositionEmbed403ResponseToJSON(json: any): GetPublicCompositionEmbed403Response;
|
|
51
|
+
export declare function GetPublicCompositionEmbed403ResponseToJSONTyped(value?: GetPublicCompositionEmbed403Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
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 { GetPublicCompositionEmbed403ResponseDetailsFromJSON, GetPublicCompositionEmbed403ResponseDetailsToJSON, } from './GetPublicCompositionEmbed403ResponseDetails.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the GetPublicCompositionEmbed403Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfGetPublicCompositionEmbed403Response(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function GetPublicCompositionEmbed403ResponseFromJSON(json) {
|
|
22
|
+
return GetPublicCompositionEmbed403ResponseFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function GetPublicCompositionEmbed403ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
30
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
31
|
+
'code': json['code'] == null ? undefined : json['code'],
|
|
32
|
+
'details': json['details'] == null ? undefined : GetPublicCompositionEmbed403ResponseDetailsFromJSON(json['details']),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function GetPublicCompositionEmbed403ResponseToJSON(json) {
|
|
36
|
+
return GetPublicCompositionEmbed403ResponseToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function GetPublicCompositionEmbed403ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'error': value['error'],
|
|
44
|
+
'message': value['message'],
|
|
45
|
+
'code': value['code'],
|
|
46
|
+
'details': GetPublicCompositionEmbed403ResponseDetailsToJSON(value['details']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 GetPublicCompositionEmbed403ResponseDetails
|
|
16
|
+
*/
|
|
17
|
+
export interface GetPublicCompositionEmbed403ResponseDetails {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetPublicCompositionEmbed403ResponseDetails
|
|
22
|
+
*/
|
|
23
|
+
reason?: GetPublicCompositionEmbed403ResponseDetailsReasonEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof GetPublicCompositionEmbed403ResponseDetails
|
|
28
|
+
*/
|
|
29
|
+
hasDomainsConfigured?: boolean;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const GetPublicCompositionEmbed403ResponseDetailsReasonEnum: {
|
|
35
|
+
readonly DomainNotAllowed: "domain_not_allowed";
|
|
36
|
+
readonly OpaqueOrigin: "opaque_origin";
|
|
37
|
+
};
|
|
38
|
+
export type GetPublicCompositionEmbed403ResponseDetailsReasonEnum = typeof GetPublicCompositionEmbed403ResponseDetailsReasonEnum[keyof typeof GetPublicCompositionEmbed403ResponseDetailsReasonEnum];
|
|
39
|
+
/**
|
|
40
|
+
* Check if a given object implements the GetPublicCompositionEmbed403ResponseDetails interface.
|
|
41
|
+
*/
|
|
42
|
+
export declare function instanceOfGetPublicCompositionEmbed403ResponseDetails(value: object): value is GetPublicCompositionEmbed403ResponseDetails;
|
|
43
|
+
export declare function GetPublicCompositionEmbed403ResponseDetailsFromJSON(json: any): GetPublicCompositionEmbed403ResponseDetails;
|
|
44
|
+
export declare function GetPublicCompositionEmbed403ResponseDetailsFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPublicCompositionEmbed403ResponseDetails;
|
|
45
|
+
export declare function GetPublicCompositionEmbed403ResponseDetailsToJSON(json: any): GetPublicCompositionEmbed403ResponseDetails;
|
|
46
|
+
export declare function GetPublicCompositionEmbed403ResponseDetailsToJSONTyped(value?: GetPublicCompositionEmbed403ResponseDetails | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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 GetPublicCompositionEmbed403ResponseDetailsReasonEnum = {
|
|
18
|
+
DomainNotAllowed: 'domain_not_allowed',
|
|
19
|
+
OpaqueOrigin: 'opaque_origin'
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GetPublicCompositionEmbed403ResponseDetails interface.
|
|
23
|
+
*/
|
|
24
|
+
export function instanceOfGetPublicCompositionEmbed403ResponseDetails(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function GetPublicCompositionEmbed403ResponseDetailsFromJSON(json) {
|
|
28
|
+
return GetPublicCompositionEmbed403ResponseDetailsFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function GetPublicCompositionEmbed403ResponseDetailsFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
36
|
+
'hasDomainsConfigured': json['hasDomainsConfigured'] == null ? undefined : json['hasDomainsConfigured'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function GetPublicCompositionEmbed403ResponseDetailsToJSON(json) {
|
|
40
|
+
return GetPublicCompositionEmbed403ResponseDetailsToJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function GetPublicCompositionEmbed403ResponseDetailsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
43
|
+
if (value == null) {
|
|
44
|
+
return value;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'reason': value['reason'],
|
|
48
|
+
'hasDomainsConfigured': value['hasDomainsConfigured'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 GetPublicCompositionEmbed404Response
|
|
16
|
+
*/
|
|
17
|
+
export interface GetPublicCompositionEmbed404Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetPublicCompositionEmbed404Response
|
|
22
|
+
*/
|
|
23
|
+
error?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetPublicCompositionEmbed404Response
|
|
28
|
+
*/
|
|
29
|
+
code?: GetPublicCompositionEmbed404ResponseCodeEnum;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const GetPublicCompositionEmbed404ResponseCodeEnum: {
|
|
35
|
+
readonly Unpublished: "UNPUBLISHED";
|
|
36
|
+
readonly Suspended: "SUSPENDED";
|
|
37
|
+
readonly NotFound: "NOT_FOUND";
|
|
38
|
+
};
|
|
39
|
+
export type GetPublicCompositionEmbed404ResponseCodeEnum = typeof GetPublicCompositionEmbed404ResponseCodeEnum[keyof typeof GetPublicCompositionEmbed404ResponseCodeEnum];
|
|
40
|
+
/**
|
|
41
|
+
* Check if a given object implements the GetPublicCompositionEmbed404Response interface.
|
|
42
|
+
*/
|
|
43
|
+
export declare function instanceOfGetPublicCompositionEmbed404Response(value: object): value is GetPublicCompositionEmbed404Response;
|
|
44
|
+
export declare function GetPublicCompositionEmbed404ResponseFromJSON(json: any): GetPublicCompositionEmbed404Response;
|
|
45
|
+
export declare function GetPublicCompositionEmbed404ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPublicCompositionEmbed404Response;
|
|
46
|
+
export declare function GetPublicCompositionEmbed404ResponseToJSON(json: any): GetPublicCompositionEmbed404Response;
|
|
47
|
+
export declare function GetPublicCompositionEmbed404ResponseToJSONTyped(value?: GetPublicCompositionEmbed404Response | 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 GetPublicCompositionEmbed404ResponseCodeEnum = {
|
|
18
|
+
Unpublished: 'UNPUBLISHED',
|
|
19
|
+
Suspended: 'SUSPENDED',
|
|
20
|
+
NotFound: 'NOT_FOUND'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the GetPublicCompositionEmbed404Response interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfGetPublicCompositionEmbed404Response(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function GetPublicCompositionEmbed404ResponseFromJSON(json) {
|
|
29
|
+
return GetPublicCompositionEmbed404ResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function GetPublicCompositionEmbed404ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
37
|
+
'code': json['code'] == null ? undefined : json['code'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
export function GetPublicCompositionEmbed404ResponseToJSON(json) {
|
|
41
|
+
return GetPublicCompositionEmbed404ResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function GetPublicCompositionEmbed404ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'error': value['error'],
|
|
49
|
+
'code': value['code'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -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 GetPublicCompositionEmbed429Response
|
|
16
|
+
*/
|
|
17
|
+
export interface GetPublicCompositionEmbed429Response {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {object}
|
|
21
|
+
* @memberof GetPublicCompositionEmbed429Response
|
|
22
|
+
*/
|
|
23
|
+
error?: object;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof GetPublicCompositionEmbed429Response
|
|
28
|
+
*/
|
|
29
|
+
code?: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the GetPublicCompositionEmbed429Response interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfGetPublicCompositionEmbed429Response(value: object): value is GetPublicCompositionEmbed429Response;
|
|
35
|
+
export declare function GetPublicCompositionEmbed429ResponseFromJSON(json: any): GetPublicCompositionEmbed429Response;
|
|
36
|
+
export declare function GetPublicCompositionEmbed429ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPublicCompositionEmbed429Response;
|
|
37
|
+
export declare function GetPublicCompositionEmbed429ResponseToJSON(json: any): GetPublicCompositionEmbed429Response;
|
|
38
|
+
export declare function GetPublicCompositionEmbed429ResponseToJSONTyped(value?: GetPublicCompositionEmbed429Response | 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 GetPublicCompositionEmbed429Response interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfGetPublicCompositionEmbed429Response(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function GetPublicCompositionEmbed429ResponseFromJSON(json) {
|
|
21
|
+
return GetPublicCompositionEmbed429ResponseFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function GetPublicCompositionEmbed429ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
29
|
+
'code': json['code'] == null ? undefined : json['code'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function GetPublicCompositionEmbed429ResponseToJSON(json) {
|
|
33
|
+
return GetPublicCompositionEmbed429ResponseToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function GetPublicCompositionEmbed429ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'error': value['error'],
|
|
41
|
+
'code': value['code'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -28,11 +28,24 @@ export interface IssuePartnerInvoiceRequest {
|
|
|
28
28
|
*/
|
|
29
29
|
description?: string;
|
|
30
30
|
/**
|
|
31
|
-
* How many days the partner has to pay. Defaults to the payment terms on the partner's billing profile (
|
|
31
|
+
* How many days the partner has to pay. Defaults to the payment terms on the partner's billing profile (7 days until they are set).
|
|
32
32
|
* @type {number}
|
|
33
33
|
* @memberof IssuePartnerInvoiceRequest
|
|
34
34
|
*/
|
|
35
35
|
daysUntilDue?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Widgetic credits this invoice is for. They are added to the account of the partner's administrator
|
|
38
|
+
* when the invoice is paid, once however often Stripe reports the payment, and never before. The price
|
|
39
|
+
* defaults to what the credits cost at the list price of a credit ($0.10 each); `amountUsd` overrides it.
|
|
40
|
+
* Left out, the invoice carries no credits (an ordinary contract invoice). The partner must have an
|
|
41
|
+
* administrator, else the request is refused with 422 `NO_PARTNER_ADMINISTRATOR`. The ceiling is what
|
|
42
|
+
* the credit ledger can hold in one balance; it is not a business limit, and Stripe's own limits on the
|
|
43
|
+
* amount of a payment still apply to the invoice.
|
|
44
|
+
*
|
|
45
|
+
* @type {number}
|
|
46
|
+
* @memberof IssuePartnerInvoiceRequest
|
|
47
|
+
*/
|
|
48
|
+
credits?: number;
|
|
36
49
|
}
|
|
37
50
|
/**
|
|
38
51
|
* Check if a given object implements the IssuePartnerInvoiceRequest interface.
|
|
@@ -28,6 +28,7 @@ export function IssuePartnerInvoiceRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
28
28
|
'amountUsd': json['amountUsd'] == null ? undefined : json['amountUsd'],
|
|
29
29
|
'description': json['description'] == null ? undefined : json['description'],
|
|
30
30
|
'daysUntilDue': json['daysUntilDue'] == null ? undefined : json['daysUntilDue'],
|
|
31
|
+
'credits': json['credits'] == null ? undefined : json['credits'],
|
|
31
32
|
};
|
|
32
33
|
}
|
|
33
34
|
export function IssuePartnerInvoiceRequestToJSON(json) {
|
|
@@ -41,5 +42,6 @@ export function IssuePartnerInvoiceRequestToJSONTyped(value, ignoreDiscriminator
|
|
|
41
42
|
'amountUsd': value['amountUsd'],
|
|
42
43
|
'description': value['description'],
|
|
43
44
|
'daysUntilDue': value['daysUntilDue'],
|
|
45
|
+
'credits': value['credits'],
|
|
44
46
|
};
|
|
45
47
|
}
|
|
@@ -93,6 +93,12 @@ export interface IssuedPartnerInvoice {
|
|
|
93
93
|
* @memberof IssuedPartnerInvoice
|
|
94
94
|
*/
|
|
95
95
|
dueDays: number;
|
|
96
|
+
/**
|
|
97
|
+
* The credits that are added to the partner administrator's account when the invoice is paid, or null for an ordinary contract invoice.
|
|
98
|
+
* @type {number}
|
|
99
|
+
* @memberof IssuedPartnerInvoice
|
|
100
|
+
*/
|
|
101
|
+
credits: number | null;
|
|
96
102
|
}
|
|
97
103
|
/**
|
|
98
104
|
* Check if a given object implements the IssuedPartnerInvoice interface.
|
|
@@ -41,6 +41,8 @@ export function instanceOfIssuedPartnerInvoice(value) {
|
|
|
41
41
|
return false;
|
|
42
42
|
if (!('dueDays' in value) || value['dueDays'] === undefined)
|
|
43
43
|
return false;
|
|
44
|
+
if (!('credits' in value) || value['credits'] === undefined)
|
|
45
|
+
return false;
|
|
44
46
|
return true;
|
|
45
47
|
}
|
|
46
48
|
export function IssuedPartnerInvoiceFromJSON(json) {
|
|
@@ -64,6 +66,7 @@ export function IssuedPartnerInvoiceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
64
66
|
'taxNote': json['taxNote'],
|
|
65
67
|
'description': json['description'],
|
|
66
68
|
'dueDays': json['dueDays'],
|
|
69
|
+
'credits': json['credits'],
|
|
67
70
|
};
|
|
68
71
|
}
|
|
69
72
|
export function IssuedPartnerInvoiceToJSON(json) {
|
|
@@ -87,5 +90,6 @@ export function IssuedPartnerInvoiceToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
87
90
|
'taxNote': value['taxNote'],
|
|
88
91
|
'description': value['description'],
|
|
89
92
|
'dueDays': value['dueDays'],
|
|
93
|
+
'credits': value['credits'],
|
|
90
94
|
};
|
|
91
95
|
}
|
|
@@ -30,7 +30,7 @@ export interface ManagedUserEntryItem {
|
|
|
30
30
|
[key: string]: any;
|
|
31
31
|
};
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* The host context the entry was stored with: what the embedding page passed in, without the two keys of a signature (`widgetic_exp` and `widgetic_sig`), which are checked when the entry comes in and are never stored.
|
|
34
34
|
* @type {{ [key: string]: any; }}
|
|
35
35
|
* @memberof ManagedUserEntryItem
|
|
36
36
|
*/
|
|
@@ -44,6 +44,9 @@ export interface ManagedUserEntryItem {
|
|
|
44
44
|
*/
|
|
45
45
|
createdAt: Date | null;
|
|
46
46
|
/**
|
|
47
|
+
* The columns whose value was cut: a value longer than 20,000 characters is cut there (a JSON value is
|
|
48
|
+
* cut as text, so it comes back as a string and no longer as an object), and its column is named here.
|
|
49
|
+
* Absent when nothing was cut.
|
|
47
50
|
*
|
|
48
51
|
* @type {Array<string>}
|
|
49
52
|
* @memberof ManagedUserEntryItem
|
|
@@ -48,6 +48,13 @@ export interface MyPartner {
|
|
|
48
48
|
* @memberof MyPartner
|
|
49
49
|
*/
|
|
50
50
|
allowedDomains: Array<string>;
|
|
51
|
+
/**
|
|
52
|
+
* The website where the partner integrates Widgetic, as a bare name. It and every subdomain of it (`app.acme.com`, `learn.eu.acme.com`) can always show the partner's widgets, the ones its customers make through it included, and send entries to them, whatever `allowedDomains` and the account's own domain list say, so a list can never lock the partner's own website out. It is not an entry of `allowedDomains`, and it does not turn an empty list into a restriction: a partner that lists nothing stays unrestricted for every website. Widgetic sets it when the partner is set up; contact Widgetic to change it. `null` when none has been set.
|
|
53
|
+
*
|
|
54
|
+
* @type {string}
|
|
55
|
+
* @memberof MyPartner
|
|
56
|
+
*/
|
|
57
|
+
platformDomain: string | null;
|
|
51
58
|
/**
|
|
52
59
|
* When the partner was paused; null unless it is paused now
|
|
53
60
|
* @type {Date}
|
|
@@ -31,6 +31,8 @@ export function instanceOfMyPartner(value) {
|
|
|
31
31
|
return false;
|
|
32
32
|
if (!('allowedDomains' in value) || value['allowedDomains'] === undefined)
|
|
33
33
|
return false;
|
|
34
|
+
if (!('platformDomain' in value) || value['platformDomain'] === undefined)
|
|
35
|
+
return false;
|
|
34
36
|
if (!('suspendedAt' in value) || value['suspendedAt'] === undefined)
|
|
35
37
|
return false;
|
|
36
38
|
if (!('suspensionReason' in value) || value['suspensionReason'] === undefined)
|
|
@@ -50,6 +52,7 @@ export function MyPartnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
52
|
'status': json['status'],
|
|
51
53
|
'contactEmail': json['contactEmail'] == null ? undefined : json['contactEmail'],
|
|
52
54
|
'allowedDomains': json['allowedDomains'],
|
|
55
|
+
'platformDomain': json['platformDomain'],
|
|
53
56
|
'suspendedAt': (json['suspendedAt'] == null ? null : new Date(json['suspendedAt'])),
|
|
54
57
|
'suspensionReason': json['suspensionReason'],
|
|
55
58
|
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
@@ -68,6 +71,7 @@ export function MyPartnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
68
71
|
'status': value['status'],
|
|
69
72
|
'contactEmail': value['contactEmail'],
|
|
70
73
|
'allowedDomains': value['allowedDomains'],
|
|
74
|
+
'platformDomain': value['platformDomain'],
|
|
71
75
|
'suspendedAt': (value['suspendedAt'] == null ? null : value['suspendedAt'].toISOString()),
|
|
72
76
|
'suspensionReason': value['suspensionReason'],
|
|
73
77
|
'createdAt': value['createdAt'] == null ? undefined : (value['createdAt'].toISOString()),
|
|
@@ -17,12 +17,19 @@ import type { MyPartner } from './MyPartner';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface MyPartners {
|
|
19
19
|
/**
|
|
20
|
-
* The standing of the account as a whole, the word every gate reads: `not_a_partner` when the account administers no partner; otherwise `active` when any of its partners is active, else `suspended` when any is paused, else `inactive`.
|
|
20
|
+
* The standing of the account as a whole, the word every gate reads: `not_a_partner` when the account administers no partner; otherwise `active` when any of its partners is in force, else `payment_arrears` when the partners that are active each have a contract invoice that is past its due date and unpaid, else `suspended` when any is paused, else `inactive`. `payment_arrears` is not set by anybody: it stops the same things a pause stops (billing, invoices, credits and the other routes a partner needs to pay stay open) and ends by itself the moment the invoice is paid.
|
|
21
21
|
*
|
|
22
22
|
* @type {string}
|
|
23
23
|
* @memberof MyPartners
|
|
24
24
|
*/
|
|
25
25
|
standing: MyPartnersStandingEnum;
|
|
26
|
+
/**
|
|
27
|
+
* When the oldest overdue contract invoice was due; null unless `standing` is `payment_arrears`. Pay the invoices in the list of `GET /invoices/partner/{partnerId}` that are past their due date to end it.
|
|
28
|
+
*
|
|
29
|
+
* @type {Date}
|
|
30
|
+
* @memberof MyPartners
|
|
31
|
+
*/
|
|
32
|
+
overdueSince: Date | null;
|
|
26
33
|
/**
|
|
27
34
|
* The partners the account administers (nearly always one), the oldest first
|
|
28
35
|
* @type {Array<MyPartner>}
|
|
@@ -38,6 +45,7 @@ export declare const MyPartnersStandingEnum: {
|
|
|
38
45
|
readonly Inactive: "inactive";
|
|
39
46
|
readonly Active: "active";
|
|
40
47
|
readonly Suspended: "suspended";
|
|
48
|
+
readonly PaymentArrears: "payment_arrears";
|
|
41
49
|
};
|
|
42
50
|
export type MyPartnersStandingEnum = typeof MyPartnersStandingEnum[keyof typeof MyPartnersStandingEnum];
|
|
43
51
|
/**
|
|
@@ -19,7 +19,8 @@ export const MyPartnersStandingEnum = {
|
|
|
19
19
|
NotAPartner: 'not_a_partner',
|
|
20
20
|
Inactive: 'inactive',
|
|
21
21
|
Active: 'active',
|
|
22
|
-
Suspended: 'suspended'
|
|
22
|
+
Suspended: 'suspended',
|
|
23
|
+
PaymentArrears: 'payment_arrears'
|
|
23
24
|
};
|
|
24
25
|
/**
|
|
25
26
|
* Check if a given object implements the MyPartners interface.
|
|
@@ -27,6 +28,8 @@ export const MyPartnersStandingEnum = {
|
|
|
27
28
|
export function instanceOfMyPartners(value) {
|
|
28
29
|
if (!('standing' in value) || value['standing'] === undefined)
|
|
29
30
|
return false;
|
|
31
|
+
if (!('overdueSince' in value) || value['overdueSince'] === undefined)
|
|
32
|
+
return false;
|
|
30
33
|
if (!('partners' in value) || value['partners'] === undefined)
|
|
31
34
|
return false;
|
|
32
35
|
return true;
|
|
@@ -40,6 +43,7 @@ export function MyPartnersFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
40
43
|
}
|
|
41
44
|
return {
|
|
42
45
|
'standing': json['standing'],
|
|
46
|
+
'overdueSince': (json['overdueSince'] == null ? null : new Date(json['overdueSince'])),
|
|
43
47
|
'partners': (json['partners'].map(MyPartnerFromJSON)),
|
|
44
48
|
};
|
|
45
49
|
}
|
|
@@ -52,6 +56,7 @@ export function MyPartnersToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
52
56
|
}
|
|
53
57
|
return {
|
|
54
58
|
'standing': value['standing'],
|
|
59
|
+
'overdueSince': (value['overdueSince'] == null ? null : value['overdueSince'].toISOString()),
|
|
55
60
|
'partners': (value['partners'].map(MyPartnerToJSON)),
|
|
56
61
|
};
|
|
57
62
|
}
|
|
@@ -35,33 +35,45 @@ export interface OrganizationsOrgIdBillingGet200ResponseData {
|
|
|
35
35
|
*/
|
|
36
36
|
memberCount?: number;
|
|
37
37
|
/**
|
|
38
|
+
* The interval the subscription bills on. Every amount below is for one billing
|
|
39
|
+
* period of that interval and is priced at that interval's own prices: a yearly
|
|
40
|
+
* organization is quoted at the yearly prices, never at the monthly list price.
|
|
41
|
+
* The `monthly` in three of the names is the original wording; the unit is this interval.
|
|
38
42
|
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof OrganizationsOrgIdBillingGet200ResponseData
|
|
45
|
+
*/
|
|
46
|
+
billingInterval?: OrganizationsOrgIdBillingGet200ResponseDataBillingIntervalEnum;
|
|
47
|
+
/**
|
|
48
|
+
* What one seat costs for one billing period
|
|
39
49
|
* @type {number}
|
|
40
50
|
* @memberof OrganizationsOrgIdBillingGet200ResponseData
|
|
41
51
|
*/
|
|
42
52
|
pricePerMember?: number;
|
|
43
53
|
/**
|
|
44
|
-
*
|
|
54
|
+
* The seats for one billing period (`memberCount` at `pricePerMember`)
|
|
45
55
|
* @type {number}
|
|
46
56
|
* @memberof OrganizationsOrgIdBillingGet200ResponseData
|
|
47
57
|
*/
|
|
48
58
|
monthlySubtotal?: number;
|
|
49
59
|
/**
|
|
50
|
-
* The extra storage the organization
|
|
51
|
-
* the subscription: it renews with the seats until it is removed.
|
|
60
|
+
* The extra storage the organization is billed for, in GB. It is a recurring item on
|
|
61
|
+
* the subscription: it renews with the seats until it is removed. A permanent pack
|
|
62
|
+
* bought once under the earlier purchase flow gives room too, but is not billed on
|
|
63
|
+
* the subscription and is not counted here.
|
|
52
64
|
*
|
|
53
65
|
* @type {number}
|
|
54
66
|
* @memberof OrganizationsOrgIdBillingGet200ResponseData
|
|
55
67
|
*/
|
|
56
68
|
storagePacksGb?: number;
|
|
57
69
|
/**
|
|
58
|
-
* What the extra storage costs
|
|
70
|
+
* What the extra storage costs for one billing period (`storagePacksGb` at the per-GB price of the interval)
|
|
59
71
|
* @type {number}
|
|
60
72
|
* @memberof OrganizationsOrgIdBillingGet200ResponseData
|
|
61
73
|
*/
|
|
62
74
|
monthlyStorageSubtotal?: number;
|
|
63
75
|
/**
|
|
64
|
-
* The recurring amount
|
|
76
|
+
* The recurring amount for one billing period - the seats plus the extra storage.
|
|
65
77
|
* @type {number}
|
|
66
78
|
* @memberof OrganizationsOrgIdBillingGet200ResponseData
|
|
67
79
|
*/
|
|
@@ -79,6 +91,14 @@ export interface OrganizationsOrgIdBillingGet200ResponseData {
|
|
|
79
91
|
*/
|
|
80
92
|
billingHistory?: Array<OrganizationsOrgIdBillingGet200ResponseDataBillingHistoryInner>;
|
|
81
93
|
}
|
|
94
|
+
/**
|
|
95
|
+
* @export
|
|
96
|
+
*/
|
|
97
|
+
export declare const OrganizationsOrgIdBillingGet200ResponseDataBillingIntervalEnum: {
|
|
98
|
+
readonly Month: "month";
|
|
99
|
+
readonly Year: "year";
|
|
100
|
+
};
|
|
101
|
+
export type OrganizationsOrgIdBillingGet200ResponseDataBillingIntervalEnum = typeof OrganizationsOrgIdBillingGet200ResponseDataBillingIntervalEnum[keyof typeof OrganizationsOrgIdBillingGet200ResponseDataBillingIntervalEnum];
|
|
82
102
|
/**
|
|
83
103
|
* Check if a given object implements the OrganizationsOrgIdBillingGet200ResponseData interface.
|
|
84
104
|
*/
|