@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,41 @@
|
|
|
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 public JSON address a composition's widget reads when it loads and again every `refreshSeconds`. One
|
|
14
|
+
* per composition: binding another replaces it. It is sent as `refresh_seconds` (the request body keeps the
|
|
15
|
+
* snake case it always had) and answered as `refreshSeconds`, like every answer of the API.
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface CompositionDataSource
|
|
19
|
+
*/
|
|
20
|
+
export interface CompositionDataSource {
|
|
21
|
+
/**
|
|
22
|
+
* The https address as it was saved, after the checks (a public host, never loopback, link-local or a metadata address)
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof CompositionDataSource
|
|
25
|
+
*/
|
|
26
|
+
url: string;
|
|
27
|
+
/**
|
|
28
|
+
* How often the widget reads the address again, in seconds
|
|
29
|
+
* @type {number}
|
|
30
|
+
* @memberof CompositionDataSource
|
|
31
|
+
*/
|
|
32
|
+
refreshSeconds: number;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the CompositionDataSource interface.
|
|
36
|
+
*/
|
|
37
|
+
export declare function instanceOfCompositionDataSource(value: object): value is CompositionDataSource;
|
|
38
|
+
export declare function CompositionDataSourceFromJSON(json: any): CompositionDataSource;
|
|
39
|
+
export declare function CompositionDataSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): CompositionDataSource;
|
|
40
|
+
export declare function CompositionDataSourceToJSON(json: any): CompositionDataSource;
|
|
41
|
+
export declare function CompositionDataSourceToJSONTyped(value?: CompositionDataSource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Widgetic API Gateway
|
|
6
|
+
* API documentation for the Widgetic API Gateway
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfCompositionDataSource = instanceOfCompositionDataSource;
|
|
17
|
+
exports.CompositionDataSourceFromJSON = CompositionDataSourceFromJSON;
|
|
18
|
+
exports.CompositionDataSourceFromJSONTyped = CompositionDataSourceFromJSONTyped;
|
|
19
|
+
exports.CompositionDataSourceToJSON = CompositionDataSourceToJSON;
|
|
20
|
+
exports.CompositionDataSourceToJSONTyped = CompositionDataSourceToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CompositionDataSource interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCompositionDataSource(value) {
|
|
25
|
+
if (!('url' in value) || value['url'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('refreshSeconds' in value) || value['refreshSeconds'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function CompositionDataSourceFromJSON(json) {
|
|
32
|
+
return CompositionDataSourceFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function CompositionDataSourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'url': json['url'],
|
|
40
|
+
'refreshSeconds': json['refreshSeconds'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function CompositionDataSourceToJSON(json) {
|
|
44
|
+
return CompositionDataSourceToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function CompositionDataSourceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'url': value['url'],
|
|
52
|
+
'refreshSeconds': value['refreshSeconds'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { CompositionEntryTally } from './CompositionEntryTally';
|
|
13
|
+
import type { CompositionEntryAggregatesBlock } from './CompositionEntryAggregatesBlock';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -29,21 +30,27 @@ export interface CompositionEntriesReading {
|
|
|
29
30
|
*/
|
|
30
31
|
table: string;
|
|
31
32
|
/**
|
|
32
|
-
* How many entries the table holds in all
|
|
33
|
+
* How many entries the table holds in all. Not narrowed by `since`, `until` or a filter: only
|
|
34
|
+
* `aggregates` is.
|
|
35
|
+
*
|
|
33
36
|
* @type {number}
|
|
34
37
|
* @memberof CompositionEntriesReading
|
|
35
38
|
*/
|
|
36
39
|
totalRows: number;
|
|
37
40
|
/**
|
|
38
|
-
* How many entries have each value of the `groupBy` column, largest group first (up to 20 groups)
|
|
39
|
-
* `null` when no `groupBy` was asked for.
|
|
41
|
+
* How many entries have each value of the `groupBy` column, largest group first (up to 20 groups), over
|
|
42
|
+
* the whole table. `null` when no `groupBy` was asked for. For the groups of a selection (a time window,
|
|
43
|
+
* a `context` filter) or for more than 20 groups, ask for `aggregate`: `aggregates.tallies` holds up to
|
|
44
|
+
* 200 groups.
|
|
40
45
|
*
|
|
41
46
|
* @type {Array<CompositionEntryTally>}
|
|
42
47
|
* @memberof CompositionEntriesReading
|
|
43
48
|
*/
|
|
44
49
|
tallies: Array<CompositionEntryTally> | null;
|
|
45
50
|
/**
|
|
46
|
-
* True when
|
|
51
|
+
* True when the `groupBy` column has more than the 20 groups `tallies` lists. It speaks of `tallies`
|
|
52
|
+
* only: `aggregates.truncated` is the same signal for `aggregates` (200 groups).
|
|
53
|
+
*
|
|
47
54
|
* @type {boolean}
|
|
48
55
|
* @memberof CompositionEntriesReading
|
|
49
56
|
*/
|
|
@@ -72,6 +79,15 @@ export interface CompositionEntriesReading {
|
|
|
72
79
|
* @memberof CompositionEntriesReading
|
|
73
80
|
*/
|
|
74
81
|
moreRows: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* Only present when the read asked for `aggregate`. Unlike `totalRows`, `tallies` and `rows`, it is
|
|
84
|
+
* narrowed by `since`, `until` and the `context` and column filters of the same call: it answers
|
|
85
|
+
* "the average rating this week" where `tallies` answer "how many of each rating, ever".
|
|
86
|
+
*
|
|
87
|
+
* @type {CompositionEntryAggregatesBlock}
|
|
88
|
+
* @memberof CompositionEntriesReading
|
|
89
|
+
*/
|
|
90
|
+
aggregates?: CompositionEntryAggregatesBlock;
|
|
75
91
|
}
|
|
76
92
|
/**
|
|
77
93
|
* Check if a given object implements the CompositionEntriesReading interface.
|
|
@@ -19,6 +19,7 @@ exports.CompositionEntriesReadingFromJSONTyped = CompositionEntriesReadingFromJS
|
|
|
19
19
|
exports.CompositionEntriesReadingToJSON = CompositionEntriesReadingToJSON;
|
|
20
20
|
exports.CompositionEntriesReadingToJSONTyped = CompositionEntriesReadingToJSONTyped;
|
|
21
21
|
const CompositionEntryTally_1 = require("./CompositionEntryTally");
|
|
22
|
+
const CompositionEntryAggregatesBlock_1 = require("./CompositionEntryAggregatesBlock");
|
|
22
23
|
/**
|
|
23
24
|
* Check if a given object implements the CompositionEntriesReading interface.
|
|
24
25
|
*/
|
|
@@ -57,6 +58,7 @@ function CompositionEntriesReadingFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
57
58
|
'columns': json['columns'],
|
|
58
59
|
'rows': json['rows'] == null ? null : json['rows'],
|
|
59
60
|
'moreRows': json['moreRows'],
|
|
61
|
+
'aggregates': json['aggregates'] == null ? undefined : (0, CompositionEntryAggregatesBlock_1.CompositionEntryAggregatesBlockFromJSON)(json['aggregates']),
|
|
60
62
|
};
|
|
61
63
|
}
|
|
62
64
|
function CompositionEntriesReadingToJSON(json) {
|
|
@@ -75,5 +77,6 @@ function CompositionEntriesReadingToJSONTyped(value, ignoreDiscriminator = false
|
|
|
75
77
|
'columns': value['columns'],
|
|
76
78
|
'rows': value['rows'],
|
|
77
79
|
'moreRows': value['moreRows'],
|
|
80
|
+
'aggregates': (0, CompositionEntryAggregatesBlock_1.CompositionEntryAggregatesBlockToJSON)(value['aggregates']),
|
|
78
81
|
};
|
|
79
82
|
}
|
|
@@ -10,47 +10,54 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
+
* The aggregates of one group (the entries that share a value of the `groupBy` column), or of the whole
|
|
14
|
+
* selection when no `groupBy` was asked for. Only the functions that were asked for with `aggregate` are
|
|
15
|
+
* present.
|
|
13
16
|
*
|
|
14
17
|
* @export
|
|
15
18
|
* @interface CompositionEntryAggregateTally
|
|
16
19
|
*/
|
|
17
20
|
export interface CompositionEntryAggregateTally {
|
|
18
21
|
/**
|
|
22
|
+
* The value of the `groupBy` column, as text (a number is `"5"`); `null` groups the entries that left it
|
|
23
|
+
* empty. Absent when no `groupBy` was asked for.
|
|
19
24
|
*
|
|
20
25
|
* @type {string}
|
|
21
26
|
* @memberof CompositionEntryAggregateTally
|
|
22
27
|
*/
|
|
23
28
|
group?: string | null;
|
|
24
29
|
/**
|
|
25
|
-
*
|
|
30
|
+
* How many entries are in the group (or in the selection)
|
|
26
31
|
* @type {number}
|
|
27
32
|
* @memberof CompositionEntryAggregateTally
|
|
28
33
|
*/
|
|
29
34
|
count?: number;
|
|
30
35
|
/**
|
|
36
|
+
* The average of the numeric `column`, rounded to 4 decimals. `null` when no entry matched: there is no
|
|
37
|
+
* average of nothing, and it is not 0.
|
|
31
38
|
*
|
|
32
39
|
* @type {number}
|
|
33
40
|
* @memberof CompositionEntryAggregateTally
|
|
34
41
|
*/
|
|
35
|
-
avg?: number;
|
|
42
|
+
avg?: number | null;
|
|
36
43
|
/**
|
|
37
|
-
*
|
|
44
|
+
* The smallest value of the numeric `column`. `null` when no entry matched.
|
|
38
45
|
* @type {number}
|
|
39
46
|
* @memberof CompositionEntryAggregateTally
|
|
40
47
|
*/
|
|
41
|
-
min?: number;
|
|
48
|
+
min?: number | null;
|
|
42
49
|
/**
|
|
43
|
-
*
|
|
50
|
+
* The largest value of the numeric `column`. `null` when no entry matched.
|
|
44
51
|
* @type {number}
|
|
45
52
|
* @memberof CompositionEntryAggregateTally
|
|
46
53
|
*/
|
|
47
|
-
max?: number;
|
|
54
|
+
max?: number | null;
|
|
48
55
|
/**
|
|
49
|
-
*
|
|
56
|
+
* The sum of the numeric `column`. `null` when no entry matched.
|
|
50
57
|
* @type {number}
|
|
51
58
|
* @memberof CompositionEntryAggregateTally
|
|
52
59
|
*/
|
|
53
|
-
sum?: number;
|
|
60
|
+
sum?: number | null;
|
|
54
61
|
}
|
|
55
62
|
/**
|
|
56
63
|
* Check if a given object implements the CompositionEntryAggregateTally interface.
|
|
@@ -11,24 +11,34 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { CompositionEntryAggregateTally } from './CompositionEntryAggregateTally';
|
|
13
13
|
/**
|
|
14
|
+
* What `aggregate` asked for, computed over the entries that match `since`, `until` and the `context` and
|
|
15
|
+
* column filters of the same call.
|
|
14
16
|
*
|
|
15
17
|
* @export
|
|
16
18
|
* @interface CompositionEntryAggregatesBlock
|
|
17
19
|
*/
|
|
18
20
|
export interface CompositionEntryAggregatesBlock {
|
|
19
21
|
/**
|
|
22
|
+
* The numeric column `avg`, `min`, `max` and `sum` were computed over. An empty text when only `count`
|
|
23
|
+
* was asked for.
|
|
20
24
|
*
|
|
21
25
|
* @type {string}
|
|
22
26
|
* @memberof CompositionEntryAggregatesBlock
|
|
23
27
|
*/
|
|
24
28
|
column: string;
|
|
25
29
|
/**
|
|
30
|
+
* One tally per value of `groupBy`, in the order of that column (a number as a number, `null` last), up
|
|
31
|
+
* to 200 groups; or ONE tally for the whole selection when no `groupBy` was asked for. Empty when
|
|
32
|
+
* `groupBy` was asked for and no entry matched.
|
|
26
33
|
*
|
|
27
34
|
* @type {Array<CompositionEntryAggregateTally>}
|
|
28
35
|
* @memberof CompositionEntryAggregatesBlock
|
|
29
36
|
*/
|
|
30
37
|
tallies: Array<CompositionEntryAggregateTally>;
|
|
31
38
|
/**
|
|
39
|
+
* True when more than 200 groups matched, so `tallies` lists the first 200 in that order. Absent
|
|
40
|
+
* otherwise. (Not to be mixed up with `moreGroups` on the reading, which is about the plain `tallies`
|
|
41
|
+
* of the whole table: those are 20 groups, largest first.)
|
|
32
42
|
*
|
|
33
43
|
* @type {boolean}
|
|
34
44
|
* @memberof CompositionEntryAggregatesBlock
|
|
@@ -30,7 +30,7 @@ export interface CompositionEntryItem {
|
|
|
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 CompositionEntryItem
|
|
36
36
|
*/
|
|
@@ -44,6 +44,9 @@ export interface CompositionEntryItem {
|
|
|
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 CompositionEntryItem
|
|
@@ -16,18 +16,26 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface CompositionEntryItemsMeta {
|
|
18
18
|
/**
|
|
19
|
+
* Pass it as `cursor` to get the next page. `null` on the last page, and for a table that cannot be
|
|
20
|
+
* paged (see `paging`).
|
|
19
21
|
*
|
|
20
22
|
* @type {string}
|
|
21
23
|
* @memberof CompositionEntryItemsMeta
|
|
22
24
|
*/
|
|
23
25
|
nextCursor: string | null;
|
|
24
26
|
/**
|
|
27
|
+
* How many entries match the filters and the `since` / `until` window, over all pages and not only this
|
|
28
|
+
* one.
|
|
25
29
|
*
|
|
26
30
|
* @type {number}
|
|
27
31
|
* @memberof CompositionEntryItemsMeta
|
|
28
32
|
*/
|
|
29
33
|
total: number;
|
|
30
34
|
/**
|
|
35
|
+
* Present, as `unavailable`, when the table cannot be paged: it has a time column but no id column to
|
|
36
|
+
* tell two entries of the same instant apart, or it has no time column and no id column that can be
|
|
37
|
+
* paged on. The answer is one page only, and `nextCursor` stays `null` even when `total` is larger than
|
|
38
|
+
* the page.
|
|
31
39
|
*
|
|
32
40
|
* @type {string}
|
|
33
41
|
* @memberof CompositionEntryItemsMeta
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Widgetic API Gateway
|
|
3
|
+
* API documentation for the Widgetic API Gateway
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { SurfaceConversionResult } from './SurfaceConversionResult';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ConvertSoloToTeams200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface ConvertSoloToTeams200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ConvertSoloToTeams200Response
|
|
23
|
+
*/
|
|
24
|
+
success?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {SurfaceConversionResult}
|
|
28
|
+
* @memberof ConvertSoloToTeams200Response
|
|
29
|
+
*/
|
|
30
|
+
data?: SurfaceConversionResult;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the ConvertSoloToTeams200Response interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfConvertSoloToTeams200Response(value: object): value is ConvertSoloToTeams200Response;
|
|
36
|
+
export declare function ConvertSoloToTeams200ResponseFromJSON(json: any): ConvertSoloToTeams200Response;
|
|
37
|
+
export declare function ConvertSoloToTeams200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConvertSoloToTeams200Response;
|
|
38
|
+
export declare function ConvertSoloToTeams200ResponseToJSON(json: any): ConvertSoloToTeams200Response;
|
|
39
|
+
export declare function ConvertSoloToTeams200ResponseToJSONTyped(value?: ConvertSoloToTeams200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Widgetic API Gateway
|
|
6
|
+
* API documentation for the Widgetic API Gateway
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfConvertSoloToTeams200Response = instanceOfConvertSoloToTeams200Response;
|
|
17
|
+
exports.ConvertSoloToTeams200ResponseFromJSON = ConvertSoloToTeams200ResponseFromJSON;
|
|
18
|
+
exports.ConvertSoloToTeams200ResponseFromJSONTyped = ConvertSoloToTeams200ResponseFromJSONTyped;
|
|
19
|
+
exports.ConvertSoloToTeams200ResponseToJSON = ConvertSoloToTeams200ResponseToJSON;
|
|
20
|
+
exports.ConvertSoloToTeams200ResponseToJSONTyped = ConvertSoloToTeams200ResponseToJSONTyped;
|
|
21
|
+
const SurfaceConversionResult_1 = require("./SurfaceConversionResult");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the ConvertSoloToTeams200Response interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfConvertSoloToTeams200Response(value) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
function ConvertSoloToTeams200ResponseFromJSON(json) {
|
|
29
|
+
return ConvertSoloToTeams200ResponseFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
function ConvertSoloToTeams200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'success': json['success'] == null ? undefined : json['success'],
|
|
37
|
+
'data': json['data'] == null ? undefined : (0, SurfaceConversionResult_1.SurfaceConversionResultFromJSON)(json['data']),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function ConvertSoloToTeams200ResponseToJSON(json) {
|
|
41
|
+
return ConvertSoloToTeams200ResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function ConvertSoloToTeams200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'success': value['success'],
|
|
49
|
+
'data': (0, SurfaceConversionResult_1.SurfaceConversionResultToJSON)(value['data']),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -53,6 +53,13 @@ export interface CreatePartnerRequest {
|
|
|
53
53
|
* @memberof CreatePartnerRequest
|
|
54
54
|
*/
|
|
55
55
|
allowedDomains?: Array<string>;
|
|
56
|
+
/**
|
|
57
|
+
* The website where the partner integrates Widgetic, such as `acme.com`; leave it out when it is not known yet. The partner's widgets can always be shown on this website and on every subdomain of it, and send entries from there, whatever `allowedDomains` says, so a partner can never lock its own platform out; it does not appear in `allowedDomains` and does not end an unrestricted partner's "no restriction". Send the bare name: a scheme, `www.`, a port, a path or a leading `*.` is removed, and the name may be at most 253 characters. A single word (`com`) and an IP address are refused with 400. The partner can read it in `GET /partners/mine`, and cannot change it.
|
|
58
|
+
*
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof CreatePartnerRequest
|
|
61
|
+
*/
|
|
62
|
+
platformDomain?: string;
|
|
56
63
|
/**
|
|
57
64
|
* Free-form billing settings
|
|
58
65
|
* @type {{ [key: string]: any; }}
|
|
@@ -44,6 +44,7 @@ function CreatePartnerRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
44
|
'isActive': json['isActive'] == null ? undefined : json['isActive'],
|
|
45
45
|
'webhookUrl': json['webhookUrl'] == null ? undefined : json['webhookUrl'],
|
|
46
46
|
'allowedDomains': json['allowedDomains'] == null ? undefined : json['allowedDomains'],
|
|
47
|
+
'platformDomain': json['platformDomain'] == null ? undefined : json['platformDomain'],
|
|
47
48
|
'billingSettings': json['billingSettings'] == null ? undefined : json['billingSettings'],
|
|
48
49
|
};
|
|
49
50
|
}
|
|
@@ -61,6 +62,7 @@ function CreatePartnerRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
61
62
|
'isActive': value['isActive'],
|
|
62
63
|
'webhookUrl': value['webhookUrl'],
|
|
63
64
|
'allowedDomains': value['allowedDomains'],
|
|
65
|
+
'platformDomain': value['platformDomain'],
|
|
64
66
|
'billingSettings': value['billingSettings'],
|
|
65
67
|
};
|
|
66
68
|
}
|
|
@@ -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 DeleteCompositionDataSource200Response
|
|
16
|
+
*/
|
|
17
|
+
export interface DeleteCompositionDataSource200Response {
|
|
18
|
+
/**
|
|
19
|
+
* True whenever the call succeeded, also when there was no binding to remove
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof DeleteCompositionDataSource200Response
|
|
22
|
+
*/
|
|
23
|
+
removed: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the DeleteCompositionDataSource200Response interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfDeleteCompositionDataSource200Response(value: object): value is DeleteCompositionDataSource200Response;
|
|
29
|
+
export declare function DeleteCompositionDataSource200ResponseFromJSON(json: any): DeleteCompositionDataSource200Response;
|
|
30
|
+
export declare function DeleteCompositionDataSource200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeleteCompositionDataSource200Response;
|
|
31
|
+
export declare function DeleteCompositionDataSource200ResponseToJSON(json: any): DeleteCompositionDataSource200Response;
|
|
32
|
+
export declare function DeleteCompositionDataSource200ResponseToJSONTyped(value?: DeleteCompositionDataSource200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Widgetic API Gateway
|
|
6
|
+
* API documentation for the Widgetic API Gateway
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfDeleteCompositionDataSource200Response = instanceOfDeleteCompositionDataSource200Response;
|
|
17
|
+
exports.DeleteCompositionDataSource200ResponseFromJSON = DeleteCompositionDataSource200ResponseFromJSON;
|
|
18
|
+
exports.DeleteCompositionDataSource200ResponseFromJSONTyped = DeleteCompositionDataSource200ResponseFromJSONTyped;
|
|
19
|
+
exports.DeleteCompositionDataSource200ResponseToJSON = DeleteCompositionDataSource200ResponseToJSON;
|
|
20
|
+
exports.DeleteCompositionDataSource200ResponseToJSONTyped = DeleteCompositionDataSource200ResponseToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the DeleteCompositionDataSource200Response interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfDeleteCompositionDataSource200Response(value) {
|
|
25
|
+
if (!('removed' in value) || value['removed'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function DeleteCompositionDataSource200ResponseFromJSON(json) {
|
|
30
|
+
return DeleteCompositionDataSource200ResponseFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function DeleteCompositionDataSource200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'removed': json['removed'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function DeleteCompositionDataSource200ResponseToJSON(json) {
|
|
41
|
+
return DeleteCompositionDataSource200ResponseToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function DeleteCompositionDataSource200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'removed': value['removed'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -34,13 +34,13 @@ export interface GetCompositionContentSchema200Response {
|
|
|
34
34
|
*/
|
|
35
35
|
type?: string;
|
|
36
36
|
/**
|
|
37
|
-
* Widget-wide fields; enriched properties may include `role` and `roleSource`
|
|
37
|
+
* Widget-wide fields; enriched properties may include `role` and `roleSource`. AI-built widgets keep their widget-wide fields in `genericContent`, as a list of properties, instead
|
|
38
38
|
* @type {object}
|
|
39
39
|
* @memberof GetCompositionContentSchema200Response
|
|
40
40
|
*/
|
|
41
41
|
content?: object;
|
|
42
42
|
/**
|
|
43
|
-
* Repeating list schema; list-level `role` is `list`; item fields use semantic roles
|
|
43
|
+
* Repeating list schema; list-level `role` is `list`; item fields use semantic roles. AI-built widgets store an array of default items instead, each repeating the same fields with their roles, and no list-level `role`
|
|
44
44
|
* @type {object}
|
|
45
45
|
* @memberof GetCompositionContentSchema200Response
|
|
46
46
|
*/
|
|
@@ -17,8 +17,9 @@
|
|
|
17
17
|
export interface GetOrganizationPricing200ResponseDataStorage {
|
|
18
18
|
/**
|
|
19
19
|
* Price of one GB of extra storage per month. Extra storage is a
|
|
20
|
-
* recurring add-on on
|
|
21
|
-
*
|
|
20
|
+
* recurring add-on on a Teams subscription (the organization's
|
|
21
|
+
* space) or on a Solo subscription (the person's own space), at the
|
|
22
|
+
* same price for both: it renews with the plan until it is removed.
|
|
22
23
|
*
|
|
23
24
|
* @type {number}
|
|
24
25
|
* @memberof GetOrganizationPricing200ResponseDataStorage
|
|
@@ -22,31 +22,31 @@ export interface GetOrganizationStorageUsage200ResponseDataStorageUsage {
|
|
|
22
22
|
*/
|
|
23
23
|
organizationId?: string;
|
|
24
24
|
/**
|
|
25
|
-
* Size of the
|
|
25
|
+
* Size of the organization's shared space in bytes (plan storage plus packs)
|
|
26
26
|
* @type {number}
|
|
27
27
|
* @memberof GetOrganizationStorageUsage200ResponseDataStorageUsage
|
|
28
28
|
*/
|
|
29
29
|
totalQuotaBytes?: number;
|
|
30
30
|
/**
|
|
31
|
-
* Size of the
|
|
31
|
+
* Size of the organization's shared space in GB
|
|
32
32
|
* @type {number}
|
|
33
33
|
* @memberof GetOrganizationStorageUsage200ResponseDataStorageUsage
|
|
34
34
|
*/
|
|
35
35
|
totalQuotaGb?: number;
|
|
36
36
|
/**
|
|
37
|
-
* The part of the
|
|
37
|
+
* The part of the shared space the plan grants, in GB
|
|
38
38
|
* @type {number}
|
|
39
39
|
* @memberof GetOrganizationStorageUsage200ResponseDataStorageUsage
|
|
40
40
|
*/
|
|
41
41
|
planStorageGb?: number;
|
|
42
42
|
/**
|
|
43
|
-
* The part of the
|
|
43
|
+
* The part of the shared space bought as storage packs, in GB
|
|
44
44
|
* @type {number}
|
|
45
45
|
* @memberof GetOrganizationStorageUsage200ResponseDataStorageUsage
|
|
46
46
|
*/
|
|
47
47
|
packsStorageGb?: number;
|
|
48
48
|
/**
|
|
49
|
-
* Bytes
|
|
49
|
+
* Bytes the organization's members have stored while working inside the organization
|
|
50
50
|
* @type {number}
|
|
51
51
|
* @memberof GetOrganizationStorageUsage200ResponseDataStorageUsage
|
|
52
52
|
*/
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Widgetic API Gateway
|
|
3
|
+
* API documentation for the Widgetic API Gateway
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { AccountCreditTransaction } from './AccountCreditTransaction';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface GetPartnerCreditTransactions200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface GetPartnerCreditTransactions200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof GetPartnerCreditTransactions200Response
|
|
23
|
+
*/
|
|
24
|
+
success?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<AccountCreditTransaction>}
|
|
28
|
+
* @memberof GetPartnerCreditTransactions200Response
|
|
29
|
+
*/
|
|
30
|
+
data?: Array<AccountCreditTransaction>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the GetPartnerCreditTransactions200Response interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfGetPartnerCreditTransactions200Response(value: object): value is GetPartnerCreditTransactions200Response;
|
|
36
|
+
export declare function GetPartnerCreditTransactions200ResponseFromJSON(json: any): GetPartnerCreditTransactions200Response;
|
|
37
|
+
export declare function GetPartnerCreditTransactions200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetPartnerCreditTransactions200Response;
|
|
38
|
+
export declare function GetPartnerCreditTransactions200ResponseToJSON(json: any): GetPartnerCreditTransactions200Response;
|
|
39
|
+
export declare function GetPartnerCreditTransactions200ResponseToJSONTyped(value?: GetPartnerCreditTransactions200Response | null, ignoreDiscriminator?: boolean): any;
|