@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
package/dist/apis/PartnersApi.js
CHANGED
|
@@ -44,6 +44,9 @@ class PartnersApi extends runtime.BaseAPI {
|
|
|
44
44
|
const queryParameters = {};
|
|
45
45
|
const headerParameters = {};
|
|
46
46
|
headerParameters['Content-Type'] = 'application/json';
|
|
47
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
48
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
49
|
+
}
|
|
47
50
|
if (this.configuration && this.configuration.accessToken) {
|
|
48
51
|
const token = this.configuration.accessToken;
|
|
49
52
|
const tokenString = yield token("apiKeyAuth", []);
|
|
@@ -74,10 +77,13 @@ class PartnersApi extends runtime.BaseAPI {
|
|
|
74
77
|
* Checks all partner credit balances and triggers auto-reload where needed (Admin only)
|
|
75
78
|
* Check all partner balances for auto-reload
|
|
76
79
|
*/
|
|
77
|
-
checkPartnerCreditBalancesRaw(initOverrides) {
|
|
80
|
+
checkPartnerCreditBalancesRaw(requestParameters, initOverrides) {
|
|
78
81
|
return __awaiter(this, void 0, void 0, function* () {
|
|
79
82
|
const queryParameters = {};
|
|
80
83
|
const headerParameters = {};
|
|
84
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
85
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
86
|
+
}
|
|
81
87
|
if (this.configuration && this.configuration.accessToken) {
|
|
82
88
|
const token = this.configuration.accessToken;
|
|
83
89
|
const tokenString = yield token("apiKeyAuth", []);
|
|
@@ -98,9 +104,9 @@ class PartnersApi extends runtime.BaseAPI {
|
|
|
98
104
|
* Checks all partner credit balances and triggers auto-reload where needed (Admin only)
|
|
99
105
|
* Check all partner balances for auto-reload
|
|
100
106
|
*/
|
|
101
|
-
checkPartnerCreditBalances(
|
|
102
|
-
return __awaiter(this,
|
|
103
|
-
yield this.checkPartnerCreditBalancesRaw(initOverrides);
|
|
107
|
+
checkPartnerCreditBalances() {
|
|
108
|
+
return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
|
|
109
|
+
yield this.checkPartnerCreditBalancesRaw(requestParameters, initOverrides);
|
|
104
110
|
});
|
|
105
111
|
}
|
|
106
112
|
/**
|
|
@@ -118,6 +124,9 @@ class PartnersApi extends runtime.BaseAPI {
|
|
|
118
124
|
const queryParameters = {};
|
|
119
125
|
const headerParameters = {};
|
|
120
126
|
headerParameters['Content-Type'] = 'application/json';
|
|
127
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
128
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
129
|
+
}
|
|
121
130
|
if (this.configuration && this.configuration.accessToken) {
|
|
122
131
|
const token = this.configuration.accessToken;
|
|
123
132
|
const tokenString = yield token("apiKeyAuth", []);
|
|
@@ -144,6 +153,239 @@ class PartnersApi extends runtime.BaseAPI {
|
|
|
144
153
|
yield this.configureAutoReloadRaw(requestParameters, initOverrides);
|
|
145
154
|
});
|
|
146
155
|
}
|
|
156
|
+
/**
|
|
157
|
+
* Returns the partner (nearly always one) that the signed-in account administers, with the id every other partner route asks for and the standing it is in: `active`, `inactive` (not activated yet) or `suspended` (paused, with the reason Widgetic gave). A partner API key is that account\'s key, so it reads its own partner here. An account that administers no partner is not refused: it gets `standing: not_a_partner` and an empty list, so a dashboard can tell \"this is not a partner account\" from \"something failed\". The call stays open while the partner is paused or not yet active: that is when its dashboard has to say why.
|
|
158
|
+
* Find the partner you administer
|
|
159
|
+
*/
|
|
160
|
+
getMyPartnersRaw(initOverrides) {
|
|
161
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
162
|
+
const queryParameters = {};
|
|
163
|
+
const headerParameters = {};
|
|
164
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
165
|
+
const token = this.configuration.accessToken;
|
|
166
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
167
|
+
if (tokenString) {
|
|
168
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
const response = yield this.request({
|
|
172
|
+
path: `/partners/mine`,
|
|
173
|
+
method: 'GET',
|
|
174
|
+
headers: headerParameters,
|
|
175
|
+
query: queryParameters,
|
|
176
|
+
}, initOverrides);
|
|
177
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.MyPartnersFromJSON)(jsonValue));
|
|
178
|
+
});
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* Returns the partner (nearly always one) that the signed-in account administers, with the id every other partner route asks for and the standing it is in: `active`, `inactive` (not activated yet) or `suspended` (paused, with the reason Widgetic gave). A partner API key is that account\'s key, so it reads its own partner here. An account that administers no partner is not refused: it gets `standing: not_a_partner` and an empty list, so a dashboard can tell \"this is not a partner account\" from \"something failed\". The call stays open while the partner is paused or not yet active: that is when its dashboard has to say why.
|
|
182
|
+
* Find the partner you administer
|
|
183
|
+
*/
|
|
184
|
+
getMyPartners(initOverrides) {
|
|
185
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
186
|
+
const response = yield this.getMyPartnersRaw(initOverrides);
|
|
187
|
+
return yield response.value();
|
|
188
|
+
});
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* Lists every one of your managed users with what their widgets and compositions did in a period: views, interactions and visitors, and how many widgets and compositions they have made. A managed user whose widgets were not viewed is listed too, with zeros. The most viewed come first, and `page.hasMore` says whether more follow. Only the compositions made for a managed user count for it: file them under the user when you create them (`managedUserId` on `createComposition`), or let the user\'s editor session do it, which files everything under its user. What a visitor did with a composition that is not filed under anyone is in the summary of the whole account (`getPartnerAnalyticsSummary`) and in no managed user\'s row. The period works as it does for `getPartnerAnalyticsSummary`. The caller must be the person who administers the partner (an API key of that account works, with the `partner:read` scope), or a Widgetic administrator.
|
|
192
|
+
* What each managed user\'s widgets did
|
|
193
|
+
*/
|
|
194
|
+
getPartnerAnalyticsByManagedUserRaw(requestParameters, initOverrides) {
|
|
195
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
196
|
+
if (requestParameters['partnerId'] == null) {
|
|
197
|
+
throw new runtime.RequiredError('partnerId', 'Required parameter "partnerId" was null or undefined when calling getPartnerAnalyticsByManagedUser().');
|
|
198
|
+
}
|
|
199
|
+
const queryParameters = {};
|
|
200
|
+
if (requestParameters['startDate'] != null) {
|
|
201
|
+
queryParameters['startDate'] = requestParameters['startDate'];
|
|
202
|
+
}
|
|
203
|
+
if (requestParameters['endDate'] != null) {
|
|
204
|
+
queryParameters['endDate'] = requestParameters['endDate'];
|
|
205
|
+
}
|
|
206
|
+
if (requestParameters['limit'] != null) {
|
|
207
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
208
|
+
}
|
|
209
|
+
if (requestParameters['offset'] != null) {
|
|
210
|
+
queryParameters['offset'] = requestParameters['offset'];
|
|
211
|
+
}
|
|
212
|
+
const headerParameters = {};
|
|
213
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
214
|
+
const token = this.configuration.accessToken;
|
|
215
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
216
|
+
if (tokenString) {
|
|
217
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
const response = yield this.request({
|
|
221
|
+
path: `/partners/{partnerId}/analytics/managed-users`.replace(`{${"partnerId"}}`, encodeURIComponent(String(requestParameters['partnerId']))),
|
|
222
|
+
method: 'GET',
|
|
223
|
+
headers: headerParameters,
|
|
224
|
+
query: queryParameters,
|
|
225
|
+
}, initOverrides);
|
|
226
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PartnerAnalyticsByManagedUserFromJSON)(jsonValue));
|
|
227
|
+
});
|
|
228
|
+
}
|
|
229
|
+
/**
|
|
230
|
+
* Lists every one of your managed users with what their widgets and compositions did in a period: views, interactions and visitors, and how many widgets and compositions they have made. A managed user whose widgets were not viewed is listed too, with zeros. The most viewed come first, and `page.hasMore` says whether more follow. Only the compositions made for a managed user count for it: file them under the user when you create them (`managedUserId` on `createComposition`), or let the user\'s editor session do it, which files everything under its user. What a visitor did with a composition that is not filed under anyone is in the summary of the whole account (`getPartnerAnalyticsSummary`) and in no managed user\'s row. The period works as it does for `getPartnerAnalyticsSummary`. The caller must be the person who administers the partner (an API key of that account works, with the `partner:read` scope), or a Widgetic administrator.
|
|
231
|
+
* What each managed user\'s widgets did
|
|
232
|
+
*/
|
|
233
|
+
getPartnerAnalyticsByManagedUser(requestParameters, initOverrides) {
|
|
234
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
235
|
+
const response = yield this.getPartnerAnalyticsByManagedUserRaw(requestParameters, initOverrides);
|
|
236
|
+
return yield response.value();
|
|
237
|
+
});
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* Counts what the visitors of the compositions made through your account did in a period: how many times a composition was **viewed**, how many times a visitor **interacted** with one, and how many different visitors there were. It covers every composition of your account, your own and the ones made for your managed users; narrow it to one managed user with `managedUserId` or `managedUserExternalId` (not both). The numbers come from the events the embedded widgets send while they are shown (the Widgetic embed SDK sends them by itself), counted when you ask. Only views and interactions are counted; the events that describe a visit (its start, its end, the device and the referrer) are not. The period runs from `startDate` (included) to `endDate` (not included): the 30 days before now when you give neither, and at most 366 days. A date without a time is midnight UTC at the start of that day, so for all of October give `startDate=2026-10-01` and `endDate=2026-11-01`. The caller must be the person who administers the partner (an API key of that account works, with the `partner:read` scope), or a Widgetic administrator.
|
|
241
|
+
* What was done with a partner\'s published widgets
|
|
242
|
+
*/
|
|
243
|
+
getPartnerAnalyticsSummaryRaw(requestParameters, initOverrides) {
|
|
244
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
245
|
+
if (requestParameters['partnerId'] == null) {
|
|
246
|
+
throw new runtime.RequiredError('partnerId', 'Required parameter "partnerId" was null or undefined when calling getPartnerAnalyticsSummary().');
|
|
247
|
+
}
|
|
248
|
+
const queryParameters = {};
|
|
249
|
+
if (requestParameters['startDate'] != null) {
|
|
250
|
+
queryParameters['startDate'] = requestParameters['startDate'];
|
|
251
|
+
}
|
|
252
|
+
if (requestParameters['endDate'] != null) {
|
|
253
|
+
queryParameters['endDate'] = requestParameters['endDate'];
|
|
254
|
+
}
|
|
255
|
+
if (requestParameters['managedUserId'] != null) {
|
|
256
|
+
queryParameters['managedUserId'] = requestParameters['managedUserId'];
|
|
257
|
+
}
|
|
258
|
+
if (requestParameters['managedUserExternalId'] != null) {
|
|
259
|
+
queryParameters['managedUserExternalId'] = requestParameters['managedUserExternalId'];
|
|
260
|
+
}
|
|
261
|
+
const headerParameters = {};
|
|
262
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
263
|
+
const token = this.configuration.accessToken;
|
|
264
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
265
|
+
if (tokenString) {
|
|
266
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
const response = yield this.request({
|
|
270
|
+
path: `/partners/{partnerId}/analytics/summary`.replace(`{${"partnerId"}}`, encodeURIComponent(String(requestParameters['partnerId']))),
|
|
271
|
+
method: 'GET',
|
|
272
|
+
headers: headerParameters,
|
|
273
|
+
query: queryParameters,
|
|
274
|
+
}, initOverrides);
|
|
275
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PartnerAnalyticsSummaryFromJSON)(jsonValue));
|
|
276
|
+
});
|
|
277
|
+
}
|
|
278
|
+
/**
|
|
279
|
+
* Counts what the visitors of the compositions made through your account did in a period: how many times a composition was **viewed**, how many times a visitor **interacted** with one, and how many different visitors there were. It covers every composition of your account, your own and the ones made for your managed users; narrow it to one managed user with `managedUserId` or `managedUserExternalId` (not both). The numbers come from the events the embedded widgets send while they are shown (the Widgetic embed SDK sends them by itself), counted when you ask. Only views and interactions are counted; the events that describe a visit (its start, its end, the device and the referrer) are not. The period runs from `startDate` (included) to `endDate` (not included): the 30 days before now when you give neither, and at most 366 days. A date without a time is midnight UTC at the start of that day, so for all of October give `startDate=2026-10-01` and `endDate=2026-11-01`. The caller must be the person who administers the partner (an API key of that account works, with the `partner:read` scope), or a Widgetic administrator.
|
|
280
|
+
* What was done with a partner\'s published widgets
|
|
281
|
+
*/
|
|
282
|
+
getPartnerAnalyticsSummary(requestParameters, initOverrides) {
|
|
283
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
284
|
+
const response = yield this.getPartnerAnalyticsSummaryRaw(requestParameters, initOverrides);
|
|
285
|
+
return yield response.value();
|
|
286
|
+
});
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
* Counts views, interactions and visitors for each day of a period (UTC days), oldest first, for a chart. Every day of the period is in the list, also one on which nothing happened (all zeros), so the list can be drawn as it is. Narrow it to one managed user with `managedUserId` or `managedUserExternalId` (not both). The period works as it does for `getPartnerAnalyticsSummary`; `startDate` and `endDate` are best given as dates, so that the first and the last day are whole days. The caller must be the person who administers the partner (an API key of that account works, with the `partner:read` scope), or a Widgetic administrator.
|
|
290
|
+
* What was done with a partner\'s widgets, day by day
|
|
291
|
+
*/
|
|
292
|
+
getPartnerAnalyticsTimelineRaw(requestParameters, initOverrides) {
|
|
293
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
294
|
+
if (requestParameters['partnerId'] == null) {
|
|
295
|
+
throw new runtime.RequiredError('partnerId', 'Required parameter "partnerId" was null or undefined when calling getPartnerAnalyticsTimeline().');
|
|
296
|
+
}
|
|
297
|
+
const queryParameters = {};
|
|
298
|
+
if (requestParameters['startDate'] != null) {
|
|
299
|
+
queryParameters['startDate'] = requestParameters['startDate'];
|
|
300
|
+
}
|
|
301
|
+
if (requestParameters['endDate'] != null) {
|
|
302
|
+
queryParameters['endDate'] = requestParameters['endDate'];
|
|
303
|
+
}
|
|
304
|
+
if (requestParameters['managedUserId'] != null) {
|
|
305
|
+
queryParameters['managedUserId'] = requestParameters['managedUserId'];
|
|
306
|
+
}
|
|
307
|
+
if (requestParameters['managedUserExternalId'] != null) {
|
|
308
|
+
queryParameters['managedUserExternalId'] = requestParameters['managedUserExternalId'];
|
|
309
|
+
}
|
|
310
|
+
const headerParameters = {};
|
|
311
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
312
|
+
const token = this.configuration.accessToken;
|
|
313
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
314
|
+
if (tokenString) {
|
|
315
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
const response = yield this.request({
|
|
319
|
+
path: `/partners/{partnerId}/analytics/timeline`.replace(`{${"partnerId"}}`, encodeURIComponent(String(requestParameters['partnerId']))),
|
|
320
|
+
method: 'GET',
|
|
321
|
+
headers: headerParameters,
|
|
322
|
+
query: queryParameters,
|
|
323
|
+
}, initOverrides);
|
|
324
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PartnerAnalyticsTimelineFromJSON)(jsonValue));
|
|
325
|
+
});
|
|
326
|
+
}
|
|
327
|
+
/**
|
|
328
|
+
* Counts views, interactions and visitors for each day of a period (UTC days), oldest first, for a chart. Every day of the period is in the list, also one on which nothing happened (all zeros), so the list can be drawn as it is. Narrow it to one managed user with `managedUserId` or `managedUserExternalId` (not both). The period works as it does for `getPartnerAnalyticsSummary`; `startDate` and `endDate` are best given as dates, so that the first and the last day are whole days. The caller must be the person who administers the partner (an API key of that account works, with the `partner:read` scope), or a Widgetic administrator.
|
|
329
|
+
* What was done with a partner\'s widgets, day by day
|
|
330
|
+
*/
|
|
331
|
+
getPartnerAnalyticsTimeline(requestParameters, initOverrides) {
|
|
332
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
333
|
+
const response = yield this.getPartnerAnalyticsTimelineRaw(requestParameters, initOverrides);
|
|
334
|
+
return yield response.value();
|
|
335
|
+
});
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
* Lists the widgets whose compositions were viewed the most in a period, with their views, interactions, visitors and how many of their compositions were viewed. A widget that nobody viewed or used is not listed. The most viewed come first (then the most used), and at most `limit` are listed. Narrow it to one managed user with `managedUserId` or `managedUserExternalId` (not both). The period works as it does for `getPartnerAnalyticsSummary`. The caller must be the person who administers the partner (an API key of that account works, with the `partner:read` scope), or a Widgetic administrator.
|
|
339
|
+
* Which widgets were viewed the most
|
|
340
|
+
*/
|
|
341
|
+
getPartnerAnalyticsTopWidgetsRaw(requestParameters, initOverrides) {
|
|
342
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
343
|
+
if (requestParameters['partnerId'] == null) {
|
|
344
|
+
throw new runtime.RequiredError('partnerId', 'Required parameter "partnerId" was null or undefined when calling getPartnerAnalyticsTopWidgets().');
|
|
345
|
+
}
|
|
346
|
+
const queryParameters = {};
|
|
347
|
+
if (requestParameters['startDate'] != null) {
|
|
348
|
+
queryParameters['startDate'] = requestParameters['startDate'];
|
|
349
|
+
}
|
|
350
|
+
if (requestParameters['endDate'] != null) {
|
|
351
|
+
queryParameters['endDate'] = requestParameters['endDate'];
|
|
352
|
+
}
|
|
353
|
+
if (requestParameters['managedUserId'] != null) {
|
|
354
|
+
queryParameters['managedUserId'] = requestParameters['managedUserId'];
|
|
355
|
+
}
|
|
356
|
+
if (requestParameters['managedUserExternalId'] != null) {
|
|
357
|
+
queryParameters['managedUserExternalId'] = requestParameters['managedUserExternalId'];
|
|
358
|
+
}
|
|
359
|
+
if (requestParameters['limit'] != null) {
|
|
360
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
361
|
+
}
|
|
362
|
+
const headerParameters = {};
|
|
363
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
364
|
+
const token = this.configuration.accessToken;
|
|
365
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
366
|
+
if (tokenString) {
|
|
367
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
const response = yield this.request({
|
|
371
|
+
path: `/partners/{partnerId}/analytics/top-widgets`.replace(`{${"partnerId"}}`, encodeURIComponent(String(requestParameters['partnerId']))),
|
|
372
|
+
method: 'GET',
|
|
373
|
+
headers: headerParameters,
|
|
374
|
+
query: queryParameters,
|
|
375
|
+
}, initOverrides);
|
|
376
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PartnerAnalyticsTopWidgetsFromJSON)(jsonValue));
|
|
377
|
+
});
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
* Lists the widgets whose compositions were viewed the most in a period, with their views, interactions, visitors and how many of their compositions were viewed. A widget that nobody viewed or used is not listed. The most viewed come first (then the most used), and at most `limit` are listed. Narrow it to one managed user with `managedUserId` or `managedUserExternalId` (not both). The period works as it does for `getPartnerAnalyticsSummary`. The caller must be the person who administers the partner (an API key of that account works, with the `partner:read` scope), or a Widgetic administrator.
|
|
381
|
+
* Which widgets were viewed the most
|
|
382
|
+
*/
|
|
383
|
+
getPartnerAnalyticsTopWidgets(requestParameters, initOverrides) {
|
|
384
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
385
|
+
const response = yield this.getPartnerAnalyticsTopWidgetsRaw(requestParameters, initOverrides);
|
|
386
|
+
return yield response.value();
|
|
387
|
+
});
|
|
388
|
+
}
|
|
147
389
|
/**
|
|
148
390
|
* Retrieves operational credits, the partner\'s contract terms (`partnerCustomization`, the same fields as `getPartnerContract`) and billing integration status. Internal negotiation notes are not part of it.
|
|
149
391
|
* Get comprehensive partner billing overview
|
|
@@ -299,6 +541,43 @@ class PartnersApi extends runtime.BaseAPI {
|
|
|
299
541
|
yield this.getPartnerCreditTransactionsRaw(requestParameters, initOverrides);
|
|
300
542
|
});
|
|
301
543
|
}
|
|
544
|
+
/**
|
|
545
|
+
* Returns who gets the emails, which events you want by email and by webhook, the address of your webhook, and whether it has a secret to sign with. The secret itself is never returned: it is shown once, when it is made. `events` lists every kind of event there is, for a settings screen. The caller must be the person who administers the partner (an API key of that account works, with the `partner:read` scope), or a Widgetic administrator.
|
|
546
|
+
* Where your notifications go
|
|
547
|
+
*/
|
|
548
|
+
getPartnerNotificationSettingsRaw(requestParameters, initOverrides) {
|
|
549
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
550
|
+
if (requestParameters['partnerId'] == null) {
|
|
551
|
+
throw new runtime.RequiredError('partnerId', 'Required parameter "partnerId" was null or undefined when calling getPartnerNotificationSettings().');
|
|
552
|
+
}
|
|
553
|
+
const queryParameters = {};
|
|
554
|
+
const headerParameters = {};
|
|
555
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
556
|
+
const token = this.configuration.accessToken;
|
|
557
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
558
|
+
if (tokenString) {
|
|
559
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
const response = yield this.request({
|
|
563
|
+
path: `/partners/{partnerId}/notifications/settings`.replace(`{${"partnerId"}}`, encodeURIComponent(String(requestParameters['partnerId']))),
|
|
564
|
+
method: 'GET',
|
|
565
|
+
headers: headerParameters,
|
|
566
|
+
query: queryParameters,
|
|
567
|
+
}, initOverrides);
|
|
568
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PartnerNotificationSettingsFromJSON)(jsonValue));
|
|
569
|
+
});
|
|
570
|
+
}
|
|
571
|
+
/**
|
|
572
|
+
* Returns who gets the emails, which events you want by email and by webhook, the address of your webhook, and whether it has a secret to sign with. The secret itself is never returned: it is shown once, when it is made. `events` lists every kind of event there is, for a settings screen. The caller must be the person who administers the partner (an API key of that account works, with the `partner:read` scope), or a Widgetic administrator.
|
|
573
|
+
* Where your notifications go
|
|
574
|
+
*/
|
|
575
|
+
getPartnerNotificationSettings(requestParameters, initOverrides) {
|
|
576
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
577
|
+
const response = yield this.getPartnerNotificationSettingsRaw(requestParameters, initOverrides);
|
|
578
|
+
return yield response.value();
|
|
579
|
+
});
|
|
580
|
+
}
|
|
302
581
|
/**
|
|
303
582
|
* Returns the partner\'s storage destination without its secret: the endpoint, bucket, folder and public address, the last four characters of the access key id, when the destination last passed the check, and why the latest re-check failed if it did. Responds 404 while the partner has no destination, which means the partner cannot be activated, its uploads are refused, and no editor session is made for its customers until a destination is set. The caller must be the person who administers the partner, or a Widgetic administrator.
|
|
304
583
|
* Get where a partner\'s uploaded files are stored
|
|
@@ -336,6 +615,132 @@ class PartnersApi extends runtime.BaseAPI {
|
|
|
336
615
|
return yield response.value();
|
|
337
616
|
});
|
|
338
617
|
}
|
|
618
|
+
/**
|
|
619
|
+
* Says how many files, and how many bytes, your account keeps, in total and for each of your managed users, and how much of it is in Widgetic\'s storage and how much in your own storage destination (`setPartnerStorageDestination`). Use it to see which customers store the most, or to charge them for it. A file is counted for a managed user when it was filed under that user: by naming `managed_user_id` or `managed_user_external_id` when you upload it (`uploadsPost`, or the metadata of a resumable upload), or because it was uploaded through that user\'s editor session, which files everything under its user. The files that are not filed under anyone (your own, and the ones uploaded without naming a managed user) are the row whose `managedUserId` is null. Deleted files are not counted. To list the files of one managed user, use the `managed_user_id` filter of `uploadsGet`. The answer is counted when you ask, so it is always current. The groups are ordered by size, the heaviest first, and `page.hasMore` says whether more follow. The caller must be the person who administers the partner (an API key of that account works, with the `partner:read` scope), or a Widgetic administrator.
|
|
620
|
+
* What a partner\'s customers store
|
|
621
|
+
*/
|
|
622
|
+
getPartnerStorageUsageRaw(requestParameters, initOverrides) {
|
|
623
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
624
|
+
if (requestParameters['partnerId'] == null) {
|
|
625
|
+
throw new runtime.RequiredError('partnerId', 'Required parameter "partnerId" was null or undefined when calling getPartnerStorageUsage().');
|
|
626
|
+
}
|
|
627
|
+
const queryParameters = {};
|
|
628
|
+
if (requestParameters['limit'] != null) {
|
|
629
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
630
|
+
}
|
|
631
|
+
if (requestParameters['offset'] != null) {
|
|
632
|
+
queryParameters['offset'] = requestParameters['offset'];
|
|
633
|
+
}
|
|
634
|
+
const headerParameters = {};
|
|
635
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
636
|
+
const token = this.configuration.accessToken;
|
|
637
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
638
|
+
if (tokenString) {
|
|
639
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
const response = yield this.request({
|
|
643
|
+
path: `/partners/{partnerId}/storage/usage`.replace(`{${"partnerId"}}`, encodeURIComponent(String(requestParameters['partnerId']))),
|
|
644
|
+
method: 'GET',
|
|
645
|
+
headers: headerParameters,
|
|
646
|
+
query: queryParameters,
|
|
647
|
+
}, initOverrides);
|
|
648
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PartnerStorageUsageFromJSON)(jsonValue));
|
|
649
|
+
});
|
|
650
|
+
}
|
|
651
|
+
/**
|
|
652
|
+
* Says how many files, and how many bytes, your account keeps, in total and for each of your managed users, and how much of it is in Widgetic\'s storage and how much in your own storage destination (`setPartnerStorageDestination`). Use it to see which customers store the most, or to charge them for it. A file is counted for a managed user when it was filed under that user: by naming `managed_user_id` or `managed_user_external_id` when you upload it (`uploadsPost`, or the metadata of a resumable upload), or because it was uploaded through that user\'s editor session, which files everything under its user. The files that are not filed under anyone (your own, and the ones uploaded without naming a managed user) are the row whose `managedUserId` is null. Deleted files are not counted. To list the files of one managed user, use the `managed_user_id` filter of `uploadsGet`. The answer is counted when you ask, so it is always current. The groups are ordered by size, the heaviest first, and `page.hasMore` says whether more follow. The caller must be the person who administers the partner (an API key of that account works, with the `partner:read` scope), or a Widgetic administrator.
|
|
653
|
+
* What a partner\'s customers store
|
|
654
|
+
*/
|
|
655
|
+
getPartnerStorageUsage(requestParameters, initOverrides) {
|
|
656
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
657
|
+
const response = yield this.getPartnerStorageUsageRaw(requestParameters, initOverrides);
|
|
658
|
+
return yield response.value();
|
|
659
|
+
});
|
|
660
|
+
}
|
|
661
|
+
/**
|
|
662
|
+
* Lists the sends of your notifications, the newest first: each email to one address and each call to your webhook, with whether it was delivered, when it is tried again if not, how many attempts it had, and why the last one failed. Use it to find out why a webhook of yours did not receive an event. An email counts as delivered when it was handed to the mail service; a call to your webhook counts as delivered when your endpoint answered with a 2xx status. Anything else is tried again, after 1 minute, then 5 minutes, 30 minutes, 2 hours, 6 hours, 12 hours and a day, eight attempts in all, because your address is read again at each attempt and you may have mended it. Two answers end the delivery at once: `410 Gone` and `413 Payload Too Large`. The caller must be the person who administers the partner (an API key of that account works, with the `partner:read` scope), or a Widgetic administrator.
|
|
663
|
+
* How your notifications reached you
|
|
664
|
+
*/
|
|
665
|
+
listPartnerNotificationDeliveriesRaw(requestParameters, initOverrides) {
|
|
666
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
667
|
+
if (requestParameters['partnerId'] == null) {
|
|
668
|
+
throw new runtime.RequiredError('partnerId', 'Required parameter "partnerId" was null or undefined when calling listPartnerNotificationDeliveries().');
|
|
669
|
+
}
|
|
670
|
+
const queryParameters = {};
|
|
671
|
+
if (requestParameters['limit'] != null) {
|
|
672
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
673
|
+
}
|
|
674
|
+
const headerParameters = {};
|
|
675
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
676
|
+
const token = this.configuration.accessToken;
|
|
677
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
678
|
+
if (tokenString) {
|
|
679
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
const response = yield this.request({
|
|
683
|
+
path: `/partners/{partnerId}/notifications/deliveries`.replace(`{${"partnerId"}}`, encodeURIComponent(String(requestParameters['partnerId']))),
|
|
684
|
+
method: 'GET',
|
|
685
|
+
headers: headerParameters,
|
|
686
|
+
query: queryParameters,
|
|
687
|
+
}, initOverrides);
|
|
688
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PartnerNotificationDeliveryLogFromJSON)(jsonValue));
|
|
689
|
+
});
|
|
690
|
+
}
|
|
691
|
+
/**
|
|
692
|
+
* Lists the sends of your notifications, the newest first: each email to one address and each call to your webhook, with whether it was delivered, when it is tried again if not, how many attempts it had, and why the last one failed. Use it to find out why a webhook of yours did not receive an event. An email counts as delivered when it was handed to the mail service; a call to your webhook counts as delivered when your endpoint answered with a 2xx status. Anything else is tried again, after 1 minute, then 5 minutes, 30 minutes, 2 hours, 6 hours, 12 hours and a day, eight attempts in all, because your address is read again at each attempt and you may have mended it. Two answers end the delivery at once: `410 Gone` and `413 Payload Too Large`. The caller must be the person who administers the partner (an API key of that account works, with the `partner:read` scope), or a Widgetic administrator.
|
|
693
|
+
* How your notifications reached you
|
|
694
|
+
*/
|
|
695
|
+
listPartnerNotificationDeliveries(requestParameters, initOverrides) {
|
|
696
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
697
|
+
const response = yield this.listPartnerNotificationDeliveriesRaw(requestParameters, initOverrides);
|
|
698
|
+
return yield response.value();
|
|
699
|
+
});
|
|
700
|
+
}
|
|
701
|
+
/**
|
|
702
|
+
* Lists the notifications of a partner, the newest first: the invoices Widgetic issued and their payments, the reminders to pay them, a warning when your credits run low, and the changes to the standing of the account (activated, paused, resumed). It is the same list your dashboard shows, and each entry is what your webhook receives as `data` when you have one (`updatePartnerNotificationSettings`). A page holds `limit` notifications (20 by default, at most 100). When there are older ones `nextBefore` is set: ask again with it as `before` to get the next page. The caller must be the person who administers the partner (an API key of that account works, with the `partner:read` scope), or a Widgetic administrator.
|
|
703
|
+
* What your partner account was told
|
|
704
|
+
*/
|
|
705
|
+
listPartnerNotificationsRaw(requestParameters, initOverrides) {
|
|
706
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
707
|
+
if (requestParameters['partnerId'] == null) {
|
|
708
|
+
throw new runtime.RequiredError('partnerId', 'Required parameter "partnerId" was null or undefined when calling listPartnerNotifications().');
|
|
709
|
+
}
|
|
710
|
+
const queryParameters = {};
|
|
711
|
+
if (requestParameters['limit'] != null) {
|
|
712
|
+
queryParameters['limit'] = requestParameters['limit'];
|
|
713
|
+
}
|
|
714
|
+
if (requestParameters['before'] != null) {
|
|
715
|
+
queryParameters['before'] = requestParameters['before'].toISOString();
|
|
716
|
+
}
|
|
717
|
+
const headerParameters = {};
|
|
718
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
719
|
+
const token = this.configuration.accessToken;
|
|
720
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
721
|
+
if (tokenString) {
|
|
722
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
const response = yield this.request({
|
|
726
|
+
path: `/partners/{partnerId}/notifications`.replace(`{${"partnerId"}}`, encodeURIComponent(String(requestParameters['partnerId']))),
|
|
727
|
+
method: 'GET',
|
|
728
|
+
headers: headerParameters,
|
|
729
|
+
query: queryParameters,
|
|
730
|
+
}, initOverrides);
|
|
731
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PartnerNotificationPageFromJSON)(jsonValue));
|
|
732
|
+
});
|
|
733
|
+
}
|
|
734
|
+
/**
|
|
735
|
+
* Lists the notifications of a partner, the newest first: the invoices Widgetic issued and their payments, the reminders to pay them, a warning when your credits run low, and the changes to the standing of the account (activated, paused, resumed). It is the same list your dashboard shows, and each entry is what your webhook receives as `data` when you have one (`updatePartnerNotificationSettings`). A page holds `limit` notifications (20 by default, at most 100). When there are older ones `nextBefore` is set: ask again with it as `before` to get the next page. The caller must be the person who administers the partner (an API key of that account works, with the `partner:read` scope), or a Widgetic administrator.
|
|
736
|
+
* What your partner account was told
|
|
737
|
+
*/
|
|
738
|
+
listPartnerNotifications(requestParameters, initOverrides) {
|
|
739
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
740
|
+
const response = yield this.listPartnerNotificationsRaw(requestParameters, initOverrides);
|
|
741
|
+
return yield response.value();
|
|
742
|
+
});
|
|
743
|
+
}
|
|
339
744
|
/**
|
|
340
745
|
* Returns the partner\'s presets, ordered by `position` and then by `key`: the widgets it offers its managed users as starting points. The list is the same for every managed user. Use a preset in one of two ways: - **Make a composition of it** (the content and design editor): call `createComposition` with the preset\'s `widgetId` and the managed user. The widget itself stays yours; a composition is the user\'s own content. - **Give the user a copy to build on** (the widget creator): call `copyPresetForManagedUser`. The user gets a widget and a canvas of their own. Presets are not the same as the widgets Widgetic puts on every new Widgetic account. Those are chosen by Widgetic and are copied at sign-up. A preset here is yours, and is copied only when you ask. The caller must be the person who administers the partner (an API key of that account works), or a Widgetic administrator.
|
|
341
746
|
* List the widgets a partner offers as presets
|
|
@@ -450,6 +855,46 @@ class PartnersApi extends runtime.BaseAPI {
|
|
|
450
855
|
return yield response.value();
|
|
451
856
|
});
|
|
452
857
|
}
|
|
858
|
+
/**
|
|
859
|
+
* Makes a new secret to sign your webhook with, and returns it in `webhookSecret`: **keep it now, it is shown once** and cannot be read again. Use it when the secret was lost, or may have leaked. The secret you had keeps signing beside the new one for a day, so that your receiver can switch without a call being rejected: during that day each call carries two signatures (see `updatePartnerNotificationSettings` for how they are verified). Rotating again within the day ends the overlap with the first secret. Retry this call with the same `Idempotency-Key` if its answer was lost: the answer, secret included, is then given again, and no second secret is made. This needs an API key with full access. The caller must be the person who administers the partner, or a Widgetic administrator.
|
|
860
|
+
* Make a new secret for your webhook
|
|
861
|
+
*/
|
|
862
|
+
rotatePartnerWebhookSecretRaw(requestParameters, initOverrides) {
|
|
863
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
864
|
+
if (requestParameters['partnerId'] == null) {
|
|
865
|
+
throw new runtime.RequiredError('partnerId', 'Required parameter "partnerId" was null or undefined when calling rotatePartnerWebhookSecret().');
|
|
866
|
+
}
|
|
867
|
+
const queryParameters = {};
|
|
868
|
+
const headerParameters = {};
|
|
869
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
870
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
871
|
+
}
|
|
872
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
873
|
+
const token = this.configuration.accessToken;
|
|
874
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
875
|
+
if (tokenString) {
|
|
876
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
877
|
+
}
|
|
878
|
+
}
|
|
879
|
+
const response = yield this.request({
|
|
880
|
+
path: `/partners/{partnerId}/notifications/webhook-secret`.replace(`{${"partnerId"}}`, encodeURIComponent(String(requestParameters['partnerId']))),
|
|
881
|
+
method: 'POST',
|
|
882
|
+
headers: headerParameters,
|
|
883
|
+
query: queryParameters,
|
|
884
|
+
}, initOverrides);
|
|
885
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PartnerNotificationSettingsChangeFromJSON)(jsonValue));
|
|
886
|
+
});
|
|
887
|
+
}
|
|
888
|
+
/**
|
|
889
|
+
* Makes a new secret to sign your webhook with, and returns it in `webhookSecret`: **keep it now, it is shown once** and cannot be read again. Use it when the secret was lost, or may have leaked. The secret you had keeps signing beside the new one for a day, so that your receiver can switch without a call being rejected: during that day each call carries two signatures (see `updatePartnerNotificationSettings` for how they are verified). Rotating again within the day ends the overlap with the first secret. Retry this call with the same `Idempotency-Key` if its answer was lost: the answer, secret included, is then given again, and no second secret is made. This needs an API key with full access. The caller must be the person who administers the partner, or a Widgetic administrator.
|
|
890
|
+
* Make a new secret for your webhook
|
|
891
|
+
*/
|
|
892
|
+
rotatePartnerWebhookSecret(requestParameters, initOverrides) {
|
|
893
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
894
|
+
const response = yield this.rotatePartnerWebhookSecretRaw(requestParameters, initOverrides);
|
|
895
|
+
return yield response.value();
|
|
896
|
+
});
|
|
897
|
+
}
|
|
453
898
|
/**
|
|
454
899
|
* Offers one of the partner\'s own widgets as a preset under `key`. If the partner already has a preset under that key it is replaced, so sending the same request twice is safe. Saving replaces the whole preset: a `title`, `description` or `position` you leave out goes back to its default. Keys are 1 to 64 characters: lowercase letters, digits, hyphens and underscores, the first a letter or a digit (`rating`, `quiz-3`). The widget must belong to the partner\'s account; a widget that does not exist and one that belongs to somebody else are refused in the same way (404 `PRESET_WIDGET_NOT_FOUND`). A widget is a preset under at most one key (409 `PRESET_WIDGET_ALREADY_USED`; `details.key` says which), and an account can have at most 100 presets (409 `PRESET_LIMIT_REACHED`). Later changes to the widget reach new copies and new compositions; copies made earlier are not touched. Deleting the widget removes its preset.
|
|
455
900
|
* Make a widget a preset, or replace a preset
|
|
@@ -537,6 +982,51 @@ class PartnersApi extends runtime.BaseAPI {
|
|
|
537
982
|
return yield response.value();
|
|
538
983
|
});
|
|
539
984
|
}
|
|
985
|
+
/**
|
|
986
|
+
* Changes who gets the emails, which events you want by email and by webhook, and the address of your webhook. A key you leave out of the body is left as it was; send only what changes. **Email.** `emailRecipients` is the list of addresses (at most five). While it is empty the emails about invoices go to the billing emails of your billing profile (your contact email when there are none), and the others to your contact email. The events about money and about the standing of your account are always emailed, whatever `emailEvents` says; it narrows the others. **Webhook.** `webhookUrl` is where Widgetic sends a signed `POST` for each event, so that your own system can act on it (mark an invoice paid, warn your team that credits are low). The address must be `https` on the standard port, on a public site, and must not redirect. Setting an address when you have no secret yet makes one, and the answer carries it as `webhookSecret`: **keep it now, it is shown once**. `webhookEvents` narrows what is sent. Each call has a JSON body, `{ \"id\": \"evt_...\", \"type\": \"invoice.paid\", \"createdAt\": \"...\", \"partnerId\": \"...\", \"data\": { ... } }` (`data` is the `data` of `PartnerNotification`), and these headers: `webhook-id` (the same as `id`, and the same on every retry), `webhook-timestamp` (seconds since 1970) and `webhook-signature` (`v1,` and a base64 HMAC-SHA256). It is the Standard Webhooks scheme, so any of its libraries verifies it. By hand: take your secret without the `whsec_` prefix, decode it from base64, and sign the text `<webhook-id>.<webhook-timestamp>.<the raw body>` with it; the header holds `v1,<base64 of the result>` (two signatures separated by a space while a rotated secret overlaps). Reject a `webhook-timestamp` that is more than five minutes old. Answer with a 2xx status within ten seconds. Anything else is tried again, eight attempts in all over about two days (`listPartnerNotificationDeliveries` shows each). Delivery is at least once: if your answer was lost the same event arrives again with the same `id`, so drop what you have already handled by it. Changing the settings needs an API key with full access: they decide where your notifications go. The caller must be the person who administers the partner, or a Widgetic administrator.
|
|
987
|
+
* Choose where your notifications go
|
|
988
|
+
*/
|
|
989
|
+
updatePartnerNotificationSettingsRaw(requestParameters, initOverrides) {
|
|
990
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
991
|
+
if (requestParameters['partnerId'] == null) {
|
|
992
|
+
throw new runtime.RequiredError('partnerId', 'Required parameter "partnerId" was null or undefined when calling updatePartnerNotificationSettings().');
|
|
993
|
+
}
|
|
994
|
+
if (requestParameters['updatePartnerNotificationSettingsRequest'] == null) {
|
|
995
|
+
throw new runtime.RequiredError('updatePartnerNotificationSettingsRequest', 'Required parameter "updatePartnerNotificationSettingsRequest" was null or undefined when calling updatePartnerNotificationSettings().');
|
|
996
|
+
}
|
|
997
|
+
const queryParameters = {};
|
|
998
|
+
const headerParameters = {};
|
|
999
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1000
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
1001
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
1002
|
+
}
|
|
1003
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1004
|
+
const token = this.configuration.accessToken;
|
|
1005
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
1006
|
+
if (tokenString) {
|
|
1007
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
1008
|
+
}
|
|
1009
|
+
}
|
|
1010
|
+
const response = yield this.request({
|
|
1011
|
+
path: `/partners/{partnerId}/notifications/settings`.replace(`{${"partnerId"}}`, encodeURIComponent(String(requestParameters['partnerId']))),
|
|
1012
|
+
method: 'PUT',
|
|
1013
|
+
headers: headerParameters,
|
|
1014
|
+
query: queryParameters,
|
|
1015
|
+
body: (0, index_1.UpdatePartnerNotificationSettingsRequestToJSON)(requestParameters['updatePartnerNotificationSettingsRequest']),
|
|
1016
|
+
}, initOverrides);
|
|
1017
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.PartnerNotificationSettingsChangeFromJSON)(jsonValue));
|
|
1018
|
+
});
|
|
1019
|
+
}
|
|
1020
|
+
/**
|
|
1021
|
+
* Changes who gets the emails, which events you want by email and by webhook, and the address of your webhook. A key you leave out of the body is left as it was; send only what changes. **Email.** `emailRecipients` is the list of addresses (at most five). While it is empty the emails about invoices go to the billing emails of your billing profile (your contact email when there are none), and the others to your contact email. The events about money and about the standing of your account are always emailed, whatever `emailEvents` says; it narrows the others. **Webhook.** `webhookUrl` is where Widgetic sends a signed `POST` for each event, so that your own system can act on it (mark an invoice paid, warn your team that credits are low). The address must be `https` on the standard port, on a public site, and must not redirect. Setting an address when you have no secret yet makes one, and the answer carries it as `webhookSecret`: **keep it now, it is shown once**. `webhookEvents` narrows what is sent. Each call has a JSON body, `{ \"id\": \"evt_...\", \"type\": \"invoice.paid\", \"createdAt\": \"...\", \"partnerId\": \"...\", \"data\": { ... } }` (`data` is the `data` of `PartnerNotification`), and these headers: `webhook-id` (the same as `id`, and the same on every retry), `webhook-timestamp` (seconds since 1970) and `webhook-signature` (`v1,` and a base64 HMAC-SHA256). It is the Standard Webhooks scheme, so any of its libraries verifies it. By hand: take your secret without the `whsec_` prefix, decode it from base64, and sign the text `<webhook-id>.<webhook-timestamp>.<the raw body>` with it; the header holds `v1,<base64 of the result>` (two signatures separated by a space while a rotated secret overlaps). Reject a `webhook-timestamp` that is more than five minutes old. Answer with a 2xx status within ten seconds. Anything else is tried again, eight attempts in all over about two days (`listPartnerNotificationDeliveries` shows each). Delivery is at least once: if your answer was lost the same event arrives again with the same `id`, so drop what you have already handled by it. Changing the settings needs an API key with full access: they decide where your notifications go. The caller must be the person who administers the partner, or a Widgetic administrator.
|
|
1022
|
+
* Choose where your notifications go
|
|
1023
|
+
*/
|
|
1024
|
+
updatePartnerNotificationSettings(requestParameters, initOverrides) {
|
|
1025
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1026
|
+
const response = yield this.updatePartnerNotificationSettingsRaw(requestParameters, initOverrides);
|
|
1027
|
+
return yield response.value();
|
|
1028
|
+
});
|
|
1029
|
+
}
|
|
540
1030
|
/**
|
|
541
1031
|
* Runs the same check as `setPartnerStorageDestination` against the destination already saved: a test file is written, read back from the public address and deleted. Use it after rotating a key or changing a bucket policy, or when uploads are failing with 502 or 503. The result is recorded either way. A pass refreshes `verifiedAt` and clears `lastVerificationError`; a failure answers 422 `STORAGE_DESTINATION_UNVERIFIED` and is recorded in `lastVerificationError` and `lastVerificationFailedAt`, so the destination shows what went wrong the next time it is read. A failed check does not remove the destination or stop uploads from using it. The caller must be the person who administers the partner, or a Widgetic administrator.
|
|
542
1032
|
* Check that a partner\'s storage destination still works
|
|
@@ -14,9 +14,11 @@ import type { AddProjectMember201Response, AddProjectMemberRequest, CreateProjec
|
|
|
14
14
|
export interface AddProjectMemberOperationRequest {
|
|
15
15
|
projectId: string;
|
|
16
16
|
addProjectMemberRequest: AddProjectMemberRequest;
|
|
17
|
+
idempotencyKey?: string;
|
|
17
18
|
}
|
|
18
19
|
export interface CreateProjectOperationRequest {
|
|
19
20
|
createProjectRequest: CreateProjectRequest;
|
|
21
|
+
idempotencyKey?: string;
|
|
20
22
|
}
|
|
21
23
|
export interface DeleteProjectRequest {
|
|
22
24
|
projectId: string;
|
|
@@ -44,6 +46,7 @@ export interface RemoveProjectMemberRequest {
|
|
|
44
46
|
export interface UpdateProjectOperationRequest {
|
|
45
47
|
projectId: string;
|
|
46
48
|
updateProjectRequest: UpdateProjectRequest;
|
|
49
|
+
idempotencyKey?: string;
|
|
47
50
|
}
|
|
48
51
|
/**
|
|
49
52
|
*
|
package/dist/apis/ProjectsApi.js
CHANGED
|
@@ -44,6 +44,9 @@ class ProjectsApi extends runtime.BaseAPI {
|
|
|
44
44
|
const queryParameters = {};
|
|
45
45
|
const headerParameters = {};
|
|
46
46
|
headerParameters['Content-Type'] = 'application/json';
|
|
47
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
48
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
49
|
+
}
|
|
47
50
|
if (this.configuration && this.configuration.accessToken) {
|
|
48
51
|
const token = this.configuration.accessToken;
|
|
49
52
|
const tokenString = yield token("bearerAuth", []);
|
|
@@ -83,6 +86,9 @@ class ProjectsApi extends runtime.BaseAPI {
|
|
|
83
86
|
const queryParameters = {};
|
|
84
87
|
const headerParameters = {};
|
|
85
88
|
headerParameters['Content-Type'] = 'application/json';
|
|
89
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
90
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
91
|
+
}
|
|
86
92
|
if (this.configuration && this.configuration.accessToken) {
|
|
87
93
|
const token = this.configuration.accessToken;
|
|
88
94
|
const tokenString = yield token("bearerAuth", []);
|
|
@@ -393,6 +399,9 @@ class ProjectsApi extends runtime.BaseAPI {
|
|
|
393
399
|
const queryParameters = {};
|
|
394
400
|
const headerParameters = {};
|
|
395
401
|
headerParameters['Content-Type'] = 'application/json';
|
|
402
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
403
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
404
|
+
}
|
|
396
405
|
if (this.configuration && this.configuration.accessToken) {
|
|
397
406
|
const token = this.configuration.accessToken;
|
|
398
407
|
const tokenString = yield token("bearerAuth", []);
|