@widgetic/api-sdk-ts 0.0.0-stage → 1.11.64
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 +98 -2
- package/dist/apis/CanvasesApi.d.ts +92 -0
- package/dist/apis/CanvasesApi.js +253 -0
- package/dist/apis/CompositionsApi.d.ts +619 -0
- package/dist/apis/CompositionsApi.js +1659 -0
- package/dist/apis/CreditsApi.d.ts +47 -0
- package/dist/apis/CreditsApi.js +132 -0
- package/dist/apis/EntitlementsApi.d.ts +50 -0
- package/dist/apis/EntitlementsApi.js +141 -0
- package/dist/apis/InvoicesApi.d.ts +49 -0
- package/dist/apis/InvoicesApi.js +113 -0
- package/dist/apis/ManagedUsersApi.d.ts +253 -0
- package/dist/apis/ManagedUsersApi.js +695 -0
- package/dist/apis/OperationsApi.d.ts +31 -0
- package/dist/apis/OperationsApi.js +90 -0
- package/dist/apis/PartnerApi.d.ts +2114 -0
- package/dist/apis/PartnerApi.js +5475 -0
- package/dist/apis/PartnersApi.d.ts +542 -0
- package/dist/apis/PartnersApi.js +1450 -0
- package/dist/apis/PublicEmbedApi.d.ts +104 -0
- package/dist/apis/PublicEmbedApi.js +250 -0
- package/dist/apis/TokensApi.d.ts +26 -0
- package/dist/apis/TokensApi.js +88 -0
- package/dist/apis/UploadsApi.d.ts +116 -0
- package/dist/apis/UploadsApi.js +285 -0
- package/dist/apis/UsersApi.d.ts +190 -0
- package/dist/apis/UsersApi.js +514 -0
- package/dist/apis/WidgetsApi.d.ts +77 -0
- package/dist/apis/WidgetsApi.js +222 -0
- package/dist/apis/index.d.ts +14 -0
- package/dist/apis/index.js +32 -0
- package/dist/esm/apis/CanvasesApi.js +216 -0
- package/dist/esm/apis/CompositionsApi.js +1622 -0
- package/dist/esm/apis/CreditsApi.js +95 -0
- package/dist/esm/apis/EntitlementsApi.js +104 -0
- package/dist/esm/apis/InvoicesApi.js +76 -0
- package/dist/esm/apis/ManagedUsersApi.js +658 -0
- package/dist/esm/apis/OperationsApi.js +53 -0
- package/dist/esm/apis/PartnerApi.js +5438 -0
- package/dist/esm/apis/PartnersApi.js +1413 -0
- package/dist/esm/apis/PublicEmbedApi.js +213 -0
- package/dist/esm/apis/TokensApi.js +51 -0
- package/dist/esm/apis/UploadsApi.js +248 -0
- package/dist/esm/apis/UsersApi.js +477 -0
- package/dist/esm/apis/WidgetsApi.js +185 -0
- package/dist/esm/apis/index.js +16 -0
- package/dist/esm/index.js +5 -0
- package/dist/esm/models/AccountCreditBalance.js +49 -0
- package/dist/esm/models/AccountCreditBalanceResponse.js +51 -0
- package/dist/esm/models/AccountCreditTransaction.js +53 -0
- package/dist/esm/models/AdapterConnection.js +75 -0
- package/dist/esm/models/AdapterConnectionRemoval.js +43 -0
- package/dist/esm/models/AddAiAnswersKnowledgeDocument201Response.js +51 -0
- package/dist/esm/models/AddAiAnswersKnowledgeDocumentRequest.js +47 -0
- package/dist/esm/models/AddDomainRequest.js +43 -0
- package/dist/esm/models/AiAnswersKnowledge.js +49 -0
- package/dist/esm/models/AiAnswersKnowledgeDocument.js +74 -0
- package/dist/esm/models/AiAnswersKnowledgeRemoval.js +43 -0
- package/dist/esm/models/AiAnswersKnowledgeTotals.js +55 -0
- package/dist/esm/models/ApiKeyScope.js +74 -0
- package/dist/esm/models/Canvas.js +63 -0
- package/dist/esm/models/CanvasResponse.js +51 -0
- package/dist/esm/models/CheckCompositionAccessResponse.js +51 -0
- package/dist/esm/models/CheckCompositionAccessResponseData.js +43 -0
- package/dist/esm/models/Composition.js +93 -0
- package/dist/esm/models/CompositionDataSource.js +47 -0
- package/dist/esm/models/CompositionDataSourceResponse.js +51 -0
- package/dist/esm/models/CompositionEntriesDescription.js +52 -0
- package/dist/esm/models/CompositionEntriesDescriptionResponse.js +51 -0
- package/dist/esm/models/CompositionEntriesReading.js +75 -0
- package/dist/esm/models/CompositionEntriesReadingResponse.js +51 -0
- package/dist/esm/models/CompositionEntryAggregateTally.js +51 -0
- package/dist/esm/models/CompositionEntryAggregatesBlock.js +50 -0
- package/dist/esm/models/CompositionEntryColumn.js +47 -0
- package/dist/esm/models/CompositionEntryDeleteSuccess.js +48 -0
- package/dist/esm/models/CompositionEntryDeleteSuccessData.js +43 -0
- package/dist/esm/models/CompositionEntryItem.js +57 -0
- package/dist/esm/models/CompositionEntryItemsMeta.js +55 -0
- package/dist/esm/models/CompositionEntryItemsPageSuccess.js +53 -0
- package/dist/esm/models/CompositionEntryTable.js +52 -0
- package/dist/esm/models/CompositionEntryTally.js +47 -0
- package/dist/esm/models/CompositionResponse.js +51 -0
- package/dist/esm/models/CompositionVersion.js +49 -0
- package/dist/esm/models/ContentCheckFinding.js +51 -0
- package/dist/esm/models/ContentItemWriteResult.js +52 -0
- package/dist/esm/models/ContentItemWriteResultValidationResult.js +45 -0
- package/dist/esm/models/CopyPartnerPresetRequest.js +41 -0
- package/dist/esm/models/CreateCanvasRequest.js +53 -0
- package/dist/esm/models/CreateCompositionContentItem201Response.js +51 -0
- package/dist/esm/models/CreateCompositionContentItemRequest.js +43 -0
- package/dist/esm/models/CreateCompositionDatabaseRecord201Response.js +50 -0
- package/dist/esm/models/CreateCompositionFromPresetRequest.js +51 -0
- package/dist/esm/models/CreateCompositionFromWidget201Response.js +51 -0
- package/dist/esm/models/CreateCompositionFromWidgetRequest.js +53 -0
- package/dist/esm/models/CreateUserApiKeyRequest.js +58 -0
- package/dist/esm/models/CreateWidget201Response.js +51 -0
- package/dist/esm/models/CreateWidget201ResponseData.js +92 -0
- package/dist/esm/models/CreatedUserApiKey.js +83 -0
- package/dist/esm/models/CreatedUserApiKeyResponse.js +51 -0
- package/dist/esm/models/DeleteCompositionContentItemResponse.js +51 -0
- package/dist/esm/models/DeleteCompositionContentItemResponseData.js +43 -0
- package/dist/esm/models/DeleteCompositionDataSourceResponse.js +51 -0
- package/dist/esm/models/DeleteCompositionDataSourceResponseData.js +43 -0
- package/dist/esm/models/DeleteManagedUser200Response.js +51 -0
- package/dist/esm/models/DeletePersonalWorkspaceDomainResponse.js +51 -0
- package/dist/esm/models/DeletePersonalWorkspaceDomainResponseData.js +41 -0
- package/dist/esm/models/DeleteUserApiKeyResponse.js +51 -0
- package/dist/esm/models/DeleteUserApiKeyResponseData.js +41 -0
- package/dist/esm/models/DesignDefaults.js +43 -0
- package/dist/esm/models/DuplicateComposition202Response.js +51 -0
- package/dist/esm/models/DuplicateComposition202ResponseData.js +41 -0
- package/dist/esm/models/DuplicateCompositionRequest.js +43 -0
- package/dist/esm/models/EditorSession.js +79 -0
- package/dist/esm/models/EditorSessionResponse.js +51 -0
- package/dist/esm/models/Entitlement.js +71 -0
- package/dist/esm/models/ErrorDetail.js +63 -0
- package/dist/esm/models/ErrorResponse.js +54 -0
- package/dist/esm/models/ExportCompositionEntryItems200Response.js +53 -0
- package/dist/esm/models/ExportCompositionEntryItems200ResponseMeta.js +47 -0
- package/dist/esm/models/GetAiAnswersKnowledge200Response.js +51 -0
- package/dist/esm/models/GetAllCanvasesResponse.js +51 -0
- package/dist/esm/models/GetAllCanvasesResponseData.js +48 -0
- package/dist/esm/models/GetAllCompositions200Response.js +51 -0
- package/dist/esm/models/GetAllManagedUsers200Response.js +51 -0
- package/dist/esm/models/GetCompositionContentResponse.js +50 -0
- package/dist/esm/models/GetCompositionContentSchemaResponse.js +51 -0
- package/dist/esm/models/GetCompositionContentSchemaResponseData.js +51 -0
- package/dist/esm/models/GetCompositionDataSourceResponse.js +51 -0
- package/dist/esm/models/GetCompositionDatabaseRecords200Response.js +50 -0
- package/dist/esm/models/GetCompositionDesignResponse.js +50 -0
- package/dist/esm/models/GetCompositionDesignSchemaResponse.js +51 -0
- package/dist/esm/models/GetCompositionDesignSchemaResponseData.js +51 -0
- package/dist/esm/models/GetCompositionEmbedSchemaResponse.js +51 -0
- package/dist/esm/models/GetCompositionEmbedSchemaResponseData.js +57 -0
- package/dist/esm/models/GetCompositionEmbedSettingsResponse.js +50 -0
- package/dist/esm/models/GetCompositionPreviewResponse.js +51 -0
- package/dist/esm/models/GetCompositionPreviewResponseData.js +47 -0
- package/dist/esm/models/GetCompositionVersions200Response.js +51 -0
- package/dist/esm/models/GetCompositionsBatchRequest.js +43 -0
- package/dist/esm/models/GetCompositionsBatchResponse.js +51 -0
- package/dist/esm/models/GetCompositionsBatchResponseData.js +45 -0
- package/dist/esm/models/GetInvoicesByPartnerId200Response.js +51 -0
- package/dist/esm/models/GetManagedUserEntitlementsResponse.js +51 -0
- package/dist/esm/models/GetManagedUserEntitlementsResponseData.js +44 -0
- package/dist/esm/models/GetManagedUserLimits200Response.js +51 -0
- package/dist/esm/models/GetManagedUserStorageUsage200Response.js +51 -0
- package/dist/esm/models/GetManagedUserStorageUsage200ResponseData.js +52 -0
- package/dist/esm/models/GetManagedUserStorageUsage200ResponseDataByPurpose.js +48 -0
- package/dist/esm/models/GetManagedUsersByManagerIdResponse.js +51 -0
- package/dist/esm/models/GetManagedUsersByManagerIdResponseData.js +48 -0
- package/dist/esm/models/GetPartnerBillingOverview200Response.js +51 -0
- package/dist/esm/models/GetPartnerCreditTransactions200Response.js +51 -0
- package/dist/esm/models/GetPartnerDesignDefaults200Response.js +51 -0
- package/dist/esm/models/GetPartnerEntitlementsResponse.js +51 -0
- package/dist/esm/models/GetPartnerEntitlementsResponseData.js +44 -0
- package/dist/esm/models/GetPersonalWorkspaceDomains200Response.js +51 -0
- package/dist/esm/models/GetPublicCompositionEmbed200Response.js +71 -0
- package/dist/esm/models/GetPublicCompositionEmbed200ResponseDataSource.js +43 -0
- package/dist/esm/models/GetPublicCompositionEmbed200ResponseDirect.js +45 -0
- package/dist/esm/models/GetUserAdapterConnections200Response.js +51 -0
- package/dist/esm/models/GetUserApiKeyUsageLogsResponse.js +51 -0
- package/dist/esm/models/GetUserApiKeyUsageLogsResponseData.js +44 -0
- package/dist/esm/models/GetUserApiKeys200Response.js +51 -0
- package/dist/esm/models/GetWidgets200Response.js +51 -0
- package/dist/esm/models/GetWidgetsBatchRequest.js +43 -0
- package/dist/esm/models/GetWidgetsBatchResponse.js +51 -0
- package/dist/esm/models/GetWidgetsBatchResponseData.js +45 -0
- package/dist/esm/models/GetWidgetsBatchResponseDataErrorsInner.js +43 -0
- package/dist/esm/models/ListPartnerPresets200Response.js +51 -0
- package/dist/esm/models/ManagedUser.js +63 -0
- package/dist/esm/models/ManagedUserEntriesMeta.js +57 -0
- package/dist/esm/models/ManagedUserEntriesPageSuccess.js +53 -0
- package/dist/esm/models/ManagedUserEntryItem.js +65 -0
- package/dist/esm/models/ManagedUserLimits.js +55 -0
- package/dist/esm/models/ManagedUserOperationUsage.js +59 -0
- package/dist/esm/models/ManagedUserRemoval.js +47 -0
- package/dist/esm/models/ManagedUserResponse.js +51 -0
- package/dist/esm/models/ManagedUserUsage.js +65 -0
- package/dist/esm/models/ManagedUserUsageResponse.js +51 -0
- package/dist/esm/models/ManagedUserUsageTotals.js +55 -0
- package/dist/esm/models/MyPartner.js +79 -0
- package/dist/esm/models/MyPartners.js +62 -0
- package/dist/esm/models/MyPartnersResponse.js +51 -0
- package/dist/esm/models/NewComposition.js +65 -0
- package/dist/esm/models/NewEditorSession.js +57 -0
- package/dist/esm/models/NewManagedUser.js +47 -0
- package/dist/esm/models/NewWidget.js +74 -0
- package/dist/esm/models/OperationsIdGetResponse.js +51 -0
- package/dist/esm/models/OperationsIdGetResponseData.js +65 -0
- package/dist/esm/models/PartnerAnalyticsByManagedUser.js +58 -0
- package/dist/esm/models/PartnerAnalyticsByManagedUserResponse.js +51 -0
- package/dist/esm/models/PartnerAnalyticsOfDay.js +55 -0
- package/dist/esm/models/PartnerAnalyticsOfManagedUser.js +79 -0
- package/dist/esm/models/PartnerAnalyticsOfWidget.js +63 -0
- package/dist/esm/models/PartnerAnalyticsSummary.js +72 -0
- package/dist/esm/models/PartnerAnalyticsSummaryResponse.js +51 -0
- package/dist/esm/models/PartnerAnalyticsTimeline.js +57 -0
- package/dist/esm/models/PartnerAnalyticsTimelineResponse.js +51 -0
- package/dist/esm/models/PartnerAnalyticsTopWidgets.js +57 -0
- package/dist/esm/models/PartnerAnalyticsTopWidgetsResponse.js +51 -0
- package/dist/esm/models/PartnerBillingOverview.js +57 -0
- package/dist/esm/models/PartnerBillingOverviewBillingIntegration.js +63 -0
- package/dist/esm/models/PartnerBillingOverviewOperationalCredits.js +56 -0
- package/dist/esm/models/PartnerBillingOverviewPartner.js +62 -0
- package/dist/esm/models/PartnerContract.js +79 -0
- package/dist/esm/models/PartnerContractResponse.js +51 -0
- package/dist/esm/models/PartnerCustomization.js +81 -0
- package/dist/esm/models/PartnerDataDatabase.js +71 -0
- package/dist/esm/models/PartnerDataDatabaseRemoval.js +43 -0
- package/dist/esm/models/PartnerDataDatabaseRemovalResponse.js +51 -0
- package/dist/esm/models/PartnerDataDatabaseResponse.js +51 -0
- package/dist/esm/models/PartnerEntryContextSecret.js +48 -0
- package/dist/esm/models/PartnerEntryContextSecretResponse.js +51 -0
- package/dist/esm/models/PartnerEntryContextSigning.js +63 -0
- package/dist/esm/models/PartnerEntryContextSigningResponse.js +51 -0
- package/dist/esm/models/PartnerExtraCreditsInvoice.js +87 -0
- package/dist/esm/models/PartnerExtraCreditsInvoiceResponse.js +51 -0
- package/dist/esm/models/PartnerInvoice.js +101 -0
- package/dist/esm/models/PartnerNotification.js +77 -0
- package/dist/esm/models/PartnerNotificationDefaultRecipients.js +47 -0
- package/dist/esm/models/PartnerNotificationDelivery.js +115 -0
- package/dist/esm/models/PartnerNotificationDeliveryLog.js +44 -0
- package/dist/esm/models/PartnerNotificationDeliveryLogResponse.js +51 -0
- package/dist/esm/models/PartnerNotificationDeliveryResponse.js +51 -0
- package/dist/esm/models/PartnerNotificationEvent.js +81 -0
- package/dist/esm/models/PartnerNotificationEventType.js +57 -0
- package/dist/esm/models/PartnerNotificationPage.js +48 -0
- package/dist/esm/models/PartnerNotificationPageResponse.js +51 -0
- package/dist/esm/models/PartnerNotificationSettings.js +82 -0
- package/dist/esm/models/PartnerNotificationSettingsChange.js +48 -0
- package/dist/esm/models/PartnerNotificationSettingsChangeResponse.js +51 -0
- package/dist/esm/models/PartnerNotificationSettingsResponse.js +51 -0
- package/dist/esm/models/PartnerNotificationTestEventRequest.js +44 -0
- package/dist/esm/models/PartnerNotificationTestEventResult.js +53 -0
- package/dist/esm/models/PartnerNotificationTestEventResultResponse.js +51 -0
- package/dist/esm/models/PartnerPreset.js +75 -0
- package/dist/esm/models/PartnerPresetCopy.js +63 -0
- package/dist/esm/models/PartnerPresetCopyResponse.js +51 -0
- package/dist/esm/models/PartnerPresetRemoval.js +43 -0
- package/dist/esm/models/PartnerPresetRemovalResponse.js +51 -0
- package/dist/esm/models/PartnerPresetResponse.js +51 -0
- package/dist/esm/models/PartnerReportPage.js +51 -0
- package/dist/esm/models/PartnerReportPeriod.js +47 -0
- package/dist/esm/models/PartnerStorageDestination.js +83 -0
- package/dist/esm/models/PartnerStorageDestinationResponse.js +51 -0
- package/dist/esm/models/PartnerStorageRemoval.js +43 -0
- package/dist/esm/models/PartnerStorageRemovalResponse.js +51 -0
- package/dist/esm/models/PartnerStorageUsage.js +58 -0
- package/dist/esm/models/PartnerStorageUsageOfManagedUser.js +75 -0
- package/dist/esm/models/PartnerStorageUsageResponse.js +51 -0
- package/dist/esm/models/PartnerStorageUsageTotals.js +55 -0
- package/dist/esm/models/PersonalWorkspaceDomain.js +55 -0
- package/dist/esm/models/PersonalWorkspaceDomainResult.js +48 -0
- package/dist/esm/models/PersonalWorkspaceDomainResultResponse.js +51 -0
- package/dist/esm/models/PostPublicCompositionEmbedStatus200Response.js +51 -0
- package/dist/esm/models/PostPublicCompositionEmbedStatus200ResponseData.js +51 -0
- package/dist/esm/models/PostPublicCompositionEmbedStatusRequest.js +43 -0
- package/dist/esm/models/PublicAdapterCallError.js +53 -0
- package/dist/esm/models/PublicAdapterCallRequest.js +51 -0
- package/dist/esm/models/PublicAdapterCallResult.js +48 -0
- package/dist/esm/models/PublicAdapterCallResultData.js +43 -0
- package/dist/esm/models/PublicAdapterFileResult.js +48 -0
- package/dist/esm/models/PublicAdapterFileResultData.js +44 -0
- package/dist/esm/models/PublicAdapterFileResultDataFile.js +63 -0
- package/dist/esm/models/PublicCompositionEntryCreated.js +48 -0
- package/dist/esm/models/PublicCompositionEntryCreatedData.js +51 -0
- package/dist/esm/models/PublicCompositionEntryRequest.js +47 -0
- package/dist/esm/models/PublicEmbedFailure.js +61 -0
- package/dist/esm/models/PublicEmbedFailureDetails.js +52 -0
- package/dist/esm/models/PublicEmbedFailureError.js +57 -0
- package/dist/esm/models/PurposeStorageBucket.js +47 -0
- package/dist/esm/models/RemoveAiAnswersKnowledgeDocument200Response.js +51 -0
- package/dist/esm/models/RemoveUserAdapterConnection200Response.js +51 -0
- package/dist/esm/models/RequestExtraCredits.js +43 -0
- package/dist/esm/models/ResponseMeta.js +59 -0
- package/dist/esm/models/RevokeManagedUserEditorSessionsResponse.js +51 -0
- package/dist/esm/models/RevokeManagedUserEditorSessionsResponseData.js +41 -0
- package/dist/esm/models/SetAdapterConnectionRequest.js +43 -0
- package/dist/esm/models/SetCompositionDataSourceRequest.js +47 -0
- package/dist/esm/models/SetDynamicContentRequest.js +51 -0
- package/dist/esm/models/SetDynamicContentResponse.js +51 -0
- package/dist/esm/models/SetDynamicContentResponseData.js +50 -0
- package/dist/esm/models/SetDynamicContentResponseDataValidationResult.js +45 -0
- package/dist/esm/models/SetManagedUserLimitsRequest.js +43 -0
- package/dist/esm/models/SetPartnerDataDatabaseRequest.js +43 -0
- package/dist/esm/models/SetPartnerDesignDefaultsRequest.js +43 -0
- package/dist/esm/models/SetPartnerPresetRequest.js +49 -0
- package/dist/esm/models/SetPartnerStorageDestinationRequest.js +67 -0
- package/dist/esm/models/SetUserAdapterConnection200Response.js +51 -0
- package/dist/esm/models/SuccessResponse.js +50 -0
- package/dist/esm/models/UpdateCanvasRequest.js +45 -0
- package/dist/esm/models/UpdateComposition.js +55 -0
- package/dist/esm/models/UpdateCompositionStatusRequest.js +51 -0
- package/dist/esm/models/UpdateDomainRequest.js +43 -0
- package/dist/esm/models/UpdateManagedUser.js +45 -0
- package/dist/esm/models/UpdatePartnerEntryContextSigningRequest.js +43 -0
- package/dist/esm/models/UpdatePartnerNotificationSettingsRequest.js +48 -0
- package/dist/esm/models/UpdateUserApiKeyRequest.js +43 -0
- package/dist/esm/models/Upload.js +110 -0
- package/dist/esm/models/UploadLimits.js +51 -0
- package/dist/esm/models/UploadLimitsResponse.js +51 -0
- package/dist/esm/models/UploadResponse.js +51 -0
- package/dist/esm/models/UploadsGet200Response.js +51 -0
- package/dist/esm/models/UploadsIdDelete200Response.js +51 -0
- package/dist/esm/models/UploadsIdDelete200ResponseData.js +41 -0
- package/dist/esm/models/UserApiKey.js +81 -0
- package/dist/esm/models/UserApiKeyResponse.js +51 -0
- package/dist/esm/models/UserApiKeyUsageLog.js +67 -0
- package/dist/esm/models/ValidateCompositionContentResponse.js +51 -0
- package/dist/esm/models/ValidateCompositionContentResponseData.js +50 -0
- package/dist/esm/models/ValidateToken200Response.js +51 -0
- package/dist/esm/models/ValidateToken200ResponseData.js +57 -0
- package/dist/esm/models/Widget.js +90 -0
- package/dist/esm/models/index.js +268 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/runtime.js +516 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +21 -0
- package/dist/models/AccountCreditBalance.d.ts +58 -0
- package/dist/models/AccountCreditBalance.js +56 -0
- package/dist/models/AccountCreditBalanceResponse.d.ts +46 -0
- package/dist/models/AccountCreditBalanceResponse.js +58 -0
- package/dist/models/AccountCreditTransaction.d.ts +69 -0
- package/dist/models/AccountCreditTransaction.js +60 -0
- package/dist/models/AdapterConnection.d.ts +77 -0
- package/dist/models/AdapterConnection.js +83 -0
- package/dist/models/AdapterConnectionRemoval.d.ts +32 -0
- package/dist/models/AdapterConnectionRemoval.js +50 -0
- package/dist/models/AddAiAnswersKnowledgeDocument201Response.d.ts +46 -0
- package/dist/models/AddAiAnswersKnowledgeDocument201Response.js +58 -0
- package/dist/models/AddAiAnswersKnowledgeDocumentRequest.d.ts +38 -0
- package/dist/models/AddAiAnswersKnowledgeDocumentRequest.js +54 -0
- package/dist/models/AddDomainRequest.d.ts +32 -0
- package/dist/models/AddDomainRequest.js +50 -0
- package/dist/models/AiAnswersKnowledge.d.ts +40 -0
- package/dist/models/AiAnswersKnowledge.js +56 -0
- package/dist/models/AiAnswersKnowledgeDocument.d.ts +76 -0
- package/dist/models/AiAnswersKnowledgeDocument.js +82 -0
- package/dist/models/AiAnswersKnowledgeRemoval.d.ts +32 -0
- package/dist/models/AiAnswersKnowledgeRemoval.js +50 -0
- package/dist/models/AiAnswersKnowledgeTotals.d.ts +50 -0
- package/dist/models/AiAnswersKnowledgeTotals.js +62 -0
- package/dist/models/ApiKeyScope.d.ts +56 -0
- package/dist/models/ApiKeyScope.js +82 -0
- package/dist/models/Canvas.d.ts +74 -0
- package/dist/models/Canvas.js +70 -0
- package/dist/models/CanvasResponse.d.ts +46 -0
- package/dist/models/CanvasResponse.js +58 -0
- package/dist/models/CheckCompositionAccessResponse.d.ts +46 -0
- package/dist/models/CheckCompositionAccessResponse.js +58 -0
- package/dist/models/CheckCompositionAccessResponseData.d.ts +38 -0
- package/dist/models/CheckCompositionAccessResponseData.js +50 -0
- package/dist/models/Composition.d.ts +131 -0
- package/dist/models/Composition.js +101 -0
- package/dist/models/CompositionDataSource.d.ts +41 -0
- package/dist/models/CompositionDataSource.js +54 -0
- package/dist/models/CompositionDataSourceResponse.d.ts +46 -0
- package/dist/models/CompositionDataSourceResponse.js +58 -0
- package/dist/models/CompositionEntriesDescription.d.ts +47 -0
- package/dist/models/CompositionEntriesDescription.js +59 -0
- package/dist/models/CompositionEntriesDescriptionResponse.d.ts +46 -0
- package/dist/models/CompositionEntriesDescriptionResponse.js +58 -0
- package/dist/models/CompositionEntriesReading.d.ts +99 -0
- package/dist/models/CompositionEntriesReading.js +82 -0
- package/dist/models/CompositionEntriesReadingResponse.d.ts +46 -0
- package/dist/models/CompositionEntriesReadingResponse.js +58 -0
- package/dist/models/CompositionEntryAggregateTally.d.ts +69 -0
- package/dist/models/CompositionEntryAggregateTally.js +58 -0
- package/dist/models/CompositionEntryAggregatesBlock.d.ts +55 -0
- package/dist/models/CompositionEntryAggregatesBlock.js +57 -0
- package/dist/models/CompositionEntryColumn.d.ts +38 -0
- package/dist/models/CompositionEntryColumn.js +54 -0
- package/dist/models/CompositionEntryDeleteSuccess.d.ts +39 -0
- package/dist/models/CompositionEntryDeleteSuccess.js +55 -0
- package/dist/models/CompositionEntryDeleteSuccessData.d.ts +32 -0
- package/dist/models/CompositionEntryDeleteSuccessData.js +50 -0
- package/dist/models/CompositionEntryItem.d.ts +63 -0
- package/dist/models/CompositionEntryItem.js +64 -0
- package/dist/models/CompositionEntryItemsMeta.d.ts +59 -0
- package/dist/models/CompositionEntryItemsMeta.js +63 -0
- package/dist/models/CompositionEntryItemsPageSuccess.d.ts +46 -0
- package/dist/models/CompositionEntryItemsPageSuccess.js +60 -0
- package/dist/models/CompositionEntryTable.d.ts +45 -0
- package/dist/models/CompositionEntryTable.js +59 -0
- package/dist/models/CompositionEntryTally.d.ts +40 -0
- package/dist/models/CompositionEntryTally.js +54 -0
- package/dist/models/CompositionResponse.d.ts +46 -0
- package/dist/models/CompositionResponse.js +58 -0
- package/dist/models/CompositionVersion.d.ts +56 -0
- package/dist/models/CompositionVersion.js +56 -0
- package/dist/models/ContentCheckFinding.d.ts +50 -0
- package/dist/models/ContentCheckFinding.js +58 -0
- package/dist/models/ContentItemWriteResult.d.ts +65 -0
- package/dist/models/ContentItemWriteResult.js +59 -0
- package/dist/models/ContentItemWriteResultValidationResult.d.ts +48 -0
- package/dist/models/ContentItemWriteResultValidationResult.js +52 -0
- package/dist/models/CopyPartnerPresetRequest.d.ts +32 -0
- package/dist/models/CopyPartnerPresetRequest.js +48 -0
- package/dist/models/CreateCanvasRequest.d.ts +62 -0
- package/dist/models/CreateCanvasRequest.js +60 -0
- package/dist/models/CreateCompositionContentItem201Response.d.ts +46 -0
- package/dist/models/CreateCompositionContentItem201Response.js +58 -0
- package/dist/models/CreateCompositionContentItemRequest.d.ts +33 -0
- package/dist/models/CreateCompositionContentItemRequest.js +50 -0
- package/dist/models/CreateCompositionDatabaseRecord201Response.d.ts +48 -0
- package/dist/models/CreateCompositionDatabaseRecord201Response.js +57 -0
- package/dist/models/CreateCompositionFromPresetRequest.d.ts +56 -0
- package/dist/models/CreateCompositionFromPresetRequest.js +58 -0
- package/dist/models/CreateCompositionFromWidget201Response.d.ts +46 -0
- package/dist/models/CreateCompositionFromWidget201Response.js +58 -0
- package/dist/models/CreateCompositionFromWidgetRequest.d.ts +62 -0
- package/dist/models/CreateCompositionFromWidgetRequest.js +60 -0
- package/dist/models/CreateUserApiKeyRequest.d.ts +60 -0
- package/dist/models/CreateUserApiKeyRequest.js +66 -0
- package/dist/models/CreateWidget201Response.d.ts +46 -0
- package/dist/models/CreateWidget201Response.js +58 -0
- package/dist/models/CreateWidget201ResponseData.d.ts +174 -0
- package/dist/models/CreateWidget201ResponseData.js +100 -0
- package/dist/models/CreatedUserApiKey.d.ts +91 -0
- package/dist/models/CreatedUserApiKey.js +91 -0
- package/dist/models/CreatedUserApiKeyResponse.d.ts +46 -0
- package/dist/models/CreatedUserApiKeyResponse.js +58 -0
- package/dist/models/DeleteCompositionContentItemResponse.d.ts +46 -0
- package/dist/models/DeleteCompositionContentItemResponse.js +58 -0
- package/dist/models/DeleteCompositionContentItemResponseData.d.ts +38 -0
- package/dist/models/DeleteCompositionContentItemResponseData.js +50 -0
- package/dist/models/DeleteCompositionDataSourceResponse.d.ts +46 -0
- package/dist/models/DeleteCompositionDataSourceResponse.js +58 -0
- package/dist/models/DeleteCompositionDataSourceResponseData.d.ts +32 -0
- package/dist/models/DeleteCompositionDataSourceResponseData.js +50 -0
- package/dist/models/DeleteManagedUser200Response.d.ts +46 -0
- package/dist/models/DeleteManagedUser200Response.js +58 -0
- package/dist/models/DeletePersonalWorkspaceDomainResponse.d.ts +46 -0
- package/dist/models/DeletePersonalWorkspaceDomainResponse.js +58 -0
- package/dist/models/DeletePersonalWorkspaceDomainResponseData.d.ts +32 -0
- package/dist/models/DeletePersonalWorkspaceDomainResponseData.js +48 -0
- package/dist/models/DeleteUserApiKeyResponse.d.ts +46 -0
- package/dist/models/DeleteUserApiKeyResponse.js +58 -0
- package/dist/models/DeleteUserApiKeyResponseData.d.ts +32 -0
- package/dist/models/DeleteUserApiKeyResponseData.js +48 -0
- package/dist/models/DesignDefaults.d.ts +34 -0
- package/dist/models/DesignDefaults.js +50 -0
- package/dist/models/DuplicateComposition202Response.d.ts +46 -0
- package/dist/models/DuplicateComposition202Response.js +58 -0
- package/dist/models/DuplicateComposition202ResponseData.d.ts +32 -0
- package/dist/models/DuplicateComposition202ResponseData.js +48 -0
- package/dist/models/DuplicateCompositionRequest.d.ts +41 -0
- package/dist/models/DuplicateCompositionRequest.js +50 -0
- package/dist/models/EditorSession.d.ts +91 -0
- package/dist/models/EditorSession.js +87 -0
- package/dist/models/EditorSessionResponse.d.ts +46 -0
- package/dist/models/EditorSessionResponse.js +58 -0
- package/dist/models/Entitlement.d.ts +103 -0
- package/dist/models/Entitlement.js +79 -0
- package/dist/models/ErrorDetail.d.ts +82 -0
- package/dist/models/ErrorDetail.js +70 -0
- package/dist/models/ErrorResponse.d.ts +46 -0
- package/dist/models/ErrorResponse.js +61 -0
- package/dist/models/ExportCompositionEntryItems200Response.d.ts +46 -0
- package/dist/models/ExportCompositionEntryItems200Response.js +60 -0
- package/dist/models/ExportCompositionEntryItems200ResponseMeta.d.ts +38 -0
- package/dist/models/ExportCompositionEntryItems200ResponseMeta.js +54 -0
- package/dist/models/GetAiAnswersKnowledge200Response.d.ts +46 -0
- package/dist/models/GetAiAnswersKnowledge200Response.js +58 -0
- package/dist/models/GetAllCanvasesResponse.d.ts +46 -0
- package/dist/models/GetAllCanvasesResponse.js +58 -0
- package/dist/models/GetAllCanvasesResponseData.d.ts +51 -0
- package/dist/models/GetAllCanvasesResponseData.js +55 -0
- package/dist/models/GetAllCompositions200Response.d.ts +46 -0
- package/dist/models/GetAllCompositions200Response.js +58 -0
- package/dist/models/GetAllManagedUsers200Response.d.ts +46 -0
- package/dist/models/GetAllManagedUsers200Response.js +58 -0
- package/dist/models/GetCompositionContentResponse.d.ts +45 -0
- package/dist/models/GetCompositionContentResponse.js +57 -0
- package/dist/models/GetCompositionContentSchemaResponse.d.ts +46 -0
- package/dist/models/GetCompositionContentSchemaResponse.js +58 -0
- package/dist/models/GetCompositionContentSchemaResponseData.d.ts +62 -0
- package/dist/models/GetCompositionContentSchemaResponseData.js +58 -0
- package/dist/models/GetCompositionDataSourceResponse.d.ts +46 -0
- package/dist/models/GetCompositionDataSourceResponse.js +58 -0
- package/dist/models/GetCompositionDatabaseRecords200Response.d.ts +47 -0
- package/dist/models/GetCompositionDatabaseRecords200Response.js +57 -0
- package/dist/models/GetCompositionDesignResponse.d.ts +45 -0
- package/dist/models/GetCompositionDesignResponse.js +57 -0
- package/dist/models/GetCompositionDesignSchemaResponse.d.ts +46 -0
- package/dist/models/GetCompositionDesignSchemaResponse.js +58 -0
- package/dist/models/GetCompositionDesignSchemaResponseData.d.ts +62 -0
- package/dist/models/GetCompositionDesignSchemaResponseData.js +58 -0
- package/dist/models/GetCompositionEmbedSchemaResponse.d.ts +46 -0
- package/dist/models/GetCompositionEmbedSchemaResponse.js +58 -0
- package/dist/models/GetCompositionEmbedSchemaResponseData.d.ts +74 -0
- package/dist/models/GetCompositionEmbedSchemaResponseData.js +65 -0
- package/dist/models/GetCompositionEmbedSettingsResponse.d.ts +45 -0
- package/dist/models/GetCompositionEmbedSettingsResponse.js +57 -0
- package/dist/models/GetCompositionPreviewResponse.d.ts +46 -0
- package/dist/models/GetCompositionPreviewResponse.js +58 -0
- package/dist/models/GetCompositionPreviewResponseData.d.ts +50 -0
- package/dist/models/GetCompositionPreviewResponseData.js +54 -0
- package/dist/models/GetCompositionVersions200Response.d.ts +46 -0
- package/dist/models/GetCompositionVersions200Response.js +58 -0
- package/dist/models/GetCompositionsBatchRequest.d.ts +32 -0
- package/dist/models/GetCompositionsBatchRequest.js +50 -0
- package/dist/models/GetCompositionsBatchResponse.d.ts +46 -0
- package/dist/models/GetCompositionsBatchResponse.js +58 -0
- package/dist/models/GetCompositionsBatchResponseData.d.ts +40 -0
- package/dist/models/GetCompositionsBatchResponseData.js +52 -0
- package/dist/models/GetInvoicesByPartnerId200Response.d.ts +46 -0
- package/dist/models/GetInvoicesByPartnerId200Response.js +58 -0
- package/dist/models/GetManagedUserEntitlementsResponse.d.ts +46 -0
- package/dist/models/GetManagedUserEntitlementsResponse.js +58 -0
- package/dist/models/GetManagedUserEntitlementsResponseData.d.ts +39 -0
- package/dist/models/GetManagedUserEntitlementsResponseData.js +51 -0
- package/dist/models/GetManagedUserLimits200Response.d.ts +46 -0
- package/dist/models/GetManagedUserLimits200Response.js +58 -0
- package/dist/models/GetManagedUserStorageUsage200Response.d.ts +46 -0
- package/dist/models/GetManagedUserStorageUsage200Response.js +58 -0
- package/dist/models/GetManagedUserStorageUsage200ResponseData.d.ts +45 -0
- package/dist/models/GetManagedUserStorageUsage200ResponseData.js +59 -0
- package/dist/models/GetManagedUserStorageUsage200ResponseDataByPurpose.d.ts +51 -0
- package/dist/models/GetManagedUserStorageUsage200ResponseDataByPurpose.js +55 -0
- package/dist/models/GetManagedUsersByManagerIdResponse.d.ts +46 -0
- package/dist/models/GetManagedUsersByManagerIdResponse.js +58 -0
- package/dist/models/GetManagedUsersByManagerIdResponseData.d.ts +51 -0
- package/dist/models/GetManagedUsersByManagerIdResponseData.js +55 -0
- package/dist/models/GetPartnerBillingOverview200Response.d.ts +46 -0
- package/dist/models/GetPartnerBillingOverview200Response.js +58 -0
- package/dist/models/GetPartnerCreditTransactions200Response.d.ts +46 -0
- package/dist/models/GetPartnerCreditTransactions200Response.js +58 -0
- package/dist/models/GetPartnerDesignDefaults200Response.d.ts +46 -0
- package/dist/models/GetPartnerDesignDefaults200Response.js +58 -0
- package/dist/models/GetPartnerEntitlementsResponse.d.ts +46 -0
- package/dist/models/GetPartnerEntitlementsResponse.js +58 -0
- package/dist/models/GetPartnerEntitlementsResponseData.d.ts +39 -0
- package/dist/models/GetPartnerEntitlementsResponseData.js +51 -0
- package/dist/models/GetPersonalWorkspaceDomains200Response.d.ts +46 -0
- package/dist/models/GetPersonalWorkspaceDomains200Response.js +58 -0
- package/dist/models/GetPublicCompositionEmbed200Response.d.ts +120 -0
- package/dist/models/GetPublicCompositionEmbed200Response.js +78 -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/GetUserAdapterConnections200Response.d.ts +46 -0
- package/dist/models/GetUserAdapterConnections200Response.js +58 -0
- package/dist/models/GetUserApiKeyUsageLogsResponse.d.ts +46 -0
- package/dist/models/GetUserApiKeyUsageLogsResponse.js +58 -0
- package/dist/models/GetUserApiKeyUsageLogsResponseData.d.ts +33 -0
- package/dist/models/GetUserApiKeyUsageLogsResponseData.js +51 -0
- package/dist/models/GetUserApiKeys200Response.d.ts +46 -0
- package/dist/models/GetUserApiKeys200Response.js +58 -0
- package/dist/models/GetWidgets200Response.d.ts +46 -0
- package/dist/models/GetWidgets200Response.js +58 -0
- package/dist/models/GetWidgetsBatchRequest.d.ts +32 -0
- package/dist/models/GetWidgetsBatchRequest.js +50 -0
- package/dist/models/GetWidgetsBatchResponse.d.ts +46 -0
- package/dist/models/GetWidgetsBatchResponse.js +58 -0
- package/dist/models/GetWidgetsBatchResponseData.d.ts +40 -0
- package/dist/models/GetWidgetsBatchResponseData.js +52 -0
- package/dist/models/GetWidgetsBatchResponseDataErrorsInner.d.ts +38 -0
- package/dist/models/GetWidgetsBatchResponseDataErrorsInner.js +50 -0
- package/dist/models/ListPartnerPresets200Response.d.ts +46 -0
- package/dist/models/ListPartnerPresets200Response.js +58 -0
- package/dist/models/ManagedUser.d.ts +70 -0
- package/dist/models/ManagedUser.js +70 -0
- package/dist/models/ManagedUserEntriesMeta.d.ts +56 -0
- package/dist/models/ManagedUserEntriesMeta.js +64 -0
- package/dist/models/ManagedUserEntriesPageSuccess.d.ts +46 -0
- package/dist/models/ManagedUserEntriesPageSuccess.js +60 -0
- package/dist/models/ManagedUserEntryItem.d.ts +75 -0
- package/dist/models/ManagedUserEntryItem.js +72 -0
- package/dist/models/ManagedUserLimits.d.ts +50 -0
- package/dist/models/ManagedUserLimits.js +62 -0
- package/dist/models/ManagedUserOperationUsage.d.ts +56 -0
- package/dist/models/ManagedUserOperationUsage.js +66 -0
- package/dist/models/ManagedUserRemoval.d.ts +38 -0
- package/dist/models/ManagedUserRemoval.js +54 -0
- package/dist/models/ManagedUserResponse.d.ts +46 -0
- package/dist/models/ManagedUserResponse.js +58 -0
- package/dist/models/ManagedUserUsage.d.ts +65 -0
- package/dist/models/ManagedUserUsage.js +72 -0
- package/dist/models/ManagedUserUsageResponse.d.ts +46 -0
- package/dist/models/ManagedUserUsageResponse.js +58 -0
- package/dist/models/ManagedUserUsageTotals.d.ts +50 -0
- package/dist/models/ManagedUserUsageTotals.js +62 -0
- package/dist/models/MyPartner.d.ts +93 -0
- package/dist/models/MyPartner.js +87 -0
- package/dist/models/MyPartners.d.ts +58 -0
- package/dist/models/MyPartners.js +70 -0
- package/dist/models/MyPartnersResponse.d.ts +46 -0
- package/dist/models/MyPartnersResponse.js +58 -0
- package/dist/models/NewComposition.d.ts +122 -0
- package/dist/models/NewComposition.js +72 -0
- package/dist/models/NewEditorSession.d.ts +62 -0
- package/dist/models/NewEditorSession.js +65 -0
- package/dist/models/NewManagedUser.d.ts +44 -0
- package/dist/models/NewManagedUser.js +54 -0
- package/dist/models/NewWidget.d.ts +106 -0
- package/dist/models/NewWidget.js +82 -0
- package/dist/models/OperationsIdGetResponse.d.ts +46 -0
- package/dist/models/OperationsIdGetResponse.js +58 -0
- package/dist/models/OperationsIdGetResponseData.d.ts +88 -0
- package/dist/models/OperationsIdGetResponseData.js +73 -0
- package/dist/models/PartnerAnalyticsByManagedUser.d.ts +54 -0
- package/dist/models/PartnerAnalyticsByManagedUser.js +65 -0
- package/dist/models/PartnerAnalyticsByManagedUserResponse.d.ts +46 -0
- package/dist/models/PartnerAnalyticsByManagedUserResponse.js +58 -0
- package/dist/models/PartnerAnalyticsOfDay.d.ts +50 -0
- package/dist/models/PartnerAnalyticsOfDay.js +62 -0
- package/dist/models/PartnerAnalyticsOfManagedUser.d.ts +86 -0
- package/dist/models/PartnerAnalyticsOfManagedUser.js +86 -0
- package/dist/models/PartnerAnalyticsOfWidget.d.ts +62 -0
- package/dist/models/PartnerAnalyticsOfWidget.js +70 -0
- package/dist/models/PartnerAnalyticsSummary.d.ts +76 -0
- package/dist/models/PartnerAnalyticsSummary.js +79 -0
- package/dist/models/PartnerAnalyticsSummaryResponse.d.ts +46 -0
- package/dist/models/PartnerAnalyticsSummaryResponse.js +58 -0
- package/dist/models/PartnerAnalyticsTimeline.d.ts +52 -0
- package/dist/models/PartnerAnalyticsTimeline.js +64 -0
- package/dist/models/PartnerAnalyticsTimelineResponse.d.ts +46 -0
- package/dist/models/PartnerAnalyticsTimelineResponse.js +58 -0
- package/dist/models/PartnerAnalyticsTopWidgets.d.ts +52 -0
- package/dist/models/PartnerAnalyticsTopWidgets.js +64 -0
- package/dist/models/PartnerAnalyticsTopWidgetsResponse.d.ts +46 -0
- package/dist/models/PartnerAnalyticsTopWidgetsResponse.js +58 -0
- package/dist/models/PartnerBillingOverview.d.ts +54 -0
- package/dist/models/PartnerBillingOverview.js +64 -0
- package/dist/models/PartnerBillingOverviewBillingIntegration.d.ts +59 -0
- package/dist/models/PartnerBillingOverviewBillingIntegration.js +71 -0
- package/dist/models/PartnerBillingOverviewOperationalCredits.d.ts +52 -0
- package/dist/models/PartnerBillingOverviewOperationalCredits.js +63 -0
- package/dist/models/PartnerBillingOverviewPartner.d.ts +58 -0
- package/dist/models/PartnerBillingOverviewPartner.js +70 -0
- package/dist/models/PartnerContract.d.ts +132 -0
- package/dist/models/PartnerContract.js +87 -0
- package/dist/models/PartnerContractResponse.d.ts +46 -0
- package/dist/models/PartnerContractResponse.js +58 -0
- package/dist/models/PartnerCustomization.d.ts +137 -0
- package/dist/models/PartnerCustomization.js +89 -0
- package/dist/models/PartnerDataDatabase.d.ts +74 -0
- package/dist/models/PartnerDataDatabase.js +78 -0
- package/dist/models/PartnerDataDatabaseRemoval.d.ts +32 -0
- package/dist/models/PartnerDataDatabaseRemoval.js +50 -0
- package/dist/models/PartnerDataDatabaseRemovalResponse.d.ts +46 -0
- package/dist/models/PartnerDataDatabaseRemovalResponse.js +58 -0
- package/dist/models/PartnerDataDatabaseResponse.d.ts +46 -0
- package/dist/models/PartnerDataDatabaseResponse.js +58 -0
- package/dist/models/PartnerEntryContextSecret.d.ts +39 -0
- package/dist/models/PartnerEntryContextSecret.js +55 -0
- package/dist/models/PartnerEntryContextSecretResponse.d.ts +46 -0
- package/dist/models/PartnerEntryContextSecretResponse.js +58 -0
- package/dist/models/PartnerEntryContextSigning.d.ts +62 -0
- package/dist/models/PartnerEntryContextSigning.js +70 -0
- package/dist/models/PartnerEntryContextSigningResponse.d.ts +46 -0
- package/dist/models/PartnerEntryContextSigningResponse.js +58 -0
- package/dist/models/PartnerExtraCreditsInvoice.d.ts +98 -0
- package/dist/models/PartnerExtraCreditsInvoice.js +94 -0
- package/dist/models/PartnerExtraCreditsInvoiceResponse.d.ts +46 -0
- package/dist/models/PartnerExtraCreditsInvoiceResponse.js +58 -0
- package/dist/models/PartnerInvoice.d.ts +189 -0
- package/dist/models/PartnerInvoice.js +109 -0
- package/dist/models/PartnerNotification.d.ts +81 -0
- package/dist/models/PartnerNotification.js +85 -0
- package/dist/models/PartnerNotificationDefaultRecipients.d.ts +38 -0
- package/dist/models/PartnerNotificationDefaultRecipients.js +54 -0
- package/dist/models/PartnerNotificationDelivery.d.ts +134 -0
- package/dist/models/PartnerNotificationDelivery.js +123 -0
- package/dist/models/PartnerNotificationDeliveryLog.d.ts +33 -0
- package/dist/models/PartnerNotificationDeliveryLog.js +51 -0
- package/dist/models/PartnerNotificationDeliveryLogResponse.d.ts +46 -0
- package/dist/models/PartnerNotificationDeliveryLogResponse.js +58 -0
- package/dist/models/PartnerNotificationDeliveryResponse.d.ts +46 -0
- package/dist/models/PartnerNotificationDeliveryResponse.js +58 -0
- package/dist/models/PartnerNotificationEvent.d.ts +82 -0
- package/dist/models/PartnerNotificationEvent.js +89 -0
- package/dist/models/PartnerNotificationEventType.d.ts +39 -0
- package/dist/models/PartnerNotificationEventType.js +65 -0
- package/dist/models/PartnerNotificationPage.d.ts +39 -0
- package/dist/models/PartnerNotificationPage.js +55 -0
- package/dist/models/PartnerNotificationPageResponse.d.ts +46 -0
- package/dist/models/PartnerNotificationPageResponse.js +58 -0
- package/dist/models/PartnerNotificationSettings.d.ts +89 -0
- package/dist/models/PartnerNotificationSettings.js +89 -0
- package/dist/models/PartnerNotificationSettingsChange.d.ts +39 -0
- package/dist/models/PartnerNotificationSettingsChange.js +55 -0
- package/dist/models/PartnerNotificationSettingsChangeResponse.d.ts +46 -0
- package/dist/models/PartnerNotificationSettingsChangeResponse.js +58 -0
- package/dist/models/PartnerNotificationSettingsResponse.d.ts +46 -0
- package/dist/models/PartnerNotificationSettingsResponse.js +58 -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/PartnerNotificationTestEventResultResponse.d.ts +46 -0
- package/dist/models/PartnerNotificationTestEventResultResponse.js +58 -0
- package/dist/models/PartnerPreset.d.ts +81 -0
- package/dist/models/PartnerPreset.js +82 -0
- package/dist/models/PartnerPresetCopy.d.ts +62 -0
- package/dist/models/PartnerPresetCopy.js +70 -0
- package/dist/models/PartnerPresetCopyResponse.d.ts +46 -0
- package/dist/models/PartnerPresetCopyResponse.js +58 -0
- package/dist/models/PartnerPresetRemoval.d.ts +32 -0
- package/dist/models/PartnerPresetRemoval.js +50 -0
- package/dist/models/PartnerPresetRemovalResponse.d.ts +46 -0
- package/dist/models/PartnerPresetRemovalResponse.js +58 -0
- package/dist/models/PartnerPresetResponse.d.ts +46 -0
- package/dist/models/PartnerPresetResponse.js +58 -0
- package/dist/models/PartnerReportPage.d.ts +44 -0
- package/dist/models/PartnerReportPage.js +58 -0
- package/dist/models/PartnerReportPeriod.d.ts +38 -0
- package/dist/models/PartnerReportPeriod.js +54 -0
- package/dist/models/PartnerStorageDestination.d.ts +99 -0
- package/dist/models/PartnerStorageDestination.js +90 -0
- package/dist/models/PartnerStorageDestinationResponse.d.ts +46 -0
- package/dist/models/PartnerStorageDestinationResponse.js +58 -0
- package/dist/models/PartnerStorageRemoval.d.ts +32 -0
- package/dist/models/PartnerStorageRemoval.js +50 -0
- package/dist/models/PartnerStorageRemovalResponse.d.ts +46 -0
- package/dist/models/PartnerStorageRemovalResponse.js +58 -0
- package/dist/models/PartnerStorageUsage.d.ts +54 -0
- package/dist/models/PartnerStorageUsage.js +65 -0
- package/dist/models/PartnerStorageUsageOfManagedUser.d.ts +81 -0
- package/dist/models/PartnerStorageUsageOfManagedUser.js +82 -0
- package/dist/models/PartnerStorageUsageResponse.d.ts +46 -0
- package/dist/models/PartnerStorageUsageResponse.js +58 -0
- package/dist/models/PartnerStorageUsageTotals.d.ts +50 -0
- package/dist/models/PartnerStorageUsageTotals.js +62 -0
- package/dist/models/PersonalWorkspaceDomain.d.ts +56 -0
- package/dist/models/PersonalWorkspaceDomain.js +62 -0
- package/dist/models/PersonalWorkspaceDomainResult.d.ts +39 -0
- package/dist/models/PersonalWorkspaceDomainResult.js +55 -0
- package/dist/models/PersonalWorkspaceDomainResultResponse.d.ts +46 -0
- package/dist/models/PersonalWorkspaceDomainResultResponse.js +58 -0
- package/dist/models/PostPublicCompositionEmbedStatus200Response.d.ts +46 -0
- package/dist/models/PostPublicCompositionEmbedStatus200Response.js +58 -0
- package/dist/models/PostPublicCompositionEmbedStatus200ResponseData.d.ts +45 -0
- package/dist/models/PostPublicCompositionEmbedStatus200ResponseData.js +59 -0
- package/dist/models/PostPublicCompositionEmbedStatusRequest.d.ts +32 -0
- package/dist/models/PostPublicCompositionEmbedStatusRequest.js +50 -0
- package/dist/models/PublicAdapterCallError.d.ts +50 -0
- package/dist/models/PublicAdapterCallError.js +60 -0
- package/dist/models/PublicAdapterCallRequest.d.ts +60 -0
- package/dist/models/PublicAdapterCallRequest.js +58 -0
- package/dist/models/PublicAdapterCallResult.d.ts +39 -0
- package/dist/models/PublicAdapterCallResult.js +55 -0
- package/dist/models/PublicAdapterCallResultData.d.ts +34 -0
- package/dist/models/PublicAdapterCallResultData.js +50 -0
- package/dist/models/PublicAdapterFileResult.d.ts +39 -0
- package/dist/models/PublicAdapterFileResult.js +55 -0
- package/dist/models/PublicAdapterFileResultData.d.ts +33 -0
- package/dist/models/PublicAdapterFileResultData.js +51 -0
- package/dist/models/PublicAdapterFileResultDataFile.d.ts +62 -0
- package/dist/models/PublicAdapterFileResultDataFile.js +70 -0
- package/dist/models/PublicCompositionEntryCreated.d.ts +39 -0
- package/dist/models/PublicCompositionEntryCreated.js +55 -0
- package/dist/models/PublicCompositionEntryCreatedData.d.ts +44 -0
- package/dist/models/PublicCompositionEntryCreatedData.js +58 -0
- package/dist/models/PublicCompositionEntryRequest.d.ts +46 -0
- package/dist/models/PublicCompositionEntryRequest.js +54 -0
- package/dist/models/PublicEmbedFailure.d.ts +64 -0
- package/dist/models/PublicEmbedFailure.js +68 -0
- package/dist/models/PublicEmbedFailureDetails.d.ts +47 -0
- package/dist/models/PublicEmbedFailureDetails.js +60 -0
- package/dist/models/PublicEmbedFailureError.d.ts +64 -0
- package/dist/models/PublicEmbedFailureError.js +64 -0
- package/dist/models/PurposeStorageBucket.d.ts +38 -0
- package/dist/models/PurposeStorageBucket.js +54 -0
- package/dist/models/RemoveAiAnswersKnowledgeDocument200Response.d.ts +46 -0
- package/dist/models/RemoveAiAnswersKnowledgeDocument200Response.js +58 -0
- package/dist/models/RemoveUserAdapterConnection200Response.d.ts +46 -0
- package/dist/models/RemoveUserAdapterConnection200Response.js +58 -0
- package/dist/models/RequestExtraCredits.d.ts +33 -0
- package/dist/models/RequestExtraCredits.js +50 -0
- package/dist/models/ResponseMeta.d.ts +81 -0
- package/dist/models/ResponseMeta.js +66 -0
- package/dist/models/RevokeManagedUserEditorSessionsResponse.d.ts +46 -0
- package/dist/models/RevokeManagedUserEditorSessionsResponse.js +58 -0
- package/dist/models/RevokeManagedUserEditorSessionsResponseData.d.ts +32 -0
- package/dist/models/RevokeManagedUserEditorSessionsResponseData.js +48 -0
- package/dist/models/SetAdapterConnectionRequest.d.ts +32 -0
- package/dist/models/SetAdapterConnectionRequest.js +50 -0
- package/dist/models/SetCompositionDataSourceRequest.d.ts +38 -0
- package/dist/models/SetCompositionDataSourceRequest.js +54 -0
- package/dist/models/SetDynamicContentRequest.d.ts +56 -0
- package/dist/models/SetDynamicContentRequest.js +58 -0
- package/dist/models/SetDynamicContentResponse.d.ts +46 -0
- package/dist/models/SetDynamicContentResponse.js +58 -0
- package/dist/models/SetDynamicContentResponseData.d.ts +57 -0
- package/dist/models/SetDynamicContentResponseData.js +57 -0
- package/dist/models/SetDynamicContentResponseDataValidationResult.d.ts +44 -0
- package/dist/models/SetDynamicContentResponseDataValidationResult.js +52 -0
- package/dist/models/SetManagedUserLimitsRequest.d.ts +32 -0
- package/dist/models/SetManagedUserLimitsRequest.js +50 -0
- package/dist/models/SetPartnerDataDatabaseRequest.d.ts +32 -0
- package/dist/models/SetPartnerDataDatabaseRequest.js +50 -0
- package/dist/models/SetPartnerDesignDefaultsRequest.d.ts +32 -0
- package/dist/models/SetPartnerDesignDefaultsRequest.js +50 -0
- package/dist/models/SetPartnerPresetRequest.d.ts +50 -0
- package/dist/models/SetPartnerPresetRequest.js +56 -0
- package/dist/models/SetPartnerStorageDestinationRequest.d.ts +79 -0
- package/dist/models/SetPartnerStorageDestinationRequest.js +74 -0
- package/dist/models/SetUserAdapterConnection200Response.d.ts +46 -0
- package/dist/models/SetUserAdapterConnection200Response.js +58 -0
- package/dist/models/SuccessResponse.d.ts +47 -0
- package/dist/models/SuccessResponse.js +57 -0
- package/dist/models/UpdateCanvasRequest.d.ts +44 -0
- package/dist/models/UpdateCanvasRequest.js +52 -0
- package/dist/models/UpdateComposition.d.ts +80 -0
- package/dist/models/UpdateComposition.js +62 -0
- package/dist/models/UpdateCompositionStatusRequest.d.ts +41 -0
- package/dist/models/UpdateCompositionStatusRequest.js +59 -0
- package/dist/models/UpdateDomainRequest.d.ts +32 -0
- package/dist/models/UpdateDomainRequest.js +50 -0
- package/dist/models/UpdateManagedUser.d.ts +45 -0
- package/dist/models/UpdateManagedUser.js +52 -0
- package/dist/models/UpdatePartnerEntryContextSigningRequest.d.ts +32 -0
- package/dist/models/UpdatePartnerEntryContextSigningRequest.js +50 -0
- package/dist/models/UpdatePartnerNotificationSettingsRequest.d.ts +51 -0
- package/dist/models/UpdatePartnerNotificationSettingsRequest.js +55 -0
- package/dist/models/UpdateUserApiKeyRequest.d.ts +38 -0
- package/dist/models/UpdateUserApiKeyRequest.js +50 -0
- package/dist/models/Upload.d.ts +140 -0
- package/dist/models/Upload.js +118 -0
- package/dist/models/UploadLimits.d.ts +62 -0
- package/dist/models/UploadLimits.js +58 -0
- package/dist/models/UploadLimitsResponse.d.ts +46 -0
- package/dist/models/UploadLimitsResponse.js +58 -0
- package/dist/models/UploadResponse.d.ts +46 -0
- package/dist/models/UploadResponse.js +58 -0
- package/dist/models/UploadsGet200Response.d.ts +46 -0
- package/dist/models/UploadsGet200Response.js +58 -0
- package/dist/models/UploadsIdDelete200Response.d.ts +46 -0
- package/dist/models/UploadsIdDelete200Response.js +58 -0
- package/dist/models/UploadsIdDelete200ResponseData.d.ts +32 -0
- package/dist/models/UploadsIdDelete200ResponseData.js +48 -0
- package/dist/models/UserApiKey.d.ts +91 -0
- package/dist/models/UserApiKey.js +89 -0
- package/dist/models/UserApiKeyResponse.d.ts +46 -0
- package/dist/models/UserApiKeyResponse.js +58 -0
- package/dist/models/UserApiKeyUsageLog.d.ts +76 -0
- package/dist/models/UserApiKeyUsageLog.js +74 -0
- package/dist/models/ValidateCompositionContentResponse.d.ts +46 -0
- package/dist/models/ValidateCompositionContentResponse.js +58 -0
- package/dist/models/ValidateCompositionContentResponseData.d.ts +53 -0
- package/dist/models/ValidateCompositionContentResponseData.js +57 -0
- package/dist/models/ValidateToken200Response.d.ts +46 -0
- package/dist/models/ValidateToken200Response.js +58 -0
- package/dist/models/ValidateToken200ResponseData.d.ts +65 -0
- package/dist/models/ValidateToken200ResponseData.js +65 -0
- package/dist/models/Widget.d.ts +168 -0
- package/dist/models/Widget.js +98 -0
- package/dist/models/index.d.ts +266 -0
- package/dist/models/index.js +284 -0
- package/dist/runtime.d.ts +238 -0
- package/dist/runtime.js +534 -0
- package/package.json +42 -4
|
@@ -0,0 +1,619 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import type { AddAiAnswersKnowledgeDocument201Response, AddAiAnswersKnowledgeDocumentRequest, CheckCompositionAccessResponse, CompositionDataSourceResponse, CompositionEntriesDescriptionResponse, CompositionEntriesReadingResponse, CompositionResponse, CreateCompositionContentItem201Response, CreateCompositionContentItemRequest, CreateCompositionDatabaseRecord201Response, CreateCompositionFromWidget201Response, DeleteCompositionContentItemResponse, DeleteCompositionDataSourceResponse, DuplicateComposition202Response, DuplicateCompositionRequest, GetAiAnswersKnowledge200Response, GetAllCompositions200Response, GetCompositionContentResponse, GetCompositionContentSchemaResponse, GetCompositionDataSourceResponse, GetCompositionDatabaseRecords200Response, GetCompositionDesignResponse, GetCompositionDesignSchemaResponse, GetCompositionEmbedSchemaResponse, GetCompositionEmbedSettingsResponse, GetCompositionPreviewResponse, GetCompositionVersions200Response, GetCompositionsBatchRequest, GetCompositionsBatchResponse, NewComposition, RemoveAiAnswersKnowledgeDocument200Response, SetCompositionDataSourceRequest, SetDynamicContentRequest, SetDynamicContentResponse, UpdateComposition, UpdateCompositionStatusRequest, ValidateCompositionContentResponse } from '../models/index';
|
|
14
|
+
export interface AddAiAnswersKnowledgeDocument0Request {
|
|
15
|
+
id: string;
|
|
16
|
+
addAiAnswersKnowledgeDocumentRequest: AddAiAnswersKnowledgeDocumentRequest;
|
|
17
|
+
xManagedUserId?: string;
|
|
18
|
+
xManagedUserExternalId?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface CheckCompositionAccess0Request {
|
|
21
|
+
id: string;
|
|
22
|
+
}
|
|
23
|
+
export interface CreateCompositionContentItem0Request {
|
|
24
|
+
id: string;
|
|
25
|
+
list: string;
|
|
26
|
+
idempotencyKey: string;
|
|
27
|
+
createCompositionContentItemRequest: CreateCompositionContentItemRequest;
|
|
28
|
+
ifMatch?: string;
|
|
29
|
+
xManagedUserId?: string;
|
|
30
|
+
xManagedUserExternalId?: string;
|
|
31
|
+
}
|
|
32
|
+
export interface CreateCompositionDatabaseRecord0Request {
|
|
33
|
+
id: string;
|
|
34
|
+
table: string;
|
|
35
|
+
idempotencyKey: string;
|
|
36
|
+
body: object;
|
|
37
|
+
xManagedUserId?: string;
|
|
38
|
+
xManagedUserExternalId?: string;
|
|
39
|
+
}
|
|
40
|
+
export interface CreateComposition0Request {
|
|
41
|
+
idempotencyKey: string;
|
|
42
|
+
newComposition: NewComposition;
|
|
43
|
+
xManagedUserId?: string;
|
|
44
|
+
xManagedUserExternalId?: string;
|
|
45
|
+
}
|
|
46
|
+
export interface DeleteCompositionContentItem0Request {
|
|
47
|
+
id: string;
|
|
48
|
+
list: string;
|
|
49
|
+
itemId: string;
|
|
50
|
+
idempotencyKey: string;
|
|
51
|
+
ifMatch?: string;
|
|
52
|
+
xManagedUserId?: string;
|
|
53
|
+
xManagedUserExternalId?: string;
|
|
54
|
+
}
|
|
55
|
+
export interface DeleteCompositionDataSource0Request {
|
|
56
|
+
id: string;
|
|
57
|
+
idempotencyKey: string;
|
|
58
|
+
xManagedUserId?: string;
|
|
59
|
+
xManagedUserExternalId?: string;
|
|
60
|
+
}
|
|
61
|
+
export interface DeleteCompositionDatabaseRecord0Request {
|
|
62
|
+
id: string;
|
|
63
|
+
table: string;
|
|
64
|
+
recordId: string;
|
|
65
|
+
xManagedUserId?: string;
|
|
66
|
+
xManagedUserExternalId?: string;
|
|
67
|
+
}
|
|
68
|
+
export interface DeleteComposition0Request {
|
|
69
|
+
id: string;
|
|
70
|
+
xManagedUserId?: string;
|
|
71
|
+
xManagedUserExternalId?: string;
|
|
72
|
+
}
|
|
73
|
+
export interface DescribeCompositionEntries0Request {
|
|
74
|
+
id: string;
|
|
75
|
+
xManagedUserId?: string;
|
|
76
|
+
xManagedUserExternalId?: string;
|
|
77
|
+
}
|
|
78
|
+
export interface DuplicateComposition0Request {
|
|
79
|
+
id: string;
|
|
80
|
+
idempotencyKey: string;
|
|
81
|
+
xManagedUserId?: string;
|
|
82
|
+
xManagedUserExternalId?: string;
|
|
83
|
+
duplicateCompositionRequest?: DuplicateCompositionRequest;
|
|
84
|
+
}
|
|
85
|
+
export interface GetAiAnswersKnowledge0Request {
|
|
86
|
+
id: string;
|
|
87
|
+
xManagedUserId?: string;
|
|
88
|
+
xManagedUserExternalId?: string;
|
|
89
|
+
}
|
|
90
|
+
export interface GetAllCompositions0Request {
|
|
91
|
+
page?: number;
|
|
92
|
+
size?: number;
|
|
93
|
+
sort?: string;
|
|
94
|
+
widgetId?: string;
|
|
95
|
+
workspace?: GetAllCompositions0WorkspaceEnum;
|
|
96
|
+
projectFolder?: string;
|
|
97
|
+
status?: GetAllCompositions0StatusEnum;
|
|
98
|
+
managedUserId?: string;
|
|
99
|
+
managedUserExternalId?: string;
|
|
100
|
+
xManagedUserId?: string;
|
|
101
|
+
xManagedUserExternalId?: string;
|
|
102
|
+
}
|
|
103
|
+
export interface GetCompositionById0Request {
|
|
104
|
+
id: string;
|
|
105
|
+
xManagedUserId?: string;
|
|
106
|
+
xManagedUserExternalId?: string;
|
|
107
|
+
}
|
|
108
|
+
export interface GetCompositionContentSchema0Request {
|
|
109
|
+
id: string;
|
|
110
|
+
xManagedUserId?: string;
|
|
111
|
+
xManagedUserExternalId?: string;
|
|
112
|
+
}
|
|
113
|
+
export interface GetCompositionContent0Request {
|
|
114
|
+
id: string;
|
|
115
|
+
xManagedUserId?: string;
|
|
116
|
+
xManagedUserExternalId?: string;
|
|
117
|
+
}
|
|
118
|
+
export interface GetCompositionDataSource0Request {
|
|
119
|
+
id: string;
|
|
120
|
+
xManagedUserId?: string;
|
|
121
|
+
xManagedUserExternalId?: string;
|
|
122
|
+
}
|
|
123
|
+
export interface GetCompositionDatabaseRecord0Request {
|
|
124
|
+
id: string;
|
|
125
|
+
table: string;
|
|
126
|
+
recordId: string;
|
|
127
|
+
xManagedUserId?: string;
|
|
128
|
+
xManagedUserExternalId?: string;
|
|
129
|
+
}
|
|
130
|
+
export interface GetCompositionDatabaseRecords0Request {
|
|
131
|
+
id: string;
|
|
132
|
+
table: string;
|
|
133
|
+
xManagedUserId?: string;
|
|
134
|
+
xManagedUserExternalId?: string;
|
|
135
|
+
}
|
|
136
|
+
export interface GetCompositionDesignSchema0Request {
|
|
137
|
+
id: string;
|
|
138
|
+
xManagedUserId?: string;
|
|
139
|
+
xManagedUserExternalId?: string;
|
|
140
|
+
}
|
|
141
|
+
export interface GetCompositionDesign0Request {
|
|
142
|
+
id: string;
|
|
143
|
+
xManagedUserId?: string;
|
|
144
|
+
xManagedUserExternalId?: string;
|
|
145
|
+
}
|
|
146
|
+
export interface GetCompositionEmbedSchema0Request {
|
|
147
|
+
id: string;
|
|
148
|
+
xManagedUserId?: string;
|
|
149
|
+
xManagedUserExternalId?: string;
|
|
150
|
+
}
|
|
151
|
+
export interface GetCompositionEmbedSettings0Request {
|
|
152
|
+
id: string;
|
|
153
|
+
xManagedUserId?: string;
|
|
154
|
+
xManagedUserExternalId?: string;
|
|
155
|
+
}
|
|
156
|
+
export interface GetCompositionPreview0Request {
|
|
157
|
+
id: string;
|
|
158
|
+
xManagedUserId?: string;
|
|
159
|
+
xManagedUserExternalId?: string;
|
|
160
|
+
}
|
|
161
|
+
export interface GetCompositionVersions0Request {
|
|
162
|
+
id: string;
|
|
163
|
+
xManagedUserId?: string;
|
|
164
|
+
xManagedUserExternalId?: string;
|
|
165
|
+
}
|
|
166
|
+
export interface GetCompositionsBatch0Request {
|
|
167
|
+
getCompositionsBatchRequest: GetCompositionsBatchRequest;
|
|
168
|
+
}
|
|
169
|
+
export interface PatchCompositionContentItem0Request {
|
|
170
|
+
id: string;
|
|
171
|
+
list: string;
|
|
172
|
+
itemId: string;
|
|
173
|
+
idempotencyKey: string;
|
|
174
|
+
requestBody: {
|
|
175
|
+
[key: string]: any;
|
|
176
|
+
};
|
|
177
|
+
ifMatch?: string;
|
|
178
|
+
xManagedUserId?: string;
|
|
179
|
+
xManagedUserExternalId?: string;
|
|
180
|
+
}
|
|
181
|
+
export interface ReadCompositionEntries0Request {
|
|
182
|
+
id: string;
|
|
183
|
+
table: string;
|
|
184
|
+
groupBy?: string;
|
|
185
|
+
rows?: number;
|
|
186
|
+
aggregate?: string;
|
|
187
|
+
column?: string;
|
|
188
|
+
since?: Date;
|
|
189
|
+
until?: Date;
|
|
190
|
+
context?: {
|
|
191
|
+
[key: string]: string;
|
|
192
|
+
};
|
|
193
|
+
filter?: {
|
|
194
|
+
[key: string]: string;
|
|
195
|
+
};
|
|
196
|
+
xManagedUserId?: string;
|
|
197
|
+
xManagedUserExternalId?: string;
|
|
198
|
+
}
|
|
199
|
+
export interface RemoveAiAnswersKnowledgeDocument0Request {
|
|
200
|
+
id: string;
|
|
201
|
+
documentId: string;
|
|
202
|
+
xManagedUserId?: string;
|
|
203
|
+
xManagedUserExternalId?: string;
|
|
204
|
+
}
|
|
205
|
+
export interface SetCompositionDataSource0Request {
|
|
206
|
+
id: string;
|
|
207
|
+
idempotencyKey: string;
|
|
208
|
+
setCompositionDataSourceRequest: SetCompositionDataSourceRequest;
|
|
209
|
+
xManagedUserId?: string;
|
|
210
|
+
xManagedUserExternalId?: string;
|
|
211
|
+
}
|
|
212
|
+
export interface SetDynamicContent0Request {
|
|
213
|
+
id: string;
|
|
214
|
+
idempotencyKey: string;
|
|
215
|
+
setDynamicContentRequest: SetDynamicContentRequest;
|
|
216
|
+
ifMatch?: string;
|
|
217
|
+
xManagedUserId?: string;
|
|
218
|
+
xManagedUserExternalId?: string;
|
|
219
|
+
}
|
|
220
|
+
export interface UpdateCompositionDatabaseRecord0Request {
|
|
221
|
+
id: string;
|
|
222
|
+
table: string;
|
|
223
|
+
recordId: string;
|
|
224
|
+
idempotencyKey: string;
|
|
225
|
+
body: object;
|
|
226
|
+
xManagedUserId?: string;
|
|
227
|
+
xManagedUserExternalId?: string;
|
|
228
|
+
}
|
|
229
|
+
export interface UpdateCompositionStatus0Request {
|
|
230
|
+
id: string;
|
|
231
|
+
idempotencyKey: string;
|
|
232
|
+
updateCompositionStatusRequest: UpdateCompositionStatusRequest;
|
|
233
|
+
xManagedUserId?: string;
|
|
234
|
+
xManagedUserExternalId?: string;
|
|
235
|
+
}
|
|
236
|
+
export interface UpdateComposition0Request {
|
|
237
|
+
id: string;
|
|
238
|
+
idempotencyKey: string;
|
|
239
|
+
updateComposition: UpdateComposition;
|
|
240
|
+
xManagedUserId?: string;
|
|
241
|
+
xManagedUserExternalId?: string;
|
|
242
|
+
}
|
|
243
|
+
export interface ValidateCompositionContent0Request {
|
|
244
|
+
id: string;
|
|
245
|
+
idempotencyKey: string;
|
|
246
|
+
requestBody: {
|
|
247
|
+
[key: string]: any;
|
|
248
|
+
};
|
|
249
|
+
xManagedUserId?: string;
|
|
250
|
+
xManagedUserExternalId?: string;
|
|
251
|
+
}
|
|
252
|
+
/**
|
|
253
|
+
*
|
|
254
|
+
*/
|
|
255
|
+
export declare class CompositionsApi extends runtime.BaseAPI {
|
|
256
|
+
/**
|
|
257
|
+
* Gives the widget\'s AI a document to answer visitors\' questions from. Send the title and the plain text. The call returns once the document is ready to be used, which takes a few seconds, longer for a long text. **How it is used.** The text is cleaned, cut into short passages and each passage is turned into numbers (an embedding) so the widget can find the passages nearest to a question. When a visitor asks, the nearest passages and the question are shown to an AI model, which writes the answer from them and from nothing else; if the documents say nothing about the question the visitor is told so, and the owner is not charged for that question. The titles of the documents an answer used are shown to the visitor as its sources. **What leaves Widgetic.** The text of a document is sent to OpenAI to be embedded when it is added, and the passages used for a question are sent to the AI model that writes the answer. Say so in your privacy policy. **Treat every document as public.** An answer can quote or paraphrase anything a document says, to any visitor of the widget. Do not add passwords, keys, personal data or anything that must stay private. **Limits.** A widget holds up to 20 documents, each up to 100000 characters, and up to 400000 characters in all (`getAiAnswersKnowledge` reports the current numbers). Text only: convert PDF or Word files to text first. Adding a document costs no credits. The same text cannot be added twice to one widget (409). The caller must be allowed to change the widget. An API key needs the `content:write` scope. Adds are limited to ten in ten minutes per person.
|
|
258
|
+
* Add a document for a widget\'s AI to answer from
|
|
259
|
+
*/
|
|
260
|
+
addAiAnswersKnowledgeDocumentRaw(requestParameters: AddAiAnswersKnowledgeDocument0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AddAiAnswersKnowledgeDocument201Response>>;
|
|
261
|
+
/**
|
|
262
|
+
* Gives the widget\'s AI a document to answer visitors\' questions from. Send the title and the plain text. The call returns once the document is ready to be used, which takes a few seconds, longer for a long text. **How it is used.** The text is cleaned, cut into short passages and each passage is turned into numbers (an embedding) so the widget can find the passages nearest to a question. When a visitor asks, the nearest passages and the question are shown to an AI model, which writes the answer from them and from nothing else; if the documents say nothing about the question the visitor is told so, and the owner is not charged for that question. The titles of the documents an answer used are shown to the visitor as its sources. **What leaves Widgetic.** The text of a document is sent to OpenAI to be embedded when it is added, and the passages used for a question are sent to the AI model that writes the answer. Say so in your privacy policy. **Treat every document as public.** An answer can quote or paraphrase anything a document says, to any visitor of the widget. Do not add passwords, keys, personal data or anything that must stay private. **Limits.** A widget holds up to 20 documents, each up to 100000 characters, and up to 400000 characters in all (`getAiAnswersKnowledge` reports the current numbers). Text only: convert PDF or Word files to text first. Adding a document costs no credits. The same text cannot be added twice to one widget (409). The caller must be allowed to change the widget. An API key needs the `content:write` scope. Adds are limited to ten in ten minutes per person.
|
|
263
|
+
* Add a document for a widget\'s AI to answer from
|
|
264
|
+
*/
|
|
265
|
+
addAiAnswersKnowledgeDocument(requestParameters: AddAiAnswersKnowledgeDocument0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AddAiAnswersKnowledgeDocument201Response>;
|
|
266
|
+
/**
|
|
267
|
+
* Checks if the authenticated user can access a specific composition based on workspace context and permissions.
|
|
268
|
+
* Check Composition Access
|
|
269
|
+
*/
|
|
270
|
+
checkCompositionAccessRaw(requestParameters: CheckCompositionAccess0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CheckCompositionAccessResponse>>;
|
|
271
|
+
/**
|
|
272
|
+
* Checks if the authenticated user can access a specific composition based on workspace context and permissions.
|
|
273
|
+
* Check Composition Access
|
|
274
|
+
*/
|
|
275
|
+
checkCompositionAccess(requestParameters: CheckCompositionAccess0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CheckCompositionAccessResponse>;
|
|
276
|
+
/**
|
|
277
|
+
* Creates one item in a widget content list without replacing the whole list. Item field keys are widget data (camelCase or snake_case are kept as sent). Partners use this to keep galleries in sync.
|
|
278
|
+
* Add a content list item
|
|
279
|
+
*/
|
|
280
|
+
createCompositionContentItemRaw(requestParameters: CreateCompositionContentItem0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateCompositionContentItem201Response>>;
|
|
281
|
+
/**
|
|
282
|
+
* Creates one item in a widget content list without replacing the whole list. Item field keys are widget data (camelCase or snake_case are kept as sent). Partners use this to keep galleries in sync.
|
|
283
|
+
* Add a content list item
|
|
284
|
+
*/
|
|
285
|
+
createCompositionContentItem(requestParameters: CreateCompositionContentItem0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateCompositionContentItem201Response>;
|
|
286
|
+
/**
|
|
287
|
+
* Creates a new record in one of the composition\'s tables. Only the composition\'s own tables (made from its `databaseSchema` or from the tables its widget declares) can be reached; any other table name answers `404`.
|
|
288
|
+
* Create Record In Composition Database
|
|
289
|
+
*/
|
|
290
|
+
createCompositionDatabaseRecordRaw(requestParameters: CreateCompositionDatabaseRecord0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateCompositionDatabaseRecord201Response>>;
|
|
291
|
+
/**
|
|
292
|
+
* Creates a new record in one of the composition\'s tables. Only the composition\'s own tables (made from its `databaseSchema` or from the tables its widget declares) can be reached; any other table name answers `404`.
|
|
293
|
+
* Create Record In Composition Database
|
|
294
|
+
*/
|
|
295
|
+
createCompositionDatabaseRecord(requestParameters: CreateCompositionDatabaseRecord0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateCompositionDatabaseRecord201Response>;
|
|
296
|
+
/**
|
|
297
|
+
* Creates a new composition. To make the composition for one of your managed users, send `managedUserId` or `managedUserExternalId`. The composition stays in your account and is yours to edit; the tag lets you list one user\'s compositions with `getAllCompositions`. The managed user must be yours and active: one that is not yours, or does not exist, is answered with 404 and `MANAGED_USER_NOT_FOUND`, and one that is switched off with 409 and `MANAGED_USER_INACTIVE`. The tag is set here and does not change afterwards. A copy made with `duplicateComposition` keeps the tag of the original. An editor session with the `creator` surface may call this to start a composition of a widget it built: it sends only `name`, `widgetId` (a widget made for the session\'s managed user) and `content`, and the composition is always made for that managed user. Send `databaseSchema` to give the composition tables of its own for what visitors send it (the shape, the allowed types and the limits are described on the field). A `databaseSchema` that cannot be used is refused before anything is created, with `400` and `INVALID_DATABASE_SCHEMA`. If the composition is created but its tables cannot be made just now, the answer is still `201` and `meta.warnings` says so. Leave `databaseSchema` out and the composition gets the tables its widget declares in its own source (`src/lib/meta/database.json`), if it declares any: they are made the same way, in a schema of the composition\'s own. A widget that keeps nothing leaves the composition without tables. If the widget\'s file cannot be used, or its tables cannot be made just now, the answer is still `201` and `meta.warnings` says so. The widget is read as it was when it was last published (as it is now, when it never was). The `Idempotency-Key` header is required (`400` without it). Send the same key when you retry, so one composition is created, not two.
|
|
298
|
+
* Create Composition
|
|
299
|
+
*/
|
|
300
|
+
createCompositionRaw(requestParameters: CreateComposition0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateCompositionFromWidget201Response>>;
|
|
301
|
+
/**
|
|
302
|
+
* Creates a new composition. To make the composition for one of your managed users, send `managedUserId` or `managedUserExternalId`. The composition stays in your account and is yours to edit; the tag lets you list one user\'s compositions with `getAllCompositions`. The managed user must be yours and active: one that is not yours, or does not exist, is answered with 404 and `MANAGED_USER_NOT_FOUND`, and one that is switched off with 409 and `MANAGED_USER_INACTIVE`. The tag is set here and does not change afterwards. A copy made with `duplicateComposition` keeps the tag of the original. An editor session with the `creator` surface may call this to start a composition of a widget it built: it sends only `name`, `widgetId` (a widget made for the session\'s managed user) and `content`, and the composition is always made for that managed user. Send `databaseSchema` to give the composition tables of its own for what visitors send it (the shape, the allowed types and the limits are described on the field). A `databaseSchema` that cannot be used is refused before anything is created, with `400` and `INVALID_DATABASE_SCHEMA`. If the composition is created but its tables cannot be made just now, the answer is still `201` and `meta.warnings` says so. Leave `databaseSchema` out and the composition gets the tables its widget declares in its own source (`src/lib/meta/database.json`), if it declares any: they are made the same way, in a schema of the composition\'s own. A widget that keeps nothing leaves the composition without tables. If the widget\'s file cannot be used, or its tables cannot be made just now, the answer is still `201` and `meta.warnings` says so. The widget is read as it was when it was last published (as it is now, when it never was). The `Idempotency-Key` header is required (`400` without it). Send the same key when you retry, so one composition is created, not two.
|
|
303
|
+
* Create Composition
|
|
304
|
+
*/
|
|
305
|
+
createComposition(requestParameters: CreateComposition0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateCompositionFromWidget201Response>;
|
|
306
|
+
/**
|
|
307
|
+
* Delete a content list item
|
|
308
|
+
*/
|
|
309
|
+
deleteCompositionContentItemRaw(requestParameters: DeleteCompositionContentItem0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeleteCompositionContentItemResponse>>;
|
|
310
|
+
/**
|
|
311
|
+
* Delete a content list item
|
|
312
|
+
*/
|
|
313
|
+
deleteCompositionContentItem(requestParameters: DeleteCompositionContentItem0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeleteCompositionContentItemResponse>;
|
|
314
|
+
/**
|
|
315
|
+
* Removes the binding. Asking again, or asking for a composition that had none, is not an error: the composition has no data source afterwards, and that is all `removed: true` says.
|
|
316
|
+
* Remove the composition data source binding
|
|
317
|
+
*/
|
|
318
|
+
deleteCompositionDataSourceRaw(requestParameters: DeleteCompositionDataSource0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeleteCompositionDataSourceResponse>>;
|
|
319
|
+
/**
|
|
320
|
+
* Removes the binding. Asking again, or asking for a composition that had none, is not an error: the composition has no data source afterwards, and that is all `removed: true` says.
|
|
321
|
+
* Remove the composition data source binding
|
|
322
|
+
*/
|
|
323
|
+
deleteCompositionDataSource(requestParameters: DeleteCompositionDataSource0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeleteCompositionDataSourceResponse>;
|
|
324
|
+
/**
|
|
325
|
+
* Deletes a specific record from one of the composition\'s tables. Only the composition\'s own tables (made from its `databaseSchema` or from the tables its widget declares) can be reached; any other table name answers `404`.
|
|
326
|
+
* Delete Record From Composition Database
|
|
327
|
+
*/
|
|
328
|
+
deleteCompositionDatabaseRecordRaw(requestParameters: DeleteCompositionDatabaseRecord0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateCompositionDatabaseRecord201Response>>;
|
|
329
|
+
/**
|
|
330
|
+
* Deletes a specific record from one of the composition\'s tables. Only the composition\'s own tables (made from its `databaseSchema` or from the tables its widget declares) can be reached; any other table name answers `404`.
|
|
331
|
+
* Delete Record From Composition Database
|
|
332
|
+
*/
|
|
333
|
+
deleteCompositionDatabaseRecord(requestParameters: DeleteCompositionDatabaseRecord0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateCompositionDatabaseRecord201Response>;
|
|
334
|
+
/**
|
|
335
|
+
* Deletes a specific composition, and the data it keeps (the tables it declared and what visitors left in them).
|
|
336
|
+
* Delete Composition
|
|
337
|
+
*/
|
|
338
|
+
deleteCompositionRaw(requestParameters: DeleteComposition0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
339
|
+
/**
|
|
340
|
+
* Deletes a specific composition, and the data it keeps (the tables it declared and what visitors left in them).
|
|
341
|
+
* Delete Composition
|
|
342
|
+
*/
|
|
343
|
+
deleteComposition(requestParameters: DeleteComposition0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
344
|
+
/**
|
|
345
|
+
* Names the tables a composition\'s widget keeps entries in (the votes, ratings, answers or sign-ups its visitors left), their columns, and how many entries each holds. Call it first to learn the table and column names that `readCompositionEntries` takes. A widget that only shows content keeps nothing of its own: the answer is `hasData: false` with no tables, and that is not an error. A table that could not be counted has `rows: null`, which is not zero. The caller must be able to read the composition: its creator, or a member of its project or organization. An editor session cannot call this route.
|
|
346
|
+
* Describe What a Composition Keeps
|
|
347
|
+
*/
|
|
348
|
+
describeCompositionEntriesRaw(requestParameters: DescribeCompositionEntries0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CompositionEntriesDescriptionResponse>>;
|
|
349
|
+
/**
|
|
350
|
+
* Names the tables a composition\'s widget keeps entries in (the votes, ratings, answers or sign-ups its visitors left), their columns, and how many entries each holds. Call it first to learn the table and column names that `readCompositionEntries` takes. A widget that only shows content keeps nothing of its own: the answer is `hasData: false` with no tables, and that is not an error. A table that could not be counted has `rows: null`, which is not zero. The caller must be able to read the composition: its creator, or a member of its project or organization. An editor session cannot call this route.
|
|
351
|
+
* Describe What a Composition Keeps
|
|
352
|
+
*/
|
|
353
|
+
describeCompositionEntries(requestParameters: DescribeCompositionEntries0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CompositionEntriesDescriptionResponse>;
|
|
354
|
+
/**
|
|
355
|
+
* Creates a duplicate of an existing composition for the authenticated user. The duplicate is made after the answer: the call returns `202` with an `operationId`. Ask `GET /operations/{id}` for that operation until its `status` is `completed`; the new composition is named in `metadata.newCompositionId`. A problem with the duplicate\'s database (for example, tables that could not be made just now) is listed in `metadata.warnings`, which is absent when there is none. The `Idempotency-Key` header is required (`400` without it). Send the same key when you retry, so one duplicate is made, not two.
|
|
356
|
+
* Duplicate Composition
|
|
357
|
+
*/
|
|
358
|
+
duplicateCompositionRaw(requestParameters: DuplicateComposition0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DuplicateComposition202Response>>;
|
|
359
|
+
/**
|
|
360
|
+
* Creates a duplicate of an existing composition for the authenticated user. The duplicate is made after the answer: the call returns `202` with an `operationId`. Ask `GET /operations/{id}` for that operation until its `status` is `completed`; the new composition is named in `metadata.newCompositionId`. A problem with the duplicate\'s database (for example, tables that could not be made just now) is listed in `metadata.warnings`, which is absent when there is none. The `Idempotency-Key` header is required (`400` without it). Send the same key when you retry, so one duplicate is made, not two.
|
|
361
|
+
* Duplicate Composition
|
|
362
|
+
*/
|
|
363
|
+
duplicateComposition(requestParameters: DuplicateComposition0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DuplicateComposition202Response>;
|
|
364
|
+
/**
|
|
365
|
+
* The `ai-answers` adapter lets a widget answer a visitor\'s question with text an AI model writes from documents the widget\'s owner provides. This lists those documents, and how much room is left for more: `totals` carries the widget\'s limits next to what it uses. The list never contains what a document says, only which documents there are: their title, size and state. A `processing` document is not used to answer questions yet (or an add of it was interrupted: remove it and add it again). Add a document with `addAiAnswersKnowledgeDocument`; remove one with `removeAiAnswersKnowledgeDocument`. The caller must be allowed to see the widget: its owner, a partner for a customer it manages, or a Widgetic administrator. An API key needs the `content:read` scope.
|
|
366
|
+
* See the documents a widget\'s AI answers from
|
|
367
|
+
*/
|
|
368
|
+
getAiAnswersKnowledgeRaw(requestParameters: GetAiAnswersKnowledge0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAiAnswersKnowledge200Response>>;
|
|
369
|
+
/**
|
|
370
|
+
* The `ai-answers` adapter lets a widget answer a visitor\'s question with text an AI model writes from documents the widget\'s owner provides. This lists those documents, and how much room is left for more: `totals` carries the widget\'s limits next to what it uses. The list never contains what a document says, only which documents there are: their title, size and state. A `processing` document is not used to answer questions yet (or an add of it was interrupted: remove it and add it again). Add a document with `addAiAnswersKnowledgeDocument`; remove one with `removeAiAnswersKnowledgeDocument`. The caller must be allowed to see the widget: its owner, a partner for a customer it manages, or a Widgetic administrator. An API key needs the `content:read` scope.
|
|
371
|
+
* See the documents a widget\'s AI answers from
|
|
372
|
+
*/
|
|
373
|
+
getAiAnswersKnowledge(requestParameters: GetAiAnswersKnowledge0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAiAnswersKnowledge200Response>;
|
|
374
|
+
/**
|
|
375
|
+
* Retrieves all compositions with pagination support. Pass `managedUserId` (Widgetic\'s id for one of your managed users) or `managedUserExternalId` (your own identifier for the user) to list only the compositions made for that managed user. The compositions of your other managed users, and your own, are left out. It combines with the other filters and with paging. A managed user that is not yours, or does not exist, is answered with 404 and `MANAGED_USER_NOT_FOUND`. An editor session with the `creator` surface may call this to list the compositions of ONE widget it built: it must send `widgetId`, and the answer holds only the compositions made for the session\'s managed user.
|
|
376
|
+
* Get All Compositions
|
|
377
|
+
*/
|
|
378
|
+
getAllCompositionsRaw(requestParameters: GetAllCompositions0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetAllCompositions200Response>>;
|
|
379
|
+
/**
|
|
380
|
+
* Retrieves all compositions with pagination support. Pass `managedUserId` (Widgetic\'s id for one of your managed users) or `managedUserExternalId` (your own identifier for the user) to list only the compositions made for that managed user. The compositions of your other managed users, and your own, are left out. It combines with the other filters and with paging. A managed user that is not yours, or does not exist, is answered with 404 and `MANAGED_USER_NOT_FOUND`. An editor session with the `creator` surface may call this to list the compositions of ONE widget it built: it must send `widgetId`, and the answer holds only the compositions made for the session\'s managed user.
|
|
381
|
+
* Get All Compositions
|
|
382
|
+
*/
|
|
383
|
+
getAllCompositions(requestParameters?: GetAllCompositions0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAllCompositions200Response>;
|
|
384
|
+
/**
|
|
385
|
+
* Retrieves a specific composition by its ID. The answer carries `direct`, which says whether the widget the composition is made from is drawn straight into your page (`true`) or inside a frame (`false`), or `null` while the widget has no published version. Read it before you go live: a widget drawn without a frame writes its entries from your own page, so the public entry route accepts them only from a website on the composition\'s allowed list, and refuses them while that list is empty (the public JSON of the composition stays open to every website). A widget in a frame writes from Widgetic\'s own frame and is accepted whatever the list says.
|
|
386
|
+
* Get Composition
|
|
387
|
+
*/
|
|
388
|
+
getCompositionByIdRaw(requestParameters: GetCompositionById0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateCompositionFromWidget201Response>>;
|
|
389
|
+
/**
|
|
390
|
+
* Retrieves a specific composition by its ID. The answer carries `direct`, which says whether the widget the composition is made from is drawn straight into your page (`true`) or inside a frame (`false`), or `null` while the widget has no published version. Read it before you go live: a widget drawn without a frame writes its entries from your own page, so the public entry route accepts them only from a website on the composition\'s allowed list, and refuses them while that list is empty (the public JSON of the composition stays open to every website). A widget in a frame writes from Widgetic\'s own frame and is accepted whatever the list says.
|
|
391
|
+
* Get Composition
|
|
392
|
+
*/
|
|
393
|
+
getCompositionById(requestParameters: GetCompositionById0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateCompositionFromWidget201Response>;
|
|
394
|
+
/**
|
|
395
|
+
* Retrieves the content schema for a composition based on its widget type
|
|
396
|
+
* Get Content Schema
|
|
397
|
+
*/
|
|
398
|
+
getCompositionContentSchemaRaw(requestParameters: GetCompositionContentSchema0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetCompositionContentSchemaResponse>>;
|
|
399
|
+
/**
|
|
400
|
+
* Retrieves the content schema for a composition based on its widget type
|
|
401
|
+
* Get Content Schema
|
|
402
|
+
*/
|
|
403
|
+
getCompositionContentSchema(requestParameters: GetCompositionContentSchema0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetCompositionContentSchemaResponse>;
|
|
404
|
+
/**
|
|
405
|
+
* Retrieves the current content of a composition
|
|
406
|
+
* Get Current Content
|
|
407
|
+
*/
|
|
408
|
+
getCompositionContentRaw(requestParameters: GetCompositionContent0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetCompositionContentResponse>>;
|
|
409
|
+
/**
|
|
410
|
+
* Retrieves the current content of a composition
|
|
411
|
+
* Get Current Content
|
|
412
|
+
*/
|
|
413
|
+
getCompositionContent(requestParameters: GetCompositionContent0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetCompositionContentResponse>;
|
|
414
|
+
/**
|
|
415
|
+
* The data source that is bound to the composition: `url` and `refreshSeconds`. The answer\'s `data` is `null` when none is bound, and also when what is stored does not pass the rule for a public https address (a binding written by another path, such as the general embed-settings update, is never shown to a page unless it passes the same checks as this route).
|
|
416
|
+
* Read the composition data source binding
|
|
417
|
+
*/
|
|
418
|
+
getCompositionDataSourceRaw(requestParameters: GetCompositionDataSource0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetCompositionDataSourceResponse>>;
|
|
419
|
+
/**
|
|
420
|
+
* The data source that is bound to the composition: `url` and `refreshSeconds`. The answer\'s `data` is `null` when none is bound, and also when what is stored does not pass the rule for a public https address (a binding written by another path, such as the general embed-settings update, is never shown to a page unless it passes the same checks as this route).
|
|
421
|
+
* Read the composition data source binding
|
|
422
|
+
*/
|
|
423
|
+
getCompositionDataSource(requestParameters: GetCompositionDataSource0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetCompositionDataSourceResponse>;
|
|
424
|
+
/**
|
|
425
|
+
* Retrieves a specific record from one of the composition\'s tables. Only the composition\'s own tables (made from its `databaseSchema` or from the tables its widget declares) can be reached; any other table name answers `404`.
|
|
426
|
+
* Get Record From Composition Database
|
|
427
|
+
*/
|
|
428
|
+
getCompositionDatabaseRecordRaw(requestParameters: GetCompositionDatabaseRecord0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateCompositionDatabaseRecord201Response>>;
|
|
429
|
+
/**
|
|
430
|
+
* Retrieves a specific record from one of the composition\'s tables. Only the composition\'s own tables (made from its `databaseSchema` or from the tables its widget declares) can be reached; any other table name answers `404`.
|
|
431
|
+
* Get Record From Composition Database
|
|
432
|
+
*/
|
|
433
|
+
getCompositionDatabaseRecord(requestParameters: GetCompositionDatabaseRecord0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateCompositionDatabaseRecord201Response>;
|
|
434
|
+
/**
|
|
435
|
+
* Retrieves all records from one of the composition\'s tables. Only the composition\'s own tables (made from its `databaseSchema` or from the tables its widget declares) can be reached; any other table name answers `404`.
|
|
436
|
+
* Get All Records From Composition Database Table
|
|
437
|
+
*/
|
|
438
|
+
getCompositionDatabaseRecordsRaw(requestParameters: GetCompositionDatabaseRecords0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetCompositionDatabaseRecords200Response>>;
|
|
439
|
+
/**
|
|
440
|
+
* Retrieves all records from one of the composition\'s tables. Only the composition\'s own tables (made from its `databaseSchema` or from the tables its widget declares) can be reached; any other table name answers `404`.
|
|
441
|
+
* Get All Records From Composition Database Table
|
|
442
|
+
*/
|
|
443
|
+
getCompositionDatabaseRecords(requestParameters: GetCompositionDatabaseRecords0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetCompositionDatabaseRecords200Response>;
|
|
444
|
+
/**
|
|
445
|
+
* Retrieves the design schema for a composition based on its widget type
|
|
446
|
+
* Get Design Schema
|
|
447
|
+
*/
|
|
448
|
+
getCompositionDesignSchemaRaw(requestParameters: GetCompositionDesignSchema0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetCompositionDesignSchemaResponse>>;
|
|
449
|
+
/**
|
|
450
|
+
* Retrieves the design schema for a composition based on its widget type
|
|
451
|
+
* Get Design Schema
|
|
452
|
+
*/
|
|
453
|
+
getCompositionDesignSchema(requestParameters: GetCompositionDesignSchema0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetCompositionDesignSchemaResponse>;
|
|
454
|
+
/**
|
|
455
|
+
* Retrieves only the design field from a composition.
|
|
456
|
+
* Get Composition Design
|
|
457
|
+
*/
|
|
458
|
+
getCompositionDesignRaw(requestParameters: GetCompositionDesign0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetCompositionDesignResponse>>;
|
|
459
|
+
/**
|
|
460
|
+
* Retrieves only the design field from a composition.
|
|
461
|
+
* Get Composition Design
|
|
462
|
+
*/
|
|
463
|
+
getCompositionDesign(requestParameters: GetCompositionDesign0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetCompositionDesignResponse>;
|
|
464
|
+
/**
|
|
465
|
+
* Retrieves the definition of the composition\'s Embed tab: which settings exist, what each one holds, what it defaults to, and when its control is shown. It is the third tab beside `schema/content` and `schema/design`, in the same format (`componentGroups` → `components` → `propertyGroups` → `properties`, each property with a `type`, a `defaultValue` and an `inputController`), so a client that draws those two tabs draws this one with the same code. The schema is the same for every composition (it is the one Widgetic\'s own Embed Editor draws). The composition id decides who may ask: the caller must be able to read the composition. Reading and saving the values: - `GET /compositions/{id}/embed-settings` returns what the composition saved. A composition whose Embed tab was never saved has nothing to return; seed the form from `defaults`, which holds the `defaultValue` of every setting that declares one. - `PUT /compositions/{id}` with `embedSettings` saves them. The gateway stores `embedSettings` as given and does not check it against this schema; the schema is how a client knows what to put there. A property\'s `visibilityCondition` says when its control is shown: `condition` is a comparison of the current values of the properties named in `dependsOn` (`useIframe === false`, `embedTarget === \'mixed\' && keepDimensions === false`). While it is false the Embed Editor does not show the control. A colour picker with `showOpacityControls` saves its opacity next to the colour, under the key `<name>_opacity` as a number from 0 to 1 (`overlayBackgroundColor` → `overlayBackgroundColor_opacity`). Its `defaultTransparency` is a percentage and the saved value a fraction (50 → 0.5).
|
|
466
|
+
* Get Embed Schema
|
|
467
|
+
*/
|
|
468
|
+
getCompositionEmbedSchemaRaw(requestParameters: GetCompositionEmbedSchema0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetCompositionEmbedSchemaResponse>>;
|
|
469
|
+
/**
|
|
470
|
+
* Retrieves the definition of the composition\'s Embed tab: which settings exist, what each one holds, what it defaults to, and when its control is shown. It is the third tab beside `schema/content` and `schema/design`, in the same format (`componentGroups` → `components` → `propertyGroups` → `properties`, each property with a `type`, a `defaultValue` and an `inputController`), so a client that draws those two tabs draws this one with the same code. The schema is the same for every composition (it is the one Widgetic\'s own Embed Editor draws). The composition id decides who may ask: the caller must be able to read the composition. Reading and saving the values: - `GET /compositions/{id}/embed-settings` returns what the composition saved. A composition whose Embed tab was never saved has nothing to return; seed the form from `defaults`, which holds the `defaultValue` of every setting that declares one. - `PUT /compositions/{id}` with `embedSettings` saves them. The gateway stores `embedSettings` as given and does not check it against this schema; the schema is how a client knows what to put there. A property\'s `visibilityCondition` says when its control is shown: `condition` is a comparison of the current values of the properties named in `dependsOn` (`useIframe === false`, `embedTarget === \'mixed\' && keepDimensions === false`). While it is false the Embed Editor does not show the control. A colour picker with `showOpacityControls` saves its opacity next to the colour, under the key `<name>_opacity` as a number from 0 to 1 (`overlayBackgroundColor` → `overlayBackgroundColor_opacity`). Its `defaultTransparency` is a percentage and the saved value a fraction (50 → 0.5).
|
|
471
|
+
* Get Embed Schema
|
|
472
|
+
*/
|
|
473
|
+
getCompositionEmbedSchema(requestParameters: GetCompositionEmbedSchema0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetCompositionEmbedSchemaResponse>;
|
|
474
|
+
/**
|
|
475
|
+
* Retrieves only the embedSettings field from a composition.
|
|
476
|
+
* Get Composition Embed Settings
|
|
477
|
+
*/
|
|
478
|
+
getCompositionEmbedSettingsRaw(requestParameters: GetCompositionEmbedSettings0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetCompositionEmbedSettingsResponse>>;
|
|
479
|
+
/**
|
|
480
|
+
* Retrieves only the embedSettings field from a composition.
|
|
481
|
+
* Get Composition Embed Settings
|
|
482
|
+
*/
|
|
483
|
+
getCompositionEmbedSettings(requestParameters: GetCompositionEmbedSettings0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetCompositionEmbedSettingsResponse>;
|
|
484
|
+
/**
|
|
485
|
+
* Returns the address of the page an editor shows the composition in: the page of the widget\'s published version on the CDN, with the widget and version it is. Load it in a frame, then send the frame what to show (the content, design and embed settings you read from the composition, and every change the user makes) with `postMessage`: `{ type: \'widgetic:update\', design }`, `{ type: \'widgetic:update\', content }` or `{ type: \'widgetic:update\', contentItems }`. The version is the one embeds show, so the editor previews what a visitor gets. The address does not carry the composition id: an embed uses the id to fetch the saved composition itself, while an editor sends the current state (unsaved changes included). A widget that has never been published has no page to show: the answer is 409 `WIDGET_NOT_PUBLISHED`.
|
|
486
|
+
* Get Composition Preview
|
|
487
|
+
*/
|
|
488
|
+
getCompositionPreviewRaw(requestParameters: GetCompositionPreview0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetCompositionPreviewResponse>>;
|
|
489
|
+
/**
|
|
490
|
+
* Returns the address of the page an editor shows the composition in: the page of the widget\'s published version on the CDN, with the widget and version it is. Load it in a frame, then send the frame what to show (the content, design and embed settings you read from the composition, and every change the user makes) with `postMessage`: `{ type: \'widgetic:update\', design }`, `{ type: \'widgetic:update\', content }` or `{ type: \'widgetic:update\', contentItems }`. The version is the one embeds show, so the editor previews what a visitor gets. The address does not carry the composition id: an embed uses the id to fetch the saved composition itself, while an editor sends the current state (unsaved changes included). A widget that has never been published has no page to show: the answer is 409 `WIDGET_NOT_PUBLISHED`.
|
|
491
|
+
* Get Composition Preview
|
|
492
|
+
*/
|
|
493
|
+
getCompositionPreview(requestParameters: GetCompositionPreview0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetCompositionPreviewResponse>;
|
|
494
|
+
/**
|
|
495
|
+
* Retrieves version history for a specific composition.
|
|
496
|
+
* Get Composition Versions
|
|
497
|
+
*/
|
|
498
|
+
getCompositionVersionsRaw(requestParameters: GetCompositionVersions0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetCompositionVersions200Response>>;
|
|
499
|
+
/**
|
|
500
|
+
* Retrieves version history for a specific composition.
|
|
501
|
+
* Get Composition Versions
|
|
502
|
+
*/
|
|
503
|
+
getCompositionVersions(requestParameters: GetCompositionVersions0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetCompositionVersions200Response>;
|
|
504
|
+
/**
|
|
505
|
+
* Retrieves multiple compositions by their IDs in a single request. This endpoint includes domain validation for embed contexts and is used by the embed SDK. Each composition is checked on its own. If its owner listed the websites it may appear on (the workspace\'s domain list, or the `allowedDomains` of a partner the owner administers) and the request comes from another website (the `Origin` header, or the host of `Referer` when there is no `Origin`), that composition is left out of `compositions` and reported in `errors` as `Domain access denied: <reason>`; the others are still returned. A request that names no website, and an owner who listed nothing, are not restricted, and a page on the visitor\'s own machine (`localhost`, `127.0.0.1` or `[::1]`, on any port) is always allowed. So is the website where a partner integrates Widgetic, with every subdomain of it (`platformDomain` in the answer of `GET /partners/mine`), for the compositions of that partner: a partner\'s list never has to name it.
|
|
506
|
+
* Get Compositions Batch
|
|
507
|
+
*/
|
|
508
|
+
getCompositionsBatchRaw(requestParameters: GetCompositionsBatch0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetCompositionsBatchResponse>>;
|
|
509
|
+
/**
|
|
510
|
+
* Retrieves multiple compositions by their IDs in a single request. This endpoint includes domain validation for embed contexts and is used by the embed SDK. Each composition is checked on its own. If its owner listed the websites it may appear on (the workspace\'s domain list, or the `allowedDomains` of a partner the owner administers) and the request comes from another website (the `Origin` header, or the host of `Referer` when there is no `Origin`), that composition is left out of `compositions` and reported in `errors` as `Domain access denied: <reason>`; the others are still returned. A request that names no website, and an owner who listed nothing, are not restricted, and a page on the visitor\'s own machine (`localhost`, `127.0.0.1` or `[::1]`, on any port) is always allowed. So is the website where a partner integrates Widgetic, with every subdomain of it (`platformDomain` in the answer of `GET /partners/mine`), for the compositions of that partner: a partner\'s list never has to name it.
|
|
511
|
+
* Get Compositions Batch
|
|
512
|
+
*/
|
|
513
|
+
getCompositionsBatch(requestParameters: GetCompositionsBatch0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetCompositionsBatchResponse>;
|
|
514
|
+
/**
|
|
515
|
+
* Update a content list item
|
|
516
|
+
*/
|
|
517
|
+
patchCompositionContentItemRaw(requestParameters: PatchCompositionContentItem0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateCompositionContentItem201Response>>;
|
|
518
|
+
/**
|
|
519
|
+
* Update a content list item
|
|
520
|
+
*/
|
|
521
|
+
patchCompositionContentItem(requestParameters: PatchCompositionContentItem0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateCompositionContentItem201Response>;
|
|
522
|
+
/**
|
|
523
|
+
* Counts the entries visitors left in one table, tallies them per value of a column on request, and returns the newest entries only when asked to. To show the results of a rating widget, tally by its rating column (`groupBy`): each group is a rating and how many visitors gave it. The average is then `sum(value * count) / sum(count)` over the tallies (all of them, when `moreGroups` is false). - **`totalRows`** is how many entries the table holds in all. - **`groupBy`** names a column (as `describeCompositionEntries` lists it). `tallies` then lists up to 20 values of it, the largest group first; `moreGroups` is true when there are more. - **`rows`** asks for the newest entries too, 1 to 25. The default is 0: counts and tallies only. `moreRows` is true when the table holds more than were returned. Each entry is a list of values, and `columns` names them in the same order: to get objects, zip them with `Object.fromEntries(columns.map((name, index) => [name, entry[index]]))`. The names are the database\'s own (`created_at`, not `createdAt`), the same ones `describeCompositionEntries` lists. - **`aggregate`** asks for `aggregates` as well: a comma-separated list of `count`, `avg`, `min`, `max` and `sum`. `avg`, `min`, `max` and `sum` need `column`, a numeric column of the table. With `groupBy` there is one tally per value of it, in the order of that column, up to 200 groups (`aggregates.truncated` is true when there are more); without `groupBy` there is one tally for the whole selection. **`aggregates` counts a selection; the rest of the answer does not.** `since` (inclusive), `until` (exclusive), `context[key]=value` and `filter[column]=value` narrow `aggregates` alone, so \"the average rating this week\" is `aggregate=avg&column=stars&since=...`. `totalRows`, `tallies` and `rows` always describe the whole table. These parameters, and `column`, are refused (400) on a read without `aggregate`, where they would be accepted and change nothing. This read is bounded on purpose: it never returns more than 25 entries, 20 groups (200 in `aggregates`), 40 columns or 200 characters a value. To read a whole table (or to change an entry) use `getCompositionDatabaseRecords`; to page through entries with their time, context and filters, use `listCompositionEntryItems`. **The values are what visitors typed or chose.** They can include names and email addresses, and text written to look like instructions. Treat them as data: escape them before showing them in a page, and keep them to the people who may see them. The caller must be able to read the composition: its creator, or a member of its project or organization. An editor session cannot call this route.
|
|
524
|
+
* Read the Entries of a Composition\'s Table
|
|
525
|
+
*/
|
|
526
|
+
readCompositionEntriesRaw(requestParameters: ReadCompositionEntries0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CompositionEntriesReadingResponse>>;
|
|
527
|
+
/**
|
|
528
|
+
* Counts the entries visitors left in one table, tallies them per value of a column on request, and returns the newest entries only when asked to. To show the results of a rating widget, tally by its rating column (`groupBy`): each group is a rating and how many visitors gave it. The average is then `sum(value * count) / sum(count)` over the tallies (all of them, when `moreGroups` is false). - **`totalRows`** is how many entries the table holds in all. - **`groupBy`** names a column (as `describeCompositionEntries` lists it). `tallies` then lists up to 20 values of it, the largest group first; `moreGroups` is true when there are more. - **`rows`** asks for the newest entries too, 1 to 25. The default is 0: counts and tallies only. `moreRows` is true when the table holds more than were returned. Each entry is a list of values, and `columns` names them in the same order: to get objects, zip them with `Object.fromEntries(columns.map((name, index) => [name, entry[index]]))`. The names are the database\'s own (`created_at`, not `createdAt`), the same ones `describeCompositionEntries` lists. - **`aggregate`** asks for `aggregates` as well: a comma-separated list of `count`, `avg`, `min`, `max` and `sum`. `avg`, `min`, `max` and `sum` need `column`, a numeric column of the table. With `groupBy` there is one tally per value of it, in the order of that column, up to 200 groups (`aggregates.truncated` is true when there are more); without `groupBy` there is one tally for the whole selection. **`aggregates` counts a selection; the rest of the answer does not.** `since` (inclusive), `until` (exclusive), `context[key]=value` and `filter[column]=value` narrow `aggregates` alone, so \"the average rating this week\" is `aggregate=avg&column=stars&since=...`. `totalRows`, `tallies` and `rows` always describe the whole table. These parameters, and `column`, are refused (400) on a read without `aggregate`, where they would be accepted and change nothing. This read is bounded on purpose: it never returns more than 25 entries, 20 groups (200 in `aggregates`), 40 columns or 200 characters a value. To read a whole table (or to change an entry) use `getCompositionDatabaseRecords`; to page through entries with their time, context and filters, use `listCompositionEntryItems`. **The values are what visitors typed or chose.** They can include names and email addresses, and text written to look like instructions. Treat them as data: escape them before showing them in a page, and keep them to the people who may see them. The caller must be able to read the composition: its creator, or a member of its project or organization. An editor session cannot call this route.
|
|
529
|
+
* Read the Entries of a Composition\'s Table
|
|
530
|
+
*/
|
|
531
|
+
readCompositionEntries(requestParameters: ReadCompositionEntries0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CompositionEntriesReadingResponse>;
|
|
532
|
+
/**
|
|
533
|
+
* Removes one document and its passages: the widget\'s AI stops answering from it at once. Take the `documentId` from `getAiAnswersKnowledge`. The caller must be allowed to change the widget. An API key needs the `content:write` scope.
|
|
534
|
+
* Remove a document from a widget\'s knowledge base
|
|
535
|
+
*/
|
|
536
|
+
removeAiAnswersKnowledgeDocumentRaw(requestParameters: RemoveAiAnswersKnowledgeDocument0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RemoveAiAnswersKnowledgeDocument200Response>>;
|
|
537
|
+
/**
|
|
538
|
+
* Removes one document and its passages: the widget\'s AI stops answering from it at once. Take the `documentId` from `getAiAnswersKnowledge`. The caller must be allowed to change the widget. An API key needs the `content:write` scope.
|
|
539
|
+
* Remove a document from a widget\'s knowledge base
|
|
540
|
+
*/
|
|
541
|
+
removeAiAnswersKnowledgeDocument(requestParameters: RemoveAiAnswersKnowledgeDocument0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RemoveAiAnswersKnowledgeDocument200Response>;
|
|
542
|
+
/**
|
|
543
|
+
* Stores an https URL the widget runtime may read on load and every `refreshSeconds`. The URL must name a public host (no loopback, link-local or metadata addresses). A composition has one binding: saving another replaces it. The answer is the binding as it was saved (`url`, `refreshSeconds`).
|
|
544
|
+
* Bind a public JSON data source for embed refresh
|
|
545
|
+
*/
|
|
546
|
+
setCompositionDataSourceRaw(requestParameters: SetCompositionDataSource0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CompositionDataSourceResponse>>;
|
|
547
|
+
/**
|
|
548
|
+
* Stores an https URL the widget runtime may read on load and every `refreshSeconds`. The URL must name a public host (no loopback, link-local or metadata addresses). A composition has one binding: saving another replaces it. The answer is the binding as it was saved (`url`, `refreshSeconds`).
|
|
549
|
+
* Bind a public JSON data source for embed refresh
|
|
550
|
+
*/
|
|
551
|
+
setCompositionDataSource(requestParameters: SetCompositionDataSource0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CompositionDataSourceResponse>;
|
|
552
|
+
/**
|
|
553
|
+
* Updates the content of a composition dynamically with optional schema validation. An editor session (see `createManagedUserEditorSession`) can send only `content`, `validate` and `partial`, and only for a composition made for its managed user. A body that names `version`, `source` or any other field is refused with `403` and `EDITOR_SESSION_FIELD_NOT_ALLOWED`.
|
|
554
|
+
* Set Dynamic Content
|
|
555
|
+
*/
|
|
556
|
+
setDynamicContentRaw(requestParameters: SetDynamicContent0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<SetDynamicContentResponse>>;
|
|
557
|
+
/**
|
|
558
|
+
* Updates the content of a composition dynamically with optional schema validation. An editor session (see `createManagedUserEditorSession`) can send only `content`, `validate` and `partial`, and only for a composition made for its managed user. A body that names `version`, `source` or any other field is refused with `403` and `EDITOR_SESSION_FIELD_NOT_ALLOWED`.
|
|
559
|
+
* Set Dynamic Content
|
|
560
|
+
*/
|
|
561
|
+
setDynamicContent(requestParameters: SetDynamicContent0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SetDynamicContentResponse>;
|
|
562
|
+
/**
|
|
563
|
+
* Updates a specific record in one of the composition\'s tables. Only the composition\'s own tables (made from its `databaseSchema` or from the tables its widget declares) can be reached; any other table name answers `404`.
|
|
564
|
+
* Update Record In Composition Database
|
|
565
|
+
*/
|
|
566
|
+
updateCompositionDatabaseRecordRaw(requestParameters: UpdateCompositionDatabaseRecord0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateCompositionDatabaseRecord201Response>>;
|
|
567
|
+
/**
|
|
568
|
+
* Updates a specific record in one of the composition\'s tables. Only the composition\'s own tables (made from its `databaseSchema` or from the tables its widget declares) can be reached; any other table name answers `404`.
|
|
569
|
+
* Update Record In Composition Database
|
|
570
|
+
*/
|
|
571
|
+
updateCompositionDatabaseRecord(requestParameters: UpdateCompositionDatabaseRecord0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateCompositionDatabaseRecord201Response>;
|
|
572
|
+
/**
|
|
573
|
+
* Updates the status of a specific composition. The `Idempotency-Key` header is required (`400` without it). Send the same key when you retry.
|
|
574
|
+
* Update Composition Status
|
|
575
|
+
*/
|
|
576
|
+
updateCompositionStatusRaw(requestParameters: UpdateCompositionStatus0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CompositionResponse>>;
|
|
577
|
+
/**
|
|
578
|
+
* Updates the status of a specific composition. The `Idempotency-Key` header is required (`400` without it). Send the same key when you retry.
|
|
579
|
+
* Update Composition Status
|
|
580
|
+
*/
|
|
581
|
+
updateCompositionStatus(requestParameters: UpdateCompositionStatus0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CompositionResponse>;
|
|
582
|
+
/**
|
|
583
|
+
* Updates a specific composition. The `Idempotency-Key` header is required (`400` without it). Send the same key when you retry. An editor session (see `createManagedUserEditorSession`) can send only `name`, `content`, `design` and `embedSettings`, and only for a composition made for its managed user. A body that names any other field is refused with `403` and `EDITOR_SESSION_FIELD_NOT_ALLOWED`. Send `databaseSchema` to add tables to the composition: the tables that are missing are made, and the ones that exist are left as they are. A `databaseSchema` that cannot be used is refused before anything is saved, with `400` and `INVALID_DATABASE_SCHEMA`. If the composition is saved but its tables cannot be made just now, the answer is still `200` and `meta.warnings` says so.
|
|
584
|
+
* Update Composition
|
|
585
|
+
*/
|
|
586
|
+
updateCompositionRaw(requestParameters: UpdateComposition0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateCompositionFromWidget201Response>>;
|
|
587
|
+
/**
|
|
588
|
+
* Updates a specific composition. The `Idempotency-Key` header is required (`400` without it). Send the same key when you retry. An editor session (see `createManagedUserEditorSession`) can send only `name`, `content`, `design` and `embedSettings`, and only for a composition made for its managed user. A body that names any other field is refused with `403` and `EDITOR_SESSION_FIELD_NOT_ALLOWED`. Send `databaseSchema` to add tables to the composition: the tables that are missing are made, and the ones that exist are left as they are. A `databaseSchema` that cannot be used is refused before anything is saved, with `400` and `INVALID_DATABASE_SCHEMA`. If the composition is saved but its tables cannot be made just now, the answer is still `200` and `meta.warnings` says so.
|
|
589
|
+
* Update Composition
|
|
590
|
+
*/
|
|
591
|
+
updateComposition(requestParameters: UpdateComposition0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateCompositionFromWidget201Response>;
|
|
592
|
+
/**
|
|
593
|
+
* Checks content against the composition\'s widget schema without saving it. Send what a content update (`PUT /compositions/{id}/content`) would store, `{ \"design\": {...}, \"content\": {...} }`, or the widget\'s values alone. Each value is checked by the kind of field the widget declares for it: text, a number within the limits of its slider, true or false, one of the choices of a dropdown, a color, a font, the address of an image, a date. The items of the widget\'s list are checked the same way, and their number against the limits of the list. A value that cannot be what the field holds, or a number outside its range, is an error and `valid` is false. Text longer than the field takes, a number or true/false sent as text, and a name the widget has no field for are warnings, and `valid` stays true. The design is not checked here. Nothing is saved and nothing in the body is changed.
|
|
594
|
+
* Validate Content
|
|
595
|
+
*/
|
|
596
|
+
validateCompositionContentRaw(requestParameters: ValidateCompositionContent0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ValidateCompositionContentResponse>>;
|
|
597
|
+
/**
|
|
598
|
+
* Checks content against the composition\'s widget schema without saving it. Send what a content update (`PUT /compositions/{id}/content`) would store, `{ \"design\": {...}, \"content\": {...} }`, or the widget\'s values alone. Each value is checked by the kind of field the widget declares for it: text, a number within the limits of its slider, true or false, one of the choices of a dropdown, a color, a font, the address of an image, a date. The items of the widget\'s list are checked the same way, and their number against the limits of the list. A value that cannot be what the field holds, or a number outside its range, is an error and `valid` is false. Text longer than the field takes, a number or true/false sent as text, and a name the widget has no field for are warnings, and `valid` stays true. The design is not checked here. Nothing is saved and nothing in the body is changed.
|
|
599
|
+
* Validate Content
|
|
600
|
+
*/
|
|
601
|
+
validateCompositionContent(requestParameters: ValidateCompositionContent0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ValidateCompositionContentResponse>;
|
|
602
|
+
}
|
|
603
|
+
/**
|
|
604
|
+
* @export
|
|
605
|
+
*/
|
|
606
|
+
export declare const GetAllCompositions0WorkspaceEnum: {
|
|
607
|
+
readonly True: 'true';
|
|
608
|
+
readonly False: 'false';
|
|
609
|
+
};
|
|
610
|
+
export type GetAllCompositions0WorkspaceEnum = typeof GetAllCompositions0WorkspaceEnum[keyof typeof GetAllCompositions0WorkspaceEnum];
|
|
611
|
+
/**
|
|
612
|
+
* @export
|
|
613
|
+
*/
|
|
614
|
+
export declare const GetAllCompositions0StatusEnum: {
|
|
615
|
+
readonly Draft: 'draft';
|
|
616
|
+
readonly Published: 'published';
|
|
617
|
+
readonly Archived: 'archived';
|
|
618
|
+
};
|
|
619
|
+
export type GetAllCompositions0StatusEnum = typeof GetAllCompositions0StatusEnum[keyof typeof GetAllCompositions0StatusEnum];
|