@widgetic/api-sdk 1.0.25 → 1.0.27
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/AdminApi.d.ts +20 -7
- package/dist/apis/AdminApi.js +43 -6
- package/dist/apis/AgentRepositoryManagementApi.d.ts +32 -0
- package/dist/apis/AgentRepositoryManagementApi.js +75 -0
- package/dist/apis/ManagedUsersApi.d.ts +2 -2
- package/dist/apis/ManagedUsersApi.js +2 -2
- package/dist/apis/PartnersApi.d.ts +6 -6
- package/dist/apis/PartnersApi.js +6 -6
- package/dist/apis/UIComponentsApi.d.ts +96 -0
- package/dist/apis/UIComponentsApi.js +209 -0
- package/dist/apis/UploadsApi.d.ts +2 -2
- package/dist/apis/UploadsApi.js +2 -2
- package/dist/apis/WorkflowsApi.d.ts +44 -0
- package/dist/apis/WorkflowsApi.js +111 -0
- package/dist/esm/apis/AdminApi.d.ts +20 -7
- package/dist/esm/apis/AdminApi.js +44 -7
- package/dist/esm/apis/AgentRepositoryManagementApi.d.ts +32 -0
- package/dist/esm/apis/AgentRepositoryManagementApi.js +71 -0
- package/dist/esm/apis/ManagedUsersApi.d.ts +2 -2
- package/dist/esm/apis/ManagedUsersApi.js +2 -2
- package/dist/esm/apis/PartnersApi.d.ts +6 -6
- package/dist/esm/apis/PartnersApi.js +6 -6
- package/dist/esm/apis/UIComponentsApi.d.ts +96 -0
- package/dist/esm/apis/UIComponentsApi.js +205 -0
- package/dist/esm/apis/UploadsApi.d.ts +2 -2
- package/dist/esm/apis/UploadsApi.js +2 -2
- package/dist/esm/apis/WorkflowsApi.d.ts +44 -0
- package/dist/esm/apis/WorkflowsApi.js +107 -0
- package/dist/esm/models/AgentRepositoriesRepoIdSyncPost202Response.d.ts +32 -0
- package/dist/esm/models/AgentRepositoriesRepoIdSyncPost202Response.js +41 -0
- package/dist/esm/models/AgentRepositoriesRepoIdSyncPostRequest.d.ts +32 -0
- package/dist/esm/models/AgentRepositoriesRepoIdSyncPostRequest.js +43 -0
- package/dist/esm/models/AgentTasksTaskIdStatusPutRequest.d.ts +54 -0
- package/dist/esm/models/AgentTasksTaskIdStatusPutRequest.js +60 -0
- package/dist/esm/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.d.ts +32 -0
- package/dist/esm/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.js +41 -0
- package/dist/esm/models/ApiV1AdminBillingGrantsPostRequest.d.ts +82 -0
- package/dist/esm/models/ApiV1AdminBillingGrantsPostRequest.js +79 -0
- package/dist/esm/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.d.ts +32 -0
- package/dist/esm/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.js +41 -0
- package/dist/esm/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +32 -0
- package/dist/esm/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +43 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200Response.js +44 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.d.ts +57 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.js +50 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.d.ts +68 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.js +53 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPostRequest.d.ts +70 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPostRequest.js +64 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200Response.d.ts +71 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200Response.js +59 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js +48 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPostRequest.d.ts +70 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPreviewPostRequest.js +62 -0
- package/dist/esm/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.d.ts +46 -0
- package/dist/esm/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.js +52 -0
- package/dist/esm/models/ApiV1BillingPricingGet200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1BillingPricingGet200Response.js +44 -0
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseData.d.ts +46 -0
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseData.js +47 -0
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataPlansInner.d.ts +68 -0
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataPlansInner.js +53 -0
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataTrial.d.ts +44 -0
- package/dist/esm/models/ApiV1BillingPricingGet200ResponseDataTrial.js +45 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200Response.js +44 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.d.ts +33 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.js +42 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.d.ts +68 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.js +53 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.js +44 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.d.ts +33 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.js +42 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +62 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.js +51 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.js +44 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.d.ts +32 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.js +41 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.js +44 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.d.ts +32 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.js +41 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.js +44 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.d.ts +33 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.js +42 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.d.ts +32 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.js +43 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.js +44 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.d.ts +50 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.js +47 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200Response.js +44 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.d.ts +32 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.js +41 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPostRequest.d.ts +32 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdPortalPostRequest.js +41 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.js +44 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.d.ts +32 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.js +41 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.d.ts +32 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.js +41 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.js +44 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.d.ts +120 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.js +76 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.js +44 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.d.ts +38 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.js +43 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.js +44 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.d.ts +38 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.js +43 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.d.ts +53 -0
- package/dist/esm/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.js +58 -0
- package/dist/esm/models/ApiV1MetricsGet200Response.d.ts +39 -0
- package/dist/esm/models/ApiV1MetricsGet200Response.js +44 -0
- package/dist/esm/models/ApiV1MetricsGet200ResponseData.d.ts +56 -0
- package/dist/esm/models/ApiV1MetricsGet200ResponseData.js +50 -0
- package/dist/esm/models/ApiV1MetricsGet200ResponseDataErrorsValue.d.ts +44 -0
- package/dist/esm/models/ApiV1MetricsGet200ResponseDataErrorsValue.js +45 -0
- package/dist/esm/models/ApiV1MetricsGet200ResponseDataLatencyValue.d.ts +50 -0
- package/dist/esm/models/ApiV1MetricsGet200ResponseDataLatencyValue.js +47 -0
- package/dist/esm/models/ApiV1MetricsLatencyGet200Response.d.ts +41 -0
- package/dist/esm/models/ApiV1MetricsLatencyGet200Response.js +45 -0
- package/dist/esm/models/ApiV1MetricsLatencyGet200ResponseDataValue.d.ts +62 -0
- package/dist/esm/models/ApiV1MetricsLatencyGet200ResponseDataValue.js +51 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.d.ts +71 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.js +59 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js +48 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.d.ts +38 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js +43 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.d.ts +44 -0
- package/dist/esm/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.js +45 -0
- package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.d.ts +38 -0
- package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.js +43 -0
- package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.d.ts +38 -0
- package/dist/esm/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.js +47 -0
- package/dist/esm/models/ComponentManifest.d.ts +52 -0
- package/dist/esm/models/ComponentManifest.js +49 -0
- package/dist/esm/models/ComponentManifestAssets.d.ts +38 -0
- package/dist/esm/models/ComponentManifestAssets.js +43 -0
- package/dist/esm/models/ComponentManifestConfig.d.ts +44 -0
- package/dist/esm/models/ComponentManifestConfig.js +45 -0
- package/dist/esm/models/CreatePartnerRequest.d.ts +2 -1
- package/dist/esm/models/DevelopmentPlan.d.ts +97 -0
- package/dist/esm/models/DevelopmentPlan.js +69 -0
- package/dist/esm/models/DevelopmentTask.d.ts +90 -0
- package/dist/esm/models/DevelopmentTask.js +66 -0
- package/dist/esm/models/GenerateComponentWorkflowInput.d.ts +56 -0
- package/dist/esm/models/GenerateComponentWorkflowInput.js +55 -0
- package/dist/esm/models/GenerateMixedComponentInput.d.ts +62 -0
- package/dist/esm/models/GenerateMixedComponentInput.js +59 -0
- package/dist/esm/models/GetCompositionsBatch200ResponseErrorsInner.d.ts +38 -0
- package/dist/esm/models/GetCompositionsBatch200ResponseErrorsInner.js +43 -0
- package/dist/esm/models/GetOrganizationStorageUsage200ResponseDataBreakdown.d.ts +44 -0
- package/dist/esm/models/GetOrganizationStorageUsage200ResponseDataBreakdown.js +45 -0
- package/dist/esm/models/ListComponents200Response.d.ts +33 -0
- package/dist/esm/models/ListComponents200Response.js +42 -0
- package/dist/esm/models/LoginUser200Response.d.ts +38 -0
- package/dist/esm/models/LoginUser200Response.js +43 -0
- package/dist/esm/models/MountRequest.d.ts +45 -0
- package/dist/esm/models/MountRequest.js +48 -0
- package/dist/esm/models/MountRequestTheme.d.ts +54 -0
- package/dist/esm/models/MountRequestTheme.js +54 -0
- package/dist/esm/models/MountRequestThemeColors.d.ts +50 -0
- package/dist/esm/models/MountRequestThemeColors.js +47 -0
- package/dist/esm/models/MountRequestThemeTypography.d.ts +38 -0
- package/dist/esm/models/MountRequestThemeTypography.js +43 -0
- package/dist/esm/models/MountResponse.d.ts +46 -0
- package/dist/esm/models/MountResponse.js +50 -0
- package/dist/esm/models/NewEditorSession.d.ts +1 -1
- package/dist/esm/models/NewWidgetComponentsMetadataInner.d.ts +64 -0
- package/dist/esm/models/NewWidgetComponentsMetadataInner.js +53 -0
- package/dist/esm/models/NewWidgetComponentsMetadataInnerPosition.d.ts +38 -0
- package/dist/esm/models/NewWidgetComponentsMetadataInnerPosition.js +43 -0
- package/dist/esm/models/NewWidgetComponentsMetadataInnerSize.d.ts +38 -0
- package/dist/esm/models/NewWidgetComponentsMetadataInnerSize.js +43 -0
- package/dist/esm/models/Partner.d.ts +1 -1
- package/dist/esm/models/PartnerActivation.d.ts +68 -0
- package/dist/esm/models/PartnerActivation.js +68 -0
- package/dist/esm/models/PartnerActivationRequirementsInner.d.ts +52 -0
- package/dist/esm/models/PartnerActivationRequirementsInner.js +58 -0
- package/dist/esm/models/PartnerDetails.d.ts +1 -1
- package/dist/esm/models/PartnerUpdateResult.d.ts +1 -1
- package/dist/esm/models/PartnerWithWarnings.d.ts +1 -1
- package/dist/esm/models/PurchaseStoragePack200ResponseDataPaymentIntent.d.ts +50 -0
- package/dist/esm/models/PurchaseStoragePack200ResponseDataPaymentIntent.js +47 -0
- package/dist/esm/models/RollbackComponent200Response.d.ts +38 -0
- package/dist/esm/models/RollbackComponent200Response.js +43 -0
- package/dist/esm/models/RollbackComponentRequest.d.ts +38 -0
- package/dist/esm/models/RollbackComponentRequest.js +45 -0
- package/dist/esm/models/UIComponent.d.ts +65 -0
- package/dist/esm/models/UIComponent.js +57 -0
- package/dist/esm/models/UpdateCompositionRequest.d.ts +68 -0
- package/dist/esm/models/UpdateCompositionRequest.js +53 -0
- package/dist/esm/models/WorkflowAcceptedResponse.d.ts +38 -0
- package/dist/esm/models/WorkflowAcceptedResponse.js +43 -0
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.js +2 -0
- package/dist/models/AgentRepositoriesRepoIdSyncPost202Response.d.ts +32 -0
- package/dist/models/AgentRepositoriesRepoIdSyncPost202Response.js +48 -0
- package/dist/models/AgentRepositoriesRepoIdSyncPostRequest.d.ts +32 -0
- package/dist/models/AgentRepositoriesRepoIdSyncPostRequest.js +50 -0
- package/dist/models/AgentTasksTaskIdStatusPutRequest.d.ts +54 -0
- package/dist/models/AgentTasksTaskIdStatusPutRequest.js +68 -0
- package/dist/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.d.ts +32 -0
- package/dist/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.js +48 -0
- package/dist/models/ApiV1AdminBillingGrantsPostRequest.d.ts +82 -0
- package/dist/models/ApiV1AdminBillingGrantsPostRequest.js +87 -0
- package/dist/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.d.ts +32 -0
- package/dist/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.js +48 -0
- package/dist/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +32 -0
- package/dist/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +50 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200Response.d.ts +39 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200Response.js +51 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.d.ts +57 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseData.js +57 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.d.ts +68 -0
- package/dist/models/ApiV1AdminBillingRefundsClawbacksGet200ResponseDataClawbacksInner.js +60 -0
- package/dist/models/ApiV1AdminBillingRefundsPostRequest.d.ts +70 -0
- package/dist/models/ApiV1AdminBillingRefundsPostRequest.js +72 -0
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200Response.d.ts +71 -0
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200Response.js +67 -0
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
- package/dist/models/ApiV1AdminBillingRefundsPreviewPost200ResponseOrganizationPreview.js +55 -0
- package/dist/models/ApiV1AdminBillingRefundsPreviewPostRequest.d.ts +70 -0
- package/dist/models/ApiV1AdminBillingRefundsPreviewPostRequest.js +70 -0
- package/dist/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.d.ts +46 -0
- package/dist/models/ApiV1AdminBillingSubscriptionsSubjectIdCancelPostRequest.js +60 -0
- package/dist/models/ApiV1BillingPricingGet200Response.d.ts +39 -0
- package/dist/models/ApiV1BillingPricingGet200Response.js +51 -0
- package/dist/models/ApiV1BillingPricingGet200ResponseData.d.ts +46 -0
- package/dist/models/ApiV1BillingPricingGet200ResponseData.js +54 -0
- package/dist/models/ApiV1BillingPricingGet200ResponseDataPlansInner.d.ts +68 -0
- package/dist/models/ApiV1BillingPricingGet200ResponseDataPlansInner.js +60 -0
- package/dist/models/ApiV1BillingPricingGet200ResponseDataTrial.d.ts +44 -0
- package/dist/models/ApiV1BillingPricingGet200ResponseDataTrial.js +52 -0
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200Response.d.ts +39 -0
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200Response.js +51 -0
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.d.ts +33 -0
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseData.js +49 -0
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.d.ts +68 -0
- package/dist/models/ApiV1BillingUsersUserIdInvoicesGet200ResponseDataInvoicesInner.js +60 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.d.ts +39 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200Response.js +51 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.d.ts +33 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseData.js +49 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.d.ts +62 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsGet200ResponseDataPaymentMethodsInner.js +58 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.d.ts +39 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200Response.js +51 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.d.ts +32 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDefaultPut200ResponseData.js +48 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.d.ts +39 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.js +51 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.d.ts +32 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.js +48 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.d.ts +39 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200Response.js +51 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.d.ts +33 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPost200ResponseData.js +49 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.d.ts +32 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsPostRequest.js +50 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.d.ts +39 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200Response.js +51 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.d.ts +50 -0
- package/dist/models/ApiV1BillingUsersUserIdPaymentMethodsSetupIntentPost200ResponseData.js +54 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200Response.d.ts +39 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200Response.js +51 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.d.ts +32 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPost200ResponseData.js +48 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPostRequest.d.ts +32 -0
- package/dist/models/ApiV1BillingUsersUserIdPortalPostRequest.js +48 -0
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.d.ts +39 -0
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200Response.js +51 -0
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.d.ts +32 -0
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPost200ResponseData.js +48 -0
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.d.ts +32 -0
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionCancelPostRequest.js +48 -0
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.d.ts +39 -0
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionGet200Response.js +51 -0
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.d.ts +120 -0
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionGet200ResponseData.js +84 -0
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.d.ts +39 -0
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPayPost200Response.js +51 -0
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.d.ts +38 -0
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPayPost200ResponseData.js +50 -0
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.d.ts +39 -0
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPost200Response.js +51 -0
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.d.ts +38 -0
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPost200ResponseData.js +50 -0
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.d.ts +53 -0
- package/dist/models/ApiV1BillingUsersUserIdSubscriptionPostRequest.js +66 -0
- package/dist/models/ApiV1MetricsGet200Response.d.ts +39 -0
- package/dist/models/ApiV1MetricsGet200Response.js +51 -0
- package/dist/models/ApiV1MetricsGet200ResponseData.d.ts +56 -0
- package/dist/models/ApiV1MetricsGet200ResponseData.js +57 -0
- package/dist/models/ApiV1MetricsGet200ResponseDataErrorsValue.d.ts +44 -0
- package/dist/models/ApiV1MetricsGet200ResponseDataErrorsValue.js +52 -0
- package/dist/models/ApiV1MetricsGet200ResponseDataLatencyValue.d.ts +50 -0
- package/dist/models/ApiV1MetricsGet200ResponseDataLatencyValue.js +54 -0
- package/dist/models/ApiV1MetricsLatencyGet200Response.d.ts +41 -0
- package/dist/models/ApiV1MetricsLatencyGet200Response.js +52 -0
- package/dist/models/ApiV1MetricsLatencyGet200ResponseDataValue.d.ts +62 -0
- package/dist/models/ApiV1MetricsLatencyGet200ResponseDataValue.js +58 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.d.ts +71 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200Response.js +67 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.d.ts +51 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreview.js +55 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.d.ts +38 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPost200ResponseOrganizationPreviewSharesInner.js +50 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.d.ts +44 -0
- package/dist/models/ApiV1SubscriptionsIdRefundPreviewPostRequest.js +52 -0
- package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.d.ts +38 -0
- package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPost202Response.js +50 -0
- package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.d.ts +38 -0
- package/dist/models/CanvasesCanvasIdComponentsComponentIdPublishPostRequest.js +54 -0
- package/dist/models/ComponentManifest.d.ts +52 -0
- package/dist/models/ComponentManifest.js +56 -0
- package/dist/models/ComponentManifestAssets.d.ts +38 -0
- package/dist/models/ComponentManifestAssets.js +50 -0
- package/dist/models/ComponentManifestConfig.d.ts +44 -0
- package/dist/models/ComponentManifestConfig.js +52 -0
- package/dist/models/CreatePartnerRequest.d.ts +2 -1
- package/dist/models/DevelopmentPlan.d.ts +97 -0
- package/dist/models/DevelopmentPlan.js +77 -0
- package/dist/models/DevelopmentTask.d.ts +90 -0
- package/dist/models/DevelopmentTask.js +74 -0
- package/dist/models/GenerateComponentWorkflowInput.d.ts +56 -0
- package/dist/models/GenerateComponentWorkflowInput.js +62 -0
- package/dist/models/GenerateMixedComponentInput.d.ts +62 -0
- package/dist/models/GenerateMixedComponentInput.js +66 -0
- package/dist/models/GetCompositionsBatch200ResponseErrorsInner.d.ts +38 -0
- package/dist/models/GetCompositionsBatch200ResponseErrorsInner.js +50 -0
- package/dist/models/GetOrganizationStorageUsage200ResponseDataBreakdown.d.ts +44 -0
- package/dist/models/GetOrganizationStorageUsage200ResponseDataBreakdown.js +52 -0
- package/dist/models/ListComponents200Response.d.ts +33 -0
- package/dist/models/ListComponents200Response.js +49 -0
- package/dist/models/LoginUser200Response.d.ts +38 -0
- package/dist/models/LoginUser200Response.js +50 -0
- package/dist/models/MountRequest.d.ts +45 -0
- package/dist/models/MountRequest.js +55 -0
- package/dist/models/MountRequestTheme.d.ts +54 -0
- package/dist/models/MountRequestTheme.js +62 -0
- package/dist/models/MountRequestThemeColors.d.ts +50 -0
- package/dist/models/MountRequestThemeColors.js +54 -0
- package/dist/models/MountRequestThemeTypography.d.ts +38 -0
- package/dist/models/MountRequestThemeTypography.js +50 -0
- package/dist/models/MountResponse.d.ts +46 -0
- package/dist/models/MountResponse.js +58 -0
- package/dist/models/NewEditorSession.d.ts +1 -1
- package/dist/models/NewWidgetComponentsMetadataInner.d.ts +64 -0
- package/dist/models/NewWidgetComponentsMetadataInner.js +60 -0
- package/dist/models/NewWidgetComponentsMetadataInnerPosition.d.ts +38 -0
- package/dist/models/NewWidgetComponentsMetadataInnerPosition.js +50 -0
- package/dist/models/NewWidgetComponentsMetadataInnerSize.d.ts +38 -0
- package/dist/models/NewWidgetComponentsMetadataInnerSize.js +50 -0
- package/dist/models/Partner.d.ts +1 -1
- package/dist/models/PartnerActivation.d.ts +68 -0
- package/dist/models/PartnerActivation.js +76 -0
- package/dist/models/PartnerActivationRequirementsInner.d.ts +52 -0
- package/dist/models/PartnerActivationRequirementsInner.js +66 -0
- package/dist/models/PartnerDetails.d.ts +1 -1
- package/dist/models/PartnerUpdateResult.d.ts +1 -1
- package/dist/models/PartnerWithWarnings.d.ts +1 -1
- package/dist/models/PurchaseStoragePack200ResponseDataPaymentIntent.d.ts +50 -0
- package/dist/models/PurchaseStoragePack200ResponseDataPaymentIntent.js +54 -0
- package/dist/models/RollbackComponent200Response.d.ts +38 -0
- package/dist/models/RollbackComponent200Response.js +50 -0
- package/dist/models/RollbackComponentRequest.d.ts +38 -0
- package/dist/models/RollbackComponentRequest.js +52 -0
- package/dist/models/UIComponent.d.ts +65 -0
- package/dist/models/UIComponent.js +65 -0
- package/dist/models/UpdateCompositionRequest.d.ts +68 -0
- package/dist/models/UpdateCompositionRequest.js +60 -0
- package/dist/models/WorkflowAcceptedResponse.d.ts +38 -0
- package/dist/models/WorkflowAcceptedResponse.js +50 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/package.json +1 -1
|
@@ -134,12 +134,12 @@ export declare class PartnersApi extends runtime.BaseAPI {
|
|
|
134
134
|
*/
|
|
135
135
|
getPartnerCreditTransactions(requestParameters: GetPartnerCreditTransactionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
136
136
|
/**
|
|
137
|
-
* 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
|
|
137
|
+
* 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.
|
|
138
138
|
* Get where a partner\'s uploaded files are stored
|
|
139
139
|
*/
|
|
140
140
|
getPartnerStorageDestinationRaw(requestParameters: GetPartnerStorageDestinationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PartnerStorageDestination>>;
|
|
141
141
|
/**
|
|
142
|
-
* 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
|
|
142
|
+
* 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.
|
|
143
143
|
* Get where a partner\'s uploaded files are stored
|
|
144
144
|
*/
|
|
145
145
|
getPartnerStorageDestination(requestParameters: GetPartnerStorageDestinationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PartnerStorageDestination>;
|
|
@@ -164,12 +164,12 @@ export declare class PartnersApi extends runtime.BaseAPI {
|
|
|
164
164
|
*/
|
|
165
165
|
removePartnerPreset(requestParameters: RemovePartnerPresetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PartnerPresetRemoval>;
|
|
166
166
|
/**
|
|
167
|
-
* Removes the partner\'s storage destination.
|
|
167
|
+
* Removes the partner\'s storage destination. Partner storage is not optional, so after this the account\'s own uploads with its API key and the uploads of your customers\' editor sessions are refused (409 `PARTNER_STORAGE_REQUIRED`) until a destination is set again, and no editor session can be made. Files already in the partner\'s bucket are not touched and are not moved: they stay where they are, at the addresses they were given. Removing a destination the partner does not have is not an error: the answer is `removed: false`. The caller must be the person who administers the partner, or a Widgetic administrator.
|
|
168
168
|
* Stop storing a partner\'s uploaded files in its own bucket
|
|
169
169
|
*/
|
|
170
170
|
removePartnerStorageDestinationRaw(requestParameters: RemovePartnerStorageDestinationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PartnerStorageRemoval>>;
|
|
171
171
|
/**
|
|
172
|
-
* Removes the partner\'s storage destination.
|
|
172
|
+
* Removes the partner\'s storage destination. Partner storage is not optional, so after this the account\'s own uploads with its API key and the uploads of your customers\' editor sessions are refused (409 `PARTNER_STORAGE_REQUIRED`) until a destination is set again, and no editor session can be made. Files already in the partner\'s bucket are not touched and are not moved: they stay where they are, at the addresses they were given. Removing a destination the partner does not have is not an error: the answer is `removed: false`. The caller must be the person who administers the partner, or a Widgetic administrator.
|
|
173
173
|
* Stop storing a partner\'s uploaded files in its own bucket
|
|
174
174
|
*/
|
|
175
175
|
removePartnerStorageDestination(requestParameters: RemovePartnerStorageDestinationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PartnerStorageRemoval>;
|
|
@@ -184,12 +184,12 @@ export declare class PartnersApi extends runtime.BaseAPI {
|
|
|
184
184
|
*/
|
|
185
185
|
setPartnerPreset(requestParameters: SetPartnerPresetOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PartnerPreset>;
|
|
186
186
|
/**
|
|
187
|
-
* Points the partner at a bucket of its own on an S3-compatible service (Amazon S3, Backblaze B2, Cloudflare R2, Wasabi, MinIO and the like). From then on, a file uploaded with `uploadsPost` by the account that administers the partner is stored in that bucket instead of with Widgetic. It takes none of the account\'s storage allowance, and its `url` is served from `public_base_url`. Only uploads sent with an API key, an SDK token or an editor session use the destination. Uploads from the Widgetic website, resumable uploads and the media library keep using Widgetic\'s storage. A destination is required
|
|
187
|
+
* Points the partner at a bucket of its own on an S3-compatible service (Amazon S3, Backblaze B2, Cloudflare R2, Wasabi, MinIO and the like). From then on, a file uploaded with `uploadsPost` by the account that administers the partner is stored in that bucket instead of with Widgetic. It takes none of the account\'s storage allowance, and its `url` is served from `public_base_url`. Only uploads sent with an API key, an SDK token or an editor session use the destination. Uploads from the Widgetic website, resumable uploads and the media library keep using Widgetic\'s storage. A destination is required. Partner storage is not optional: your customers\' files, and your own uploads with your API key, are kept in this destination and nowhere else. An editor session (`createManagedUserEditorSession`) of any surface cannot be made until a destination is set (409 `PARTNER_STORAGE_REQUIRED`), a destination removed later stops the uploads of the sessions already made (the same 409), and your own upload with no destination is refused in the same way instead of being stored with Widgetic. A partner cannot be activated until it has a destination that works. The destination is checked before it is saved. Widgetic writes a small test file under `<key_prefix>widgetic-check/`, reads it back from `<public_base_url>/<its key>`, and deletes it. If any step fails nothing is saved and the answer is 422 `STORAGE_DESTINATION_UNVERIFIED`: `details.step` says where (`endpoint`, `write` or `public_read`), `details.reason` says why, and `param` names the field most likely to be wrong. What the bucket needs: - an access key that may put objects into it (it may also delete objects, which lets the test file be cleaned up, but that is not required); - its files publicly readable at `public_base_url`, either because the bucket is public or through a CDN. The secret access key is stored encrypted and is never returned or logged; a response shows only the last four characters of the access key id (`accessKeyHint`). Saving replaces the whole destination, so send every field again, including the secret. Files already stored stay where they are, and keep working for as long as that bucket stays publicly readable. Once a destination is set, an upload is never stored with Widgetic instead: when the destination cannot be used the upload is refused with 503 `STORAGE_DESTINATION_UNAVAILABLE`, and when the bucket rejects the file with 502 `STORAGE_DESTINATION_WRITE_FAILED`. The caller must be the person who administers the partner (an API key of that account works); anyone else is refused with 403 whether or not the partner exists. Widgetic administrators can set any partner\'s.
|
|
188
188
|
* Set where a partner\'s uploaded files are stored
|
|
189
189
|
*/
|
|
190
190
|
setPartnerStorageDestinationRaw(requestParameters: SetPartnerStorageDestinationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PartnerStorageDestination>>;
|
|
191
191
|
/**
|
|
192
|
-
* Points the partner at a bucket of its own on an S3-compatible service (Amazon S3, Backblaze B2, Cloudflare R2, Wasabi, MinIO and the like). From then on, a file uploaded with `uploadsPost` by the account that administers the partner is stored in that bucket instead of with Widgetic. It takes none of the account\'s storage allowance, and its `url` is served from `public_base_url`. Only uploads sent with an API key, an SDK token or an editor session use the destination. Uploads from the Widgetic website, resumable uploads and the media library keep using Widgetic\'s storage. A destination is required
|
|
192
|
+
* Points the partner at a bucket of its own on an S3-compatible service (Amazon S3, Backblaze B2, Cloudflare R2, Wasabi, MinIO and the like). From then on, a file uploaded with `uploadsPost` by the account that administers the partner is stored in that bucket instead of with Widgetic. It takes none of the account\'s storage allowance, and its `url` is served from `public_base_url`. Only uploads sent with an API key, an SDK token or an editor session use the destination. Uploads from the Widgetic website, resumable uploads and the media library keep using Widgetic\'s storage. A destination is required. Partner storage is not optional: your customers\' files, and your own uploads with your API key, are kept in this destination and nowhere else. An editor session (`createManagedUserEditorSession`) of any surface cannot be made until a destination is set (409 `PARTNER_STORAGE_REQUIRED`), a destination removed later stops the uploads of the sessions already made (the same 409), and your own upload with no destination is refused in the same way instead of being stored with Widgetic. A partner cannot be activated until it has a destination that works. The destination is checked before it is saved. Widgetic writes a small test file under `<key_prefix>widgetic-check/`, reads it back from `<public_base_url>/<its key>`, and deletes it. If any step fails nothing is saved and the answer is 422 `STORAGE_DESTINATION_UNVERIFIED`: `details.step` says where (`endpoint`, `write` or `public_read`), `details.reason` says why, and `param` names the field most likely to be wrong. What the bucket needs: - an access key that may put objects into it (it may also delete objects, which lets the test file be cleaned up, but that is not required); - its files publicly readable at `public_base_url`, either because the bucket is public or through a CDN. The secret access key is stored encrypted and is never returned or logged; a response shows only the last four characters of the access key id (`accessKeyHint`). Saving replaces the whole destination, so send every field again, including the secret. Files already stored stay where they are, and keep working for as long as that bucket stays publicly readable. Once a destination is set, an upload is never stored with Widgetic instead: when the destination cannot be used the upload is refused with 503 `STORAGE_DESTINATION_UNAVAILABLE`, and when the bucket rejects the file with 502 `STORAGE_DESTINATION_WRITE_FAILED`. The caller must be the person who administers the partner (an API key of that account works); anyone else is refused with 403 whether or not the partner exists. Widgetic administrators can set any partner\'s.
|
|
193
193
|
* Set where a partner\'s uploaded files are stored
|
|
194
194
|
*/
|
|
195
195
|
setPartnerStorageDestination(requestParameters: SetPartnerStorageDestinationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PartnerStorageDestination>;
|
package/dist/apis/PartnersApi.js
CHANGED
|
@@ -300,7 +300,7 @@ class PartnersApi extends runtime.BaseAPI {
|
|
|
300
300
|
});
|
|
301
301
|
}
|
|
302
302
|
/**
|
|
303
|
-
* 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
|
|
303
|
+
* 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
304
|
* Get where a partner\'s uploaded files are stored
|
|
305
305
|
*/
|
|
306
306
|
getPartnerStorageDestinationRaw(requestParameters, initOverrides) {
|
|
@@ -327,7 +327,7 @@ class PartnersApi extends runtime.BaseAPI {
|
|
|
327
327
|
});
|
|
328
328
|
}
|
|
329
329
|
/**
|
|
330
|
-
* 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
|
|
330
|
+
* 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.
|
|
331
331
|
* Get where a partner\'s uploaded files are stored
|
|
332
332
|
*/
|
|
333
333
|
getPartnerStorageDestination(requestParameters, initOverrides) {
|
|
@@ -414,7 +414,7 @@ class PartnersApi extends runtime.BaseAPI {
|
|
|
414
414
|
});
|
|
415
415
|
}
|
|
416
416
|
/**
|
|
417
|
-
* Removes the partner\'s storage destination.
|
|
417
|
+
* Removes the partner\'s storage destination. Partner storage is not optional, so after this the account\'s own uploads with its API key and the uploads of your customers\' editor sessions are refused (409 `PARTNER_STORAGE_REQUIRED`) until a destination is set again, and no editor session can be made. Files already in the partner\'s bucket are not touched and are not moved: they stay where they are, at the addresses they were given. Removing a destination the partner does not have is not an error: the answer is `removed: false`. The caller must be the person who administers the partner, or a Widgetic administrator.
|
|
418
418
|
* Stop storing a partner\'s uploaded files in its own bucket
|
|
419
419
|
*/
|
|
420
420
|
removePartnerStorageDestinationRaw(requestParameters, initOverrides) {
|
|
@@ -441,7 +441,7 @@ class PartnersApi extends runtime.BaseAPI {
|
|
|
441
441
|
});
|
|
442
442
|
}
|
|
443
443
|
/**
|
|
444
|
-
* Removes the partner\'s storage destination.
|
|
444
|
+
* Removes the partner\'s storage destination. Partner storage is not optional, so after this the account\'s own uploads with its API key and the uploads of your customers\' editor sessions are refused (409 `PARTNER_STORAGE_REQUIRED`) until a destination is set again, and no editor session can be made. Files already in the partner\'s bucket are not touched and are not moved: they stay where they are, at the addresses they were given. Removing a destination the partner does not have is not an error: the answer is `removed: false`. The caller must be the person who administers the partner, or a Widgetic administrator.
|
|
445
445
|
* Stop storing a partner\'s uploaded files in its own bucket
|
|
446
446
|
*/
|
|
447
447
|
removePartnerStorageDestination(requestParameters, initOverrides) {
|
|
@@ -496,7 +496,7 @@ class PartnersApi extends runtime.BaseAPI {
|
|
|
496
496
|
});
|
|
497
497
|
}
|
|
498
498
|
/**
|
|
499
|
-
* Points the partner at a bucket of its own on an S3-compatible service (Amazon S3, Backblaze B2, Cloudflare R2, Wasabi, MinIO and the like). From then on, a file uploaded with `uploadsPost` by the account that administers the partner is stored in that bucket instead of with Widgetic. It takes none of the account\'s storage allowance, and its `url` is served from `public_base_url`. Only uploads sent with an API key, an SDK token or an editor session use the destination. Uploads from the Widgetic website, resumable uploads and the media library keep using Widgetic\'s storage. A destination is required
|
|
499
|
+
* Points the partner at a bucket of its own on an S3-compatible service (Amazon S3, Backblaze B2, Cloudflare R2, Wasabi, MinIO and the like). From then on, a file uploaded with `uploadsPost` by the account that administers the partner is stored in that bucket instead of with Widgetic. It takes none of the account\'s storage allowance, and its `url` is served from `public_base_url`. Only uploads sent with an API key, an SDK token or an editor session use the destination. Uploads from the Widgetic website, resumable uploads and the media library keep using Widgetic\'s storage. A destination is required. Partner storage is not optional: your customers\' files, and your own uploads with your API key, are kept in this destination and nowhere else. An editor session (`createManagedUserEditorSession`) of any surface cannot be made until a destination is set (409 `PARTNER_STORAGE_REQUIRED`), a destination removed later stops the uploads of the sessions already made (the same 409), and your own upload with no destination is refused in the same way instead of being stored with Widgetic. A partner cannot be activated until it has a destination that works. The destination is checked before it is saved. Widgetic writes a small test file under `<key_prefix>widgetic-check/`, reads it back from `<public_base_url>/<its key>`, and deletes it. If any step fails nothing is saved and the answer is 422 `STORAGE_DESTINATION_UNVERIFIED`: `details.step` says where (`endpoint`, `write` or `public_read`), `details.reason` says why, and `param` names the field most likely to be wrong. What the bucket needs: - an access key that may put objects into it (it may also delete objects, which lets the test file be cleaned up, but that is not required); - its files publicly readable at `public_base_url`, either because the bucket is public or through a CDN. The secret access key is stored encrypted and is never returned or logged; a response shows only the last four characters of the access key id (`accessKeyHint`). Saving replaces the whole destination, so send every field again, including the secret. Files already stored stay where they are, and keep working for as long as that bucket stays publicly readable. Once a destination is set, an upload is never stored with Widgetic instead: when the destination cannot be used the upload is refused with 503 `STORAGE_DESTINATION_UNAVAILABLE`, and when the bucket rejects the file with 502 `STORAGE_DESTINATION_WRITE_FAILED`. The caller must be the person who administers the partner (an API key of that account works); anyone else is refused with 403 whether or not the partner exists. Widgetic administrators can set any partner\'s.
|
|
500
500
|
* Set where a partner\'s uploaded files are stored
|
|
501
501
|
*/
|
|
502
502
|
setPartnerStorageDestinationRaw(requestParameters, initOverrides) {
|
|
@@ -528,7 +528,7 @@ class PartnersApi extends runtime.BaseAPI {
|
|
|
528
528
|
});
|
|
529
529
|
}
|
|
530
530
|
/**
|
|
531
|
-
* Points the partner at a bucket of its own on an S3-compatible service (Amazon S3, Backblaze B2, Cloudflare R2, Wasabi, MinIO and the like). From then on, a file uploaded with `uploadsPost` by the account that administers the partner is stored in that bucket instead of with Widgetic. It takes none of the account\'s storage allowance, and its `url` is served from `public_base_url`. Only uploads sent with an API key, an SDK token or an editor session use the destination. Uploads from the Widgetic website, resumable uploads and the media library keep using Widgetic\'s storage. A destination is required
|
|
531
|
+
* Points the partner at a bucket of its own on an S3-compatible service (Amazon S3, Backblaze B2, Cloudflare R2, Wasabi, MinIO and the like). From then on, a file uploaded with `uploadsPost` by the account that administers the partner is stored in that bucket instead of with Widgetic. It takes none of the account\'s storage allowance, and its `url` is served from `public_base_url`. Only uploads sent with an API key, an SDK token or an editor session use the destination. Uploads from the Widgetic website, resumable uploads and the media library keep using Widgetic\'s storage. A destination is required. Partner storage is not optional: your customers\' files, and your own uploads with your API key, are kept in this destination and nowhere else. An editor session (`createManagedUserEditorSession`) of any surface cannot be made until a destination is set (409 `PARTNER_STORAGE_REQUIRED`), a destination removed later stops the uploads of the sessions already made (the same 409), and your own upload with no destination is refused in the same way instead of being stored with Widgetic. A partner cannot be activated until it has a destination that works. The destination is checked before it is saved. Widgetic writes a small test file under `<key_prefix>widgetic-check/`, reads it back from `<public_base_url>/<its key>`, and deletes it. If any step fails nothing is saved and the answer is 422 `STORAGE_DESTINATION_UNVERIFIED`: `details.step` says where (`endpoint`, `write` or `public_read`), `details.reason` says why, and `param` names the field most likely to be wrong. What the bucket needs: - an access key that may put objects into it (it may also delete objects, which lets the test file be cleaned up, but that is not required); - its files publicly readable at `public_base_url`, either because the bucket is public or through a CDN. The secret access key is stored encrypted and is never returned or logged; a response shows only the last four characters of the access key id (`accessKeyHint`). Saving replaces the whole destination, so send every field again, including the secret. Files already stored stay where they are, and keep working for as long as that bucket stays publicly readable. Once a destination is set, an upload is never stored with Widgetic instead: when the destination cannot be used the upload is refused with 503 `STORAGE_DESTINATION_UNAVAILABLE`, and when the bucket rejects the file with 502 `STORAGE_DESTINATION_WRITE_FAILED`. The caller must be the person who administers the partner (an API key of that account works); anyone else is refused with 403 whether or not the partner exists. Widgetic administrators can set any partner\'s.
|
|
532
532
|
* Set where a partner\'s uploaded files are stored
|
|
533
533
|
*/
|
|
534
534
|
setPartnerStorageDestination(requestParameters, initOverrides) {
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Widgetic API Gateway
|
|
3
|
+
* API documentation for the Widgetic API Gateway
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { ComponentManifest, ListComponents200Response, MountRequest, MountResponse } from '../models/index';
|
|
14
|
+
export interface GetComponentManifestRequest {
|
|
15
|
+
componentId: GetComponentManifestComponentIdEnum;
|
|
16
|
+
}
|
|
17
|
+
export interface MountComponentRequest {
|
|
18
|
+
componentId: MountComponentComponentIdEnum;
|
|
19
|
+
mountRequest: MountRequest;
|
|
20
|
+
}
|
|
21
|
+
export interface UnmountComponentRequest {
|
|
22
|
+
componentId: UnmountComponentComponentIdEnum;
|
|
23
|
+
instanceId: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class UIComponentsApi extends runtime.BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
* Get component manifest with configuration and dependencies
|
|
31
|
+
* Get Component Manifest
|
|
32
|
+
*/
|
|
33
|
+
getComponentManifestRaw(requestParameters: GetComponentManifestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ComponentManifest>>;
|
|
34
|
+
/**
|
|
35
|
+
* Get component manifest with configuration and dependencies
|
|
36
|
+
* Get Component Manifest
|
|
37
|
+
*/
|
|
38
|
+
getComponentManifest(requestParameters: GetComponentManifestRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ComponentManifest>;
|
|
39
|
+
/**
|
|
40
|
+
* List available UI components for partner
|
|
41
|
+
* List UI Components
|
|
42
|
+
*/
|
|
43
|
+
listComponentsRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ListComponents200Response>>;
|
|
44
|
+
/**
|
|
45
|
+
* List available UI components for partner
|
|
46
|
+
* List UI Components
|
|
47
|
+
*/
|
|
48
|
+
listComponents(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ListComponents200Response>;
|
|
49
|
+
/**
|
|
50
|
+
* Initialize and mount a UI component
|
|
51
|
+
* Mount Component
|
|
52
|
+
*/
|
|
53
|
+
mountComponentRaw(requestParameters: MountComponentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<MountResponse>>;
|
|
54
|
+
/**
|
|
55
|
+
* Initialize and mount a UI component
|
|
56
|
+
* Mount Component
|
|
57
|
+
*/
|
|
58
|
+
mountComponent(requestParameters: MountComponentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<MountResponse>;
|
|
59
|
+
/**
|
|
60
|
+
* Cleanup and unmount a UI component instance
|
|
61
|
+
* Unmount Component
|
|
62
|
+
*/
|
|
63
|
+
unmountComponentRaw(requestParameters: UnmountComponentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
64
|
+
/**
|
|
65
|
+
* Cleanup and unmount a UI component instance
|
|
66
|
+
* Unmount Component
|
|
67
|
+
*/
|
|
68
|
+
unmountComponent(requestParameters: UnmountComponentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* @export
|
|
72
|
+
*/
|
|
73
|
+
export declare const GetComponentManifestComponentIdEnum: {
|
|
74
|
+
readonly WidgetCreator: "widget-creator";
|
|
75
|
+
readonly CompositionEditor: "composition-editor";
|
|
76
|
+
readonly EmbedEditor: "embed-editor";
|
|
77
|
+
};
|
|
78
|
+
export type GetComponentManifestComponentIdEnum = typeof GetComponentManifestComponentIdEnum[keyof typeof GetComponentManifestComponentIdEnum];
|
|
79
|
+
/**
|
|
80
|
+
* @export
|
|
81
|
+
*/
|
|
82
|
+
export declare const MountComponentComponentIdEnum: {
|
|
83
|
+
readonly WidgetCreator: "widget-creator";
|
|
84
|
+
readonly CompositionEditor: "composition-editor";
|
|
85
|
+
readonly EmbedEditor: "embed-editor";
|
|
86
|
+
};
|
|
87
|
+
export type MountComponentComponentIdEnum = typeof MountComponentComponentIdEnum[keyof typeof MountComponentComponentIdEnum];
|
|
88
|
+
/**
|
|
89
|
+
* @export
|
|
90
|
+
*/
|
|
91
|
+
export declare const UnmountComponentComponentIdEnum: {
|
|
92
|
+
readonly WidgetCreator: "widget-creator";
|
|
93
|
+
readonly CompositionEditor: "composition-editor";
|
|
94
|
+
readonly EmbedEditor: "embed-editor";
|
|
95
|
+
};
|
|
96
|
+
export type UnmountComponentComponentIdEnum = typeof UnmountComponentComponentIdEnum[keyof typeof UnmountComponentComponentIdEnum];
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Widgetic API Gateway
|
|
6
|
+
* API documentation for the Widgetic API Gateway
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
16
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
17
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
18
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
19
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
20
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
21
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
+
exports.UnmountComponentComponentIdEnum = exports.MountComponentComponentIdEnum = exports.GetComponentManifestComponentIdEnum = exports.UIComponentsApi = void 0;
|
|
26
|
+
const runtime = require("../runtime");
|
|
27
|
+
const index_1 = require("../models/index");
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
*/
|
|
31
|
+
class UIComponentsApi extends runtime.BaseAPI {
|
|
32
|
+
/**
|
|
33
|
+
* Get component manifest with configuration and dependencies
|
|
34
|
+
* Get Component Manifest
|
|
35
|
+
*/
|
|
36
|
+
getComponentManifestRaw(requestParameters, initOverrides) {
|
|
37
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
38
|
+
if (requestParameters['componentId'] == null) {
|
|
39
|
+
throw new runtime.RequiredError('componentId', 'Required parameter "componentId" was null or undefined when calling getComponentManifest().');
|
|
40
|
+
}
|
|
41
|
+
const queryParameters = {};
|
|
42
|
+
const headerParameters = {};
|
|
43
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
44
|
+
const token = this.configuration.accessToken;
|
|
45
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
46
|
+
if (tokenString) {
|
|
47
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
const response = yield this.request({
|
|
51
|
+
path: `/ui/components/{componentId}/manifest`.replace(`{${"componentId"}}`, encodeURIComponent(String(requestParameters['componentId']))),
|
|
52
|
+
method: 'GET',
|
|
53
|
+
headers: headerParameters,
|
|
54
|
+
query: queryParameters,
|
|
55
|
+
}, initOverrides);
|
|
56
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ComponentManifestFromJSON)(jsonValue));
|
|
57
|
+
});
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Get component manifest with configuration and dependencies
|
|
61
|
+
* Get Component Manifest
|
|
62
|
+
*/
|
|
63
|
+
getComponentManifest(requestParameters, initOverrides) {
|
|
64
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
65
|
+
const response = yield this.getComponentManifestRaw(requestParameters, initOverrides);
|
|
66
|
+
return yield response.value();
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* List available UI components for partner
|
|
71
|
+
* List UI Components
|
|
72
|
+
*/
|
|
73
|
+
listComponentsRaw(initOverrides) {
|
|
74
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
75
|
+
const queryParameters = {};
|
|
76
|
+
const headerParameters = {};
|
|
77
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
78
|
+
const token = this.configuration.accessToken;
|
|
79
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
80
|
+
if (tokenString) {
|
|
81
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
const response = yield this.request({
|
|
85
|
+
path: `/ui/components`,
|
|
86
|
+
method: 'GET',
|
|
87
|
+
headers: headerParameters,
|
|
88
|
+
query: queryParameters,
|
|
89
|
+
}, initOverrides);
|
|
90
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ListComponents200ResponseFromJSON)(jsonValue));
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* List available UI components for partner
|
|
95
|
+
* List UI Components
|
|
96
|
+
*/
|
|
97
|
+
listComponents(initOverrides) {
|
|
98
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
99
|
+
const response = yield this.listComponentsRaw(initOverrides);
|
|
100
|
+
return yield response.value();
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* Initialize and mount a UI component
|
|
105
|
+
* Mount Component
|
|
106
|
+
*/
|
|
107
|
+
mountComponentRaw(requestParameters, initOverrides) {
|
|
108
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
109
|
+
if (requestParameters['componentId'] == null) {
|
|
110
|
+
throw new runtime.RequiredError('componentId', 'Required parameter "componentId" was null or undefined when calling mountComponent().');
|
|
111
|
+
}
|
|
112
|
+
if (requestParameters['mountRequest'] == null) {
|
|
113
|
+
throw new runtime.RequiredError('mountRequest', 'Required parameter "mountRequest" was null or undefined when calling mountComponent().');
|
|
114
|
+
}
|
|
115
|
+
const queryParameters = {};
|
|
116
|
+
const headerParameters = {};
|
|
117
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
118
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
119
|
+
const token = this.configuration.accessToken;
|
|
120
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
121
|
+
if (tokenString) {
|
|
122
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
const response = yield this.request({
|
|
126
|
+
path: `/ui/components/{componentId}/mount`.replace(`{${"componentId"}}`, encodeURIComponent(String(requestParameters['componentId']))),
|
|
127
|
+
method: 'POST',
|
|
128
|
+
headers: headerParameters,
|
|
129
|
+
query: queryParameters,
|
|
130
|
+
body: (0, index_1.MountRequestToJSON)(requestParameters['mountRequest']),
|
|
131
|
+
}, initOverrides);
|
|
132
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.MountResponseFromJSON)(jsonValue));
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Initialize and mount a UI component
|
|
137
|
+
* Mount Component
|
|
138
|
+
*/
|
|
139
|
+
mountComponent(requestParameters, initOverrides) {
|
|
140
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
141
|
+
const response = yield this.mountComponentRaw(requestParameters, initOverrides);
|
|
142
|
+
return yield response.value();
|
|
143
|
+
});
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Cleanup and unmount a UI component instance
|
|
147
|
+
* Unmount Component
|
|
148
|
+
*/
|
|
149
|
+
unmountComponentRaw(requestParameters, initOverrides) {
|
|
150
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
151
|
+
if (requestParameters['componentId'] == null) {
|
|
152
|
+
throw new runtime.RequiredError('componentId', 'Required parameter "componentId" was null or undefined when calling unmountComponent().');
|
|
153
|
+
}
|
|
154
|
+
if (requestParameters['instanceId'] == null) {
|
|
155
|
+
throw new runtime.RequiredError('instanceId', 'Required parameter "instanceId" was null or undefined when calling unmountComponent().');
|
|
156
|
+
}
|
|
157
|
+
const queryParameters = {};
|
|
158
|
+
const headerParameters = {};
|
|
159
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
160
|
+
const token = this.configuration.accessToken;
|
|
161
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
162
|
+
if (tokenString) {
|
|
163
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
const response = yield this.request({
|
|
167
|
+
path: `/ui/components/{componentId}/{instanceId}`.replace(`{${"componentId"}}`, encodeURIComponent(String(requestParameters['componentId']))).replace(`{${"instanceId"}}`, encodeURIComponent(String(requestParameters['instanceId']))),
|
|
168
|
+
method: 'DELETE',
|
|
169
|
+
headers: headerParameters,
|
|
170
|
+
query: queryParameters,
|
|
171
|
+
}, initOverrides);
|
|
172
|
+
return new runtime.VoidApiResponse(response);
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
/**
|
|
176
|
+
* Cleanup and unmount a UI component instance
|
|
177
|
+
* Unmount Component
|
|
178
|
+
*/
|
|
179
|
+
unmountComponent(requestParameters, initOverrides) {
|
|
180
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
181
|
+
yield this.unmountComponentRaw(requestParameters, initOverrides);
|
|
182
|
+
});
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
exports.UIComponentsApi = UIComponentsApi;
|
|
186
|
+
/**
|
|
187
|
+
* @export
|
|
188
|
+
*/
|
|
189
|
+
exports.GetComponentManifestComponentIdEnum = {
|
|
190
|
+
WidgetCreator: 'widget-creator',
|
|
191
|
+
CompositionEditor: 'composition-editor',
|
|
192
|
+
EmbedEditor: 'embed-editor'
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* @export
|
|
196
|
+
*/
|
|
197
|
+
exports.MountComponentComponentIdEnum = {
|
|
198
|
+
WidgetCreator: 'widget-creator',
|
|
199
|
+
CompositionEditor: 'composition-editor',
|
|
200
|
+
EmbedEditor: 'embed-editor'
|
|
201
|
+
};
|
|
202
|
+
/**
|
|
203
|
+
* @export
|
|
204
|
+
*/
|
|
205
|
+
exports.UnmountComponentComponentIdEnum = {
|
|
206
|
+
WidgetCreator: 'widget-creator',
|
|
207
|
+
CompositionEditor: 'composition-editor',
|
|
208
|
+
EmbedEditor: 'embed-editor'
|
|
209
|
+
};
|
|
@@ -64,12 +64,12 @@ export declare class UploadsApi extends runtime.BaseAPI {
|
|
|
64
64
|
*/
|
|
65
65
|
uploadsLimitsGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UploadLimits>;
|
|
66
66
|
/**
|
|
67
|
-
* Stores one file for the account and returns its public address. This is how a user\'s own images, video and PDFs reach a widget\'s content. Send a `multipart/form-data` request with the file in the field named `file`. The file counts against the account\'s storage allowance, and a full allowance is refused with 413 and `QUOTA_STORAGE_EXCEEDED`. A file over the size limit is refused with 413 and `UPLOAD_TOO_LARGE`, and a type that is not accepted with 415 and `UPLOAD_UNSUPPORTED_TYPE`; `uploadsLimitsGet` lists the size limit and the accepted types. To upload the file for one of your managed users, send `managed_user_id` (Widgetic\'s id for the user) or `managed_user_external_id` (your own identifier for the user), not both. The file stays in your account and counts against its allowance; the tag lets you list one user\'s files with `uploadsGet`. The managed user must be yours and active: one that is not yours, or does not exist, is refused with 404 and `MANAGED_USER_NOT_FOUND`, and one that is switched off with 409 and `MANAGED_USER_INACTIVE`, before the file is stored. The tag is set here and does not change afterwards. Called with an editor session (`createManagedUserEditorSession`), the file is always filed for the session\'s own managed user and is always media for widget content: naming another managed user is refused with 403 and `MANAGED_USER_SESSION_MISMATCH`, and `context_type`, `source`, `widget_id` and `conversation_id` are ignored. A full storage allowance is refused with the same 413 and `QUOTA_STORAGE_EXCEEDED`, but the message only says that it is not available right now (not how much is stored: that is the partner\'s business) and `error.details.limit` is `storage`. An account that administers a partner with a storage destination (`setPartnerStorageDestination`) has its files stored in the partner\'s own bucket instead. Such a file takes none of the allowance, its `url` is served from the partner\'s public address, and its `storage_key` is the key in the partner\'s bucket. The file is never stored with Widgetic instead: when the destination cannot be used the upload is refused with 503 and `STORAGE_DESTINATION_UNAVAILABLE`, and when the partner\'s storage rejects the file with 502 and `STORAGE_DESTINATION_WRITE_FAILED`. A partner\'s own uploads (with its API key)
|
|
67
|
+
* Stores one file for the account and returns its public address. This is how a user\'s own images, video and PDFs reach a widget\'s content. Send a `multipart/form-data` request with the file in the field named `file`. The file counts against the account\'s storage allowance, and a full allowance is refused with 413 and `QUOTA_STORAGE_EXCEEDED`. A file over the size limit is refused with 413 and `UPLOAD_TOO_LARGE`, and a type that is not accepted with 415 and `UPLOAD_UNSUPPORTED_TYPE`; `uploadsLimitsGet` lists the size limit and the accepted types. To upload the file for one of your managed users, send `managed_user_id` (Widgetic\'s id for the user) or `managed_user_external_id` (your own identifier for the user), not both. The file stays in your account and counts against its allowance; the tag lets you list one user\'s files with `uploadsGet`. The managed user must be yours and active: one that is not yours, or does not exist, is refused with 404 and `MANAGED_USER_NOT_FOUND`, and one that is switched off with 409 and `MANAGED_USER_INACTIVE`, before the file is stored. The tag is set here and does not change afterwards. Called with an editor session (`createManagedUserEditorSession`), the file is always filed for the session\'s own managed user and is always media for widget content: naming another managed user is refused with 403 and `MANAGED_USER_SESSION_MISMATCH`, and `context_type`, `source`, `widget_id` and `conversation_id` are ignored. A full storage allowance is refused with the same 413 and `QUOTA_STORAGE_EXCEEDED`, but the message only says that it is not available right now (not how much is stored: that is the partner\'s business) and `error.details.limit` is `storage`. An account that administers a partner with a storage destination (`setPartnerStorageDestination`) has its files stored in the partner\'s own bucket instead. Such a file takes none of the allowance, its `url` is served from the partner\'s public address, and its `storage_key` is the key in the partner\'s bucket. The file is never stored with Widgetic instead: when the destination cannot be used the upload is refused with 503 and `STORAGE_DESTINATION_UNAVAILABLE`, and when the partner\'s storage rejects the file with 502 and `STORAGE_DESTINATION_WRITE_FAILED`. Partner storage is not optional. A partner\'s own uploads (with its API key) and the uploads of its customers\' editor sessions are kept in the partner\'s own storage or not at all, so a partner with no destination (or one that removed it after the session was made) has them refused with 409 and `PARTNER_STORAGE_REQUIRED`; they are never stored with Widgetic. An editor session\'s browser is only told that the feature is not available right now.
|
|
68
68
|
* Upload a file
|
|
69
69
|
*/
|
|
70
70
|
uploadsPostRaw(requestParameters: UploadsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Upload>>;
|
|
71
71
|
/**
|
|
72
|
-
* Stores one file for the account and returns its public address. This is how a user\'s own images, video and PDFs reach a widget\'s content. Send a `multipart/form-data` request with the file in the field named `file`. The file counts against the account\'s storage allowance, and a full allowance is refused with 413 and `QUOTA_STORAGE_EXCEEDED`. A file over the size limit is refused with 413 and `UPLOAD_TOO_LARGE`, and a type that is not accepted with 415 and `UPLOAD_UNSUPPORTED_TYPE`; `uploadsLimitsGet` lists the size limit and the accepted types. To upload the file for one of your managed users, send `managed_user_id` (Widgetic\'s id for the user) or `managed_user_external_id` (your own identifier for the user), not both. The file stays in your account and counts against its allowance; the tag lets you list one user\'s files with `uploadsGet`. The managed user must be yours and active: one that is not yours, or does not exist, is refused with 404 and `MANAGED_USER_NOT_FOUND`, and one that is switched off with 409 and `MANAGED_USER_INACTIVE`, before the file is stored. The tag is set here and does not change afterwards. Called with an editor session (`createManagedUserEditorSession`), the file is always filed for the session\'s own managed user and is always media for widget content: naming another managed user is refused with 403 and `MANAGED_USER_SESSION_MISMATCH`, and `context_type`, `source`, `widget_id` and `conversation_id` are ignored. A full storage allowance is refused with the same 413 and `QUOTA_STORAGE_EXCEEDED`, but the message only says that it is not available right now (not how much is stored: that is the partner\'s business) and `error.details.limit` is `storage`. An account that administers a partner with a storage destination (`setPartnerStorageDestination`) has its files stored in the partner\'s own bucket instead. Such a file takes none of the allowance, its `url` is served from the partner\'s public address, and its `storage_key` is the key in the partner\'s bucket. The file is never stored with Widgetic instead: when the destination cannot be used the upload is refused with 503 and `STORAGE_DESTINATION_UNAVAILABLE`, and when the partner\'s storage rejects the file with 502 and `STORAGE_DESTINATION_WRITE_FAILED`. A partner\'s own uploads (with its API key)
|
|
72
|
+
* Stores one file for the account and returns its public address. This is how a user\'s own images, video and PDFs reach a widget\'s content. Send a `multipart/form-data` request with the file in the field named `file`. The file counts against the account\'s storage allowance, and a full allowance is refused with 413 and `QUOTA_STORAGE_EXCEEDED`. A file over the size limit is refused with 413 and `UPLOAD_TOO_LARGE`, and a type that is not accepted with 415 and `UPLOAD_UNSUPPORTED_TYPE`; `uploadsLimitsGet` lists the size limit and the accepted types. To upload the file for one of your managed users, send `managed_user_id` (Widgetic\'s id for the user) or `managed_user_external_id` (your own identifier for the user), not both. The file stays in your account and counts against its allowance; the tag lets you list one user\'s files with `uploadsGet`. The managed user must be yours and active: one that is not yours, or does not exist, is refused with 404 and `MANAGED_USER_NOT_FOUND`, and one that is switched off with 409 and `MANAGED_USER_INACTIVE`, before the file is stored. The tag is set here and does not change afterwards. Called with an editor session (`createManagedUserEditorSession`), the file is always filed for the session\'s own managed user and is always media for widget content: naming another managed user is refused with 403 and `MANAGED_USER_SESSION_MISMATCH`, and `context_type`, `source`, `widget_id` and `conversation_id` are ignored. A full storage allowance is refused with the same 413 and `QUOTA_STORAGE_EXCEEDED`, but the message only says that it is not available right now (not how much is stored: that is the partner\'s business) and `error.details.limit` is `storage`. An account that administers a partner with a storage destination (`setPartnerStorageDestination`) has its files stored in the partner\'s own bucket instead. Such a file takes none of the allowance, its `url` is served from the partner\'s public address, and its `storage_key` is the key in the partner\'s bucket. The file is never stored with Widgetic instead: when the destination cannot be used the upload is refused with 503 and `STORAGE_DESTINATION_UNAVAILABLE`, and when the partner\'s storage rejects the file with 502 and `STORAGE_DESTINATION_WRITE_FAILED`. Partner storage is not optional. A partner\'s own uploads (with its API key) and the uploads of its customers\' editor sessions are kept in the partner\'s own storage or not at all, so a partner with no destination (or one that removed it after the session was made) has them refused with 409 and `PARTNER_STORAGE_REQUIRED`; they are never stored with Widgetic. An editor session\'s browser is only told that the feature is not available right now.
|
|
73
73
|
* Upload a file
|
|
74
74
|
*/
|
|
75
75
|
uploadsPost(requestParameters: UploadsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Upload>;
|
package/dist/apis/UploadsApi.js
CHANGED
|
@@ -144,7 +144,7 @@ class UploadsApi extends runtime.BaseAPI {
|
|
|
144
144
|
});
|
|
145
145
|
}
|
|
146
146
|
/**
|
|
147
|
-
* Stores one file for the account and returns its public address. This is how a user\'s own images, video and PDFs reach a widget\'s content. Send a `multipart/form-data` request with the file in the field named `file`. The file counts against the account\'s storage allowance, and a full allowance is refused with 413 and `QUOTA_STORAGE_EXCEEDED`. A file over the size limit is refused with 413 and `UPLOAD_TOO_LARGE`, and a type that is not accepted with 415 and `UPLOAD_UNSUPPORTED_TYPE`; `uploadsLimitsGet` lists the size limit and the accepted types. To upload the file for one of your managed users, send `managed_user_id` (Widgetic\'s id for the user) or `managed_user_external_id` (your own identifier for the user), not both. The file stays in your account and counts against its allowance; the tag lets you list one user\'s files with `uploadsGet`. The managed user must be yours and active: one that is not yours, or does not exist, is refused with 404 and `MANAGED_USER_NOT_FOUND`, and one that is switched off with 409 and `MANAGED_USER_INACTIVE`, before the file is stored. The tag is set here and does not change afterwards. Called with an editor session (`createManagedUserEditorSession`), the file is always filed for the session\'s own managed user and is always media for widget content: naming another managed user is refused with 403 and `MANAGED_USER_SESSION_MISMATCH`, and `context_type`, `source`, `widget_id` and `conversation_id` are ignored. A full storage allowance is refused with the same 413 and `QUOTA_STORAGE_EXCEEDED`, but the message only says that it is not available right now (not how much is stored: that is the partner\'s business) and `error.details.limit` is `storage`. An account that administers a partner with a storage destination (`setPartnerStorageDestination`) has its files stored in the partner\'s own bucket instead. Such a file takes none of the allowance, its `url` is served from the partner\'s public address, and its `storage_key` is the key in the partner\'s bucket. The file is never stored with Widgetic instead: when the destination cannot be used the upload is refused with 503 and `STORAGE_DESTINATION_UNAVAILABLE`, and when the partner\'s storage rejects the file with 502 and `STORAGE_DESTINATION_WRITE_FAILED`. A partner\'s own uploads (with its API key)
|
|
147
|
+
* Stores one file for the account and returns its public address. This is how a user\'s own images, video and PDFs reach a widget\'s content. Send a `multipart/form-data` request with the file in the field named `file`. The file counts against the account\'s storage allowance, and a full allowance is refused with 413 and `QUOTA_STORAGE_EXCEEDED`. A file over the size limit is refused with 413 and `UPLOAD_TOO_LARGE`, and a type that is not accepted with 415 and `UPLOAD_UNSUPPORTED_TYPE`; `uploadsLimitsGet` lists the size limit and the accepted types. To upload the file for one of your managed users, send `managed_user_id` (Widgetic\'s id for the user) or `managed_user_external_id` (your own identifier for the user), not both. The file stays in your account and counts against its allowance; the tag lets you list one user\'s files with `uploadsGet`. The managed user must be yours and active: one that is not yours, or does not exist, is refused with 404 and `MANAGED_USER_NOT_FOUND`, and one that is switched off with 409 and `MANAGED_USER_INACTIVE`, before the file is stored. The tag is set here and does not change afterwards. Called with an editor session (`createManagedUserEditorSession`), the file is always filed for the session\'s own managed user and is always media for widget content: naming another managed user is refused with 403 and `MANAGED_USER_SESSION_MISMATCH`, and `context_type`, `source`, `widget_id` and `conversation_id` are ignored. A full storage allowance is refused with the same 413 and `QUOTA_STORAGE_EXCEEDED`, but the message only says that it is not available right now (not how much is stored: that is the partner\'s business) and `error.details.limit` is `storage`. An account that administers a partner with a storage destination (`setPartnerStorageDestination`) has its files stored in the partner\'s own bucket instead. Such a file takes none of the allowance, its `url` is served from the partner\'s public address, and its `storage_key` is the key in the partner\'s bucket. The file is never stored with Widgetic instead: when the destination cannot be used the upload is refused with 503 and `STORAGE_DESTINATION_UNAVAILABLE`, and when the partner\'s storage rejects the file with 502 and `STORAGE_DESTINATION_WRITE_FAILED`. Partner storage is not optional. A partner\'s own uploads (with its API key) and the uploads of its customers\' editor sessions are kept in the partner\'s own storage or not at all, so a partner with no destination (or one that removed it after the session was made) has them refused with 409 and `PARTNER_STORAGE_REQUIRED`; they are never stored with Widgetic. An editor session\'s browser is only told that the feature is not available right now.
|
|
148
148
|
* Upload a file
|
|
149
149
|
*/
|
|
150
150
|
uploadsPostRaw(requestParameters, initOverrides) {
|
|
@@ -202,7 +202,7 @@ class UploadsApi extends runtime.BaseAPI {
|
|
|
202
202
|
});
|
|
203
203
|
}
|
|
204
204
|
/**
|
|
205
|
-
* Stores one file for the account and returns its public address. This is how a user\'s own images, video and PDFs reach a widget\'s content. Send a `multipart/form-data` request with the file in the field named `file`. The file counts against the account\'s storage allowance, and a full allowance is refused with 413 and `QUOTA_STORAGE_EXCEEDED`. A file over the size limit is refused with 413 and `UPLOAD_TOO_LARGE`, and a type that is not accepted with 415 and `UPLOAD_UNSUPPORTED_TYPE`; `uploadsLimitsGet` lists the size limit and the accepted types. To upload the file for one of your managed users, send `managed_user_id` (Widgetic\'s id for the user) or `managed_user_external_id` (your own identifier for the user), not both. The file stays in your account and counts against its allowance; the tag lets you list one user\'s files with `uploadsGet`. The managed user must be yours and active: one that is not yours, or does not exist, is refused with 404 and `MANAGED_USER_NOT_FOUND`, and one that is switched off with 409 and `MANAGED_USER_INACTIVE`, before the file is stored. The tag is set here and does not change afterwards. Called with an editor session (`createManagedUserEditorSession`), the file is always filed for the session\'s own managed user and is always media for widget content: naming another managed user is refused with 403 and `MANAGED_USER_SESSION_MISMATCH`, and `context_type`, `source`, `widget_id` and `conversation_id` are ignored. A full storage allowance is refused with the same 413 and `QUOTA_STORAGE_EXCEEDED`, but the message only says that it is not available right now (not how much is stored: that is the partner\'s business) and `error.details.limit` is `storage`. An account that administers a partner with a storage destination (`setPartnerStorageDestination`) has its files stored in the partner\'s own bucket instead. Such a file takes none of the allowance, its `url` is served from the partner\'s public address, and its `storage_key` is the key in the partner\'s bucket. The file is never stored with Widgetic instead: when the destination cannot be used the upload is refused with 503 and `STORAGE_DESTINATION_UNAVAILABLE`, and when the partner\'s storage rejects the file with 502 and `STORAGE_DESTINATION_WRITE_FAILED`. A partner\'s own uploads (with its API key)
|
|
205
|
+
* Stores one file for the account and returns its public address. This is how a user\'s own images, video and PDFs reach a widget\'s content. Send a `multipart/form-data` request with the file in the field named `file`. The file counts against the account\'s storage allowance, and a full allowance is refused with 413 and `QUOTA_STORAGE_EXCEEDED`. A file over the size limit is refused with 413 and `UPLOAD_TOO_LARGE`, and a type that is not accepted with 415 and `UPLOAD_UNSUPPORTED_TYPE`; `uploadsLimitsGet` lists the size limit and the accepted types. To upload the file for one of your managed users, send `managed_user_id` (Widgetic\'s id for the user) or `managed_user_external_id` (your own identifier for the user), not both. The file stays in your account and counts against its allowance; the tag lets you list one user\'s files with `uploadsGet`. The managed user must be yours and active: one that is not yours, or does not exist, is refused with 404 and `MANAGED_USER_NOT_FOUND`, and one that is switched off with 409 and `MANAGED_USER_INACTIVE`, before the file is stored. The tag is set here and does not change afterwards. Called with an editor session (`createManagedUserEditorSession`), the file is always filed for the session\'s own managed user and is always media for widget content: naming another managed user is refused with 403 and `MANAGED_USER_SESSION_MISMATCH`, and `context_type`, `source`, `widget_id` and `conversation_id` are ignored. A full storage allowance is refused with the same 413 and `QUOTA_STORAGE_EXCEEDED`, but the message only says that it is not available right now (not how much is stored: that is the partner\'s business) and `error.details.limit` is `storage`. An account that administers a partner with a storage destination (`setPartnerStorageDestination`) has its files stored in the partner\'s own bucket instead. Such a file takes none of the allowance, its `url` is served from the partner\'s public address, and its `storage_key` is the key in the partner\'s bucket. The file is never stored with Widgetic instead: when the destination cannot be used the upload is refused with 503 and `STORAGE_DESTINATION_UNAVAILABLE`, and when the partner\'s storage rejects the file with 502 and `STORAGE_DESTINATION_WRITE_FAILED`. Partner storage is not optional. A partner\'s own uploads (with its API key) and the uploads of its customers\' editor sessions are kept in the partner\'s own storage or not at all, so a partner with no destination (or one that removed it after the session was made) has them refused with 409 and `PARTNER_STORAGE_REQUIRED`; they are never stored with Widgetic. An editor session\'s browser is only told that the feature is not available right now.
|
|
206
206
|
* Upload a file
|
|
207
207
|
*/
|
|
208
208
|
uploadsPost(requestParameters, initOverrides) {
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Widgetic API Gateway
|
|
3
|
+
* API documentation for the Widgetic API Gateway
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import * as runtime from '../runtime';
|
|
13
|
+
import type { GenerateComponentWorkflowInput, GenerateMixedComponentInput, WorkflowAcceptedResponse } from '../models/index';
|
|
14
|
+
export interface WorkflowsGenerateComponentFromMixPostRequest {
|
|
15
|
+
generateMixedComponentInput: GenerateMixedComponentInput;
|
|
16
|
+
}
|
|
17
|
+
export interface WorkflowsGenerateComponentPostRequest {
|
|
18
|
+
generateComponentWorkflowInput: GenerateComponentWorkflowInput;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*/
|
|
23
|
+
export declare class WorkflowsApi extends runtime.BaseAPI {
|
|
24
|
+
/**
|
|
25
|
+
* Initiates an asynchronous workflow to create a new component based on instructions applied to one or more source components.
|
|
26
|
+
* Generate a New Component by Mixing Existing Ones
|
|
27
|
+
*/
|
|
28
|
+
workflowsGenerateComponentFromMixPostRaw(requestParameters: WorkflowsGenerateComponentFromMixPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowAcceptedResponse>>;
|
|
29
|
+
/**
|
|
30
|
+
* Initiates an asynchronous workflow to create a new component based on instructions applied to one or more source components.
|
|
31
|
+
* Generate a New Component by Mixing Existing Ones
|
|
32
|
+
*/
|
|
33
|
+
workflowsGenerateComponentFromMixPost(requestParameters: WorkflowsGenerateComponentFromMixPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowAcceptedResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* Retired workflow route. Live codegen is POST /agent/code/generate (Direct LLM).
|
|
36
|
+
* Initiate initial component generation workflow
|
|
37
|
+
*/
|
|
38
|
+
workflowsGenerateComponentPostRaw(requestParameters: WorkflowsGenerateComponentPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowAcceptedResponse>>;
|
|
39
|
+
/**
|
|
40
|
+
* Retired workflow route. Live codegen is POST /agent/code/generate (Direct LLM).
|
|
41
|
+
* Initiate initial component generation workflow
|
|
42
|
+
*/
|
|
43
|
+
workflowsGenerateComponentPost(requestParameters: WorkflowsGenerateComponentPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowAcceptedResponse>;
|
|
44
|
+
}
|