@widgetic/api-sdk 1.0.32 → 1.0.33
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/README.md +4 -0
- package/dist/apis/AdminApi.d.ts +30 -46
- package/dist/apis/AdminApi.js +53 -102
- package/dist/apis/AdminBillingApi.d.ts +2 -2
- package/dist/apis/AdminBillingApi.js +2 -2
- package/dist/apis/AgentRepositoryManagementApi.d.ts +32 -0
- package/dist/apis/AgentRepositoryManagementApi.js +75 -0
- package/dist/apis/BillingApi.d.ts +44 -1
- package/dist/apis/BillingApi.js +127 -0
- package/dist/apis/CompositionsApi.d.ts +2 -2
- package/dist/apis/CompositionsApi.js +2 -2
- package/dist/apis/CreditsApi.d.ts +7 -7
- package/dist/apis/CreditsApi.js +5 -5
- package/dist/apis/EnterpriseCustomizationsApi.d.ts +87 -0
- package/dist/apis/EnterpriseCustomizationsApi.js +233 -0
- package/dist/apis/OrganizationsApi.d.ts +35 -7
- package/dist/apis/OrganizationsApi.js +86 -6
- package/dist/apis/PartnerApi.d.ts +65 -21
- package/dist/apis/PartnerApi.js +147 -19
- package/dist/apis/PartnerCustomizationsApi.d.ts +4 -4
- package/dist/apis/PartnerCustomizationsApi.js +4 -4
- package/dist/apis/PartnersApi.d.ts +28 -67
- package/dist/apis/PartnersApi.js +31 -119
- package/dist/apis/PublicEmbedApi.d.ts +4 -4
- package/dist/apis/PublicEmbedApi.js +4 -4
- package/dist/apis/SubscriptionsApi.d.ts +2 -2
- package/dist/apis/SubscriptionsApi.js +2 -2
- package/dist/apis/UIComponentsApi.d.ts +96 -0
- package/dist/apis/UIComponentsApi.js +209 -0
- package/dist/apis/UploadsApi.d.ts +4 -4
- package/dist/apis/UploadsApi.js +4 -4
- package/dist/apis/UsersApi.d.ts +4 -4
- package/dist/apis/UsersApi.js +4 -4
- package/dist/apis/WorkflowsApi.d.ts +44 -0
- package/dist/apis/WorkflowsApi.js +111 -0
- package/dist/esm/apis/AdminApi.d.ts +30 -46
- package/dist/esm/apis/AdminApi.js +54 -103
- package/dist/esm/apis/AdminBillingApi.d.ts +2 -2
- package/dist/esm/apis/AdminBillingApi.js +2 -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 +44 -1
- package/dist/esm/apis/BillingApi.js +128 -1
- package/dist/esm/apis/CompositionsApi.d.ts +2 -2
- package/dist/esm/apis/CompositionsApi.js +2 -2
- package/dist/esm/apis/CreditsApi.d.ts +7 -7
- package/dist/esm/apis/CreditsApi.js +6 -6
- package/dist/esm/apis/EnterpriseCustomizationsApi.d.ts +87 -0
- package/dist/esm/apis/EnterpriseCustomizationsApi.js +229 -0
- package/dist/esm/apis/OrganizationsApi.d.ts +35 -7
- package/dist/esm/apis/OrganizationsApi.js +87 -7
- package/dist/esm/apis/PartnerApi.d.ts +65 -21
- package/dist/esm/apis/PartnerApi.js +148 -20
- package/dist/esm/apis/PartnerCustomizationsApi.d.ts +4 -4
- package/dist/esm/apis/PartnerCustomizationsApi.js +4 -4
- package/dist/esm/apis/PartnersApi.d.ts +28 -67
- package/dist/esm/apis/PartnersApi.js +31 -119
- package/dist/esm/apis/PublicEmbedApi.d.ts +4 -4
- package/dist/esm/apis/PublicEmbedApi.js +4 -4
- package/dist/esm/apis/SubscriptionsApi.d.ts +2 -2
- package/dist/esm/apis/SubscriptionsApi.js +2 -2
- package/dist/esm/apis/UIComponentsApi.d.ts +96 -0
- package/dist/esm/apis/UIComponentsApi.js +205 -0
- package/dist/esm/apis/UploadsApi.d.ts +4 -4
- package/dist/esm/apis/UploadsApi.js +4 -4
- package/dist/esm/apis/UsersApi.d.ts +4 -4
- package/dist/esm/apis/UsersApi.js +4 -4
- package/dist/esm/apis/WorkflowsApi.d.ts +44 -0
- package/dist/esm/apis/WorkflowsApi.js +107 -0
- package/dist/esm/models/AgentRepositoriesRepoIdSyncPost202Response.d.ts +32 -0
- package/dist/esm/models/AgentRepositoriesRepoIdSyncPost202Response.js +41 -0
- package/dist/esm/models/AgentRepositoriesRepoIdSyncPostRequest.d.ts +32 -0
- package/dist/esm/models/AgentRepositoriesRepoIdSyncPostRequest.js +43 -0
- package/dist/esm/models/AgentTasksTaskIdStatusPutRequest.d.ts +54 -0
- package/dist/esm/models/AgentTasksTaskIdStatusPutRequest.js +60 -0
- package/dist/esm/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.d.ts +32 -0
- package/dist/esm/models/ApiV1AdminBillingGrantsGrantIdRejectPostRequest.js +41 -0
- package/dist/esm/models/ApiV1AdminBillingGrantsPostRequest.d.ts +82 -0
- package/dist/esm/models/ApiV1AdminBillingGrantsPostRequest.js +79 -0
- package/dist/esm/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.d.ts +32 -0
- package/dist/esm/models/ApiV1AdminBillingPlansPricesBackfillPostRequest.js +41 -0
- package/dist/esm/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.d.ts +32 -0
- package/dist/esm/models/ApiV1AdminBillingPlansPricesPlanTypeBillingFrequencyPutRequest.js +43 -0
- package/dist/esm/models/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/BillingUsersUserIdStorageCancelPackPostRequest.d.ts +40 -0
- package/dist/esm/models/BillingUsersUserIdStorageCancelPackPostRequest.js +43 -0
- package/dist/esm/models/BillingUsersUserIdStorageGet200Response.d.ts +39 -0
- package/dist/esm/models/BillingUsersUserIdStorageGet200Response.js +44 -0
- package/dist/esm/models/BillingUsersUserIdStorageGet200ResponseData.d.ts +33 -0
- package/dist/esm/models/BillingUsersUserIdStorageGet200ResponseData.js +42 -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/ConvertSoloToTeams200Response.d.ts +39 -0
- package/dist/esm/models/ConvertSoloToTeams200Response.js +44 -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/CreateComposition201Response.d.ts +39 -0
- package/dist/esm/models/CreateComposition201Response.js +44 -0
- package/dist/esm/models/CreatePartnerRequest.d.ts +7 -0
- package/dist/esm/models/CreatePartnerRequest.js +2 -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/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/GetOrganizationPricing200ResponseDataStorage.d.ts +3 -2
- package/dist/esm/models/GetOrganizationStorageUsage200ResponseDataBreakdown.d.ts +44 -0
- package/dist/esm/models/GetOrganizationStorageUsage200ResponseDataBreakdown.js +45 -0
- package/dist/esm/models/GetOrganizationStorageUsage200ResponseDataStorageUsage.d.ts +5 -5
- package/dist/esm/models/GetPartnerCreditTransactions200Response.d.ts +39 -0
- package/dist/esm/models/GetPartnerCreditTransactions200Response.js +44 -0
- package/dist/esm/models/IssuePartnerInvoiceRequest.d.ts +14 -1
- package/dist/esm/models/IssuePartnerInvoiceRequest.js +2 -0
- package/dist/esm/models/IssuedPartnerInvoice.d.ts +6 -0
- package/dist/esm/models/IssuedPartnerInvoice.js +4 -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/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/MyPartner.d.ts +7 -0
- package/dist/esm/models/MyPartner.js +4 -0
- package/dist/esm/models/MyPartners.d.ts +9 -1
- package/dist/esm/models/MyPartners.js +6 -1
- package/dist/esm/models/NewWidgetComponentsMetadataInner.d.ts +64 -0
- package/dist/esm/models/NewWidgetComponentsMetadataInner.js +53 -0
- package/dist/esm/models/NewWidgetComponentsMetadataInnerPosition.d.ts +38 -0
- package/dist/esm/models/NewWidgetComponentsMetadataInnerPosition.js +43 -0
- package/dist/esm/models/NewWidgetComponentsMetadataInnerSize.d.ts +38 -0
- package/dist/esm/models/NewWidgetComponentsMetadataInnerSize.js +43 -0
- package/dist/esm/models/OrganizationsOrgIdBillingGet200ResponseData.d.ts +25 -5
- package/dist/esm/models/OrganizationsOrgIdBillingGet200ResponseData.js +9 -0
- package/dist/esm/models/Partner.d.ts +7 -0
- package/dist/esm/models/Partner.js +2 -0
- package/dist/esm/models/PartnerActivation.d.ts +1 -1
- package/dist/esm/models/PartnerBillingOverviewOperationalCredits.d.ts +0 -14
- package/dist/esm/models/PartnerBillingOverviewOperationalCredits.js +0 -4
- package/dist/esm/models/PartnerBillingProfile.d.ts +1 -1
- package/dist/esm/models/PartnerContract.d.ts +15 -3
- package/dist/esm/models/PartnerContract.js +6 -2
- package/dist/esm/models/PartnerCustomization.d.ts +15 -3
- package/dist/esm/models/PartnerCustomization.js +6 -2
- package/dist/esm/models/PartnerDetails.d.ts +7 -0
- package/dist/esm/models/PartnerDetails.js +2 -0
- package/dist/esm/models/PartnerExtraCreditsInvoice.d.ts +98 -0
- package/dist/esm/models/PartnerExtraCreditsInvoice.js +87 -0
- package/dist/esm/models/PartnerInvoiceSchedule.d.ts +66 -0
- package/dist/esm/models/PartnerInvoiceSchedule.js +67 -0
- package/dist/esm/models/PartnerInvoiceScheduleContract.d.ts +68 -0
- package/dist/esm/models/PartnerInvoiceScheduleContract.js +67 -0
- package/dist/esm/models/PartnerInvoiceScheduleNext.d.ts +94 -0
- package/dist/esm/models/PartnerInvoiceScheduleNext.js +91 -0
- package/dist/esm/models/PartnerInvoiceScheduleNextPeriod.d.ts +38 -0
- package/dist/esm/models/PartnerInvoiceScheduleNextPeriod.js +47 -0
- package/dist/esm/models/PartnerInvoiceScheduleOverdue.d.ts +38 -0
- package/dist/esm/models/PartnerInvoiceScheduleOverdue.js +47 -0
- package/dist/esm/models/PartnerInvoiceSchedulePeriod.d.ts +101 -0
- package/dist/esm/models/PartnerInvoiceSchedulePeriod.js +91 -0
- package/dist/esm/models/PartnerNotification.d.ts +1 -1
- package/dist/esm/models/PartnerNotificationEventType.d.ts +2 -0
- package/dist/esm/models/PartnerNotificationEventType.js +2 -0
- package/dist/esm/models/PartnerUpdateResult.d.ts +8 -16
- package/dist/esm/models/PartnerUpdateResult.js +2 -5
- package/dist/esm/models/PartnerWithWarnings.d.ts +7 -0
- package/dist/esm/models/PartnerWithWarnings.js +2 -0
- package/dist/esm/models/PersonalExtraStorage.d.ts +92 -0
- package/dist/esm/models/PersonalExtraStorage.js +83 -0
- package/dist/esm/models/PersonalExtraStorageBlock.d.ts +56 -0
- package/dist/esm/models/PersonalExtraStorageBlock.js +57 -0
- package/dist/esm/models/PersonalStorage.d.ts +80 -0
- package/dist/esm/models/PersonalStorage.js +73 -0
- package/dist/esm/models/PersonalStoragePack.d.ts +100 -0
- package/dist/esm/models/PersonalStoragePack.js +84 -0
- package/dist/esm/models/PurchaseStoragePack200ResponseDataPaymentIntent.d.ts +50 -0
- package/dist/esm/models/PurchaseStoragePack200ResponseDataPaymentIntent.js +47 -0
- package/dist/esm/models/RequestExtraCredits.d.ts +33 -0
- package/dist/esm/models/RequestExtraCredits.js +43 -0
- package/dist/esm/models/RollbackComponentRequest.d.ts +38 -0
- package/dist/esm/models/RollbackComponentRequest.js +45 -0
- package/dist/esm/models/StorageChange.d.ts +4 -3
- package/dist/esm/models/SurfaceConversionResult.d.ts +85 -0
- package/dist/esm/models/SurfaceConversionResult.js +76 -0
- package/dist/esm/models/SurfaceConversionResultSubscription.d.ts +82 -0
- package/dist/esm/models/SurfaceConversionResultSubscription.js +62 -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/UpdatePartnerCustomizationRequest.d.ts +3 -3
- package/dist/esm/models/UpdatePartnerCustomizationRequest.js +2 -2
- package/dist/esm/models/UpdatePartnerRequest.d.ts +7 -24
- package/dist/esm/models/UpdatePartnerRequest.js +2 -8
- package/dist/esm/models/WorkflowAcceptedResponse.d.ts +38 -0
- package/dist/esm/models/WorkflowAcceptedResponse.js +43 -0
- package/dist/esm/models/index.d.ts +19 -9
- package/dist/esm/models/index.js +19 -9
- 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/BillingUsersUserIdStorageCancelPackPostRequest.d.ts +40 -0
- package/dist/models/BillingUsersUserIdStorageCancelPackPostRequest.js +50 -0
- package/dist/models/BillingUsersUserIdStorageGet200Response.d.ts +39 -0
- package/dist/models/BillingUsersUserIdStorageGet200Response.js +51 -0
- package/dist/models/BillingUsersUserIdStorageGet200ResponseData.d.ts +33 -0
- package/dist/models/BillingUsersUserIdStorageGet200ResponseData.js +49 -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/ConvertSoloToTeams200Response.d.ts +39 -0
- package/dist/models/ConvertSoloToTeams200Response.js +51 -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/CreateComposition201Response.d.ts +39 -0
- package/dist/models/CreateComposition201Response.js +51 -0
- package/dist/models/CreatePartnerRequest.d.ts +7 -0
- package/dist/models/CreatePartnerRequest.js +2 -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/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/GetOrganizationPricing200ResponseDataStorage.d.ts +3 -2
- package/dist/models/GetOrganizationStorageUsage200ResponseDataBreakdown.d.ts +44 -0
- package/dist/models/GetOrganizationStorageUsage200ResponseDataBreakdown.js +52 -0
- package/dist/models/GetOrganizationStorageUsage200ResponseDataStorageUsage.d.ts +5 -5
- package/dist/models/GetPartnerCreditTransactions200Response.d.ts +39 -0
- package/dist/models/GetPartnerCreditTransactions200Response.js +51 -0
- package/dist/models/IssuePartnerInvoiceRequest.d.ts +14 -1
- package/dist/models/IssuePartnerInvoiceRequest.js +2 -0
- package/dist/models/IssuedPartnerInvoice.d.ts +6 -0
- package/dist/models/IssuedPartnerInvoice.js +4 -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/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/MyPartner.d.ts +7 -0
- package/dist/models/MyPartner.js +4 -0
- package/dist/models/MyPartners.d.ts +9 -1
- package/dist/models/MyPartners.js +6 -1
- package/dist/models/NewWidgetComponentsMetadataInner.d.ts +64 -0
- package/dist/models/NewWidgetComponentsMetadataInner.js +60 -0
- package/dist/models/NewWidgetComponentsMetadataInnerPosition.d.ts +38 -0
- package/dist/models/NewWidgetComponentsMetadataInnerPosition.js +50 -0
- package/dist/models/NewWidgetComponentsMetadataInnerSize.d.ts +38 -0
- package/dist/models/NewWidgetComponentsMetadataInnerSize.js +50 -0
- package/dist/models/OrganizationsOrgIdBillingGet200ResponseData.d.ts +25 -5
- package/dist/models/OrganizationsOrgIdBillingGet200ResponseData.js +10 -0
- package/dist/models/Partner.d.ts +7 -0
- package/dist/models/Partner.js +2 -0
- package/dist/models/PartnerActivation.d.ts +1 -1
- package/dist/models/PartnerBillingOverviewOperationalCredits.d.ts +0 -14
- package/dist/models/PartnerBillingOverviewOperationalCredits.js +0 -4
- package/dist/models/PartnerBillingProfile.d.ts +1 -1
- package/dist/models/PartnerContract.d.ts +15 -3
- package/dist/models/PartnerContract.js +6 -2
- package/dist/models/PartnerCustomization.d.ts +15 -3
- package/dist/models/PartnerCustomization.js +6 -2
- package/dist/models/PartnerDetails.d.ts +7 -0
- package/dist/models/PartnerDetails.js +2 -0
- package/dist/models/PartnerExtraCreditsInvoice.d.ts +98 -0
- package/dist/models/PartnerExtraCreditsInvoice.js +94 -0
- package/dist/models/PartnerInvoiceSchedule.d.ts +66 -0
- package/dist/models/PartnerInvoiceSchedule.js +74 -0
- package/dist/models/PartnerInvoiceScheduleContract.d.ts +68 -0
- package/dist/models/PartnerInvoiceScheduleContract.js +74 -0
- package/dist/models/PartnerInvoiceScheduleNext.d.ts +94 -0
- package/dist/models/PartnerInvoiceScheduleNext.js +99 -0
- package/dist/models/PartnerInvoiceScheduleNextPeriod.d.ts +38 -0
- package/dist/models/PartnerInvoiceScheduleNextPeriod.js +54 -0
- package/dist/models/PartnerInvoiceScheduleOverdue.d.ts +38 -0
- package/dist/models/PartnerInvoiceScheduleOverdue.js +54 -0
- package/dist/models/PartnerInvoiceSchedulePeriod.d.ts +101 -0
- package/dist/models/PartnerInvoiceSchedulePeriod.js +99 -0
- package/dist/models/PartnerNotification.d.ts +1 -1
- package/dist/models/PartnerNotificationEventType.d.ts +2 -0
- package/dist/models/PartnerNotificationEventType.js +2 -0
- package/dist/models/PartnerUpdateResult.d.ts +8 -16
- package/dist/models/PartnerUpdateResult.js +2 -5
- package/dist/models/PartnerWithWarnings.d.ts +7 -0
- package/dist/models/PartnerWithWarnings.js +2 -0
- package/dist/models/PersonalExtraStorage.d.ts +92 -0
- package/dist/models/PersonalExtraStorage.js +91 -0
- package/dist/models/PersonalExtraStorageBlock.d.ts +56 -0
- package/dist/models/PersonalExtraStorageBlock.js +65 -0
- package/dist/models/PersonalStorage.d.ts +80 -0
- package/dist/models/PersonalStorage.js +80 -0
- package/dist/models/PersonalStoragePack.d.ts +100 -0
- package/dist/models/PersonalStoragePack.js +92 -0
- package/dist/models/PurchaseStoragePack200ResponseDataPaymentIntent.d.ts +50 -0
- package/dist/models/PurchaseStoragePack200ResponseDataPaymentIntent.js +54 -0
- package/dist/models/RequestExtraCredits.d.ts +33 -0
- package/dist/models/RequestExtraCredits.js +50 -0
- package/dist/models/RollbackComponentRequest.d.ts +38 -0
- package/dist/models/RollbackComponentRequest.js +52 -0
- package/dist/models/StorageChange.d.ts +4 -3
- package/dist/models/SurfaceConversionResult.d.ts +85 -0
- package/dist/models/SurfaceConversionResult.js +84 -0
- package/dist/models/SurfaceConversionResultSubscription.d.ts +82 -0
- package/dist/models/SurfaceConversionResultSubscription.js +70 -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/UpdatePartnerCustomizationRequest.d.ts +3 -3
- package/dist/models/UpdatePartnerCustomizationRequest.js +2 -2
- package/dist/models/UpdatePartnerRequest.d.ts +7 -24
- package/dist/models/UpdatePartnerRequest.js +2 -8
- package/dist/models/WorkflowAcceptedResponse.d.ts +38 -0
- package/dist/models/WorkflowAcceptedResponse.js +50 -0
- package/dist/models/index.d.ts +19 -9
- package/dist/models/index.js +19 -9
- package/package.json +3 -2
|
@@ -0,0 +1,91 @@
|
|
|
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
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const PartnerInvoiceSchedulePeriodStatusEnum = {
|
|
18
|
+
Claimed: 'claimed',
|
|
19
|
+
Issued: 'issued',
|
|
20
|
+
Abandoned: 'abandoned'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the PartnerInvoiceSchedulePeriod interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfPartnerInvoiceSchedulePeriod(value) {
|
|
26
|
+
if (!('periodStart' in value) || value['periodStart'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('periodEnd' in value) || value['periodEnd'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('credits' in value) || value['credits'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('creditPriceUsd' in value) || value['creditPriceUsd'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('amountUsd' in value) || value['amountUsd'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('attempts' in value) || value['attempts'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('stripeInvoiceId' in value) || value['stripeInvoiceId'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('issuedAt' in value) || value['issuedAt'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if (!('abandonedAt' in value) || value['abandonedAt'] === undefined)
|
|
45
|
+
return false;
|
|
46
|
+
if (!('abandonedReason' in value) || value['abandonedReason'] === undefined)
|
|
47
|
+
return false;
|
|
48
|
+
return true;
|
|
49
|
+
}
|
|
50
|
+
export function PartnerInvoiceSchedulePeriodFromJSON(json) {
|
|
51
|
+
return PartnerInvoiceSchedulePeriodFromJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
export function PartnerInvoiceSchedulePeriodFromJSONTyped(json, ignoreDiscriminator) {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'periodStart': (new Date(json['periodStart'])),
|
|
59
|
+
'periodEnd': (new Date(json['periodEnd'])),
|
|
60
|
+
'credits': json['credits'],
|
|
61
|
+
'creditPriceUsd': json['creditPriceUsd'],
|
|
62
|
+
'amountUsd': json['amountUsd'],
|
|
63
|
+
'status': json['status'],
|
|
64
|
+
'attempts': json['attempts'],
|
|
65
|
+
'stripeInvoiceId': json['stripeInvoiceId'],
|
|
66
|
+
'issuedAt': (json['issuedAt'] == null ? null : new Date(json['issuedAt'])),
|
|
67
|
+
'abandonedAt': (json['abandonedAt'] == null ? null : new Date(json['abandonedAt'])),
|
|
68
|
+
'abandonedReason': json['abandonedReason'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
export function PartnerInvoiceSchedulePeriodToJSON(json) {
|
|
72
|
+
return PartnerInvoiceSchedulePeriodToJSONTyped(json, false);
|
|
73
|
+
}
|
|
74
|
+
export function PartnerInvoiceSchedulePeriodToJSONTyped(value, ignoreDiscriminator = false) {
|
|
75
|
+
if (value == null) {
|
|
76
|
+
return value;
|
|
77
|
+
}
|
|
78
|
+
return {
|
|
79
|
+
'periodStart': ((value['periodStart']).toISOString().substring(0, 10)),
|
|
80
|
+
'periodEnd': ((value['periodEnd']).toISOString().substring(0, 10)),
|
|
81
|
+
'credits': value['credits'],
|
|
82
|
+
'creditPriceUsd': value['creditPriceUsd'],
|
|
83
|
+
'amountUsd': value['amountUsd'],
|
|
84
|
+
'status': value['status'],
|
|
85
|
+
'attempts': value['attempts'],
|
|
86
|
+
'stripeInvoiceId': value['stripeInvoiceId'],
|
|
87
|
+
'issuedAt': (value['issuedAt'] == null ? null : value['issuedAt'].toISOString()),
|
|
88
|
+
'abandonedAt': (value['abandonedAt'] == null ? null : value['abandonedAt'].toISOString()),
|
|
89
|
+
'abandonedReason': value['abandonedReason'],
|
|
90
|
+
};
|
|
91
|
+
}
|
|
@@ -47,7 +47,7 @@ export interface PartnerNotification {
|
|
|
47
47
|
*/
|
|
48
48
|
tone: PartnerNotificationToneEnum;
|
|
49
49
|
/**
|
|
50
|
-
* The facts of the event, named in camelCase. An invoice event carries `invoiceNumber`, `subtotal`, `taxAmount`, `total`, `currency`, `dueDate
|
|
50
|
+
* The facts of the event, named in camelCase. An invoice event carries `invoiceNumber`, `subtotal`, `taxAmount`, `total`, `currency`, `dueDate`, `hostedInvoiceUrl` (the page where it is paid) and `purpose` (`contract`, or `extra_credits` for credits you bought on top of the contract: an unpaid invoice for extra credits never stops the account, the credits are just not added until it is paid); a payment adds `paidAt`, a failed payment `reason`, a reminder `daysUntilDue` or `daysOverdue`. A credits event carries `band` (`low` or `empty`), `balance` and `threshold`. `credits.managed_user_cap_reached` (one of your managed users used its monthly credits and a request was refused) goes to your webhook only when subscribed, once per managed user each month, and carries `managedUserId`, `externalId`, `monthlyCredits`, `creditsUsed`, `resetsAt` and `reachedAt`. A standing event carries `status`, `previousStatus` and `reason`; `partner.paused` with `status: payment_arrears` means that an overdue invoice stopped the account (nobody paused it, and `reason` names the invoice), and `partner.resumed` with `previousStatus: payment_arrears` means that its payment ended that. A storage event carries `reason` and `checkedAt`. Content events (`composition.created`, `composition.updated`, `widget.published`, `upload.created`, `entry.created`) go to your webhook only when subscribed; they do not appear in the dashboard list. `composition.created` carries `compositionId`, `widgetId`, `name`, `managedUserId`, `externalId` and `createdAt`; `composition.updated` carries `compositionId`, `widgetId`, `name`, `managedUserId`, `externalId`, `contentVersion` and `savedAt`, and is sent for the first save of a composition in each five minutes (read the composition for its current state); `widget.published` carries `widgetId`, `name`, `managedUserId`, `externalId`, `version` and `publishedAt`; `upload.created` carries `uploadId`, `name`, `mimeType`, `sizeBytes`, `address`, `managedUserId`, `externalId`, `purpose` and `createdAt`; `entry.created` carries `compositionId`, `table`, `entryId`, `createdAt` and `context` (the host attribution of the embedding page, or null), and none of the values the visitor entered: read those with the entries routes. Ignore an event type you do not know: more may be added. `sendPartnerNotificationTestEvent` sends a sample of every one of them.
|
|
51
51
|
* @type {{ [key: string]: any; }}
|
|
52
52
|
* @memberof PartnerNotification
|
|
53
53
|
*/
|
|
@@ -20,11 +20,13 @@ export declare const PartnerNotificationEventType: {
|
|
|
20
20
|
readonly InvoicePaid: "invoice.paid";
|
|
21
21
|
readonly InvoiceFailed: "invoice.failed";
|
|
22
22
|
readonly CreditsLow: "credits.low";
|
|
23
|
+
readonly CreditsManagedUserCapReached: "credits.managed_user_cap_reached";
|
|
23
24
|
readonly PartnerActivated: "partner.activated";
|
|
24
25
|
readonly PartnerPaused: "partner.paused";
|
|
25
26
|
readonly PartnerResumed: "partner.resumed";
|
|
26
27
|
readonly StorageCheckFailed: "storage.check_failed";
|
|
27
28
|
readonly CompositionCreated: "composition.created";
|
|
29
|
+
readonly CompositionUpdated: "composition.updated";
|
|
28
30
|
readonly WidgetPublished: "widget.published";
|
|
29
31
|
readonly UploadCreated: "upload.created";
|
|
30
32
|
readonly EntryCreated: "entry.created";
|
|
@@ -22,11 +22,13 @@ export const PartnerNotificationEventType = {
|
|
|
22
22
|
InvoicePaid: 'invoice.paid',
|
|
23
23
|
InvoiceFailed: 'invoice.failed',
|
|
24
24
|
CreditsLow: 'credits.low',
|
|
25
|
+
CreditsManagedUserCapReached: 'credits.managed_user_cap_reached',
|
|
25
26
|
PartnerActivated: 'partner.activated',
|
|
26
27
|
PartnerPaused: 'partner.paused',
|
|
27
28
|
PartnerResumed: 'partner.resumed',
|
|
28
29
|
StorageCheckFailed: 'storage.check_failed',
|
|
29
30
|
CompositionCreated: 'composition.created',
|
|
31
|
+
CompositionUpdated: 'composition.updated',
|
|
30
32
|
WidgetPublished: 'widget.published',
|
|
31
33
|
UploadCreated: 'upload.created',
|
|
32
34
|
EntryCreated: 'entry.created'
|
|
@@ -9,9 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { PartnerCreditAdjustment } from './PartnerCreditAdjustment';
|
|
13
12
|
/**
|
|
14
|
-
* The partner as it is after the edit
|
|
13
|
+
* The partner as it is after the edit
|
|
15
14
|
* @export
|
|
16
15
|
* @interface PartnerUpdateResult
|
|
17
16
|
*/
|
|
@@ -90,6 +89,13 @@ export interface PartnerUpdateResult {
|
|
|
90
89
|
* @memberof PartnerUpdateResult
|
|
91
90
|
*/
|
|
92
91
|
allowedDomains?: Array<string> | null;
|
|
92
|
+
/**
|
|
93
|
+
* The website where the partner integrates Widgetic, as the bare name (`acme.com`); null when none has been set. The partner's widgets can always be shown on it and on every subdomain of it, and send entries from there, whatever `allowedDomains` says. It is not part of `allowedDomains`. Set it with `platformDomain` on `POST /admin/partners` and `PUT /admin/partners/{partnerId}`; the partner reads it in `GET /partners/mine` and cannot change it.
|
|
94
|
+
*
|
|
95
|
+
* @type {string}
|
|
96
|
+
* @memberof PartnerUpdateResult
|
|
97
|
+
*/
|
|
98
|
+
platformDomain?: string | null;
|
|
93
99
|
/**
|
|
94
100
|
*
|
|
95
101
|
* @type {Array<string>}
|
|
@@ -124,20 +130,6 @@ export interface PartnerUpdateResult {
|
|
|
124
130
|
* @memberof PartnerUpdateResult
|
|
125
131
|
*/
|
|
126
132
|
updatedAt?: Date | null;
|
|
127
|
-
/**
|
|
128
|
-
* Present when the request asked for a balance and the wallet had to move to reach it
|
|
129
|
-
* @type {PartnerCreditAdjustment}
|
|
130
|
-
* @memberof PartnerUpdateResult
|
|
131
|
-
*/
|
|
132
|
-
creditAdjustment?: PartnerCreditAdjustment;
|
|
133
|
-
/**
|
|
134
|
-
* The auto-reload settings as saved; present when the request set them
|
|
135
|
-
* @type {{ [key: string]: any; }}
|
|
136
|
-
* @memberof PartnerUpdateResult
|
|
137
|
-
*/
|
|
138
|
-
autoReload?: {
|
|
139
|
-
[key: string]: any;
|
|
140
|
-
};
|
|
141
133
|
}
|
|
142
134
|
/**
|
|
143
135
|
* @export
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
-
import { PartnerCreditAdjustmentFromJSON, PartnerCreditAdjustmentToJSON, } from './PartnerCreditAdjustment.js';
|
|
15
14
|
/**
|
|
16
15
|
* @export
|
|
17
16
|
*/
|
|
@@ -54,13 +53,12 @@ export function PartnerUpdateResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
54
53
|
'monthlyMinimumSpend': json['monthlyMinimumSpend'] == null ? undefined : json['monthlyMinimumSpend'],
|
|
55
54
|
'webhookUrl': json['webhookUrl'] == null ? undefined : json['webhookUrl'],
|
|
56
55
|
'allowedDomains': json['allowedDomains'] == null ? undefined : json['allowedDomains'],
|
|
56
|
+
'platformDomain': json['platformDomain'] == null ? undefined : json['platformDomain'],
|
|
57
57
|
'featuresEnabled': json['featuresEnabled'] == null ? undefined : json['featuresEnabled'],
|
|
58
58
|
'billingSettings': json['billingSettings'] == null ? undefined : json['billingSettings'],
|
|
59
59
|
'whiteLabelConfig': json['whiteLabelConfig'] == null ? undefined : json['whiteLabelConfig'],
|
|
60
60
|
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
61
61
|
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
62
|
-
'creditAdjustment': json['creditAdjustment'] == null ? undefined : PartnerCreditAdjustmentFromJSON(json['creditAdjustment']),
|
|
63
|
-
'autoReload': json['autoReload'] == null ? undefined : json['autoReload'],
|
|
64
62
|
};
|
|
65
63
|
}
|
|
66
64
|
export function PartnerUpdateResultToJSON(json) {
|
|
@@ -83,12 +81,11 @@ export function PartnerUpdateResultToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
83
81
|
'monthlyMinimumSpend': value['monthlyMinimumSpend'],
|
|
84
82
|
'webhookUrl': value['webhookUrl'],
|
|
85
83
|
'allowedDomains': value['allowedDomains'],
|
|
84
|
+
'platformDomain': value['platformDomain'],
|
|
86
85
|
'featuresEnabled': value['featuresEnabled'],
|
|
87
86
|
'billingSettings': value['billingSettings'],
|
|
88
87
|
'whiteLabelConfig': value['whiteLabelConfig'],
|
|
89
88
|
'createdAt': value['createdAt'] == null ? undefined : (value['createdAt'].toISOString()),
|
|
90
89
|
'updatedAt': value['updatedAt'] == null ? undefined : (value['updatedAt'].toISOString()),
|
|
91
|
-
'creditAdjustment': PartnerCreditAdjustmentToJSON(value['creditAdjustment']),
|
|
92
|
-
'autoReload': value['autoReload'],
|
|
93
90
|
};
|
|
94
91
|
}
|
|
@@ -90,6 +90,13 @@ export interface PartnerWithWarnings {
|
|
|
90
90
|
* @memberof PartnerWithWarnings
|
|
91
91
|
*/
|
|
92
92
|
allowedDomains?: Array<string> | null;
|
|
93
|
+
/**
|
|
94
|
+
* The website where the partner integrates Widgetic, as the bare name (`acme.com`); null when none has been set. The partner's widgets can always be shown on it and on every subdomain of it, and send entries from there, whatever `allowedDomains` says. It is not part of `allowedDomains`. Set it with `platformDomain` on `POST /admin/partners` and `PUT /admin/partners/{partnerId}`; the partner reads it in `GET /partners/mine` and cannot change it.
|
|
95
|
+
*
|
|
96
|
+
* @type {string}
|
|
97
|
+
* @memberof PartnerWithWarnings
|
|
98
|
+
*/
|
|
99
|
+
platformDomain?: string | null;
|
|
93
100
|
/**
|
|
94
101
|
*
|
|
95
102
|
* @type {Array<string>}
|
|
@@ -53,6 +53,7 @@ export function PartnerWithWarningsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
53
53
|
'monthlyMinimumSpend': json['monthlyMinimumSpend'] == null ? undefined : json['monthlyMinimumSpend'],
|
|
54
54
|
'webhookUrl': json['webhookUrl'] == null ? undefined : json['webhookUrl'],
|
|
55
55
|
'allowedDomains': json['allowedDomains'] == null ? undefined : json['allowedDomains'],
|
|
56
|
+
'platformDomain': json['platformDomain'] == null ? undefined : json['platformDomain'],
|
|
56
57
|
'featuresEnabled': json['featuresEnabled'] == null ? undefined : json['featuresEnabled'],
|
|
57
58
|
'billingSettings': json['billingSettings'] == null ? undefined : json['billingSettings'],
|
|
58
59
|
'whiteLabelConfig': json['whiteLabelConfig'] == null ? undefined : json['whiteLabelConfig'],
|
|
@@ -81,6 +82,7 @@ export function PartnerWithWarningsToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
81
82
|
'monthlyMinimumSpend': value['monthlyMinimumSpend'],
|
|
82
83
|
'webhookUrl': value['webhookUrl'],
|
|
83
84
|
'allowedDomains': value['allowedDomains'],
|
|
85
|
+
'platformDomain': value['platformDomain'],
|
|
84
86
|
'featuresEnabled': value['featuresEnabled'],
|
|
85
87
|
'billingSettings': value['billingSettings'],
|
|
86
88
|
'whiteLabelConfig': value['whiteLabelConfig'],
|
|
@@ -0,0 +1,92 @@
|
|
|
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 type { PersonalExtraStorageBlock } from './PersonalExtraStorageBlock';
|
|
13
|
+
/**
|
|
14
|
+
* What the person can do with extra storage right now, so a client shows a button only when
|
|
15
|
+
* the request would be accepted. It is advisory: the request re-reads the subscription and
|
|
16
|
+
* its answer is the one that counts.
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PersonalExtraStorage
|
|
20
|
+
*/
|
|
21
|
+
export interface PersonalExtraStorage {
|
|
22
|
+
/**
|
|
23
|
+
* The interval extra storage is billed on, which is the subscription's own; null without a Stripe subscription
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PersonalExtraStorage
|
|
26
|
+
*/
|
|
27
|
+
billingInterval: PersonalExtraStorageBillingIntervalEnum | null;
|
|
28
|
+
/**
|
|
29
|
+
* What one GB costs per billing period; null without a Stripe subscription
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof PersonalExtraStorage
|
|
32
|
+
*/
|
|
33
|
+
pricePerGbUsd: number | null;
|
|
34
|
+
/**
|
|
35
|
+
* What the extra storage costs per billing period now
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof PersonalExtraStorage
|
|
38
|
+
*/
|
|
39
|
+
chargePerPeriodUsd: number;
|
|
40
|
+
/**
|
|
41
|
+
* The size of one pack; storage is added and removed in whole packs
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof PersonalExtraStorage
|
|
44
|
+
*/
|
|
45
|
+
packSizeGb: number;
|
|
46
|
+
/**
|
|
47
|
+
* The most one request may add, in GB
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof PersonalExtraStorage
|
|
50
|
+
*/
|
|
51
|
+
maxRequestGb: number;
|
|
52
|
+
/**
|
|
53
|
+
* The most extra storage one account can hold, in GB
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof PersonalExtraStorage
|
|
56
|
+
*/
|
|
57
|
+
maxTotalGb: number;
|
|
58
|
+
/**
|
|
59
|
+
* Whether storage can be added right now
|
|
60
|
+
* @type {boolean}
|
|
61
|
+
* @memberof PersonalExtraStorage
|
|
62
|
+
*/
|
|
63
|
+
canAdd: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Whether there is extra storage to give back and the subscription lets it go
|
|
66
|
+
* @type {boolean}
|
|
67
|
+
* @memberof PersonalExtraStorage
|
|
68
|
+
*/
|
|
69
|
+
canRemove: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Why `canAdd` is false; null when it is true
|
|
72
|
+
* @type {PersonalExtraStorageBlock}
|
|
73
|
+
* @memberof PersonalExtraStorage
|
|
74
|
+
*/
|
|
75
|
+
addBlockedReason: PersonalExtraStorageBlock | null;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* @export
|
|
79
|
+
*/
|
|
80
|
+
export declare const PersonalExtraStorageBillingIntervalEnum: {
|
|
81
|
+
readonly Month: "month";
|
|
82
|
+
readonly Year: "year";
|
|
83
|
+
};
|
|
84
|
+
export type PersonalExtraStorageBillingIntervalEnum = typeof PersonalExtraStorageBillingIntervalEnum[keyof typeof PersonalExtraStorageBillingIntervalEnum];
|
|
85
|
+
/**
|
|
86
|
+
* Check if a given object implements the PersonalExtraStorage interface.
|
|
87
|
+
*/
|
|
88
|
+
export declare function instanceOfPersonalExtraStorage(value: object): value is PersonalExtraStorage;
|
|
89
|
+
export declare function PersonalExtraStorageFromJSON(json: any): PersonalExtraStorage;
|
|
90
|
+
export declare function PersonalExtraStorageFromJSONTyped(json: any, ignoreDiscriminator: boolean): PersonalExtraStorage;
|
|
91
|
+
export declare function PersonalExtraStorageToJSON(json: any): PersonalExtraStorage;
|
|
92
|
+
export declare function PersonalExtraStorageToJSONTyped(value?: PersonalExtraStorage | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,83 @@
|
|
|
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
|
+
import { PersonalExtraStorageBlockFromJSON, PersonalExtraStorageBlockToJSON, } from './PersonalExtraStorageBlock.js';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const PersonalExtraStorageBillingIntervalEnum = {
|
|
19
|
+
Month: 'month',
|
|
20
|
+
Year: 'year'
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the PersonalExtraStorage interface.
|
|
24
|
+
*/
|
|
25
|
+
export function instanceOfPersonalExtraStorage(value) {
|
|
26
|
+
if (!('billingInterval' in value) || value['billingInterval'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('pricePerGbUsd' in value) || value['pricePerGbUsd'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('chargePerPeriodUsd' in value) || value['chargePerPeriodUsd'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('packSizeGb' in value) || value['packSizeGb'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('maxRequestGb' in value) || value['maxRequestGb'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('maxTotalGb' in value) || value['maxTotalGb'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('canAdd' in value) || value['canAdd'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('canRemove' in value) || value['canRemove'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('addBlockedReason' in value) || value['addBlockedReason'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
export function PersonalExtraStorageFromJSON(json) {
|
|
47
|
+
return PersonalExtraStorageFromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
export function PersonalExtraStorageFromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'billingInterval': json['billingInterval'],
|
|
55
|
+
'pricePerGbUsd': json['pricePerGbUsd'],
|
|
56
|
+
'chargePerPeriodUsd': json['chargePerPeriodUsd'],
|
|
57
|
+
'packSizeGb': json['packSizeGb'],
|
|
58
|
+
'maxRequestGb': json['maxRequestGb'],
|
|
59
|
+
'maxTotalGb': json['maxTotalGb'],
|
|
60
|
+
'canAdd': json['canAdd'],
|
|
61
|
+
'canRemove': json['canRemove'],
|
|
62
|
+
'addBlockedReason': PersonalExtraStorageBlockFromJSON(json['addBlockedReason']),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
export function PersonalExtraStorageToJSON(json) {
|
|
66
|
+
return PersonalExtraStorageToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
export function PersonalExtraStorageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
69
|
+
if (value == null) {
|
|
70
|
+
return value;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
'billingInterval': value['billingInterval'],
|
|
74
|
+
'pricePerGbUsd': value['pricePerGbUsd'],
|
|
75
|
+
'chargePerPeriodUsd': value['chargePerPeriodUsd'],
|
|
76
|
+
'packSizeGb': value['packSizeGb'],
|
|
77
|
+
'maxRequestGb': value['maxRequestGb'],
|
|
78
|
+
'maxTotalGb': value['maxTotalGb'],
|
|
79
|
+
'canAdd': value['canAdd'],
|
|
80
|
+
'canRemove': value['canRemove'],
|
|
81
|
+
'addBlockedReason': PersonalExtraStorageBlockToJSON(value['addBlockedReason']),
|
|
82
|
+
};
|
|
83
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
/**
|
|
13
|
+
* Why storage cannot be added. The `code` is the one the purchase request answers with in the
|
|
14
|
+
* same state, so a client can act on it before asking.
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface PersonalExtraStorageBlock
|
|
18
|
+
*/
|
|
19
|
+
export interface PersonalExtraStorageBlock {
|
|
20
|
+
/**
|
|
21
|
+
* `PARTNER_STORAGE_NOT_SOLD` (a partner account keeps its files in its own storage
|
|
22
|
+
* destination), `AUTHZ_PLAN_RESTRICTION` (no Solo subscription), `BILLED_THROUGH_SHOPIFY`,
|
|
23
|
+
* `TRIAL_NOT_ENDED`, `PAYMENT_OVERDUE`, `SUBSCRIPTION_ENDING` or `SUBSCRIPTION_NOT_ACTIVE`
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PersonalExtraStorageBlock
|
|
27
|
+
*/
|
|
28
|
+
code: string;
|
|
29
|
+
/**
|
|
30
|
+
* A sentence a person can read
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PersonalExtraStorageBlock
|
|
33
|
+
*/
|
|
34
|
+
message: string;
|
|
35
|
+
/**
|
|
36
|
+
* The plan that makes storage available, when subscribing is the way out
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof PersonalExtraStorageBlock
|
|
39
|
+
*/
|
|
40
|
+
upgradeTo: PersonalExtraStorageBlockUpgradeToEnum | null;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* @export
|
|
44
|
+
*/
|
|
45
|
+
export declare const PersonalExtraStorageBlockUpgradeToEnum: {
|
|
46
|
+
readonly Solo: "solo";
|
|
47
|
+
};
|
|
48
|
+
export type PersonalExtraStorageBlockUpgradeToEnum = typeof PersonalExtraStorageBlockUpgradeToEnum[keyof typeof PersonalExtraStorageBlockUpgradeToEnum];
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the PersonalExtraStorageBlock interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfPersonalExtraStorageBlock(value: object): value is PersonalExtraStorageBlock;
|
|
53
|
+
export declare function PersonalExtraStorageBlockFromJSON(json: any): PersonalExtraStorageBlock;
|
|
54
|
+
export declare function PersonalExtraStorageBlockFromJSONTyped(json: any, ignoreDiscriminator: boolean): PersonalExtraStorageBlock;
|
|
55
|
+
export declare function PersonalExtraStorageBlockToJSON(json: any): PersonalExtraStorageBlock;
|
|
56
|
+
export declare function PersonalExtraStorageBlockToJSONTyped(value?: PersonalExtraStorageBlock | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
/**
|
|
15
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const PersonalExtraStorageBlockUpgradeToEnum = {
|
|
18
|
+
Solo: 'solo'
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the PersonalExtraStorageBlock interface.
|
|
22
|
+
*/
|
|
23
|
+
export function instanceOfPersonalExtraStorageBlock(value) {
|
|
24
|
+
if (!('code' in value) || value['code'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('upgradeTo' in value) || value['upgradeTo'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
return true;
|
|
31
|
+
}
|
|
32
|
+
export function PersonalExtraStorageBlockFromJSON(json) {
|
|
33
|
+
return PersonalExtraStorageBlockFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function PersonalExtraStorageBlockFromJSONTyped(json, ignoreDiscriminator) {
|
|
36
|
+
if (json == null) {
|
|
37
|
+
return json;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'code': json['code'],
|
|
41
|
+
'message': json['message'],
|
|
42
|
+
'upgradeTo': json['upgradeTo'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export function PersonalExtraStorageBlockToJSON(json) {
|
|
46
|
+
return PersonalExtraStorageBlockToJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
export function PersonalExtraStorageBlockToJSONTyped(value, ignoreDiscriminator = false) {
|
|
49
|
+
if (value == null) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'code': value['code'],
|
|
54
|
+
'message': value['message'],
|
|
55
|
+
'upgradeTo': value['upgradeTo'],
|
|
56
|
+
};
|
|
57
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
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 type { PersonalExtraStorage } from './PersonalExtraStorage';
|
|
13
|
+
import type { PersonalStoragePack } from './PersonalStoragePack';
|
|
14
|
+
/**
|
|
15
|
+
* A person's own storage and the extra storage they can add to it on Solo. It is the person's
|
|
16
|
+
* OWN workspace only: a team's storage is the team's pool, and its admins buy storage for it.
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PersonalStorage
|
|
20
|
+
*/
|
|
21
|
+
export interface PersonalStorage {
|
|
22
|
+
/**
|
|
23
|
+
* What the plan grants (or the operator floor, when that is larger), in GB
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof PersonalStorage
|
|
26
|
+
*/
|
|
27
|
+
planStorageGb: number;
|
|
28
|
+
/**
|
|
29
|
+
* Extra storage the upload check counts, in GB
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof PersonalStorage
|
|
32
|
+
*/
|
|
33
|
+
extraStorageGb: number;
|
|
34
|
+
/**
|
|
35
|
+
* The upload limit of the person's own workspace (plan plus extra storage), in GB
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof PersonalStorage
|
|
38
|
+
*/
|
|
39
|
+
totalQuotaGb: number;
|
|
40
|
+
/**
|
|
41
|
+
* What the person has stored in their own workspace, in GB
|
|
42
|
+
* @type {number}
|
|
43
|
+
* @memberof PersonalStorage
|
|
44
|
+
*/
|
|
45
|
+
usedGb: number;
|
|
46
|
+
/**
|
|
47
|
+
* What is left under the limit, in GB; never negative
|
|
48
|
+
* @type {number}
|
|
49
|
+
* @memberof PersonalStorage
|
|
50
|
+
*/
|
|
51
|
+
availableGb: number;
|
|
52
|
+
/**
|
|
53
|
+
* How many extra-storage rows the upload check counts
|
|
54
|
+
* @type {number}
|
|
55
|
+
* @memberof PersonalStorage
|
|
56
|
+
*/
|
|
57
|
+
storagePacksCount: number;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {PersonalExtraStorage}
|
|
61
|
+
* @memberof PersonalStorage
|
|
62
|
+
*/
|
|
63
|
+
extraStorage: PersonalExtraStorage;
|
|
64
|
+
/**
|
|
65
|
+
* Every extra-storage row, newest first. The `active` ones add up to `extraStorageGb`;
|
|
66
|
+
* `cancelled` and `expired` ones are kept as history.
|
|
67
|
+
*
|
|
68
|
+
* @type {Array<PersonalStoragePack>}
|
|
69
|
+
* @memberof PersonalStorage
|
|
70
|
+
*/
|
|
71
|
+
packs: Array<PersonalStoragePack>;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the PersonalStorage interface.
|
|
75
|
+
*/
|
|
76
|
+
export declare function instanceOfPersonalStorage(value: object): value is PersonalStorage;
|
|
77
|
+
export declare function PersonalStorageFromJSON(json: any): PersonalStorage;
|
|
78
|
+
export declare function PersonalStorageFromJSONTyped(json: any, ignoreDiscriminator: boolean): PersonalStorage;
|
|
79
|
+
export declare function PersonalStorageToJSON(json: any): PersonalStorage;
|
|
80
|
+
export declare function PersonalStorageToJSONTyped(value?: PersonalStorage | null, ignoreDiscriminator?: boolean): any;
|