@widgetic/api-sdk 1.0.27 → 1.0.29
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/dist/apis/ABTestingApi.d.ts +13 -0
- package/dist/apis/ABTestingApi.js +39 -0
- package/dist/apis/AdminApi.d.ts +74 -4
- package/dist/apis/AdminApi.js +203 -9
- package/dist/apis/AdminBillingApi.d.ts +14 -3
- package/dist/apis/AdminBillingApi.js +35 -5
- package/dist/apis/AgentApi.d.ts +6 -2
- package/dist/apis/AgentApi.js +14 -2
- package/dist/apis/AuthenticationApi.d.ts +8 -0
- package/dist/apis/AuthenticationApi.js +24 -0
- package/dist/apis/BillingApi.d.ts +7 -0
- package/dist/apis/BillingApi.js +21 -0
- package/dist/apis/CompositionsApi.d.ts +10 -2
- package/dist/apis/CompositionsApi.js +26 -2
- package/dist/apis/ContentsApi.d.ts +3 -0
- package/dist/apis/ContentsApi.js +9 -0
- package/dist/apis/ConversationsApi.d.ts +2 -0
- package/dist/apis/ConversationsApi.js +6 -0
- package/dist/apis/CreditsApi.d.ts +2 -0
- package/dist/apis/CreditsApi.js +6 -0
- package/dist/apis/EmailApi.d.ts +2 -0
- package/dist/apis/EmailApi.js +6 -0
- package/dist/apis/EntitlementsApi.d.ts +1 -0
- package/dist/apis/EntitlementsApi.js +3 -0
- package/dist/apis/FoldersApi.d.ts +2 -0
- package/dist/apis/FoldersApi.js +6 -0
- package/dist/apis/IntegrationsApi.d.ts +2 -0
- package/dist/apis/IntegrationsApi.js +6 -0
- package/dist/apis/InvitationsApi.d.ts +1 -0
- package/dist/apis/InvitationsApi.js +3 -0
- package/dist/apis/InvoicesApi.d.ts +4 -2
- package/dist/apis/InvoicesApi.js +8 -2
- package/dist/apis/MCPApi.d.ts +8 -2
- package/dist/apis/MCPApi.js +16 -4
- package/dist/apis/ManagedUsersApi.d.ts +6 -2
- package/dist/apis/ManagedUsersApi.js +14 -2
- package/dist/apis/MessagesApi.d.ts +2 -0
- package/dist/apis/MessagesApi.js +6 -0
- package/dist/apis/OperationsApi.d.ts +3 -2
- package/dist/apis/OperationsApi.js +5 -2
- package/dist/apis/OrganizationsApi.d.ts +10 -2
- package/dist/apis/OrganizationsApi.js +24 -6
- package/dist/apis/PartnersApi.d.ts +173 -3
- package/dist/apis/PartnersApi.js +494 -4
- package/dist/apis/ProjectsApi.d.ts +3 -0
- package/dist/apis/ProjectsApi.js +9 -0
- package/dist/apis/PromptsApi.d.ts +2 -0
- package/dist/apis/PromptsApi.js +6 -0
- package/dist/apis/SubscriptionsApi.d.ts +4 -0
- package/dist/apis/SubscriptionsApi.js +12 -0
- package/dist/apis/TranslationsApi.d.ts +5 -0
- package/dist/apis/TranslationsApi.js +15 -0
- package/dist/apis/UploadsApi.d.ts +2 -2
- package/dist/apis/UploadsApi.js +2 -2
- package/dist/apis/UsageApi.d.ts +2 -0
- package/dist/apis/UsageApi.js +6 -0
- package/dist/apis/UsersApi.d.ts +9 -8
- package/dist/apis/UsersApi.js +11 -8
- package/dist/apis/WebhooksApi.d.ts +2 -0
- package/dist/apis/WebhooksApi.js +6 -0
- package/dist/apis/WidgetsApi.d.ts +2 -1
- package/dist/apis/WidgetsApi.js +3 -3
- package/dist/apis/WorkspacesApi.d.ts +9 -0
- package/dist/apis/WorkspacesApi.js +27 -0
- package/dist/esm/apis/ABTestingApi.d.ts +13 -0
- package/dist/esm/apis/ABTestingApi.js +39 -0
- package/dist/esm/apis/AdminApi.d.ts +74 -4
- package/dist/esm/apis/AdminApi.js +204 -10
- package/dist/esm/apis/AdminBillingApi.d.ts +14 -3
- package/dist/esm/apis/AdminBillingApi.js +35 -5
- package/dist/esm/apis/AgentApi.d.ts +6 -2
- package/dist/esm/apis/AgentApi.js +14 -2
- package/dist/esm/apis/AuthenticationApi.d.ts +8 -0
- package/dist/esm/apis/AuthenticationApi.js +24 -0
- package/dist/esm/apis/BillingApi.d.ts +7 -0
- package/dist/esm/apis/BillingApi.js +21 -0
- package/dist/esm/apis/CompositionsApi.d.ts +10 -2
- package/dist/esm/apis/CompositionsApi.js +26 -2
- package/dist/esm/apis/ContentsApi.d.ts +3 -0
- package/dist/esm/apis/ContentsApi.js +9 -0
- package/dist/esm/apis/ConversationsApi.d.ts +2 -0
- package/dist/esm/apis/ConversationsApi.js +6 -0
- package/dist/esm/apis/CreditsApi.d.ts +2 -0
- package/dist/esm/apis/CreditsApi.js +6 -0
- package/dist/esm/apis/EmailApi.d.ts +2 -0
- package/dist/esm/apis/EmailApi.js +6 -0
- package/dist/esm/apis/EntitlementsApi.d.ts +1 -0
- package/dist/esm/apis/EntitlementsApi.js +3 -0
- package/dist/esm/apis/FoldersApi.d.ts +2 -0
- package/dist/esm/apis/FoldersApi.js +6 -0
- package/dist/esm/apis/IntegrationsApi.d.ts +2 -0
- package/dist/esm/apis/IntegrationsApi.js +6 -0
- package/dist/esm/apis/InvitationsApi.d.ts +1 -0
- package/dist/esm/apis/InvitationsApi.js +3 -0
- package/dist/esm/apis/InvoicesApi.d.ts +4 -2
- package/dist/esm/apis/InvoicesApi.js +8 -2
- package/dist/esm/apis/MCPApi.d.ts +8 -2
- package/dist/esm/apis/MCPApi.js +16 -4
- package/dist/esm/apis/ManagedUsersApi.d.ts +6 -2
- package/dist/esm/apis/ManagedUsersApi.js +14 -2
- package/dist/esm/apis/MessagesApi.d.ts +2 -0
- package/dist/esm/apis/MessagesApi.js +6 -0
- package/dist/esm/apis/OperationsApi.d.ts +3 -2
- package/dist/esm/apis/OperationsApi.js +5 -2
- package/dist/esm/apis/OrganizationsApi.d.ts +10 -2
- package/dist/esm/apis/OrganizationsApi.js +24 -6
- package/dist/esm/apis/PartnersApi.d.ts +173 -3
- package/dist/esm/apis/PartnersApi.js +495 -5
- package/dist/esm/apis/ProjectsApi.d.ts +3 -0
- package/dist/esm/apis/ProjectsApi.js +9 -0
- package/dist/esm/apis/PromptsApi.d.ts +2 -0
- package/dist/esm/apis/PromptsApi.js +6 -0
- package/dist/esm/apis/SubscriptionsApi.d.ts +4 -0
- package/dist/esm/apis/SubscriptionsApi.js +12 -0
- package/dist/esm/apis/TranslationsApi.d.ts +5 -0
- package/dist/esm/apis/TranslationsApi.js +15 -0
- package/dist/esm/apis/UploadsApi.d.ts +2 -2
- package/dist/esm/apis/UploadsApi.js +2 -2
- package/dist/esm/apis/UsageApi.d.ts +2 -0
- package/dist/esm/apis/UsageApi.js +6 -0
- package/dist/esm/apis/UsersApi.d.ts +9 -8
- package/dist/esm/apis/UsersApi.js +11 -8
- package/dist/esm/apis/WebhooksApi.d.ts +2 -0
- package/dist/esm/apis/WebhooksApi.js +6 -0
- package/dist/esm/apis/WidgetsApi.d.ts +2 -1
- package/dist/esm/apis/WidgetsApi.js +3 -3
- package/dist/esm/apis/WorkspacesApi.d.ts +9 -0
- package/dist/esm/apis/WorkspacesApi.js +27 -0
- package/dist/esm/models/ApiKeyScope.d.ts +56 -0
- package/dist/esm/models/ApiKeyScope.js +74 -0
- package/dist/esm/models/CreateUserApiKeyRequest.d.ts +22 -0
- package/dist/esm/models/CreateUserApiKeyRequest.js +13 -0
- package/dist/esm/models/CreatedUserApiKey.d.ts +23 -0
- package/dist/esm/models/CreatedUserApiKey.js +18 -0
- package/dist/esm/models/IssuePartnerInvoiceRequest.d.ts +2 -2
- package/dist/esm/models/IssuedPartnerInvoice.d.ts +37 -1
- package/dist/esm/models/IssuedPartnerInvoice.js +24 -0
- package/dist/esm/models/MyPartner.d.ts +86 -0
- package/dist/esm/models/MyPartner.js +75 -0
- package/dist/esm/models/MyPartners.d.ts +50 -0
- package/dist/esm/models/MyPartners.js +57 -0
- package/dist/esm/models/NewEditorSession.d.ts +1 -1
- package/dist/esm/models/PartnerAnalyticsByManagedUser.d.ts +54 -0
- package/dist/esm/models/PartnerAnalyticsByManagedUser.js +58 -0
- package/dist/esm/models/PartnerAnalyticsOfDay.d.ts +50 -0
- package/dist/esm/models/PartnerAnalyticsOfDay.js +55 -0
- package/dist/esm/models/PartnerAnalyticsOfManagedUser.d.ts +86 -0
- package/dist/esm/models/PartnerAnalyticsOfManagedUser.js +79 -0
- package/dist/esm/models/PartnerAnalyticsOfWidget.d.ts +62 -0
- package/dist/esm/models/PartnerAnalyticsOfWidget.js +63 -0
- package/dist/esm/models/PartnerAnalyticsSummary.d.ts +76 -0
- package/dist/esm/models/PartnerAnalyticsSummary.js +72 -0
- package/dist/esm/models/PartnerAnalyticsTimeline.d.ts +52 -0
- package/dist/esm/models/PartnerAnalyticsTimeline.js +57 -0
- package/dist/esm/models/PartnerAnalyticsTopWidgets.d.ts +52 -0
- package/dist/esm/models/PartnerAnalyticsTopWidgets.js +57 -0
- package/dist/esm/models/PartnerBillingProfile.d.ts +76 -0
- package/dist/esm/models/PartnerBillingProfile.js +73 -0
- package/dist/esm/models/PartnerBillingProfileAddress.d.ts +62 -0
- package/dist/esm/models/PartnerBillingProfileAddress.js +55 -0
- package/dist/esm/models/PartnerBillingProfileSaved.d.ts +58 -0
- package/dist/esm/models/PartnerBillingProfileSaved.js +61 -0
- package/dist/esm/models/PartnerBillingProfileTaxId.d.ts +38 -0
- package/dist/esm/models/PartnerBillingProfileTaxId.js +47 -0
- package/dist/esm/models/PartnerBillingProfileView.d.ts +51 -0
- package/dist/esm/models/PartnerBillingProfileView.js +56 -0
- package/dist/esm/models/PartnerBillingStripeSync.d.ts +53 -0
- package/dist/esm/models/PartnerBillingStripeSync.js +55 -0
- package/dist/esm/models/PartnerEditorSessionSettings.d.ts +53 -0
- package/dist/esm/models/PartnerEditorSessionSettings.js +57 -0
- package/dist/esm/models/PartnerEditorSessionSettingsEffective.d.ts +44 -0
- package/dist/esm/models/PartnerEditorSessionSettingsEffective.js +51 -0
- package/dist/esm/models/PartnerEditorSessionSettingsSettings.d.ts +44 -0
- package/dist/esm/models/PartnerEditorSessionSettingsSettings.js +51 -0
- package/dist/esm/models/PartnerInvoice.d.ts +26 -1
- package/dist/esm/models/PartnerInvoice.js +8 -0
- package/dist/esm/models/PartnerNotification.d.ts +81 -0
- package/dist/esm/models/PartnerNotification.js +77 -0
- package/dist/esm/models/PartnerNotificationDefaultRecipients.d.ts +38 -0
- package/dist/esm/models/PartnerNotificationDefaultRecipients.js +47 -0
- package/dist/esm/models/PartnerNotificationDelivery.d.ts +128 -0
- package/dist/esm/models/PartnerNotificationDelivery.js +111 -0
- package/dist/esm/models/PartnerNotificationDeliveryLog.d.ts +33 -0
- package/dist/esm/models/PartnerNotificationDeliveryLog.js +44 -0
- package/dist/esm/models/PartnerNotificationEvent.d.ts +67 -0
- package/dist/esm/models/PartnerNotificationEvent.js +69 -0
- package/dist/esm/models/PartnerNotificationEventType.d.ts +33 -0
- package/dist/esm/models/PartnerNotificationEventType.js +51 -0
- package/dist/esm/models/PartnerNotificationPage.d.ts +39 -0
- package/dist/esm/models/PartnerNotificationPage.js +48 -0
- package/dist/esm/models/PartnerNotificationSettings.d.ts +89 -0
- package/dist/esm/models/PartnerNotificationSettings.js +82 -0
- package/dist/esm/models/PartnerNotificationSettingsChange.d.ts +39 -0
- package/dist/esm/models/PartnerNotificationSettingsChange.js +48 -0
- package/dist/esm/models/PartnerReportPage.d.ts +44 -0
- package/dist/esm/models/PartnerReportPage.js +51 -0
- package/dist/esm/models/PartnerReportPeriod.d.ts +38 -0
- package/dist/esm/models/PartnerReportPeriod.js +47 -0
- package/dist/esm/models/PartnerStorageUsage.d.ts +54 -0
- package/dist/esm/models/PartnerStorageUsage.js +58 -0
- package/dist/esm/models/PartnerStorageUsageOfManagedUser.d.ts +81 -0
- package/dist/esm/models/PartnerStorageUsageOfManagedUser.js +75 -0
- package/dist/esm/models/PartnerStorageUsageTotals.d.ts +50 -0
- package/dist/esm/models/PartnerStorageUsageTotals.js +55 -0
- package/dist/esm/models/RecordPartnerInvoicePaymentRequest.d.ts +32 -0
- package/dist/esm/models/RecordPartnerInvoicePaymentRequest.js +41 -0
- package/dist/esm/models/RecordedPartnerPayment.d.ts +39 -0
- package/dist/esm/models/RecordedPartnerPayment.js +48 -0
- package/dist/esm/models/RecordedPartnerPaymentInvoice.d.ts +50 -0
- package/dist/esm/models/RecordedPartnerPaymentInvoice.js +55 -0
- package/dist/esm/models/UpdatePartnerBillingProfileRequest.d.ts +58 -0
- package/dist/esm/models/UpdatePartnerBillingProfileRequest.js +51 -0
- package/dist/esm/models/UpdatePartnerBillingProfileRequestAddress.d.ts +62 -0
- package/dist/esm/models/UpdatePartnerBillingProfileRequestAddress.js +55 -0
- package/dist/esm/models/UpdatePartnerBillingProfileRequestTaxId.d.ts +38 -0
- package/dist/esm/models/UpdatePartnerBillingProfileRequestTaxId.js +47 -0
- package/dist/esm/models/UpdatePartnerEditorSessionSettingsRequest.d.ts +44 -0
- package/dist/esm/models/UpdatePartnerEditorSessionSettingsRequest.js +45 -0
- package/dist/esm/models/UpdatePartnerNotificationSettingsRequest.d.ts +51 -0
- package/dist/esm/models/UpdatePartnerNotificationSettingsRequest.js +48 -0
- package/dist/esm/models/UserApiKey.d.ts +23 -0
- package/dist/esm/models/UserApiKey.js +18 -0
- package/dist/esm/models/index.d.ts +41 -0
- package/dist/esm/models/index.js +41 -0
- package/dist/models/ApiKeyScope.d.ts +56 -0
- package/dist/models/ApiKeyScope.js +82 -0
- package/dist/models/CreateUserApiKeyRequest.d.ts +22 -0
- package/dist/models/CreateUserApiKeyRequest.js +14 -0
- package/dist/models/CreatedUserApiKey.d.ts +23 -0
- package/dist/models/CreatedUserApiKey.js +19 -0
- package/dist/models/IssuePartnerInvoiceRequest.d.ts +2 -2
- package/dist/models/IssuedPartnerInvoice.d.ts +37 -1
- package/dist/models/IssuedPartnerInvoice.js +24 -0
- package/dist/models/MyPartner.d.ts +86 -0
- package/dist/models/MyPartner.js +83 -0
- package/dist/models/MyPartners.d.ts +50 -0
- package/dist/models/MyPartners.js +65 -0
- package/dist/models/NewEditorSession.d.ts +1 -1
- package/dist/models/PartnerAnalyticsByManagedUser.d.ts +54 -0
- package/dist/models/PartnerAnalyticsByManagedUser.js +65 -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/PartnerAnalyticsTimeline.d.ts +52 -0
- package/dist/models/PartnerAnalyticsTimeline.js +64 -0
- package/dist/models/PartnerAnalyticsTopWidgets.d.ts +52 -0
- package/dist/models/PartnerAnalyticsTopWidgets.js +64 -0
- package/dist/models/PartnerBillingProfile.d.ts +76 -0
- package/dist/models/PartnerBillingProfile.js +80 -0
- package/dist/models/PartnerBillingProfileAddress.d.ts +62 -0
- package/dist/models/PartnerBillingProfileAddress.js +62 -0
- package/dist/models/PartnerBillingProfileSaved.d.ts +58 -0
- package/dist/models/PartnerBillingProfileSaved.js +68 -0
- package/dist/models/PartnerBillingProfileTaxId.d.ts +38 -0
- package/dist/models/PartnerBillingProfileTaxId.js +54 -0
- package/dist/models/PartnerBillingProfileView.d.ts +51 -0
- package/dist/models/PartnerBillingProfileView.js +63 -0
- package/dist/models/PartnerBillingStripeSync.d.ts +53 -0
- package/dist/models/PartnerBillingStripeSync.js +63 -0
- package/dist/models/PartnerEditorSessionSettings.d.ts +53 -0
- package/dist/models/PartnerEditorSessionSettings.js +64 -0
- package/dist/models/PartnerEditorSessionSettingsEffective.d.ts +44 -0
- package/dist/models/PartnerEditorSessionSettingsEffective.js +58 -0
- package/dist/models/PartnerEditorSessionSettingsSettings.d.ts +44 -0
- package/dist/models/PartnerEditorSessionSettingsSettings.js +58 -0
- package/dist/models/PartnerInvoice.d.ts +26 -1
- package/dist/models/PartnerInvoice.js +8 -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 +128 -0
- package/dist/models/PartnerNotificationDelivery.js +119 -0
- package/dist/models/PartnerNotificationDeliveryLog.d.ts +33 -0
- package/dist/models/PartnerNotificationDeliveryLog.js +51 -0
- package/dist/models/PartnerNotificationEvent.d.ts +67 -0
- package/dist/models/PartnerNotificationEvent.js +77 -0
- package/dist/models/PartnerNotificationEventType.d.ts +33 -0
- package/dist/models/PartnerNotificationEventType.js +59 -0
- package/dist/models/PartnerNotificationPage.d.ts +39 -0
- package/dist/models/PartnerNotificationPage.js +55 -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/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/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/PartnerStorageUsageTotals.d.ts +50 -0
- package/dist/models/PartnerStorageUsageTotals.js +62 -0
- package/dist/models/RecordPartnerInvoicePaymentRequest.d.ts +32 -0
- package/dist/models/RecordPartnerInvoicePaymentRequest.js +48 -0
- package/dist/models/RecordedPartnerPayment.d.ts +39 -0
- package/dist/models/RecordedPartnerPayment.js +55 -0
- package/dist/models/RecordedPartnerPaymentInvoice.d.ts +50 -0
- package/dist/models/RecordedPartnerPaymentInvoice.js +62 -0
- package/dist/models/UpdatePartnerBillingProfileRequest.d.ts +58 -0
- package/dist/models/UpdatePartnerBillingProfileRequest.js +58 -0
- package/dist/models/UpdatePartnerBillingProfileRequestAddress.d.ts +62 -0
- package/dist/models/UpdatePartnerBillingProfileRequestAddress.js +62 -0
- package/dist/models/UpdatePartnerBillingProfileRequestTaxId.d.ts +38 -0
- package/dist/models/UpdatePartnerBillingProfileRequestTaxId.js +54 -0
- package/dist/models/UpdatePartnerEditorSessionSettingsRequest.d.ts +44 -0
- package/dist/models/UpdatePartnerEditorSessionSettingsRequest.js +52 -0
- package/dist/models/UpdatePartnerNotificationSettingsRequest.d.ts +51 -0
- package/dist/models/UpdatePartnerNotificationSettingsRequest.js +55 -0
- package/dist/models/UserApiKey.d.ts +23 -0
- package/dist/models/UserApiKey.js +19 -0
- package/dist/models/index.d.ts +41 -0
- package/dist/models/index.js +41 -0
- package/package.json +1 -1
- package/dist/apis/AgentRepositoryManagementApi.d.ts +0 -32
- package/dist/apis/AgentRepositoryManagementApi.js +0 -75
- package/dist/apis/UIComponentsApi.d.ts +0 -96
- package/dist/apis/UIComponentsApi.js +0 -209
- package/dist/apis/WorkflowsApi.d.ts +0 -44
- package/dist/apis/WorkflowsApi.js +0 -111
- package/dist/esm/apis/AgentRepositoryManagementApi.d.ts +0 -32
- package/dist/esm/apis/AgentRepositoryManagementApi.js +0 -71
- package/dist/esm/apis/UIComponentsApi.d.ts +0 -96
- package/dist/esm/apis/UIComponentsApi.js +0 -205
- package/dist/esm/apis/WorkflowsApi.d.ts +0 -44
- package/dist/esm/apis/WorkflowsApi.js +0 -107
- package/dist/esm/models/AgentRepositoriesRepoIdSyncPost202Response.d.ts +0 -32
- package/dist/esm/models/AgentRepositoriesRepoIdSyncPost202Response.js +0 -41
- package/dist/esm/models/AgentRepositoriesRepoIdSyncPostRequest.d.ts +0 -32
- package/dist/esm/models/AgentRepositoriesRepoIdSyncPostRequest.js +0 -43
- package/dist/esm/models/AgentTasksTaskIdStatusPutRequest.d.ts +0 -54
- package/dist/esm/models/AgentTasksTaskIdStatusPutRequest.js +0 -60
- package/dist/esm/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.d.ts +0 -32
- package/dist/esm/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.js +0 -41
- package/dist/esm/models/ApiV1AdminBillingGrantsPostRequest.d.ts +0 -82
- package/dist/esm/models/ApiV1AdminBillingGrantsPostRequest.js +0 -79
- package/dist/esm/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.d.ts +0 -32
- package/dist/esm/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.js +0 -41
- package/dist/esm/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +0 -32
- package/dist/esm/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +0 -43
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200Response.js +0 -44
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.d.ts +0 -57
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.js +0 -50
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.d.ts +0 -68
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.js +0 -53
- package/dist/esm/models/ApiV1AdminBillingRefundsPostRequest.d.ts +0 -70
- package/dist/esm/models/ApiV1AdminBillingRefundsPostRequest.js +0 -64
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200Response.d.ts +0 -71
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200Response.js +0 -59
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.d.ts +0 -51
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js +0 -48
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPostRequest.d.ts +0 -70
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPostRequest.js +0 -62
- package/dist/esm/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.d.ts +0 -46
- package/dist/esm/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.js +0 -52
- package/dist/esm/models/ApiV1BillingPricingGet200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingPricingGet200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseData.d.ts +0 -46
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseData.js +0 -47
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataPlansInner.d.ts +0 -68
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataPlansInner.js +0 -53
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataTrial.d.ts +0 -44
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataTrial.js +0 -45
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.d.ts +0 -33
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.js +0 -42
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.d.ts +0 -68
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.js +0 -53
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.d.ts +0 -33
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.js +0 -42
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +0 -62
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.js +0 -51
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.js +0 -41
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.js +0 -41
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.d.ts +0 -33
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.js +0 -42
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.js +0 -43
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.d.ts +0 -50
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.js +0 -47
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.js +0 -41
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPostRequest.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPostRequest.js +0 -41
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.js +0 -41
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.js +0 -41
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.d.ts +0 -120
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.js +0 -76
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.d.ts +0 -38
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.js +0 -43
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.d.ts +0 -38
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.js +0 -43
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.d.ts +0 -53
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.js +0 -58
- package/dist/esm/models/ApiV1MetricsGet200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1MetricsGet200Response.js +0 -44
- package/dist/esm/models/ApiV1MetricsGet200ResponseData.d.ts +0 -56
- package/dist/esm/models/ApiV1MetricsGet200ResponseData.js +0 -50
- package/dist/esm/models/ApiV1MetricsGet200ResponseDataErrorsValue.d.ts +0 -44
- package/dist/esm/models/ApiV1MetricsGet200ResponseDataErrorsValue.js +0 -45
- package/dist/esm/models/ApiV1MetricsGet200ResponseDataLatencyValue.d.ts +0 -50
- package/dist/esm/models/ApiV1MetricsGet200ResponseDataLatencyValue.js +0 -47
- package/dist/esm/models/ApiV1MetricsLatencyGet200Response.d.ts +0 -41
- package/dist/esm/models/ApiV1MetricsLatencyGet200Response.js +0 -45
- package/dist/esm/models/ApiV1MetricsLatencyGet200ResponseDataValue.d.ts +0 -62
- package/dist/esm/models/ApiV1MetricsLatencyGet200ResponseDataValue.js +0 -51
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.d.ts +0 -71
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.js +0 -59
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.d.ts +0 -51
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js +0 -48
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.d.ts +0 -38
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js +0 -43
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.d.ts +0 -44
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.js +0 -45
- package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.d.ts +0 -38
- package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.js +0 -43
- package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.d.ts +0 -38
- package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.js +0 -47
- package/dist/esm/models/ComponentManifest.d.ts +0 -52
- package/dist/esm/models/ComponentManifest.js +0 -49
- package/dist/esm/models/ComponentManifestAssets.d.ts +0 -38
- package/dist/esm/models/ComponentManifestAssets.js +0 -43
- package/dist/esm/models/ComponentManifestConfig.d.ts +0 -44
- package/dist/esm/models/ComponentManifestConfig.js +0 -45
- package/dist/esm/models/DevelopmentPlan.d.ts +0 -97
- package/dist/esm/models/DevelopmentPlan.js +0 -69
- package/dist/esm/models/DevelopmentTask.d.ts +0 -90
- package/dist/esm/models/DevelopmentTask.js +0 -66
- package/dist/esm/models/GenerateComponentWorkflowInput.d.ts +0 -56
- package/dist/esm/models/GenerateComponentWorkflowInput.js +0 -55
- package/dist/esm/models/GenerateMixedComponentInput.d.ts +0 -62
- package/dist/esm/models/GenerateMixedComponentInput.js +0 -59
- package/dist/esm/models/GetCompositionsBatch200ResponseErrorsInner.d.ts +0 -38
- package/dist/esm/models/GetCompositionsBatch200ResponseErrorsInner.js +0 -43
- package/dist/esm/models/GetOrganizationStorageUsage200ResponseDataBreakdown.d.ts +0 -44
- package/dist/esm/models/GetOrganizationStorageUsage200ResponseDataBreakdown.js +0 -45
- package/dist/esm/models/ListComponents200Response.d.ts +0 -33
- package/dist/esm/models/ListComponents200Response.js +0 -42
- package/dist/esm/models/LoginUser200Response.d.ts +0 -38
- package/dist/esm/models/LoginUser200Response.js +0 -43
- package/dist/esm/models/MountRequest.d.ts +0 -45
- package/dist/esm/models/MountRequest.js +0 -48
- package/dist/esm/models/MountRequestTheme.d.ts +0 -54
- package/dist/esm/models/MountRequestTheme.js +0 -54
- package/dist/esm/models/MountRequestThemeColors.d.ts +0 -50
- package/dist/esm/models/MountRequestThemeColors.js +0 -47
- package/dist/esm/models/MountRequestThemeTypography.d.ts +0 -38
- package/dist/esm/models/MountRequestThemeTypography.js +0 -43
- package/dist/esm/models/MountResponse.d.ts +0 -46
- package/dist/esm/models/MountResponse.js +0 -50
- package/dist/esm/models/NewWidgetComponentsMetadataInner.d.ts +0 -64
- package/dist/esm/models/NewWidgetComponentsMetadataInner.js +0 -53
- package/dist/esm/models/NewWidgetComponentsMetadataInnerPosition.d.ts +0 -38
- package/dist/esm/models/NewWidgetComponentsMetadataInnerPosition.js +0 -43
- package/dist/esm/models/NewWidgetComponentsMetadataInnerSize.d.ts +0 -38
- package/dist/esm/models/NewWidgetComponentsMetadataInnerSize.js +0 -43
- package/dist/esm/models/PurchaseStoragePack200ResponseDataPaymentIntent.d.ts +0 -50
- package/dist/esm/models/PurchaseStoragePack200ResponseDataPaymentIntent.js +0 -47
- package/dist/esm/models/RollbackComponent200Response.d.ts +0 -38
- package/dist/esm/models/RollbackComponent200Response.js +0 -43
- package/dist/esm/models/RollbackComponentRequest.d.ts +0 -38
- package/dist/esm/models/RollbackComponentRequest.js +0 -45
- package/dist/esm/models/UIComponent.d.ts +0 -65
- package/dist/esm/models/UIComponent.js +0 -57
- package/dist/esm/models/UpdateCompositionRequest.d.ts +0 -68
- package/dist/esm/models/UpdateCompositionRequest.js +0 -53
- package/dist/esm/models/WorkflowAcceptedResponse.d.ts +0 -38
- package/dist/esm/models/WorkflowAcceptedResponse.js +0 -43
- package/dist/models/AgentRepositoriesRepoIdSyncPost202Response.d.ts +0 -32
- package/dist/models/AgentRepositoriesRepoIdSyncPost202Response.js +0 -48
- package/dist/models/AgentRepositoriesRepoIdSyncPostRequest.d.ts +0 -32
- package/dist/models/AgentRepositoriesRepoIdSyncPostRequest.js +0 -50
- package/dist/models/AgentTasksTaskIdStatusPutRequest.d.ts +0 -54
- package/dist/models/AgentTasksTaskIdStatusPutRequest.js +0 -68
- package/dist/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.d.ts +0 -32
- package/dist/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.js +0 -48
- package/dist/models/ApiV1AdminBillingGrantsPostRequest.d.ts +0 -82
- package/dist/models/ApiV1AdminBillingGrantsPostRequest.js +0 -87
- package/dist/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.d.ts +0 -32
- package/dist/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.js +0 -48
- package/dist/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +0 -32
- package/dist/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +0 -50
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200Response.d.ts +0 -39
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200Response.js +0 -51
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.d.ts +0 -57
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.js +0 -57
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.d.ts +0 -68
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.js +0 -60
- package/dist/models/ApiV1AdminBillingRefundsPostRequest.d.ts +0 -70
- package/dist/models/ApiV1AdminBillingRefundsPostRequest.js +0 -72
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200Response.d.ts +0 -71
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200Response.js +0 -67
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.d.ts +0 -51
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js +0 -55
- package/dist/models/ApiV1AdminBillingRefundsPreviewPostRequest.d.ts +0 -70
- package/dist/models/ApiV1AdminBillingRefundsPreviewPostRequest.js +0 -70
- package/dist/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.d.ts +0 -46
- package/dist/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.js +0 -60
- package/dist/models/ApiV1BillingPricingGet200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingPricingGet200Response.js +0 -51
- package/dist/models/ApiV1BillingPricingGet200ResponseData.d.ts +0 -46
- package/dist/models/ApiV1BillingPricingGet200ResponseData.js +0 -54
- package/dist/models/ApiV1BillingPricingGet200ResponseDataPlansInner.d.ts +0 -68
- package/dist/models/ApiV1BillingPricingGet200ResponseDataPlansInner.js +0 -60
- package/dist/models/ApiV1BillingPricingGet200ResponseDataTrial.d.ts +0 -44
- package/dist/models/ApiV1BillingPricingGet200ResponseDataTrial.js +0 -52
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.d.ts +0 -33
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.js +0 -49
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.d.ts +0 -68
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.js +0 -60
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.d.ts +0 -33
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.js +0 -49
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +0 -62
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.js +0 -58
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.js +0 -48
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.js +0 -48
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.d.ts +0 -33
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.js +0 -49
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.js +0 -50
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.d.ts +0 -50
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.js +0 -54
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.js +0 -48
- package/dist/models/ApiV1BillingUsersUserIdPortalPostRequest.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdPortalPostRequest.js +0 -48
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.js +0 -48
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.js +0 -48
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.d.ts +0 -120
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.js +0 -84
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.d.ts +0 -38
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.js +0 -50
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.d.ts +0 -38
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.js +0 -50
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.d.ts +0 -53
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.js +0 -66
- package/dist/models/ApiV1MetricsGet200Response.d.ts +0 -39
- package/dist/models/ApiV1MetricsGet200Response.js +0 -51
- package/dist/models/ApiV1MetricsGet200ResponseData.d.ts +0 -56
- package/dist/models/ApiV1MetricsGet200ResponseData.js +0 -57
- package/dist/models/ApiV1MetricsGet200ResponseDataErrorsValue.d.ts +0 -44
- package/dist/models/ApiV1MetricsGet200ResponseDataErrorsValue.js +0 -52
- package/dist/models/ApiV1MetricsGet200ResponseDataLatencyValue.d.ts +0 -50
- package/dist/models/ApiV1MetricsGet200ResponseDataLatencyValue.js +0 -54
- package/dist/models/ApiV1MetricsLatencyGet200Response.d.ts +0 -41
- package/dist/models/ApiV1MetricsLatencyGet200Response.js +0 -52
- package/dist/models/ApiV1MetricsLatencyGet200ResponseDataValue.d.ts +0 -62
- package/dist/models/ApiV1MetricsLatencyGet200ResponseDataValue.js +0 -58
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.d.ts +0 -71
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.js +0 -67
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.d.ts +0 -51
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js +0 -55
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.d.ts +0 -38
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js +0 -50
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.d.ts +0 -44
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.js +0 -52
- package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.d.ts +0 -38
- package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.js +0 -50
- package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.d.ts +0 -38
- package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.js +0 -54
- package/dist/models/ComponentManifest.d.ts +0 -52
- package/dist/models/ComponentManifest.js +0 -56
- package/dist/models/ComponentManifestAssets.d.ts +0 -38
- package/dist/models/ComponentManifestAssets.js +0 -50
- package/dist/models/ComponentManifestConfig.d.ts +0 -44
- package/dist/models/ComponentManifestConfig.js +0 -52
- package/dist/models/DevelopmentPlan.d.ts +0 -97
- package/dist/models/DevelopmentPlan.js +0 -77
- package/dist/models/DevelopmentTask.d.ts +0 -90
- package/dist/models/DevelopmentTask.js +0 -74
- package/dist/models/GenerateComponentWorkflowInput.d.ts +0 -56
- package/dist/models/GenerateComponentWorkflowInput.js +0 -62
- package/dist/models/GenerateMixedComponentInput.d.ts +0 -62
- package/dist/models/GenerateMixedComponentInput.js +0 -66
- package/dist/models/GetCompositionsBatch200ResponseErrorsInner.d.ts +0 -38
- package/dist/models/GetCompositionsBatch200ResponseErrorsInner.js +0 -50
- package/dist/models/GetOrganizationStorageUsage200ResponseDataBreakdown.d.ts +0 -44
- package/dist/models/GetOrganizationStorageUsage200ResponseDataBreakdown.js +0 -52
- package/dist/models/ListComponents200Response.d.ts +0 -33
- package/dist/models/ListComponents200Response.js +0 -49
- package/dist/models/LoginUser200Response.d.ts +0 -38
- package/dist/models/LoginUser200Response.js +0 -50
- package/dist/models/MountRequest.d.ts +0 -45
- package/dist/models/MountRequest.js +0 -55
- package/dist/models/MountRequestTheme.d.ts +0 -54
- package/dist/models/MountRequestTheme.js +0 -62
- package/dist/models/MountRequestThemeColors.d.ts +0 -50
- package/dist/models/MountRequestThemeColors.js +0 -54
- package/dist/models/MountRequestThemeTypography.d.ts +0 -38
- package/dist/models/MountRequestThemeTypography.js +0 -50
- package/dist/models/MountResponse.d.ts +0 -46
- package/dist/models/MountResponse.js +0 -58
- package/dist/models/NewWidgetComponentsMetadataInner.d.ts +0 -64
- package/dist/models/NewWidgetComponentsMetadataInner.js +0 -60
- package/dist/models/NewWidgetComponentsMetadataInnerPosition.d.ts +0 -38
- package/dist/models/NewWidgetComponentsMetadataInnerPosition.js +0 -50
- package/dist/models/NewWidgetComponentsMetadataInnerSize.d.ts +0 -38
- package/dist/models/NewWidgetComponentsMetadataInnerSize.js +0 -50
- package/dist/models/PurchaseStoragePack200ResponseDataPaymentIntent.d.ts +0 -50
- package/dist/models/PurchaseStoragePack200ResponseDataPaymentIntent.js +0 -54
- package/dist/models/RollbackComponent200Response.d.ts +0 -38
- package/dist/models/RollbackComponent200Response.js +0 -50
- package/dist/models/RollbackComponentRequest.d.ts +0 -38
- package/dist/models/RollbackComponentRequest.js +0 -52
- package/dist/models/UIComponent.d.ts +0 -65
- package/dist/models/UIComponent.js +0 -65
- package/dist/models/UpdateCompositionRequest.d.ts +0 -68
- package/dist/models/UpdateCompositionRequest.js +0 -60
- package/dist/models/WorkflowAcceptedResponse.d.ts +0 -38
- package/dist/models/WorkflowAcceptedResponse.js +0 -50
|
@@ -14,6 +14,7 @@ import type { CreatePromptRequest, GetAllPrompts200Response, Prompt, UpdatePromp
|
|
|
14
14
|
export interface CreatePromptOperationRequest {
|
|
15
15
|
userId: string;
|
|
16
16
|
createPromptRequest: CreatePromptRequest;
|
|
17
|
+
idempotencyKey?: string;
|
|
17
18
|
}
|
|
18
19
|
export interface DeletePromptRequest {
|
|
19
20
|
userId: string;
|
|
@@ -33,6 +34,7 @@ export interface UpdatePromptOperationRequest {
|
|
|
33
34
|
userId: string;
|
|
34
35
|
id: number;
|
|
35
36
|
updatePromptRequest: UpdatePromptRequest;
|
|
37
|
+
idempotencyKey?: string;
|
|
36
38
|
}
|
|
37
39
|
/**
|
|
38
40
|
*
|
package/dist/apis/PromptsApi.js
CHANGED
|
@@ -44,6 +44,9 @@ class PromptsApi extends runtime.BaseAPI {
|
|
|
44
44
|
const queryParameters = {};
|
|
45
45
|
const headerParameters = {};
|
|
46
46
|
headerParameters['Content-Type'] = 'application/json';
|
|
47
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
48
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
49
|
+
}
|
|
47
50
|
if (this.configuration && this.configuration.accessToken) {
|
|
48
51
|
const token = this.configuration.accessToken;
|
|
49
52
|
const tokenString = yield token("apiKeyAuth", []);
|
|
@@ -215,6 +218,9 @@ class PromptsApi extends runtime.BaseAPI {
|
|
|
215
218
|
const queryParameters = {};
|
|
216
219
|
const headerParameters = {};
|
|
217
220
|
headerParameters['Content-Type'] = 'application/json';
|
|
221
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
222
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
223
|
+
}
|
|
218
224
|
if (this.configuration && this.configuration.accessToken) {
|
|
219
225
|
const token = this.configuration.accessToken;
|
|
220
226
|
const tokenString = yield token("apiKeyAuth", []);
|
|
@@ -13,6 +13,7 @@ import * as runtime from '../runtime';
|
|
|
13
13
|
import type { GetBillingReports200ResponseInner, MoveSubscriptionSurfaceRequest, NewSubscription, ProcessRefund200Response, RefundRequest, Subscription, SubscriptionsIdRefundPreviewPost200Response, SubscriptionsIdRefundPreviewPostRequest, UpdateSubscription } from '../models/index';
|
|
14
14
|
export interface CreateSubscriptionRequest {
|
|
15
15
|
newSubscription: NewSubscription;
|
|
16
|
+
idempotencyKey?: string;
|
|
16
17
|
}
|
|
17
18
|
export interface DeleteSubscriptionRequest {
|
|
18
19
|
id: string;
|
|
@@ -38,9 +39,11 @@ export interface GetSubscriptionsByUserIdRequest {
|
|
|
38
39
|
export interface MoveSubscriptionSurfaceOperationRequest {
|
|
39
40
|
id: string;
|
|
40
41
|
moveSubscriptionSurfaceRequest: MoveSubscriptionSurfaceRequest;
|
|
42
|
+
idempotencyKey?: string;
|
|
41
43
|
}
|
|
42
44
|
export interface ProcessRefundRequest {
|
|
43
45
|
id: string;
|
|
46
|
+
idempotencyKey?: string;
|
|
44
47
|
refundRequest?: RefundRequest;
|
|
45
48
|
}
|
|
46
49
|
export interface SubscriptionsIdRefundPreviewPostOperationRequest {
|
|
@@ -50,6 +53,7 @@ export interface SubscriptionsIdRefundPreviewPostOperationRequest {
|
|
|
50
53
|
export interface UpdateSubscriptionRequest {
|
|
51
54
|
id: string;
|
|
52
55
|
updateSubscription: UpdateSubscription;
|
|
56
|
+
idempotencyKey?: string;
|
|
53
57
|
}
|
|
54
58
|
/**
|
|
55
59
|
*
|
|
@@ -41,6 +41,9 @@ class SubscriptionsApi extends runtime.BaseAPI {
|
|
|
41
41
|
const queryParameters = {};
|
|
42
42
|
const headerParameters = {};
|
|
43
43
|
headerParameters['Content-Type'] = 'application/json';
|
|
44
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
45
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
46
|
+
}
|
|
44
47
|
if (this.configuration && this.configuration.accessToken) {
|
|
45
48
|
const token = this.configuration.accessToken;
|
|
46
49
|
const tokenString = yield token("apiKeyAuth", []);
|
|
@@ -285,6 +288,9 @@ class SubscriptionsApi extends runtime.BaseAPI {
|
|
|
285
288
|
const queryParameters = {};
|
|
286
289
|
const headerParameters = {};
|
|
287
290
|
headerParameters['Content-Type'] = 'application/json';
|
|
291
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
292
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
293
|
+
}
|
|
288
294
|
if (this.configuration && this.configuration.accessToken) {
|
|
289
295
|
const token = this.configuration.accessToken;
|
|
290
296
|
const tokenString = yield token("apiKeyAuth", []);
|
|
@@ -323,6 +329,9 @@ class SubscriptionsApi extends runtime.BaseAPI {
|
|
|
323
329
|
const queryParameters = {};
|
|
324
330
|
const headerParameters = {};
|
|
325
331
|
headerParameters['Content-Type'] = 'application/json';
|
|
332
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
333
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
334
|
+
}
|
|
326
335
|
if (this.configuration && this.configuration.accessToken) {
|
|
327
336
|
const token = this.configuration.accessToken;
|
|
328
337
|
const tokenString = yield token("apiKeyAuth", []);
|
|
@@ -404,6 +413,9 @@ class SubscriptionsApi extends runtime.BaseAPI {
|
|
|
404
413
|
const queryParameters = {};
|
|
405
414
|
const headerParameters = {};
|
|
406
415
|
headerParameters['Content-Type'] = 'application/json';
|
|
416
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
417
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
418
|
+
}
|
|
407
419
|
if (this.configuration && this.configuration.accessToken) {
|
|
408
420
|
const token = this.configuration.accessToken;
|
|
409
421
|
const tokenString = yield token("apiKeyAuth", []);
|
|
@@ -14,9 +14,11 @@ import type { AddLanguagesToTranslation200Response, AddLanguagesToTranslationReq
|
|
|
14
14
|
export interface AddLanguagesToTranslationOperationRequest {
|
|
15
15
|
id: string;
|
|
16
16
|
addLanguagesToTranslationRequest: AddLanguagesToTranslationRequest;
|
|
17
|
+
idempotencyKey?: string;
|
|
17
18
|
}
|
|
18
19
|
export interface CreateTranslationOperationRequest {
|
|
19
20
|
createTranslationRequest: CreateTranslationRequest;
|
|
21
|
+
idempotencyKey?: string;
|
|
20
22
|
}
|
|
21
23
|
export interface DeleteTranslationRequest {
|
|
22
24
|
id: string;
|
|
@@ -40,15 +42,18 @@ export interface RemoveLanguageFromTranslationRequest {
|
|
|
40
42
|
}
|
|
41
43
|
export interface RetranslateExperimentOperationRequest {
|
|
42
44
|
id: string;
|
|
45
|
+
idempotencyKey?: string;
|
|
43
46
|
retranslateExperimentRequest?: RetranslateExperimentRequest;
|
|
44
47
|
}
|
|
45
48
|
export interface SubmitTranslationAnalyticsEventOperationRequest {
|
|
46
49
|
id: string;
|
|
47
50
|
submitTranslationAnalyticsEventRequest: SubmitTranslationAnalyticsEventRequest;
|
|
51
|
+
idempotencyKey?: string;
|
|
48
52
|
}
|
|
49
53
|
export interface UpdateTranslationStatusOperationRequest {
|
|
50
54
|
id: string;
|
|
51
55
|
updateTranslationStatusRequest: UpdateTranslationStatusRequest;
|
|
56
|
+
idempotencyKey?: string;
|
|
52
57
|
}
|
|
53
58
|
/**
|
|
54
59
|
*
|
|
@@ -44,6 +44,9 @@ class TranslationsApi extends runtime.BaseAPI {
|
|
|
44
44
|
const queryParameters = {};
|
|
45
45
|
const headerParameters = {};
|
|
46
46
|
headerParameters['Content-Type'] = 'application/json';
|
|
47
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
48
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
49
|
+
}
|
|
47
50
|
if (this.configuration && this.configuration.accessToken) {
|
|
48
51
|
const token = this.configuration.accessToken;
|
|
49
52
|
const tokenString = yield token("BearerAuth", []);
|
|
@@ -83,6 +86,9 @@ class TranslationsApi extends runtime.BaseAPI {
|
|
|
83
86
|
const queryParameters = {};
|
|
84
87
|
const headerParameters = {};
|
|
85
88
|
headerParameters['Content-Type'] = 'application/json';
|
|
89
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
90
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
91
|
+
}
|
|
86
92
|
if (this.configuration && this.configuration.accessToken) {
|
|
87
93
|
const token = this.configuration.accessToken;
|
|
88
94
|
const tokenString = yield token("BearerAuth", []);
|
|
@@ -397,6 +403,9 @@ class TranslationsApi extends runtime.BaseAPI {
|
|
|
397
403
|
const queryParameters = {};
|
|
398
404
|
const headerParameters = {};
|
|
399
405
|
headerParameters['Content-Type'] = 'application/json';
|
|
406
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
407
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
408
|
+
}
|
|
400
409
|
if (this.configuration && this.configuration.accessToken) {
|
|
401
410
|
const token = this.configuration.accessToken;
|
|
402
411
|
const tokenString = yield token("BearerAuth", []);
|
|
@@ -439,6 +448,9 @@ class TranslationsApi extends runtime.BaseAPI {
|
|
|
439
448
|
const queryParameters = {};
|
|
440
449
|
const headerParameters = {};
|
|
441
450
|
headerParameters['Content-Type'] = 'application/json';
|
|
451
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
452
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
453
|
+
}
|
|
442
454
|
const response = yield this.request({
|
|
443
455
|
path: `/translations/{id}/analytics/events`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
444
456
|
method: 'POST',
|
|
@@ -473,6 +485,9 @@ class TranslationsApi extends runtime.BaseAPI {
|
|
|
473
485
|
const queryParameters = {};
|
|
474
486
|
const headerParameters = {};
|
|
475
487
|
headerParameters['Content-Type'] = 'application/json';
|
|
488
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
489
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
490
|
+
}
|
|
476
491
|
if (this.configuration && this.configuration.accessToken) {
|
|
477
492
|
const token = this.configuration.accessToken;
|
|
478
493
|
const tokenString = yield token("BearerAuth", []);
|
|
@@ -74,12 +74,12 @@ export declare class UploadsApi extends runtime.BaseAPI {
|
|
|
74
74
|
*/
|
|
75
75
|
uploadsPost(requestParameters: UploadsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Upload>;
|
|
76
76
|
/**
|
|
77
|
-
* Resumable uploads carry a file of up to 250 MB (the limit `tus_max_bytes` of `uploadsLimitsGet`, the same for every account) in pieces that can be resumed after a dropped connection, or after the server was restarted: the pieces wait in shared storage, not on one server. They follow the [tus protocol](https://tus.io): `POST /uploads/tus` declares the file (`Upload-Length` and the `Upload-Metadata` keys `filename`, `filetype` and, optionally, `context_type`, `source`, `widget_id` and `
|
|
77
|
+
* Resumable uploads carry a file of up to 250 MB (the limit `tus_max_bytes` of `uploadsLimitsGet`, the same for every account) in pieces that can be resumed after a dropped connection, or after the server was restarted: the pieces wait in shared storage, not on one server. They follow the [tus protocol](https://tus.io): `POST /uploads/tus` declares the file (`Upload-Length` and the `Upload-Metadata` keys `filename`, `filetype` and, optionally, `context_type`, `source`, `widget_id`, `conversation_id` and, to file the upload under one of a partner\'s managed users, `managed_user_id` or `managed_user_external_id`), `PATCH` sends the bytes, `HEAD` says how far a client got. They need a signed-in session; an API key uses `uploadsPost`. A partner files an upload under one of its managed users with `managed_user_id` (Widgetic\'s id) or `managed_user_external_id` (the partner\'s own id for the user), never both: the same two fields, with the same spelling, as the form fields of `uploadsPost`. The managed user is looked up among the signed-in account\'s own when the upload is declared, so a wrong one is refused before any byte is sent (the declaring `POST /uploads/tus` answers 400, 404 or 409 with a line of text), and is looked up again here, when the file is stored. The stored file then carries the managed user (`managedUserId`), is found by the `managedUserId` filter of `uploadsGet`, and is counted for that user by `getPartnerStorageUsage`. Without either key the file is the account\'s own. This call stores the finished file: it counts against the account\'s storage allowance only now, not while the file is on its way, so an upload that is abandoned costs nothing. It is safe to call again after a lost answer: the file that was stored is returned, not stored twice. A file that could not be stored (storage down, allowance full) stays available for a day from when the upload began, so the call can be repeated without sending the file again. An unfinished upload is deleted after that day, and an account can hold only a few at once. A partner account that is paused or not yet activated cannot start a resumable upload (the declaring `POST /uploads/tus` answers 403) and cannot complete one (`PARTNER_SUSPENDED`, `PARTNER_INACTIVE`).
|
|
78
78
|
* Finish a resumable upload — store the file and return it
|
|
79
79
|
*/
|
|
80
80
|
uploadsTusIdCompletePostRaw(requestParameters: UploadsTusIdCompletePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Upload>>;
|
|
81
81
|
/**
|
|
82
|
-
* Resumable uploads carry a file of up to 250 MB (the limit `tus_max_bytes` of `uploadsLimitsGet`, the same for every account) in pieces that can be resumed after a dropped connection, or after the server was restarted: the pieces wait in shared storage, not on one server. They follow the [tus protocol](https://tus.io): `POST /uploads/tus` declares the file (`Upload-Length` and the `Upload-Metadata` keys `filename`, `filetype` and, optionally, `context_type`, `source`, `widget_id` and `
|
|
82
|
+
* Resumable uploads carry a file of up to 250 MB (the limit `tus_max_bytes` of `uploadsLimitsGet`, the same for every account) in pieces that can be resumed after a dropped connection, or after the server was restarted: the pieces wait in shared storage, not on one server. They follow the [tus protocol](https://tus.io): `POST /uploads/tus` declares the file (`Upload-Length` and the `Upload-Metadata` keys `filename`, `filetype` and, optionally, `context_type`, `source`, `widget_id`, `conversation_id` and, to file the upload under one of a partner\'s managed users, `managed_user_id` or `managed_user_external_id`), `PATCH` sends the bytes, `HEAD` says how far a client got. They need a signed-in session; an API key uses `uploadsPost`. A partner files an upload under one of its managed users with `managed_user_id` (Widgetic\'s id) or `managed_user_external_id` (the partner\'s own id for the user), never both: the same two fields, with the same spelling, as the form fields of `uploadsPost`. The managed user is looked up among the signed-in account\'s own when the upload is declared, so a wrong one is refused before any byte is sent (the declaring `POST /uploads/tus` answers 400, 404 or 409 with a line of text), and is looked up again here, when the file is stored. The stored file then carries the managed user (`managedUserId`), is found by the `managedUserId` filter of `uploadsGet`, and is counted for that user by `getPartnerStorageUsage`. Without either key the file is the account\'s own. This call stores the finished file: it counts against the account\'s storage allowance only now, not while the file is on its way, so an upload that is abandoned costs nothing. It is safe to call again after a lost answer: the file that was stored is returned, not stored twice. A file that could not be stored (storage down, allowance full) stays available for a day from when the upload began, so the call can be repeated without sending the file again. An unfinished upload is deleted after that day, and an account can hold only a few at once. A partner account that is paused or not yet activated cannot start a resumable upload (the declaring `POST /uploads/tus` answers 403) and cannot complete one (`PARTNER_SUSPENDED`, `PARTNER_INACTIVE`).
|
|
83
83
|
* Finish a resumable upload — store the file and return it
|
|
84
84
|
*/
|
|
85
85
|
uploadsTusIdCompletePost(requestParameters: UploadsTusIdCompletePostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Upload>;
|
package/dist/apis/UploadsApi.js
CHANGED
|
@@ -212,7 +212,7 @@ class UploadsApi extends runtime.BaseAPI {
|
|
|
212
212
|
});
|
|
213
213
|
}
|
|
214
214
|
/**
|
|
215
|
-
* Resumable uploads carry a file of up to 250 MB (the limit `tus_max_bytes` of `uploadsLimitsGet`, the same for every account) in pieces that can be resumed after a dropped connection, or after the server was restarted: the pieces wait in shared storage, not on one server. They follow the [tus protocol](https://tus.io): `POST /uploads/tus` declares the file (`Upload-Length` and the `Upload-Metadata` keys `filename`, `filetype` and, optionally, `context_type`, `source`, `widget_id` and `
|
|
215
|
+
* Resumable uploads carry a file of up to 250 MB (the limit `tus_max_bytes` of `uploadsLimitsGet`, the same for every account) in pieces that can be resumed after a dropped connection, or after the server was restarted: the pieces wait in shared storage, not on one server. They follow the [tus protocol](https://tus.io): `POST /uploads/tus` declares the file (`Upload-Length` and the `Upload-Metadata` keys `filename`, `filetype` and, optionally, `context_type`, `source`, `widget_id`, `conversation_id` and, to file the upload under one of a partner\'s managed users, `managed_user_id` or `managed_user_external_id`), `PATCH` sends the bytes, `HEAD` says how far a client got. They need a signed-in session; an API key uses `uploadsPost`. A partner files an upload under one of its managed users with `managed_user_id` (Widgetic\'s id) or `managed_user_external_id` (the partner\'s own id for the user), never both: the same two fields, with the same spelling, as the form fields of `uploadsPost`. The managed user is looked up among the signed-in account\'s own when the upload is declared, so a wrong one is refused before any byte is sent (the declaring `POST /uploads/tus` answers 400, 404 or 409 with a line of text), and is looked up again here, when the file is stored. The stored file then carries the managed user (`managedUserId`), is found by the `managedUserId` filter of `uploadsGet`, and is counted for that user by `getPartnerStorageUsage`. Without either key the file is the account\'s own. This call stores the finished file: it counts against the account\'s storage allowance only now, not while the file is on its way, so an upload that is abandoned costs nothing. It is safe to call again after a lost answer: the file that was stored is returned, not stored twice. A file that could not be stored (storage down, allowance full) stays available for a day from when the upload began, so the call can be repeated without sending the file again. An unfinished upload is deleted after that day, and an account can hold only a few at once. A partner account that is paused or not yet activated cannot start a resumable upload (the declaring `POST /uploads/tus` answers 403) and cannot complete one (`PARTNER_SUSPENDED`, `PARTNER_INACTIVE`).
|
|
216
216
|
* Finish a resumable upload — store the file and return it
|
|
217
217
|
*/
|
|
218
218
|
uploadsTusIdCompletePostRaw(requestParameters, initOverrides) {
|
|
@@ -232,7 +232,7 @@ class UploadsApi extends runtime.BaseAPI {
|
|
|
232
232
|
});
|
|
233
233
|
}
|
|
234
234
|
/**
|
|
235
|
-
* Resumable uploads carry a file of up to 250 MB (the limit `tus_max_bytes` of `uploadsLimitsGet`, the same for every account) in pieces that can be resumed after a dropped connection, or after the server was restarted: the pieces wait in shared storage, not on one server. They follow the [tus protocol](https://tus.io): `POST /uploads/tus` declares the file (`Upload-Length` and the `Upload-Metadata` keys `filename`, `filetype` and, optionally, `context_type`, `source`, `widget_id` and `
|
|
235
|
+
* Resumable uploads carry a file of up to 250 MB (the limit `tus_max_bytes` of `uploadsLimitsGet`, the same for every account) in pieces that can be resumed after a dropped connection, or after the server was restarted: the pieces wait in shared storage, not on one server. They follow the [tus protocol](https://tus.io): `POST /uploads/tus` declares the file (`Upload-Length` and the `Upload-Metadata` keys `filename`, `filetype` and, optionally, `context_type`, `source`, `widget_id`, `conversation_id` and, to file the upload under one of a partner\'s managed users, `managed_user_id` or `managed_user_external_id`), `PATCH` sends the bytes, `HEAD` says how far a client got. They need a signed-in session; an API key uses `uploadsPost`. A partner files an upload under one of its managed users with `managed_user_id` (Widgetic\'s id) or `managed_user_external_id` (the partner\'s own id for the user), never both: the same two fields, with the same spelling, as the form fields of `uploadsPost`. The managed user is looked up among the signed-in account\'s own when the upload is declared, so a wrong one is refused before any byte is sent (the declaring `POST /uploads/tus` answers 400, 404 or 409 with a line of text), and is looked up again here, when the file is stored. The stored file then carries the managed user (`managedUserId`), is found by the `managedUserId` filter of `uploadsGet`, and is counted for that user by `getPartnerStorageUsage`. Without either key the file is the account\'s own. This call stores the finished file: it counts against the account\'s storage allowance only now, not while the file is on its way, so an upload that is abandoned costs nothing. It is safe to call again after a lost answer: the file that was stored is returned, not stored twice. A file that could not be stored (storage down, allowance full) stays available for a day from when the upload began, so the call can be repeated without sending the file again. An unfinished upload is deleted after that day, and an account can hold only a few at once. A partner account that is paused or not yet activated cannot start a resumable upload (the declaring `POST /uploads/tus` answers 403) and cannot complete one (`PARTNER_SUSPENDED`, `PARTNER_INACTIVE`).
|
|
236
236
|
* Finish a resumable upload — store the file and return it
|
|
237
237
|
*/
|
|
238
238
|
uploadsTusIdCompletePost(requestParameters, initOverrides) {
|
package/dist/apis/UsageApi.d.ts
CHANGED
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
export interface BulkRecordUsageRequest {
|
|
14
14
|
body: object;
|
|
15
|
+
idempotencyKey?: string;
|
|
15
16
|
}
|
|
16
17
|
export interface GetAllUsageRequest {
|
|
17
18
|
userId?: string;
|
|
@@ -44,6 +45,7 @@ export interface GetUserUsageSummaryRequest {
|
|
|
44
45
|
}
|
|
45
46
|
export interface RecordUsageRequest {
|
|
46
47
|
body: object;
|
|
48
|
+
idempotencyKey?: string;
|
|
47
49
|
}
|
|
48
50
|
/**
|
|
49
51
|
*
|
package/dist/apis/UsageApi.js
CHANGED
|
@@ -40,6 +40,9 @@ class UsageApi extends runtime.BaseAPI {
|
|
|
40
40
|
const queryParameters = {};
|
|
41
41
|
const headerParameters = {};
|
|
42
42
|
headerParameters['Content-Type'] = 'application/json';
|
|
43
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
44
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
45
|
+
}
|
|
43
46
|
if (this.configuration && this.configuration.accessToken) {
|
|
44
47
|
const token = this.configuration.accessToken;
|
|
45
48
|
const tokenString = yield token("apiKeyAuth", []);
|
|
@@ -306,6 +309,9 @@ class UsageApi extends runtime.BaseAPI {
|
|
|
306
309
|
const queryParameters = {};
|
|
307
310
|
const headerParameters = {};
|
|
308
311
|
headerParameters['Content-Type'] = 'application/json';
|
|
312
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
313
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
314
|
+
}
|
|
309
315
|
if (this.configuration && this.configuration.accessToken) {
|
|
310
316
|
const token = this.configuration.accessToken;
|
|
311
317
|
const tokenString = yield token("apiKeyAuth", []);
|
package/dist/apis/UsersApi.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export interface AddPersonalWorkspaceDomainRequest {
|
|
|
18
18
|
export interface CreateUserApiKeyOperationRequest {
|
|
19
19
|
id: string;
|
|
20
20
|
createUserApiKeyRequest: CreateUserApiKeyRequest;
|
|
21
|
+
idempotencyKey?: string;
|
|
21
22
|
}
|
|
22
23
|
export interface DeletePersonalWorkspaceDomainRequest {
|
|
23
24
|
id: string;
|
|
@@ -56,22 +57,22 @@ export interface UsersSendFeedbackPostOperationRequest {
|
|
|
56
57
|
*/
|
|
57
58
|
export declare class UsersApi extends runtime.BaseAPI {
|
|
58
59
|
/**
|
|
59
|
-
* Adds a website to an account\'s own list. Give a website name such as `example.com`, or `*.example.com` for a website and all of its subdomains. A scheme, a port, a path, capital letters and a leading `www.` are dropped, so `https://www.Example.com/shop` is kept as `example.com`, and `example.com` covers `www.example.com` too. Something that is not a website name is refused, not stored. Until the first website is added nothing is restricted, and a widget can be shown anywhere. Once the list has one, a widget of the account is shown on the listed websites (and on Widgetic\'s own) and nowhere else.
|
|
60
|
+
* Adds a website to an account\'s own list. Give a website name such as `example.com`, or `*.example.com` for a website and all of its subdomains. A scheme, a port, a path, capital letters and a leading `www.` are dropped, so `https://www.Example.com/shop` is kept as `example.com`, and `example.com` covers `www.example.com` too. Something that is not a website name is refused, not stored. Until the first website is added nothing is restricted, and a widget can be shown anywhere. Once the list has one, a widget of the account is shown on the listed websites (and on Widgetic\'s own) and nowhere else. A page on your own machine (`localhost`, `127.0.0.1` or `[::1]`, on any port) is always allowed, so there is nothing to add to test locally. A change can take about 15 seconds to reach every server. The list is a safeguard against other websites showing your widgets in a visitor\'s browser. It is not access control: anyone who knows a widget\'s id can still fetch its published content with a plain request that names no website. An account can list at most 50 websites. Use `*.example.com` for a website and all of its subdomains instead of listing each one.
|
|
60
61
|
* Allow a website to show your widgets
|
|
61
62
|
*/
|
|
62
63
|
addPersonalWorkspaceDomainRaw(requestParameters: AddPersonalWorkspaceDomainRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PersonalWorkspaceDomainResult>>;
|
|
63
64
|
/**
|
|
64
|
-
* Adds a website to an account\'s own list. Give a website name such as `example.com`, or `*.example.com` for a website and all of its subdomains. A scheme, a port, a path, capital letters and a leading `www.` are dropped, so `https://www.Example.com/shop` is kept as `example.com`, and `example.com` covers `www.example.com` too. Something that is not a website name is refused, not stored. Until the first website is added nothing is restricted, and a widget can be shown anywhere. Once the list has one, a widget of the account is shown on the listed websites (and on Widgetic\'s own) and nowhere else.
|
|
65
|
+
* Adds a website to an account\'s own list. Give a website name such as `example.com`, or `*.example.com` for a website and all of its subdomains. A scheme, a port, a path, capital letters and a leading `www.` are dropped, so `https://www.Example.com/shop` is kept as `example.com`, and `example.com` covers `www.example.com` too. Something that is not a website name is refused, not stored. Until the first website is added nothing is restricted, and a widget can be shown anywhere. Once the list has one, a widget of the account is shown on the listed websites (and on Widgetic\'s own) and nowhere else. A page on your own machine (`localhost`, `127.0.0.1` or `[::1]`, on any port) is always allowed, so there is nothing to add to test locally. A change can take about 15 seconds to reach every server. The list is a safeguard against other websites showing your widgets in a visitor\'s browser. It is not access control: anyone who knows a widget\'s id can still fetch its published content with a plain request that names no website. An account can list at most 50 websites. Use `*.example.com` for a website and all of its subdomains instead of listing each one.
|
|
65
66
|
* Allow a website to show your widgets
|
|
66
67
|
*/
|
|
67
68
|
addPersonalWorkspaceDomain(requestParameters: AddPersonalWorkspaceDomainRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PersonalWorkspaceDomainResult>;
|
|
68
69
|
/**
|
|
69
|
-
* Makes a new API key for an account and returns its secret in `key`. That is the only time the secret is shown: Widgetic keeps a hash, so a key that was not stored cannot be recovered, only replaced. To rotate a key, make the new one, switch the integration over to it, then delete the old one. Only a person signed in on widgetic.com can make a key: a request made with an API key, or with an SDK token, is refused with 403. That way a leaked key cannot be used to make a second one that survives its revocation. Make keys from the dashboard; a key can still list, rename, switch off and delete keys. An `Idempotency-Key` header is required (8 to 50 characters: letters, digits, `-` and `_`). A retry with the same header and the same body returns the same answer instead of making a second key, and the same header with a different body is refused with 422. Make keys one at a time: two requests for the same account that run at the same moment can overwrite each other. An account can hold at most 25 keys. An account on a plan without API access cannot make one.
|
|
70
|
+
* Makes a new API key for an account and returns its secret in `key`. That is the only time the secret is shown: Widgetic keeps a hash, so a key that was not stored cannot be recovered, only replaced. To rotate a key, make the new one, switch the integration over to it, then delete the old one. Only a person signed in on widgetic.com can make a key: a request made with an API key, or with an SDK token, is refused with 403. That way a leaked key cannot be used to make a second one that survives its revocation. Make keys from the dashboard; a key can still list, rename, switch off and delete keys. An `Idempotency-Key` header is required (8 to 50 characters: letters, digits, `-` and `_`). A retry with the same header and the same body returns the same answer instead of making a second key, and the same header with a different body is refused with 422. Make keys one at a time: two requests for the same account that run at the same moment can overwrite each other. A key can be limited to what it needs. Send a `preset` (`read_only`, `content` or `full_access`) or a list of `scopes`, never both. Send neither for a key that can do everything its owner can, as every key made before scopes existed. A limited key is refused with 403 and the code `API_KEY_SCOPE_MISSING` on anything outside its scopes, so a key held by a build server or by a partner\'s backend can be given only the part of the API it uses. The scopes of a key are fixed when it is made: to widen one, make a new key and delete the old one. A limited key cannot make, change or delete keys, exchange tokens or reach the administration routes. The list of scopes is in the `ApiKeyScope` schema. An account can hold at most 25 keys. An account on a plan without API access cannot make one.
|
|
70
71
|
* Create an API key
|
|
71
72
|
*/
|
|
72
73
|
createUserApiKeyRaw(requestParameters: CreateUserApiKeyOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreatedUserApiKey>>;
|
|
73
74
|
/**
|
|
74
|
-
* Makes a new API key for an account and returns its secret in `key`. That is the only time the secret is shown: Widgetic keeps a hash, so a key that was not stored cannot be recovered, only replaced. To rotate a key, make the new one, switch the integration over to it, then delete the old one. Only a person signed in on widgetic.com can make a key: a request made with an API key, or with an SDK token, is refused with 403. That way a leaked key cannot be used to make a second one that survives its revocation. Make keys from the dashboard; a key can still list, rename, switch off and delete keys. An `Idempotency-Key` header is required (8 to 50 characters: letters, digits, `-` and `_`). A retry with the same header and the same body returns the same answer instead of making a second key, and the same header with a different body is refused with 422. Make keys one at a time: two requests for the same account that run at the same moment can overwrite each other. An account can hold at most 25 keys. An account on a plan without API access cannot make one.
|
|
75
|
+
* Makes a new API key for an account and returns its secret in `key`. That is the only time the secret is shown: Widgetic keeps a hash, so a key that was not stored cannot be recovered, only replaced. To rotate a key, make the new one, switch the integration over to it, then delete the old one. Only a person signed in on widgetic.com can make a key: a request made with an API key, or with an SDK token, is refused with 403. That way a leaked key cannot be used to make a second one that survives its revocation. Make keys from the dashboard; a key can still list, rename, switch off and delete keys. An `Idempotency-Key` header is required (8 to 50 characters: letters, digits, `-` and `_`). A retry with the same header and the same body returns the same answer instead of making a second key, and the same header with a different body is refused with 422. Make keys one at a time: two requests for the same account that run at the same moment can overwrite each other. A key can be limited to what it needs. Send a `preset` (`read_only`, `content` or `full_access`) or a list of `scopes`, never both. Send neither for a key that can do everything its owner can, as every key made before scopes existed. A limited key is refused with 403 and the code `API_KEY_SCOPE_MISSING` on anything outside its scopes, so a key held by a build server or by a partner\'s backend can be given only the part of the API it uses. The scopes of a key are fixed when it is made: to widen one, make a new key and delete the old one. A limited key cannot make, change or delete keys, exchange tokens or reach the administration routes. The list of scopes is in the `ApiKeyScope` schema. An account can hold at most 25 keys. An account on a plan without API access cannot make one.
|
|
75
76
|
* Create an API key
|
|
76
77
|
*/
|
|
77
78
|
createUserApiKey(requestParameters: CreateUserApiKeyOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreatedUserApiKey>;
|
|
@@ -126,12 +127,12 @@ export declare class UsersApi extends runtime.BaseAPI {
|
|
|
126
127
|
*/
|
|
127
128
|
getUserApiKeyUsageLogs(requestParameters: GetUserApiKeyUsageLogsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetUserApiKeyUsageLogs200Response>;
|
|
128
129
|
/**
|
|
129
|
-
* Lists the API keys of an account, in the order they were made: name, the first characters of the key, when it was made, when it expires, when it was last used
|
|
130
|
+
* Lists the API keys of an account, in the order they were made: name, the first characters of the key, when it was made, when it expires, when it was last used, whether it is switched on and what it is limited to (`scopes` and `preset`). The secret of a key is never part of the list. A caller can list its own account\'s keys; Widgetic staff can list any account\'s.
|
|
130
131
|
* List the API keys of an account
|
|
131
132
|
*/
|
|
132
133
|
getUserApiKeysRaw(requestParameters: GetUserApiKeysRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetUserApiKeys200Response>>;
|
|
133
134
|
/**
|
|
134
|
-
* Lists the API keys of an account, in the order they were made: name, the first characters of the key, when it was made, when it expires, when it was last used
|
|
135
|
+
* Lists the API keys of an account, in the order they were made: name, the first characters of the key, when it was made, when it expires, when it was last used, whether it is switched on and what it is limited to (`scopes` and `preset`). The secret of a key is never part of the list. A caller can list its own account\'s keys; Widgetic staff can list any account\'s.
|
|
135
136
|
* List the API keys of an account
|
|
136
137
|
*/
|
|
137
138
|
getUserApiKeys(requestParameters: GetUserApiKeysRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetUserApiKeys200Response>;
|
|
@@ -146,12 +147,12 @@ export declare class UsersApi extends runtime.BaseAPI {
|
|
|
146
147
|
*/
|
|
147
148
|
updatePersonalWorkspaceDomain(requestParameters: UpdatePersonalWorkspaceDomainRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PersonalWorkspaceDomainResult>;
|
|
148
149
|
/**
|
|
149
|
-
* Renames a key, or switches it off (`isActive: false`) or back on. A key that is switched off is refused at once by the server that took the request and within a minute by the others, and can be switched on again; deleting is for a key that is not coming back. The secret and the
|
|
150
|
+
* Renames a key, or switches it off (`isActive: false`) or back on. A key that is switched off is refused at once by the server that took the request and within a minute by the others, and can be switched on again; deleting is for a key that is not coming back. The secret, the expiry and the scopes of a key cannot be changed. Only a key with full access can make these requests: a key limited to some scopes is refused with 403 and the code `API_KEY_SCOPE_MISSING`. Renaming and switching off can be done with an API key. Switching a key on needs a person signed in on widgetic.com: a request that asks for it with an API key or an SDK token is refused with 403, so a leaked key cannot bring a dormant key back to life.
|
|
150
151
|
* Rename an API key, or switch it off or on
|
|
151
152
|
*/
|
|
152
153
|
updateUserApiKeyRaw(requestParameters: UpdateUserApiKeyOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UserApiKey>>;
|
|
153
154
|
/**
|
|
154
|
-
* Renames a key, or switches it off (`isActive: false`) or back on. A key that is switched off is refused at once by the server that took the request and within a minute by the others, and can be switched on again; deleting is for a key that is not coming back. The secret and the
|
|
155
|
+
* Renames a key, or switches it off (`isActive: false`) or back on. A key that is switched off is refused at once by the server that took the request and within a minute by the others, and can be switched on again; deleting is for a key that is not coming back. The secret, the expiry and the scopes of a key cannot be changed. Only a key with full access can make these requests: a key limited to some scopes is refused with 403 and the code `API_KEY_SCOPE_MISSING`. Renaming and switching off can be done with an API key. Switching a key on needs a person signed in on widgetic.com: a request that asks for it with an API key or an SDK token is refused with 403, so a leaked key cannot bring a dormant key back to life.
|
|
155
156
|
* Rename an API key, or switch it off or on
|
|
156
157
|
*/
|
|
157
158
|
updateUserApiKey(requestParameters: UpdateUserApiKeyOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserApiKey>;
|
package/dist/apis/UsersApi.js
CHANGED
|
@@ -30,7 +30,7 @@ const index_1 = require("../models/index");
|
|
|
30
30
|
*/
|
|
31
31
|
class UsersApi extends runtime.BaseAPI {
|
|
32
32
|
/**
|
|
33
|
-
* Adds a website to an account\'s own list. Give a website name such as `example.com`, or `*.example.com` for a website and all of its subdomains. A scheme, a port, a path, capital letters and a leading `www.` are dropped, so `https://www.Example.com/shop` is kept as `example.com`, and `example.com` covers `www.example.com` too. Something that is not a website name is refused, not stored. Until the first website is added nothing is restricted, and a widget can be shown anywhere. Once the list has one, a widget of the account is shown on the listed websites (and on Widgetic\'s own) and nowhere else.
|
|
33
|
+
* Adds a website to an account\'s own list. Give a website name such as `example.com`, or `*.example.com` for a website and all of its subdomains. A scheme, a port, a path, capital letters and a leading `www.` are dropped, so `https://www.Example.com/shop` is kept as `example.com`, and `example.com` covers `www.example.com` too. Something that is not a website name is refused, not stored. Until the first website is added nothing is restricted, and a widget can be shown anywhere. Once the list has one, a widget of the account is shown on the listed websites (and on Widgetic\'s own) and nowhere else. A page on your own machine (`localhost`, `127.0.0.1` or `[::1]`, on any port) is always allowed, so there is nothing to add to test locally. A change can take about 15 seconds to reach every server. The list is a safeguard against other websites showing your widgets in a visitor\'s browser. It is not access control: anyone who knows a widget\'s id can still fetch its published content with a plain request that names no website. An account can list at most 50 websites. Use `*.example.com` for a website and all of its subdomains instead of listing each one.
|
|
34
34
|
* Allow a website to show your widgets
|
|
35
35
|
*/
|
|
36
36
|
addPersonalWorkspaceDomainRaw(requestParameters, initOverrides) {
|
|
@@ -62,7 +62,7 @@ class UsersApi extends runtime.BaseAPI {
|
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
|
-
* Adds a website to an account\'s own list. Give a website name such as `example.com`, or `*.example.com` for a website and all of its subdomains. A scheme, a port, a path, capital letters and a leading `www.` are dropped, so `https://www.Example.com/shop` is kept as `example.com`, and `example.com` covers `www.example.com` too. Something that is not a website name is refused, not stored. Until the first website is added nothing is restricted, and a widget can be shown anywhere. Once the list has one, a widget of the account is shown on the listed websites (and on Widgetic\'s own) and nowhere else.
|
|
65
|
+
* Adds a website to an account\'s own list. Give a website name such as `example.com`, or `*.example.com` for a website and all of its subdomains. A scheme, a port, a path, capital letters and a leading `www.` are dropped, so `https://www.Example.com/shop` is kept as `example.com`, and `example.com` covers `www.example.com` too. Something that is not a website name is refused, not stored. Until the first website is added nothing is restricted, and a widget can be shown anywhere. Once the list has one, a widget of the account is shown on the listed websites (and on Widgetic\'s own) and nowhere else. A page on your own machine (`localhost`, `127.0.0.1` or `[::1]`, on any port) is always allowed, so there is nothing to add to test locally. A change can take about 15 seconds to reach every server. The list is a safeguard against other websites showing your widgets in a visitor\'s browser. It is not access control: anyone who knows a widget\'s id can still fetch its published content with a plain request that names no website. An account can list at most 50 websites. Use `*.example.com` for a website and all of its subdomains instead of listing each one.
|
|
66
66
|
* Allow a website to show your widgets
|
|
67
67
|
*/
|
|
68
68
|
addPersonalWorkspaceDomain(requestParameters, initOverrides) {
|
|
@@ -72,7 +72,7 @@ class UsersApi extends runtime.BaseAPI {
|
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
74
|
/**
|
|
75
|
-
* Makes a new API key for an account and returns its secret in `key`. That is the only time the secret is shown: Widgetic keeps a hash, so a key that was not stored cannot be recovered, only replaced. To rotate a key, make the new one, switch the integration over to it, then delete the old one. Only a person signed in on widgetic.com can make a key: a request made with an API key, or with an SDK token, is refused with 403. That way a leaked key cannot be used to make a second one that survives its revocation. Make keys from the dashboard; a key can still list, rename, switch off and delete keys. An `Idempotency-Key` header is required (8 to 50 characters: letters, digits, `-` and `_`). A retry with the same header and the same body returns the same answer instead of making a second key, and the same header with a different body is refused with 422. Make keys one at a time: two requests for the same account that run at the same moment can overwrite each other. An account can hold at most 25 keys. An account on a plan without API access cannot make one.
|
|
75
|
+
* Makes a new API key for an account and returns its secret in `key`. That is the only time the secret is shown: Widgetic keeps a hash, so a key that was not stored cannot be recovered, only replaced. To rotate a key, make the new one, switch the integration over to it, then delete the old one. Only a person signed in on widgetic.com can make a key: a request made with an API key, or with an SDK token, is refused with 403. That way a leaked key cannot be used to make a second one that survives its revocation. Make keys from the dashboard; a key can still list, rename, switch off and delete keys. An `Idempotency-Key` header is required (8 to 50 characters: letters, digits, `-` and `_`). A retry with the same header and the same body returns the same answer instead of making a second key, and the same header with a different body is refused with 422. Make keys one at a time: two requests for the same account that run at the same moment can overwrite each other. A key can be limited to what it needs. Send a `preset` (`read_only`, `content` or `full_access`) or a list of `scopes`, never both. Send neither for a key that can do everything its owner can, as every key made before scopes existed. A limited key is refused with 403 and the code `API_KEY_SCOPE_MISSING` on anything outside its scopes, so a key held by a build server or by a partner\'s backend can be given only the part of the API it uses. The scopes of a key are fixed when it is made: to widen one, make a new key and delete the old one. A limited key cannot make, change or delete keys, exchange tokens or reach the administration routes. The list of scopes is in the `ApiKeyScope` schema. An account can hold at most 25 keys. An account on a plan without API access cannot make one.
|
|
76
76
|
* Create an API key
|
|
77
77
|
*/
|
|
78
78
|
createUserApiKeyRaw(requestParameters, initOverrides) {
|
|
@@ -86,6 +86,9 @@ class UsersApi extends runtime.BaseAPI {
|
|
|
86
86
|
const queryParameters = {};
|
|
87
87
|
const headerParameters = {};
|
|
88
88
|
headerParameters['Content-Type'] = 'application/json';
|
|
89
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
90
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
91
|
+
}
|
|
89
92
|
if (this.configuration && this.configuration.accessToken) {
|
|
90
93
|
const token = this.configuration.accessToken;
|
|
91
94
|
const tokenString = yield token("apiKeyAuth", []);
|
|
@@ -104,7 +107,7 @@ class UsersApi extends runtime.BaseAPI {
|
|
|
104
107
|
});
|
|
105
108
|
}
|
|
106
109
|
/**
|
|
107
|
-
* Makes a new API key for an account and returns its secret in `key`. That is the only time the secret is shown: Widgetic keeps a hash, so a key that was not stored cannot be recovered, only replaced. To rotate a key, make the new one, switch the integration over to it, then delete the old one. Only a person signed in on widgetic.com can make a key: a request made with an API key, or with an SDK token, is refused with 403. That way a leaked key cannot be used to make a second one that survives its revocation. Make keys from the dashboard; a key can still list, rename, switch off and delete keys. An `Idempotency-Key` header is required (8 to 50 characters: letters, digits, `-` and `_`). A retry with the same header and the same body returns the same answer instead of making a second key, and the same header with a different body is refused with 422. Make keys one at a time: two requests for the same account that run at the same moment can overwrite each other. An account can hold at most 25 keys. An account on a plan without API access cannot make one.
|
|
110
|
+
* Makes a new API key for an account and returns its secret in `key`. That is the only time the secret is shown: Widgetic keeps a hash, so a key that was not stored cannot be recovered, only replaced. To rotate a key, make the new one, switch the integration over to it, then delete the old one. Only a person signed in on widgetic.com can make a key: a request made with an API key, or with an SDK token, is refused with 403. That way a leaked key cannot be used to make a second one that survives its revocation. Make keys from the dashboard; a key can still list, rename, switch off and delete keys. An `Idempotency-Key` header is required (8 to 50 characters: letters, digits, `-` and `_`). A retry with the same header and the same body returns the same answer instead of making a second key, and the same header with a different body is refused with 422. Make keys one at a time: two requests for the same account that run at the same moment can overwrite each other. A key can be limited to what it needs. Send a `preset` (`read_only`, `content` or `full_access`) or a list of `scopes`, never both. Send neither for a key that can do everything its owner can, as every key made before scopes existed. A limited key is refused with 403 and the code `API_KEY_SCOPE_MISSING` on anything outside its scopes, so a key held by a build server or by a partner\'s backend can be given only the part of the API it uses. The scopes of a key are fixed when it is made: to widen one, make a new key and delete the old one. A limited key cannot make, change or delete keys, exchange tokens or reach the administration routes. The list of scopes is in the `ApiKeyScope` schema. An account can hold at most 25 keys. An account on a plan without API access cannot make one.
|
|
108
111
|
* Create an API key
|
|
109
112
|
*/
|
|
110
113
|
createUserApiKey(requestParameters, initOverrides) {
|
|
@@ -307,7 +310,7 @@ class UsersApi extends runtime.BaseAPI {
|
|
|
307
310
|
});
|
|
308
311
|
}
|
|
309
312
|
/**
|
|
310
|
-
* Lists the API keys of an account, in the order they were made: name, the first characters of the key, when it was made, when it expires, when it was last used
|
|
313
|
+
* Lists the API keys of an account, in the order they were made: name, the first characters of the key, when it was made, when it expires, when it was last used, whether it is switched on and what it is limited to (`scopes` and `preset`). The secret of a key is never part of the list. A caller can list its own account\'s keys; Widgetic staff can list any account\'s.
|
|
311
314
|
* List the API keys of an account
|
|
312
315
|
*/
|
|
313
316
|
getUserApiKeysRaw(requestParameters, initOverrides) {
|
|
@@ -334,7 +337,7 @@ class UsersApi extends runtime.BaseAPI {
|
|
|
334
337
|
});
|
|
335
338
|
}
|
|
336
339
|
/**
|
|
337
|
-
* Lists the API keys of an account, in the order they were made: name, the first characters of the key, when it was made, when it expires, when it was last used
|
|
340
|
+
* Lists the API keys of an account, in the order they were made: name, the first characters of the key, when it was made, when it expires, when it was last used, whether it is switched on and what it is limited to (`scopes` and `preset`). The secret of a key is never part of the list. A caller can list its own account\'s keys; Widgetic staff can list any account\'s.
|
|
338
341
|
* List the API keys of an account
|
|
339
342
|
*/
|
|
340
343
|
getUserApiKeys(requestParameters, initOverrides) {
|
|
@@ -389,7 +392,7 @@ class UsersApi extends runtime.BaseAPI {
|
|
|
389
392
|
});
|
|
390
393
|
}
|
|
391
394
|
/**
|
|
392
|
-
* Renames a key, or switches it off (`isActive: false`) or back on. A key that is switched off is refused at once by the server that took the request and within a minute by the others, and can be switched on again; deleting is for a key that is not coming back. The secret and the
|
|
395
|
+
* Renames a key, or switches it off (`isActive: false`) or back on. A key that is switched off is refused at once by the server that took the request and within a minute by the others, and can be switched on again; deleting is for a key that is not coming back. The secret, the expiry and the scopes of a key cannot be changed. Only a key with full access can make these requests: a key limited to some scopes is refused with 403 and the code `API_KEY_SCOPE_MISSING`. Renaming and switching off can be done with an API key. Switching a key on needs a person signed in on widgetic.com: a request that asks for it with an API key or an SDK token is refused with 403, so a leaked key cannot bring a dormant key back to life.
|
|
393
396
|
* Rename an API key, or switch it off or on
|
|
394
397
|
*/
|
|
395
398
|
updateUserApiKeyRaw(requestParameters, initOverrides) {
|
|
@@ -424,7 +427,7 @@ class UsersApi extends runtime.BaseAPI {
|
|
|
424
427
|
});
|
|
425
428
|
}
|
|
426
429
|
/**
|
|
427
|
-
* Renames a key, or switches it off (`isActive: false`) or back on. A key that is switched off is refused at once by the server that took the request and within a minute by the others, and can be switched on again; deleting is for a key that is not coming back. The secret and the
|
|
430
|
+
* Renames a key, or switches it off (`isActive: false`) or back on. A key that is switched off is refused at once by the server that took the request and within a minute by the others, and can be switched on again; deleting is for a key that is not coming back. The secret, the expiry and the scopes of a key cannot be changed. Only a key with full access can make these requests: a key limited to some scopes is refused with 403 and the code `API_KEY_SCOPE_MISSING`. Renaming and switching off can be done with an API key. Switching a key on needs a person signed in on widgetic.com: a request that asks for it with an API key or an SDK token is refused with 403, so a leaked key cannot bring a dormant key back to life.
|
|
428
431
|
* Rename an API key, or switch it off or on
|
|
429
432
|
*/
|
|
430
433
|
updateUserApiKey(requestParameters, initOverrides) {
|
|
@@ -14,9 +14,11 @@ import type { HandleMarketplaceWebhook200Response, HandleTriggerDevUploadComplet
|
|
|
14
14
|
export interface HandleMarketplaceWebhookRequest {
|
|
15
15
|
marketplace: string;
|
|
16
16
|
body: object;
|
|
17
|
+
idempotencyKey?: string;
|
|
17
18
|
}
|
|
18
19
|
export interface HandleTriggerDevUploadCompleteOperationRequest {
|
|
19
20
|
handleTriggerDevUploadCompleteRequest: HandleTriggerDevUploadCompleteRequest;
|
|
21
|
+
idempotencyKey?: string;
|
|
20
22
|
}
|
|
21
23
|
/**
|
|
22
24
|
*
|
package/dist/apis/WebhooksApi.js
CHANGED
|
@@ -44,6 +44,9 @@ class WebhooksApi extends runtime.BaseAPI {
|
|
|
44
44
|
const queryParameters = {};
|
|
45
45
|
const headerParameters = {};
|
|
46
46
|
headerParameters['Content-Type'] = 'application/json';
|
|
47
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
48
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
49
|
+
}
|
|
47
50
|
const response = yield this.request({
|
|
48
51
|
path: `/webhooks/marketplace/{marketplace}`.replace(`{${"marketplace"}}`, encodeURIComponent(String(requestParameters['marketplace']))),
|
|
49
52
|
method: 'POST',
|
|
@@ -76,6 +79,9 @@ class WebhooksApi extends runtime.BaseAPI {
|
|
|
76
79
|
const queryParameters = {};
|
|
77
80
|
const headerParameters = {};
|
|
78
81
|
headerParameters['Content-Type'] = 'application/json';
|
|
82
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
83
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
84
|
+
}
|
|
79
85
|
const response = yield this.request({
|
|
80
86
|
path: `/webhooks/triggerdev/upload-complete`,
|
|
81
87
|
method: 'POST',
|
|
@@ -15,8 +15,8 @@ export interface CheckWidgetAccessRequest {
|
|
|
15
15
|
id: string;
|
|
16
16
|
}
|
|
17
17
|
export interface CreateWidgetRequest {
|
|
18
|
-
idempotencyKey: string;
|
|
19
18
|
newWidget: NewWidget;
|
|
19
|
+
idempotencyKey?: string;
|
|
20
20
|
}
|
|
21
21
|
export interface DeleteWidgetOperationRequest {
|
|
22
22
|
id: string;
|
|
@@ -27,6 +27,7 @@ export interface DetachWidgetRequest {
|
|
|
27
27
|
}
|
|
28
28
|
export interface DuplicateWidgetOperationRequest {
|
|
29
29
|
id: string;
|
|
30
|
+
idempotencyKey?: string;
|
|
30
31
|
duplicateWidgetRequest?: DuplicateWidgetRequest;
|
|
31
32
|
}
|
|
32
33
|
export interface GetWidgetContentSchemaRequest {
|
package/dist/apis/WidgetsApi.js
CHANGED
|
@@ -72,9 +72,6 @@ class WidgetsApi extends runtime.BaseAPI {
|
|
|
72
72
|
*/
|
|
73
73
|
createWidgetRaw(requestParameters, initOverrides) {
|
|
74
74
|
return __awaiter(this, void 0, void 0, function* () {
|
|
75
|
-
if (requestParameters['idempotencyKey'] == null) {
|
|
76
|
-
throw new runtime.RequiredError('idempotencyKey', 'Required parameter "idempotencyKey" was null or undefined when calling createWidget().');
|
|
77
|
-
}
|
|
78
75
|
if (requestParameters['newWidget'] == null) {
|
|
79
76
|
throw new runtime.RequiredError('newWidget', 'Required parameter "newWidget" was null or undefined when calling createWidget().');
|
|
80
77
|
}
|
|
@@ -204,6 +201,9 @@ class WidgetsApi extends runtime.BaseAPI {
|
|
|
204
201
|
const queryParameters = {};
|
|
205
202
|
const headerParameters = {};
|
|
206
203
|
headerParameters['Content-Type'] = 'application/json';
|
|
204
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
205
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
206
|
+
}
|
|
207
207
|
if (this.configuration && this.configuration.accessToken) {
|
|
208
208
|
const token = this.configuration.accessToken;
|
|
209
209
|
const tokenString = yield token("bearerAuth", []);
|
|
@@ -18,6 +18,7 @@ export interface CheckWorkspaceABTestAutoStop0Request {
|
|
|
18
18
|
export interface CreateWorkspaceABTest0Request {
|
|
19
19
|
workspaceId: string;
|
|
20
20
|
createABTestRequest: CreateABTestRequest;
|
|
21
|
+
idempotencyKey?: string;
|
|
21
22
|
}
|
|
22
23
|
export interface DeleteWorkspaceABTest0Request {
|
|
23
24
|
workspaceId: string;
|
|
@@ -42,37 +43,45 @@ export interface ListWorkspaceABTests0Request {
|
|
|
42
43
|
export interface PauseWorkspaceABTest0Request {
|
|
43
44
|
workspaceId: string;
|
|
44
45
|
testId: string;
|
|
46
|
+
idempotencyKey?: string;
|
|
45
47
|
}
|
|
46
48
|
export interface SetWorkspaceABTestDuration0Request {
|
|
47
49
|
workspaceId: string;
|
|
48
50
|
testId: string;
|
|
49
51
|
setWorkspaceABTestDurationRequest: SetWorkspaceABTestDurationRequest;
|
|
52
|
+
idempotencyKey?: string;
|
|
50
53
|
}
|
|
51
54
|
export interface StartWorkspaceABTest0Request {
|
|
52
55
|
workspaceId: string;
|
|
53
56
|
testId: string;
|
|
57
|
+
idempotencyKey?: string;
|
|
54
58
|
}
|
|
55
59
|
export interface StopWorkspaceABTest0Request {
|
|
56
60
|
workspaceId: string;
|
|
57
61
|
testId: string;
|
|
62
|
+
idempotencyKey?: string;
|
|
58
63
|
stopWorkspaceABTestRequest?: StopWorkspaceABTestRequest;
|
|
59
64
|
}
|
|
60
65
|
export interface UpdateWorkspaceABTest0Request {
|
|
61
66
|
workspaceId: string;
|
|
62
67
|
testId: string;
|
|
63
68
|
updateABTestRequest: UpdateABTestRequest;
|
|
69
|
+
idempotencyKey?: string;
|
|
64
70
|
}
|
|
65
71
|
export interface ValidateWorkspaceCompositionDeletion0Request {
|
|
66
72
|
workspaceId: string;
|
|
67
73
|
validateWorkspaceCompositionDeletionRequest: ValidateWorkspaceCompositionDeletionRequest;
|
|
74
|
+
idempotencyKey?: string;
|
|
68
75
|
}
|
|
69
76
|
export interface ValidateWorkspaceGoalTracking0Request {
|
|
70
77
|
workspaceId: string;
|
|
71
78
|
validateWorkspaceGoalTrackingRequest: ValidateWorkspaceGoalTrackingRequest;
|
|
79
|
+
idempotencyKey?: string;
|
|
72
80
|
}
|
|
73
81
|
export interface ValidateWorkspaceWidgetDeletion0Request {
|
|
74
82
|
workspaceId: string;
|
|
75
83
|
validateWorkspaceWidgetDeletionRequest: ValidateWorkspaceWidgetDeletionRequest;
|
|
84
|
+
idempotencyKey?: string;
|
|
76
85
|
}
|
|
77
86
|
/**
|
|
78
87
|
*
|