@widgetic/api-sdk-ts 0.0.0-stage → 1.11.109
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 +637 -0
- package/dist/apis/CompositionsApi.js +1726 -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 +2595 -0
- package/dist/apis/PartnerApi.js +6749 -0
- package/dist/apis/PartnersApi.d.ts +600 -0
- package/dist/apis/PartnersApi.js +1604 -0
- package/dist/apis/PublicEmbedApi.d.ts +159 -0
- package/dist/apis/PublicEmbedApi.js +370 -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 +206 -0
- package/dist/apis/UsersApi.js +558 -0
- package/dist/apis/WidgetsApi.d.ts +77 -0
- package/dist/apis/WidgetsApi.js +222 -0
- package/dist/apis/WorkflowsApi.d.ts +394 -0
- package/dist/apis/WorkflowsApi.js +1056 -0
- package/dist/apis/WorkspacesApi.d.ts +352 -0
- package/dist/apis/WorkspacesApi.js +946 -0
- package/dist/apis/index.d.ts +16 -0
- package/dist/apis/index.js +34 -0
- package/dist/esm/apis/CanvasesApi.js +216 -0
- package/dist/esm/apis/CompositionsApi.js +1689 -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 +6712 -0
- package/dist/esm/apis/PartnersApi.js +1567 -0
- package/dist/esm/apis/PublicEmbedApi.js +333 -0
- package/dist/esm/apis/TokensApi.js +51 -0
- package/dist/esm/apis/UploadsApi.js +248 -0
- package/dist/esm/apis/UsersApi.js +521 -0
- package/dist/esm/apis/WidgetsApi.js +185 -0
- package/dist/esm/apis/WorkflowsApi.js +1019 -0
- package/dist/esm/apis/WorkspacesApi.js +909 -0
- package/dist/esm/apis/index.js +18 -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 +87 -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 +98 -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/CompositionLastEditedBy.js +43 -0
- package/dist/esm/models/CompositionResponse.js +51 -0
- package/dist/esm/models/CompositionVersion.js +49 -0
- package/dist/esm/models/ConfirmAdapterConnectionRequest.js +43 -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 +90 -0
- package/dist/esm/models/CreateWorkspaceWorkflowFromPreset201Response.js +51 -0
- package/dist/esm/models/CreateWorkspaceWorkflowFromPresetRequest.js +45 -0
- package/dist/esm/models/CreateWorkspaceWorkflowRequest.js +47 -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/DeleteWorkspaceWorkflow200Response.js +51 -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 +80 -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 +80 -0
- package/dist/esm/models/GetPublicCompositionEmbed200ResponseAdapters.js +44 -0
- package/dist/esm/models/GetPublicCompositionEmbed200ResponseAdaptersCaptcha.js +41 -0
- package/dist/esm/models/GetPublicCompositionEmbed200ResponseDataSource.js +43 -0
- package/dist/esm/models/GetPublicCompositionEmbed200ResponseDirect.js +45 -0
- package/dist/esm/models/GetPublicCompositionEmbed200ResponseEntries.js +43 -0
- package/dist/esm/models/GetPublicCompositionEmbed200ResponseMedia.js +41 -0
- package/dist/esm/models/GetPublicWorkflow200Response.js +51 -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/GetWorkspaceWorkflowStats200Response.js +51 -0
- package/dist/esm/models/GetWorkspaceWorkflowVersion200Response.js +51 -0
- package/dist/esm/models/ListPartnerPresets200Response.js +51 -0
- package/dist/esm/models/ListPartnerWorkflowPresets200Response.js +51 -0
- package/dist/esm/models/ListWorkspaceWorkflowCompositionOptions200Response.js +51 -0
- package/dist/esm/models/ListWorkspaceWorkflowPresets200Response.js +51 -0
- package/dist/esm/models/ListWorkspaceWorkflowVersions200Response.js +51 -0
- package/dist/esm/models/ListWorkspaceWorkflows200Response.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 +58 -0
- package/dist/esm/models/NewManagedUser.js +47 -0
- package/dist/esm/models/NewWidget.js +74 -0
- package/dist/esm/models/OfferWorkflowPresetRequest.js +49 -0
- package/dist/esm/models/OfferedWorkflowPreset.js +101 -0
- package/dist/esm/models/OfferedWorkflowPresetList.js +44 -0
- package/dist/esm/models/OfferedWorkflowPresetWidget.js +51 -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 +61 -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/PublicWorkflow.js +73 -0
- package/dist/esm/models/PublicWorkflowEventsAccepted.js +47 -0
- package/dist/esm/models/PublicWorkflowEventsRequest.js +53 -0
- package/dist/esm/models/PublicWorkflowEventsRequestEventsInner.js +57 -0
- package/dist/esm/models/PublicWorkflowEventsRequestHeightsInner.js +47 -0
- package/dist/esm/models/PublicWorkflowTranslation.js +47 -0
- package/dist/esm/models/PublishWorkspaceWorkflow200Response.js +51 -0
- package/dist/esm/models/PublishWorkspaceWorkflowRequest.js +43 -0
- package/dist/esm/models/PurposeStorageBucket.js +47 -0
- package/dist/esm/models/RemoveAiAnswersKnowledgeDocument200Response.js +51 -0
- package/dist/esm/models/RemovePartnerWorkflowPreset200Response.js +51 -0
- package/dist/esm/models/RemoveUserAdapterConnection200Response.js +51 -0
- package/dist/esm/models/ReportPublicWorkflowEvents200Response.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/SaveWorkspaceWorkflow200Response.js +51 -0
- package/dist/esm/models/SaveWorkspaceWorkflowRequest.js +50 -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/SetPartnerWorkflowPreset200Response.js +51 -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 +88 -0
- package/dist/esm/models/Workflow.js +96 -0
- package/dist/esm/models/WorkflowCompositionAction.js +53 -0
- package/dist/esm/models/WorkflowCompositionField.js +63 -0
- package/dist/esm/models/WorkflowCompositionOption.js +67 -0
- package/dist/esm/models/WorkflowCompositionOptionActions.js +57 -0
- package/dist/esm/models/WorkflowCompositionOptionInputs.js +61 -0
- package/dist/esm/models/WorkflowCompositionOptions.js +56 -0
- package/dist/esm/models/WorkflowConditionCase.js +61 -0
- package/dist/esm/models/WorkflowConditionTest.js +67 -0
- package/dist/esm/models/WorkflowCounter.js +47 -0
- package/dist/esm/models/WorkflowDetail.js +113 -0
- package/dist/esm/models/WorkflowDetailAllOfLastEditedBy.js +43 -0
- package/dist/esm/models/WorkflowEdge.js +55 -0
- package/dist/esm/models/WorkflowFieldReference.js +66 -0
- package/dist/esm/models/WorkflowGraph.js +59 -0
- package/dist/esm/models/WorkflowIssue.js +62 -0
- package/dist/esm/models/WorkflowList.js +56 -0
- package/dist/esm/models/WorkflowNode.js +68 -0
- package/dist/esm/models/WorkflowNodePosition.js +47 -0
- package/dist/esm/models/WorkflowPresetChoice.js +60 -0
- package/dist/esm/models/WorkflowPresetChoices.js +44 -0
- package/dist/esm/models/WorkflowPresetRemoval.js +43 -0
- package/dist/esm/models/WorkflowPresetWidget.js +47 -0
- package/dist/esm/models/WorkflowPublishResult.js +54 -0
- package/dist/esm/models/WorkflowRemoved.js +43 -0
- package/dist/esm/models/WorkflowSchedule.js +66 -0
- package/dist/esm/models/WorkflowStats.js +68 -0
- package/dist/esm/models/WorkflowStatus.js +48 -0
- package/dist/esm/models/WorkflowTrigger.js +64 -0
- package/dist/esm/models/WorkflowTriggerValuesInner.js +55 -0
- package/dist/esm/models/WorkflowVersion.js +62 -0
- package/dist/esm/models/WorkflowVersionDetail.js +71 -0
- package/dist/esm/models/WorkflowVersionList.js +44 -0
- package/dist/esm/models/WorkflowVersionPublishedBy.js +43 -0
- package/dist/esm/models/index.js +337 -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 +95 -0
- package/dist/models/AdapterConnection.js +95 -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 +144 -0
- package/dist/models/Composition.js +106 -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/CompositionLastEditedBy.d.ts +52 -0
- package/dist/models/CompositionLastEditedBy.js +50 -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/ConfirmAdapterConnectionRequest.d.ts +32 -0
- package/dist/models/ConfirmAdapterConnectionRequest.js +50 -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 +168 -0
- package/dist/models/CreateWidget201ResponseData.js +98 -0
- package/dist/models/CreateWorkspaceWorkflowFromPreset201Response.d.ts +46 -0
- package/dist/models/CreateWorkspaceWorkflowFromPreset201Response.js +58 -0
- package/dist/models/CreateWorkspaceWorkflowFromPresetRequest.d.ts +38 -0
- package/dist/models/CreateWorkspaceWorkflowFromPresetRequest.js +52 -0
- package/dist/models/CreateWorkspaceWorkflowRequest.d.ts +44 -0
- package/dist/models/CreateWorkspaceWorkflowRequest.js +54 -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/DeleteWorkspaceWorkflow200Response.d.ts +46 -0
- package/dist/models/DeleteWorkspaceWorkflow200Response.js +58 -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 +92 -0
- package/dist/models/EditorSession.js +88 -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 +141 -0
- package/dist/models/GetPublicCompositionEmbed200Response.js +87 -0
- package/dist/models/GetPublicCompositionEmbed200ResponseAdapters.d.ts +39 -0
- package/dist/models/GetPublicCompositionEmbed200ResponseAdapters.js +51 -0
- package/dist/models/GetPublicCompositionEmbed200ResponseAdaptersCaptcha.d.ts +32 -0
- package/dist/models/GetPublicCompositionEmbed200ResponseAdaptersCaptcha.js +48 -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/GetPublicCompositionEmbed200ResponseEntries.d.ts +38 -0
- package/dist/models/GetPublicCompositionEmbed200ResponseEntries.js +50 -0
- package/dist/models/GetPublicCompositionEmbed200ResponseMedia.d.ts +32 -0
- package/dist/models/GetPublicCompositionEmbed200ResponseMedia.js +48 -0
- package/dist/models/GetPublicWorkflow200Response.d.ts +46 -0
- package/dist/models/GetPublicWorkflow200Response.js +58 -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/GetWorkspaceWorkflowStats200Response.d.ts +46 -0
- package/dist/models/GetWorkspaceWorkflowStats200Response.js +58 -0
- package/dist/models/GetWorkspaceWorkflowVersion200Response.d.ts +46 -0
- package/dist/models/GetWorkspaceWorkflowVersion200Response.js +58 -0
- package/dist/models/ListPartnerPresets200Response.d.ts +46 -0
- package/dist/models/ListPartnerPresets200Response.js +58 -0
- package/dist/models/ListPartnerWorkflowPresets200Response.d.ts +46 -0
- package/dist/models/ListPartnerWorkflowPresets200Response.js +58 -0
- package/dist/models/ListWorkspaceWorkflowCompositionOptions200Response.d.ts +46 -0
- package/dist/models/ListWorkspaceWorkflowCompositionOptions200Response.js +58 -0
- package/dist/models/ListWorkspaceWorkflowPresets200Response.d.ts +46 -0
- package/dist/models/ListWorkspaceWorkflowPresets200Response.js +58 -0
- package/dist/models/ListWorkspaceWorkflowVersions200Response.d.ts +46 -0
- package/dist/models/ListWorkspaceWorkflowVersions200Response.js +58 -0
- package/dist/models/ListWorkspaceWorkflows200Response.d.ts +46 -0
- package/dist/models/ListWorkspaceWorkflows200Response.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 +135 -0
- package/dist/models/NewComposition.js +72 -0
- package/dist/models/NewEditorSession.d.ts +63 -0
- package/dist/models/NewEditorSession.js +66 -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/OfferWorkflowPresetRequest.d.ts +50 -0
- package/dist/models/OfferWorkflowPresetRequest.js +56 -0
- package/dist/models/OfferedWorkflowPreset.d.ts +120 -0
- package/dist/models/OfferedWorkflowPreset.js +109 -0
- package/dist/models/OfferedWorkflowPresetList.d.ts +33 -0
- package/dist/models/OfferedWorkflowPresetList.js +51 -0
- package/dist/models/OfferedWorkflowPresetWidget.d.ts +44 -0
- package/dist/models/OfferedWorkflowPresetWidget.js +58 -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 +43 -0
- package/dist/models/PartnerNotificationEventType.js +69 -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/PublicWorkflow.d.ts +109 -0
- package/dist/models/PublicWorkflow.js +81 -0
- package/dist/models/PublicWorkflowEventsAccepted.d.ts +44 -0
- package/dist/models/PublicWorkflowEventsAccepted.js +54 -0
- package/dist/models/PublicWorkflowEventsRequest.d.ts +59 -0
- package/dist/models/PublicWorkflowEventsRequest.js +60 -0
- package/dist/models/PublicWorkflowEventsRequestEventsInner.d.ts +53 -0
- package/dist/models/PublicWorkflowEventsRequestEventsInner.js +65 -0
- package/dist/models/PublicWorkflowEventsRequestHeightsInner.d.ts +38 -0
- package/dist/models/PublicWorkflowEventsRequestHeightsInner.js +54 -0
- package/dist/models/PublicWorkflowTranslation.d.ts +40 -0
- package/dist/models/PublicWorkflowTranslation.js +54 -0
- package/dist/models/PublishWorkspaceWorkflow200Response.d.ts +46 -0
- package/dist/models/PublishWorkspaceWorkflow200Response.js +58 -0
- package/dist/models/PublishWorkspaceWorkflowRequest.d.ts +32 -0
- package/dist/models/PublishWorkspaceWorkflowRequest.js +50 -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/RemovePartnerWorkflowPreset200Response.d.ts +46 -0
- package/dist/models/RemovePartnerWorkflowPreset200Response.js +58 -0
- package/dist/models/RemoveUserAdapterConnection200Response.d.ts +46 -0
- package/dist/models/RemoveUserAdapterConnection200Response.js +58 -0
- package/dist/models/ReportPublicWorkflowEvents200Response.d.ts +46 -0
- package/dist/models/ReportPublicWorkflowEvents200Response.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/SaveWorkspaceWorkflow200Response.d.ts +46 -0
- package/dist/models/SaveWorkspaceWorkflow200Response.js +58 -0
- package/dist/models/SaveWorkspaceWorkflowRequest.d.ts +51 -0
- package/dist/models/SaveWorkspaceWorkflowRequest.js +57 -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/SetPartnerWorkflowPreset200Response.d.ts +46 -0
- package/dist/models/SetPartnerWorkflowPreset200Response.js +58 -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 +82 -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 +162 -0
- package/dist/models/Widget.js +96 -0
- package/dist/models/Workflow.d.ts +133 -0
- package/dist/models/Workflow.js +103 -0
- package/dist/models/WorkflowCompositionAction.d.ts +52 -0
- package/dist/models/WorkflowCompositionAction.js +60 -0
- package/dist/models/WorkflowCompositionField.d.ts +59 -0
- package/dist/models/WorkflowCompositionField.js +71 -0
- package/dist/models/WorkflowCompositionOption.d.ts +73 -0
- package/dist/models/WorkflowCompositionOption.js +74 -0
- package/dist/models/WorkflowCompositionOptionActions.d.ts +55 -0
- package/dist/models/WorkflowCompositionOptionActions.js +65 -0
- package/dist/models/WorkflowCompositionOptionInputs.d.ts +64 -0
- package/dist/models/WorkflowCompositionOptionInputs.js +69 -0
- package/dist/models/WorkflowCompositionOptions.d.ts +51 -0
- package/dist/models/WorkflowCompositionOptions.js +63 -0
- package/dist/models/WorkflowConditionCase.d.ts +61 -0
- package/dist/models/WorkflowConditionCase.js +69 -0
- package/dist/models/WorkflowConditionTest.d.ts +68 -0
- package/dist/models/WorkflowConditionTest.js +75 -0
- package/dist/models/WorkflowCounter.d.ts +38 -0
- package/dist/models/WorkflowCounter.js +54 -0
- package/dist/models/WorkflowDetail.d.ts +166 -0
- package/dist/models/WorkflowDetail.js +120 -0
- package/dist/models/WorkflowDetailAllOfLastEditedBy.d.ts +42 -0
- package/dist/models/WorkflowDetailAllOfLastEditedBy.js +50 -0
- package/dist/models/WorkflowEdge.d.ts +50 -0
- package/dist/models/WorkflowEdge.js +62 -0
- package/dist/models/WorkflowFieldReference.d.ts +63 -0
- package/dist/models/WorkflowFieldReference.js +74 -0
- package/dist/models/WorkflowGraph.d.ts +53 -0
- package/dist/models/WorkflowGraph.js +67 -0
- package/dist/models/WorkflowIssue.d.ts +72 -0
- package/dist/models/WorkflowIssue.js +70 -0
- package/dist/models/WorkflowList.d.ts +51 -0
- package/dist/models/WorkflowList.js +63 -0
- package/dist/models/WorkflowNode.d.ts +83 -0
- package/dist/models/WorkflowNode.js +76 -0
- package/dist/models/WorkflowNodePosition.d.ts +38 -0
- package/dist/models/WorkflowNodePosition.js +54 -0
- package/dist/models/WorkflowPresetChoice.d.ts +60 -0
- package/dist/models/WorkflowPresetChoice.js +67 -0
- package/dist/models/WorkflowPresetChoices.d.ts +33 -0
- package/dist/models/WorkflowPresetChoices.js +51 -0
- package/dist/models/WorkflowPresetRemoval.d.ts +32 -0
- package/dist/models/WorkflowPresetRemoval.js +50 -0
- package/dist/models/WorkflowPresetWidget.d.ts +38 -0
- package/dist/models/WorkflowPresetWidget.js +54 -0
- package/dist/models/WorkflowPublishResult.d.ts +47 -0
- package/dist/models/WorkflowPublishResult.js +61 -0
- package/dist/models/WorkflowRemoved.d.ts +32 -0
- package/dist/models/WorkflowRemoved.js +50 -0
- package/dist/models/WorkflowSchedule.d.ts +69 -0
- package/dist/models/WorkflowSchedule.js +74 -0
- package/dist/models/WorkflowStats.d.ts +77 -0
- package/dist/models/WorkflowStats.js +75 -0
- package/dist/models/WorkflowStatus.d.ts +30 -0
- package/dist/models/WorkflowStatus.js +56 -0
- package/dist/models/WorkflowTrigger.d.ts +77 -0
- package/dist/models/WorkflowTrigger.js +72 -0
- package/dist/models/WorkflowTriggerValuesInner.d.ts +47 -0
- package/dist/models/WorkflowTriggerValuesInner.js +63 -0
- package/dist/models/WorkflowVersion.d.ts +63 -0
- package/dist/models/WorkflowVersion.js +69 -0
- package/dist/models/WorkflowVersionDetail.d.ts +76 -0
- package/dist/models/WorkflowVersionDetail.js +78 -0
- package/dist/models/WorkflowVersionList.d.ts +33 -0
- package/dist/models/WorkflowVersionList.js +51 -0
- package/dist/models/WorkflowVersionPublishedBy.d.ts +38 -0
- package/dist/models/WorkflowVersionPublishedBy.js +50 -0
- package/dist/models/index.d.ts +335 -0
- package/dist/models/index.js +353 -0
- package/dist/runtime.d.ts +238 -0
- package/dist/runtime.js +534 -0
- package/package.json +42 -4
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import * as runtime from '../runtime.js';
|
|
15
|
+
import { GetPublicCompositionEmbed200ResponseFromJSON, GetPublicWorkflow200ResponseFromJSON, PostPublicCompositionEmbedStatus200ResponseFromJSON, PostPublicCompositionEmbedStatusRequestToJSON, PublicAdapterCallRequestToJSON, PublicAdapterCallResultFromJSON, PublicAdapterFileResultFromJSON, PublicCompositionEntryCreatedFromJSON, PublicCompositionEntryRequestToJSON, PublicWorkflowEventsRequestToJSON, ReportPublicWorkflowEvents200ResponseFromJSON, } from '../models/index.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export class PublicEmbedApi extends runtime.BaseAPI {
|
|
20
|
+
/**
|
|
21
|
+
* The door a widget\'s adapter module calls, from the visitor\'s browser, for the operations that cannot run in the browser: anything with a secret, a charge in credits or the owner\'s storage behind it. A widget that uses such an adapter is handed the address of this route as `adapters.url` in its `widgetic:host` message (see the host bridge contract) and calls `{adapters.url}/{adapterId}/{operation}`. It is not meant to be called by hand, and it takes no API key. **Address.** `https://api.widgetic.com/embed/compositions/{compositionId}/adapters/{adapterId}/{operation}`: the root of the API host, NOT under `/v1`. A client generated from this description for `https://api.widgetic.com/v1` must be given the base address `https://api.widgetic.com` for the calls of the `Public Embed` tag. **What it serves.** Only an adapter, and a version of it, that the widget\'s LIVE manifest (what the version that is published uses) lists, and only an operation that runs on the gateway. Anything else is one 404 `ADAPTER_NOT_AVAILABLE`, whatever the reason, so the route is no way to ask what a widget contains. An adapter an administrator stopped offering to NEW widgets keeps serving the widgets that already use it. **Who may call.** The same rule as the entry route: a permitted `Origin` header, which is the artifact origin the widget runs from or any website when the owner has not restricted the allowed websites (when the owner has, one of the websites the owner listed, Widgetic\'s own sites, the visitor\'s own machine or the owner\'s own platform). Page script cannot forge it. A request without a permitted `Origin` is 403 `ORIGIN_NOT_ALLOWED`. A composition that is not served (unpublished, or its owner\'s plan does not serve it) is 404, with the codes of the other public embed routes. When the partner of the owner signs the host context, a context that is not signed as the partner requires is refused with 403 `CONTEXT_SIGNATURE_REQUIRED`, `CONTEXT_SIGNATURE_INVALID` or `CONTEXT_SIGNATURE_EXPIRED`. **Cost and retries.** An operation priced in credits is charged to the owner of the widget (for a customer a partner manages, to the partner\'s administrator, within the monthly credits set for that customer), once for each `requestId`, before it runs, and given back if it does not answer. A `requestId` that was charged and not given back is 409 `REQUEST_ALREADY_USED` and the operation is NOT run a second time; one whose charge was given back may be tried again with the same `requestId`. A visitor never sees an owner\'s balance: a feature that cannot be used because its owner has no credits left, because the customer\'s monthly credits are spent, or because an administrator stopped the adapter, is the same 503 `ADAPTER_UNAVAILABLE` as every other \"not right now\". The owner is told through a notice. **Limits.** In front of everything, 120 calls a minute for each visitor address and composition and 600 a minute for a composition (429 `RATE_LIMITED`). Then, for each operation of a widget, a rate for each visitor address a minute and a cap for the widget a day: 30 and 5000 for an operation that is free, 10 and 500 for one that costs credits, unless the adapter says otherwise (never above 120 and 100000). A visitor over the rate is 429 `RATE_LIMITED`; a widget over its cap is 429 `WIDGET_LIMIT_REACHED`. Both carry a `Retry-After` header. The body is at most 64 KiB (413 `PAYLOAD_TOO_LARGE`) and JSON (415 `UNSUPPORTED_MEDIA_TYPE`); an operation has 30 seconds to answer (504 `ADAPTER_TIMEOUT`, and the charge is given back).
|
|
22
|
+
* Call a gateway operation of an adapter a published widget uses
|
|
23
|
+
*/
|
|
24
|
+
async callPublicCompositionAdapterRaw(requestParameters, initOverrides) {
|
|
25
|
+
if (requestParameters['compositionId'] == null) {
|
|
26
|
+
throw new runtime.RequiredError('compositionId', 'Required parameter "compositionId" was null or undefined when calling callPublicCompositionAdapter().');
|
|
27
|
+
}
|
|
28
|
+
if (requestParameters['adapterId'] == null) {
|
|
29
|
+
throw new runtime.RequiredError('adapterId', 'Required parameter "adapterId" was null or undefined when calling callPublicCompositionAdapter().');
|
|
30
|
+
}
|
|
31
|
+
if (requestParameters['operation'] == null) {
|
|
32
|
+
throw new runtime.RequiredError('operation', 'Required parameter "operation" was null or undefined when calling callPublicCompositionAdapter().');
|
|
33
|
+
}
|
|
34
|
+
if (requestParameters['publicAdapterCallRequest'] == null) {
|
|
35
|
+
throw new runtime.RequiredError('publicAdapterCallRequest', 'Required parameter "publicAdapterCallRequest" was null or undefined when calling callPublicCompositionAdapter().');
|
|
36
|
+
}
|
|
37
|
+
const queryParameters = {};
|
|
38
|
+
const headerParameters = {};
|
|
39
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
40
|
+
const response = await this.request({
|
|
41
|
+
path: `/embed/compositions/{compositionId}/adapters/{adapterId}/{operation}`.replace(`{${"compositionId"}}`, encodeURIComponent(String(requestParameters['compositionId']))).replace(`{${"adapterId"}}`, encodeURIComponent(String(requestParameters['adapterId']))).replace(`{${"operation"}}`, encodeURIComponent(String(requestParameters['operation']))),
|
|
42
|
+
method: 'POST',
|
|
43
|
+
headers: headerParameters,
|
|
44
|
+
query: queryParameters,
|
|
45
|
+
body: PublicAdapterCallRequestToJSON(requestParameters['publicAdapterCallRequest']),
|
|
46
|
+
}, initOverrides);
|
|
47
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PublicAdapterCallResultFromJSON(jsonValue));
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* The door a widget\'s adapter module calls, from the visitor\'s browser, for the operations that cannot run in the browser: anything with a secret, a charge in credits or the owner\'s storage behind it. A widget that uses such an adapter is handed the address of this route as `adapters.url` in its `widgetic:host` message (see the host bridge contract) and calls `{adapters.url}/{adapterId}/{operation}`. It is not meant to be called by hand, and it takes no API key. **Address.** `https://api.widgetic.com/embed/compositions/{compositionId}/adapters/{adapterId}/{operation}`: the root of the API host, NOT under `/v1`. A client generated from this description for `https://api.widgetic.com/v1` must be given the base address `https://api.widgetic.com` for the calls of the `Public Embed` tag. **What it serves.** Only an adapter, and a version of it, that the widget\'s LIVE manifest (what the version that is published uses) lists, and only an operation that runs on the gateway. Anything else is one 404 `ADAPTER_NOT_AVAILABLE`, whatever the reason, so the route is no way to ask what a widget contains. An adapter an administrator stopped offering to NEW widgets keeps serving the widgets that already use it. **Who may call.** The same rule as the entry route: a permitted `Origin` header, which is the artifact origin the widget runs from or any website when the owner has not restricted the allowed websites (when the owner has, one of the websites the owner listed, Widgetic\'s own sites, the visitor\'s own machine or the owner\'s own platform). Page script cannot forge it. A request without a permitted `Origin` is 403 `ORIGIN_NOT_ALLOWED`. A composition that is not served (unpublished, or its owner\'s plan does not serve it) is 404, with the codes of the other public embed routes. When the partner of the owner signs the host context, a context that is not signed as the partner requires is refused with 403 `CONTEXT_SIGNATURE_REQUIRED`, `CONTEXT_SIGNATURE_INVALID` or `CONTEXT_SIGNATURE_EXPIRED`. **Cost and retries.** An operation priced in credits is charged to the owner of the widget (for a customer a partner manages, to the partner\'s administrator, within the monthly credits set for that customer), once for each `requestId`, before it runs, and given back if it does not answer. A `requestId` that was charged and not given back is 409 `REQUEST_ALREADY_USED` and the operation is NOT run a second time; one whose charge was given back may be tried again with the same `requestId`. A visitor never sees an owner\'s balance: a feature that cannot be used because its owner has no credits left, because the customer\'s monthly credits are spent, or because an administrator stopped the adapter, is the same 503 `ADAPTER_UNAVAILABLE` as every other \"not right now\". The owner is told through a notice. **Limits.** In front of everything, 120 calls a minute for each visitor address and composition and 600 a minute for a composition (429 `RATE_LIMITED`). Then, for each operation of a widget, a rate for each visitor address a minute and a cap for the widget a day: 30 and 5000 for an operation that is free, 10 and 500 for one that costs credits, unless the adapter says otherwise (never above 120 and 100000). A visitor over the rate is 429 `RATE_LIMITED`; a widget over its cap is 429 `WIDGET_LIMIT_REACHED`. Both carry a `Retry-After` header. The body is at most 64 KiB (413 `PAYLOAD_TOO_LARGE`) and JSON (415 `UNSUPPORTED_MEDIA_TYPE`); an operation has 30 seconds to answer (504 `ADAPTER_TIMEOUT`, and the charge is given back).
|
|
51
|
+
* Call a gateway operation of an adapter a published widget uses
|
|
52
|
+
*/
|
|
53
|
+
async callPublicCompositionAdapter(requestParameters, initOverrides) {
|
|
54
|
+
const response = await this.callPublicCompositionAdapterRaw(requestParameters, initOverrides);
|
|
55
|
+
return await response.value();
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Public append-only write into a published composition database. No API key. The browser must send a permitted `Origin` header: the artifact iframe origin, or any website when the owner has not restricted the allowed websites (when the owner has, one of the websites the owner listed, Widgetic\'s own sites, the visitor\'s own machine or the owner\'s own platform). When the request comes from the shared artifact origin, it must also carry the per-composition write token (`X-Widgetic-Write-Token` header or `writeToken` body field, handed to the widget in `widgetic:host` as `entries.writeToken` and returned as `entryWriteToken` on `getPublicCompositionEmbed`). Host `context` is stored for partner attribution; it is not authenticated unless the partner signs it (see **Signed context**). Request bodies are limited to 16 KB before parsing. **Address.** `https://api.widgetic.com/embed/compositions/{compositionId}/entries/{table}`: the root of the API host, NOT under `/v1`. A client generated from this description for `https://api.widgetic.com/v1` must be given the base address `https://api.widgetic.com` for the calls of the `Public Embed` tag. **Signed context.** A partner that wants to trust `context` (to bill a customer by it, say) makes a signing secret (`rotatePartnerEntryContextSecret`), and its server signs the context it hands to the embed. The signature travels inside `context` as two reserved keys, `widgetic_exp` (UTC seconds, at most seven days ahead) and `widgetic_sig`. The gateway checks them after the `Origin` and before anything else is judged, stored or announced, and keeps and announces the context WITHOUT them. A context that is not signed as the partner requires is refused with 403 `CONTEXT_SIGNATURE_REQUIRED`, `CONTEXT_SIGNATURE_INVALID` or `CONTEXT_SIGNATURE_EXPIRED`; when the check cannot be made just now the answer is a retryable 503 `CONTEXT_SIGNATURE_UNAVAILABLE`, never an unchecked entry. Until a partner makes a secret nothing changes: the two keys are dropped and the rest is taken as it came. A signature is good until its `widgetic_exp` and may be used again until then, so a partner that must count each submission once keeps a unique value of its own (a `submissionId`, say) in the context. The recipe and a test vector are in the description of `rotatePartnerEntryContextSecret`.
|
|
59
|
+
* Append a visitor entry through the gateway
|
|
60
|
+
*/
|
|
61
|
+
async createPublicCompositionEntryRaw(requestParameters, initOverrides) {
|
|
62
|
+
if (requestParameters['compositionId'] == null) {
|
|
63
|
+
throw new runtime.RequiredError('compositionId', 'Required parameter "compositionId" was null or undefined when calling createPublicCompositionEntry().');
|
|
64
|
+
}
|
|
65
|
+
if (requestParameters['table'] == null) {
|
|
66
|
+
throw new runtime.RequiredError('table', 'Required parameter "table" was null or undefined when calling createPublicCompositionEntry().');
|
|
67
|
+
}
|
|
68
|
+
if (requestParameters['publicCompositionEntryRequest'] == null) {
|
|
69
|
+
throw new runtime.RequiredError('publicCompositionEntryRequest', 'Required parameter "publicCompositionEntryRequest" was null or undefined when calling createPublicCompositionEntry().');
|
|
70
|
+
}
|
|
71
|
+
const queryParameters = {};
|
|
72
|
+
const headerParameters = {};
|
|
73
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
74
|
+
if (requestParameters['xWidgeticWriteToken'] != null) {
|
|
75
|
+
headerParameters['X-Widgetic-Write-Token'] = String(requestParameters['xWidgeticWriteToken']);
|
|
76
|
+
}
|
|
77
|
+
if (requestParameters['xWidgeticVisitorId'] != null) {
|
|
78
|
+
headerParameters['X-Widgetic-Visitor-Id'] = String(requestParameters['xWidgeticVisitorId']);
|
|
79
|
+
}
|
|
80
|
+
const response = await this.request({
|
|
81
|
+
path: `/embed/compositions/{compositionId}/entries/{table}`.replace(`{${"compositionId"}}`, encodeURIComponent(String(requestParameters['compositionId']))).replace(`{${"table"}}`, encodeURIComponent(String(requestParameters['table']))),
|
|
82
|
+
method: 'POST',
|
|
83
|
+
headers: headerParameters,
|
|
84
|
+
query: queryParameters,
|
|
85
|
+
body: PublicCompositionEntryRequestToJSON(requestParameters['publicCompositionEntryRequest']),
|
|
86
|
+
}, initOverrides);
|
|
87
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PublicCompositionEntryCreatedFromJSON(jsonValue));
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Public append-only write into a published composition database. No API key. The browser must send a permitted `Origin` header: the artifact iframe origin, or any website when the owner has not restricted the allowed websites (when the owner has, one of the websites the owner listed, Widgetic\'s own sites, the visitor\'s own machine or the owner\'s own platform). When the request comes from the shared artifact origin, it must also carry the per-composition write token (`X-Widgetic-Write-Token` header or `writeToken` body field, handed to the widget in `widgetic:host` as `entries.writeToken` and returned as `entryWriteToken` on `getPublicCompositionEmbed`). Host `context` is stored for partner attribution; it is not authenticated unless the partner signs it (see **Signed context**). Request bodies are limited to 16 KB before parsing. **Address.** `https://api.widgetic.com/embed/compositions/{compositionId}/entries/{table}`: the root of the API host, NOT under `/v1`. A client generated from this description for `https://api.widgetic.com/v1` must be given the base address `https://api.widgetic.com` for the calls of the `Public Embed` tag. **Signed context.** A partner that wants to trust `context` (to bill a customer by it, say) makes a signing secret (`rotatePartnerEntryContextSecret`), and its server signs the context it hands to the embed. The signature travels inside `context` as two reserved keys, `widgetic_exp` (UTC seconds, at most seven days ahead) and `widgetic_sig`. The gateway checks them after the `Origin` and before anything else is judged, stored or announced, and keeps and announces the context WITHOUT them. A context that is not signed as the partner requires is refused with 403 `CONTEXT_SIGNATURE_REQUIRED`, `CONTEXT_SIGNATURE_INVALID` or `CONTEXT_SIGNATURE_EXPIRED`; when the check cannot be made just now the answer is a retryable 503 `CONTEXT_SIGNATURE_UNAVAILABLE`, never an unchecked entry. Until a partner makes a secret nothing changes: the two keys are dropped and the rest is taken as it came. A signature is good until its `widgetic_exp` and may be used again until then, so a partner that must count each submission once keeps a unique value of its own (a `submissionId`, say) in the context. The recipe and a test vector are in the description of `rotatePartnerEntryContextSecret`.
|
|
91
|
+
* Append a visitor entry through the gateway
|
|
92
|
+
*/
|
|
93
|
+
async createPublicCompositionEntry(requestParameters, initOverrides) {
|
|
94
|
+
const response = await this.createPublicCompositionEntryRaw(requestParameters, initOverrides);
|
|
95
|
+
return await response.value();
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Public customer embed lookup. No API key. Used by embed-sdk.js on third-party sites. If the composition\'s owner listed the websites it may appear on (the workspace\'s domain list, or the `allowedDomains` of a partner the owner administers), a request from any other website is refused with 403 `DOMAIN_NOT_ALLOWED`. The website is read from the `Origin` header, or the host of `Referer` when there is no `Origin`; a request that names neither (a server, a tool) is not refused. An owner who listed nothing is 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 widgets of that partner: a partner\'s list never has to name it. The list stops other websites from showing the embed in a visitor\'s browser; it does not hide the published content from someone who holds the composition ID. **Address.** `https://api.widgetic.com/embed/compositions/{compositionId}`: the root of the API host, NOT under `/v1`. A client generated from this description for `https://api.widgetic.com/v1` must be given the base address `https://api.widgetic.com` for the calls of the `Public Embed` tag. **Limit.** 500 calls for each visitor address and browser in one counting window, shared with the frame and the status routes. Over it the answer is 429 `RATE_LIMITED` with a `Retry-After` header.
|
|
99
|
+
* Resolve a composition UUID to a published widget URL
|
|
100
|
+
*/
|
|
101
|
+
async getPublicCompositionEmbedRaw(requestParameters, initOverrides) {
|
|
102
|
+
if (requestParameters['compositionId'] == null) {
|
|
103
|
+
throw new runtime.RequiredError('compositionId', 'Required parameter "compositionId" was null or undefined when calling getPublicCompositionEmbed().');
|
|
104
|
+
}
|
|
105
|
+
const queryParameters = {};
|
|
106
|
+
const headerParameters = {};
|
|
107
|
+
const response = await this.request({
|
|
108
|
+
path: `/embed/compositions/{compositionId}`.replace(`{${"compositionId"}}`, encodeURIComponent(String(requestParameters['compositionId']))),
|
|
109
|
+
method: 'GET',
|
|
110
|
+
headers: headerParameters,
|
|
111
|
+
query: queryParameters,
|
|
112
|
+
}, initOverrides);
|
|
113
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GetPublicCompositionEmbed200ResponseFromJSON(jsonValue));
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* Public customer embed lookup. No API key. Used by embed-sdk.js on third-party sites. If the composition\'s owner listed the websites it may appear on (the workspace\'s domain list, or the `allowedDomains` of a partner the owner administers), a request from any other website is refused with 403 `DOMAIN_NOT_ALLOWED`. The website is read from the `Origin` header, or the host of `Referer` when there is no `Origin`; a request that names neither (a server, a tool) is not refused. An owner who listed nothing is 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 widgets of that partner: a partner\'s list never has to name it. The list stops other websites from showing the embed in a visitor\'s browser; it does not hide the published content from someone who holds the composition ID. **Address.** `https://api.widgetic.com/embed/compositions/{compositionId}`: the root of the API host, NOT under `/v1`. A client generated from this description for `https://api.widgetic.com/v1` must be given the base address `https://api.widgetic.com` for the calls of the `Public Embed` tag. **Limit.** 500 calls for each visitor address and browser in one counting window, shared with the frame and the status routes. Over it the answer is 429 `RATE_LIMITED` with a `Retry-After` header.
|
|
117
|
+
* Resolve a composition UUID to a published widget URL
|
|
118
|
+
*/
|
|
119
|
+
async getPublicCompositionEmbed(requestParameters, initOverrides) {
|
|
120
|
+
const response = await this.getPublicCompositionEmbedRaw(requestParameters, initOverrides);
|
|
121
|
+
return await response.value();
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Public HTML wrapper with an inner published artifact iframe. No API key or SDK required. If the composition\'s owner listed the websites it may appear on, the page is sent with `Content-Security-Policy: frame-ancestors` naming those websites (and Widgetic\'s own, and the website where the partner the owner administers integrates Widgetic, with its subdomains), so a browser refuses to show it inside any other website whatever `Referer` policy that website uses. Opening the address directly still works. An owner who listed nothing is not restricted. **Address.** `https://api.widgetic.com/embed/compositions/{compositionId}/frame`: the root of the API host, NOT under `/v1`. A client generated from this description for `https://api.widgetic.com/v1` must be given the base address `https://api.widgetic.com` for the calls of the `Public Embed` tag.
|
|
125
|
+
* Embed a published composition with its saved values
|
|
126
|
+
*/
|
|
127
|
+
async getPublicCompositionIframeRaw(requestParameters, initOverrides) {
|
|
128
|
+
if (requestParameters['compositionId'] == null) {
|
|
129
|
+
throw new runtime.RequiredError('compositionId', 'Required parameter "compositionId" was null or undefined when calling getPublicCompositionIframe().');
|
|
130
|
+
}
|
|
131
|
+
const queryParameters = {};
|
|
132
|
+
const headerParameters = {};
|
|
133
|
+
const response = await this.request({
|
|
134
|
+
path: `/embed/compositions/{compositionId}/frame`.replace(`{${"compositionId"}}`, encodeURIComponent(String(requestParameters['compositionId']))),
|
|
135
|
+
method: 'GET',
|
|
136
|
+
headers: headerParameters,
|
|
137
|
+
query: queryParameters,
|
|
138
|
+
}, initOverrides);
|
|
139
|
+
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
140
|
+
return new runtime.JSONApiResponse(response);
|
|
141
|
+
}
|
|
142
|
+
else {
|
|
143
|
+
return new runtime.TextApiResponse(response);
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Public HTML wrapper with an inner published artifact iframe. No API key or SDK required. If the composition\'s owner listed the websites it may appear on, the page is sent with `Content-Security-Policy: frame-ancestors` naming those websites (and Widgetic\'s own, and the website where the partner the owner administers integrates Widgetic, with its subdomains), so a browser refuses to show it inside any other website whatever `Referer` policy that website uses. Opening the address directly still works. An owner who listed nothing is not restricted. **Address.** `https://api.widgetic.com/embed/compositions/{compositionId}/frame`: the root of the API host, NOT under `/v1`. A client generated from this description for `https://api.widgetic.com/v1` must be given the base address `https://api.widgetic.com` for the calls of the `Public Embed` tag.
|
|
148
|
+
* Embed a published composition with its saved values
|
|
149
|
+
*/
|
|
150
|
+
async getPublicCompositionIframe(requestParameters, initOverrides) {
|
|
151
|
+
const response = await this.getPublicCompositionIframeRaw(requestParameters, initOverrides);
|
|
152
|
+
return await response.value();
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* A page that runs a published workflow, for a place that can only be given an address or an iframe: a chat messenger, a link page, a site builder, a blog that follows oEmbed. No API key, no SDK to add. The page holds the Embed SDK and the same tag a website carries (`<widgetic workflow-id composition-id>`), so a visitor moves from one composition to the next in place, by the same rules, exactly as on a website. A paused workflow shows its first composition alone, as its embeds do. **What the frame can count.** Only what happens inside it: entries, a widget\'s goals and actions, and waits. The page events a website can send to a workflow (`widgetic:workflow-event`) are events of the page around the embed, and they do not cross an iframe, so a connection that waits for one never fires from a frame. A workflow that is a draft, is archived, or does not exist, and one whose owner is not being served, answers 404 with a short page that gives no reason. If the owner of the workflow\'s first composition listed the websites it may appear on, the page is sent with `Content-Security-Policy: frame-ancestors` naming those websites (and Widgetic\'s own), so a browser refuses to show it inside any other website. Opening the address directly still works. An owner who listed nothing is not restricted. The page links its oEmbed card, so a site that follows oEmbed turns the address of the frame into an embed. **Address.** `https://api.widgetic.com/embed/workflows/{workflowId}/frame`: the root of the API host, NOT under `/v1`. A client generated from this description for `https://api.widgetic.com/v1` must be given the base address `https://api.widgetic.com` for the calls of the `Public Embed` tag.
|
|
156
|
+
* Show a published Workflow in a page of its own
|
|
157
|
+
*/
|
|
158
|
+
async getPublicWorkflowFrameRaw(requestParameters, initOverrides) {
|
|
159
|
+
if (requestParameters['workflowId'] == null) {
|
|
160
|
+
throw new runtime.RequiredError('workflowId', 'Required parameter "workflowId" was null or undefined when calling getPublicWorkflowFrame().');
|
|
161
|
+
}
|
|
162
|
+
const queryParameters = {};
|
|
163
|
+
const headerParameters = {};
|
|
164
|
+
const response = await this.request({
|
|
165
|
+
path: `/embed/workflows/{workflowId}/frame`.replace(`{${"workflowId"}}`, encodeURIComponent(String(requestParameters['workflowId']))),
|
|
166
|
+
method: 'GET',
|
|
167
|
+
headers: headerParameters,
|
|
168
|
+
query: queryParameters,
|
|
169
|
+
}, initOverrides);
|
|
170
|
+
if (this.isJsonMime(response.headers.get('content-type'))) {
|
|
171
|
+
return new runtime.JSONApiResponse(response);
|
|
172
|
+
}
|
|
173
|
+
else {
|
|
174
|
+
return new runtime.TextApiResponse(response);
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* A page that runs a published workflow, for a place that can only be given an address or an iframe: a chat messenger, a link page, a site builder, a blog that follows oEmbed. No API key, no SDK to add. The page holds the Embed SDK and the same tag a website carries (`<widgetic workflow-id composition-id>`), so a visitor moves from one composition to the next in place, by the same rules, exactly as on a website. A paused workflow shows its first composition alone, as its embeds do. **What the frame can count.** Only what happens inside it: entries, a widget\'s goals and actions, and waits. The page events a website can send to a workflow (`widgetic:workflow-event`) are events of the page around the embed, and they do not cross an iframe, so a connection that waits for one never fires from a frame. A workflow that is a draft, is archived, or does not exist, and one whose owner is not being served, answers 404 with a short page that gives no reason. If the owner of the workflow\'s first composition listed the websites it may appear on, the page is sent with `Content-Security-Policy: frame-ancestors` naming those websites (and Widgetic\'s own), so a browser refuses to show it inside any other website. Opening the address directly still works. An owner who listed nothing is not restricted. The page links its oEmbed card, so a site that follows oEmbed turns the address of the frame into an embed. **Address.** `https://api.widgetic.com/embed/workflows/{workflowId}/frame`: the root of the API host, NOT under `/v1`. A client generated from this description for `https://api.widgetic.com/v1` must be given the base address `https://api.widgetic.com` for the calls of the `Public Embed` tag.
|
|
179
|
+
* Show a published Workflow in a page of its own
|
|
180
|
+
*/
|
|
181
|
+
async getPublicWorkflowFrame(requestParameters, initOverrides) {
|
|
182
|
+
const response = await this.getPublicWorkflowFrameRaw(requestParameters, initOverrides);
|
|
183
|
+
return await response.value();
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* Public read of one version of a workflow, for a visitor who started on it before a newer one was published: they finish on the version they started on (for up to 30 days; after that they get the latest). The graph of a version never changes once published; the languages its compositions can be shown in (`translations`) are read each time, as for the live version. Like the read of the live version, it answers `status: paused` with nothing else while the workflow is paused, and 404 when the workflow is a draft or archived, or has no such version. **Address.** `https://api.widgetic.com/embed/workflows/{workflowId}/versions/{versionId}`: the root of the API host, NOT under `/v1`. A client generated from this description for `https://api.widgetic.com/v1` must be given the base address `https://api.widgetic.com` for the calls of the `Public Embed` tag.
|
|
187
|
+
* Read one published version of a Workflow
|
|
188
|
+
*/
|
|
189
|
+
async getPublicWorkflowVersionRaw(requestParameters, initOverrides) {
|
|
190
|
+
if (requestParameters['workflowId'] == null) {
|
|
191
|
+
throw new runtime.RequiredError('workflowId', 'Required parameter "workflowId" was null or undefined when calling getPublicWorkflowVersion().');
|
|
192
|
+
}
|
|
193
|
+
if (requestParameters['versionId'] == null) {
|
|
194
|
+
throw new runtime.RequiredError('versionId', 'Required parameter "versionId" was null or undefined when calling getPublicWorkflowVersion().');
|
|
195
|
+
}
|
|
196
|
+
const queryParameters = {};
|
|
197
|
+
const headerParameters = {};
|
|
198
|
+
const response = await this.request({
|
|
199
|
+
path: `/embed/workflows/{workflowId}/versions/{versionId}`.replace(`{${"workflowId"}}`, encodeURIComponent(String(requestParameters['workflowId']))).replace(`{${"versionId"}}`, encodeURIComponent(String(requestParameters['versionId']))),
|
|
200
|
+
method: 'GET',
|
|
201
|
+
headers: headerParameters,
|
|
202
|
+
query: queryParameters,
|
|
203
|
+
}, initOverrides);
|
|
204
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GetPublicWorkflow200ResponseFromJSON(jsonValue));
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* Public read of one version of a workflow, for a visitor who started on it before a newer one was published: they finish on the version they started on (for up to 30 days; after that they get the latest). The graph of a version never changes once published; the languages its compositions can be shown in (`translations`) are read each time, as for the live version. Like the read of the live version, it answers `status: paused` with nothing else while the workflow is paused, and 404 when the workflow is a draft or archived, or has no such version. **Address.** `https://api.widgetic.com/embed/workflows/{workflowId}/versions/{versionId}`: the root of the API host, NOT under `/v1`. A client generated from this description for `https://api.widgetic.com/v1` must be given the base address `https://api.widgetic.com` for the calls of the `Public Embed` tag.
|
|
208
|
+
* Read one published version of a Workflow
|
|
209
|
+
*/
|
|
210
|
+
async getPublicWorkflowVersion(requestParameters, initOverrides) {
|
|
211
|
+
const response = await this.getPublicWorkflowVersionRaw(requestParameters, initOverrides);
|
|
212
|
+
return await response.value();
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Public read of a workflow for the embed that carries `workflow-id`. No API key. The answer is the live version (its graph, the composition a new visitor starts on, the time zone, the languages its compositions can be shown in, and the token that lets the browser report counts), or `status: paused` with nothing else, in which case the embed shows only its first composition. A workflow that is a draft, archived or unknown answers 404, and the embed then behaves as a plain embed of its `composition-id`. So does a workflow whose owner is not being served (a plan that lapsed, a partner whose agreement is not in force): the answer is the one the compositions of that owner give. **Address.** `https://api.widgetic.com/embed/workflows/{workflowId}`: the root of the API host, NOT under `/v1`. A client generated from this description for `https://api.widgetic.com/v1` must be given the base address `https://api.widgetic.com` for the calls of the `Public Embed` tag. The answer may be reused for a few seconds (`Cache-Control: public, max-age=15`), so a publish or a pause reaches visitors within moments. The graph is readable by anyone who has the workflow\'s id: its rules run in the visitor\'s browser, so a rule must never hold a secret.
|
|
216
|
+
* Read the published Workflow of an embed
|
|
217
|
+
*/
|
|
218
|
+
async getPublicWorkflowRaw(requestParameters, initOverrides) {
|
|
219
|
+
if (requestParameters['workflowId'] == null) {
|
|
220
|
+
throw new runtime.RequiredError('workflowId', 'Required parameter "workflowId" was null or undefined when calling getPublicWorkflow().');
|
|
221
|
+
}
|
|
222
|
+
const queryParameters = {};
|
|
223
|
+
const headerParameters = {};
|
|
224
|
+
const response = await this.request({
|
|
225
|
+
path: `/embed/workflows/{workflowId}`.replace(`{${"workflowId"}}`, encodeURIComponent(String(requestParameters['workflowId']))),
|
|
226
|
+
method: 'GET',
|
|
227
|
+
headers: headerParameters,
|
|
228
|
+
query: queryParameters,
|
|
229
|
+
}, initOverrides);
|
|
230
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GetPublicWorkflow200ResponseFromJSON(jsonValue));
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* Public read of a workflow for the embed that carries `workflow-id`. No API key. The answer is the live version (its graph, the composition a new visitor starts on, the time zone, the languages its compositions can be shown in, and the token that lets the browser report counts), or `status: paused` with nothing else, in which case the embed shows only its first composition. A workflow that is a draft, archived or unknown answers 404, and the embed then behaves as a plain embed of its `composition-id`. So does a workflow whose owner is not being served (a plan that lapsed, a partner whose agreement is not in force): the answer is the one the compositions of that owner give. **Address.** `https://api.widgetic.com/embed/workflows/{workflowId}`: the root of the API host, NOT under `/v1`. A client generated from this description for `https://api.widgetic.com/v1` must be given the base address `https://api.widgetic.com` for the calls of the `Public Embed` tag. The answer may be reused for a few seconds (`Cache-Control: public, max-age=15`), so a publish or a pause reaches visitors within moments. The graph is readable by anyone who has the workflow\'s id: its rules run in the visitor\'s browser, so a rule must never hold a secret.
|
|
234
|
+
* Read the published Workflow of an embed
|
|
235
|
+
*/
|
|
236
|
+
async getPublicWorkflow(requestParameters, initOverrides) {
|
|
237
|
+
const response = await this.getPublicWorkflowRaw(requestParameters, initOverrides);
|
|
238
|
+
return await response.value();
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* Public batch health check for embed-sdk.js. No API key. Uses the same serving gate and domain policy as `GET /embed/compositions/{compositionId}`: the caller\'s website is read from `Origin`, or the host of `Referer` when there is no `Origin`. A request that names neither (a server or tool) is not refused for domain reasons. **Address.** `https://api.widgetic.com/embed/compositions/status`: the root of the API host, NOT under `/v1`. A client generated from this description for `https://api.widgetic.com/v1` must be given the base address `https://api.widgetic.com` for the calls of the `Public Embed` tag. **Limit.** The route counts against the same limit as the lookup and the frame routes: 500 calls for each visitor address and browser in one counting window. A call is ONE hit whatever the number of `ids` it carries (up to 100), so a server that checks many compositions spends one call for each hundred of them. A visitor who is over the limit gets 429 `RATE_LIMITED` for the WHOLE call, with a `Retry-After` header and no state for any id: there is no per-composition rate-limit state in the answer.
|
|
242
|
+
* Batch-check whether compositions are currently served for embed
|
|
243
|
+
*/
|
|
244
|
+
async postPublicCompositionEmbedStatusRaw(requestParameters, initOverrides) {
|
|
245
|
+
if (requestParameters['postPublicCompositionEmbedStatusRequest'] == null) {
|
|
246
|
+
throw new runtime.RequiredError('postPublicCompositionEmbedStatusRequest', 'Required parameter "postPublicCompositionEmbedStatusRequest" was null or undefined when calling postPublicCompositionEmbedStatus().');
|
|
247
|
+
}
|
|
248
|
+
const queryParameters = {};
|
|
249
|
+
const headerParameters = {};
|
|
250
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
251
|
+
const response = await this.request({
|
|
252
|
+
path: `/embed/compositions/status`,
|
|
253
|
+
method: 'POST',
|
|
254
|
+
headers: headerParameters,
|
|
255
|
+
query: queryParameters,
|
|
256
|
+
body: PostPublicCompositionEmbedStatusRequestToJSON(requestParameters['postPublicCompositionEmbedStatusRequest']),
|
|
257
|
+
}, initOverrides);
|
|
258
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PostPublicCompositionEmbedStatus200ResponseFromJSON(jsonValue));
|
|
259
|
+
}
|
|
260
|
+
/**
|
|
261
|
+
* Public batch health check for embed-sdk.js. No API key. Uses the same serving gate and domain policy as `GET /embed/compositions/{compositionId}`: the caller\'s website is read from `Origin`, or the host of `Referer` when there is no `Origin`. A request that names neither (a server or tool) is not refused for domain reasons. **Address.** `https://api.widgetic.com/embed/compositions/status`: the root of the API host, NOT under `/v1`. A client generated from this description for `https://api.widgetic.com/v1` must be given the base address `https://api.widgetic.com` for the calls of the `Public Embed` tag. **Limit.** The route counts against the same limit as the lookup and the frame routes: 500 calls for each visitor address and browser in one counting window. A call is ONE hit whatever the number of `ids` it carries (up to 100), so a server that checks many compositions spends one call for each hundred of them. A visitor who is over the limit gets 429 `RATE_LIMITED` for the WHOLE call, with a `Retry-After` header and no state for any id: there is no per-composition rate-limit state in the answer.
|
|
262
|
+
* Batch-check whether compositions are currently served for embed
|
|
263
|
+
*/
|
|
264
|
+
async postPublicCompositionEmbedStatus(requestParameters, initOverrides) {
|
|
265
|
+
const response = await this.postPublicCompositionEmbedStatusRaw(requestParameters, initOverrides);
|
|
266
|
+
return await response.value();
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* Public report of counts for a workflow, sent by the embed. No API key. Each event is one id and a number: a visitor reached a block (`n`), took a connection (`e`), or could not be moved on (`f`). Nothing else is kept: no visitor, no value a visitor typed, no address. A batch carries at most 100 events and 16 KB. The same report may carry `heights`: how tall a step settled at in the browser, which the embed code of the workflow uses to start its box at a real height (a composition, a whole number of pixels, nothing about the visitor). A report is accepted only with the `token` the workflow\'s own read handed out for that `versionId`, so a page that never read the workflow cannot raise its numbers. An expired token (`EVENT_TOKEN_EXPIRED`) is refused with 401: read the workflow again for a new one. Counts for ids that are not in that version, or for a workflow that is not live, are not recorded and the answer says so (`recorded: false`) with 200: the visitor\'s page has nothing to fix. The body is JSON, sent as `application/json` or as `text/plain` (a \"simple\" cross-origin request, which is what lets a report leave a page that is being closed). **Address.** `https://api.widgetic.com/embed/workflows/{workflowId}/events`: the root of the API host, NOT under `/v1`. A client generated from this description for `https://api.widgetic.com/v1` must be given the base address `https://api.widgetic.com` for the calls of the `Public Embed` tag.
|
|
270
|
+
* Report what visitors did in a Workflow, as counts
|
|
271
|
+
*/
|
|
272
|
+
async reportPublicWorkflowEventsRaw(requestParameters, initOverrides) {
|
|
273
|
+
if (requestParameters['workflowId'] == null) {
|
|
274
|
+
throw new runtime.RequiredError('workflowId', 'Required parameter "workflowId" was null or undefined when calling reportPublicWorkflowEvents().');
|
|
275
|
+
}
|
|
276
|
+
if (requestParameters['publicWorkflowEventsRequest'] == null) {
|
|
277
|
+
throw new runtime.RequiredError('publicWorkflowEventsRequest', 'Required parameter "publicWorkflowEventsRequest" was null or undefined when calling reportPublicWorkflowEvents().');
|
|
278
|
+
}
|
|
279
|
+
const queryParameters = {};
|
|
280
|
+
const headerParameters = {};
|
|
281
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
282
|
+
const response = await this.request({
|
|
283
|
+
path: `/embed/workflows/{workflowId}/events`.replace(`{${"workflowId"}}`, encodeURIComponent(String(requestParameters['workflowId']))),
|
|
284
|
+
method: 'POST',
|
|
285
|
+
headers: headerParameters,
|
|
286
|
+
query: queryParameters,
|
|
287
|
+
body: PublicWorkflowEventsRequestToJSON(requestParameters['publicWorkflowEventsRequest']),
|
|
288
|
+
}, initOverrides);
|
|
289
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ReportPublicWorkflowEvents200ResponseFromJSON(jsonValue));
|
|
290
|
+
}
|
|
291
|
+
/**
|
|
292
|
+
* Public report of counts for a workflow, sent by the embed. No API key. Each event is one id and a number: a visitor reached a block (`n`), took a connection (`e`), or could not be moved on (`f`). Nothing else is kept: no visitor, no value a visitor typed, no address. A batch carries at most 100 events and 16 KB. The same report may carry `heights`: how tall a step settled at in the browser, which the embed code of the workflow uses to start its box at a real height (a composition, a whole number of pixels, nothing about the visitor). A report is accepted only with the `token` the workflow\'s own read handed out for that `versionId`, so a page that never read the workflow cannot raise its numbers. An expired token (`EVENT_TOKEN_EXPIRED`) is refused with 401: read the workflow again for a new one. Counts for ids that are not in that version, or for a workflow that is not live, are not recorded and the answer says so (`recorded: false`) with 200: the visitor\'s page has nothing to fix. The body is JSON, sent as `application/json` or as `text/plain` (a \"simple\" cross-origin request, which is what lets a report leave a page that is being closed). **Address.** `https://api.widgetic.com/embed/workflows/{workflowId}/events`: the root of the API host, NOT under `/v1`. A client generated from this description for `https://api.widgetic.com/v1` must be given the base address `https://api.widgetic.com` for the calls of the `Public Embed` tag.
|
|
293
|
+
* Report what visitors did in a Workflow, as counts
|
|
294
|
+
*/
|
|
295
|
+
async reportPublicWorkflowEvents(requestParameters, initOverrides) {
|
|
296
|
+
const response = await this.reportPublicWorkflowEventsRaw(requestParameters, initOverrides);
|
|
297
|
+
return await response.value();
|
|
298
|
+
}
|
|
299
|
+
/**
|
|
300
|
+
* The second of the two calls the `upload` adapter\'s module makes from the visitor\'s browser (the first, the `begin-upload` operation of `callPublicCompositionAdapter`, answers with the ticket this route takes). The module sends the file itself, as the body, with its media type as the `Content-Type`. It is not meant to be called by hand, and it takes no API key. **Address.** `https://api.widgetic.com/embed/compositions/{compositionId}/adapters/upload/files/{ticket}`: the root of the API host, NOT under `/v1`. A client generated from this description for `https://api.widgetic.com/v1` must be given the base address `https://api.widgetic.com` for the calls of the `Public Embed` tag. **The ticket.** Single-use and valid for ten minutes, given for one file: its name, its media type and its exact size are what the visitor said when the ticket was asked for, after the widget\'s owner\'s settings (the kinds of file they take, the largest size) were applied. The `Content-Type` and the `Content-Length` of this request must be those, and the body must be exactly that many bytes (400 `UPLOAD_FILE_CHANGED` otherwise). The gateway never believes the type it was told: the first bytes of the file must be a file of that type and one the owner accepts (422 otherwise). A ticket whose file was stored and is sent again is answered with the same file, so a visitor whose connection dropped after the file landed does not store it twice; a ticket whose attempt failed is spent, and the module asks for a new one. **The virus check.** Before anything is stored, the file is checked for viruses, wherever it would be kept (Widgetic\'s storage or a partner\'s own bucket). A file that fails the check is refused with 422 `UPLOAD_FILE_UNSAFE` and nothing is stored. When the check cannot be done, nothing is stored either, and the answer is the same neutral 503 `UPLOAD_UNAVAILABLE` as for any other cause the visitor is not told. The ticket of a refused file is spent. **What it stores.** The file goes to the widget owner\'s storage: Widgetic\'s, or the partner\'s own bucket for a widget of a customer a partner manages. It counts against the owner\'s storage allowance and is filed in the folder the owner chose, as a file sent by a visitor, which the owner\'s own file list leaves out. A full allowance, a partner\'s storage that cannot be used and a stopped feature are all the same 503 `UPLOAD_UNAVAILABLE` to a visitor, and the owner is told through a notice. **Who may call.** The same rule as the entry route: a permitted `Origin` header, which is the artifact origin the widget runs from or any website when the owner has not restricted the allowed websites (when the owner has, one of the websites the owner listed, Widgetic\'s own sites, the visitor\'s own machine or the owner\'s own platform). A request without a permitted `Origin` is 403 `ORIGIN_NOT_ALLOWED`. A composition that is not served (unpublished, or its owner\'s plan does not serve it) is 404, with the codes of the other public embed routes. **Limits.** 30 requests a minute for each visitor address and composition and 240 a minute for a composition (429 `RATE_LIMITED`, with a `Retry-After` header); at most 10 MB for a file, and only so many files held in memory at once on each gateway process (503 `UPLOAD_BUSY`, with a `Retry-After`). A file that does not arrive within two minutes is 408 `UPLOAD_TIMEOUT`. Every answer but a success closes the connection, so a client that is refused before it has sent the file reads the answer and stops.
|
|
301
|
+
* Send the file a visitor chose through the upload adapter of a published widget
|
|
302
|
+
*/
|
|
303
|
+
async uploadPublicCompositionAdapterFileRaw(requestParameters, initOverrides) {
|
|
304
|
+
if (requestParameters['compositionId'] == null) {
|
|
305
|
+
throw new runtime.RequiredError('compositionId', 'Required parameter "compositionId" was null or undefined when calling uploadPublicCompositionAdapterFile().');
|
|
306
|
+
}
|
|
307
|
+
if (requestParameters['ticket'] == null) {
|
|
308
|
+
throw new runtime.RequiredError('ticket', 'Required parameter "ticket" was null or undefined when calling uploadPublicCompositionAdapterFile().');
|
|
309
|
+
}
|
|
310
|
+
if (requestParameters['body'] == null) {
|
|
311
|
+
throw new runtime.RequiredError('body', 'Required parameter "body" was null or undefined when calling uploadPublicCompositionAdapterFile().');
|
|
312
|
+
}
|
|
313
|
+
const queryParameters = {};
|
|
314
|
+
const headerParameters = {};
|
|
315
|
+
headerParameters['Content-Type'] = 'application/pdf';
|
|
316
|
+
const response = await this.request({
|
|
317
|
+
path: `/embed/compositions/{compositionId}/adapters/upload/files/{ticket}`.replace(`{${"compositionId"}}`, encodeURIComponent(String(requestParameters['compositionId']))).replace(`{${"ticket"}}`, encodeURIComponent(String(requestParameters['ticket']))),
|
|
318
|
+
method: 'PUT',
|
|
319
|
+
headers: headerParameters,
|
|
320
|
+
query: queryParameters,
|
|
321
|
+
body: requestParameters['body'],
|
|
322
|
+
}, initOverrides);
|
|
323
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PublicAdapterFileResultFromJSON(jsonValue));
|
|
324
|
+
}
|
|
325
|
+
/**
|
|
326
|
+
* The second of the two calls the `upload` adapter\'s module makes from the visitor\'s browser (the first, the `begin-upload` operation of `callPublicCompositionAdapter`, answers with the ticket this route takes). The module sends the file itself, as the body, with its media type as the `Content-Type`. It is not meant to be called by hand, and it takes no API key. **Address.** `https://api.widgetic.com/embed/compositions/{compositionId}/adapters/upload/files/{ticket}`: the root of the API host, NOT under `/v1`. A client generated from this description for `https://api.widgetic.com/v1` must be given the base address `https://api.widgetic.com` for the calls of the `Public Embed` tag. **The ticket.** Single-use and valid for ten minutes, given for one file: its name, its media type and its exact size are what the visitor said when the ticket was asked for, after the widget\'s owner\'s settings (the kinds of file they take, the largest size) were applied. The `Content-Type` and the `Content-Length` of this request must be those, and the body must be exactly that many bytes (400 `UPLOAD_FILE_CHANGED` otherwise). The gateway never believes the type it was told: the first bytes of the file must be a file of that type and one the owner accepts (422 otherwise). A ticket whose file was stored and is sent again is answered with the same file, so a visitor whose connection dropped after the file landed does not store it twice; a ticket whose attempt failed is spent, and the module asks for a new one. **The virus check.** Before anything is stored, the file is checked for viruses, wherever it would be kept (Widgetic\'s storage or a partner\'s own bucket). A file that fails the check is refused with 422 `UPLOAD_FILE_UNSAFE` and nothing is stored. When the check cannot be done, nothing is stored either, and the answer is the same neutral 503 `UPLOAD_UNAVAILABLE` as for any other cause the visitor is not told. The ticket of a refused file is spent. **What it stores.** The file goes to the widget owner\'s storage: Widgetic\'s, or the partner\'s own bucket for a widget of a customer a partner manages. It counts against the owner\'s storage allowance and is filed in the folder the owner chose, as a file sent by a visitor, which the owner\'s own file list leaves out. A full allowance, a partner\'s storage that cannot be used and a stopped feature are all the same 503 `UPLOAD_UNAVAILABLE` to a visitor, and the owner is told through a notice. **Who may call.** The same rule as the entry route: a permitted `Origin` header, which is the artifact origin the widget runs from or any website when the owner has not restricted the allowed websites (when the owner has, one of the websites the owner listed, Widgetic\'s own sites, the visitor\'s own machine or the owner\'s own platform). A request without a permitted `Origin` is 403 `ORIGIN_NOT_ALLOWED`. A composition that is not served (unpublished, or its owner\'s plan does not serve it) is 404, with the codes of the other public embed routes. **Limits.** 30 requests a minute for each visitor address and composition and 240 a minute for a composition (429 `RATE_LIMITED`, with a `Retry-After` header); at most 10 MB for a file, and only so many files held in memory at once on each gateway process (503 `UPLOAD_BUSY`, with a `Retry-After`). A file that does not arrive within two minutes is 408 `UPLOAD_TIMEOUT`. Every answer but a success closes the connection, so a client that is refused before it has sent the file reads the answer and stops.
|
|
327
|
+
* Send the file a visitor chose through the upload adapter of a published widget
|
|
328
|
+
*/
|
|
329
|
+
async uploadPublicCompositionAdapterFile(requestParameters, initOverrides) {
|
|
330
|
+
const response = await this.uploadPublicCompositionAdapterFileRaw(requestParameters, initOverrides);
|
|
331
|
+
return await response.value();
|
|
332
|
+
}
|
|
333
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import * as runtime from '../runtime.js';
|
|
15
|
+
import { ValidateToken200ResponseFromJSON, } from '../models/index.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
*/
|
|
19
|
+
export class TokensApi extends runtime.BaseAPI {
|
|
20
|
+
/**
|
|
21
|
+
* Validate current authentication token
|
|
22
|
+
*/
|
|
23
|
+
async validateTokenRaw(initOverrides) {
|
|
24
|
+
const queryParameters = {};
|
|
25
|
+
const headerParameters = {};
|
|
26
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
27
|
+
headerParameters["Authorization"] = await this.configuration.apiKey("Authorization"); // ApiKeyAuth authentication
|
|
28
|
+
}
|
|
29
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
30
|
+
const token = this.configuration.accessToken;
|
|
31
|
+
const tokenString = await token("BearerAuth", []);
|
|
32
|
+
if (tokenString) {
|
|
33
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
const response = await this.request({
|
|
37
|
+
path: `/tokens/validate`,
|
|
38
|
+
method: 'GET',
|
|
39
|
+
headers: headerParameters,
|
|
40
|
+
query: queryParameters,
|
|
41
|
+
}, initOverrides);
|
|
42
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => ValidateToken200ResponseFromJSON(jsonValue));
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Validate current authentication token
|
|
46
|
+
*/
|
|
47
|
+
async validateToken(initOverrides) {
|
|
48
|
+
const response = await this.validateTokenRaw(initOverrides);
|
|
49
|
+
return await response.value();
|
|
50
|
+
}
|
|
51
|
+
}
|