@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
|
@@ -13,14 +13,17 @@ import * as runtime from '../runtime';
|
|
|
13
13
|
import type { CopyMyPresetRequest, CopyPartnerPresetRequest, EditorSession, GetAllManagedUsers200Response, GetManagedUsersByManagerId200Response, ListMyPresets200Response, ManagedUser, ManagedUserUsage, MyPresetCopy, NewEditorSession, NewManagedUser, PartnerPresetCopy, RevokeManagedUserEditorSessions200Response, UpdateManagedUser } from '../models/index';
|
|
14
14
|
export interface CopyMyPresetOperationRequest {
|
|
15
15
|
copyMyPresetRequest: CopyMyPresetRequest;
|
|
16
|
+
idempotencyKey?: string;
|
|
16
17
|
}
|
|
17
18
|
export interface CopyPresetForManagedUserRequest {
|
|
18
19
|
id: string;
|
|
19
20
|
key: string;
|
|
21
|
+
idempotencyKey?: string;
|
|
20
22
|
copyPartnerPresetRequest?: CopyPartnerPresetRequest;
|
|
21
23
|
}
|
|
22
24
|
export interface CreateManagedUserRequest {
|
|
23
25
|
newManagedUser: NewManagedUser;
|
|
26
|
+
idempotencyKey?: string;
|
|
24
27
|
}
|
|
25
28
|
export interface CreateManagedUserEditorSessionRequest {
|
|
26
29
|
id: string;
|
|
@@ -58,6 +61,7 @@ export interface RevokeManagedUserEditorSessionsRequest {
|
|
|
58
61
|
export interface UpdateManagedUserRequest {
|
|
59
62
|
id: string;
|
|
60
63
|
updateManagedUser: UpdateManagedUser;
|
|
64
|
+
idempotencyKey?: string;
|
|
61
65
|
}
|
|
62
66
|
/**
|
|
63
67
|
*
|
|
@@ -94,12 +98,12 @@ export declare class ManagedUsersApi extends runtime.BaseAPI {
|
|
|
94
98
|
*/
|
|
95
99
|
createManagedUser(requestParameters: CreateManagedUserRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ManagedUser>;
|
|
96
100
|
/**
|
|
97
|
-
* Makes a short-lived credential that lets the browser of ONE of your managed users use Widgetic\'s editor pieces, such as the File Browser and the composition editor, without your API key ever reaching that browser. Call this from your server when the page that hosts the editor opens, and hand the `token` in the answer to that page. The token is shown once. It starts with `wgt_ses_` and the browser sends it as `Authorization: Bearer <token>`. It can do only what the `surfaces` you name allow, and only for this managed user: - `files`: upload a file (`uploadsPost`) and list the files uploaded for this user (`uploadsGet`). Every file is filed for this user and stored in your own storage destination, never in Widgetic\'s: a file a customer uploads is yours to keep, and takes none of your storage allowance. Partner storage is not optional, so no session, whatever its surfaces, can be made until you have set a destination (`setPartnerStorageDestination`); until then it is refused with 409 and `PARTNER_STORAGE_REQUIRED`, and when the destination cannot be used with 503 and `STORAGE_DESTINATION_UNAVAILABLE`. A destination you remove after the session was made stops its uploads too (the same 409; the browser is only told that the feature is not available right now). To keep a customer from uploading, leave `files` out of the session and hand the editors your own media library instead (`mediaLibrary`). - `editor`: edit one of this user\'s compositions: read it (`getCompositionById`, its content, design, embed settings and schemas), check a content change (`validateCompositionContent`), and change its name, content, design and embed settings (`updateComposition`, `setDynamicContent`). It can reach only compositions you created for this managed user (tag them with `managedUserId` when you create them); any other composition, including another of your users\', answers 404. - `creator`: use Widgetic\'s widget creator for this user, including its AI. Draw on canvases and save them (`getAllCanvases`, `getCanvas`, `createCanvas`, `updateCanvas`, `previewDeleteCanvas`, `deleteCanvas`); make, change, copy and delete the widgets on them (`createWidget`, `getWidgets`, `getWidgetsBatch`, `updateWidget`, `uploadWidgetThumbnail`, `duplicateWidget`, `deleteWidget`); list and make the compositions of a widget it built (`getAllCompositions`, `createComposition`), which is how it shows the widget with sample values; read and add their components (`getComponentsByWidgetId`, `createComponent`); keep the conversation of each widget (`getConversationsByWidgetId`, `createConversationForWidget`, `updateConversation`, `getMessages`, `createMessage`, `updateMessage`, `restoreCheckpoint`); and read a widget\'s schemas and give it its repository (`getWidgetContentSchema`, `getWidgetDesignSchema`, `updateWidgetRepository`). The AI that builds a widget is part of it: list the models (`agentModelsGet`), open the widget\'s repository (`agentRepositoriesPost`, `agentRepositoriesRepoIdGet`), start a generation and follow or cancel it (`agentCodeGeneratePost`, `operationsStreamGet`, `operationsIdGet`, `operationsIdCancelPost`), build and preview the result (`agentWidgetBuilderRepoHeadWidgetIdGet`, `buildWidgetFromRepo`, `previewWidgetVersion`), publish a version of the widget and move between its versions (`agentWidgetBuilderPublishWidgetIdPost`, `getWidgetPublishHistory`, `setWidgetPublishHistoryLive`, `renameWidgetPublishHistoryTitle`), and turn a stroke or a sentence into a decision (`agentShapeRecognizePost`, `agentDesignResolvePost`). It can also offer the customer your presets as starting points: read them and ask for a copy for this customer (`listMyPresets`, `copyMyPreset`; you choose the presets with `setPartnerPreset`). What the session makes is filed for this managed user, and the lists it reads hold only this user\'s canvases, widgets and compositions. It can reach only canvases, widgets, compositions, repositories, uploaded files and operations made for this managed user (tag the canvases and widgets you create with `managedUserId`); any other canvas, widget, composition, conversation, message, repository, file or operation, including another of your users\', answers 404. The creator also saves the composition it is editing (`updateComposition`, from the `editor` surface) and attaches pictures to its chat (`uploadsPost`, from the `files` surface), and the surfaces do not imply one another: to open the whole creator for a user, ask for `creator`, `editor` and `files` together. A generation or a build one user starts can be followed and cancelled by that user and by you, never by another of your users. The AI is paid for by your account, as your own calls are: its credits and allowances are yours. A session cannot make a widget public (publishing a version does not), file one under a project or an organization, or set anything the creator does not set: a body with another field is refused with 403 and `EDITOR_SESSION_FIELD_NOT_ALLOWED`. Everything else is refused with 403 and `EDITOR_SESSION_ROUTE_NOT_ALLOWED`: a session cannot read your account, make more sessions, change your presets or delete a composition, and a session without the `creator` surface cannot create or list compositions. Create the composition yourself with your API key, then open the editor on it. A session ends at `expiresAt` (at most four hours), when you end it (`revokeManagedUserEditorSession`), or when the managed user is switched off or deleted. A managed user can have at most 100 live sessions at once (`429 EDITOR_SESSION_LIMIT_REACHED`). A session that is bound to a web page (`allowed_origin`) is refused from any other origin. The AI the session runs is paid for with your credits. Set `max_credits` to hold the session to a number of them: once its generations have taken that many (a generation that fails is refunded and does not count), the next one is refused with 402 and `EDITOR_SESSION_CREDIT_LIMIT_REACHED`, and the browser is told only that the feature is not available right now. Without it, the credits of your account are the only ceiling. What each of your users\' sessions has spent is in `getManagedUserUsage`. Each call makes a new session. It does not take an `Idempotency-Key`: the answer holds the token, and the token is never stored where a retry could read it back. The answer is sent with `Cache-Control: no-store`.
|
|
101
|
+
* Makes a short-lived credential that lets the browser of ONE of your managed users use Widgetic\'s editor pieces, such as the File Browser and the composition editor, without your API key ever reaching that browser. Call this from your server when the page that hosts the editor opens, and hand the `token` in the answer to that page. The token is shown once. It starts with `wgt_ses_` and the browser sends it as `Authorization: Bearer <token>`. It can do only what the `surfaces` you name allow, and only for this managed user: - `files`: upload a file (`uploadsPost`) and list the files uploaded for this user (`uploadsGet`). Every file is filed for this user and stored in your own storage destination, never in Widgetic\'s: a file a customer uploads is yours to keep, and takes none of your storage allowance. Partner storage is not optional, so no session, whatever its surfaces, can be made until you have set a destination (`setPartnerStorageDestination`); until then it is refused with 409 and `PARTNER_STORAGE_REQUIRED`, and when the destination cannot be used with 503 and `STORAGE_DESTINATION_UNAVAILABLE`. A destination you remove after the session was made stops its uploads too (the same 409; the browser is only told that the feature is not available right now). To keep a customer from uploading, leave `files` out of the session and hand the editors your own media library instead (`mediaLibrary`). - `editor`: edit one of this user\'s compositions: read it (`getCompositionById`, its content, design, embed settings and schemas), check a content change (`validateCompositionContent`), and change its name, content, design and embed settings (`updateComposition`, `setDynamicContent`). It can reach only compositions you created for this managed user (tag them with `managedUserId` when you create them); any other composition, including another of your users\', answers 404. - `creator`: use Widgetic\'s widget creator for this user, including its AI. Draw on canvases and save them (`getAllCanvases`, `getCanvas`, `createCanvas`, `updateCanvas`, `previewDeleteCanvas`, `deleteCanvas`); make, change, copy and delete the widgets on them (`createWidget`, `getWidgets`, `getWidgetsBatch`, `updateWidget`, `uploadWidgetThumbnail`, `duplicateWidget`, `deleteWidget`); list and make the compositions of a widget it built (`getAllCompositions`, `createComposition`), which is how it shows the widget with sample values; read and add their components (`getComponentsByWidgetId`, `createComponent`); keep the conversation of each widget (`getConversationsByWidgetId`, `createConversationForWidget`, `updateConversation`, `getMessages`, `createMessage`, `updateMessage`, `restoreCheckpoint`); and read a widget\'s schemas and give it its repository (`getWidgetContentSchema`, `getWidgetDesignSchema`, `updateWidgetRepository`). The AI that builds a widget is part of it: list the models (`agentModelsGet`), open the widget\'s repository (`agentRepositoriesPost`, `agentRepositoriesRepoIdGet`), start a generation and follow or cancel it (`agentCodeGeneratePost`, `operationsStreamGet`, `operationsIdGet`, `operationsIdCancelPost`), build and preview the result (`agentWidgetBuilderRepoHeadWidgetIdGet`, `buildWidgetFromRepo`, `previewWidgetVersion`), publish a version of the widget and move between its versions (`agentWidgetBuilderPublishWidgetIdPost`, `getWidgetPublishHistory`, `setWidgetPublishHistoryLive`, `renameWidgetPublishHistoryTitle`), and turn a stroke or a sentence into a decision (`agentShapeRecognizePost`, `agentDesignResolvePost`). It can also offer the customer your presets as starting points: read them and ask for a copy for this customer (`listMyPresets`, `copyMyPreset`; you choose the presets with `setPartnerPreset`). What the session makes is filed for this managed user, and the lists it reads hold only this user\'s canvases, widgets and compositions. It can reach only canvases, widgets, compositions, repositories, uploaded files and operations made for this managed user (tag the canvases and widgets you create with `managedUserId`); any other canvas, widget, composition, conversation, message, repository, file or operation, including another of your users\', answers 404. The creator also saves the composition it is editing (`updateComposition`, from the `editor` surface) and attaches pictures to its chat (`uploadsPost`, from the `files` surface), and the surfaces do not imply one another: to open the whole creator for a user, ask for `creator`, `editor` and `files` together. A generation or a build one user starts can be followed and cancelled by that user and by you, never by another of your users. The AI is paid for by your account, as your own calls are: its credits and allowances are yours. A session cannot make a widget public (publishing a version does not), file one under a project or an organization, or set anything the creator does not set: a body with another field is refused with 403 and `EDITOR_SESSION_FIELD_NOT_ALLOWED`. Everything else is refused with 403 and `EDITOR_SESSION_ROUTE_NOT_ALLOWED`: a session cannot read your account, make more sessions, change your presets or delete a composition, and a session without the `creator` surface cannot create or list compositions. Create the composition yourself with your API key, then open the editor on it. A session ends at `expiresAt` (at most four hours), when you end it (`revokeManagedUserEditorSession`), or when the managed user is switched off or deleted. A managed user can have at most 100 live sessions at once (`429 EDITOR_SESSION_LIMIT_REACHED`). A session that is bound to a web page (`allowed_origin`) is refused from any other origin. The AI the session runs is paid for with your credits. Set `max_credits` to hold the session to a number of them: once its generations have taken that many (a generation that fails is refunded and does not count), the next one is refused with 402 and `EDITOR_SESSION_CREDIT_LIMIT_REACHED`, and the browser is told only that the feature is not available right now. Without it, the limit Widgetic has set for your account applies when it has set one (the same limit for every session you make, and `max_credits: null` asks for none), and otherwise the credits of your account are the only ceiling. What each of your users\' sessions has spent is in `getManagedUserUsage`. Each call makes a new session. It does not take an `Idempotency-Key`: the answer holds the token, and the token is never stored where a retry could read it back. The answer is sent with `Cache-Control: no-store`.
|
|
98
102
|
* Create an editor session for a managed user
|
|
99
103
|
*/
|
|
100
104
|
createManagedUserEditorSessionRaw(requestParameters: CreateManagedUserEditorSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<EditorSession>>;
|
|
101
105
|
/**
|
|
102
|
-
* Makes a short-lived credential that lets the browser of ONE of your managed users use Widgetic\'s editor pieces, such as the File Browser and the composition editor, without your API key ever reaching that browser. Call this from your server when the page that hosts the editor opens, and hand the `token` in the answer to that page. The token is shown once. It starts with `wgt_ses_` and the browser sends it as `Authorization: Bearer <token>`. It can do only what the `surfaces` you name allow, and only for this managed user: - `files`: upload a file (`uploadsPost`) and list the files uploaded for this user (`uploadsGet`). Every file is filed for this user and stored in your own storage destination, never in Widgetic\'s: a file a customer uploads is yours to keep, and takes none of your storage allowance. Partner storage is not optional, so no session, whatever its surfaces, can be made until you have set a destination (`setPartnerStorageDestination`); until then it is refused with 409 and `PARTNER_STORAGE_REQUIRED`, and when the destination cannot be used with 503 and `STORAGE_DESTINATION_UNAVAILABLE`. A destination you remove after the session was made stops its uploads too (the same 409; the browser is only told that the feature is not available right now). To keep a customer from uploading, leave `files` out of the session and hand the editors your own media library instead (`mediaLibrary`). - `editor`: edit one of this user\'s compositions: read it (`getCompositionById`, its content, design, embed settings and schemas), check a content change (`validateCompositionContent`), and change its name, content, design and embed settings (`updateComposition`, `setDynamicContent`). It can reach only compositions you created for this managed user (tag them with `managedUserId` when you create them); any other composition, including another of your users\', answers 404. - `creator`: use Widgetic\'s widget creator for this user, including its AI. Draw on canvases and save them (`getAllCanvases`, `getCanvas`, `createCanvas`, `updateCanvas`, `previewDeleteCanvas`, `deleteCanvas`); make, change, copy and delete the widgets on them (`createWidget`, `getWidgets`, `getWidgetsBatch`, `updateWidget`, `uploadWidgetThumbnail`, `duplicateWidget`, `deleteWidget`); list and make the compositions of a widget it built (`getAllCompositions`, `createComposition`), which is how it shows the widget with sample values; read and add their components (`getComponentsByWidgetId`, `createComponent`); keep the conversation of each widget (`getConversationsByWidgetId`, `createConversationForWidget`, `updateConversation`, `getMessages`, `createMessage`, `updateMessage`, `restoreCheckpoint`); and read a widget\'s schemas and give it its repository (`getWidgetContentSchema`, `getWidgetDesignSchema`, `updateWidgetRepository`). The AI that builds a widget is part of it: list the models (`agentModelsGet`), open the widget\'s repository (`agentRepositoriesPost`, `agentRepositoriesRepoIdGet`), start a generation and follow or cancel it (`agentCodeGeneratePost`, `operationsStreamGet`, `operationsIdGet`, `operationsIdCancelPost`), build and preview the result (`agentWidgetBuilderRepoHeadWidgetIdGet`, `buildWidgetFromRepo`, `previewWidgetVersion`), publish a version of the widget and move between its versions (`agentWidgetBuilderPublishWidgetIdPost`, `getWidgetPublishHistory`, `setWidgetPublishHistoryLive`, `renameWidgetPublishHistoryTitle`), and turn a stroke or a sentence into a decision (`agentShapeRecognizePost`, `agentDesignResolvePost`). It can also offer the customer your presets as starting points: read them and ask for a copy for this customer (`listMyPresets`, `copyMyPreset`; you choose the presets with `setPartnerPreset`). What the session makes is filed for this managed user, and the lists it reads hold only this user\'s canvases, widgets and compositions. It can reach only canvases, widgets, compositions, repositories, uploaded files and operations made for this managed user (tag the canvases and widgets you create with `managedUserId`); any other canvas, widget, composition, conversation, message, repository, file or operation, including another of your users\', answers 404. The creator also saves the composition it is editing (`updateComposition`, from the `editor` surface) and attaches pictures to its chat (`uploadsPost`, from the `files` surface), and the surfaces do not imply one another: to open the whole creator for a user, ask for `creator`, `editor` and `files` together. A generation or a build one user starts can be followed and cancelled by that user and by you, never by another of your users. The AI is paid for by your account, as your own calls are: its credits and allowances are yours. A session cannot make a widget public (publishing a version does not), file one under a project or an organization, or set anything the creator does not set: a body with another field is refused with 403 and `EDITOR_SESSION_FIELD_NOT_ALLOWED`. Everything else is refused with 403 and `EDITOR_SESSION_ROUTE_NOT_ALLOWED`: a session cannot read your account, make more sessions, change your presets or delete a composition, and a session without the `creator` surface cannot create or list compositions. Create the composition yourself with your API key, then open the editor on it. A session ends at `expiresAt` (at most four hours), when you end it (`revokeManagedUserEditorSession`), or when the managed user is switched off or deleted. A managed user can have at most 100 live sessions at once (`429 EDITOR_SESSION_LIMIT_REACHED`). A session that is bound to a web page (`allowed_origin`) is refused from any other origin. The AI the session runs is paid for with your credits. Set `max_credits` to hold the session to a number of them: once its generations have taken that many (a generation that fails is refunded and does not count), the next one is refused with 402 and `EDITOR_SESSION_CREDIT_LIMIT_REACHED`, and the browser is told only that the feature is not available right now. Without it, the credits of your account are the only ceiling. What each of your users\' sessions has spent is in `getManagedUserUsage`. Each call makes a new session. It does not take an `Idempotency-Key`: the answer holds the token, and the token is never stored where a retry could read it back. The answer is sent with `Cache-Control: no-store`.
|
|
106
|
+
* Makes a short-lived credential that lets the browser of ONE of your managed users use Widgetic\'s editor pieces, such as the File Browser and the composition editor, without your API key ever reaching that browser. Call this from your server when the page that hosts the editor opens, and hand the `token` in the answer to that page. The token is shown once. It starts with `wgt_ses_` and the browser sends it as `Authorization: Bearer <token>`. It can do only what the `surfaces` you name allow, and only for this managed user: - `files`: upload a file (`uploadsPost`) and list the files uploaded for this user (`uploadsGet`). Every file is filed for this user and stored in your own storage destination, never in Widgetic\'s: a file a customer uploads is yours to keep, and takes none of your storage allowance. Partner storage is not optional, so no session, whatever its surfaces, can be made until you have set a destination (`setPartnerStorageDestination`); until then it is refused with 409 and `PARTNER_STORAGE_REQUIRED`, and when the destination cannot be used with 503 and `STORAGE_DESTINATION_UNAVAILABLE`. A destination you remove after the session was made stops its uploads too (the same 409; the browser is only told that the feature is not available right now). To keep a customer from uploading, leave `files` out of the session and hand the editors your own media library instead (`mediaLibrary`). - `editor`: edit one of this user\'s compositions: read it (`getCompositionById`, its content, design, embed settings and schemas), check a content change (`validateCompositionContent`), and change its name, content, design and embed settings (`updateComposition`, `setDynamicContent`). It can reach only compositions you created for this managed user (tag them with `managedUserId` when you create them); any other composition, including another of your users\', answers 404. - `creator`: use Widgetic\'s widget creator for this user, including its AI. Draw on canvases and save them (`getAllCanvases`, `getCanvas`, `createCanvas`, `updateCanvas`, `previewDeleteCanvas`, `deleteCanvas`); make, change, copy and delete the widgets on them (`createWidget`, `getWidgets`, `getWidgetsBatch`, `updateWidget`, `uploadWidgetThumbnail`, `duplicateWidget`, `deleteWidget`); list and make the compositions of a widget it built (`getAllCompositions`, `createComposition`), which is how it shows the widget with sample values; read and add their components (`getComponentsByWidgetId`, `createComponent`); keep the conversation of each widget (`getConversationsByWidgetId`, `createConversationForWidget`, `updateConversation`, `getMessages`, `createMessage`, `updateMessage`, `restoreCheckpoint`); and read a widget\'s schemas and give it its repository (`getWidgetContentSchema`, `getWidgetDesignSchema`, `updateWidgetRepository`). The AI that builds a widget is part of it: list the models (`agentModelsGet`), open the widget\'s repository (`agentRepositoriesPost`, `agentRepositoriesRepoIdGet`), start a generation and follow or cancel it (`agentCodeGeneratePost`, `operationsStreamGet`, `operationsIdGet`, `operationsIdCancelPost`), build and preview the result (`agentWidgetBuilderRepoHeadWidgetIdGet`, `buildWidgetFromRepo`, `previewWidgetVersion`), publish a version of the widget and move between its versions (`agentWidgetBuilderPublishWidgetIdPost`, `getWidgetPublishHistory`, `setWidgetPublishHistoryLive`, `renameWidgetPublishHistoryTitle`), and turn a stroke or a sentence into a decision (`agentShapeRecognizePost`, `agentDesignResolvePost`). It can also offer the customer your presets as starting points: read them and ask for a copy for this customer (`listMyPresets`, `copyMyPreset`; you choose the presets with `setPartnerPreset`). What the session makes is filed for this managed user, and the lists it reads hold only this user\'s canvases, widgets and compositions. It can reach only canvases, widgets, compositions, repositories, uploaded files and operations made for this managed user (tag the canvases and widgets you create with `managedUserId`); any other canvas, widget, composition, conversation, message, repository, file or operation, including another of your users\', answers 404. The creator also saves the composition it is editing (`updateComposition`, from the `editor` surface) and attaches pictures to its chat (`uploadsPost`, from the `files` surface), and the surfaces do not imply one another: to open the whole creator for a user, ask for `creator`, `editor` and `files` together. A generation or a build one user starts can be followed and cancelled by that user and by you, never by another of your users. The AI is paid for by your account, as your own calls are: its credits and allowances are yours. A session cannot make a widget public (publishing a version does not), file one under a project or an organization, or set anything the creator does not set: a body with another field is refused with 403 and `EDITOR_SESSION_FIELD_NOT_ALLOWED`. Everything else is refused with 403 and `EDITOR_SESSION_ROUTE_NOT_ALLOWED`: a session cannot read your account, make more sessions, change your presets or delete a composition, and a session without the `creator` surface cannot create or list compositions. Create the composition yourself with your API key, then open the editor on it. A session ends at `expiresAt` (at most four hours), when you end it (`revokeManagedUserEditorSession`), or when the managed user is switched off or deleted. A managed user can have at most 100 live sessions at once (`429 EDITOR_SESSION_LIMIT_REACHED`). A session that is bound to a web page (`allowed_origin`) is refused from any other origin. The AI the session runs is paid for with your credits. Set `max_credits` to hold the session to a number of them: once its generations have taken that many (a generation that fails is refunded and does not count), the next one is refused with 402 and `EDITOR_SESSION_CREDIT_LIMIT_REACHED`, and the browser is told only that the feature is not available right now. Without it, the limit Widgetic has set for your account applies when it has set one (the same limit for every session you make, and `max_credits: null` asks for none), and otherwise the credits of your account are the only ceiling. What each of your users\' sessions has spent is in `getManagedUserUsage`. Each call makes a new session. It does not take an `Idempotency-Key`: the answer holds the token, and the token is never stored where a retry could read it back. The answer is sent with `Cache-Control: no-store`.
|
|
103
107
|
* Create an editor session for a managed user
|
|
104
108
|
*/
|
|
105
109
|
createManagedUserEditorSession(requestParameters: CreateManagedUserEditorSessionRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<EditorSession>;
|
|
@@ -41,6 +41,9 @@ class ManagedUsersApi 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", []);
|
|
@@ -83,6 +86,9 @@ class ManagedUsersApi 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("apiKeyAuth", []);
|
|
@@ -122,6 +128,9 @@ class ManagedUsersApi extends runtime.BaseAPI {
|
|
|
122
128
|
const queryParameters = {};
|
|
123
129
|
const headerParameters = {};
|
|
124
130
|
headerParameters['Content-Type'] = 'application/json';
|
|
131
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
132
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
133
|
+
}
|
|
125
134
|
if (this.configuration && this.configuration.accessToken) {
|
|
126
135
|
const token = this.configuration.accessToken;
|
|
127
136
|
const tokenString = yield token("apiKeyAuth", []);
|
|
@@ -150,7 +159,7 @@ class ManagedUsersApi extends runtime.BaseAPI {
|
|
|
150
159
|
});
|
|
151
160
|
}
|
|
152
161
|
/**
|
|
153
|
-
* Makes a short-lived credential that lets the browser of ONE of your managed users use Widgetic\'s editor pieces, such as the File Browser and the composition editor, without your API key ever reaching that browser. Call this from your server when the page that hosts the editor opens, and hand the `token` in the answer to that page. The token is shown once. It starts with `wgt_ses_` and the browser sends it as `Authorization: Bearer <token>`. It can do only what the `surfaces` you name allow, and only for this managed user: - `files`: upload a file (`uploadsPost`) and list the files uploaded for this user (`uploadsGet`). Every file is filed for this user and stored in your own storage destination, never in Widgetic\'s: a file a customer uploads is yours to keep, and takes none of your storage allowance. Partner storage is not optional, so no session, whatever its surfaces, can be made until you have set a destination (`setPartnerStorageDestination`); until then it is refused with 409 and `PARTNER_STORAGE_REQUIRED`, and when the destination cannot be used with 503 and `STORAGE_DESTINATION_UNAVAILABLE`. A destination you remove after the session was made stops its uploads too (the same 409; the browser is only told that the feature is not available right now). To keep a customer from uploading, leave `files` out of the session and hand the editors your own media library instead (`mediaLibrary`). - `editor`: edit one of this user\'s compositions: read it (`getCompositionById`, its content, design, embed settings and schemas), check a content change (`validateCompositionContent`), and change its name, content, design and embed settings (`updateComposition`, `setDynamicContent`). It can reach only compositions you created for this managed user (tag them with `managedUserId` when you create them); any other composition, including another of your users\', answers 404. - `creator`: use Widgetic\'s widget creator for this user, including its AI. Draw on canvases and save them (`getAllCanvases`, `getCanvas`, `createCanvas`, `updateCanvas`, `previewDeleteCanvas`, `deleteCanvas`); make, change, copy and delete the widgets on them (`createWidget`, `getWidgets`, `getWidgetsBatch`, `updateWidget`, `uploadWidgetThumbnail`, `duplicateWidget`, `deleteWidget`); list and make the compositions of a widget it built (`getAllCompositions`, `createComposition`), which is how it shows the widget with sample values; read and add their components (`getComponentsByWidgetId`, `createComponent`); keep the conversation of each widget (`getConversationsByWidgetId`, `createConversationForWidget`, `updateConversation`, `getMessages`, `createMessage`, `updateMessage`, `restoreCheckpoint`); and read a widget\'s schemas and give it its repository (`getWidgetContentSchema`, `getWidgetDesignSchema`, `updateWidgetRepository`). The AI that builds a widget is part of it: list the models (`agentModelsGet`), open the widget\'s repository (`agentRepositoriesPost`, `agentRepositoriesRepoIdGet`), start a generation and follow or cancel it (`agentCodeGeneratePost`, `operationsStreamGet`, `operationsIdGet`, `operationsIdCancelPost`), build and preview the result (`agentWidgetBuilderRepoHeadWidgetIdGet`, `buildWidgetFromRepo`, `previewWidgetVersion`), publish a version of the widget and move between its versions (`agentWidgetBuilderPublishWidgetIdPost`, `getWidgetPublishHistory`, `setWidgetPublishHistoryLive`, `renameWidgetPublishHistoryTitle`), and turn a stroke or a sentence into a decision (`agentShapeRecognizePost`, `agentDesignResolvePost`). It can also offer the customer your presets as starting points: read them and ask for a copy for this customer (`listMyPresets`, `copyMyPreset`; you choose the presets with `setPartnerPreset`). What the session makes is filed for this managed user, and the lists it reads hold only this user\'s canvases, widgets and compositions. It can reach only canvases, widgets, compositions, repositories, uploaded files and operations made for this managed user (tag the canvases and widgets you create with `managedUserId`); any other canvas, widget, composition, conversation, message, repository, file or operation, including another of your users\', answers 404. The creator also saves the composition it is editing (`updateComposition`, from the `editor` surface) and attaches pictures to its chat (`uploadsPost`, from the `files` surface), and the surfaces do not imply one another: to open the whole creator for a user, ask for `creator`, `editor` and `files` together. A generation or a build one user starts can be followed and cancelled by that user and by you, never by another of your users. The AI is paid for by your account, as your own calls are: its credits and allowances are yours. A session cannot make a widget public (publishing a version does not), file one under a project or an organization, or set anything the creator does not set: a body with another field is refused with 403 and `EDITOR_SESSION_FIELD_NOT_ALLOWED`. Everything else is refused with 403 and `EDITOR_SESSION_ROUTE_NOT_ALLOWED`: a session cannot read your account, make more sessions, change your presets or delete a composition, and a session without the `creator` surface cannot create or list compositions. Create the composition yourself with your API key, then open the editor on it. A session ends at `expiresAt` (at most four hours), when you end it (`revokeManagedUserEditorSession`), or when the managed user is switched off or deleted. A managed user can have at most 100 live sessions at once (`429 EDITOR_SESSION_LIMIT_REACHED`). A session that is bound to a web page (`allowed_origin`) is refused from any other origin. The AI the session runs is paid for with your credits. Set `max_credits` to hold the session to a number of them: once its generations have taken that many (a generation that fails is refunded and does not count), the next one is refused with 402 and `EDITOR_SESSION_CREDIT_LIMIT_REACHED`, and the browser is told only that the feature is not available right now. Without it, the credits of your account are the only ceiling. What each of your users\' sessions has spent is in `getManagedUserUsage`. Each call makes a new session. It does not take an `Idempotency-Key`: the answer holds the token, and the token is never stored where a retry could read it back. The answer is sent with `Cache-Control: no-store`.
|
|
162
|
+
* Makes a short-lived credential that lets the browser of ONE of your managed users use Widgetic\'s editor pieces, such as the File Browser and the composition editor, without your API key ever reaching that browser. Call this from your server when the page that hosts the editor opens, and hand the `token` in the answer to that page. The token is shown once. It starts with `wgt_ses_` and the browser sends it as `Authorization: Bearer <token>`. It can do only what the `surfaces` you name allow, and only for this managed user: - `files`: upload a file (`uploadsPost`) and list the files uploaded for this user (`uploadsGet`). Every file is filed for this user and stored in your own storage destination, never in Widgetic\'s: a file a customer uploads is yours to keep, and takes none of your storage allowance. Partner storage is not optional, so no session, whatever its surfaces, can be made until you have set a destination (`setPartnerStorageDestination`); until then it is refused with 409 and `PARTNER_STORAGE_REQUIRED`, and when the destination cannot be used with 503 and `STORAGE_DESTINATION_UNAVAILABLE`. A destination you remove after the session was made stops its uploads too (the same 409; the browser is only told that the feature is not available right now). To keep a customer from uploading, leave `files` out of the session and hand the editors your own media library instead (`mediaLibrary`). - `editor`: edit one of this user\'s compositions: read it (`getCompositionById`, its content, design, embed settings and schemas), check a content change (`validateCompositionContent`), and change its name, content, design and embed settings (`updateComposition`, `setDynamicContent`). It can reach only compositions you created for this managed user (tag them with `managedUserId` when you create them); any other composition, including another of your users\', answers 404. - `creator`: use Widgetic\'s widget creator for this user, including its AI. Draw on canvases and save them (`getAllCanvases`, `getCanvas`, `createCanvas`, `updateCanvas`, `previewDeleteCanvas`, `deleteCanvas`); make, change, copy and delete the widgets on them (`createWidget`, `getWidgets`, `getWidgetsBatch`, `updateWidget`, `uploadWidgetThumbnail`, `duplicateWidget`, `deleteWidget`); list and make the compositions of a widget it built (`getAllCompositions`, `createComposition`), which is how it shows the widget with sample values; read and add their components (`getComponentsByWidgetId`, `createComponent`); keep the conversation of each widget (`getConversationsByWidgetId`, `createConversationForWidget`, `updateConversation`, `getMessages`, `createMessage`, `updateMessage`, `restoreCheckpoint`); and read a widget\'s schemas and give it its repository (`getWidgetContentSchema`, `getWidgetDesignSchema`, `updateWidgetRepository`). The AI that builds a widget is part of it: list the models (`agentModelsGet`), open the widget\'s repository (`agentRepositoriesPost`, `agentRepositoriesRepoIdGet`), start a generation and follow or cancel it (`agentCodeGeneratePost`, `operationsStreamGet`, `operationsIdGet`, `operationsIdCancelPost`), build and preview the result (`agentWidgetBuilderRepoHeadWidgetIdGet`, `buildWidgetFromRepo`, `previewWidgetVersion`), publish a version of the widget and move between its versions (`agentWidgetBuilderPublishWidgetIdPost`, `getWidgetPublishHistory`, `setWidgetPublishHistoryLive`, `renameWidgetPublishHistoryTitle`), and turn a stroke or a sentence into a decision (`agentShapeRecognizePost`, `agentDesignResolvePost`). It can also offer the customer your presets as starting points: read them and ask for a copy for this customer (`listMyPresets`, `copyMyPreset`; you choose the presets with `setPartnerPreset`). What the session makes is filed for this managed user, and the lists it reads hold only this user\'s canvases, widgets and compositions. It can reach only canvases, widgets, compositions, repositories, uploaded files and operations made for this managed user (tag the canvases and widgets you create with `managedUserId`); any other canvas, widget, composition, conversation, message, repository, file or operation, including another of your users\', answers 404. The creator also saves the composition it is editing (`updateComposition`, from the `editor` surface) and attaches pictures to its chat (`uploadsPost`, from the `files` surface), and the surfaces do not imply one another: to open the whole creator for a user, ask for `creator`, `editor` and `files` together. A generation or a build one user starts can be followed and cancelled by that user and by you, never by another of your users. The AI is paid for by your account, as your own calls are: its credits and allowances are yours. A session cannot make a widget public (publishing a version does not), file one under a project or an organization, or set anything the creator does not set: a body with another field is refused with 403 and `EDITOR_SESSION_FIELD_NOT_ALLOWED`. Everything else is refused with 403 and `EDITOR_SESSION_ROUTE_NOT_ALLOWED`: a session cannot read your account, make more sessions, change your presets or delete a composition, and a session without the `creator` surface cannot create or list compositions. Create the composition yourself with your API key, then open the editor on it. A session ends at `expiresAt` (at most four hours), when you end it (`revokeManagedUserEditorSession`), or when the managed user is switched off or deleted. A managed user can have at most 100 live sessions at once (`429 EDITOR_SESSION_LIMIT_REACHED`). A session that is bound to a web page (`allowed_origin`) is refused from any other origin. The AI the session runs is paid for with your credits. Set `max_credits` to hold the session to a number of them: once its generations have taken that many (a generation that fails is refunded and does not count), the next one is refused with 402 and `EDITOR_SESSION_CREDIT_LIMIT_REACHED`, and the browser is told only that the feature is not available right now. Without it, the limit Widgetic has set for your account applies when it has set one (the same limit for every session you make, and `max_credits: null` asks for none), and otherwise the credits of your account are the only ceiling. What each of your users\' sessions has spent is in `getManagedUserUsage`. Each call makes a new session. It does not take an `Idempotency-Key`: the answer holds the token, and the token is never stored where a retry could read it back. The answer is sent with `Cache-Control: no-store`.
|
|
154
163
|
* Create an editor session for a managed user
|
|
155
164
|
*/
|
|
156
165
|
createManagedUserEditorSessionRaw(requestParameters, initOverrides) {
|
|
@@ -182,7 +191,7 @@ class ManagedUsersApi extends runtime.BaseAPI {
|
|
|
182
191
|
});
|
|
183
192
|
}
|
|
184
193
|
/**
|
|
185
|
-
* Makes a short-lived credential that lets the browser of ONE of your managed users use Widgetic\'s editor pieces, such as the File Browser and the composition editor, without your API key ever reaching that browser. Call this from your server when the page that hosts the editor opens, and hand the `token` in the answer to that page. The token is shown once. It starts with `wgt_ses_` and the browser sends it as `Authorization: Bearer <token>`. It can do only what the `surfaces` you name allow, and only for this managed user: - `files`: upload a file (`uploadsPost`) and list the files uploaded for this user (`uploadsGet`). Every file is filed for this user and stored in your own storage destination, never in Widgetic\'s: a file a customer uploads is yours to keep, and takes none of your storage allowance. Partner storage is not optional, so no session, whatever its surfaces, can be made until you have set a destination (`setPartnerStorageDestination`); until then it is refused with 409 and `PARTNER_STORAGE_REQUIRED`, and when the destination cannot be used with 503 and `STORAGE_DESTINATION_UNAVAILABLE`. A destination you remove after the session was made stops its uploads too (the same 409; the browser is only told that the feature is not available right now). To keep a customer from uploading, leave `files` out of the session and hand the editors your own media library instead (`mediaLibrary`). - `editor`: edit one of this user\'s compositions: read it (`getCompositionById`, its content, design, embed settings and schemas), check a content change (`validateCompositionContent`), and change its name, content, design and embed settings (`updateComposition`, `setDynamicContent`). It can reach only compositions you created for this managed user (tag them with `managedUserId` when you create them); any other composition, including another of your users\', answers 404. - `creator`: use Widgetic\'s widget creator for this user, including its AI. Draw on canvases and save them (`getAllCanvases`, `getCanvas`, `createCanvas`, `updateCanvas`, `previewDeleteCanvas`, `deleteCanvas`); make, change, copy and delete the widgets on them (`createWidget`, `getWidgets`, `getWidgetsBatch`, `updateWidget`, `uploadWidgetThumbnail`, `duplicateWidget`, `deleteWidget`); list and make the compositions of a widget it built (`getAllCompositions`, `createComposition`), which is how it shows the widget with sample values; read and add their components (`getComponentsByWidgetId`, `createComponent`); keep the conversation of each widget (`getConversationsByWidgetId`, `createConversationForWidget`, `updateConversation`, `getMessages`, `createMessage`, `updateMessage`, `restoreCheckpoint`); and read a widget\'s schemas and give it its repository (`getWidgetContentSchema`, `getWidgetDesignSchema`, `updateWidgetRepository`). The AI that builds a widget is part of it: list the models (`agentModelsGet`), open the widget\'s repository (`agentRepositoriesPost`, `agentRepositoriesRepoIdGet`), start a generation and follow or cancel it (`agentCodeGeneratePost`, `operationsStreamGet`, `operationsIdGet`, `operationsIdCancelPost`), build and preview the result (`agentWidgetBuilderRepoHeadWidgetIdGet`, `buildWidgetFromRepo`, `previewWidgetVersion`), publish a version of the widget and move between its versions (`agentWidgetBuilderPublishWidgetIdPost`, `getWidgetPublishHistory`, `setWidgetPublishHistoryLive`, `renameWidgetPublishHistoryTitle`), and turn a stroke or a sentence into a decision (`agentShapeRecognizePost`, `agentDesignResolvePost`). It can also offer the customer your presets as starting points: read them and ask for a copy for this customer (`listMyPresets`, `copyMyPreset`; you choose the presets with `setPartnerPreset`). What the session makes is filed for this managed user, and the lists it reads hold only this user\'s canvases, widgets and compositions. It can reach only canvases, widgets, compositions, repositories, uploaded files and operations made for this managed user (tag the canvases and widgets you create with `managedUserId`); any other canvas, widget, composition, conversation, message, repository, file or operation, including another of your users\', answers 404. The creator also saves the composition it is editing (`updateComposition`, from the `editor` surface) and attaches pictures to its chat (`uploadsPost`, from the `files` surface), and the surfaces do not imply one another: to open the whole creator for a user, ask for `creator`, `editor` and `files` together. A generation or a build one user starts can be followed and cancelled by that user and by you, never by another of your users. The AI is paid for by your account, as your own calls are: its credits and allowances are yours. A session cannot make a widget public (publishing a version does not), file one under a project or an organization, or set anything the creator does not set: a body with another field is refused with 403 and `EDITOR_SESSION_FIELD_NOT_ALLOWED`. Everything else is refused with 403 and `EDITOR_SESSION_ROUTE_NOT_ALLOWED`: a session cannot read your account, make more sessions, change your presets or delete a composition, and a session without the `creator` surface cannot create or list compositions. Create the composition yourself with your API key, then open the editor on it. A session ends at `expiresAt` (at most four hours), when you end it (`revokeManagedUserEditorSession`), or when the managed user is switched off or deleted. A managed user can have at most 100 live sessions at once (`429 EDITOR_SESSION_LIMIT_REACHED`). A session that is bound to a web page (`allowed_origin`) is refused from any other origin. The AI the session runs is paid for with your credits. Set `max_credits` to hold the session to a number of them: once its generations have taken that many (a generation that fails is refunded and does not count), the next one is refused with 402 and `EDITOR_SESSION_CREDIT_LIMIT_REACHED`, and the browser is told only that the feature is not available right now. Without it, the credits of your account are the only ceiling. What each of your users\' sessions has spent is in `getManagedUserUsage`. Each call makes a new session. It does not take an `Idempotency-Key`: the answer holds the token, and the token is never stored where a retry could read it back. The answer is sent with `Cache-Control: no-store`.
|
|
194
|
+
* Makes a short-lived credential that lets the browser of ONE of your managed users use Widgetic\'s editor pieces, such as the File Browser and the composition editor, without your API key ever reaching that browser. Call this from your server when the page that hosts the editor opens, and hand the `token` in the answer to that page. The token is shown once. It starts with `wgt_ses_` and the browser sends it as `Authorization: Bearer <token>`. It can do only what the `surfaces` you name allow, and only for this managed user: - `files`: upload a file (`uploadsPost`) and list the files uploaded for this user (`uploadsGet`). Every file is filed for this user and stored in your own storage destination, never in Widgetic\'s: a file a customer uploads is yours to keep, and takes none of your storage allowance. Partner storage is not optional, so no session, whatever its surfaces, can be made until you have set a destination (`setPartnerStorageDestination`); until then it is refused with 409 and `PARTNER_STORAGE_REQUIRED`, and when the destination cannot be used with 503 and `STORAGE_DESTINATION_UNAVAILABLE`. A destination you remove after the session was made stops its uploads too (the same 409; the browser is only told that the feature is not available right now). To keep a customer from uploading, leave `files` out of the session and hand the editors your own media library instead (`mediaLibrary`). - `editor`: edit one of this user\'s compositions: read it (`getCompositionById`, its content, design, embed settings and schemas), check a content change (`validateCompositionContent`), and change its name, content, design and embed settings (`updateComposition`, `setDynamicContent`). It can reach only compositions you created for this managed user (tag them with `managedUserId` when you create them); any other composition, including another of your users\', answers 404. - `creator`: use Widgetic\'s widget creator for this user, including its AI. Draw on canvases and save them (`getAllCanvases`, `getCanvas`, `createCanvas`, `updateCanvas`, `previewDeleteCanvas`, `deleteCanvas`); make, change, copy and delete the widgets on them (`createWidget`, `getWidgets`, `getWidgetsBatch`, `updateWidget`, `uploadWidgetThumbnail`, `duplicateWidget`, `deleteWidget`); list and make the compositions of a widget it built (`getAllCompositions`, `createComposition`), which is how it shows the widget with sample values; read and add their components (`getComponentsByWidgetId`, `createComponent`); keep the conversation of each widget (`getConversationsByWidgetId`, `createConversationForWidget`, `updateConversation`, `getMessages`, `createMessage`, `updateMessage`, `restoreCheckpoint`); and read a widget\'s schemas and give it its repository (`getWidgetContentSchema`, `getWidgetDesignSchema`, `updateWidgetRepository`). The AI that builds a widget is part of it: list the models (`agentModelsGet`), open the widget\'s repository (`agentRepositoriesPost`, `agentRepositoriesRepoIdGet`), start a generation and follow or cancel it (`agentCodeGeneratePost`, `operationsStreamGet`, `operationsIdGet`, `operationsIdCancelPost`), build and preview the result (`agentWidgetBuilderRepoHeadWidgetIdGet`, `buildWidgetFromRepo`, `previewWidgetVersion`), publish a version of the widget and move between its versions (`agentWidgetBuilderPublishWidgetIdPost`, `getWidgetPublishHistory`, `setWidgetPublishHistoryLive`, `renameWidgetPublishHistoryTitle`), and turn a stroke or a sentence into a decision (`agentShapeRecognizePost`, `agentDesignResolvePost`). It can also offer the customer your presets as starting points: read them and ask for a copy for this customer (`listMyPresets`, `copyMyPreset`; you choose the presets with `setPartnerPreset`). What the session makes is filed for this managed user, and the lists it reads hold only this user\'s canvases, widgets and compositions. It can reach only canvases, widgets, compositions, repositories, uploaded files and operations made for this managed user (tag the canvases and widgets you create with `managedUserId`); any other canvas, widget, composition, conversation, message, repository, file or operation, including another of your users\', answers 404. The creator also saves the composition it is editing (`updateComposition`, from the `editor` surface) and attaches pictures to its chat (`uploadsPost`, from the `files` surface), and the surfaces do not imply one another: to open the whole creator for a user, ask for `creator`, `editor` and `files` together. A generation or a build one user starts can be followed and cancelled by that user and by you, never by another of your users. The AI is paid for by your account, as your own calls are: its credits and allowances are yours. A session cannot make a widget public (publishing a version does not), file one under a project or an organization, or set anything the creator does not set: a body with another field is refused with 403 and `EDITOR_SESSION_FIELD_NOT_ALLOWED`. Everything else is refused with 403 and `EDITOR_SESSION_ROUTE_NOT_ALLOWED`: a session cannot read your account, make more sessions, change your presets or delete a composition, and a session without the `creator` surface cannot create or list compositions. Create the composition yourself with your API key, then open the editor on it. A session ends at `expiresAt` (at most four hours), when you end it (`revokeManagedUserEditorSession`), or when the managed user is switched off or deleted. A managed user can have at most 100 live sessions at once (`429 EDITOR_SESSION_LIMIT_REACHED`). A session that is bound to a web page (`allowed_origin`) is refused from any other origin. The AI the session runs is paid for with your credits. Set `max_credits` to hold the session to a number of them: once its generations have taken that many (a generation that fails is refunded and does not count), the next one is refused with 402 and `EDITOR_SESSION_CREDIT_LIMIT_REACHED`, and the browser is told only that the feature is not available right now. Without it, the limit Widgetic has set for your account applies when it has set one (the same limit for every session you make, and `max_credits: null` asks for none), and otherwise the credits of your account are the only ceiling. What each of your users\' sessions has spent is in `getManagedUserUsage`. Each call makes a new session. It does not take an `Idempotency-Key`: the answer holds the token, and the token is never stored where a retry could read it back. The answer is sent with `Cache-Control: no-store`.
|
|
186
195
|
* Create an editor session for a managed user
|
|
187
196
|
*/
|
|
188
197
|
createManagedUserEditorSession(requestParameters, initOverrides) {
|
|
@@ -521,6 +530,9 @@ class ManagedUsersApi extends runtime.BaseAPI {
|
|
|
521
530
|
const queryParameters = {};
|
|
522
531
|
const headerParameters = {};
|
|
523
532
|
headerParameters['Content-Type'] = 'application/json';
|
|
533
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
534
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
535
|
+
}
|
|
524
536
|
if (this.configuration && this.configuration.accessToken) {
|
|
525
537
|
const token = this.configuration.accessToken;
|
|
526
538
|
const tokenString = yield token("apiKeyAuth", []);
|
|
@@ -14,6 +14,7 @@ import type { CreateMessageRequest, RestoreCheckpointRequest, UpdateMessageReque
|
|
|
14
14
|
export interface CreateMessageOperationRequest {
|
|
15
15
|
conversationId: string;
|
|
16
16
|
createMessageRequest: CreateMessageRequest;
|
|
17
|
+
idempotencyKey?: string;
|
|
17
18
|
}
|
|
18
19
|
export interface DeleteMessageRequest {
|
|
19
20
|
conversationId: string;
|
|
@@ -37,6 +38,7 @@ export interface UpdateMessageOperationRequest {
|
|
|
37
38
|
conversationId: string;
|
|
38
39
|
messageId: string;
|
|
39
40
|
updateMessageRequest: UpdateMessageRequest;
|
|
41
|
+
idempotencyKey?: string;
|
|
40
42
|
}
|
|
41
43
|
/**
|
|
42
44
|
*
|
package/dist/apis/MessagesApi.js
CHANGED
|
@@ -44,6 +44,9 @@ class MessagesApi 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", []);
|
|
@@ -252,6 +255,9 @@ class MessagesApi extends runtime.BaseAPI {
|
|
|
252
255
|
const queryParameters = {};
|
|
253
256
|
const headerParameters = {};
|
|
254
257
|
headerParameters['Content-Type'] = 'application/json';
|
|
258
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
259
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
260
|
+
}
|
|
255
261
|
if (this.configuration && this.configuration.accessToken) {
|
|
256
262
|
const token = this.configuration.accessToken;
|
|
257
263
|
const tokenString = yield token("apiKeyAuth", []);
|
|
@@ -13,6 +13,7 @@ import * as runtime from '../runtime';
|
|
|
13
13
|
import type { OperationsIdGet200Response } from '../models/index';
|
|
14
14
|
export interface OperationsIdCancelPostRequest {
|
|
15
15
|
id: string;
|
|
16
|
+
idempotencyKey?: string;
|
|
16
17
|
}
|
|
17
18
|
export interface OperationsIdGetRequest {
|
|
18
19
|
id: string;
|
|
@@ -25,12 +26,12 @@ export interface OperationsStreamGetRequest {
|
|
|
25
26
|
*/
|
|
26
27
|
export declare class OperationsApi extends runtime.BaseAPI {
|
|
27
28
|
/**
|
|
28
|
-
* An operation belongs to the user who started it, and only that user (or an administrator) can cancel it. Cancelling somebody else\'s operation answers 404, exactly as for one that does not exist, and leaves it running.
|
|
29
|
+
* An operation belongs to the user who started it, and only that user (or an administrator) can cancel it. Cancelling somebody else\'s operation answers 404, exactly as for one that does not exist, and leaves it running. Cancelling stops the work, not only the record of it. The request to the model is aborted, so the model stops writing, and the run ends at its next checkpoint without building a preview or saving anything. This holds wherever the run is happening: a stop sent to one server reaches a run that is working on another. The credit of a generation is settled by how far the run had got. A run stopped before the model began to write has shown the person nothing, so its credit is returned. A run stopped after the answer began to stream keeps its credit: the output was shown, and the model was paid for it. A generation costs one whole credit, so there is no part to return; the credit comes back whole or not at all. Cancelling an operation that has already ended (finished, failed or cancelled) changes nothing and returns it as it stands.
|
|
29
30
|
* Cancel an in-flight operation
|
|
30
31
|
*/
|
|
31
32
|
operationsIdCancelPostRaw(requestParameters: OperationsIdCancelPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<object>>;
|
|
32
33
|
/**
|
|
33
|
-
* An operation belongs to the user who started it, and only that user (or an administrator) can cancel it. Cancelling somebody else\'s operation answers 404, exactly as for one that does not exist, and leaves it running.
|
|
34
|
+
* An operation belongs to the user who started it, and only that user (or an administrator) can cancel it. Cancelling somebody else\'s operation answers 404, exactly as for one that does not exist, and leaves it running. Cancelling stops the work, not only the record of it. The request to the model is aborted, so the model stops writing, and the run ends at its next checkpoint without building a preview or saving anything. This holds wherever the run is happening: a stop sent to one server reaches a run that is working on another. The credit of a generation is settled by how far the run had got. A run stopped before the model began to write has shown the person nothing, so its credit is returned. A run stopped after the answer began to stream keeps its credit: the output was shown, and the model was paid for it. A generation costs one whole credit, so there is no part to return; the credit comes back whole or not at all. Cancelling an operation that has already ended (finished, failed or cancelled) changes nothing and returns it as it stands.
|
|
34
35
|
* Cancel an in-flight operation
|
|
35
36
|
*/
|
|
36
37
|
operationsIdCancelPost(requestParameters: OperationsIdCancelPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<object>;
|
|
@@ -30,7 +30,7 @@ const index_1 = require("../models/index");
|
|
|
30
30
|
*/
|
|
31
31
|
class OperationsApi extends runtime.BaseAPI {
|
|
32
32
|
/**
|
|
33
|
-
* An operation belongs to the user who started it, and only that user (or an administrator) can cancel it. Cancelling somebody else\'s operation answers 404, exactly as for one that does not exist, and leaves it running.
|
|
33
|
+
* An operation belongs to the user who started it, and only that user (or an administrator) can cancel it. Cancelling somebody else\'s operation answers 404, exactly as for one that does not exist, and leaves it running. Cancelling stops the work, not only the record of it. The request to the model is aborted, so the model stops writing, and the run ends at its next checkpoint without building a preview or saving anything. This holds wherever the run is happening: a stop sent to one server reaches a run that is working on another. The credit of a generation is settled by how far the run had got. A run stopped before the model began to write has shown the person nothing, so its credit is returned. A run stopped after the answer began to stream keeps its credit: the output was shown, and the model was paid for it. A generation costs one whole credit, so there is no part to return; the credit comes back whole or not at all. Cancelling an operation that has already ended (finished, failed or cancelled) changes nothing and returns it as it stands.
|
|
34
34
|
* Cancel an in-flight operation
|
|
35
35
|
*/
|
|
36
36
|
operationsIdCancelPostRaw(requestParameters, initOverrides) {
|
|
@@ -40,6 +40,9 @@ class OperationsApi extends runtime.BaseAPI {
|
|
|
40
40
|
}
|
|
41
41
|
const queryParameters = {};
|
|
42
42
|
const headerParameters = {};
|
|
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("bearerAuth", []);
|
|
@@ -57,7 +60,7 @@ class OperationsApi extends runtime.BaseAPI {
|
|
|
57
60
|
});
|
|
58
61
|
}
|
|
59
62
|
/**
|
|
60
|
-
* An operation belongs to the user who started it, and only that user (or an administrator) can cancel it. Cancelling somebody else\'s operation answers 404, exactly as for one that does not exist, and leaves it running.
|
|
63
|
+
* An operation belongs to the user who started it, and only that user (or an administrator) can cancel it. Cancelling somebody else\'s operation answers 404, exactly as for one that does not exist, and leaves it running. Cancelling stops the work, not only the record of it. The request to the model is aborted, so the model stops writing, and the run ends at its next checkpoint without building a preview or saving anything. This holds wherever the run is happening: a stop sent to one server reaches a run that is working on another. The credit of a generation is settled by how far the run had got. A run stopped before the model began to write has shown the person nothing, so its credit is returned. A run stopped after the answer began to stream keeps its credit: the output was shown, and the model was paid for it. A generation costs one whole credit, so there is no part to return; the credit comes back whole or not at all. Cancelling an operation that has already ended (finished, failed or cancelled) changes nothing and returns it as it stands.
|
|
61
64
|
* Cancel an in-flight operation
|
|
62
65
|
*/
|
|
63
66
|
operationsIdCancelPost(requestParameters, initOverrides) {
|
|
@@ -25,18 +25,20 @@ export interface CancelInvitationRequest {
|
|
|
25
25
|
}
|
|
26
26
|
export interface CancelStoragePackOperationRequest {
|
|
27
27
|
orgId: string;
|
|
28
|
-
idempotencyKey: string;
|
|
29
28
|
cancelStoragePackRequest: CancelStoragePackRequest;
|
|
29
|
+
idempotencyKey?: string;
|
|
30
30
|
}
|
|
31
31
|
export interface CleanupOrphanedInvitationsOperationRequest {
|
|
32
32
|
cleanupOrphanedInvitationsRequest?: CleanupOrphanedInvitationsRequest;
|
|
33
33
|
}
|
|
34
34
|
export interface CreateOrganizationOperationRequest {
|
|
35
35
|
createOrganizationRequest: CreateOrganizationRequest;
|
|
36
|
+
idempotencyKey?: string;
|
|
36
37
|
}
|
|
37
38
|
export interface CreateOrganizationApiKeyOperationRequest {
|
|
38
39
|
orgId: string;
|
|
39
40
|
createOrganizationApiKeyRequest: CreateOrganizationApiKeyRequest;
|
|
41
|
+
idempotencyKey?: string;
|
|
40
42
|
}
|
|
41
43
|
export interface CreateOrganizationTranslationOperationRequest {
|
|
42
44
|
orgId: string;
|
|
@@ -129,6 +131,7 @@ export interface GetStoragePacksRequest {
|
|
|
129
131
|
export interface InviteOrganizationMemberOperationRequest {
|
|
130
132
|
orgId: string;
|
|
131
133
|
inviteOrganizationMemberRequest: InviteOrganizationMemberRequest;
|
|
134
|
+
idempotencyKey?: string;
|
|
132
135
|
}
|
|
133
136
|
export interface LeaveOrganizationRequest {
|
|
134
137
|
orgId: string;
|
|
@@ -160,17 +163,21 @@ export interface OrganizationsOrgIdBillingPaymentMethodsGetRequest {
|
|
|
160
163
|
export interface OrganizationsOrgIdBillingPaymentMethodsPostOperationRequest {
|
|
161
164
|
orgId: string;
|
|
162
165
|
organizationsOrgIdBillingPaymentMethodsPostRequest: OrganizationsOrgIdBillingPaymentMethodsPostRequest;
|
|
166
|
+
idempotencyKey?: string;
|
|
163
167
|
}
|
|
164
168
|
export interface OrganizationsOrgIdBillingPaymentMethodsSetupIntentPostRequest {
|
|
165
169
|
orgId: string;
|
|
170
|
+
idempotencyKey?: string;
|
|
166
171
|
}
|
|
167
172
|
export interface OrganizationsOrgIdBillingPortalPostOperationRequest {
|
|
168
173
|
orgId: string;
|
|
174
|
+
idempotencyKey?: string;
|
|
169
175
|
organizationsOrgIdBillingPortalPostRequest?: OrganizationsOrgIdBillingPortalPostRequest;
|
|
170
176
|
}
|
|
171
177
|
export interface OrganizationsOrgIdBillingUpgradePostOperationRequest {
|
|
172
178
|
orgId: string;
|
|
173
179
|
organizationsOrgIdBillingUpgradePostRequest: OrganizationsOrgIdBillingUpgradePostRequest;
|
|
180
|
+
idempotencyKey?: string;
|
|
174
181
|
}
|
|
175
182
|
export interface OrganizationsOrgIdBillingYearlyApplyCreditsPostRequest {
|
|
176
183
|
orgId: string;
|
|
@@ -196,11 +203,12 @@ export interface OrganizationsOrgIdBillingYearlyPricingComparisonGetRequest {
|
|
|
196
203
|
export interface OrganizationsOrgIdBillingYearlySubscriptionPostOperationRequest {
|
|
197
204
|
orgId: string;
|
|
198
205
|
organizationsOrgIdBillingYearlySubscriptionPostRequest: OrganizationsOrgIdBillingYearlySubscriptionPostRequest;
|
|
206
|
+
idempotencyKey?: string;
|
|
199
207
|
}
|
|
200
208
|
export interface PurchaseStoragePackOperationRequest {
|
|
201
209
|
orgId: string;
|
|
202
|
-
idempotencyKey: string;
|
|
203
210
|
purchaseStoragePackRequest: PurchaseStoragePackRequest;
|
|
211
|
+
idempotencyKey?: string;
|
|
204
212
|
}
|
|
205
213
|
export interface ReactivateMemberOperationRequest {
|
|
206
214
|
orgId: string;
|
|
@@ -160,9 +160,6 @@ class OrganizationsApi extends runtime.BaseAPI {
|
|
|
160
160
|
if (requestParameters['orgId'] == null) {
|
|
161
161
|
throw new runtime.RequiredError('orgId', 'Required parameter "orgId" was null or undefined when calling cancelStoragePack().');
|
|
162
162
|
}
|
|
163
|
-
if (requestParameters['idempotencyKey'] == null) {
|
|
164
|
-
throw new runtime.RequiredError('idempotencyKey', 'Required parameter "idempotencyKey" was null or undefined when calling cancelStoragePack().');
|
|
165
|
-
}
|
|
166
163
|
if (requestParameters['cancelStoragePackRequest'] == null) {
|
|
167
164
|
throw new runtime.RequiredError('cancelStoragePackRequest', 'Required parameter "cancelStoragePackRequest" was null or undefined when calling cancelStoragePack().');
|
|
168
165
|
}
|
|
@@ -247,6 +244,9 @@ class OrganizationsApi extends runtime.BaseAPI {
|
|
|
247
244
|
const queryParameters = {};
|
|
248
245
|
const headerParameters = {};
|
|
249
246
|
headerParameters['Content-Type'] = 'application/json';
|
|
247
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
248
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
249
|
+
}
|
|
250
250
|
if (this.configuration && this.configuration.accessToken) {
|
|
251
251
|
const token = this.configuration.accessToken;
|
|
252
252
|
const tokenString = yield token("apiKeyAuth", []);
|
|
@@ -289,6 +289,9 @@ class OrganizationsApi extends runtime.BaseAPI {
|
|
|
289
289
|
const queryParameters = {};
|
|
290
290
|
const headerParameters = {};
|
|
291
291
|
headerParameters['Content-Type'] = 'application/json';
|
|
292
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
293
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
294
|
+
}
|
|
292
295
|
if (this.configuration && this.configuration.accessToken) {
|
|
293
296
|
const token = this.configuration.accessToken;
|
|
294
297
|
const tokenString = yield token("apiKeyAuth", []);
|
|
@@ -1367,6 +1370,9 @@ class OrganizationsApi extends runtime.BaseAPI {
|
|
|
1367
1370
|
const queryParameters = {};
|
|
1368
1371
|
const headerParameters = {};
|
|
1369
1372
|
headerParameters['Content-Type'] = 'application/json';
|
|
1373
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
1374
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
1375
|
+
}
|
|
1370
1376
|
if (this.configuration && this.configuration.accessToken) {
|
|
1371
1377
|
const token = this.configuration.accessToken;
|
|
1372
1378
|
const tokenString = yield token("apiKeyAuth", []);
|
|
@@ -1702,6 +1708,9 @@ class OrganizationsApi extends runtime.BaseAPI {
|
|
|
1702
1708
|
const queryParameters = {};
|
|
1703
1709
|
const headerParameters = {};
|
|
1704
1710
|
headerParameters['Content-Type'] = 'application/json';
|
|
1711
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
1712
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
1713
|
+
}
|
|
1705
1714
|
if (this.configuration && this.configuration.accessToken) {
|
|
1706
1715
|
const token = this.configuration.accessToken;
|
|
1707
1716
|
const tokenString = yield token("BearerAuth", []);
|
|
@@ -1738,6 +1747,9 @@ class OrganizationsApi extends runtime.BaseAPI {
|
|
|
1738
1747
|
}
|
|
1739
1748
|
const queryParameters = {};
|
|
1740
1749
|
const headerParameters = {};
|
|
1750
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
1751
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
1752
|
+
}
|
|
1741
1753
|
if (this.configuration && this.configuration.accessToken) {
|
|
1742
1754
|
const token = this.configuration.accessToken;
|
|
1743
1755
|
const tokenString = yield token("BearerAuth", []);
|
|
@@ -1774,6 +1786,9 @@ class OrganizationsApi extends runtime.BaseAPI {
|
|
|
1774
1786
|
const queryParameters = {};
|
|
1775
1787
|
const headerParameters = {};
|
|
1776
1788
|
headerParameters['Content-Type'] = 'application/json';
|
|
1789
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
1790
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
1791
|
+
}
|
|
1777
1792
|
if (this.configuration && this.configuration.accessToken) {
|
|
1778
1793
|
const token = this.configuration.accessToken;
|
|
1779
1794
|
const tokenString = yield token("BearerAuth", []);
|
|
@@ -1814,6 +1829,9 @@ class OrganizationsApi extends runtime.BaseAPI {
|
|
|
1814
1829
|
const queryParameters = {};
|
|
1815
1830
|
const headerParameters = {};
|
|
1816
1831
|
headerParameters['Content-Type'] = 'application/json';
|
|
1832
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
1833
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
1834
|
+
}
|
|
1817
1835
|
if (this.configuration && this.configuration.accessToken) {
|
|
1818
1836
|
const token = this.configuration.accessToken;
|
|
1819
1837
|
const tokenString = yield token("BearerAuth", []);
|
|
@@ -2093,6 +2111,9 @@ class OrganizationsApi extends runtime.BaseAPI {
|
|
|
2093
2111
|
const queryParameters = {};
|
|
2094
2112
|
const headerParameters = {};
|
|
2095
2113
|
headerParameters['Content-Type'] = 'application/json';
|
|
2114
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
2115
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
2116
|
+
}
|
|
2096
2117
|
if (this.configuration && this.configuration.accessToken) {
|
|
2097
2118
|
const token = this.configuration.accessToken;
|
|
2098
2119
|
const tokenString = yield token("BearerAuth", []);
|
|
@@ -2129,9 +2150,6 @@ class OrganizationsApi extends runtime.BaseAPI {
|
|
|
2129
2150
|
if (requestParameters['orgId'] == null) {
|
|
2130
2151
|
throw new runtime.RequiredError('orgId', 'Required parameter "orgId" was null or undefined when calling purchaseStoragePack().');
|
|
2131
2152
|
}
|
|
2132
|
-
if (requestParameters['idempotencyKey'] == null) {
|
|
2133
|
-
throw new runtime.RequiredError('idempotencyKey', 'Required parameter "idempotencyKey" was null or undefined when calling purchaseStoragePack().');
|
|
2134
|
-
}
|
|
2135
2153
|
if (requestParameters['purchaseStoragePackRequest'] == null) {
|
|
2136
2154
|
throw new runtime.RequiredError('purchaseStoragePackRequest', 'Required parameter "purchaseStoragePackRequest" was null or undefined when calling purchaseStoragePack().');
|
|
2137
2155
|
}
|