@widgetic/api-sdk 1.0.26 → 1.0.28
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 +163 -3
- package/dist/apis/PartnersApi.js +460 -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 +163 -3
- package/dist/esm/apis/PartnersApi.js +461 -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/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 +39 -0
- package/dist/esm/models/index.js +39 -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/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 +39 -0
- package/dist/models/index.js +39 -0
- package/package.json +1 -1
- package/dist/apis/AgentRepositoryManagementApi.d.ts +0 -32
- package/dist/apis/AgentRepositoryManagementApi.js +0 -75
- package/dist/apis/UIComponentsApi.d.ts +0 -96
- package/dist/apis/UIComponentsApi.js +0 -209
- package/dist/apis/WorkflowsApi.d.ts +0 -44
- package/dist/apis/WorkflowsApi.js +0 -111
- package/dist/esm/apis/AgentRepositoryManagementApi.d.ts +0 -32
- package/dist/esm/apis/AgentRepositoryManagementApi.js +0 -71
- package/dist/esm/apis/UIComponentsApi.d.ts +0 -96
- package/dist/esm/apis/UIComponentsApi.js +0 -205
- package/dist/esm/apis/WorkflowsApi.d.ts +0 -44
- package/dist/esm/apis/WorkflowsApi.js +0 -107
- package/dist/esm/models/AgentRepositoriesRepoIdSyncPost202Response.d.ts +0 -32
- package/dist/esm/models/AgentRepositoriesRepoIdSyncPost202Response.js +0 -41
- package/dist/esm/models/AgentRepositoriesRepoIdSyncPostRequest.d.ts +0 -32
- package/dist/esm/models/AgentRepositoriesRepoIdSyncPostRequest.js +0 -43
- package/dist/esm/models/AgentTasksTaskIdStatusPutRequest.d.ts +0 -54
- package/dist/esm/models/AgentTasksTaskIdStatusPutRequest.js +0 -60
- package/dist/esm/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.d.ts +0 -32
- package/dist/esm/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.js +0 -41
- package/dist/esm/models/ApiV1AdminBillingGrantsPostRequest.d.ts +0 -82
- package/dist/esm/models/ApiV1AdminBillingGrantsPostRequest.js +0 -79
- package/dist/esm/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.d.ts +0 -32
- package/dist/esm/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.js +0 -41
- package/dist/esm/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +0 -32
- package/dist/esm/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +0 -43
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200Response.js +0 -44
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.d.ts +0 -57
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.js +0 -50
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.d.ts +0 -68
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.js +0 -53
- package/dist/esm/models/ApiV1AdminBillingRefundsPostRequest.d.ts +0 -70
- package/dist/esm/models/ApiV1AdminBillingRefundsPostRequest.js +0 -64
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200Response.d.ts +0 -71
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200Response.js +0 -59
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.d.ts +0 -51
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js +0 -48
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPostRequest.d.ts +0 -70
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPostRequest.js +0 -62
- package/dist/esm/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.d.ts +0 -46
- package/dist/esm/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.js +0 -52
- package/dist/esm/models/ApiV1BillingPricingGet200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingPricingGet200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseData.d.ts +0 -46
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseData.js +0 -47
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataPlansInner.d.ts +0 -68
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataPlansInner.js +0 -53
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataTrial.d.ts +0 -44
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataTrial.js +0 -45
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.d.ts +0 -33
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.js +0 -42
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.d.ts +0 -68
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.js +0 -53
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.d.ts +0 -33
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.js +0 -42
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +0 -62
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.js +0 -51
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.js +0 -41
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.js +0 -41
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.d.ts +0 -33
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.js +0 -42
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.js +0 -43
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.d.ts +0 -50
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.js +0 -47
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.js +0 -41
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPostRequest.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPostRequest.js +0 -41
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.js +0 -41
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.js +0 -41
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.d.ts +0 -120
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.js +0 -76
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.d.ts +0 -38
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.js +0 -43
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.d.ts +0 -38
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.js +0 -43
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.d.ts +0 -53
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.js +0 -58
- package/dist/esm/models/ApiV1MetricsGet200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1MetricsGet200Response.js +0 -44
- package/dist/esm/models/ApiV1MetricsGet200ResponseData.d.ts +0 -56
- package/dist/esm/models/ApiV1MetricsGet200ResponseData.js +0 -50
- package/dist/esm/models/ApiV1MetricsGet200ResponseDataErrorsValue.d.ts +0 -44
- package/dist/esm/models/ApiV1MetricsGet200ResponseDataErrorsValue.js +0 -45
- package/dist/esm/models/ApiV1MetricsGet200ResponseDataLatencyValue.d.ts +0 -50
- package/dist/esm/models/ApiV1MetricsGet200ResponseDataLatencyValue.js +0 -47
- package/dist/esm/models/ApiV1MetricsLatencyGet200Response.d.ts +0 -41
- package/dist/esm/models/ApiV1MetricsLatencyGet200Response.js +0 -45
- package/dist/esm/models/ApiV1MetricsLatencyGet200ResponseDataValue.d.ts +0 -62
- package/dist/esm/models/ApiV1MetricsLatencyGet200ResponseDataValue.js +0 -51
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.d.ts +0 -71
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.js +0 -59
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.d.ts +0 -51
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js +0 -48
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.d.ts +0 -38
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js +0 -43
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.d.ts +0 -44
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.js +0 -45
- package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.d.ts +0 -38
- package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.js +0 -43
- package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.d.ts +0 -38
- package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.js +0 -47
- package/dist/esm/models/ComponentManifest.d.ts +0 -52
- package/dist/esm/models/ComponentManifest.js +0 -49
- package/dist/esm/models/ComponentManifestAssets.d.ts +0 -38
- package/dist/esm/models/ComponentManifestAssets.js +0 -43
- package/dist/esm/models/ComponentManifestConfig.d.ts +0 -44
- package/dist/esm/models/ComponentManifestConfig.js +0 -45
- package/dist/esm/models/DevelopmentPlan.d.ts +0 -97
- package/dist/esm/models/DevelopmentPlan.js +0 -69
- package/dist/esm/models/DevelopmentTask.d.ts +0 -90
- package/dist/esm/models/DevelopmentTask.js +0 -66
- package/dist/esm/models/GenerateComponentWorkflowInput.d.ts +0 -56
- package/dist/esm/models/GenerateComponentWorkflowInput.js +0 -55
- package/dist/esm/models/GenerateMixedComponentInput.d.ts +0 -62
- package/dist/esm/models/GenerateMixedComponentInput.js +0 -59
- package/dist/esm/models/GetCompositionsBatch200ResponseErrorsInner.d.ts +0 -38
- package/dist/esm/models/GetCompositionsBatch200ResponseErrorsInner.js +0 -43
- package/dist/esm/models/GetOrganizationStorageUsage200ResponseDataBreakdown.d.ts +0 -44
- package/dist/esm/models/GetOrganizationStorageUsage200ResponseDataBreakdown.js +0 -45
- package/dist/esm/models/ListComponents200Response.d.ts +0 -33
- package/dist/esm/models/ListComponents200Response.js +0 -42
- package/dist/esm/models/LoginUser200Response.d.ts +0 -38
- package/dist/esm/models/LoginUser200Response.js +0 -43
- package/dist/esm/models/MountRequest.d.ts +0 -45
- package/dist/esm/models/MountRequest.js +0 -48
- package/dist/esm/models/MountRequestTheme.d.ts +0 -54
- package/dist/esm/models/MountRequestTheme.js +0 -54
- package/dist/esm/models/MountRequestThemeColors.d.ts +0 -50
- package/dist/esm/models/MountRequestThemeColors.js +0 -47
- package/dist/esm/models/MountRequestThemeTypography.d.ts +0 -38
- package/dist/esm/models/MountRequestThemeTypography.js +0 -43
- package/dist/esm/models/MountResponse.d.ts +0 -46
- package/dist/esm/models/MountResponse.js +0 -50
- package/dist/esm/models/NewWidgetComponentsMetadataInner.d.ts +0 -64
- package/dist/esm/models/NewWidgetComponentsMetadataInner.js +0 -53
- package/dist/esm/models/NewWidgetComponentsMetadataInnerPosition.d.ts +0 -38
- package/dist/esm/models/NewWidgetComponentsMetadataInnerPosition.js +0 -43
- package/dist/esm/models/NewWidgetComponentsMetadataInnerSize.d.ts +0 -38
- package/dist/esm/models/NewWidgetComponentsMetadataInnerSize.js +0 -43
- package/dist/esm/models/PurchaseStoragePack200ResponseDataPaymentIntent.d.ts +0 -50
- package/dist/esm/models/PurchaseStoragePack200ResponseDataPaymentIntent.js +0 -47
- package/dist/esm/models/RollbackComponent200Response.d.ts +0 -38
- package/dist/esm/models/RollbackComponent200Response.js +0 -43
- package/dist/esm/models/RollbackComponentRequest.d.ts +0 -38
- package/dist/esm/models/RollbackComponentRequest.js +0 -45
- package/dist/esm/models/UIComponent.d.ts +0 -65
- package/dist/esm/models/UIComponent.js +0 -57
- package/dist/esm/models/UpdateCompositionRequest.d.ts +0 -68
- package/dist/esm/models/UpdateCompositionRequest.js +0 -53
- package/dist/esm/models/WorkflowAcceptedResponse.d.ts +0 -38
- package/dist/esm/models/WorkflowAcceptedResponse.js +0 -43
- package/dist/models/AgentRepositoriesRepoIdSyncPost202Response.d.ts +0 -32
- package/dist/models/AgentRepositoriesRepoIdSyncPost202Response.js +0 -48
- package/dist/models/AgentRepositoriesRepoIdSyncPostRequest.d.ts +0 -32
- package/dist/models/AgentRepositoriesRepoIdSyncPostRequest.js +0 -50
- package/dist/models/AgentTasksTaskIdStatusPutRequest.d.ts +0 -54
- package/dist/models/AgentTasksTaskIdStatusPutRequest.js +0 -68
- package/dist/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.d.ts +0 -32
- package/dist/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.js +0 -48
- package/dist/models/ApiV1AdminBillingGrantsPostRequest.d.ts +0 -82
- package/dist/models/ApiV1AdminBillingGrantsPostRequest.js +0 -87
- package/dist/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.d.ts +0 -32
- package/dist/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.js +0 -48
- package/dist/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +0 -32
- package/dist/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +0 -50
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200Response.d.ts +0 -39
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200Response.js +0 -51
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.d.ts +0 -57
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.js +0 -57
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.d.ts +0 -68
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.js +0 -60
- package/dist/models/ApiV1AdminBillingRefundsPostRequest.d.ts +0 -70
- package/dist/models/ApiV1AdminBillingRefundsPostRequest.js +0 -72
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200Response.d.ts +0 -71
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200Response.js +0 -67
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.d.ts +0 -51
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js +0 -55
- package/dist/models/ApiV1AdminBillingRefundsPreviewPostRequest.d.ts +0 -70
- package/dist/models/ApiV1AdminBillingRefundsPreviewPostRequest.js +0 -70
- package/dist/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.d.ts +0 -46
- package/dist/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.js +0 -60
- package/dist/models/ApiV1BillingPricingGet200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingPricingGet200Response.js +0 -51
- package/dist/models/ApiV1BillingPricingGet200ResponseData.d.ts +0 -46
- package/dist/models/ApiV1BillingPricingGet200ResponseData.js +0 -54
- package/dist/models/ApiV1BillingPricingGet200ResponseDataPlansInner.d.ts +0 -68
- package/dist/models/ApiV1BillingPricingGet200ResponseDataPlansInner.js +0 -60
- package/dist/models/ApiV1BillingPricingGet200ResponseDataTrial.d.ts +0 -44
- package/dist/models/ApiV1BillingPricingGet200ResponseDataTrial.js +0 -52
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.d.ts +0 -33
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.js +0 -49
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.d.ts +0 -68
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.js +0 -60
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.d.ts +0 -33
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.js +0 -49
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +0 -62
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.js +0 -58
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.js +0 -48
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.js +0 -48
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.d.ts +0 -33
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.js +0 -49
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.js +0 -50
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.d.ts +0 -50
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.js +0 -54
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.js +0 -48
- package/dist/models/ApiV1BillingUsersUserIdPortalPostRequest.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdPortalPostRequest.js +0 -48
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.js +0 -48
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.js +0 -48
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.d.ts +0 -120
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.js +0 -84
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.d.ts +0 -38
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.js +0 -50
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.d.ts +0 -38
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.js +0 -50
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.d.ts +0 -53
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.js +0 -66
- package/dist/models/ApiV1MetricsGet200Response.d.ts +0 -39
- package/dist/models/ApiV1MetricsGet200Response.js +0 -51
- package/dist/models/ApiV1MetricsGet200ResponseData.d.ts +0 -56
- package/dist/models/ApiV1MetricsGet200ResponseData.js +0 -57
- package/dist/models/ApiV1MetricsGet200ResponseDataErrorsValue.d.ts +0 -44
- package/dist/models/ApiV1MetricsGet200ResponseDataErrorsValue.js +0 -52
- package/dist/models/ApiV1MetricsGet200ResponseDataLatencyValue.d.ts +0 -50
- package/dist/models/ApiV1MetricsGet200ResponseDataLatencyValue.js +0 -54
- package/dist/models/ApiV1MetricsLatencyGet200Response.d.ts +0 -41
- package/dist/models/ApiV1MetricsLatencyGet200Response.js +0 -52
- package/dist/models/ApiV1MetricsLatencyGet200ResponseDataValue.d.ts +0 -62
- package/dist/models/ApiV1MetricsLatencyGet200ResponseDataValue.js +0 -58
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.d.ts +0 -71
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.js +0 -67
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.d.ts +0 -51
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js +0 -55
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.d.ts +0 -38
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js +0 -50
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.d.ts +0 -44
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.js +0 -52
- package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.d.ts +0 -38
- package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.js +0 -50
- package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.d.ts +0 -38
- package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.js +0 -54
- package/dist/models/ComponentManifest.d.ts +0 -52
- package/dist/models/ComponentManifest.js +0 -56
- package/dist/models/ComponentManifestAssets.d.ts +0 -38
- package/dist/models/ComponentManifestAssets.js +0 -50
- package/dist/models/ComponentManifestConfig.d.ts +0 -44
- package/dist/models/ComponentManifestConfig.js +0 -52
- package/dist/models/DevelopmentPlan.d.ts +0 -97
- package/dist/models/DevelopmentPlan.js +0 -77
- package/dist/models/DevelopmentTask.d.ts +0 -90
- package/dist/models/DevelopmentTask.js +0 -74
- package/dist/models/GenerateComponentWorkflowInput.d.ts +0 -56
- package/dist/models/GenerateComponentWorkflowInput.js +0 -62
- package/dist/models/GenerateMixedComponentInput.d.ts +0 -62
- package/dist/models/GenerateMixedComponentInput.js +0 -66
- package/dist/models/GetCompositionsBatch200ResponseErrorsInner.d.ts +0 -38
- package/dist/models/GetCompositionsBatch200ResponseErrorsInner.js +0 -50
- package/dist/models/GetOrganizationStorageUsage200ResponseDataBreakdown.d.ts +0 -44
- package/dist/models/GetOrganizationStorageUsage200ResponseDataBreakdown.js +0 -52
- package/dist/models/ListComponents200Response.d.ts +0 -33
- package/dist/models/ListComponents200Response.js +0 -49
- package/dist/models/LoginUser200Response.d.ts +0 -38
- package/dist/models/LoginUser200Response.js +0 -50
- package/dist/models/MountRequest.d.ts +0 -45
- package/dist/models/MountRequest.js +0 -55
- package/dist/models/MountRequestTheme.d.ts +0 -54
- package/dist/models/MountRequestTheme.js +0 -62
- package/dist/models/MountRequestThemeColors.d.ts +0 -50
- package/dist/models/MountRequestThemeColors.js +0 -54
- package/dist/models/MountRequestThemeTypography.d.ts +0 -38
- package/dist/models/MountRequestThemeTypography.js +0 -50
- package/dist/models/MountResponse.d.ts +0 -46
- package/dist/models/MountResponse.js +0 -58
- package/dist/models/NewWidgetComponentsMetadataInner.d.ts +0 -64
- package/dist/models/NewWidgetComponentsMetadataInner.js +0 -60
- package/dist/models/NewWidgetComponentsMetadataInnerPosition.d.ts +0 -38
- package/dist/models/NewWidgetComponentsMetadataInnerPosition.js +0 -50
- package/dist/models/NewWidgetComponentsMetadataInnerSize.d.ts +0 -38
- package/dist/models/NewWidgetComponentsMetadataInnerSize.js +0 -50
- package/dist/models/PurchaseStoragePack200ResponseDataPaymentIntent.d.ts +0 -50
- package/dist/models/PurchaseStoragePack200ResponseDataPaymentIntent.js +0 -54
- package/dist/models/RollbackComponent200Response.d.ts +0 -38
- package/dist/models/RollbackComponent200Response.js +0 -50
- package/dist/models/RollbackComponentRequest.d.ts +0 -38
- package/dist/models/RollbackComponentRequest.js +0 -52
- package/dist/models/UIComponent.d.ts +0 -65
- package/dist/models/UIComponent.js +0 -65
- package/dist/models/UpdateCompositionRequest.d.ts +0 -68
- package/dist/models/UpdateCompositionRequest.js +0 -60
- package/dist/models/WorkflowAcceptedResponse.d.ts +0 -38
- package/dist/models/WorkflowAcceptedResponse.js +0 -50
|
@@ -14,6 +14,7 @@ import type { ABTestVariant, AssignVariantRequest, CheckWorkspaceABTestAutoStop2
|
|
|
14
14
|
export interface AssignVariantOperationRequest {
|
|
15
15
|
id: string;
|
|
16
16
|
assignVariantRequest: AssignVariantRequest;
|
|
17
|
+
idempotencyKey?: string;
|
|
17
18
|
}
|
|
18
19
|
export interface CheckWorkspaceABTestAutoStopRequest {
|
|
19
20
|
workspaceId: string;
|
|
@@ -21,10 +22,12 @@ export interface CheckWorkspaceABTestAutoStopRequest {
|
|
|
21
22
|
}
|
|
22
23
|
export interface CreateABTestAssignmentOperationRequest {
|
|
23
24
|
createABTestAssignmentRequest: CreateABTestAssignmentRequest;
|
|
25
|
+
idempotencyKey?: string;
|
|
24
26
|
}
|
|
25
27
|
export interface CreateWorkspaceABTestRequest {
|
|
26
28
|
workspaceId: string;
|
|
27
29
|
createABTestRequest: CreateABTestRequest;
|
|
30
|
+
idempotencyKey?: string;
|
|
28
31
|
}
|
|
29
32
|
export interface DeleteWorkspaceABTestRequest {
|
|
30
33
|
workspaceId: string;
|
|
@@ -55,43 +58,53 @@ export interface ListWorkspaceABTestsRequest {
|
|
|
55
58
|
export interface PauseWorkspaceABTestRequest {
|
|
56
59
|
workspaceId: string;
|
|
57
60
|
testId: string;
|
|
61
|
+
idempotencyKey?: string;
|
|
58
62
|
}
|
|
59
63
|
export interface SetWorkspaceABTestDurationOperationRequest {
|
|
60
64
|
workspaceId: string;
|
|
61
65
|
testId: string;
|
|
62
66
|
setWorkspaceABTestDurationRequest: SetWorkspaceABTestDurationRequest;
|
|
67
|
+
idempotencyKey?: string;
|
|
63
68
|
}
|
|
64
69
|
export interface StartWorkspaceABTestRequest {
|
|
65
70
|
workspaceId: string;
|
|
66
71
|
testId: string;
|
|
72
|
+
idempotencyKey?: string;
|
|
67
73
|
}
|
|
68
74
|
export interface StopWorkspaceABTestOperationRequest {
|
|
69
75
|
workspaceId: string;
|
|
70
76
|
testId: string;
|
|
77
|
+
idempotencyKey?: string;
|
|
71
78
|
stopWorkspaceABTestRequest?: StopWorkspaceABTestRequest;
|
|
72
79
|
}
|
|
73
80
|
export interface TrackABTestEventOperationRequest {
|
|
74
81
|
trackABTestEventRequest: TrackABTestEventRequest;
|
|
82
|
+
idempotencyKey?: string;
|
|
75
83
|
}
|
|
76
84
|
export interface TrackBulkABTestEventsOperationRequest {
|
|
77
85
|
trackBulkABTestEventsRequest: TrackBulkABTestEventsRequest;
|
|
86
|
+
idempotencyKey?: string;
|
|
78
87
|
}
|
|
79
88
|
export interface UpdateWorkspaceABTestRequest {
|
|
80
89
|
workspaceId: string;
|
|
81
90
|
testId: string;
|
|
82
91
|
updateABTestRequest: UpdateABTestRequest;
|
|
92
|
+
idempotencyKey?: string;
|
|
83
93
|
}
|
|
84
94
|
export interface ValidateWorkspaceCompositionDeletionOperationRequest {
|
|
85
95
|
workspaceId: string;
|
|
86
96
|
validateWorkspaceCompositionDeletionRequest: ValidateWorkspaceCompositionDeletionRequest;
|
|
97
|
+
idempotencyKey?: string;
|
|
87
98
|
}
|
|
88
99
|
export interface ValidateWorkspaceGoalTrackingOperationRequest {
|
|
89
100
|
workspaceId: string;
|
|
90
101
|
validateWorkspaceGoalTrackingRequest: ValidateWorkspaceGoalTrackingRequest;
|
|
102
|
+
idempotencyKey?: string;
|
|
91
103
|
}
|
|
92
104
|
export interface ValidateWorkspaceWidgetDeletionOperationRequest {
|
|
93
105
|
workspaceId: string;
|
|
94
106
|
validateWorkspaceWidgetDeletionRequest: ValidateWorkspaceWidgetDeletionRequest;
|
|
107
|
+
idempotencyKey?: string;
|
|
95
108
|
}
|
|
96
109
|
/**
|
|
97
110
|
*
|
|
@@ -44,6 +44,9 @@ class ABTestingApi extends runtime.BaseAPI {
|
|
|
44
44
|
const queryParameters = {};
|
|
45
45
|
const headerParameters = {};
|
|
46
46
|
headerParameters['Content-Type'] = 'application/json';
|
|
47
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
48
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
49
|
+
}
|
|
47
50
|
const response = yield this.request({
|
|
48
51
|
path: `/ab-tests/{id}/assign`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
49
52
|
method: 'POST',
|
|
@@ -116,6 +119,9 @@ class ABTestingApi extends runtime.BaseAPI {
|
|
|
116
119
|
const queryParameters = {};
|
|
117
120
|
const headerParameters = {};
|
|
118
121
|
headerParameters['Content-Type'] = 'application/json';
|
|
122
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
123
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
124
|
+
}
|
|
119
125
|
const response = yield this.request({
|
|
120
126
|
path: `/ab-tests/assignments`,
|
|
121
127
|
method: 'POST',
|
|
@@ -151,6 +157,9 @@ class ABTestingApi extends runtime.BaseAPI {
|
|
|
151
157
|
const queryParameters = {};
|
|
152
158
|
const headerParameters = {};
|
|
153
159
|
headerParameters['Content-Type'] = 'application/json';
|
|
160
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
161
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
162
|
+
}
|
|
154
163
|
if (this.configuration && this.configuration.accessToken) {
|
|
155
164
|
const token = this.configuration.accessToken;
|
|
156
165
|
const tokenString = yield token("apiKeyAuth", []);
|
|
@@ -520,6 +529,9 @@ class ABTestingApi extends runtime.BaseAPI {
|
|
|
520
529
|
}
|
|
521
530
|
const queryParameters = {};
|
|
522
531
|
const headerParameters = {};
|
|
532
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
533
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
534
|
+
}
|
|
523
535
|
if (this.configuration && this.configuration.accessToken) {
|
|
524
536
|
const token = this.configuration.accessToken;
|
|
525
537
|
const tokenString = yield token("apiKeyAuth", []);
|
|
@@ -564,6 +576,9 @@ class ABTestingApi extends runtime.BaseAPI {
|
|
|
564
576
|
const queryParameters = {};
|
|
565
577
|
const headerParameters = {};
|
|
566
578
|
headerParameters['Content-Type'] = 'application/json';
|
|
579
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
580
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
581
|
+
}
|
|
567
582
|
if (this.configuration && this.configuration.accessToken) {
|
|
568
583
|
const token = this.configuration.accessToken;
|
|
569
584
|
const tokenString = yield token("apiKeyAuth", []);
|
|
@@ -605,6 +620,9 @@ class ABTestingApi extends runtime.BaseAPI {
|
|
|
605
620
|
}
|
|
606
621
|
const queryParameters = {};
|
|
607
622
|
const headerParameters = {};
|
|
623
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
624
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
625
|
+
}
|
|
608
626
|
if (this.configuration && this.configuration.accessToken) {
|
|
609
627
|
const token = this.configuration.accessToken;
|
|
610
628
|
const tokenString = yield token("apiKeyAuth", []);
|
|
@@ -646,6 +664,9 @@ class ABTestingApi extends runtime.BaseAPI {
|
|
|
646
664
|
const queryParameters = {};
|
|
647
665
|
const headerParameters = {};
|
|
648
666
|
headerParameters['Content-Type'] = 'application/json';
|
|
667
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
668
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
669
|
+
}
|
|
649
670
|
if (this.configuration && this.configuration.accessToken) {
|
|
650
671
|
const token = this.configuration.accessToken;
|
|
651
672
|
const tokenString = yield token("apiKeyAuth", []);
|
|
@@ -685,6 +706,9 @@ class ABTestingApi extends runtime.BaseAPI {
|
|
|
685
706
|
const queryParameters = {};
|
|
686
707
|
const headerParameters = {};
|
|
687
708
|
headerParameters['Content-Type'] = 'application/json';
|
|
709
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
710
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
711
|
+
}
|
|
688
712
|
const response = yield this.request({
|
|
689
713
|
path: `/ab-tests/analytics/events`,
|
|
690
714
|
method: 'POST',
|
|
@@ -717,6 +741,9 @@ class ABTestingApi extends runtime.BaseAPI {
|
|
|
717
741
|
const queryParameters = {};
|
|
718
742
|
const headerParameters = {};
|
|
719
743
|
headerParameters['Content-Type'] = 'application/json';
|
|
744
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
745
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
746
|
+
}
|
|
720
747
|
const response = yield this.request({
|
|
721
748
|
path: `/ab-tests/analytics/bulk`,
|
|
722
749
|
method: 'POST',
|
|
@@ -755,6 +782,9 @@ class ABTestingApi extends runtime.BaseAPI {
|
|
|
755
782
|
const queryParameters = {};
|
|
756
783
|
const headerParameters = {};
|
|
757
784
|
headerParameters['Content-Type'] = 'application/json';
|
|
785
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
786
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
787
|
+
}
|
|
758
788
|
if (this.configuration && this.configuration.accessToken) {
|
|
759
789
|
const token = this.configuration.accessToken;
|
|
760
790
|
const tokenString = yield token("apiKeyAuth", []);
|
|
@@ -797,6 +827,9 @@ class ABTestingApi extends runtime.BaseAPI {
|
|
|
797
827
|
const queryParameters = {};
|
|
798
828
|
const headerParameters = {};
|
|
799
829
|
headerParameters['Content-Type'] = 'application/json';
|
|
830
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
831
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
832
|
+
}
|
|
800
833
|
if (this.configuration && this.configuration.accessToken) {
|
|
801
834
|
const token = this.configuration.accessToken;
|
|
802
835
|
const tokenString = yield token("apiKeyAuth", []);
|
|
@@ -839,6 +872,9 @@ class ABTestingApi extends runtime.BaseAPI {
|
|
|
839
872
|
const queryParameters = {};
|
|
840
873
|
const headerParameters = {};
|
|
841
874
|
headerParameters['Content-Type'] = 'application/json';
|
|
875
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
876
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
877
|
+
}
|
|
842
878
|
if (this.configuration && this.configuration.accessToken) {
|
|
843
879
|
const token = this.configuration.accessToken;
|
|
844
880
|
const tokenString = yield token("apiKeyAuth", []);
|
|
@@ -881,6 +917,9 @@ class ABTestingApi extends runtime.BaseAPI {
|
|
|
881
917
|
const queryParameters = {};
|
|
882
918
|
const headerParameters = {};
|
|
883
919
|
headerParameters['Content-Type'] = 'application/json';
|
|
920
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
921
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
922
|
+
}
|
|
884
923
|
if (this.configuration && this.configuration.accessToken) {
|
|
885
924
|
const token = this.configuration.accessToken;
|
|
886
925
|
const tokenString = yield token("apiKeyAuth", []);
|
package/dist/apis/AdminApi.d.ts
CHANGED
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { AdjustPartnerCredits200Response, AdjustPartnerCreditsRequest, AdjustUserCredits200Response, AdjustUserCreditsRequest, AdminHealthStatus, CleanupOrphanedInvitations200Response, CleanupOrphanedInvitationsRequest, CreatePartnerRequest, PartnerActivation, PartnerBillingReport, PartnerDetails, PartnerList, PartnerUpdateResult, PartnerWithWarnings, RefundPartnerCreditsRequest, UpdatePartnerRequest, UpdatePartnerStatusRequest } from '../models/index';
|
|
13
|
+
import type { AdjustPartnerCredits200Response, AdjustPartnerCreditsRequest, AdjustUserCredits200Response, AdjustUserCreditsRequest, AdminHealthStatus, CleanupOrphanedInvitations200Response, CleanupOrphanedInvitationsRequest, CreatePartnerRequest, PartnerActivation, PartnerBillingProfileSaved, PartnerBillingProfileView, PartnerBillingReport, PartnerDetails, PartnerEditorSessionSettings, PartnerList, PartnerUpdateResult, PartnerWithWarnings, RecordPartnerInvoicePaymentRequest, RecordedPartnerPayment, RefundPartnerCreditsRequest, UpdatePartnerBillingProfileRequest, UpdatePartnerEditorSessionSettingsRequest, UpdatePartnerRequest, UpdatePartnerStatusRequest } from '../models/index';
|
|
14
14
|
export interface AdjustPartnerCreditsOperationRequest {
|
|
15
15
|
partnerId: string;
|
|
16
|
-
idempotencyKey: string;
|
|
17
16
|
adjustPartnerCreditsRequest: AdjustPartnerCreditsRequest;
|
|
17
|
+
idempotencyKey?: string;
|
|
18
18
|
}
|
|
19
19
|
export interface AdjustUserCreditsOperationRequest {
|
|
20
|
-
idempotencyKey: string;
|
|
21
20
|
adjustUserCreditsRequest: AdjustUserCreditsRequest;
|
|
21
|
+
idempotencyKey?: string;
|
|
22
22
|
}
|
|
23
23
|
export interface CheckAdminHealth0Request {
|
|
24
24
|
includeMetrics?: boolean;
|
|
@@ -34,6 +34,9 @@ export interface CreatePartnerOperationRequest {
|
|
|
34
34
|
export interface GetPartnerActivationRequest {
|
|
35
35
|
partnerId: string;
|
|
36
36
|
}
|
|
37
|
+
export interface GetPartnerBillingProfileRequest {
|
|
38
|
+
partnerId: string;
|
|
39
|
+
}
|
|
37
40
|
export interface GetPartnerBillingReportRequest {
|
|
38
41
|
partnerId: string;
|
|
39
42
|
startDate?: Date;
|
|
@@ -43,6 +46,9 @@ export interface GetPartnerBillingReportRequest {
|
|
|
43
46
|
export interface GetPartnerDetailsRequest {
|
|
44
47
|
partnerId: string;
|
|
45
48
|
}
|
|
49
|
+
export interface GetPartnerEditorSessionSettingsRequest {
|
|
50
|
+
partnerId: string;
|
|
51
|
+
}
|
|
46
52
|
export interface ListAdminWidgetsRequest {
|
|
47
53
|
scope?: ListAdminWidgetsScopeEnum;
|
|
48
54
|
preset?: ListAdminWidgetsPresetEnum;
|
|
@@ -57,15 +63,29 @@ export interface ListPartnersRequest {
|
|
|
57
63
|
searchTerm?: string;
|
|
58
64
|
sort?: string;
|
|
59
65
|
}
|
|
66
|
+
export interface RecordPartnerInvoicePaymentOperationRequest {
|
|
67
|
+
partnerId: string;
|
|
68
|
+
invoiceId: string;
|
|
69
|
+
idempotencyKey?: string;
|
|
70
|
+
recordPartnerInvoicePaymentRequest?: RecordPartnerInvoicePaymentRequest;
|
|
71
|
+
}
|
|
60
72
|
export interface RefundPartnerCreditsOperationRequest {
|
|
61
|
-
idempotencyKey: string;
|
|
62
73
|
refundPartnerCreditsRequest: RefundPartnerCreditsRequest;
|
|
74
|
+
idempotencyKey?: string;
|
|
63
75
|
}
|
|
64
76
|
export interface UpdatePartnerOperationRequest {
|
|
65
77
|
partnerId: string;
|
|
66
78
|
updatePartnerRequest: UpdatePartnerRequest;
|
|
67
79
|
idempotencyKey?: string;
|
|
68
80
|
}
|
|
81
|
+
export interface UpdatePartnerBillingProfileOperationRequest {
|
|
82
|
+
partnerId: string;
|
|
83
|
+
updatePartnerBillingProfileRequest: UpdatePartnerBillingProfileRequest;
|
|
84
|
+
}
|
|
85
|
+
export interface UpdatePartnerEditorSessionSettingsOperationRequest {
|
|
86
|
+
partnerId: string;
|
|
87
|
+
updatePartnerEditorSessionSettingsRequest: UpdatePartnerEditorSessionSettingsRequest;
|
|
88
|
+
}
|
|
69
89
|
export interface UpdatePartnerStatusOperationRequest {
|
|
70
90
|
partnerId: string;
|
|
71
91
|
updatePartnerStatusRequest: UpdatePartnerStatusRequest;
|
|
@@ -144,6 +164,16 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
144
164
|
* What a partner needs before it can be activated
|
|
145
165
|
*/
|
|
146
166
|
getPartnerActivation(requestParameters: GetPartnerActivationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PartnerActivation>;
|
|
167
|
+
/**
|
|
168
|
+
* Admin only. Reads the billing profile of a partner: the legal name, the billing emails, the billing address, the tax number and the payment terms, and what the invoices will say with them. A partner that has none saved has the defaults (the partner\'s own name, its contact email, 30 days, no address), and `gaps` says what is missing for an invoice to carry the right tax. Nothing is changed by reading it.
|
|
169
|
+
* What a partner\'s invoices are addressed with
|
|
170
|
+
*/
|
|
171
|
+
getPartnerBillingProfileRaw(requestParameters: GetPartnerBillingProfileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PartnerBillingProfileView>>;
|
|
172
|
+
/**
|
|
173
|
+
* Admin only. Reads the billing profile of a partner: the legal name, the billing emails, the billing address, the tax number and the payment terms, and what the invoices will say with them. A partner that has none saved has the defaults (the partner\'s own name, its contact email, 30 days, no address), and `gaps` says what is missing for an invoice to carry the right tax. Nothing is changed by reading it.
|
|
174
|
+
* What a partner\'s invoices are addressed with
|
|
175
|
+
*/
|
|
176
|
+
getPartnerBillingProfile(requestParameters: GetPartnerBillingProfileRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PartnerBillingProfileView>;
|
|
147
177
|
/**
|
|
148
178
|
* Admin only. What the partner\'s wallet did over the period, from the ledger: the totals (credits consumed and credits issued, over every row of the period however many there are), the same totals per calendar month, and, when `includeTransactions` is true, the newest ledger rows themselves. The period is the last 30 days when `startDate` and `endDate` are not given. A date that is not a date, or a start after the end, is refused with 400. The list of rows is bounded (the newest 1,000 of the period, complete); `transactionsTruncated` says when the period holds more than the list shows. The totals are never cut.
|
|
149
179
|
* Get a partner\'s wallet activity for a period
|
|
@@ -164,6 +194,16 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
164
194
|
* Get a partner with its billing overview and last month\'s statistics
|
|
165
195
|
*/
|
|
166
196
|
getPartnerDetails(requestParameters: GetPartnerDetailsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PartnerDetails>;
|
|
197
|
+
/**
|
|
198
|
+
* Admin only. Editor sessions run with the same settings for every partner (a kill switch, one allowance for every customer, no default limit on what a session may spend). This reads what has been set for ONE partner on top of that (`settings`; null means the same as everybody) and what that comes to now (`effective`). Nothing is changed by reading it.
|
|
199
|
+
* What is set for a partner\'s editor sessions
|
|
200
|
+
*/
|
|
201
|
+
getPartnerEditorSessionSettingsRaw(requestParameters: GetPartnerEditorSessionSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PartnerEditorSessionSettings>>;
|
|
202
|
+
/**
|
|
203
|
+
* Admin only. Editor sessions run with the same settings for every partner (a kill switch, one allowance for every customer, no default limit on what a session may spend). This reads what has been set for ONE partner on top of that (`settings`; null means the same as everybody) and what that comes to now (`effective`). Nothing is changed by reading it.
|
|
204
|
+
* What is set for a partner\'s editor sessions
|
|
205
|
+
*/
|
|
206
|
+
getPartnerEditorSessionSettings(requestParameters: GetPartnerEditorSessionSettingsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PartnerEditorSessionSettings>;
|
|
167
207
|
/**
|
|
168
208
|
* Admin only. `scope=mine` is the signed-in admin\'s widgets. `scope=all` is every account. `preset=true` keeps widgets marked for signup copy. A normal account cannot call this route.
|
|
169
209
|
* List widgets for the admin console
|
|
@@ -184,6 +224,16 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
184
224
|
* List partners
|
|
185
225
|
*/
|
|
186
226
|
listPartners(requestParameters?: ListPartnersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PartnerList>;
|
|
227
|
+
/**
|
|
228
|
+
* Admin only. For an invoice that was paid by bank transfer, cheque or any other way outside Stripe. It marks the invoice paid in Stripe (`paid_out_of_band`), and Stripe then reports the payment exactly as it reports a card payment: the partner\'s invoice list is brought up to date (status and paid date), the reminders stop, the partner receives its receipt, and the administrators are told the payment arrived. Nothing is written to the partner\'s invoice list here, so the list changes a moment after the answer, when Stripe\'s report arrives; an administrator never updates a status by hand. The invoice is named by its id in the partner\'s invoice list and must belong to this partner. An invoice Stripe already holds as paid is answered (`recorded: false`) and nothing happens again, so a double click or a retry is safe. An invoice Stripe holds as void, uncollectible or still a draft cannot be marked paid (409 `INVOICE_NOT_PAYABLE`), and one that was never issued through Stripe has nothing to mark (409 `INVOICE_HAS_NO_STRIPE_INVOICE`). The audit trail records who recorded it, with the optional `note` (a bank reference, say).
|
|
229
|
+
* Record a payment that arrived outside Stripe
|
|
230
|
+
*/
|
|
231
|
+
recordPartnerInvoicePaymentRaw(requestParameters: RecordPartnerInvoicePaymentOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RecordedPartnerPayment>>;
|
|
232
|
+
/**
|
|
233
|
+
* Admin only. For an invoice that was paid by bank transfer, cheque or any other way outside Stripe. It marks the invoice paid in Stripe (`paid_out_of_band`), and Stripe then reports the payment exactly as it reports a card payment: the partner\'s invoice list is brought up to date (status and paid date), the reminders stop, the partner receives its receipt, and the administrators are told the payment arrived. Nothing is written to the partner\'s invoice list here, so the list changes a moment after the answer, when Stripe\'s report arrives; an administrator never updates a status by hand. The invoice is named by its id in the partner\'s invoice list and must belong to this partner. An invoice Stripe already holds as paid is answered (`recorded: false`) and nothing happens again, so a double click or a retry is safe. An invoice Stripe holds as void, uncollectible or still a draft cannot be marked paid (409 `INVOICE_NOT_PAYABLE`), and one that was never issued through Stripe has nothing to mark (409 `INVOICE_HAS_NO_STRIPE_INVOICE`). The audit trail records who recorded it, with the optional `note` (a bank reference, say).
|
|
234
|
+
* Record a payment that arrived outside Stripe
|
|
235
|
+
*/
|
|
236
|
+
recordPartnerInvoicePayment(requestParameters: RecordPartnerInvoicePaymentOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RecordedPartnerPayment>;
|
|
187
237
|
/**
|
|
188
238
|
* Admin only. Adds `amount` credits to the partner wallet as a refund. The `Idempotency-Key` header is required: a retry with the same key replays the first refund instead of issuing a second one. A refund is held to the same ceiling as a top-up: **at most $100,000 per operation** (1,000,000 credits at $0.10 per credit). A larger amount is refused with 400 and nothing is credited.
|
|
189
239
|
* Credit a partner\'s wallet back with a refund
|
|
@@ -204,6 +254,26 @@ export declare class AdminApi extends runtime.BaseAPI {
|
|
|
204
254
|
* Edit a partner\'s profile, wallet balance or auto-reload settings
|
|
205
255
|
*/
|
|
206
256
|
updatePartner(requestParameters: UpdatePartnerOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PartnerUpdateResult>;
|
|
257
|
+
/**
|
|
258
|
+
* Admin only. Saves the billing profile of a partner, then brings the partner\'s Stripe customer up to date with it (name, billing email, address, tax number), so that Stripe\'s own checks of the address and the tax number show now, while the administrator is on the page, and not when the first invoice fails. A part you leave out is left as it was; `null` clears it. The profile is saved whatever Stripe says: `stripe` says what it made of it, and a tax number Stripe rejects is flagged (`taxIdRejected`) so it is corrected before an invoice is issued. The address and the tax number are what Stripe Tax uses to add tax to the partner\'s invoices.
|
|
259
|
+
* Set what a partner\'s invoices are addressed with
|
|
260
|
+
*/
|
|
261
|
+
updatePartnerBillingProfileRaw(requestParameters: UpdatePartnerBillingProfileOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PartnerBillingProfileSaved>>;
|
|
262
|
+
/**
|
|
263
|
+
* Admin only. Saves the billing profile of a partner, then brings the partner\'s Stripe customer up to date with it (name, billing email, address, tax number), so that Stripe\'s own checks of the address and the tax number show now, while the administrator is on the page, and not when the first invoice fails. A part you leave out is left as it was; `null` clears it. The profile is saved whatever Stripe says: `stripe` says what it made of it, and a tax number Stripe rejects is flagged (`taxIdRejected`) so it is corrected before an invoice is issued. The address and the tax number are what Stripe Tax uses to add tax to the partner\'s invoices.
|
|
264
|
+
* Set what a partner\'s invoices are addressed with
|
|
265
|
+
*/
|
|
266
|
+
updatePartnerBillingProfile(requestParameters: UpdatePartnerBillingProfileOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PartnerBillingProfileSaved>;
|
|
267
|
+
/**
|
|
268
|
+
* Admin only. Everybody\'s editor sessions run with the same settings; this changes them for one partner when it needs it. A setting left out stays as it is, and `null` clears it (the partner then gets what everybody gets). At least one has to be named. - `enabled: false` switches editor sessions off for this partner: no new session can be made (403 `EDITOR_SESSIONS_DISABLED_FOR_PARTNER`) and the sessions it already has stop working. It only ever narrows: `true` is the same as `null`, and it can never switch on what the global kill switch has switched off. - `costMultiplier` is what an operation of the partner\'s customers costs their usage budget, as a multiple of its base cost (above 0, at most 10, three decimals at most). Smaller is a larger allowance. It is the brake on a customer\'s pace; the credits an operation spends are unchanged. - `defaultMaxCredits` is the credit limit a new session gets when the partner\'s request for it names no `max_credits`. A request that names its own, or names `null` for none, keeps it. The change is felt on this instance at once and on every instance within 15 seconds.
|
|
269
|
+
* Set what is different about one partner\'s editor sessions
|
|
270
|
+
*/
|
|
271
|
+
updatePartnerEditorSessionSettingsRaw(requestParameters: UpdatePartnerEditorSessionSettingsOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PartnerEditorSessionSettings>>;
|
|
272
|
+
/**
|
|
273
|
+
* Admin only. Everybody\'s editor sessions run with the same settings; this changes them for one partner when it needs it. A setting left out stays as it is, and `null` clears it (the partner then gets what everybody gets). At least one has to be named. - `enabled: false` switches editor sessions off for this partner: no new session can be made (403 `EDITOR_SESSIONS_DISABLED_FOR_PARTNER`) and the sessions it already has stop working. It only ever narrows: `true` is the same as `null`, and it can never switch on what the global kill switch has switched off. - `costMultiplier` is what an operation of the partner\'s customers costs their usage budget, as a multiple of its base cost (above 0, at most 10, three decimals at most). Smaller is a larger allowance. It is the brake on a customer\'s pace; the credits an operation spends are unchanged. - `defaultMaxCredits` is the credit limit a new session gets when the partner\'s request for it names no `max_credits`. A request that names its own, or names `null` for none, keeps it. The change is felt on this instance at once and on every instance within 15 seconds.
|
|
274
|
+
* Set what is different about one partner\'s editor sessions
|
|
275
|
+
*/
|
|
276
|
+
updatePartnerEditorSessionSettings(requestParameters: UpdatePartnerEditorSessionSettingsOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PartnerEditorSessionSettings>;
|
|
207
277
|
/**
|
|
208
278
|
* Admin only. Sets the partner\'s standing (the `status` field every partner response carries). - `active` activates a new partner, or resumes a paused one: it is switched on, and a suspension\'s reason and time are cleared. **Activating a partner that was never activated (or was deactivated) is refused with 409 `PARTNER_NOT_READY` until a contract is in force and a verified storage destination is set** (`error.details.requirements` lists each, and `GET /admin/partners/{partnerId}/activation` reads them without changing anything). Resuming a paused partner is never held up by that. It also records the partner plan on the partner\'s administrator again if that was missing (a partner created before the plan was recorded, or whose write failed); if that could not be done the partner is still reinstated and `warnings` says so. - `inactive` switches the partner off without a reason; a suspension\'s reason and time are cleared, so a partner moved from suspended to inactive is no longer reported as suspended. - `suspended` is the pause: it switches the partner off and records `reason` (default `Suspended by admin`) and the time. It is manual only. An unpaid invoice is chased and reported to the administrators, but never pauses a partner by itself. While a partner is not `active` it is unusable, and what it published is not served: its embeds answer as if they did not exist, editor sessions are refused, its customers cannot create or generate anything, and every write or generation by its API key is refused with 403 `PARTNER_SUSPENDED` (or `PARTNER_INACTIVE`). This takes hold within 15 seconds at most, on every instance. The partner\'s own administrator can still sign in and use billing, invoices, credits, the contract and notifications. Resuming the partner restores everything, with no new token for a customer. A person who administers two partners is served while either is active, and an administrator account that also holds a subscription of its own is served on that. Sending the standing the partner already has is accepted; for `suspended` it replaces the recorded reason and time.
|
|
209
279
|
* Activate, deactivate or suspend a partner
|
package/dist/apis/AdminApi.js
CHANGED
|
@@ -38,9 +38,6 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
38
38
|
if (requestParameters['partnerId'] == null) {
|
|
39
39
|
throw new runtime.RequiredError('partnerId', 'Required parameter "partnerId" was null or undefined when calling adjustPartnerCredits().');
|
|
40
40
|
}
|
|
41
|
-
if (requestParameters['idempotencyKey'] == null) {
|
|
42
|
-
throw new runtime.RequiredError('idempotencyKey', 'Required parameter "idempotencyKey" was null or undefined when calling adjustPartnerCredits().');
|
|
43
|
-
}
|
|
44
41
|
if (requestParameters['adjustPartnerCreditsRequest'] == null) {
|
|
45
42
|
throw new runtime.RequiredError('adjustPartnerCreditsRequest', 'Required parameter "adjustPartnerCreditsRequest" was null or undefined when calling adjustPartnerCredits().');
|
|
46
43
|
}
|
|
@@ -83,9 +80,6 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
83
80
|
*/
|
|
84
81
|
adjustUserCreditsRaw(requestParameters, initOverrides) {
|
|
85
82
|
return __awaiter(this, void 0, void 0, function* () {
|
|
86
|
-
if (requestParameters['idempotencyKey'] == null) {
|
|
87
|
-
throw new runtime.RequiredError('idempotencyKey', 'Required parameter "idempotencyKey" was null or undefined when calling adjustUserCredits().');
|
|
88
|
-
}
|
|
89
83
|
if (requestParameters['adjustUserCreditsRequest'] == null) {
|
|
90
84
|
throw new runtime.RequiredError('adjustUserCreditsRequest', 'Required parameter "adjustUserCreditsRequest" was null or undefined when calling adjustUserCredits().');
|
|
91
85
|
}
|
|
@@ -311,6 +305,43 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
311
305
|
return yield response.value();
|
|
312
306
|
});
|
|
313
307
|
}
|
|
308
|
+
/**
|
|
309
|
+
* Admin only. Reads the billing profile of a partner: the legal name, the billing emails, the billing address, the tax number and the payment terms, and what the invoices will say with them. A partner that has none saved has the defaults (the partner\'s own name, its contact email, 30 days, no address), and `gaps` says what is missing for an invoice to carry the right tax. Nothing is changed by reading it.
|
|
310
|
+
* What a partner\'s invoices are addressed with
|
|
311
|
+
*/
|
|
312
|
+
getPartnerBillingProfileRaw(requestParameters, initOverrides) {
|
|
313
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
314
|
+
if (requestParameters['partnerId'] == null) {
|
|
315
|
+
throw new runtime.RequiredError('partnerId', 'Required parameter "partnerId" was null or undefined when calling getPartnerBillingProfile().');
|
|
316
|
+
}
|
|
317
|
+
const queryParameters = {};
|
|
318
|
+
const headerParameters = {};
|
|
319
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
320
|
+
const token = this.configuration.accessToken;
|
|
321
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
322
|
+
if (tokenString) {
|
|
323
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
const response = yield this.request({
|
|
327
|
+
path: `/admin/partners/{partnerId}/billing-profile`.replace(`{${"partnerId"}}`, encodeURIComponent(String(requestParameters['partnerId']))),
|
|
328
|
+
method: 'GET',
|
|
329
|
+
headers: headerParameters,
|
|
330
|
+
query: queryParameters,
|
|
331
|
+
}, initOverrides);
|
|
332
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PartnerBillingProfileViewFromJSON)(jsonValue));
|
|
333
|
+
});
|
|
334
|
+
}
|
|
335
|
+
/**
|
|
336
|
+
* Admin only. Reads the billing profile of a partner: the legal name, the billing emails, the billing address, the tax number and the payment terms, and what the invoices will say with them. A partner that has none saved has the defaults (the partner\'s own name, its contact email, 30 days, no address), and `gaps` says what is missing for an invoice to carry the right tax. Nothing is changed by reading it.
|
|
337
|
+
* What a partner\'s invoices are addressed with
|
|
338
|
+
*/
|
|
339
|
+
getPartnerBillingProfile(requestParameters, initOverrides) {
|
|
340
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
341
|
+
const response = yield this.getPartnerBillingProfileRaw(requestParameters, initOverrides);
|
|
342
|
+
return yield response.value();
|
|
343
|
+
});
|
|
344
|
+
}
|
|
314
345
|
/**
|
|
315
346
|
* Admin only. What the partner\'s wallet did over the period, from the ledger: the totals (credits consumed and credits issued, over every row of the period however many there are), the same totals per calendar month, and, when `includeTransactions` is true, the newest ledger rows themselves. The period is the last 30 days when `startDate` and `endDate` are not given. A date that is not a date, or a start after the end, is refused with 400. The list of rows is bounded (the newest 1,000 of the period, complete); `transactionsTruncated` says when the period holds more than the list shows. The totals are never cut.
|
|
316
347
|
* Get a partner\'s wallet activity for a period
|
|
@@ -394,6 +425,43 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
394
425
|
return yield response.value();
|
|
395
426
|
});
|
|
396
427
|
}
|
|
428
|
+
/**
|
|
429
|
+
* Admin only. Editor sessions run with the same settings for every partner (a kill switch, one allowance for every customer, no default limit on what a session may spend). This reads what has been set for ONE partner on top of that (`settings`; null means the same as everybody) and what that comes to now (`effective`). Nothing is changed by reading it.
|
|
430
|
+
* What is set for a partner\'s editor sessions
|
|
431
|
+
*/
|
|
432
|
+
getPartnerEditorSessionSettingsRaw(requestParameters, initOverrides) {
|
|
433
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
434
|
+
if (requestParameters['partnerId'] == null) {
|
|
435
|
+
throw new runtime.RequiredError('partnerId', 'Required parameter "partnerId" was null or undefined when calling getPartnerEditorSessionSettings().');
|
|
436
|
+
}
|
|
437
|
+
const queryParameters = {};
|
|
438
|
+
const headerParameters = {};
|
|
439
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
440
|
+
const token = this.configuration.accessToken;
|
|
441
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
442
|
+
if (tokenString) {
|
|
443
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
const response = yield this.request({
|
|
447
|
+
path: `/admin/partners/{partnerId}/editor-sessions`.replace(`{${"partnerId"}}`, encodeURIComponent(String(requestParameters['partnerId']))),
|
|
448
|
+
method: 'GET',
|
|
449
|
+
headers: headerParameters,
|
|
450
|
+
query: queryParameters,
|
|
451
|
+
}, initOverrides);
|
|
452
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PartnerEditorSessionSettingsFromJSON)(jsonValue));
|
|
453
|
+
});
|
|
454
|
+
}
|
|
455
|
+
/**
|
|
456
|
+
* Admin only. Editor sessions run with the same settings for every partner (a kill switch, one allowance for every customer, no default limit on what a session may spend). This reads what has been set for ONE partner on top of that (`settings`; null means the same as everybody) and what that comes to now (`effective`). Nothing is changed by reading it.
|
|
457
|
+
* What is set for a partner\'s editor sessions
|
|
458
|
+
*/
|
|
459
|
+
getPartnerEditorSessionSettings(requestParameters, initOverrides) {
|
|
460
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
461
|
+
const response = yield this.getPartnerEditorSessionSettingsRaw(requestParameters, initOverrides);
|
|
462
|
+
return yield response.value();
|
|
463
|
+
});
|
|
464
|
+
}
|
|
397
465
|
/**
|
|
398
466
|
* Admin only. `scope=mine` is the signed-in admin\'s widgets. `scope=all` is every account. `preset=true` keeps widgets marked for signup copy. A normal account cannot call this route.
|
|
399
467
|
* List widgets for the admin console
|
|
@@ -491,15 +559,57 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
491
559
|
return yield response.value();
|
|
492
560
|
});
|
|
493
561
|
}
|
|
562
|
+
/**
|
|
563
|
+
* Admin only. For an invoice that was paid by bank transfer, cheque or any other way outside Stripe. It marks the invoice paid in Stripe (`paid_out_of_band`), and Stripe then reports the payment exactly as it reports a card payment: the partner\'s invoice list is brought up to date (status and paid date), the reminders stop, the partner receives its receipt, and the administrators are told the payment arrived. Nothing is written to the partner\'s invoice list here, so the list changes a moment after the answer, when Stripe\'s report arrives; an administrator never updates a status by hand. The invoice is named by its id in the partner\'s invoice list and must belong to this partner. An invoice Stripe already holds as paid is answered (`recorded: false`) and nothing happens again, so a double click or a retry is safe. An invoice Stripe holds as void, uncollectible or still a draft cannot be marked paid (409 `INVOICE_NOT_PAYABLE`), and one that was never issued through Stripe has nothing to mark (409 `INVOICE_HAS_NO_STRIPE_INVOICE`). The audit trail records who recorded it, with the optional `note` (a bank reference, say).
|
|
564
|
+
* Record a payment that arrived outside Stripe
|
|
565
|
+
*/
|
|
566
|
+
recordPartnerInvoicePaymentRaw(requestParameters, initOverrides) {
|
|
567
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
568
|
+
if (requestParameters['partnerId'] == null) {
|
|
569
|
+
throw new runtime.RequiredError('partnerId', 'Required parameter "partnerId" was null or undefined when calling recordPartnerInvoicePayment().');
|
|
570
|
+
}
|
|
571
|
+
if (requestParameters['invoiceId'] == null) {
|
|
572
|
+
throw new runtime.RequiredError('invoiceId', 'Required parameter "invoiceId" was null or undefined when calling recordPartnerInvoicePayment().');
|
|
573
|
+
}
|
|
574
|
+
const queryParameters = {};
|
|
575
|
+
const headerParameters = {};
|
|
576
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
577
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
578
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
579
|
+
}
|
|
580
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
581
|
+
const token = this.configuration.accessToken;
|
|
582
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
583
|
+
if (tokenString) {
|
|
584
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
585
|
+
}
|
|
586
|
+
}
|
|
587
|
+
const response = yield this.request({
|
|
588
|
+
path: `/admin/partners/{partnerId}/invoices/{invoiceId}/record-payment`.replace(`{${"partnerId"}}`, encodeURIComponent(String(requestParameters['partnerId']))).replace(`{${"invoiceId"}}`, encodeURIComponent(String(requestParameters['invoiceId']))),
|
|
589
|
+
method: 'POST',
|
|
590
|
+
headers: headerParameters,
|
|
591
|
+
query: queryParameters,
|
|
592
|
+
body: (0, index_1.RecordPartnerInvoicePaymentRequestToJSON)(requestParameters['recordPartnerInvoicePaymentRequest']),
|
|
593
|
+
}, initOverrides);
|
|
594
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.RecordedPartnerPaymentFromJSON)(jsonValue));
|
|
595
|
+
});
|
|
596
|
+
}
|
|
597
|
+
/**
|
|
598
|
+
* Admin only. For an invoice that was paid by bank transfer, cheque or any other way outside Stripe. It marks the invoice paid in Stripe (`paid_out_of_band`), and Stripe then reports the payment exactly as it reports a card payment: the partner\'s invoice list is brought up to date (status and paid date), the reminders stop, the partner receives its receipt, and the administrators are told the payment arrived. Nothing is written to the partner\'s invoice list here, so the list changes a moment after the answer, when Stripe\'s report arrives; an administrator never updates a status by hand. The invoice is named by its id in the partner\'s invoice list and must belong to this partner. An invoice Stripe already holds as paid is answered (`recorded: false`) and nothing happens again, so a double click or a retry is safe. An invoice Stripe holds as void, uncollectible or still a draft cannot be marked paid (409 `INVOICE_NOT_PAYABLE`), and one that was never issued through Stripe has nothing to mark (409 `INVOICE_HAS_NO_STRIPE_INVOICE`). The audit trail records who recorded it, with the optional `note` (a bank reference, say).
|
|
599
|
+
* Record a payment that arrived outside Stripe
|
|
600
|
+
*/
|
|
601
|
+
recordPartnerInvoicePayment(requestParameters, initOverrides) {
|
|
602
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
603
|
+
const response = yield this.recordPartnerInvoicePaymentRaw(requestParameters, initOverrides);
|
|
604
|
+
return yield response.value();
|
|
605
|
+
});
|
|
606
|
+
}
|
|
494
607
|
/**
|
|
495
608
|
* Admin only. Adds `amount` credits to the partner wallet as a refund. The `Idempotency-Key` header is required: a retry with the same key replays the first refund instead of issuing a second one. A refund is held to the same ceiling as a top-up: **at most $100,000 per operation** (1,000,000 credits at $0.10 per credit). A larger amount is refused with 400 and nothing is credited.
|
|
496
609
|
* Credit a partner\'s wallet back with a refund
|
|
497
610
|
*/
|
|
498
611
|
refundPartnerCreditsRaw(requestParameters, initOverrides) {
|
|
499
612
|
return __awaiter(this, void 0, void 0, function* () {
|
|
500
|
-
if (requestParameters['idempotencyKey'] == null) {
|
|
501
|
-
throw new runtime.RequiredError('idempotencyKey', 'Required parameter "idempotencyKey" was null or undefined when calling refundPartnerCredits().');
|
|
502
|
-
}
|
|
503
613
|
if (requestParameters['refundPartnerCreditsRequest'] == null) {
|
|
504
614
|
throw new runtime.RequiredError('refundPartnerCreditsRequest', 'Required parameter "refundPartnerCreditsRequest" was null or undefined when calling refundPartnerCredits().');
|
|
505
615
|
}
|
|
@@ -580,6 +690,90 @@ class AdminApi extends runtime.BaseAPI {
|
|
|
580
690
|
return yield response.value();
|
|
581
691
|
});
|
|
582
692
|
}
|
|
693
|
+
/**
|
|
694
|
+
* Admin only. Saves the billing profile of a partner, then brings the partner\'s Stripe customer up to date with it (name, billing email, address, tax number), so that Stripe\'s own checks of the address and the tax number show now, while the administrator is on the page, and not when the first invoice fails. A part you leave out is left as it was; `null` clears it. The profile is saved whatever Stripe says: `stripe` says what it made of it, and a tax number Stripe rejects is flagged (`taxIdRejected`) so it is corrected before an invoice is issued. The address and the tax number are what Stripe Tax uses to add tax to the partner\'s invoices.
|
|
695
|
+
* Set what a partner\'s invoices are addressed with
|
|
696
|
+
*/
|
|
697
|
+
updatePartnerBillingProfileRaw(requestParameters, initOverrides) {
|
|
698
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
699
|
+
if (requestParameters['partnerId'] == null) {
|
|
700
|
+
throw new runtime.RequiredError('partnerId', 'Required parameter "partnerId" was null or undefined when calling updatePartnerBillingProfile().');
|
|
701
|
+
}
|
|
702
|
+
if (requestParameters['updatePartnerBillingProfileRequest'] == null) {
|
|
703
|
+
throw new runtime.RequiredError('updatePartnerBillingProfileRequest', 'Required parameter "updatePartnerBillingProfileRequest" was null or undefined when calling updatePartnerBillingProfile().');
|
|
704
|
+
}
|
|
705
|
+
const queryParameters = {};
|
|
706
|
+
const headerParameters = {};
|
|
707
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
708
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
709
|
+
const token = this.configuration.accessToken;
|
|
710
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
711
|
+
if (tokenString) {
|
|
712
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
const response = yield this.request({
|
|
716
|
+
path: `/admin/partners/{partnerId}/billing-profile`.replace(`{${"partnerId"}}`, encodeURIComponent(String(requestParameters['partnerId']))),
|
|
717
|
+
method: 'PUT',
|
|
718
|
+
headers: headerParameters,
|
|
719
|
+
query: queryParameters,
|
|
720
|
+
body: (0, index_1.UpdatePartnerBillingProfileRequestToJSON)(requestParameters['updatePartnerBillingProfileRequest']),
|
|
721
|
+
}, initOverrides);
|
|
722
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PartnerBillingProfileSavedFromJSON)(jsonValue));
|
|
723
|
+
});
|
|
724
|
+
}
|
|
725
|
+
/**
|
|
726
|
+
* Admin only. Saves the billing profile of a partner, then brings the partner\'s Stripe customer up to date with it (name, billing email, address, tax number), so that Stripe\'s own checks of the address and the tax number show now, while the administrator is on the page, and not when the first invoice fails. A part you leave out is left as it was; `null` clears it. The profile is saved whatever Stripe says: `stripe` says what it made of it, and a tax number Stripe rejects is flagged (`taxIdRejected`) so it is corrected before an invoice is issued. The address and the tax number are what Stripe Tax uses to add tax to the partner\'s invoices.
|
|
727
|
+
* Set what a partner\'s invoices are addressed with
|
|
728
|
+
*/
|
|
729
|
+
updatePartnerBillingProfile(requestParameters, initOverrides) {
|
|
730
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
731
|
+
const response = yield this.updatePartnerBillingProfileRaw(requestParameters, initOverrides);
|
|
732
|
+
return yield response.value();
|
|
733
|
+
});
|
|
734
|
+
}
|
|
735
|
+
/**
|
|
736
|
+
* Admin only. Everybody\'s editor sessions run with the same settings; this changes them for one partner when it needs it. A setting left out stays as it is, and `null` clears it (the partner then gets what everybody gets). At least one has to be named. - `enabled: false` switches editor sessions off for this partner: no new session can be made (403 `EDITOR_SESSIONS_DISABLED_FOR_PARTNER`) and the sessions it already has stop working. It only ever narrows: `true` is the same as `null`, and it can never switch on what the global kill switch has switched off. - `costMultiplier` is what an operation of the partner\'s customers costs their usage budget, as a multiple of its base cost (above 0, at most 10, three decimals at most). Smaller is a larger allowance. It is the brake on a customer\'s pace; the credits an operation spends are unchanged. - `defaultMaxCredits` is the credit limit a new session gets when the partner\'s request for it names no `max_credits`. A request that names its own, or names `null` for none, keeps it. The change is felt on this instance at once and on every instance within 15 seconds.
|
|
737
|
+
* Set what is different about one partner\'s editor sessions
|
|
738
|
+
*/
|
|
739
|
+
updatePartnerEditorSessionSettingsRaw(requestParameters, initOverrides) {
|
|
740
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
741
|
+
if (requestParameters['partnerId'] == null) {
|
|
742
|
+
throw new runtime.RequiredError('partnerId', 'Required parameter "partnerId" was null or undefined when calling updatePartnerEditorSessionSettings().');
|
|
743
|
+
}
|
|
744
|
+
if (requestParameters['updatePartnerEditorSessionSettingsRequest'] == null) {
|
|
745
|
+
throw new runtime.RequiredError('updatePartnerEditorSessionSettingsRequest', 'Required parameter "updatePartnerEditorSessionSettingsRequest" was null or undefined when calling updatePartnerEditorSessionSettings().');
|
|
746
|
+
}
|
|
747
|
+
const queryParameters = {};
|
|
748
|
+
const headerParameters = {};
|
|
749
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
750
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
751
|
+
const token = this.configuration.accessToken;
|
|
752
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
753
|
+
if (tokenString) {
|
|
754
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
const response = yield this.request({
|
|
758
|
+
path: `/admin/partners/{partnerId}/editor-sessions`.replace(`{${"partnerId"}}`, encodeURIComponent(String(requestParameters['partnerId']))),
|
|
759
|
+
method: 'PUT',
|
|
760
|
+
headers: headerParameters,
|
|
761
|
+
query: queryParameters,
|
|
762
|
+
body: (0, index_1.UpdatePartnerEditorSessionSettingsRequestToJSON)(requestParameters['updatePartnerEditorSessionSettingsRequest']),
|
|
763
|
+
}, initOverrides);
|
|
764
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PartnerEditorSessionSettingsFromJSON)(jsonValue));
|
|
765
|
+
});
|
|
766
|
+
}
|
|
767
|
+
/**
|
|
768
|
+
* Admin only. Everybody\'s editor sessions run with the same settings; this changes them for one partner when it needs it. A setting left out stays as it is, and `null` clears it (the partner then gets what everybody gets). At least one has to be named. - `enabled: false` switches editor sessions off for this partner: no new session can be made (403 `EDITOR_SESSIONS_DISABLED_FOR_PARTNER`) and the sessions it already has stop working. It only ever narrows: `true` is the same as `null`, and it can never switch on what the global kill switch has switched off. - `costMultiplier` is what an operation of the partner\'s customers costs their usage budget, as a multiple of its base cost (above 0, at most 10, three decimals at most). Smaller is a larger allowance. It is the brake on a customer\'s pace; the credits an operation spends are unchanged. - `defaultMaxCredits` is the credit limit a new session gets when the partner\'s request for it names no `max_credits`. A request that names its own, or names `null` for none, keeps it. The change is felt on this instance at once and on every instance within 15 seconds.
|
|
769
|
+
* Set what is different about one partner\'s editor sessions
|
|
770
|
+
*/
|
|
771
|
+
updatePartnerEditorSessionSettings(requestParameters, initOverrides) {
|
|
772
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
773
|
+
const response = yield this.updatePartnerEditorSessionSettingsRaw(requestParameters, initOverrides);
|
|
774
|
+
return yield response.value();
|
|
775
|
+
});
|
|
776
|
+
}
|
|
583
777
|
/**
|
|
584
778
|
* Admin only. Sets the partner\'s standing (the `status` field every partner response carries). - `active` activates a new partner, or resumes a paused one: it is switched on, and a suspension\'s reason and time are cleared. **Activating a partner that was never activated (or was deactivated) is refused with 409 `PARTNER_NOT_READY` until a contract is in force and a verified storage destination is set** (`error.details.requirements` lists each, and `GET /admin/partners/{partnerId}/activation` reads them without changing anything). Resuming a paused partner is never held up by that. It also records the partner plan on the partner\'s administrator again if that was missing (a partner created before the plan was recorded, or whose write failed); if that could not be done the partner is still reinstated and `warnings` says so. - `inactive` switches the partner off without a reason; a suspension\'s reason and time are cleared, so a partner moved from suspended to inactive is no longer reported as suspended. - `suspended` is the pause: it switches the partner off and records `reason` (default `Suspended by admin`) and the time. It is manual only. An unpaid invoice is chased and reported to the administrators, but never pauses a partner by itself. While a partner is not `active` it is unusable, and what it published is not served: its embeds answer as if they did not exist, editor sessions are refused, its customers cannot create or generate anything, and every write or generation by its API key is refused with 403 `PARTNER_SUSPENDED` (or `PARTNER_INACTIVE`). This takes hold within 15 seconds at most, on every instance. The partner\'s own administrator can still sign in and use billing, invoices, credits, the contract and notifications. Resuming the partner restores everything, with no new token for a customer. A person who administers two partners is served while either is active, and an administrator account that also holds a subscription of its own is served on that. Sending the standing the partner already has is accepted; for `suspended` it replaces the recorded reason and time.
|
|
585
779
|
* Activate, deactivate or suspend a partner
|