@widgetic/api-sdk 1.0.27 → 1.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/apis/ABTestingApi.d.ts +13 -0
- package/dist/apis/ABTestingApi.js +39 -0
- package/dist/apis/AdminApi.d.ts +74 -4
- package/dist/apis/AdminApi.js +203 -9
- package/dist/apis/AdminBillingApi.d.ts +14 -3
- package/dist/apis/AdminBillingApi.js +35 -5
- package/dist/apis/AgentApi.d.ts +6 -2
- package/dist/apis/AgentApi.js +14 -2
- package/dist/apis/AuthenticationApi.d.ts +8 -0
- package/dist/apis/AuthenticationApi.js +24 -0
- package/dist/apis/BillingApi.d.ts +7 -0
- package/dist/apis/BillingApi.js +21 -0
- package/dist/apis/CompositionsApi.d.ts +10 -2
- package/dist/apis/CompositionsApi.js +26 -2
- package/dist/apis/ContentsApi.d.ts +3 -0
- package/dist/apis/ContentsApi.js +9 -0
- package/dist/apis/ConversationsApi.d.ts +2 -0
- package/dist/apis/ConversationsApi.js +6 -0
- package/dist/apis/CreditsApi.d.ts +2 -0
- package/dist/apis/CreditsApi.js +6 -0
- package/dist/apis/EmailApi.d.ts +2 -0
- package/dist/apis/EmailApi.js +6 -0
- package/dist/apis/EntitlementsApi.d.ts +1 -0
- package/dist/apis/EntitlementsApi.js +3 -0
- package/dist/apis/FoldersApi.d.ts +2 -0
- package/dist/apis/FoldersApi.js +6 -0
- package/dist/apis/IntegrationsApi.d.ts +2 -0
- package/dist/apis/IntegrationsApi.js +6 -0
- package/dist/apis/InvitationsApi.d.ts +1 -0
- package/dist/apis/InvitationsApi.js +3 -0
- package/dist/apis/InvoicesApi.d.ts +4 -2
- package/dist/apis/InvoicesApi.js +8 -2
- package/dist/apis/MCPApi.d.ts +8 -2
- package/dist/apis/MCPApi.js +16 -4
- package/dist/apis/ManagedUsersApi.d.ts +6 -2
- package/dist/apis/ManagedUsersApi.js +14 -2
- package/dist/apis/MessagesApi.d.ts +2 -0
- package/dist/apis/MessagesApi.js +6 -0
- package/dist/apis/OperationsApi.d.ts +3 -2
- package/dist/apis/OperationsApi.js +5 -2
- package/dist/apis/OrganizationsApi.d.ts +10 -2
- package/dist/apis/OrganizationsApi.js +24 -6
- package/dist/apis/PartnersApi.d.ts +173 -3
- package/dist/apis/PartnersApi.js +494 -4
- package/dist/apis/ProjectsApi.d.ts +3 -0
- package/dist/apis/ProjectsApi.js +9 -0
- package/dist/apis/PromptsApi.d.ts +2 -0
- package/dist/apis/PromptsApi.js +6 -0
- package/dist/apis/SubscriptionsApi.d.ts +4 -0
- package/dist/apis/SubscriptionsApi.js +12 -0
- package/dist/apis/TranslationsApi.d.ts +5 -0
- package/dist/apis/TranslationsApi.js +15 -0
- package/dist/apis/UploadsApi.d.ts +2 -2
- package/dist/apis/UploadsApi.js +2 -2
- package/dist/apis/UsageApi.d.ts +2 -0
- package/dist/apis/UsageApi.js +6 -0
- package/dist/apis/UsersApi.d.ts +9 -8
- package/dist/apis/UsersApi.js +11 -8
- package/dist/apis/WebhooksApi.d.ts +2 -0
- package/dist/apis/WebhooksApi.js +6 -0
- package/dist/apis/WidgetsApi.d.ts +2 -1
- package/dist/apis/WidgetsApi.js +3 -3
- package/dist/apis/WorkspacesApi.d.ts +9 -0
- package/dist/apis/WorkspacesApi.js +27 -0
- package/dist/esm/apis/ABTestingApi.d.ts +13 -0
- package/dist/esm/apis/ABTestingApi.js +39 -0
- package/dist/esm/apis/AdminApi.d.ts +74 -4
- package/dist/esm/apis/AdminApi.js +204 -10
- package/dist/esm/apis/AdminBillingApi.d.ts +14 -3
- package/dist/esm/apis/AdminBillingApi.js +35 -5
- package/dist/esm/apis/AgentApi.d.ts +6 -2
- package/dist/esm/apis/AgentApi.js +14 -2
- package/dist/esm/apis/AuthenticationApi.d.ts +8 -0
- package/dist/esm/apis/AuthenticationApi.js +24 -0
- package/dist/esm/apis/BillingApi.d.ts +7 -0
- package/dist/esm/apis/BillingApi.js +21 -0
- package/dist/esm/apis/CompositionsApi.d.ts +10 -2
- package/dist/esm/apis/CompositionsApi.js +26 -2
- package/dist/esm/apis/ContentsApi.d.ts +3 -0
- package/dist/esm/apis/ContentsApi.js +9 -0
- package/dist/esm/apis/ConversationsApi.d.ts +2 -0
- package/dist/esm/apis/ConversationsApi.js +6 -0
- package/dist/esm/apis/CreditsApi.d.ts +2 -0
- package/dist/esm/apis/CreditsApi.js +6 -0
- package/dist/esm/apis/EmailApi.d.ts +2 -0
- package/dist/esm/apis/EmailApi.js +6 -0
- package/dist/esm/apis/EntitlementsApi.d.ts +1 -0
- package/dist/esm/apis/EntitlementsApi.js +3 -0
- package/dist/esm/apis/FoldersApi.d.ts +2 -0
- package/dist/esm/apis/FoldersApi.js +6 -0
- package/dist/esm/apis/IntegrationsApi.d.ts +2 -0
- package/dist/esm/apis/IntegrationsApi.js +6 -0
- package/dist/esm/apis/InvitationsApi.d.ts +1 -0
- package/dist/esm/apis/InvitationsApi.js +3 -0
- package/dist/esm/apis/InvoicesApi.d.ts +4 -2
- package/dist/esm/apis/InvoicesApi.js +8 -2
- package/dist/esm/apis/MCPApi.d.ts +8 -2
- package/dist/esm/apis/MCPApi.js +16 -4
- package/dist/esm/apis/ManagedUsersApi.d.ts +6 -2
- package/dist/esm/apis/ManagedUsersApi.js +14 -2
- package/dist/esm/apis/MessagesApi.d.ts +2 -0
- package/dist/esm/apis/MessagesApi.js +6 -0
- package/dist/esm/apis/OperationsApi.d.ts +3 -2
- package/dist/esm/apis/OperationsApi.js +5 -2
- package/dist/esm/apis/OrganizationsApi.d.ts +10 -2
- package/dist/esm/apis/OrganizationsApi.js +24 -6
- package/dist/esm/apis/PartnersApi.d.ts +173 -3
- package/dist/esm/apis/PartnersApi.js +495 -5
- package/dist/esm/apis/ProjectsApi.d.ts +3 -0
- package/dist/esm/apis/ProjectsApi.js +9 -0
- package/dist/esm/apis/PromptsApi.d.ts +2 -0
- package/dist/esm/apis/PromptsApi.js +6 -0
- package/dist/esm/apis/SubscriptionsApi.d.ts +4 -0
- package/dist/esm/apis/SubscriptionsApi.js +12 -0
- package/dist/esm/apis/TranslationsApi.d.ts +5 -0
- package/dist/esm/apis/TranslationsApi.js +15 -0
- package/dist/esm/apis/UploadsApi.d.ts +2 -2
- package/dist/esm/apis/UploadsApi.js +2 -2
- package/dist/esm/apis/UsageApi.d.ts +2 -0
- package/dist/esm/apis/UsageApi.js +6 -0
- package/dist/esm/apis/UsersApi.d.ts +9 -8
- package/dist/esm/apis/UsersApi.js +11 -8
- package/dist/esm/apis/WebhooksApi.d.ts +2 -0
- package/dist/esm/apis/WebhooksApi.js +6 -0
- package/dist/esm/apis/WidgetsApi.d.ts +2 -1
- package/dist/esm/apis/WidgetsApi.js +3 -3
- package/dist/esm/apis/WorkspacesApi.d.ts +9 -0
- package/dist/esm/apis/WorkspacesApi.js +27 -0
- package/dist/esm/models/ApiKeyScope.d.ts +56 -0
- package/dist/esm/models/ApiKeyScope.js +74 -0
- package/dist/esm/models/CreateUserApiKeyRequest.d.ts +22 -0
- package/dist/esm/models/CreateUserApiKeyRequest.js +13 -0
- package/dist/esm/models/CreatedUserApiKey.d.ts +23 -0
- package/dist/esm/models/CreatedUserApiKey.js +18 -0
- package/dist/esm/models/IssuePartnerInvoiceRequest.d.ts +2 -2
- package/dist/esm/models/IssuedPartnerInvoice.d.ts +37 -1
- package/dist/esm/models/IssuedPartnerInvoice.js +24 -0
- package/dist/esm/models/MyPartner.d.ts +86 -0
- package/dist/esm/models/MyPartner.js +75 -0
- package/dist/esm/models/MyPartners.d.ts +50 -0
- package/dist/esm/models/MyPartners.js +57 -0
- package/dist/esm/models/NewEditorSession.d.ts +1 -1
- package/dist/esm/models/PartnerAnalyticsByManagedUser.d.ts +54 -0
- package/dist/esm/models/PartnerAnalyticsByManagedUser.js +58 -0
- package/dist/esm/models/PartnerAnalyticsOfDay.d.ts +50 -0
- package/dist/esm/models/PartnerAnalyticsOfDay.js +55 -0
- package/dist/esm/models/PartnerAnalyticsOfManagedUser.d.ts +86 -0
- package/dist/esm/models/PartnerAnalyticsOfManagedUser.js +79 -0
- package/dist/esm/models/PartnerAnalyticsOfWidget.d.ts +62 -0
- package/dist/esm/models/PartnerAnalyticsOfWidget.js +63 -0
- package/dist/esm/models/PartnerAnalyticsSummary.d.ts +76 -0
- package/dist/esm/models/PartnerAnalyticsSummary.js +72 -0
- package/dist/esm/models/PartnerAnalyticsTimeline.d.ts +52 -0
- package/dist/esm/models/PartnerAnalyticsTimeline.js +57 -0
- package/dist/esm/models/PartnerAnalyticsTopWidgets.d.ts +52 -0
- package/dist/esm/models/PartnerAnalyticsTopWidgets.js +57 -0
- package/dist/esm/models/PartnerBillingProfile.d.ts +76 -0
- package/dist/esm/models/PartnerBillingProfile.js +73 -0
- package/dist/esm/models/PartnerBillingProfileAddress.d.ts +62 -0
- package/dist/esm/models/PartnerBillingProfileAddress.js +55 -0
- package/dist/esm/models/PartnerBillingProfileSaved.d.ts +58 -0
- package/dist/esm/models/PartnerBillingProfileSaved.js +61 -0
- package/dist/esm/models/PartnerBillingProfileTaxId.d.ts +38 -0
- package/dist/esm/models/PartnerBillingProfileTaxId.js +47 -0
- package/dist/esm/models/PartnerBillingProfileView.d.ts +51 -0
- package/dist/esm/models/PartnerBillingProfileView.js +56 -0
- package/dist/esm/models/PartnerBillingStripeSync.d.ts +53 -0
- package/dist/esm/models/PartnerBillingStripeSync.js +55 -0
- package/dist/esm/models/PartnerEditorSessionSettings.d.ts +53 -0
- package/dist/esm/models/PartnerEditorSessionSettings.js +57 -0
- package/dist/esm/models/PartnerEditorSessionSettingsEffective.d.ts +44 -0
- package/dist/esm/models/PartnerEditorSessionSettingsEffective.js +51 -0
- package/dist/esm/models/PartnerEditorSessionSettingsSettings.d.ts +44 -0
- package/dist/esm/models/PartnerEditorSessionSettingsSettings.js +51 -0
- package/dist/esm/models/PartnerInvoice.d.ts +26 -1
- package/dist/esm/models/PartnerInvoice.js +8 -0
- package/dist/esm/models/PartnerNotification.d.ts +81 -0
- package/dist/esm/models/PartnerNotification.js +77 -0
- package/dist/esm/models/PartnerNotificationDefaultRecipients.d.ts +38 -0
- package/dist/esm/models/PartnerNotificationDefaultRecipients.js +47 -0
- package/dist/esm/models/PartnerNotificationDelivery.d.ts +128 -0
- package/dist/esm/models/PartnerNotificationDelivery.js +111 -0
- package/dist/esm/models/PartnerNotificationDeliveryLog.d.ts +33 -0
- package/dist/esm/models/PartnerNotificationDeliveryLog.js +44 -0
- package/dist/esm/models/PartnerNotificationEvent.d.ts +67 -0
- package/dist/esm/models/PartnerNotificationEvent.js +69 -0
- package/dist/esm/models/PartnerNotificationEventType.d.ts +33 -0
- package/dist/esm/models/PartnerNotificationEventType.js +51 -0
- package/dist/esm/models/PartnerNotificationPage.d.ts +39 -0
- package/dist/esm/models/PartnerNotificationPage.js +48 -0
- package/dist/esm/models/PartnerNotificationSettings.d.ts +89 -0
- package/dist/esm/models/PartnerNotificationSettings.js +82 -0
- package/dist/esm/models/PartnerNotificationSettingsChange.d.ts +39 -0
- package/dist/esm/models/PartnerNotificationSettingsChange.js +48 -0
- package/dist/esm/models/PartnerReportPage.d.ts +44 -0
- package/dist/esm/models/PartnerReportPage.js +51 -0
- package/dist/esm/models/PartnerReportPeriod.d.ts +38 -0
- package/dist/esm/models/PartnerReportPeriod.js +47 -0
- package/dist/esm/models/PartnerStorageUsage.d.ts +54 -0
- package/dist/esm/models/PartnerStorageUsage.js +58 -0
- package/dist/esm/models/PartnerStorageUsageOfManagedUser.d.ts +81 -0
- package/dist/esm/models/PartnerStorageUsageOfManagedUser.js +75 -0
- package/dist/esm/models/PartnerStorageUsageTotals.d.ts +50 -0
- package/dist/esm/models/PartnerStorageUsageTotals.js +55 -0
- package/dist/esm/models/RecordPartnerInvoicePaymentRequest.d.ts +32 -0
- package/dist/esm/models/RecordPartnerInvoicePaymentRequest.js +41 -0
- package/dist/esm/models/RecordedPartnerPayment.d.ts +39 -0
- package/dist/esm/models/RecordedPartnerPayment.js +48 -0
- package/dist/esm/models/RecordedPartnerPaymentInvoice.d.ts +50 -0
- package/dist/esm/models/RecordedPartnerPaymentInvoice.js +55 -0
- package/dist/esm/models/UpdatePartnerBillingProfileRequest.d.ts +58 -0
- package/dist/esm/models/UpdatePartnerBillingProfileRequest.js +51 -0
- package/dist/esm/models/UpdatePartnerBillingProfileRequestAddress.d.ts +62 -0
- package/dist/esm/models/UpdatePartnerBillingProfileRequestAddress.js +55 -0
- package/dist/esm/models/UpdatePartnerBillingProfileRequestTaxId.d.ts +38 -0
- package/dist/esm/models/UpdatePartnerBillingProfileRequestTaxId.js +47 -0
- package/dist/esm/models/UpdatePartnerEditorSessionSettingsRequest.d.ts +44 -0
- package/dist/esm/models/UpdatePartnerEditorSessionSettingsRequest.js +45 -0
- package/dist/esm/models/UpdatePartnerNotificationSettingsRequest.d.ts +51 -0
- package/dist/esm/models/UpdatePartnerNotificationSettingsRequest.js +48 -0
- package/dist/esm/models/UserApiKey.d.ts +23 -0
- package/dist/esm/models/UserApiKey.js +18 -0
- package/dist/esm/models/index.d.ts +41 -0
- package/dist/esm/models/index.js +41 -0
- package/dist/models/ApiKeyScope.d.ts +56 -0
- package/dist/models/ApiKeyScope.js +82 -0
- package/dist/models/CreateUserApiKeyRequest.d.ts +22 -0
- package/dist/models/CreateUserApiKeyRequest.js +14 -0
- package/dist/models/CreatedUserApiKey.d.ts +23 -0
- package/dist/models/CreatedUserApiKey.js +19 -0
- package/dist/models/IssuePartnerInvoiceRequest.d.ts +2 -2
- package/dist/models/IssuedPartnerInvoice.d.ts +37 -1
- package/dist/models/IssuedPartnerInvoice.js +24 -0
- package/dist/models/MyPartner.d.ts +86 -0
- package/dist/models/MyPartner.js +83 -0
- package/dist/models/MyPartners.d.ts +50 -0
- package/dist/models/MyPartners.js +65 -0
- package/dist/models/NewEditorSession.d.ts +1 -1
- package/dist/models/PartnerAnalyticsByManagedUser.d.ts +54 -0
- package/dist/models/PartnerAnalyticsByManagedUser.js +65 -0
- package/dist/models/PartnerAnalyticsOfDay.d.ts +50 -0
- package/dist/models/PartnerAnalyticsOfDay.js +62 -0
- package/dist/models/PartnerAnalyticsOfManagedUser.d.ts +86 -0
- package/dist/models/PartnerAnalyticsOfManagedUser.js +86 -0
- package/dist/models/PartnerAnalyticsOfWidget.d.ts +62 -0
- package/dist/models/PartnerAnalyticsOfWidget.js +70 -0
- package/dist/models/PartnerAnalyticsSummary.d.ts +76 -0
- package/dist/models/PartnerAnalyticsSummary.js +79 -0
- package/dist/models/PartnerAnalyticsTimeline.d.ts +52 -0
- package/dist/models/PartnerAnalyticsTimeline.js +64 -0
- package/dist/models/PartnerAnalyticsTopWidgets.d.ts +52 -0
- package/dist/models/PartnerAnalyticsTopWidgets.js +64 -0
- package/dist/models/PartnerBillingProfile.d.ts +76 -0
- package/dist/models/PartnerBillingProfile.js +80 -0
- package/dist/models/PartnerBillingProfileAddress.d.ts +62 -0
- package/dist/models/PartnerBillingProfileAddress.js +62 -0
- package/dist/models/PartnerBillingProfileSaved.d.ts +58 -0
- package/dist/models/PartnerBillingProfileSaved.js +68 -0
- package/dist/models/PartnerBillingProfileTaxId.d.ts +38 -0
- package/dist/models/PartnerBillingProfileTaxId.js +54 -0
- package/dist/models/PartnerBillingProfileView.d.ts +51 -0
- package/dist/models/PartnerBillingProfileView.js +63 -0
- package/dist/models/PartnerBillingStripeSync.d.ts +53 -0
- package/dist/models/PartnerBillingStripeSync.js +63 -0
- package/dist/models/PartnerEditorSessionSettings.d.ts +53 -0
- package/dist/models/PartnerEditorSessionSettings.js +64 -0
- package/dist/models/PartnerEditorSessionSettingsEffective.d.ts +44 -0
- package/dist/models/PartnerEditorSessionSettingsEffective.js +58 -0
- package/dist/models/PartnerEditorSessionSettingsSettings.d.ts +44 -0
- package/dist/models/PartnerEditorSessionSettingsSettings.js +58 -0
- package/dist/models/PartnerInvoice.d.ts +26 -1
- package/dist/models/PartnerInvoice.js +8 -0
- package/dist/models/PartnerNotification.d.ts +81 -0
- package/dist/models/PartnerNotification.js +85 -0
- package/dist/models/PartnerNotificationDefaultRecipients.d.ts +38 -0
- package/dist/models/PartnerNotificationDefaultRecipients.js +54 -0
- package/dist/models/PartnerNotificationDelivery.d.ts +128 -0
- package/dist/models/PartnerNotificationDelivery.js +119 -0
- package/dist/models/PartnerNotificationDeliveryLog.d.ts +33 -0
- package/dist/models/PartnerNotificationDeliveryLog.js +51 -0
- package/dist/models/PartnerNotificationEvent.d.ts +67 -0
- package/dist/models/PartnerNotificationEvent.js +77 -0
- package/dist/models/PartnerNotificationEventType.d.ts +33 -0
- package/dist/models/PartnerNotificationEventType.js +59 -0
- package/dist/models/PartnerNotificationPage.d.ts +39 -0
- package/dist/models/PartnerNotificationPage.js +55 -0
- package/dist/models/PartnerNotificationSettings.d.ts +89 -0
- package/dist/models/PartnerNotificationSettings.js +89 -0
- package/dist/models/PartnerNotificationSettingsChange.d.ts +39 -0
- package/dist/models/PartnerNotificationSettingsChange.js +55 -0
- package/dist/models/PartnerReportPage.d.ts +44 -0
- package/dist/models/PartnerReportPage.js +58 -0
- package/dist/models/PartnerReportPeriod.d.ts +38 -0
- package/dist/models/PartnerReportPeriod.js +54 -0
- package/dist/models/PartnerStorageUsage.d.ts +54 -0
- package/dist/models/PartnerStorageUsage.js +65 -0
- package/dist/models/PartnerStorageUsageOfManagedUser.d.ts +81 -0
- package/dist/models/PartnerStorageUsageOfManagedUser.js +82 -0
- package/dist/models/PartnerStorageUsageTotals.d.ts +50 -0
- package/dist/models/PartnerStorageUsageTotals.js +62 -0
- package/dist/models/RecordPartnerInvoicePaymentRequest.d.ts +32 -0
- package/dist/models/RecordPartnerInvoicePaymentRequest.js +48 -0
- package/dist/models/RecordedPartnerPayment.d.ts +39 -0
- package/dist/models/RecordedPartnerPayment.js +55 -0
- package/dist/models/RecordedPartnerPaymentInvoice.d.ts +50 -0
- package/dist/models/RecordedPartnerPaymentInvoice.js +62 -0
- package/dist/models/UpdatePartnerBillingProfileRequest.d.ts +58 -0
- package/dist/models/UpdatePartnerBillingProfileRequest.js +58 -0
- package/dist/models/UpdatePartnerBillingProfileRequestAddress.d.ts +62 -0
- package/dist/models/UpdatePartnerBillingProfileRequestAddress.js +62 -0
- package/dist/models/UpdatePartnerBillingProfileRequestTaxId.d.ts +38 -0
- package/dist/models/UpdatePartnerBillingProfileRequestTaxId.js +54 -0
- package/dist/models/UpdatePartnerEditorSessionSettingsRequest.d.ts +44 -0
- package/dist/models/UpdatePartnerEditorSessionSettingsRequest.js +52 -0
- package/dist/models/UpdatePartnerNotificationSettingsRequest.d.ts +51 -0
- package/dist/models/UpdatePartnerNotificationSettingsRequest.js +55 -0
- package/dist/models/UserApiKey.d.ts +23 -0
- package/dist/models/UserApiKey.js +19 -0
- package/dist/models/index.d.ts +41 -0
- package/dist/models/index.js +41 -0
- package/package.json +1 -1
- package/dist/apis/AgentRepositoryManagementApi.d.ts +0 -32
- package/dist/apis/AgentRepositoryManagementApi.js +0 -75
- package/dist/apis/UIComponentsApi.d.ts +0 -96
- package/dist/apis/UIComponentsApi.js +0 -209
- package/dist/apis/WorkflowsApi.d.ts +0 -44
- package/dist/apis/WorkflowsApi.js +0 -111
- package/dist/esm/apis/AgentRepositoryManagementApi.d.ts +0 -32
- package/dist/esm/apis/AgentRepositoryManagementApi.js +0 -71
- package/dist/esm/apis/UIComponentsApi.d.ts +0 -96
- package/dist/esm/apis/UIComponentsApi.js +0 -205
- package/dist/esm/apis/WorkflowsApi.d.ts +0 -44
- package/dist/esm/apis/WorkflowsApi.js +0 -107
- package/dist/esm/models/AgentRepositoriesRepoIdSyncPost202Response.d.ts +0 -32
- package/dist/esm/models/AgentRepositoriesRepoIdSyncPost202Response.js +0 -41
- package/dist/esm/models/AgentRepositoriesRepoIdSyncPostRequest.d.ts +0 -32
- package/dist/esm/models/AgentRepositoriesRepoIdSyncPostRequest.js +0 -43
- package/dist/esm/models/AgentTasksTaskIdStatusPutRequest.d.ts +0 -54
- package/dist/esm/models/AgentTasksTaskIdStatusPutRequest.js +0 -60
- package/dist/esm/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.d.ts +0 -32
- package/dist/esm/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.js +0 -41
- package/dist/esm/models/ApiV1AdminBillingGrantsPostRequest.d.ts +0 -82
- package/dist/esm/models/ApiV1AdminBillingGrantsPostRequest.js +0 -79
- package/dist/esm/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.d.ts +0 -32
- package/dist/esm/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.js +0 -41
- package/dist/esm/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +0 -32
- package/dist/esm/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +0 -43
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200Response.js +0 -44
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.d.ts +0 -57
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.js +0 -50
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.d.ts +0 -68
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.js +0 -53
- package/dist/esm/models/ApiV1AdminBillingRefundsPostRequest.d.ts +0 -70
- package/dist/esm/models/ApiV1AdminBillingRefundsPostRequest.js +0 -64
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200Response.d.ts +0 -71
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200Response.js +0 -59
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.d.ts +0 -51
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js +0 -48
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPostRequest.d.ts +0 -70
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPostRequest.js +0 -62
- package/dist/esm/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.d.ts +0 -46
- package/dist/esm/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.js +0 -52
- package/dist/esm/models/ApiV1BillingPricingGet200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingPricingGet200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseData.d.ts +0 -46
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseData.js +0 -47
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataPlansInner.d.ts +0 -68
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataPlansInner.js +0 -53
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataTrial.d.ts +0 -44
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataTrial.js +0 -45
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.d.ts +0 -33
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.js +0 -42
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.d.ts +0 -68
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.js +0 -53
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.d.ts +0 -33
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.js +0 -42
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +0 -62
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.js +0 -51
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.js +0 -41
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.js +0 -41
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.d.ts +0 -33
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.js +0 -42
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.js +0 -43
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.d.ts +0 -50
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.js +0 -47
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.js +0 -41
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPostRequest.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPostRequest.js +0 -41
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.js +0 -41
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.d.ts +0 -32
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.js +0 -41
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.d.ts +0 -120
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.js +0 -76
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.d.ts +0 -38
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.js +0 -43
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.js +0 -44
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.d.ts +0 -38
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.js +0 -43
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.d.ts +0 -53
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.js +0 -58
- package/dist/esm/models/ApiV1MetricsGet200Response.d.ts +0 -39
- package/dist/esm/models/ApiV1MetricsGet200Response.js +0 -44
- package/dist/esm/models/ApiV1MetricsGet200ResponseData.d.ts +0 -56
- package/dist/esm/models/ApiV1MetricsGet200ResponseData.js +0 -50
- package/dist/esm/models/ApiV1MetricsGet200ResponseDataErrorsValue.d.ts +0 -44
- package/dist/esm/models/ApiV1MetricsGet200ResponseDataErrorsValue.js +0 -45
- package/dist/esm/models/ApiV1MetricsGet200ResponseDataLatencyValue.d.ts +0 -50
- package/dist/esm/models/ApiV1MetricsGet200ResponseDataLatencyValue.js +0 -47
- package/dist/esm/models/ApiV1MetricsLatencyGet200Response.d.ts +0 -41
- package/dist/esm/models/ApiV1MetricsLatencyGet200Response.js +0 -45
- package/dist/esm/models/ApiV1MetricsLatencyGet200ResponseDataValue.d.ts +0 -62
- package/dist/esm/models/ApiV1MetricsLatencyGet200ResponseDataValue.js +0 -51
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.d.ts +0 -71
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.js +0 -59
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.d.ts +0 -51
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js +0 -48
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.d.ts +0 -38
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js +0 -43
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.d.ts +0 -44
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.js +0 -45
- package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.d.ts +0 -38
- package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.js +0 -43
- package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.d.ts +0 -38
- package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.js +0 -47
- package/dist/esm/models/ComponentManifest.d.ts +0 -52
- package/dist/esm/models/ComponentManifest.js +0 -49
- package/dist/esm/models/ComponentManifestAssets.d.ts +0 -38
- package/dist/esm/models/ComponentManifestAssets.js +0 -43
- package/dist/esm/models/ComponentManifestConfig.d.ts +0 -44
- package/dist/esm/models/ComponentManifestConfig.js +0 -45
- package/dist/esm/models/DevelopmentPlan.d.ts +0 -97
- package/dist/esm/models/DevelopmentPlan.js +0 -69
- package/dist/esm/models/DevelopmentTask.d.ts +0 -90
- package/dist/esm/models/DevelopmentTask.js +0 -66
- package/dist/esm/models/GenerateComponentWorkflowInput.d.ts +0 -56
- package/dist/esm/models/GenerateComponentWorkflowInput.js +0 -55
- package/dist/esm/models/GenerateMixedComponentInput.d.ts +0 -62
- package/dist/esm/models/GenerateMixedComponentInput.js +0 -59
- package/dist/esm/models/GetCompositionsBatch200ResponseErrorsInner.d.ts +0 -38
- package/dist/esm/models/GetCompositionsBatch200ResponseErrorsInner.js +0 -43
- package/dist/esm/models/GetOrganizationStorageUsage200ResponseDataBreakdown.d.ts +0 -44
- package/dist/esm/models/GetOrganizationStorageUsage200ResponseDataBreakdown.js +0 -45
- package/dist/esm/models/ListComponents200Response.d.ts +0 -33
- package/dist/esm/models/ListComponents200Response.js +0 -42
- package/dist/esm/models/LoginUser200Response.d.ts +0 -38
- package/dist/esm/models/LoginUser200Response.js +0 -43
- package/dist/esm/models/MountRequest.d.ts +0 -45
- package/dist/esm/models/MountRequest.js +0 -48
- package/dist/esm/models/MountRequestTheme.d.ts +0 -54
- package/dist/esm/models/MountRequestTheme.js +0 -54
- package/dist/esm/models/MountRequestThemeColors.d.ts +0 -50
- package/dist/esm/models/MountRequestThemeColors.js +0 -47
- package/dist/esm/models/MountRequestThemeTypography.d.ts +0 -38
- package/dist/esm/models/MountRequestThemeTypography.js +0 -43
- package/dist/esm/models/MountResponse.d.ts +0 -46
- package/dist/esm/models/MountResponse.js +0 -50
- package/dist/esm/models/NewWidgetComponentsMetadataInner.d.ts +0 -64
- package/dist/esm/models/NewWidgetComponentsMetadataInner.js +0 -53
- package/dist/esm/models/NewWidgetComponentsMetadataInnerPosition.d.ts +0 -38
- package/dist/esm/models/NewWidgetComponentsMetadataInnerPosition.js +0 -43
- package/dist/esm/models/NewWidgetComponentsMetadataInnerSize.d.ts +0 -38
- package/dist/esm/models/NewWidgetComponentsMetadataInnerSize.js +0 -43
- package/dist/esm/models/PurchaseStoragePack200ResponseDataPaymentIntent.d.ts +0 -50
- package/dist/esm/models/PurchaseStoragePack200ResponseDataPaymentIntent.js +0 -47
- package/dist/esm/models/RollbackComponent200Response.d.ts +0 -38
- package/dist/esm/models/RollbackComponent200Response.js +0 -43
- package/dist/esm/models/RollbackComponentRequest.d.ts +0 -38
- package/dist/esm/models/RollbackComponentRequest.js +0 -45
- package/dist/esm/models/UIComponent.d.ts +0 -65
- package/dist/esm/models/UIComponent.js +0 -57
- package/dist/esm/models/UpdateCompositionRequest.d.ts +0 -68
- package/dist/esm/models/UpdateCompositionRequest.js +0 -53
- package/dist/esm/models/WorkflowAcceptedResponse.d.ts +0 -38
- package/dist/esm/models/WorkflowAcceptedResponse.js +0 -43
- package/dist/models/AgentRepositoriesRepoIdSyncPost202Response.d.ts +0 -32
- package/dist/models/AgentRepositoriesRepoIdSyncPost202Response.js +0 -48
- package/dist/models/AgentRepositoriesRepoIdSyncPostRequest.d.ts +0 -32
- package/dist/models/AgentRepositoriesRepoIdSyncPostRequest.js +0 -50
- package/dist/models/AgentTasksTaskIdStatusPutRequest.d.ts +0 -54
- package/dist/models/AgentTasksTaskIdStatusPutRequest.js +0 -68
- package/dist/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.d.ts +0 -32
- package/dist/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.js +0 -48
- package/dist/models/ApiV1AdminBillingGrantsPostRequest.d.ts +0 -82
- package/dist/models/ApiV1AdminBillingGrantsPostRequest.js +0 -87
- package/dist/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.d.ts +0 -32
- package/dist/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.js +0 -48
- package/dist/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +0 -32
- package/dist/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +0 -50
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200Response.d.ts +0 -39
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200Response.js +0 -51
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.d.ts +0 -57
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.js +0 -57
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.d.ts +0 -68
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.js +0 -60
- package/dist/models/ApiV1AdminBillingRefundsPostRequest.d.ts +0 -70
- package/dist/models/ApiV1AdminBillingRefundsPostRequest.js +0 -72
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200Response.d.ts +0 -71
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200Response.js +0 -67
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.d.ts +0 -51
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js +0 -55
- package/dist/models/ApiV1AdminBillingRefundsPreviewPostRequest.d.ts +0 -70
- package/dist/models/ApiV1AdminBillingRefundsPreviewPostRequest.js +0 -70
- package/dist/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.d.ts +0 -46
- package/dist/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.js +0 -60
- package/dist/models/ApiV1BillingPricingGet200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingPricingGet200Response.js +0 -51
- package/dist/models/ApiV1BillingPricingGet200ResponseData.d.ts +0 -46
- package/dist/models/ApiV1BillingPricingGet200ResponseData.js +0 -54
- package/dist/models/ApiV1BillingPricingGet200ResponseDataPlansInner.d.ts +0 -68
- package/dist/models/ApiV1BillingPricingGet200ResponseDataPlansInner.js +0 -60
- package/dist/models/ApiV1BillingPricingGet200ResponseDataTrial.d.ts +0 -44
- package/dist/models/ApiV1BillingPricingGet200ResponseDataTrial.js +0 -52
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.d.ts +0 -33
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.js +0 -49
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.d.ts +0 -68
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.js +0 -60
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.d.ts +0 -33
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.js +0 -49
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +0 -62
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.js +0 -58
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.js +0 -48
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.js +0 -48
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.d.ts +0 -33
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.js +0 -49
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.js +0 -50
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.d.ts +0 -50
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.js +0 -54
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.js +0 -48
- package/dist/models/ApiV1BillingUsersUserIdPortalPostRequest.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdPortalPostRequest.js +0 -48
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.js +0 -48
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.d.ts +0 -32
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.js +0 -48
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.d.ts +0 -120
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.js +0 -84
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.d.ts +0 -38
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.js +0 -50
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.d.ts +0 -39
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.js +0 -51
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.d.ts +0 -38
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.js +0 -50
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.d.ts +0 -53
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.js +0 -66
- package/dist/models/ApiV1MetricsGet200Response.d.ts +0 -39
- package/dist/models/ApiV1MetricsGet200Response.js +0 -51
- package/dist/models/ApiV1MetricsGet200ResponseData.d.ts +0 -56
- package/dist/models/ApiV1MetricsGet200ResponseData.js +0 -57
- package/dist/models/ApiV1MetricsGet200ResponseDataErrorsValue.d.ts +0 -44
- package/dist/models/ApiV1MetricsGet200ResponseDataErrorsValue.js +0 -52
- package/dist/models/ApiV1MetricsGet200ResponseDataLatencyValue.d.ts +0 -50
- package/dist/models/ApiV1MetricsGet200ResponseDataLatencyValue.js +0 -54
- package/dist/models/ApiV1MetricsLatencyGet200Response.d.ts +0 -41
- package/dist/models/ApiV1MetricsLatencyGet200Response.js +0 -52
- package/dist/models/ApiV1MetricsLatencyGet200ResponseDataValue.d.ts +0 -62
- package/dist/models/ApiV1MetricsLatencyGet200ResponseDataValue.js +0 -58
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.d.ts +0 -71
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.js +0 -67
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.d.ts +0 -51
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js +0 -55
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.d.ts +0 -38
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js +0 -50
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.d.ts +0 -44
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.js +0 -52
- package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.d.ts +0 -38
- package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.js +0 -50
- package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.d.ts +0 -38
- package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.js +0 -54
- package/dist/models/ComponentManifest.d.ts +0 -52
- package/dist/models/ComponentManifest.js +0 -56
- package/dist/models/ComponentManifestAssets.d.ts +0 -38
- package/dist/models/ComponentManifestAssets.js +0 -50
- package/dist/models/ComponentManifestConfig.d.ts +0 -44
- package/dist/models/ComponentManifestConfig.js +0 -52
- package/dist/models/DevelopmentPlan.d.ts +0 -97
- package/dist/models/DevelopmentPlan.js +0 -77
- package/dist/models/DevelopmentTask.d.ts +0 -90
- package/dist/models/DevelopmentTask.js +0 -74
- package/dist/models/GenerateComponentWorkflowInput.d.ts +0 -56
- package/dist/models/GenerateComponentWorkflowInput.js +0 -62
- package/dist/models/GenerateMixedComponentInput.d.ts +0 -62
- package/dist/models/GenerateMixedComponentInput.js +0 -66
- package/dist/models/GetCompositionsBatch200ResponseErrorsInner.d.ts +0 -38
- package/dist/models/GetCompositionsBatch200ResponseErrorsInner.js +0 -50
- package/dist/models/GetOrganizationStorageUsage200ResponseDataBreakdown.d.ts +0 -44
- package/dist/models/GetOrganizationStorageUsage200ResponseDataBreakdown.js +0 -52
- package/dist/models/ListComponents200Response.d.ts +0 -33
- package/dist/models/ListComponents200Response.js +0 -49
- package/dist/models/LoginUser200Response.d.ts +0 -38
- package/dist/models/LoginUser200Response.js +0 -50
- package/dist/models/MountRequest.d.ts +0 -45
- package/dist/models/MountRequest.js +0 -55
- package/dist/models/MountRequestTheme.d.ts +0 -54
- package/dist/models/MountRequestTheme.js +0 -62
- package/dist/models/MountRequestThemeColors.d.ts +0 -50
- package/dist/models/MountRequestThemeColors.js +0 -54
- package/dist/models/MountRequestThemeTypography.d.ts +0 -38
- package/dist/models/MountRequestThemeTypography.js +0 -50
- package/dist/models/MountResponse.d.ts +0 -46
- package/dist/models/MountResponse.js +0 -58
- package/dist/models/NewWidgetComponentsMetadataInner.d.ts +0 -64
- package/dist/models/NewWidgetComponentsMetadataInner.js +0 -60
- package/dist/models/NewWidgetComponentsMetadataInnerPosition.d.ts +0 -38
- package/dist/models/NewWidgetComponentsMetadataInnerPosition.js +0 -50
- package/dist/models/NewWidgetComponentsMetadataInnerSize.d.ts +0 -38
- package/dist/models/NewWidgetComponentsMetadataInnerSize.js +0 -50
- package/dist/models/PurchaseStoragePack200ResponseDataPaymentIntent.d.ts +0 -50
- package/dist/models/PurchaseStoragePack200ResponseDataPaymentIntent.js +0 -54
- package/dist/models/RollbackComponent200Response.d.ts +0 -38
- package/dist/models/RollbackComponent200Response.js +0 -50
- package/dist/models/RollbackComponentRequest.d.ts +0 -38
- package/dist/models/RollbackComponentRequest.js +0 -52
- package/dist/models/UIComponent.d.ts +0 -65
- package/dist/models/UIComponent.js +0 -65
- package/dist/models/UpdateCompositionRequest.d.ts +0 -68
- package/dist/models/UpdateCompositionRequest.js +0 -60
- package/dist/models/WorkflowAcceptedResponse.d.ts +0 -38
- package/dist/models/WorkflowAcceptedResponse.js +0 -50
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime.js';
|
|
24
|
-
import { AdjustPartnerCredits200ResponseFromJSON, AdjustPartnerCreditsRequestToJSON, AdjustUserCredits200ResponseFromJSON, AdjustUserCreditsRequestToJSON, AdminHealthStatusFromJSON, CleanupOrphanedInvitations200ResponseFromJSON, CleanupOrphanedInvitationsRequestToJSON, CreatePartnerRequestToJSON, PartnerActivationFromJSON, PartnerBillingReportFromJSON, PartnerDetailsFromJSON, PartnerListFromJSON, PartnerUpdateResultFromJSON, PartnerWithWarningsFromJSON, RefundPartnerCreditsRequestToJSON, UpdatePartnerRequestToJSON, UpdatePartnerStatusRequestToJSON, } from '../models/index.js';
|
|
24
|
+
import { AdjustPartnerCredits200ResponseFromJSON, AdjustPartnerCreditsRequestToJSON, AdjustUserCredits200ResponseFromJSON, AdjustUserCreditsRequestToJSON, AdminHealthStatusFromJSON, CleanupOrphanedInvitations200ResponseFromJSON, CleanupOrphanedInvitationsRequestToJSON, CreatePartnerRequestToJSON, PartnerActivationFromJSON, PartnerBillingProfileSavedFromJSON, PartnerBillingProfileViewFromJSON, PartnerBillingReportFromJSON, PartnerDetailsFromJSON, PartnerEditorSessionSettingsFromJSON, PartnerListFromJSON, PartnerUpdateResultFromJSON, PartnerWithWarningsFromJSON, RecordPartnerInvoicePaymentRequestToJSON, RecordedPartnerPaymentFromJSON, RefundPartnerCreditsRequestToJSON, UpdatePartnerBillingProfileRequestToJSON, UpdatePartnerEditorSessionSettingsRequestToJSON, UpdatePartnerRequestToJSON, UpdatePartnerStatusRequestToJSON, } from '../models/index.js';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -35,9 +35,6 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
35
35
|
if (requestParameters['partnerId'] == null) {
|
|
36
36
|
throw new runtime.RequiredError('partnerId', 'Required parameter "partnerId" was null or undefined when calling adjustPartnerCredits().');
|
|
37
37
|
}
|
|
38
|
-
if (requestParameters['idempotencyKey'] == null) {
|
|
39
|
-
throw new runtime.RequiredError('idempotencyKey', 'Required parameter "idempotencyKey" was null or undefined when calling adjustPartnerCredits().');
|
|
40
|
-
}
|
|
41
38
|
if (requestParameters['adjustPartnerCreditsRequest'] == null) {
|
|
42
39
|
throw new runtime.RequiredError('adjustPartnerCreditsRequest', 'Required parameter "adjustPartnerCreditsRequest" was null or undefined when calling adjustPartnerCredits().');
|
|
43
40
|
}
|
|
@@ -80,9 +77,6 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
80
77
|
*/
|
|
81
78
|
adjustUserCreditsRaw(requestParameters, initOverrides) {
|
|
82
79
|
return __awaiter(this, void 0, void 0, function* () {
|
|
83
|
-
if (requestParameters['idempotencyKey'] == null) {
|
|
84
|
-
throw new runtime.RequiredError('idempotencyKey', 'Required parameter "idempotencyKey" was null or undefined when calling adjustUserCredits().');
|
|
85
|
-
}
|
|
86
80
|
if (requestParameters['adjustUserCreditsRequest'] == null) {
|
|
87
81
|
throw new runtime.RequiredError('adjustUserCreditsRequest', 'Required parameter "adjustUserCreditsRequest" was null or undefined when calling adjustUserCredits().');
|
|
88
82
|
}
|
|
@@ -308,6 +302,43 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
308
302
|
return yield response.value();
|
|
309
303
|
});
|
|
310
304
|
}
|
|
305
|
+
/**
|
|
306
|
+
* 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.
|
|
307
|
+
* What a partner\'s invoices are addressed with
|
|
308
|
+
*/
|
|
309
|
+
getPartnerBillingProfileRaw(requestParameters, initOverrides) {
|
|
310
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
311
|
+
if (requestParameters['partnerId'] == null) {
|
|
312
|
+
throw new runtime.RequiredError('partnerId', 'Required parameter "partnerId" was null or undefined when calling getPartnerBillingProfile().');
|
|
313
|
+
}
|
|
314
|
+
const queryParameters = {};
|
|
315
|
+
const headerParameters = {};
|
|
316
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
317
|
+
const token = this.configuration.accessToken;
|
|
318
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
319
|
+
if (tokenString) {
|
|
320
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
const response = yield this.request({
|
|
324
|
+
path: `/admin/partners/{partnerId}/billing-profile`.replace(`{${"partnerId"}}`, encodeURIComponent(String(requestParameters['partnerId']))),
|
|
325
|
+
method: 'GET',
|
|
326
|
+
headers: headerParameters,
|
|
327
|
+
query: queryParameters,
|
|
328
|
+
}, initOverrides);
|
|
329
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PartnerBillingProfileViewFromJSON(jsonValue));
|
|
330
|
+
});
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
* 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.
|
|
334
|
+
* What a partner\'s invoices are addressed with
|
|
335
|
+
*/
|
|
336
|
+
getPartnerBillingProfile(requestParameters, initOverrides) {
|
|
337
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
338
|
+
const response = yield this.getPartnerBillingProfileRaw(requestParameters, initOverrides);
|
|
339
|
+
return yield response.value();
|
|
340
|
+
});
|
|
341
|
+
}
|
|
311
342
|
/**
|
|
312
343
|
* 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.
|
|
313
344
|
* Get a partner\'s wallet activity for a period
|
|
@@ -391,6 +422,43 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
391
422
|
return yield response.value();
|
|
392
423
|
});
|
|
393
424
|
}
|
|
425
|
+
/**
|
|
426
|
+
* 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.
|
|
427
|
+
* What is set for a partner\'s editor sessions
|
|
428
|
+
*/
|
|
429
|
+
getPartnerEditorSessionSettingsRaw(requestParameters, initOverrides) {
|
|
430
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
431
|
+
if (requestParameters['partnerId'] == null) {
|
|
432
|
+
throw new runtime.RequiredError('partnerId', 'Required parameter "partnerId" was null or undefined when calling getPartnerEditorSessionSettings().');
|
|
433
|
+
}
|
|
434
|
+
const queryParameters = {};
|
|
435
|
+
const headerParameters = {};
|
|
436
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
437
|
+
const token = this.configuration.accessToken;
|
|
438
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
439
|
+
if (tokenString) {
|
|
440
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
441
|
+
}
|
|
442
|
+
}
|
|
443
|
+
const response = yield this.request({
|
|
444
|
+
path: `/admin/partners/{partnerId}/editor-sessions`.replace(`{${"partnerId"}}`, encodeURIComponent(String(requestParameters['partnerId']))),
|
|
445
|
+
method: 'GET',
|
|
446
|
+
headers: headerParameters,
|
|
447
|
+
query: queryParameters,
|
|
448
|
+
}, initOverrides);
|
|
449
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PartnerEditorSessionSettingsFromJSON(jsonValue));
|
|
450
|
+
});
|
|
451
|
+
}
|
|
452
|
+
/**
|
|
453
|
+
* 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.
|
|
454
|
+
* What is set for a partner\'s editor sessions
|
|
455
|
+
*/
|
|
456
|
+
getPartnerEditorSessionSettings(requestParameters, initOverrides) {
|
|
457
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
458
|
+
const response = yield this.getPartnerEditorSessionSettingsRaw(requestParameters, initOverrides);
|
|
459
|
+
return yield response.value();
|
|
460
|
+
});
|
|
461
|
+
}
|
|
394
462
|
/**
|
|
395
463
|
* 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.
|
|
396
464
|
* List widgets for the admin console
|
|
@@ -488,15 +556,57 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
488
556
|
return yield response.value();
|
|
489
557
|
});
|
|
490
558
|
}
|
|
559
|
+
/**
|
|
560
|
+
* 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).
|
|
561
|
+
* Record a payment that arrived outside Stripe
|
|
562
|
+
*/
|
|
563
|
+
recordPartnerInvoicePaymentRaw(requestParameters, initOverrides) {
|
|
564
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
565
|
+
if (requestParameters['partnerId'] == null) {
|
|
566
|
+
throw new runtime.RequiredError('partnerId', 'Required parameter "partnerId" was null or undefined when calling recordPartnerInvoicePayment().');
|
|
567
|
+
}
|
|
568
|
+
if (requestParameters['invoiceId'] == null) {
|
|
569
|
+
throw new runtime.RequiredError('invoiceId', 'Required parameter "invoiceId" was null or undefined when calling recordPartnerInvoicePayment().');
|
|
570
|
+
}
|
|
571
|
+
const queryParameters = {};
|
|
572
|
+
const headerParameters = {};
|
|
573
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
574
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
575
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
576
|
+
}
|
|
577
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
578
|
+
const token = this.configuration.accessToken;
|
|
579
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
580
|
+
if (tokenString) {
|
|
581
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
582
|
+
}
|
|
583
|
+
}
|
|
584
|
+
const response = yield this.request({
|
|
585
|
+
path: `/admin/partners/{partnerId}/invoices/{invoiceId}/record-payment`.replace(`{${"partnerId"}}`, encodeURIComponent(String(requestParameters['partnerId']))).replace(`{${"invoiceId"}}`, encodeURIComponent(String(requestParameters['invoiceId']))),
|
|
586
|
+
method: 'POST',
|
|
587
|
+
headers: headerParameters,
|
|
588
|
+
query: queryParameters,
|
|
589
|
+
body: RecordPartnerInvoicePaymentRequestToJSON(requestParameters['recordPartnerInvoicePaymentRequest']),
|
|
590
|
+
}, initOverrides);
|
|
591
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => RecordedPartnerPaymentFromJSON(jsonValue));
|
|
592
|
+
});
|
|
593
|
+
}
|
|
594
|
+
/**
|
|
595
|
+
* 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).
|
|
596
|
+
* Record a payment that arrived outside Stripe
|
|
597
|
+
*/
|
|
598
|
+
recordPartnerInvoicePayment(requestParameters, initOverrides) {
|
|
599
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
600
|
+
const response = yield this.recordPartnerInvoicePaymentRaw(requestParameters, initOverrides);
|
|
601
|
+
return yield response.value();
|
|
602
|
+
});
|
|
603
|
+
}
|
|
491
604
|
/**
|
|
492
605
|
* 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.
|
|
493
606
|
* Credit a partner\'s wallet back with a refund
|
|
494
607
|
*/
|
|
495
608
|
refundPartnerCreditsRaw(requestParameters, initOverrides) {
|
|
496
609
|
return __awaiter(this, void 0, void 0, function* () {
|
|
497
|
-
if (requestParameters['idempotencyKey'] == null) {
|
|
498
|
-
throw new runtime.RequiredError('idempotencyKey', 'Required parameter "idempotencyKey" was null or undefined when calling refundPartnerCredits().');
|
|
499
|
-
}
|
|
500
610
|
if (requestParameters['refundPartnerCreditsRequest'] == null) {
|
|
501
611
|
throw new runtime.RequiredError('refundPartnerCreditsRequest', 'Required parameter "refundPartnerCreditsRequest" was null or undefined when calling refundPartnerCredits().');
|
|
502
612
|
}
|
|
@@ -577,6 +687,90 @@ export class AdminApi extends runtime.BaseAPI {
|
|
|
577
687
|
return yield response.value();
|
|
578
688
|
});
|
|
579
689
|
}
|
|
690
|
+
/**
|
|
691
|
+
* 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.
|
|
692
|
+
* Set what a partner\'s invoices are addressed with
|
|
693
|
+
*/
|
|
694
|
+
updatePartnerBillingProfileRaw(requestParameters, initOverrides) {
|
|
695
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
696
|
+
if (requestParameters['partnerId'] == null) {
|
|
697
|
+
throw new runtime.RequiredError('partnerId', 'Required parameter "partnerId" was null or undefined when calling updatePartnerBillingProfile().');
|
|
698
|
+
}
|
|
699
|
+
if (requestParameters['updatePartnerBillingProfileRequest'] == null) {
|
|
700
|
+
throw new runtime.RequiredError('updatePartnerBillingProfileRequest', 'Required parameter "updatePartnerBillingProfileRequest" was null or undefined when calling updatePartnerBillingProfile().');
|
|
701
|
+
}
|
|
702
|
+
const queryParameters = {};
|
|
703
|
+
const headerParameters = {};
|
|
704
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
705
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
706
|
+
const token = this.configuration.accessToken;
|
|
707
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
708
|
+
if (tokenString) {
|
|
709
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
const response = yield this.request({
|
|
713
|
+
path: `/admin/partners/{partnerId}/billing-profile`.replace(`{${"partnerId"}}`, encodeURIComponent(String(requestParameters['partnerId']))),
|
|
714
|
+
method: 'PUT',
|
|
715
|
+
headers: headerParameters,
|
|
716
|
+
query: queryParameters,
|
|
717
|
+
body: UpdatePartnerBillingProfileRequestToJSON(requestParameters['updatePartnerBillingProfileRequest']),
|
|
718
|
+
}, initOverrides);
|
|
719
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PartnerBillingProfileSavedFromJSON(jsonValue));
|
|
720
|
+
});
|
|
721
|
+
}
|
|
722
|
+
/**
|
|
723
|
+
* 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.
|
|
724
|
+
* Set what a partner\'s invoices are addressed with
|
|
725
|
+
*/
|
|
726
|
+
updatePartnerBillingProfile(requestParameters, initOverrides) {
|
|
727
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
728
|
+
const response = yield this.updatePartnerBillingProfileRaw(requestParameters, initOverrides);
|
|
729
|
+
return yield response.value();
|
|
730
|
+
});
|
|
731
|
+
}
|
|
732
|
+
/**
|
|
733
|
+
* 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.
|
|
734
|
+
* Set what is different about one partner\'s editor sessions
|
|
735
|
+
*/
|
|
736
|
+
updatePartnerEditorSessionSettingsRaw(requestParameters, initOverrides) {
|
|
737
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
738
|
+
if (requestParameters['partnerId'] == null) {
|
|
739
|
+
throw new runtime.RequiredError('partnerId', 'Required parameter "partnerId" was null or undefined when calling updatePartnerEditorSessionSettings().');
|
|
740
|
+
}
|
|
741
|
+
if (requestParameters['updatePartnerEditorSessionSettingsRequest'] == null) {
|
|
742
|
+
throw new runtime.RequiredError('updatePartnerEditorSessionSettingsRequest', 'Required parameter "updatePartnerEditorSessionSettingsRequest" was null or undefined when calling updatePartnerEditorSessionSettings().');
|
|
743
|
+
}
|
|
744
|
+
const queryParameters = {};
|
|
745
|
+
const headerParameters = {};
|
|
746
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
747
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
748
|
+
const token = this.configuration.accessToken;
|
|
749
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
750
|
+
if (tokenString) {
|
|
751
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
const response = yield this.request({
|
|
755
|
+
path: `/admin/partners/{partnerId}/editor-sessions`.replace(`{${"partnerId"}}`, encodeURIComponent(String(requestParameters['partnerId']))),
|
|
756
|
+
method: 'PUT',
|
|
757
|
+
headers: headerParameters,
|
|
758
|
+
query: queryParameters,
|
|
759
|
+
body: UpdatePartnerEditorSessionSettingsRequestToJSON(requestParameters['updatePartnerEditorSessionSettingsRequest']),
|
|
760
|
+
}, initOverrides);
|
|
761
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => PartnerEditorSessionSettingsFromJSON(jsonValue));
|
|
762
|
+
});
|
|
763
|
+
}
|
|
764
|
+
/**
|
|
765
|
+
* 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.
|
|
766
|
+
* Set what is different about one partner\'s editor sessions
|
|
767
|
+
*/
|
|
768
|
+
updatePartnerEditorSessionSettings(requestParameters, initOverrides) {
|
|
769
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
770
|
+
const response = yield this.updatePartnerEditorSessionSettingsRaw(requestParameters, initOverrides);
|
|
771
|
+
return yield response.value();
|
|
772
|
+
});
|
|
773
|
+
}
|
|
580
774
|
/**
|
|
581
775
|
* 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.
|
|
582
776
|
* Activate, deactivate or suspend a partner
|
|
@@ -28,18 +28,22 @@ export interface AdminBillingGrantsGetRequest {
|
|
|
28
28
|
}
|
|
29
29
|
export interface AdminBillingGrantsGrantIdApprovePostRequest {
|
|
30
30
|
grantId: string;
|
|
31
|
+
idempotencyKey?: string;
|
|
31
32
|
}
|
|
32
33
|
export interface AdminBillingGrantsGrantIdRejectPostOperationRequest {
|
|
33
34
|
grantId: string;
|
|
35
|
+
idempotencyKey?: string;
|
|
34
36
|
adminBillingGrantsGrantIdRejectPostRequest?: AdminBillingGrantsGrantIdRejectPostRequest;
|
|
35
37
|
}
|
|
36
38
|
export interface AdminBillingGrantsPostOperationRequest {
|
|
37
39
|
adminBillingGrantsPostRequest: AdminBillingGrantsPostRequest;
|
|
40
|
+
idempotencyKey?: string;
|
|
38
41
|
}
|
|
39
42
|
export interface AdminBillingMetricsGetRequest {
|
|
40
43
|
period?: AdminBillingMetricsGetPeriodEnum;
|
|
41
44
|
}
|
|
42
45
|
export interface AdminBillingPlansPricesBackfillPostOperationRequest {
|
|
46
|
+
idempotencyKey?: string;
|
|
43
47
|
adminBillingPlansPricesBackfillPostRequest?: AdminBillingPlansPricesBackfillPostRequest;
|
|
44
48
|
}
|
|
45
49
|
export interface AdminBillingPlansPricesPlanTypeBillingFrequencyPutOperationRequest {
|
|
@@ -55,28 +59,35 @@ export interface AdminBillingRefundsClawbacksGetRequest {
|
|
|
55
59
|
}
|
|
56
60
|
export interface AdminBillingRefundsPostOperationRequest {
|
|
57
61
|
adminBillingRefundsPostRequest: AdminBillingRefundsPostRequest;
|
|
62
|
+
idempotencyKey?: string;
|
|
58
63
|
}
|
|
59
64
|
export interface AdminBillingRefundsPreviewPostOperationRequest {
|
|
60
65
|
adminBillingRefundsPreviewPostRequest: AdminBillingRefundsPreviewPostRequest;
|
|
61
66
|
}
|
|
62
67
|
export interface AdminBillingSubscriptionsSubjectIdCancelAtPeriodEndPostRequest {
|
|
63
68
|
subjectId: string;
|
|
69
|
+
idempotencyKey?: string;
|
|
64
70
|
}
|
|
65
71
|
export interface AdminBillingSubscriptionsSubjectIdCancelPostOperationRequest {
|
|
66
72
|
subjectId: string;
|
|
67
73
|
adminBillingSubscriptionsSubjectIdCancelPostRequest: AdminBillingSubscriptionsSubjectIdCancelPostRequest;
|
|
74
|
+
idempotencyKey?: string;
|
|
68
75
|
}
|
|
69
76
|
export interface AdminBillingSubscriptionsSubjectIdDeleteAccountPostRequest {
|
|
70
77
|
subjectId: string;
|
|
78
|
+
idempotencyKey?: string;
|
|
71
79
|
}
|
|
72
80
|
export interface AdminBillingSubscriptionsSubjectIdSuspendPostRequest {
|
|
73
81
|
subjectId: string;
|
|
82
|
+
idempotencyKey?: string;
|
|
74
83
|
}
|
|
75
84
|
export interface AdminBillingSubscriptionsSubjectIdTransferOwnershipPostRequest {
|
|
76
85
|
subjectId: string;
|
|
86
|
+
idempotencyKey?: string;
|
|
77
87
|
}
|
|
78
88
|
export interface AdminBillingSubscriptionsSubjectIdUnsuspendPostRequest {
|
|
79
89
|
subjectId: string;
|
|
90
|
+
idempotencyKey?: string;
|
|
80
91
|
}
|
|
81
92
|
export interface AdminBillingTeamsSearchGetRequest {
|
|
82
93
|
q?: string;
|
|
@@ -84,7 +95,7 @@ export interface AdminBillingTeamsSearchGetRequest {
|
|
|
84
95
|
}
|
|
85
96
|
export interface IssuePartnerInvoiceOperationRequest {
|
|
86
97
|
partnerId: string;
|
|
87
|
-
idempotencyKey
|
|
98
|
+
idempotencyKey?: string;
|
|
88
99
|
issuePartnerInvoiceRequest?: IssuePartnerInvoiceRequest;
|
|
89
100
|
}
|
|
90
101
|
/**
|
|
@@ -308,12 +319,12 @@ export declare class AdminBillingApi extends runtime.BaseAPI {
|
|
|
308
319
|
*/
|
|
309
320
|
adminBillingTeamsSearchGet(requestParameters?: AdminBillingTeamsSearchGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
310
321
|
/**
|
|
311
|
-
* Issues a Stripe invoice to a partner and has Stripe email it to the partner\'s contact
|
|
322
|
+
* Issues a Stripe invoice to a partner and has Stripe email it to the partner\'s billing address (the first billing email on its billing profile, else its contact email). The price is the contract price on the partner\'s customization unless `amountUsd` is given; the partner must have a contract either way. The invoice is addressed to the legal name on the billing profile (else the partner\'s name) and is due after the payment terms on it (30 days until they are set) unless `daysUntilDue` says otherwise. TAX. Stripe Tax works the tax out from the billing address on the profile, and a valid tax ID on it turns the tax of a business abroad into the reverse charge. The response says what the price, the tax and the total are. When Stripe cannot place the partner, the invoice is still issued, without tax, and `taxNote` says so. A tax ID Stripe does not accept is refused with 422 `TAX_ID_INVALID` before anything is issued. The invoice is recorded in the partner\'s invoice list (`getInvoicesByPartnerId`) as `open`, and follows what Stripe reports from then on: `failed` (with the reason) when a payment fails, `paid` when it is paid (also when an administrator records a payment received outside Stripe), `void` when it is voided and `uncollectible` when it is written off. Nobody has to update a status by hand. An `Idempotency-Key` is required, and it is what makes a retry safe: the same key with the same body returns the invoice already issued, the same key with a different body is refused with 422, and a duplicate that arrives while the first is still running is refused with 409. Use one key per invoice you mean to send, and a new key for the next one. Every invoice issued is written to the billing audit log under the administrator who issued it.
|
|
312
323
|
* Issue a contract invoice to a partner
|
|
313
324
|
*/
|
|
314
325
|
issuePartnerInvoiceRaw(requestParameters: IssuePartnerInvoiceOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<IssuedPartnerInvoice>>;
|
|
315
326
|
/**
|
|
316
|
-
* Issues a Stripe invoice to a partner and has Stripe email it to the partner\'s contact
|
|
327
|
+
* Issues a Stripe invoice to a partner and has Stripe email it to the partner\'s billing address (the first billing email on its billing profile, else its contact email). The price is the contract price on the partner\'s customization unless `amountUsd` is given; the partner must have a contract either way. The invoice is addressed to the legal name on the billing profile (else the partner\'s name) and is due after the payment terms on it (30 days until they are set) unless `daysUntilDue` says otherwise. TAX. Stripe Tax works the tax out from the billing address on the profile, and a valid tax ID on it turns the tax of a business abroad into the reverse charge. The response says what the price, the tax and the total are. When Stripe cannot place the partner, the invoice is still issued, without tax, and `taxNote` says so. A tax ID Stripe does not accept is refused with 422 `TAX_ID_INVALID` before anything is issued. The invoice is recorded in the partner\'s invoice list (`getInvoicesByPartnerId`) as `open`, and follows what Stripe reports from then on: `failed` (with the reason) when a payment fails, `paid` when it is paid (also when an administrator records a payment received outside Stripe), `void` when it is voided and `uncollectible` when it is written off. Nobody has to update a status by hand. An `Idempotency-Key` is required, and it is what makes a retry safe: the same key with the same body returns the invoice already issued, the same key with a different body is refused with 422, and a duplicate that arrives while the first is still running is refused with 409. Use one key per invoice you mean to send, and a new key for the next one. Every invoice issued is written to the billing audit log under the administrator who issued it.
|
|
317
328
|
* Issue a contract invoice to a partner
|
|
318
329
|
*/
|
|
319
330
|
issuePartnerInvoice(requestParameters: IssuePartnerInvoiceOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<IssuedPartnerInvoice>;
|
|
@@ -282,6 +282,9 @@ export class AdminBillingApi extends runtime.BaseAPI {
|
|
|
282
282
|
}
|
|
283
283
|
const queryParameters = {};
|
|
284
284
|
const headerParameters = {};
|
|
285
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
286
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
287
|
+
}
|
|
285
288
|
if (this.configuration && this.configuration.accessToken) {
|
|
286
289
|
const token = this.configuration.accessToken;
|
|
287
290
|
const tokenString = yield token("bearerAuth", []);
|
|
@@ -317,6 +320,9 @@ export class AdminBillingApi extends runtime.BaseAPI {
|
|
|
317
320
|
const queryParameters = {};
|
|
318
321
|
const headerParameters = {};
|
|
319
322
|
headerParameters['Content-Type'] = 'application/json';
|
|
323
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
324
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
325
|
+
}
|
|
320
326
|
if (this.configuration && this.configuration.accessToken) {
|
|
321
327
|
const token = this.configuration.accessToken;
|
|
322
328
|
const tokenString = yield token("bearerAuth", []);
|
|
@@ -353,6 +359,9 @@ export class AdminBillingApi extends runtime.BaseAPI {
|
|
|
353
359
|
const queryParameters = {};
|
|
354
360
|
const headerParameters = {};
|
|
355
361
|
headerParameters['Content-Type'] = 'application/json';
|
|
362
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
363
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
364
|
+
}
|
|
356
365
|
if (this.configuration && this.configuration.accessToken) {
|
|
357
366
|
const token = this.configuration.accessToken;
|
|
358
367
|
const tokenString = yield token("bearerAuth", []);
|
|
@@ -422,6 +431,9 @@ export class AdminBillingApi extends runtime.BaseAPI {
|
|
|
422
431
|
const queryParameters = {};
|
|
423
432
|
const headerParameters = {};
|
|
424
433
|
headerParameters['Content-Type'] = 'application/json';
|
|
434
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
435
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
436
|
+
}
|
|
425
437
|
if (this.configuration && this.configuration.accessToken) {
|
|
426
438
|
const token = this.configuration.accessToken;
|
|
427
439
|
const tokenString = yield token("bearerAuth", []);
|
|
@@ -616,6 +628,9 @@ export class AdminBillingApi extends runtime.BaseAPI {
|
|
|
616
628
|
const queryParameters = {};
|
|
617
629
|
const headerParameters = {};
|
|
618
630
|
headerParameters['Content-Type'] = 'application/json';
|
|
631
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
632
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
633
|
+
}
|
|
619
634
|
if (this.configuration && this.configuration.accessToken) {
|
|
620
635
|
const token = this.configuration.accessToken;
|
|
621
636
|
const tokenString = yield token("bearerAuth", []);
|
|
@@ -691,6 +706,9 @@ export class AdminBillingApi extends runtime.BaseAPI {
|
|
|
691
706
|
}
|
|
692
707
|
const queryParameters = {};
|
|
693
708
|
const headerParameters = {};
|
|
709
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
710
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
711
|
+
}
|
|
694
712
|
if (this.configuration && this.configuration.accessToken) {
|
|
695
713
|
const token = this.configuration.accessToken;
|
|
696
714
|
const tokenString = yield token("bearerAuth", []);
|
|
@@ -729,6 +747,9 @@ export class AdminBillingApi extends runtime.BaseAPI {
|
|
|
729
747
|
const queryParameters = {};
|
|
730
748
|
const headerParameters = {};
|
|
731
749
|
headerParameters['Content-Type'] = 'application/json';
|
|
750
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
751
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
752
|
+
}
|
|
732
753
|
if (this.configuration && this.configuration.accessToken) {
|
|
733
754
|
const token = this.configuration.accessToken;
|
|
734
755
|
const tokenString = yield token("bearerAuth", []);
|
|
@@ -764,6 +785,9 @@ export class AdminBillingApi extends runtime.BaseAPI {
|
|
|
764
785
|
}
|
|
765
786
|
const queryParameters = {};
|
|
766
787
|
const headerParameters = {};
|
|
788
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
789
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
790
|
+
}
|
|
767
791
|
if (this.configuration && this.configuration.accessToken) {
|
|
768
792
|
const token = this.configuration.accessToken;
|
|
769
793
|
const tokenString = yield token("bearerAuth", []);
|
|
@@ -798,6 +822,9 @@ export class AdminBillingApi extends runtime.BaseAPI {
|
|
|
798
822
|
}
|
|
799
823
|
const queryParameters = {};
|
|
800
824
|
const headerParameters = {};
|
|
825
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
826
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
827
|
+
}
|
|
801
828
|
if (this.configuration && this.configuration.accessToken) {
|
|
802
829
|
const token = this.configuration.accessToken;
|
|
803
830
|
const tokenString = yield token("bearerAuth", []);
|
|
@@ -832,6 +859,9 @@ export class AdminBillingApi extends runtime.BaseAPI {
|
|
|
832
859
|
}
|
|
833
860
|
const queryParameters = {};
|
|
834
861
|
const headerParameters = {};
|
|
862
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
863
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
864
|
+
}
|
|
835
865
|
if (this.configuration && this.configuration.accessToken) {
|
|
836
866
|
const token = this.configuration.accessToken;
|
|
837
867
|
const tokenString = yield token("bearerAuth", []);
|
|
@@ -866,6 +896,9 @@ export class AdminBillingApi extends runtime.BaseAPI {
|
|
|
866
896
|
}
|
|
867
897
|
const queryParameters = {};
|
|
868
898
|
const headerParameters = {};
|
|
899
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
900
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
901
|
+
}
|
|
869
902
|
if (this.configuration && this.configuration.accessToken) {
|
|
870
903
|
const token = this.configuration.accessToken;
|
|
871
904
|
const tokenString = yield token("bearerAuth", []);
|
|
@@ -928,7 +961,7 @@ export class AdminBillingApi extends runtime.BaseAPI {
|
|
|
928
961
|
});
|
|
929
962
|
}
|
|
930
963
|
/**
|
|
931
|
-
* Issues a Stripe invoice to a partner and has Stripe email it to the partner\'s contact
|
|
964
|
+
* Issues a Stripe invoice to a partner and has Stripe email it to the partner\'s billing address (the first billing email on its billing profile, else its contact email). The price is the contract price on the partner\'s customization unless `amountUsd` is given; the partner must have a contract either way. The invoice is addressed to the legal name on the billing profile (else the partner\'s name) and is due after the payment terms on it (30 days until they are set) unless `daysUntilDue` says otherwise. TAX. Stripe Tax works the tax out from the billing address on the profile, and a valid tax ID on it turns the tax of a business abroad into the reverse charge. The response says what the price, the tax and the total are. When Stripe cannot place the partner, the invoice is still issued, without tax, and `taxNote` says so. A tax ID Stripe does not accept is refused with 422 `TAX_ID_INVALID` before anything is issued. The invoice is recorded in the partner\'s invoice list (`getInvoicesByPartnerId`) as `open`, and follows what Stripe reports from then on: `failed` (with the reason) when a payment fails, `paid` when it is paid (also when an administrator records a payment received outside Stripe), `void` when it is voided and `uncollectible` when it is written off. Nobody has to update a status by hand. An `Idempotency-Key` is required, and it is what makes a retry safe: the same key with the same body returns the invoice already issued, the same key with a different body is refused with 422, and a duplicate that arrives while the first is still running is refused with 409. Use one key per invoice you mean to send, and a new key for the next one. Every invoice issued is written to the billing audit log under the administrator who issued it.
|
|
932
965
|
* Issue a contract invoice to a partner
|
|
933
966
|
*/
|
|
934
967
|
issuePartnerInvoiceRaw(requestParameters, initOverrides) {
|
|
@@ -936,9 +969,6 @@ export class AdminBillingApi extends runtime.BaseAPI {
|
|
|
936
969
|
if (requestParameters['partnerId'] == null) {
|
|
937
970
|
throw new runtime.RequiredError('partnerId', 'Required parameter "partnerId" was null or undefined when calling issuePartnerInvoice().');
|
|
938
971
|
}
|
|
939
|
-
if (requestParameters['idempotencyKey'] == null) {
|
|
940
|
-
throw new runtime.RequiredError('idempotencyKey', 'Required parameter "idempotencyKey" was null or undefined when calling issuePartnerInvoice().');
|
|
941
|
-
}
|
|
942
972
|
const queryParameters = {};
|
|
943
973
|
const headerParameters = {};
|
|
944
974
|
headerParameters['Content-Type'] = 'application/json';
|
|
@@ -963,7 +993,7 @@ export class AdminBillingApi extends runtime.BaseAPI {
|
|
|
963
993
|
});
|
|
964
994
|
}
|
|
965
995
|
/**
|
|
966
|
-
* Issues a Stripe invoice to a partner and has Stripe email it to the partner\'s contact
|
|
996
|
+
* Issues a Stripe invoice to a partner and has Stripe email it to the partner\'s billing address (the first billing email on its billing profile, else its contact email). The price is the contract price on the partner\'s customization unless `amountUsd` is given; the partner must have a contract either way. The invoice is addressed to the legal name on the billing profile (else the partner\'s name) and is due after the payment terms on it (30 days until they are set) unless `daysUntilDue` says otherwise. TAX. Stripe Tax works the tax out from the billing address on the profile, and a valid tax ID on it turns the tax of a business abroad into the reverse charge. The response says what the price, the tax and the total are. When Stripe cannot place the partner, the invoice is still issued, without tax, and `taxNote` says so. A tax ID Stripe does not accept is refused with 422 `TAX_ID_INVALID` before anything is issued. The invoice is recorded in the partner\'s invoice list (`getInvoicesByPartnerId`) as `open`, and follows what Stripe reports from then on: `failed` (with the reason) when a payment fails, `paid` when it is paid (also when an administrator records a payment received outside Stripe), `void` when it is voided and `uncollectible` when it is written off. Nobody has to update a status by hand. An `Idempotency-Key` is required, and it is what makes a retry safe: the same key with the same body returns the invoice already issued, the same key with a different body is refused with 422, and a duplicate that arrives while the first is still running is refused with 409. Use one key per invoice you mean to send, and a new key for the next one. Every invoice issued is written to the billing audit log under the administrator who issued it.
|
|
967
997
|
* Issue a contract invoice to a partner
|
|
968
998
|
*/
|
|
969
999
|
issuePartnerInvoice(requestParameters, initOverrides) {
|
|
@@ -13,9 +13,11 @@ import * as runtime from '../runtime';
|
|
|
13
13
|
import type { AgentCodeModifyPost202Response, AgentComponentsComponentIdTasksCleanupPost200Response, AgentDesignResolvePost200Response, AgentDesignResolvePostRequest, AgentModelsGet200Response, AgentShapeRecognizePost200Response, AgentShapeRecognizePostRequest, AgentTasksIdCancelPost200Response, AgentWidgetBuilderPublishWidgetIdPost200Response, AgentWidgetBuilderPublishWidgetIdPostRequest, AgentWidgetBuilderRepoHeadWidgetIdGet200Response, CodeGenerationStatusResponse, GenerateCodeRequest, InitRepoRequest, ModifyCodeRequest, PreviewWidgetVersion200Response, RepositoryResponse } from '../models/index';
|
|
14
14
|
export interface AgentCodeGeneratePostRequest {
|
|
15
15
|
generateCodeRequest: GenerateCodeRequest;
|
|
16
|
+
idempotencyKey?: string;
|
|
16
17
|
}
|
|
17
18
|
export interface AgentCodeModifyPostRequest {
|
|
18
19
|
modifyCodeRequest: ModifyCodeRequest;
|
|
20
|
+
idempotencyKey?: string;
|
|
19
21
|
}
|
|
20
22
|
export interface AgentCodeStatusTaskIdGetRequest {
|
|
21
23
|
taskId: string;
|
|
@@ -28,6 +30,7 @@ export interface AgentDesignResolvePostOperationRequest {
|
|
|
28
30
|
}
|
|
29
31
|
export interface AgentRepositoriesPostRequest {
|
|
30
32
|
initRepoRequest: InitRepoRequest;
|
|
33
|
+
idempotencyKey?: string;
|
|
31
34
|
}
|
|
32
35
|
export interface AgentRepositoriesRepoIdGetRequest {
|
|
33
36
|
repoId: string;
|
|
@@ -41,6 +44,7 @@ export interface AgentTasksIdCancelPostRequest {
|
|
|
41
44
|
export interface AgentWidgetBuilderPublishWidgetIdPostOperationRequest {
|
|
42
45
|
widgetId: string;
|
|
43
46
|
agentWidgetBuilderPublishWidgetIdPostRequest: AgentWidgetBuilderPublishWidgetIdPostRequest;
|
|
47
|
+
idempotencyKey?: string;
|
|
44
48
|
}
|
|
45
49
|
export interface AgentWidgetBuilderRepoHeadWidgetIdGetRequest {
|
|
46
50
|
widgetId: string;
|
|
@@ -144,12 +148,12 @@ export declare class AgentApi extends runtime.BaseAPI {
|
|
|
144
148
|
*/
|
|
145
149
|
agentShapeRecognizePost(requestParameters: AgentShapeRecognizePostOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentShapeRecognizePost200Response>;
|
|
146
150
|
/**
|
|
147
|
-
* Cancels an in-progress or queued code generation task. The cancellation behavior depends on the current state of the task: - For queued tasks: Immediately removes the task from the queue and notifies the client - For in-progress tasks: Sets a cancellation flag that the background process checks at strategic checkpoints, allowing the current operation to complete safely - For completed/failed/canceled tasks: Returns success with a message indicating the task is already in a terminal state This endpoint ensures data integrity by using a non-destructive cancellation approach that prevents repository corruption from abrupt termination.
|
|
151
|
+
* Cancels an in-progress or queued code generation task. The cancellation behavior depends on the current state of the task: - For queued tasks: Immediately removes the task from the queue and notifies the client - For in-progress tasks: Sets a cancellation flag that the background process checks at strategic checkpoints, allowing the current operation to complete safely - For completed/failed/canceled tasks: Returns success with a message indicating the task is already in a terminal state This endpoint ensures data integrity by using a non-destructive cancellation approach that prevents repository corruption from abrupt termination. The request to the model is aborted at once, and the run ends at its next checkpoint without building a preview or saving anything. The credit of the generation comes back when the run is stopped before the model began to write; once the answer has begun to stream, the credit is kept. Same behaviour as `POST /operations/{id}/cancel`.
|
|
148
152
|
* Cancel a running or queued code generation task
|
|
149
153
|
*/
|
|
150
154
|
agentTasksIdCancelPostRaw(requestParameters: AgentTasksIdCancelPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AgentTasksIdCancelPost200Response>>;
|
|
151
155
|
/**
|
|
152
|
-
* Cancels an in-progress or queued code generation task. The cancellation behavior depends on the current state of the task: - For queued tasks: Immediately removes the task from the queue and notifies the client - For in-progress tasks: Sets a cancellation flag that the background process checks at strategic checkpoints, allowing the current operation to complete safely - For completed/failed/canceled tasks: Returns success with a message indicating the task is already in a terminal state This endpoint ensures data integrity by using a non-destructive cancellation approach that prevents repository corruption from abrupt termination.
|
|
156
|
+
* Cancels an in-progress or queued code generation task. The cancellation behavior depends on the current state of the task: - For queued tasks: Immediately removes the task from the queue and notifies the client - For in-progress tasks: Sets a cancellation flag that the background process checks at strategic checkpoints, allowing the current operation to complete safely - For completed/failed/canceled tasks: Returns success with a message indicating the task is already in a terminal state This endpoint ensures data integrity by using a non-destructive cancellation approach that prevents repository corruption from abrupt termination. The request to the model is aborted at once, and the run ends at its next checkpoint without building a preview or saving anything. The credit of the generation comes back when the run is stopped before the model began to write; once the answer has begun to stream, the credit is kept. Same behaviour as `POST /operations/{id}/cancel`.
|
|
153
157
|
* Cancel a running or queued code generation task
|
|
154
158
|
*/
|
|
155
159
|
agentTasksIdCancelPost(requestParameters: AgentTasksIdCancelPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AgentTasksIdCancelPost200Response>;
|
|
@@ -38,6 +38,9 @@ export class AgentApi extends runtime.BaseAPI {
|
|
|
38
38
|
const queryParameters = {};
|
|
39
39
|
const headerParameters = {};
|
|
40
40
|
headerParameters['Content-Type'] = 'application/json';
|
|
41
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
42
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
43
|
+
}
|
|
41
44
|
if (this.configuration && this.configuration.accessToken) {
|
|
42
45
|
const token = this.configuration.accessToken;
|
|
43
46
|
const tokenString = yield token("bearerAuth", []);
|
|
@@ -76,6 +79,9 @@ export class AgentApi extends runtime.BaseAPI {
|
|
|
76
79
|
const queryParameters = {};
|
|
77
80
|
const headerParameters = {};
|
|
78
81
|
headerParameters['Content-Type'] = 'application/json';
|
|
82
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
83
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
84
|
+
}
|
|
79
85
|
if (this.configuration && this.configuration.accessToken) {
|
|
80
86
|
const token = this.configuration.accessToken;
|
|
81
87
|
const tokenString = yield token("bearerAuth", []);
|
|
@@ -255,6 +261,9 @@ export class AgentApi extends runtime.BaseAPI {
|
|
|
255
261
|
const queryParameters = {};
|
|
256
262
|
const headerParameters = {};
|
|
257
263
|
headerParameters['Content-Type'] = 'application/json';
|
|
264
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
265
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
266
|
+
}
|
|
258
267
|
if (this.configuration && this.configuration.accessToken) {
|
|
259
268
|
const token = this.configuration.accessToken;
|
|
260
269
|
const tokenString = yield token("bearerAuth", []);
|
|
@@ -359,7 +368,7 @@ export class AgentApi extends runtime.BaseAPI {
|
|
|
359
368
|
});
|
|
360
369
|
}
|
|
361
370
|
/**
|
|
362
|
-
* Cancels an in-progress or queued code generation task. The cancellation behavior depends on the current state of the task: - For queued tasks: Immediately removes the task from the queue and notifies the client - For in-progress tasks: Sets a cancellation flag that the background process checks at strategic checkpoints, allowing the current operation to complete safely - For completed/failed/canceled tasks: Returns success with a message indicating the task is already in a terminal state This endpoint ensures data integrity by using a non-destructive cancellation approach that prevents repository corruption from abrupt termination.
|
|
371
|
+
* Cancels an in-progress or queued code generation task. The cancellation behavior depends on the current state of the task: - For queued tasks: Immediately removes the task from the queue and notifies the client - For in-progress tasks: Sets a cancellation flag that the background process checks at strategic checkpoints, allowing the current operation to complete safely - For completed/failed/canceled tasks: Returns success with a message indicating the task is already in a terminal state This endpoint ensures data integrity by using a non-destructive cancellation approach that prevents repository corruption from abrupt termination. The request to the model is aborted at once, and the run ends at its next checkpoint without building a preview or saving anything. The credit of the generation comes back when the run is stopped before the model began to write; once the answer has begun to stream, the credit is kept. Same behaviour as `POST /operations/{id}/cancel`.
|
|
363
372
|
* Cancel a running or queued code generation task
|
|
364
373
|
*/
|
|
365
374
|
agentTasksIdCancelPostRaw(requestParameters, initOverrides) {
|
|
@@ -386,7 +395,7 @@ export class AgentApi extends runtime.BaseAPI {
|
|
|
386
395
|
});
|
|
387
396
|
}
|
|
388
397
|
/**
|
|
389
|
-
* Cancels an in-progress or queued code generation task. The cancellation behavior depends on the current state of the task: - For queued tasks: Immediately removes the task from the queue and notifies the client - For in-progress tasks: Sets a cancellation flag that the background process checks at strategic checkpoints, allowing the current operation to complete safely - For completed/failed/canceled tasks: Returns success with a message indicating the task is already in a terminal state This endpoint ensures data integrity by using a non-destructive cancellation approach that prevents repository corruption from abrupt termination.
|
|
398
|
+
* Cancels an in-progress or queued code generation task. The cancellation behavior depends on the current state of the task: - For queued tasks: Immediately removes the task from the queue and notifies the client - For in-progress tasks: Sets a cancellation flag that the background process checks at strategic checkpoints, allowing the current operation to complete safely - For completed/failed/canceled tasks: Returns success with a message indicating the task is already in a terminal state This endpoint ensures data integrity by using a non-destructive cancellation approach that prevents repository corruption from abrupt termination. The request to the model is aborted at once, and the run ends at its next checkpoint without building a preview or saving anything. The credit of the generation comes back when the run is stopped before the model began to write; once the answer has begun to stream, the credit is kept. Same behaviour as `POST /operations/{id}/cancel`.
|
|
390
399
|
* Cancel a running or queued code generation task
|
|
391
400
|
*/
|
|
392
401
|
agentTasksIdCancelPost(requestParameters, initOverrides) {
|
|
@@ -410,6 +419,9 @@ export class AgentApi extends runtime.BaseAPI {
|
|
|
410
419
|
const queryParameters = {};
|
|
411
420
|
const headerParameters = {};
|
|
412
421
|
headerParameters['Content-Type'] = 'application/json';
|
|
422
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
423
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
424
|
+
}
|
|
413
425
|
if (this.configuration && this.configuration.accessToken) {
|
|
414
426
|
const token = this.configuration.accessToken;
|
|
415
427
|
const tokenString = yield token("bearerAuth", []);
|