@widgetic/api-sdk 1.0.29 → 1.0.31
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 +3 -2
- package/dist/apis/AdminApi.js +3 -2
- package/dist/apis/AgentRepositoryManagementApi.d.ts +32 -0
- package/dist/apis/AgentRepositoryManagementApi.js +75 -0
- package/dist/apis/BillingApi.d.ts +3 -3
- package/dist/apis/BillingApi.js +1 -1
- package/dist/apis/CompositionsApi.d.ts +182 -83
- package/dist/apis/CompositionsApi.js +368 -84
- package/dist/apis/CreditsApi.d.ts +6 -6
- package/dist/apis/EnterpriseCustomizationsApi.d.ts +87 -0
- package/dist/apis/EnterpriseCustomizationsApi.js +233 -0
- package/dist/apis/InvoicesApi.d.ts +6 -6
- package/dist/apis/InvoicesApi.js +2 -2
- package/dist/apis/ManagedUsersApi.d.ts +104 -27
- package/dist/apis/ManagedUsersApi.js +247 -12
- package/dist/apis/OperationsApi.d.ts +3 -3
- package/dist/apis/PartnerApi.d.ts +1230 -0
- package/dist/apis/PartnerApi.js +3376 -0
- package/dist/apis/PartnersApi.d.ts +83 -43
- package/dist/apis/PartnersApi.js +119 -0
- package/dist/apis/PublicEmbedApi.d.ts +33 -0
- package/dist/apis/PublicEmbedApi.js +71 -0
- package/dist/apis/UIComponentsApi.d.ts +96 -0
- package/dist/apis/UIComponentsApi.js +209 -0
- package/dist/apis/UploadsApi.d.ts +29 -16
- package/dist/apis/UploadsApi.js +40 -3
- package/dist/apis/UsersApi.d.ts +27 -27
- package/dist/apis/WidgetsApi.d.ts +33 -18
- package/dist/apis/WidgetsApi.js +84 -39
- package/dist/apis/WorkflowsApi.d.ts +44 -0
- package/dist/apis/WorkflowsApi.js +111 -0
- package/dist/apis/index.d.ts +6 -0
- package/dist/apis/index.js +6 -0
- package/dist/esm/apis/AdminApi.d.ts +3 -2
- package/dist/esm/apis/AdminApi.js +3 -2
- package/dist/esm/apis/AgentRepositoryManagementApi.d.ts +32 -0
- package/dist/esm/apis/AgentRepositoryManagementApi.js +71 -0
- package/dist/esm/apis/BillingApi.d.ts +3 -3
- package/dist/esm/apis/BillingApi.js +2 -2
- package/dist/esm/apis/CompositionsApi.d.ts +182 -83
- package/dist/esm/apis/CompositionsApi.js +368 -84
- package/dist/esm/apis/CreditsApi.d.ts +6 -6
- package/dist/esm/apis/EnterpriseCustomizationsApi.d.ts +87 -0
- package/dist/esm/apis/EnterpriseCustomizationsApi.js +229 -0
- package/dist/esm/apis/InvoicesApi.d.ts +6 -6
- package/dist/esm/apis/InvoicesApi.js +1 -1
- package/dist/esm/apis/ManagedUsersApi.d.ts +104 -27
- package/dist/esm/apis/ManagedUsersApi.js +248 -13
- package/dist/esm/apis/OperationsApi.d.ts +3 -3
- package/dist/esm/apis/PartnerApi.d.ts +1230 -0
- package/dist/esm/apis/PartnerApi.js +3372 -0
- package/dist/esm/apis/PartnersApi.d.ts +83 -43
- package/dist/esm/apis/PartnersApi.js +120 -1
- package/dist/esm/apis/PublicEmbedApi.d.ts +33 -0
- package/dist/esm/apis/PublicEmbedApi.js +67 -0
- package/dist/esm/apis/UIComponentsApi.d.ts +96 -0
- package/dist/esm/apis/UIComponentsApi.js +205 -0
- package/dist/esm/apis/UploadsApi.d.ts +29 -16
- package/dist/esm/apis/UploadsApi.js +40 -3
- package/dist/esm/apis/UsersApi.d.ts +27 -27
- package/dist/esm/apis/WidgetsApi.d.ts +33 -18
- package/dist/esm/apis/WidgetsApi.js +85 -40
- package/dist/esm/apis/WorkflowsApi.d.ts +44 -0
- package/dist/esm/apis/WorkflowsApi.js +107 -0
- package/dist/esm/apis/index.d.ts +6 -0
- package/dist/esm/apis/index.js +6 -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/ApiV1AdminBillingRefundsPostRequest.d.ts +64 -0
- package/dist/esm/models/ApiV1AdminBillingRefundsPostRequest.js +60 -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/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/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/CancelCurrentSubscription200Response.d.ts +45 -0
- package/dist/esm/models/CancelCurrentSubscription200Response.js +46 -0
- package/dist/esm/models/CancelCurrentSubscriptionRequest.d.ts +44 -0
- package/dist/esm/models/CancelCurrentSubscriptionRequest.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/Composition.d.ts +6 -0
- package/dist/esm/models/Composition.js +2 -0
- package/dist/esm/models/CompositionEntryAggregateTally.d.ts +62 -0
- package/dist/esm/models/CompositionEntryAggregateTally.js +51 -0
- package/dist/esm/models/CompositionEntryAggregatesBlock.d.ts +45 -0
- package/dist/esm/models/CompositionEntryAggregatesBlock.js +50 -0
- package/dist/esm/models/CompositionEntryDeleteSuccess.d.ts +39 -0
- package/dist/esm/models/CompositionEntryDeleteSuccess.js +48 -0
- package/dist/esm/models/CompositionEntryDeleteSuccessData.d.ts +32 -0
- package/dist/esm/models/CompositionEntryDeleteSuccessData.js +43 -0
- package/dist/esm/models/CompositionEntryItem.d.ts +60 -0
- package/dist/esm/models/CompositionEntryItem.js +57 -0
- package/dist/esm/models/CompositionEntryItemsMeta.d.ts +51 -0
- package/dist/esm/models/CompositionEntryItemsMeta.js +55 -0
- package/dist/esm/models/CompositionEntryItemsPageSuccess.d.ts +46 -0
- package/dist/esm/models/CompositionEntryItemsPageSuccess.js +53 -0
- package/dist/esm/models/CreateCanvasRequest.d.ts +6 -0
- package/dist/esm/models/CreateCanvasRequest.js +2 -0
- package/dist/esm/models/CreateCheckoutSession200Response.d.ts +38 -0
- package/dist/esm/models/CreateCheckoutSession200Response.js +43 -0
- package/dist/esm/models/CreateCheckoutSessionRequest.d.ts +32 -0
- package/dist/esm/models/CreateCheckoutSessionRequest.js +43 -0
- package/dist/esm/models/CreateCompositionContentItemRequest.d.ts +33 -0
- package/dist/esm/models/CreateCompositionContentItemRequest.js +37 -0
- package/dist/esm/models/CreateCompositionFromPresetRequest.d.ts +56 -0
- package/dist/esm/models/CreateCompositionFromPresetRequest.js +51 -0
- package/dist/esm/models/CreateCompositionFromWidget201Response.d.ts +39 -0
- package/dist/esm/models/CreateCompositionFromWidget201Response.js +44 -0
- package/dist/esm/models/CreateCompositionFromWidgetRequest.d.ts +62 -0
- package/dist/esm/models/CreateCompositionFromWidgetRequest.js +53 -0
- package/dist/esm/models/DeleteCompositionContentItem200Response.d.ts +38 -0
- package/dist/esm/models/DeleteCompositionContentItem200Response.js +43 -0
- 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/EnterpriseCustomization.d.ts +125 -0
- package/dist/esm/models/EnterpriseCustomization.js +77 -0
- package/dist/esm/models/ExportCompositionEntryItems200Response.d.ts +46 -0
- package/dist/esm/models/ExportCompositionEntryItems200Response.js +53 -0
- package/dist/esm/models/ExportCompositionEntryItems200ResponseMeta.d.ts +38 -0
- package/dist/esm/models/ExportCompositionEntryItems200ResponseMeta.js +47 -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/GetCompositionContentSchema200Response.d.ts +2 -2
- package/dist/esm/models/GetManagedUserLimits200Response.d.ts +39 -0
- package/dist/esm/models/GetManagedUserLimits200Response.js +44 -0
- package/dist/esm/models/GetManagedUserLimits200ResponseData.d.ts +50 -0
- package/dist/esm/models/GetManagedUserLimits200ResponseData.js +55 -0
- package/dist/esm/models/GetManagedUserStorageUsage200Response.d.ts +39 -0
- package/dist/esm/models/GetManagedUserStorageUsage200Response.js +44 -0
- package/dist/esm/models/GetManagedUserStorageUsage200ResponseData.d.ts +45 -0
- package/dist/esm/models/GetManagedUserStorageUsage200ResponseData.js +52 -0
- package/dist/esm/models/GetManagedUserStorageUsage200ResponseDataByPurpose.d.ts +51 -0
- package/dist/esm/models/GetManagedUserStorageUsage200ResponseDataByPurpose.js +48 -0
- package/dist/esm/models/GetOrganizationStorageUsage200ResponseDataBreakdown.d.ts +44 -0
- package/dist/esm/models/GetOrganizationStorageUsage200ResponseDataBreakdown.js +45 -0
- package/dist/esm/models/GetPartnerDesignDefaults200Response.d.ts +39 -0
- package/dist/esm/models/GetPartnerDesignDefaults200Response.js +44 -0
- package/dist/esm/models/GetPartnerDesignDefaults200ResponseData.d.ts +32 -0
- package/dist/esm/models/GetPartnerDesignDefaults200ResponseData.js +41 -0
- package/dist/esm/models/ListComponents200Response.d.ts +33 -0
- package/dist/esm/models/ListComponents200Response.js +42 -0
- package/dist/esm/models/ListEnterpriseCustomizations200Response.d.ts +40 -0
- package/dist/esm/models/ListEnterpriseCustomizations200Response.js +45 -0
- package/dist/esm/models/ListEnterpriseCustomizations200ResponsePagination.d.ts +50 -0
- package/dist/esm/models/ListEnterpriseCustomizations200ResponsePagination.js +47 -0
- package/dist/esm/models/ManagedUserEntriesMeta.d.ts +56 -0
- package/dist/esm/models/ManagedUserEntriesMeta.js +57 -0
- package/dist/esm/models/ManagedUserEntriesPageSuccess.d.ts +46 -0
- package/dist/esm/models/ManagedUserEntriesPageSuccess.js +53 -0
- package/dist/esm/models/ManagedUserEntryItem.d.ts +72 -0
- package/dist/esm/models/ManagedUserEntryItem.js +65 -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/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/PartnerNotification.d.ts +1 -1
- package/dist/esm/models/PartnerNotificationDelivery.d.ts +6 -0
- package/dist/esm/models/PartnerNotificationDelivery.js +4 -0
- package/dist/esm/models/PartnerNotificationEvent.d.ts +15 -0
- package/dist/esm/models/PartnerNotificationEvent.js +13 -1
- package/dist/esm/models/PartnerNotificationEventType.d.ts +4 -0
- package/dist/esm/models/PartnerNotificationEventType.js +5 -1
- package/dist/esm/models/PublicCompositionEntryCreated.d.ts +39 -0
- package/dist/esm/models/PublicCompositionEntryCreated.js +48 -0
- package/dist/esm/models/PublicCompositionEntryCreatedData.d.ts +44 -0
- package/dist/esm/models/PublicCompositionEntryCreatedData.js +51 -0
- package/dist/esm/models/PublicCompositionEntryRequest.d.ts +40 -0
- package/dist/esm/models/PublicCompositionEntryRequest.js +45 -0
- package/dist/esm/models/PurchaseStoragePack200ResponseDataPaymentIntent.d.ts +50 -0
- package/dist/esm/models/PurchaseStoragePack200ResponseDataPaymentIntent.js +47 -0
- package/dist/esm/models/PurposeStorageBucket.d.ts +38 -0
- package/dist/esm/models/PurposeStorageBucket.js +47 -0
- package/dist/esm/models/RollbackComponentRequest.d.ts +38 -0
- package/dist/esm/models/RollbackComponentRequest.js +45 -0
- package/dist/esm/models/SetCompositionDataSourceRequest.d.ts +38 -0
- package/dist/esm/models/SetCompositionDataSourceRequest.js +47 -0
- package/dist/esm/models/SetDynamicContent200Response.d.ts +6 -0
- package/dist/esm/models/SetDynamicContent200Response.js +2 -0
- package/dist/esm/models/SetManagedUserLimitsRequest.d.ts +32 -0
- package/dist/esm/models/SetManagedUserLimitsRequest.js +43 -0
- package/dist/esm/models/SetPartnerDesignDefaultsRequest.d.ts +32 -0
- package/dist/esm/models/SetPartnerDesignDefaultsRequest.js +43 -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 +38 -0
- package/dist/esm/models/UpdateCompositionRequest.js +43 -0
- package/dist/esm/models/UpdateCurrentSubscriptionRequest.d.ts +38 -0
- package/dist/esm/models/UpdateCurrentSubscriptionRequest.js +43 -0
- package/dist/esm/models/UpdateEnterpriseCustomizationRequest.d.ts +95 -0
- package/dist/esm/models/UpdateEnterpriseCustomizationRequest.js +67 -0
- package/dist/esm/models/Upload.d.ts +15 -0
- package/dist/esm/models/Upload.js +10 -0
- package/dist/esm/models/UploadsIdDelete200Response.d.ts +39 -0
- package/dist/esm/models/UploadsIdDelete200Response.js +44 -0
- package/dist/esm/models/UploadsIdDelete200ResponseData.d.ts +32 -0
- package/dist/esm/models/UploadsIdDelete200ResponseData.js +41 -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 +109 -2
- package/dist/esm/models/index.js +109 -2
- 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/ApiV1AdminBillingRefundsPostRequest.d.ts +64 -0
- package/dist/models/ApiV1AdminBillingRefundsPostRequest.js +68 -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/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/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/CancelCurrentSubscription200Response.d.ts +45 -0
- package/dist/models/CancelCurrentSubscription200Response.js +53 -0
- package/dist/models/CancelCurrentSubscriptionRequest.d.ts +44 -0
- package/dist/models/CancelCurrentSubscriptionRequest.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/Composition.d.ts +6 -0
- package/dist/models/Composition.js +2 -0
- package/dist/models/CompositionEntryAggregateTally.d.ts +62 -0
- package/dist/models/CompositionEntryAggregateTally.js +58 -0
- package/dist/models/CompositionEntryAggregatesBlock.d.ts +45 -0
- package/dist/models/CompositionEntryAggregatesBlock.js +57 -0
- package/dist/models/CompositionEntryDeleteSuccess.d.ts +39 -0
- package/dist/models/CompositionEntryDeleteSuccess.js +55 -0
- package/dist/models/CompositionEntryDeleteSuccessData.d.ts +32 -0
- package/dist/models/CompositionEntryDeleteSuccessData.js +50 -0
- package/dist/models/CompositionEntryItem.d.ts +60 -0
- package/dist/models/CompositionEntryItem.js +64 -0
- package/dist/models/CompositionEntryItemsMeta.d.ts +51 -0
- package/dist/models/CompositionEntryItemsMeta.js +63 -0
- package/dist/models/CompositionEntryItemsPageSuccess.d.ts +46 -0
- package/dist/models/CompositionEntryItemsPageSuccess.js +60 -0
- package/dist/models/CreateCanvasRequest.d.ts +6 -0
- package/dist/models/CreateCanvasRequest.js +2 -0
- package/dist/models/CreateCheckoutSession200Response.d.ts +38 -0
- package/dist/models/CreateCheckoutSession200Response.js +50 -0
- package/dist/models/CreateCheckoutSessionRequest.d.ts +32 -0
- package/dist/models/CreateCheckoutSessionRequest.js +50 -0
- package/dist/models/CreateCompositionContentItemRequest.d.ts +33 -0
- package/dist/models/CreateCompositionContentItemRequest.js +44 -0
- package/dist/models/CreateCompositionFromPresetRequest.d.ts +56 -0
- package/dist/models/CreateCompositionFromPresetRequest.js +58 -0
- package/dist/models/CreateCompositionFromWidget201Response.d.ts +39 -0
- package/dist/models/CreateCompositionFromWidget201Response.js +51 -0
- package/dist/models/CreateCompositionFromWidgetRequest.d.ts +62 -0
- package/dist/models/CreateCompositionFromWidgetRequest.js +60 -0
- package/dist/models/DeleteCompositionContentItem200Response.d.ts +38 -0
- package/dist/models/DeleteCompositionContentItem200Response.js +50 -0
- 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/EnterpriseCustomization.d.ts +125 -0
- package/dist/models/EnterpriseCustomization.js +85 -0
- package/dist/models/ExportCompositionEntryItems200Response.d.ts +46 -0
- package/dist/models/ExportCompositionEntryItems200Response.js +60 -0
- package/dist/models/ExportCompositionEntryItems200ResponseMeta.d.ts +38 -0
- package/dist/models/ExportCompositionEntryItems200ResponseMeta.js +54 -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/GetCompositionContentSchema200Response.d.ts +2 -2
- package/dist/models/GetManagedUserLimits200Response.d.ts +39 -0
- package/dist/models/GetManagedUserLimits200Response.js +51 -0
- package/dist/models/GetManagedUserLimits200ResponseData.d.ts +50 -0
- package/dist/models/GetManagedUserLimits200ResponseData.js +62 -0
- package/dist/models/GetManagedUserStorageUsage200Response.d.ts +39 -0
- package/dist/models/GetManagedUserStorageUsage200Response.js +51 -0
- package/dist/models/GetManagedUserStorageUsage200ResponseData.d.ts +45 -0
- package/dist/models/GetManagedUserStorageUsage200ResponseData.js +59 -0
- package/dist/models/GetManagedUserStorageUsage200ResponseDataByPurpose.d.ts +51 -0
- package/dist/models/GetManagedUserStorageUsage200ResponseDataByPurpose.js +55 -0
- package/dist/models/GetOrganizationStorageUsage200ResponseDataBreakdown.d.ts +44 -0
- package/dist/models/GetOrganizationStorageUsage200ResponseDataBreakdown.js +52 -0
- package/dist/models/GetPartnerDesignDefaults200Response.d.ts +39 -0
- package/dist/models/GetPartnerDesignDefaults200Response.js +51 -0
- package/dist/models/GetPartnerDesignDefaults200ResponseData.d.ts +32 -0
- package/dist/models/GetPartnerDesignDefaults200ResponseData.js +48 -0
- package/dist/models/ListComponents200Response.d.ts +33 -0
- package/dist/models/ListComponents200Response.js +49 -0
- package/dist/models/ListEnterpriseCustomizations200Response.d.ts +40 -0
- package/dist/models/ListEnterpriseCustomizations200Response.js +52 -0
- package/dist/models/ListEnterpriseCustomizations200ResponsePagination.d.ts +50 -0
- package/dist/models/ListEnterpriseCustomizations200ResponsePagination.js +54 -0
- package/dist/models/ManagedUserEntriesMeta.d.ts +56 -0
- package/dist/models/ManagedUserEntriesMeta.js +64 -0
- package/dist/models/ManagedUserEntriesPageSuccess.d.ts +46 -0
- package/dist/models/ManagedUserEntriesPageSuccess.js +60 -0
- package/dist/models/ManagedUserEntryItem.d.ts +72 -0
- package/dist/models/ManagedUserEntryItem.js +72 -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/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/PartnerNotification.d.ts +1 -1
- package/dist/models/PartnerNotificationDelivery.d.ts +6 -0
- package/dist/models/PartnerNotificationDelivery.js +4 -0
- package/dist/models/PartnerNotificationEvent.d.ts +15 -0
- package/dist/models/PartnerNotificationEvent.js +14 -2
- package/dist/models/PartnerNotificationEventType.d.ts +4 -0
- package/dist/models/PartnerNotificationEventType.js +5 -1
- package/dist/models/PublicCompositionEntryCreated.d.ts +39 -0
- package/dist/models/PublicCompositionEntryCreated.js +55 -0
- package/dist/models/PublicCompositionEntryCreatedData.d.ts +44 -0
- package/dist/models/PublicCompositionEntryCreatedData.js +58 -0
- package/dist/models/PublicCompositionEntryRequest.d.ts +40 -0
- package/dist/models/PublicCompositionEntryRequest.js +52 -0
- package/dist/models/PurchaseStoragePack200ResponseDataPaymentIntent.d.ts +50 -0
- package/dist/models/PurchaseStoragePack200ResponseDataPaymentIntent.js +54 -0
- package/dist/models/PurposeStorageBucket.d.ts +38 -0
- package/dist/models/PurposeStorageBucket.js +54 -0
- package/dist/models/RollbackComponentRequest.d.ts +38 -0
- package/dist/models/RollbackComponentRequest.js +52 -0
- package/dist/models/SetCompositionDataSourceRequest.d.ts +38 -0
- package/dist/models/SetCompositionDataSourceRequest.js +54 -0
- package/dist/models/SetDynamicContent200Response.d.ts +6 -0
- package/dist/models/SetDynamicContent200Response.js +2 -0
- package/dist/models/SetManagedUserLimitsRequest.d.ts +32 -0
- package/dist/models/SetManagedUserLimitsRequest.js +50 -0
- package/dist/models/SetPartnerDesignDefaultsRequest.d.ts +32 -0
- package/dist/models/SetPartnerDesignDefaultsRequest.js +50 -0
- package/dist/models/UIComponent.d.ts +65 -0
- package/dist/models/UIComponent.js +65 -0
- package/dist/models/UpdateCompositionRequest.d.ts +38 -0
- package/dist/models/UpdateCompositionRequest.js +50 -0
- package/dist/models/UpdateCurrentSubscriptionRequest.d.ts +38 -0
- package/dist/models/UpdateCurrentSubscriptionRequest.js +50 -0
- package/dist/models/UpdateEnterpriseCustomizationRequest.d.ts +95 -0
- package/dist/models/UpdateEnterpriseCustomizationRequest.js +75 -0
- package/dist/models/Upload.d.ts +15 -0
- package/dist/models/Upload.js +11 -1
- package/dist/models/UploadsIdDelete200Response.d.ts +39 -0
- package/dist/models/UploadsIdDelete200Response.js +51 -0
- package/dist/models/UploadsIdDelete200ResponseData.d.ts +32 -0
- package/dist/models/UploadsIdDelete200ResponseData.js +48 -0
- package/dist/models/WorkflowAcceptedResponse.d.ts +38 -0
- package/dist/models/WorkflowAcceptedResponse.js +50 -0
- package/dist/models/index.d.ts +109 -2
- package/dist/models/index.js +109 -2
- package/package.json +1 -1
- package/dist/esm/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.d.ts +0 -39
- package/dist/esm/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.js +0 -44
- package/dist/esm/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.d.ts +0 -32
- package/dist/esm/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.js +0 -41
- package/dist/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.d.ts +0 -39
- package/dist/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200Response.js +0 -51
- package/dist/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.d.ts +0 -32
- package/dist/models/BillingUsersUserIdPaymentMethodsPaymentMethodIdDelete200ResponseData.js +0 -48
|
@@ -11,40 +11,40 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import type { AddDomainRequest, CreateUserApiKeyRequest, CreatedUserApiKey, DeletePersonalWorkspaceDomain200Response, DeleteUserApiKey200Response, GetPersonalWorkspaceDomains200Response, GetUserApiKeyUsageLogs200Response, GetUserApiKeys200Response, PersonalWorkspaceDomainResult, UpdateDomainRequest, UpdateUserApiKeyRequest, UserApiKey, UsersMeBillingGet200Response, UsersSendFeedbackPost200Response, UsersSendFeedbackPostRequest } from '../models/index';
|
|
14
|
-
export interface
|
|
14
|
+
export interface AddPersonalWorkspaceDomain0Request {
|
|
15
15
|
id: string;
|
|
16
16
|
addDomainRequest: AddDomainRequest;
|
|
17
17
|
}
|
|
18
|
-
export interface
|
|
18
|
+
export interface CreateUserApiKey0Request {
|
|
19
19
|
id: string;
|
|
20
20
|
createUserApiKeyRequest: CreateUserApiKeyRequest;
|
|
21
21
|
idempotencyKey?: string;
|
|
22
22
|
}
|
|
23
|
-
export interface
|
|
23
|
+
export interface DeletePersonalWorkspaceDomain0Request {
|
|
24
24
|
id: string;
|
|
25
25
|
domainId: string;
|
|
26
26
|
}
|
|
27
|
-
export interface
|
|
27
|
+
export interface DeleteUserApiKey0Request {
|
|
28
28
|
id: string;
|
|
29
29
|
keyId: string;
|
|
30
30
|
}
|
|
31
|
-
export interface
|
|
31
|
+
export interface GetPersonalWorkspaceDomains0Request {
|
|
32
32
|
id: string;
|
|
33
33
|
}
|
|
34
|
-
export interface
|
|
34
|
+
export interface GetUserApiKeyUsageLogs0Request {
|
|
35
35
|
id: string;
|
|
36
36
|
keyId: string;
|
|
37
37
|
limit?: number;
|
|
38
38
|
}
|
|
39
|
-
export interface
|
|
39
|
+
export interface GetUserApiKeys0Request {
|
|
40
40
|
id: string;
|
|
41
41
|
}
|
|
42
|
-
export interface
|
|
42
|
+
export interface UpdatePersonalWorkspaceDomain0Request {
|
|
43
43
|
id: string;
|
|
44
44
|
domainId: string;
|
|
45
45
|
updateDomainRequest: UpdateDomainRequest;
|
|
46
46
|
}
|
|
47
|
-
export interface
|
|
47
|
+
export interface UpdateUserApiKey0Request {
|
|
48
48
|
id: string;
|
|
49
49
|
keyId: string;
|
|
50
50
|
updateUserApiKeyRequest: UpdateUserApiKeyRequest;
|
|
@@ -60,42 +60,42 @@ export declare class UsersApi extends runtime.BaseAPI {
|
|
|
60
60
|
* Adds a website to an account\'s own list. Give a website name such as `example.com`, or `*.example.com` for a website and all of its subdomains. A scheme, a port, a path, capital letters and a leading `www.` are dropped, so `https://www.Example.com/shop` is kept as `example.com`, and `example.com` covers `www.example.com` too. Something that is not a website name is refused, not stored. Until the first website is added nothing is restricted, and a widget can be shown anywhere. Once the list has one, a widget of the account is shown on the listed websites (and on Widgetic\'s own) and nowhere else. A page on your own machine (`localhost`, `127.0.0.1` or `[::1]`, on any port) is always allowed, so there is nothing to add to test locally. A change can take about 15 seconds to reach every server. The list is a safeguard against other websites showing your widgets in a visitor\'s browser. It is not access control: anyone who knows a widget\'s id can still fetch its published content with a plain request that names no website. An account can list at most 50 websites. Use `*.example.com` for a website and all of its subdomains instead of listing each one.
|
|
61
61
|
* Allow a website to show your widgets
|
|
62
62
|
*/
|
|
63
|
-
addPersonalWorkspaceDomainRaw(requestParameters:
|
|
63
|
+
addPersonalWorkspaceDomainRaw(requestParameters: AddPersonalWorkspaceDomain0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PersonalWorkspaceDomainResult>>;
|
|
64
64
|
/**
|
|
65
65
|
* Adds a website to an account\'s own list. Give a website name such as `example.com`, or `*.example.com` for a website and all of its subdomains. A scheme, a port, a path, capital letters and a leading `www.` are dropped, so `https://www.Example.com/shop` is kept as `example.com`, and `example.com` covers `www.example.com` too. Something that is not a website name is refused, not stored. Until the first website is added nothing is restricted, and a widget can be shown anywhere. Once the list has one, a widget of the account is shown on the listed websites (and on Widgetic\'s own) and nowhere else. A page on your own machine (`localhost`, `127.0.0.1` or `[::1]`, on any port) is always allowed, so there is nothing to add to test locally. A change can take about 15 seconds to reach every server. The list is a safeguard against other websites showing your widgets in a visitor\'s browser. It is not access control: anyone who knows a widget\'s id can still fetch its published content with a plain request that names no website. An account can list at most 50 websites. Use `*.example.com` for a website and all of its subdomains instead of listing each one.
|
|
66
66
|
* Allow a website to show your widgets
|
|
67
67
|
*/
|
|
68
|
-
addPersonalWorkspaceDomain(requestParameters:
|
|
68
|
+
addPersonalWorkspaceDomain(requestParameters: AddPersonalWorkspaceDomain0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PersonalWorkspaceDomainResult>;
|
|
69
69
|
/**
|
|
70
70
|
* Makes a new API key for an account and returns its secret in `key`. That is the only time the secret is shown: Widgetic keeps a hash, so a key that was not stored cannot be recovered, only replaced. To rotate a key, make the new one, switch the integration over to it, then delete the old one. Only a person signed in on widgetic.com can make a key: a request made with an API key, or with an SDK token, is refused with 403. That way a leaked key cannot be used to make a second one that survives its revocation. Make keys from the dashboard; a key can still list, rename, switch off and delete keys. An `Idempotency-Key` header is required (8 to 50 characters: letters, digits, `-` and `_`). A retry with the same header and the same body returns the same answer instead of making a second key, and the same header with a different body is refused with 422. Make keys one at a time: two requests for the same account that run at the same moment can overwrite each other. A key can be limited to what it needs. Send a `preset` (`read_only`, `content` or `full_access`) or a list of `scopes`, never both. Send neither for a key that can do everything its owner can, as every key made before scopes existed. A limited key is refused with 403 and the code `API_KEY_SCOPE_MISSING` on anything outside its scopes, so a key held by a build server or by a partner\'s backend can be given only the part of the API it uses. The scopes of a key are fixed when it is made: to widen one, make a new key and delete the old one. A limited key cannot make, change or delete keys, exchange tokens or reach the administration routes. The list of scopes is in the `ApiKeyScope` schema. An account can hold at most 25 keys. An account on a plan without API access cannot make one.
|
|
71
71
|
* Create an API key
|
|
72
72
|
*/
|
|
73
|
-
createUserApiKeyRaw(requestParameters:
|
|
73
|
+
createUserApiKeyRaw(requestParameters: CreateUserApiKey0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreatedUserApiKey>>;
|
|
74
74
|
/**
|
|
75
75
|
* Makes a new API key for an account and returns its secret in `key`. That is the only time the secret is shown: Widgetic keeps a hash, so a key that was not stored cannot be recovered, only replaced. To rotate a key, make the new one, switch the integration over to it, then delete the old one. Only a person signed in on widgetic.com can make a key: a request made with an API key, or with an SDK token, is refused with 403. That way a leaked key cannot be used to make a second one that survives its revocation. Make keys from the dashboard; a key can still list, rename, switch off and delete keys. An `Idempotency-Key` header is required (8 to 50 characters: letters, digits, `-` and `_`). A retry with the same header and the same body returns the same answer instead of making a second key, and the same header with a different body is refused with 422. Make keys one at a time: two requests for the same account that run at the same moment can overwrite each other. A key can be limited to what it needs. Send a `preset` (`read_only`, `content` or `full_access`) or a list of `scopes`, never both. Send neither for a key that can do everything its owner can, as every key made before scopes existed. A limited key is refused with 403 and the code `API_KEY_SCOPE_MISSING` on anything outside its scopes, so a key held by a build server or by a partner\'s backend can be given only the part of the API it uses. The scopes of a key are fixed when it is made: to widen one, make a new key and delete the old one. A limited key cannot make, change or delete keys, exchange tokens or reach the administration routes. The list of scopes is in the `ApiKeyScope` schema. An account can hold at most 25 keys. An account on a plan without API access cannot make one.
|
|
76
76
|
* Create an API key
|
|
77
77
|
*/
|
|
78
|
-
createUserApiKey(requestParameters:
|
|
78
|
+
createUserApiKey(requestParameters: CreateUserApiKey0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreatedUserApiKey>;
|
|
79
79
|
/**
|
|
80
80
|
* Removes one entry from an account\'s own list. When it was the last one, nothing is restricted any more and a widget can be shown anywhere again. A change can take about 15 seconds to reach every server.
|
|
81
81
|
* Stop allowing a website to show your widgets
|
|
82
82
|
*/
|
|
83
|
-
deletePersonalWorkspaceDomainRaw(requestParameters:
|
|
83
|
+
deletePersonalWorkspaceDomainRaw(requestParameters: DeletePersonalWorkspaceDomain0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeletePersonalWorkspaceDomain200Response>>;
|
|
84
84
|
/**
|
|
85
85
|
* Removes one entry from an account\'s own list. When it was the last one, nothing is restricted any more and a widget can be shown anywhere again. A change can take about 15 seconds to reach every server.
|
|
86
86
|
* Stop allowing a website to show your widgets
|
|
87
87
|
*/
|
|
88
|
-
deletePersonalWorkspaceDomain(requestParameters:
|
|
88
|
+
deletePersonalWorkspaceDomain(requestParameters: DeletePersonalWorkspaceDomain0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeletePersonalWorkspaceDomain200Response>;
|
|
89
89
|
/**
|
|
90
90
|
* Deletes a key and the record of what it was used for. The key stops working at once on the server that took the request and within a minute on the others, and cannot be brought back: make a new one instead. To stop a key without losing it, switch it off with `updateUserApiKey`.
|
|
91
91
|
* Delete an API key
|
|
92
92
|
*/
|
|
93
|
-
deleteUserApiKeyRaw(requestParameters:
|
|
93
|
+
deleteUserApiKeyRaw(requestParameters: DeleteUserApiKey0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<DeleteUserApiKey200Response>>;
|
|
94
94
|
/**
|
|
95
95
|
* Deletes a key and the record of what it was used for. The key stops working at once on the server that took the request and within a minute on the others, and cannot be brought back: make a new one instead. To stop a key without losing it, switch it off with `updateUserApiKey`.
|
|
96
96
|
* Delete an API key
|
|
97
97
|
*/
|
|
98
|
-
deleteUserApiKey(requestParameters:
|
|
98
|
+
deleteUserApiKey(requestParameters: DeleteUserApiKey0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<DeleteUserApiKey200Response>;
|
|
99
99
|
/**
|
|
100
100
|
* Returns the caller\'s profile, including user_role. Any signed-in account may call it.
|
|
101
101
|
* The signed-in account
|
|
@@ -110,52 +110,52 @@ export declare class UsersApi extends runtime.BaseAPI {
|
|
|
110
110
|
* Lists the websites on an account\'s own list, newest first. It is the list Widgetic checks when a widget of the account is embedded: when it holds at least one website, the widget is shown on those websites (and on Widgetic\'s own) and nowhere else; when it is empty, the widget can be shown anywhere. If the account administers a partner, the websites set on the partner record by Widgetic are added to them. Widgets that belong to an organization use the organization\'s list instead.
|
|
111
111
|
* List the websites allowed to show your widgets
|
|
112
112
|
*/
|
|
113
|
-
getPersonalWorkspaceDomainsRaw(requestParameters:
|
|
113
|
+
getPersonalWorkspaceDomainsRaw(requestParameters: GetPersonalWorkspaceDomains0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetPersonalWorkspaceDomains200Response>>;
|
|
114
114
|
/**
|
|
115
115
|
* Lists the websites on an account\'s own list, newest first. It is the list Widgetic checks when a widget of the account is embedded: when it holds at least one website, the widget is shown on those websites (and on Widgetic\'s own) and nowhere else; when it is empty, the widget can be shown anywhere. If the account administers a partner, the websites set on the partner record by Widgetic are added to them. Widgets that belong to an organization use the organization\'s list instead.
|
|
116
116
|
* List the websites allowed to show your widgets
|
|
117
117
|
*/
|
|
118
|
-
getPersonalWorkspaceDomains(requestParameters:
|
|
118
|
+
getPersonalWorkspaceDomains(requestParameters: GetPersonalWorkspaceDomains0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetPersonalWorkspaceDomains200Response>;
|
|
119
119
|
/**
|
|
120
120
|
* Lists the calls made with one key, newest first: when, which path and method, and the status each ended with. Use it to see whether a key is still in use before deleting it, or to see what a key that should not be in use has been doing.
|
|
121
121
|
* Read what an API key was used for
|
|
122
122
|
*/
|
|
123
|
-
getUserApiKeyUsageLogsRaw(requestParameters:
|
|
123
|
+
getUserApiKeyUsageLogsRaw(requestParameters: GetUserApiKeyUsageLogs0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetUserApiKeyUsageLogs200Response>>;
|
|
124
124
|
/**
|
|
125
125
|
* Lists the calls made with one key, newest first: when, which path and method, and the status each ended with. Use it to see whether a key is still in use before deleting it, or to see what a key that should not be in use has been doing.
|
|
126
126
|
* Read what an API key was used for
|
|
127
127
|
*/
|
|
128
|
-
getUserApiKeyUsageLogs(requestParameters:
|
|
128
|
+
getUserApiKeyUsageLogs(requestParameters: GetUserApiKeyUsageLogs0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetUserApiKeyUsageLogs200Response>;
|
|
129
129
|
/**
|
|
130
130
|
* Lists the API keys of an account, in the order they were made: name, the first characters of the key, when it was made, when it expires, when it was last used, whether it is switched on and what it is limited to (`scopes` and `preset`). The secret of a key is never part of the list. A caller can list its own account\'s keys; Widgetic staff can list any account\'s.
|
|
131
131
|
* List the API keys of an account
|
|
132
132
|
*/
|
|
133
|
-
getUserApiKeysRaw(requestParameters:
|
|
133
|
+
getUserApiKeysRaw(requestParameters: GetUserApiKeys0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetUserApiKeys200Response>>;
|
|
134
134
|
/**
|
|
135
135
|
* Lists the API keys of an account, in the order they were made: name, the first characters of the key, when it was made, when it expires, when it was last used, whether it is switched on and what it is limited to (`scopes` and `preset`). The secret of a key is never part of the list. A caller can list its own account\'s keys; Widgetic staff can list any account\'s.
|
|
136
136
|
* List the API keys of an account
|
|
137
137
|
*/
|
|
138
|
-
getUserApiKeys(requestParameters:
|
|
138
|
+
getUserApiKeys(requestParameters: GetUserApiKeys0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetUserApiKeys200Response>;
|
|
139
139
|
/**
|
|
140
140
|
* Replaces the website of one entry on an account\'s own list. The same rules apply as when adding one (`addPersonalWorkspaceDomain`): a website name such as `example.com` or `*.example.com`, kept in its cleaned form, and refused when it is not a website name or is already on the list.
|
|
141
141
|
* Change a website on your list
|
|
142
142
|
*/
|
|
143
|
-
updatePersonalWorkspaceDomainRaw(requestParameters:
|
|
143
|
+
updatePersonalWorkspaceDomainRaw(requestParameters: UpdatePersonalWorkspaceDomain0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PersonalWorkspaceDomainResult>>;
|
|
144
144
|
/**
|
|
145
145
|
* Replaces the website of one entry on an account\'s own list. The same rules apply as when adding one (`addPersonalWorkspaceDomain`): a website name such as `example.com` or `*.example.com`, kept in its cleaned form, and refused when it is not a website name or is already on the list.
|
|
146
146
|
* Change a website on your list
|
|
147
147
|
*/
|
|
148
|
-
updatePersonalWorkspaceDomain(requestParameters:
|
|
148
|
+
updatePersonalWorkspaceDomain(requestParameters: UpdatePersonalWorkspaceDomain0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PersonalWorkspaceDomainResult>;
|
|
149
149
|
/**
|
|
150
150
|
* Renames a key, or switches it off (`isActive: false`) or back on. A key that is switched off is refused at once by the server that took the request and within a minute by the others, and can be switched on again; deleting is for a key that is not coming back. The secret, the expiry and the scopes of a key cannot be changed. Only a key with full access can make these requests: a key limited to some scopes is refused with 403 and the code `API_KEY_SCOPE_MISSING`. Renaming and switching off can be done with an API key. Switching a key on needs a person signed in on widgetic.com: a request that asks for it with an API key or an SDK token is refused with 403, so a leaked key cannot bring a dormant key back to life.
|
|
151
151
|
* Rename an API key, or switch it off or on
|
|
152
152
|
*/
|
|
153
|
-
updateUserApiKeyRaw(requestParameters:
|
|
153
|
+
updateUserApiKeyRaw(requestParameters: UpdateUserApiKey0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UserApiKey>>;
|
|
154
154
|
/**
|
|
155
155
|
* Renames a key, or switches it off (`isActive: false`) or back on. A key that is switched off is refused at once by the server that took the request and within a minute by the others, and can be switched on again; deleting is for a key that is not coming back. The secret, the expiry and the scopes of a key cannot be changed. Only a key with full access can make these requests: a key limited to some scopes is refused with 403 and the code `API_KEY_SCOPE_MISSING`. Renaming and switching off can be done with an API key. Switching a key on needs a person signed in on widgetic.com: a request that asks for it with an API key or an SDK token is refused with 403, so a leaked key cannot bring a dormant key back to life.
|
|
156
156
|
* Rename an API key, or switch it off or on
|
|
157
157
|
*/
|
|
158
|
-
updateUserApiKey(requestParameters:
|
|
158
|
+
updateUserApiKey(requestParameters: UpdateUserApiKey0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserApiKey>;
|
|
159
159
|
/**
|
|
160
160
|
* Personal workspace billing status for the authenticated user
|
|
161
161
|
*/
|
|
@@ -10,11 +10,16 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { CheckWidgetAccess200Response, CreateWidget201Response, DeleteWidgetRequest, DuplicateWidget201Response, DuplicateWidgetRequest, GetWidgetPublishHistory200Response, GetWidgets200Response, GetWidgetsBatch200Response, GetWidgetsBatchRequest, NewWidget, RenameWidgetPublishHistoryTitle200Response, RenameWidgetPublishHistoryTitleRequest, SetWidgetPublishHistoryLive200Response, UpdateWidgetRepository200Response, UpdateWidgetRepositoryRequest, UpdateWidgetRequest, UploadWidgetThumbnail200Response, UploadWidgetThumbnailRequest } from '../models/index';
|
|
13
|
+
import type { CheckWidgetAccess200Response, CreateCompositionFromWidget201Response, CreateCompositionFromWidgetRequest, CreateWidget201Response, DeleteWidgetRequest, DuplicateWidget201Response, DuplicateWidgetRequest, GetWidgetPublishHistory200Response, GetWidgets200Response, GetWidgetsBatch200Response, GetWidgetsBatchRequest, NewWidget, RenameWidgetPublishHistoryTitle200Response, RenameWidgetPublishHistoryTitleRequest, SetWidgetPublishHistoryLive200Response, UpdateWidgetRepository200Response, UpdateWidgetRepositoryRequest, UpdateWidgetRequest, UploadWidgetThumbnail200Response, UploadWidgetThumbnailRequest } from '../models/index';
|
|
14
14
|
export interface CheckWidgetAccessRequest {
|
|
15
15
|
id: string;
|
|
16
16
|
}
|
|
17
|
-
export interface
|
|
17
|
+
export interface CreateCompositionFromWidget0Request {
|
|
18
|
+
id: string;
|
|
19
|
+
createCompositionFromWidgetRequest: CreateCompositionFromWidgetRequest;
|
|
20
|
+
idempotencyKey?: string;
|
|
21
|
+
}
|
|
22
|
+
export interface CreateWidget0Request {
|
|
18
23
|
newWidget: NewWidget;
|
|
19
24
|
idempotencyKey?: string;
|
|
20
25
|
}
|
|
@@ -39,16 +44,16 @@ export interface GetWidgetDesignSchemaRequest {
|
|
|
39
44
|
export interface GetWidgetPublishHistoryRequest {
|
|
40
45
|
widgetId: string;
|
|
41
46
|
}
|
|
42
|
-
export interface
|
|
47
|
+
export interface GetWidgetsBatchOperationRequest {
|
|
48
|
+
getWidgetsBatchRequest: GetWidgetsBatchRequest;
|
|
49
|
+
}
|
|
50
|
+
export interface GetWidgets0Request {
|
|
43
51
|
page?: number;
|
|
44
52
|
size?: number;
|
|
45
53
|
canvasId?: string;
|
|
46
54
|
managedUserId?: string;
|
|
47
55
|
managedUserExternalId?: string;
|
|
48
56
|
}
|
|
49
|
-
export interface GetWidgetsBatchOperationRequest {
|
|
50
|
-
getWidgetsBatchRequest: GetWidgetsBatchRequest;
|
|
51
|
-
}
|
|
52
57
|
export interface RenameWidgetPublishHistoryTitleOperationRequest {
|
|
53
58
|
widgetId: string;
|
|
54
59
|
version: number;
|
|
@@ -84,16 +89,26 @@ export declare class WidgetsApi extends runtime.BaseAPI {
|
|
|
84
89
|
* Check Widget Access
|
|
85
90
|
*/
|
|
86
91
|
checkWidgetAccess(requestParameters: CheckWidgetAccessRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CheckWidgetAccess200Response>;
|
|
92
|
+
/**
|
|
93
|
+
* After a managed user publishes a widget from the creator, call this with the widget id, the customer\'s managed user (when the widget is not already filed under one), and optional content, design, embed settings and locale. Every input is validated before a single insert; a failure never leaves a half-made composition. When the widget is already tagged with a managed user, you may omit `managed_user_id`. When you send it, it must match that tag. The widget must be published. The `Idempotency-Key` header is required.
|
|
94
|
+
* Create a composition for a widget in one call
|
|
95
|
+
*/
|
|
96
|
+
createCompositionFromWidgetRaw(requestParameters: CreateCompositionFromWidget0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateCompositionFromWidget201Response>>;
|
|
97
|
+
/**
|
|
98
|
+
* After a managed user publishes a widget from the creator, call this with the widget id, the customer\'s managed user (when the widget is not already filed under one), and optional content, design, embed settings and locale. Every input is validated before a single insert; a failure never leaves a half-made composition. When the widget is already tagged with a managed user, you may omit `managed_user_id`. When you send it, it must match that tag. The widget must be published. The `Idempotency-Key` header is required.
|
|
99
|
+
* Create a composition for a widget in one call
|
|
100
|
+
*/
|
|
101
|
+
createCompositionFromWidget(requestParameters: CreateCompositionFromWidget0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateCompositionFromWidget201Response>;
|
|
87
102
|
/**
|
|
88
103
|
* Creates a widget for your account: a named record with a type and some starting content, on a canvas of its own (or one of yours that you name), with a database provisioned for it. It costs no credits and has no code yet; the code is generated for it afterwards. The new widget is yours, and you can list it with `getWidgets`. A widget is a draft until you say otherwise (`isDraft: false`). If the database cannot be provisioned the widget is still created, and `data.warnings` says what did not go through. Read it before relying on the widget. A widget can be placed on one of your canvases (`canvasId`), in a project you can edit (`projectId`) or in an organization where you may create widgets (`organizationId`). Naming anything you cannot use is refused with 403, and the answer is the same whether it exists or not. To make the widget for one of your managed users, send `managedUserId` or `managedUserExternalId`. The widget stays in your account and is yours to edit; the tag lets you list one user\'s widgets with `getWidgets`. The managed user must be yours and active: one that is not yours, or does not exist, is answered with 404 and `MANAGED_USER_NOT_FOUND`, and one that is switched off with 409 and `MANAGED_USER_INACTIVE`. The tag is set here and does not change afterwards. Creating a widget provisions its database, so this call has a limit of its own: 120 per minute for each account (ask Widgetic if you need more). Past that the call is answered with 429 and a `Retry-After`. The `Idempotency-Key` header is required; send the same key when you retry, so one widget is created, not two.
|
|
89
104
|
* Create Widget
|
|
90
105
|
*/
|
|
91
|
-
createWidgetRaw(requestParameters:
|
|
106
|
+
createWidgetRaw(requestParameters: CreateWidget0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<CreateWidget201Response>>;
|
|
92
107
|
/**
|
|
93
108
|
* Creates a widget for your account: a named record with a type and some starting content, on a canvas of its own (or one of yours that you name), with a database provisioned for it. It costs no credits and has no code yet; the code is generated for it afterwards. The new widget is yours, and you can list it with `getWidgets`. A widget is a draft until you say otherwise (`isDraft: false`). If the database cannot be provisioned the widget is still created, and `data.warnings` says what did not go through. Read it before relying on the widget. A widget can be placed on one of your canvases (`canvasId`), in a project you can edit (`projectId`) or in an organization where you may create widgets (`organizationId`). Naming anything you cannot use is refused with 403, and the answer is the same whether it exists or not. To make the widget for one of your managed users, send `managedUserId` or `managedUserExternalId`. The widget stays in your account and is yours to edit; the tag lets you list one user\'s widgets with `getWidgets`. The managed user must be yours and active: one that is not yours, or does not exist, is answered with 404 and `MANAGED_USER_NOT_FOUND`, and one that is switched off with 409 and `MANAGED_USER_INACTIVE`. The tag is set here and does not change afterwards. Creating a widget provisions its database, so this call has a limit of its own: 120 per minute for each account (ask Widgetic if you need more). Past that the call is answered with 429 and a `Retry-After`. The `Idempotency-Key` header is required; send the same key when you retry, so one widget is created, not two.
|
|
94
109
|
* Create Widget
|
|
95
110
|
*/
|
|
96
|
-
createWidget(requestParameters:
|
|
111
|
+
createWidget(requestParameters: CreateWidget0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<CreateWidget201Response>;
|
|
97
112
|
/**
|
|
98
113
|
* Permanently deletes a widget and all related resources. Users can delete their own widgets; admin API key can delete any widget.
|
|
99
114
|
* Delete Widget
|
|
@@ -154,16 +169,6 @@ export declare class WidgetsApi extends runtime.BaseAPI {
|
|
|
154
169
|
* List version history for a widget
|
|
155
170
|
*/
|
|
156
171
|
getWidgetPublishHistory(requestParameters: GetWidgetPublishHistoryRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetWidgetPublishHistory200Response>;
|
|
157
|
-
/**
|
|
158
|
-
* Lists the widgets your account owns, newest first. A widget is the reusable piece a composition is made from; this is your own library, not a catalogue of Widgetic\'s widgets. Pass `page` (counting from 1) and `size` (1 to 100, 20 when left out) to read the list one page at a time. `meta` then carries `total`, `hasNextPage` and `hasPreviousPage`, so a client can walk the list to its end. A page past the end is an empty list. Without `page` and `size` the call returns the whole list in one response, which only suits an account with a few widgets. Pass `canvasId` to list only the widgets on one of your canvases. That list is always returned whole, whatever `page` and `size` say. Pass `managedUserId` (Widgetic\'s id for one of your managed users) or `managedUserExternalId` (your own identifier for the user) to list only the widgets made for that managed user. The widgets of your other managed users, and your own, are left out. It combines with `page`, `size` and `canvasId`. A managed user that is not yours, or does not exist, is answered with 404 and `MANAGED_USER_NOT_FOUND`.
|
|
159
|
-
* List Widgets
|
|
160
|
-
*/
|
|
161
|
-
getWidgetsRaw(requestParameters: GetWidgetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetWidgets200Response>>;
|
|
162
|
-
/**
|
|
163
|
-
* Lists the widgets your account owns, newest first. A widget is the reusable piece a composition is made from; this is your own library, not a catalogue of Widgetic\'s widgets. Pass `page` (counting from 1) and `size` (1 to 100, 20 when left out) to read the list one page at a time. `meta` then carries `total`, `hasNextPage` and `hasPreviousPage`, so a client can walk the list to its end. A page past the end is an empty list. Without `page` and `size` the call returns the whole list in one response, which only suits an account with a few widgets. Pass `canvasId` to list only the widgets on one of your canvases. That list is always returned whole, whatever `page` and `size` say. Pass `managedUserId` (Widgetic\'s id for one of your managed users) or `managedUserExternalId` (your own identifier for the user) to list only the widgets made for that managed user. The widgets of your other managed users, and your own, are left out. It combines with `page`, `size` and `canvasId`. A managed user that is not yours, or does not exist, is answered with 404 and `MANAGED_USER_NOT_FOUND`.
|
|
164
|
-
* List Widgets
|
|
165
|
-
*/
|
|
166
|
-
getWidgets(requestParameters?: GetWidgetsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetWidgets200Response>;
|
|
167
172
|
/**
|
|
168
173
|
* Retrieves multiple widgets by their IDs in a single request. An id that is not found, or that is not yours, is reported in `errors` exactly like one that does not exist. Called with an editor session, only the widgets made for the session\'s managed user are returned.
|
|
169
174
|
* Get Widgets Batch
|
|
@@ -174,6 +179,16 @@ export declare class WidgetsApi extends runtime.BaseAPI {
|
|
|
174
179
|
* Get Widgets Batch
|
|
175
180
|
*/
|
|
176
181
|
getWidgetsBatch(requestParameters: GetWidgetsBatchOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetWidgetsBatch200Response>;
|
|
182
|
+
/**
|
|
183
|
+
* Lists the widgets your account owns, newest first. A widget is the reusable piece a composition is made from; this is your own library, not a catalogue of Widgetic\'s widgets. Pass `page` (counting from 1) and `size` (1 to 100, 20 when left out) to read the list one page at a time. `meta` then carries `total`, `hasNextPage` and `hasPreviousPage`, so a client can walk the list to its end. A page past the end is an empty list. Without `page` and `size` the call returns the whole list in one response, which only suits an account with a few widgets. Pass `canvasId` to list only the widgets on one of your canvases. That list is always returned whole, whatever `page` and `size` say. Pass `managedUserId` (Widgetic\'s id for one of your managed users) or `managedUserExternalId` (your own identifier for the user) to list only the widgets made for that managed user. The widgets of your other managed users, and your own, are left out. It combines with `page`, `size` and `canvasId`. A managed user that is not yours, or does not exist, is answered with 404 and `MANAGED_USER_NOT_FOUND`.
|
|
184
|
+
* List Widgets
|
|
185
|
+
*/
|
|
186
|
+
getWidgetsRaw(requestParameters: GetWidgets0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GetWidgets200Response>>;
|
|
187
|
+
/**
|
|
188
|
+
* Lists the widgets your account owns, newest first. A widget is the reusable piece a composition is made from; this is your own library, not a catalogue of Widgetic\'s widgets. Pass `page` (counting from 1) and `size` (1 to 100, 20 when left out) to read the list one page at a time. `meta` then carries `total`, `hasNextPage` and `hasPreviousPage`, so a client can walk the list to its end. A page past the end is an empty list. Without `page` and `size` the call returns the whole list in one response, which only suits an account with a few widgets. Pass `canvasId` to list only the widgets on one of your canvases. That list is always returned whole, whatever `page` and `size` say. Pass `managedUserId` (Widgetic\'s id for one of your managed users) or `managedUserExternalId` (your own identifier for the user) to list only the widgets made for that managed user. The widgets of your other managed users, and your own, are left out. It combines with `page`, `size` and `canvasId`. A managed user that is not yours, or does not exist, is answered with 404 and `MANAGED_USER_NOT_FOUND`.
|
|
189
|
+
* List Widgets
|
|
190
|
+
*/
|
|
191
|
+
getWidgets(requestParameters?: GetWidgets0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetWidgets200Response>;
|
|
177
192
|
/**
|
|
178
193
|
* Updates `commit_title` on one version — the owner\'s correction of the wording the codegen pipeline authored for the commit. Works on Draft and Live versions alike; the Live badge says what is being served, the title says what the change was. A whitespace-only title clears it.
|
|
179
194
|
* Rename a version\'s title
|
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime.js';
|
|
24
|
-
import { CheckWidgetAccess200ResponseFromJSON, CreateWidget201ResponseFromJSON, DeleteWidgetRequestToJSON, DuplicateWidget201ResponseFromJSON, DuplicateWidgetRequestToJSON, GetWidgetPublishHistory200ResponseFromJSON, GetWidgets200ResponseFromJSON, GetWidgetsBatch200ResponseFromJSON, GetWidgetsBatchRequestToJSON, NewWidgetToJSON, RenameWidgetPublishHistoryTitle200ResponseFromJSON, RenameWidgetPublishHistoryTitleRequestToJSON, SetWidgetPublishHistoryLive200ResponseFromJSON, UpdateWidgetRepository200ResponseFromJSON, UpdateWidgetRepositoryRequestToJSON, UpdateWidgetRequestToJSON, UploadWidgetThumbnail200ResponseFromJSON, UploadWidgetThumbnailRequestToJSON, } from '../models/index.js';
|
|
24
|
+
import { CheckWidgetAccess200ResponseFromJSON, CreateCompositionFromWidget201ResponseFromJSON, CreateCompositionFromWidgetRequestToJSON, CreateWidget201ResponseFromJSON, DeleteWidgetRequestToJSON, DuplicateWidget201ResponseFromJSON, DuplicateWidgetRequestToJSON, GetWidgetPublishHistory200ResponseFromJSON, GetWidgets200ResponseFromJSON, GetWidgetsBatch200ResponseFromJSON, GetWidgetsBatchRequestToJSON, NewWidgetToJSON, RenameWidgetPublishHistoryTitle200ResponseFromJSON, RenameWidgetPublishHistoryTitleRequestToJSON, SetWidgetPublishHistoryLive200ResponseFromJSON, UpdateWidgetRepository200ResponseFromJSON, UpdateWidgetRepositoryRequestToJSON, UpdateWidgetRequestToJSON, UploadWidgetThumbnail200ResponseFromJSON, UploadWidgetThumbnailRequestToJSON, } from '../models/index.js';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -63,6 +63,51 @@ export class WidgetsApi extends runtime.BaseAPI {
|
|
|
63
63
|
return yield response.value();
|
|
64
64
|
});
|
|
65
65
|
}
|
|
66
|
+
/**
|
|
67
|
+
* After a managed user publishes a widget from the creator, call this with the widget id, the customer\'s managed user (when the widget is not already filed under one), and optional content, design, embed settings and locale. Every input is validated before a single insert; a failure never leaves a half-made composition. When the widget is already tagged with a managed user, you may omit `managed_user_id`. When you send it, it must match that tag. The widget must be published. The `Idempotency-Key` header is required.
|
|
68
|
+
* Create a composition for a widget in one call
|
|
69
|
+
*/
|
|
70
|
+
createCompositionFromWidgetRaw(requestParameters, initOverrides) {
|
|
71
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
72
|
+
if (requestParameters['id'] == null) {
|
|
73
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling createCompositionFromWidget().');
|
|
74
|
+
}
|
|
75
|
+
if (requestParameters['createCompositionFromWidgetRequest'] == null) {
|
|
76
|
+
throw new runtime.RequiredError('createCompositionFromWidgetRequest', 'Required parameter "createCompositionFromWidgetRequest" was null or undefined when calling createCompositionFromWidget().');
|
|
77
|
+
}
|
|
78
|
+
const queryParameters = {};
|
|
79
|
+
const headerParameters = {};
|
|
80
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
81
|
+
if (requestParameters['idempotencyKey'] != null) {
|
|
82
|
+
headerParameters['Idempotency-Key'] = String(requestParameters['idempotencyKey']);
|
|
83
|
+
}
|
|
84
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
85
|
+
const token = this.configuration.accessToken;
|
|
86
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
87
|
+
if (tokenString) {
|
|
88
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
const response = yield this.request({
|
|
92
|
+
path: `/widgets/{id}/composition`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters['id']))),
|
|
93
|
+
method: 'POST',
|
|
94
|
+
headers: headerParameters,
|
|
95
|
+
query: queryParameters,
|
|
96
|
+
body: CreateCompositionFromWidgetRequestToJSON(requestParameters['createCompositionFromWidgetRequest']),
|
|
97
|
+
}, initOverrides);
|
|
98
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => CreateCompositionFromWidget201ResponseFromJSON(jsonValue));
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* After a managed user publishes a widget from the creator, call this with the widget id, the customer\'s managed user (when the widget is not already filed under one), and optional content, design, embed settings and locale. Every input is validated before a single insert; a failure never leaves a half-made composition. When the widget is already tagged with a managed user, you may omit `managed_user_id`. When you send it, it must match that tag. The widget must be published. The `Idempotency-Key` header is required.
|
|
103
|
+
* Create a composition for a widget in one call
|
|
104
|
+
*/
|
|
105
|
+
createCompositionFromWidget(requestParameters, initOverrides) {
|
|
106
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
107
|
+
const response = yield this.createCompositionFromWidgetRaw(requestParameters, initOverrides);
|
|
108
|
+
return yield response.value();
|
|
109
|
+
});
|
|
110
|
+
}
|
|
66
111
|
/**
|
|
67
112
|
* Creates a widget for your account: a named record with a type and some starting content, on a canvas of its own (or one of yours that you name), with a database provisioned for it. It costs no credits and has no code yet; the code is generated for it afterwards. The new widget is yours, and you can list it with `getWidgets`. A widget is a draft until you say otherwise (`isDraft: false`). If the database cannot be provisioned the widget is still created, and `data.warnings` says what did not go through. Read it before relying on the widget. A widget can be placed on one of your canvases (`canvasId`), in a project you can edit (`projectId`) or in an organization where you may create widgets (`organizationId`). Naming anything you cannot use is refused with 403, and the answer is the same whether it exists or not. To make the widget for one of your managed users, send `managedUserId` or `managedUserExternalId`. The widget stays in your account and is yours to edit; the tag lets you list one user\'s widgets with `getWidgets`. The managed user must be yours and active: one that is not yours, or does not exist, is answered with 404 and `MANAGED_USER_NOT_FOUND`, and one that is switched off with 409 and `MANAGED_USER_INACTIVE`. The tag is set here and does not change afterwards. Creating a widget provisions its database, so this call has a limit of its own: 120 per minute for each account (ask Widgetic if you need more). Past that the call is answered with 429 and a `Retry-After`. The `Idempotency-Key` header is required; send the same key when you retry, so one widget is created, not two.
|
|
68
113
|
* Create Widget
|
|
@@ -339,6 +384,45 @@ export class WidgetsApi extends runtime.BaseAPI {
|
|
|
339
384
|
return yield response.value();
|
|
340
385
|
});
|
|
341
386
|
}
|
|
387
|
+
/**
|
|
388
|
+
* Retrieves multiple widgets by their IDs in a single request. An id that is not found, or that is not yours, is reported in `errors` exactly like one that does not exist. Called with an editor session, only the widgets made for the session\'s managed user are returned.
|
|
389
|
+
* Get Widgets Batch
|
|
390
|
+
*/
|
|
391
|
+
getWidgetsBatchRaw(requestParameters, initOverrides) {
|
|
392
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
393
|
+
if (requestParameters['getWidgetsBatchRequest'] == null) {
|
|
394
|
+
throw new runtime.RequiredError('getWidgetsBatchRequest', 'Required parameter "getWidgetsBatchRequest" was null or undefined when calling getWidgetsBatch().');
|
|
395
|
+
}
|
|
396
|
+
const queryParameters = {};
|
|
397
|
+
const headerParameters = {};
|
|
398
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
399
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
400
|
+
const token = this.configuration.accessToken;
|
|
401
|
+
const tokenString = yield token("apiKeyAuth", []);
|
|
402
|
+
if (tokenString) {
|
|
403
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
404
|
+
}
|
|
405
|
+
}
|
|
406
|
+
const response = yield this.request({
|
|
407
|
+
path: `/widgets/batch`,
|
|
408
|
+
method: 'POST',
|
|
409
|
+
headers: headerParameters,
|
|
410
|
+
query: queryParameters,
|
|
411
|
+
body: GetWidgetsBatchRequestToJSON(requestParameters['getWidgetsBatchRequest']),
|
|
412
|
+
}, initOverrides);
|
|
413
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => GetWidgetsBatch200ResponseFromJSON(jsonValue));
|
|
414
|
+
});
|
|
415
|
+
}
|
|
416
|
+
/**
|
|
417
|
+
* Retrieves multiple widgets by their IDs in a single request. An id that is not found, or that is not yours, is reported in `errors` exactly like one that does not exist. Called with an editor session, only the widgets made for the session\'s managed user are returned.
|
|
418
|
+
* Get Widgets Batch
|
|
419
|
+
*/
|
|
420
|
+
getWidgetsBatch(requestParameters, initOverrides) {
|
|
421
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
422
|
+
const response = yield this.getWidgetsBatchRaw(requestParameters, initOverrides);
|
|
423
|
+
return yield response.value();
|
|
424
|
+
});
|
|
425
|
+
}
|
|
342
426
|
/**
|
|
343
427
|
* Lists the widgets your account owns, newest first. A widget is the reusable piece a composition is made from; this is your own library, not a catalogue of Widgetic\'s widgets. Pass `page` (counting from 1) and `size` (1 to 100, 20 when left out) to read the list one page at a time. `meta` then carries `total`, `hasNextPage` and `hasPreviousPage`, so a client can walk the list to its end. A page past the end is an empty list. Without `page` and `size` the call returns the whole list in one response, which only suits an account with a few widgets. Pass `canvasId` to list only the widgets on one of your canvases. That list is always returned whole, whatever `page` and `size` say. Pass `managedUserId` (Widgetic\'s id for one of your managed users) or `managedUserExternalId` (your own identifier for the user) to list only the widgets made for that managed user. The widgets of your other managed users, and your own, are left out. It combines with `page`, `size` and `canvasId`. A managed user that is not yours, or does not exist, is answered with 404 and `MANAGED_USER_NOT_FOUND`.
|
|
344
428
|
* List Widgets
|
|
@@ -388,45 +472,6 @@ export class WidgetsApi extends runtime.BaseAPI {
|
|
|
388
472
|
return yield response.value();
|
|
389
473
|
});
|
|
390
474
|
}
|
|
391
|
-
/**
|
|
392
|
-
* Retrieves multiple widgets by their IDs in a single request. An id that is not found, or that is not yours, is reported in `errors` exactly like one that does not exist. Called with an editor session, only the widgets made for the session\'s managed user are returned.
|
|
393
|
-
* Get Widgets Batch
|
|
394
|
-
*/
|
|
395
|
-
getWidgetsBatchRaw(requestParameters, initOverrides) {
|
|
396
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
397
|
-
if (requestParameters['getWidgetsBatchRequest'] == null) {
|
|
398
|
-
throw new runtime.RequiredError('getWidgetsBatchRequest', 'Required parameter "getWidgetsBatchRequest" was null or undefined when calling getWidgetsBatch().');
|
|
399
|
-
}
|
|
400
|
-
const queryParameters = {};
|
|
401
|
-
const headerParameters = {};
|
|
402
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
403
|
-
if (this.configuration && this.configuration.accessToken) {
|
|
404
|
-
const token = this.configuration.accessToken;
|
|
405
|
-
const tokenString = yield token("apiKeyAuth", []);
|
|
406
|
-
if (tokenString) {
|
|
407
|
-
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
408
|
-
}
|
|
409
|
-
}
|
|
410
|
-
const response = yield this.request({
|
|
411
|
-
path: `/widgets/batch`,
|
|
412
|
-
method: 'POST',
|
|
413
|
-
headers: headerParameters,
|
|
414
|
-
query: queryParameters,
|
|
415
|
-
body: GetWidgetsBatchRequestToJSON(requestParameters['getWidgetsBatchRequest']),
|
|
416
|
-
}, initOverrides);
|
|
417
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => GetWidgetsBatch200ResponseFromJSON(jsonValue));
|
|
418
|
-
});
|
|
419
|
-
}
|
|
420
|
-
/**
|
|
421
|
-
* Retrieves multiple widgets by their IDs in a single request. An id that is not found, or that is not yours, is reported in `errors` exactly like one that does not exist. Called with an editor session, only the widgets made for the session\'s managed user are returned.
|
|
422
|
-
* Get Widgets Batch
|
|
423
|
-
*/
|
|
424
|
-
getWidgetsBatch(requestParameters, initOverrides) {
|
|
425
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
426
|
-
const response = yield this.getWidgetsBatchRaw(requestParameters, initOverrides);
|
|
427
|
-
return yield response.value();
|
|
428
|
-
});
|
|
429
|
-
}
|
|
430
475
|
/**
|
|
431
476
|
* Updates `commit_title` on one version — the owner\'s correction of the wording the codegen pipeline authored for the commit. Works on Draft and Live versions alike; the Live badge says what is being served, the title says what the change was. A whitespace-only title clears it.
|
|
432
477
|
* Rename a version\'s title
|
|
@@ -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
|
+
* Starts the end-to-end workflow for generating a new component based on initial user requirements. This involves creating a development plan via Task Master, and then executing the plan\'s tasks using Aider for code generation. The process runs asynchronously, and progress should be monitored via WebSockets.
|
|
36
|
+
* Initiate initial component generation workflow
|
|
37
|
+
*/
|
|
38
|
+
workflowsGenerateComponentPostRaw(requestParameters: WorkflowsGenerateComponentPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<WorkflowAcceptedResponse>>;
|
|
39
|
+
/**
|
|
40
|
+
* Starts the end-to-end workflow for generating a new component based on initial user requirements. This involves creating a development plan via Task Master, and then executing the plan\'s tasks using Aider for code generation. The process runs asynchronously, and progress should be monitored via WebSockets.
|
|
41
|
+
* Initiate initial component generation workflow
|
|
42
|
+
*/
|
|
43
|
+
workflowsGenerateComponentPost(requestParameters: WorkflowsGenerateComponentPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<WorkflowAcceptedResponse>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Widgetic API Gateway
|
|
5
|
+
* API documentation for the Widgetic API Gateway
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import * as runtime from '../runtime.js';
|
|
24
|
+
import { GenerateComponentWorkflowInputToJSON, GenerateMixedComponentInputToJSON, WorkflowAcceptedResponseFromJSON, } from '../models/index.js';
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export class WorkflowsApi extends runtime.BaseAPI {
|
|
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
|
+
workflowsGenerateComponentFromMixPostRaw(requestParameters, initOverrides) {
|
|
34
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
35
|
+
if (requestParameters['generateMixedComponentInput'] == null) {
|
|
36
|
+
throw new runtime.RequiredError('generateMixedComponentInput', 'Required parameter "generateMixedComponentInput" was null or undefined when calling workflowsGenerateComponentFromMixPost().');
|
|
37
|
+
}
|
|
38
|
+
const queryParameters = {};
|
|
39
|
+
const headerParameters = {};
|
|
40
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
41
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
42
|
+
const token = this.configuration.accessToken;
|
|
43
|
+
const tokenString = yield token("bearerAuth", []);
|
|
44
|
+
if (tokenString) {
|
|
45
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
const response = yield this.request({
|
|
49
|
+
path: `/workflows/generate-component-from-mix`,
|
|
50
|
+
method: 'POST',
|
|
51
|
+
headers: headerParameters,
|
|
52
|
+
query: queryParameters,
|
|
53
|
+
body: GenerateMixedComponentInputToJSON(requestParameters['generateMixedComponentInput']),
|
|
54
|
+
}, initOverrides);
|
|
55
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => WorkflowAcceptedResponseFromJSON(jsonValue));
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Initiates an asynchronous workflow to create a new component based on instructions applied to one or more source components.
|
|
60
|
+
* Generate a New Component by Mixing Existing Ones
|
|
61
|
+
*/
|
|
62
|
+
workflowsGenerateComponentFromMixPost(requestParameters, initOverrides) {
|
|
63
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
64
|
+
const response = yield this.workflowsGenerateComponentFromMixPostRaw(requestParameters, initOverrides);
|
|
65
|
+
return yield response.value();
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Starts the end-to-end workflow for generating a new component based on initial user requirements. This involves creating a development plan via Task Master, and then executing the plan\'s tasks using Aider for code generation. The process runs asynchronously, and progress should be monitored via WebSockets.
|
|
70
|
+
* Initiate initial component generation workflow
|
|
71
|
+
*/
|
|
72
|
+
workflowsGenerateComponentPostRaw(requestParameters, initOverrides) {
|
|
73
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
74
|
+
if (requestParameters['generateComponentWorkflowInput'] == null) {
|
|
75
|
+
throw new runtime.RequiredError('generateComponentWorkflowInput', 'Required parameter "generateComponentWorkflowInput" was null or undefined when calling workflowsGenerateComponentPost().');
|
|
76
|
+
}
|
|
77
|
+
const queryParameters = {};
|
|
78
|
+
const headerParameters = {};
|
|
79
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
80
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
81
|
+
const token = this.configuration.accessToken;
|
|
82
|
+
const tokenString = yield token("bearerAuth", []);
|
|
83
|
+
if (tokenString) {
|
|
84
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
const response = yield this.request({
|
|
88
|
+
path: `/workflows/generate-component`,
|
|
89
|
+
method: 'POST',
|
|
90
|
+
headers: headerParameters,
|
|
91
|
+
query: queryParameters,
|
|
92
|
+
body: GenerateComponentWorkflowInputToJSON(requestParameters['generateComponentWorkflowInput']),
|
|
93
|
+
}, initOverrides);
|
|
94
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => WorkflowAcceptedResponseFromJSON(jsonValue));
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Starts the end-to-end workflow for generating a new component based on initial user requirements. This involves creating a development plan via Task Master, and then executing the plan\'s tasks using Aider for code generation. The process runs asynchronously, and progress should be monitored via WebSockets.
|
|
99
|
+
* Initiate initial component generation workflow
|
|
100
|
+
*/
|
|
101
|
+
workflowsGenerateComponentPost(requestParameters, initOverrides) {
|
|
102
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
103
|
+
const response = yield this.workflowsGenerateComponentPostRaw(requestParameters, initOverrides);
|
|
104
|
+
return yield response.value();
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
}
|