@widgetic/api-sdk 1.0.32 → 1.0.34
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,43 @@
|
|
|
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
|
+
* Check if a given object implements the NewWidgetComponentsMetadataInnerSize interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfNewWidgetComponentsMetadataInnerSize(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function NewWidgetComponentsMetadataInnerSizeFromJSON(json) {
|
|
21
|
+
return NewWidgetComponentsMetadataInnerSizeFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function NewWidgetComponentsMetadataInnerSizeFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'width': json['width'] == null ? undefined : json['width'],
|
|
29
|
+
'height': json['height'] == null ? undefined : json['height'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
export function NewWidgetComponentsMetadataInnerSizeToJSON(json) {
|
|
33
|
+
return NewWidgetComponentsMetadataInnerSizeToJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
export function NewWidgetComponentsMetadataInnerSizeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
|
+
if (value == null) {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'width': value['width'],
|
|
41
|
+
'height': value['height'],
|
|
42
|
+
};
|
|
43
|
+
}
|
|
@@ -35,33 +35,45 @@ export interface OrganizationsOrgIdBillingGet200ResponseData {
|
|
|
35
35
|
*/
|
|
36
36
|
memberCount?: number;
|
|
37
37
|
/**
|
|
38
|
+
* The interval the subscription bills on. Every amount below is for one billing
|
|
39
|
+
* period of that interval and is priced at that interval's own prices: a yearly
|
|
40
|
+
* organization is quoted at the yearly prices, never at the monthly list price.
|
|
41
|
+
* The `monthly` in three of the names is the original wording; the unit is this interval.
|
|
38
42
|
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof OrganizationsOrgIdBillingGet200ResponseData
|
|
45
|
+
*/
|
|
46
|
+
billingInterval?: OrganizationsOrgIdBillingGet200ResponseDataBillingIntervalEnum;
|
|
47
|
+
/**
|
|
48
|
+
* What one seat costs for one billing period
|
|
39
49
|
* @type {number}
|
|
40
50
|
* @memberof OrganizationsOrgIdBillingGet200ResponseData
|
|
41
51
|
*/
|
|
42
52
|
pricePerMember?: number;
|
|
43
53
|
/**
|
|
44
|
-
*
|
|
54
|
+
* The seats for one billing period (`memberCount` at `pricePerMember`)
|
|
45
55
|
* @type {number}
|
|
46
56
|
* @memberof OrganizationsOrgIdBillingGet200ResponseData
|
|
47
57
|
*/
|
|
48
58
|
monthlySubtotal?: number;
|
|
49
59
|
/**
|
|
50
|
-
* The extra storage the organization
|
|
51
|
-
* the subscription: it renews with the seats until it is removed.
|
|
60
|
+
* The extra storage the organization is billed for, in GB. It is a recurring item on
|
|
61
|
+
* the subscription: it renews with the seats until it is removed. A permanent pack
|
|
62
|
+
* bought once under the earlier purchase flow gives room too, but is not billed on
|
|
63
|
+
* the subscription and is not counted here.
|
|
52
64
|
*
|
|
53
65
|
* @type {number}
|
|
54
66
|
* @memberof OrganizationsOrgIdBillingGet200ResponseData
|
|
55
67
|
*/
|
|
56
68
|
storagePacksGb?: number;
|
|
57
69
|
/**
|
|
58
|
-
* What the extra storage costs
|
|
70
|
+
* What the extra storage costs for one billing period (`storagePacksGb` at the per-GB price of the interval)
|
|
59
71
|
* @type {number}
|
|
60
72
|
* @memberof OrganizationsOrgIdBillingGet200ResponseData
|
|
61
73
|
*/
|
|
62
74
|
monthlyStorageSubtotal?: number;
|
|
63
75
|
/**
|
|
64
|
-
* The recurring amount
|
|
76
|
+
* The recurring amount for one billing period - the seats plus the extra storage.
|
|
65
77
|
* @type {number}
|
|
66
78
|
* @memberof OrganizationsOrgIdBillingGet200ResponseData
|
|
67
79
|
*/
|
|
@@ -79,6 +91,14 @@ export interface OrganizationsOrgIdBillingGet200ResponseData {
|
|
|
79
91
|
*/
|
|
80
92
|
billingHistory?: Array<OrganizationsOrgIdBillingGet200ResponseDataBillingHistoryInner>;
|
|
81
93
|
}
|
|
94
|
+
/**
|
|
95
|
+
* @export
|
|
96
|
+
*/
|
|
97
|
+
export declare const OrganizationsOrgIdBillingGet200ResponseDataBillingIntervalEnum: {
|
|
98
|
+
readonly Month: "month";
|
|
99
|
+
readonly Year: "year";
|
|
100
|
+
};
|
|
101
|
+
export type OrganizationsOrgIdBillingGet200ResponseDataBillingIntervalEnum = typeof OrganizationsOrgIdBillingGet200ResponseDataBillingIntervalEnum[keyof typeof OrganizationsOrgIdBillingGet200ResponseDataBillingIntervalEnum];
|
|
82
102
|
/**
|
|
83
103
|
* Check if a given object implements the OrganizationsOrgIdBillingGet200ResponseData interface.
|
|
84
104
|
*/
|
|
@@ -12,6 +12,13 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { OrganizationsOrgIdBillingGet200ResponseDataBillingHistoryInnerFromJSON, OrganizationsOrgIdBillingGet200ResponseDataBillingHistoryInnerToJSON, } from './OrganizationsOrgIdBillingGet200ResponseDataBillingHistoryInner.js';
|
|
15
|
+
/**
|
|
16
|
+
* @export
|
|
17
|
+
*/
|
|
18
|
+
export const OrganizationsOrgIdBillingGet200ResponseDataBillingIntervalEnum = {
|
|
19
|
+
Month: 'month',
|
|
20
|
+
Year: 'year'
|
|
21
|
+
};
|
|
15
22
|
/**
|
|
16
23
|
* Check if a given object implements the OrganizationsOrgIdBillingGet200ResponseData interface.
|
|
17
24
|
*/
|
|
@@ -29,6 +36,7 @@ export function OrganizationsOrgIdBillingGet200ResponseDataFromJSONTyped(json, i
|
|
|
29
36
|
'organizationId': json['organizationId'] == null ? undefined : json['organizationId'],
|
|
30
37
|
'subscription': json['subscription'] == null ? undefined : json['subscription'],
|
|
31
38
|
'memberCount': json['memberCount'] == null ? undefined : json['memberCount'],
|
|
39
|
+
'billingInterval': json['billingInterval'] == null ? undefined : json['billingInterval'],
|
|
32
40
|
'pricePerMember': json['pricePerMember'] == null ? undefined : json['pricePerMember'],
|
|
33
41
|
'monthlySubtotal': json['monthlySubtotal'] == null ? undefined : json['monthlySubtotal'],
|
|
34
42
|
'storagePacksGb': json['storagePacksGb'] == null ? undefined : json['storagePacksGb'],
|
|
@@ -49,6 +57,7 @@ export function OrganizationsOrgIdBillingGet200ResponseDataToJSONTyped(value, ig
|
|
|
49
57
|
'organizationId': value['organizationId'],
|
|
50
58
|
'subscription': value['subscription'],
|
|
51
59
|
'memberCount': value['memberCount'],
|
|
60
|
+
'billingInterval': value['billingInterval'],
|
|
52
61
|
'pricePerMember': value['pricePerMember'],
|
|
53
62
|
'monthlySubtotal': value['monthlySubtotal'],
|
|
54
63
|
'storagePacksGb': value['storagePacksGb'],
|
|
@@ -90,6 +90,13 @@ export interface Partner {
|
|
|
90
90
|
* @memberof Partner
|
|
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 Partner
|
|
98
|
+
*/
|
|
99
|
+
platformDomain?: string | null;
|
|
93
100
|
/**
|
|
94
101
|
*
|
|
95
102
|
* @type {Array<string>}
|
|
@@ -53,6 +53,7 @@ export function PartnerFromJSONTyped(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'],
|
|
@@ -80,6 +81,7 @@ export function PartnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
80
81
|
'monthlyMinimumSpend': value['monthlyMinimumSpend'],
|
|
81
82
|
'webhookUrl': value['webhookUrl'],
|
|
82
83
|
'allowedDomains': value['allowedDomains'],
|
|
84
|
+
'platformDomain': value['platformDomain'],
|
|
83
85
|
'featuresEnabled': value['featuresEnabled'],
|
|
84
86
|
'billingSettings': value['billingSettings'],
|
|
85
87
|
'whiteLabelConfig': value['whiteLabelConfig'],
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import type { PartnerActivationRequirementsInner } from './PartnerActivationRequirementsInner';
|
|
13
13
|
/**
|
|
14
|
-
* What a partner needs before it can be activated, and whether each part is in place. Nothing a partner pays (an invoice) is a requirement:
|
|
14
|
+
* What a partner needs before it can be activated, and whether each part is in place. Nothing a partner pays (an invoice) is a requirement: the first invoice goes out on the contract's start date and is paid after the partner is active. Once it is active, a contract invoice that stays unpaid past its due day stops it by itself (`payment_arrears`) until the invoice is paid; that is not part of the activation.
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
17
17
|
* @interface PartnerActivation
|
|
@@ -27,20 +27,6 @@ export interface PartnerBillingOverviewOperationalCredits {
|
|
|
27
27
|
* @memberof PartnerBillingOverviewOperationalCredits
|
|
28
28
|
*/
|
|
29
29
|
availableBalance?: number;
|
|
30
|
-
/**
|
|
31
|
-
* The auto-reload settings; null until someone configures them
|
|
32
|
-
* @type {{ [key: string]: any; }}
|
|
33
|
-
* @memberof PartnerBillingOverviewOperationalCredits
|
|
34
|
-
*/
|
|
35
|
-
autoReload?: {
|
|
36
|
-
[key: string]: any;
|
|
37
|
-
} | null;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {boolean}
|
|
41
|
-
* @memberof PartnerBillingOverviewOperationalCredits
|
|
42
|
-
*/
|
|
43
|
-
autoReloadEnabled?: boolean;
|
|
44
30
|
/**
|
|
45
31
|
* The ten newest ledger rows
|
|
46
32
|
* @type {Array<{ [key: string]: any; }>}
|
|
@@ -27,8 +27,6 @@ export function PartnerBillingOverviewOperationalCreditsFromJSONTyped(json, igno
|
|
|
27
27
|
return {
|
|
28
28
|
'balance': json['balance'] == null ? undefined : json['balance'],
|
|
29
29
|
'availableBalance': json['availableBalance'] == null ? undefined : json['availableBalance'],
|
|
30
|
-
'autoReload': json['autoReload'] == null ? undefined : json['autoReload'],
|
|
31
|
-
'autoReloadEnabled': json['autoReloadEnabled'] == null ? undefined : json['autoReloadEnabled'],
|
|
32
30
|
'recentTransactions': json['recentTransactions'] == null ? undefined : json['recentTransactions'],
|
|
33
31
|
};
|
|
34
32
|
}
|
|
@@ -42,8 +40,6 @@ export function PartnerBillingOverviewOperationalCreditsToJSONTyped(value, ignor
|
|
|
42
40
|
return {
|
|
43
41
|
'balance': value['balance'],
|
|
44
42
|
'availableBalance': value['availableBalance'],
|
|
45
|
-
'autoReload': value['autoReload'],
|
|
46
|
-
'autoReloadEnabled': value['autoReloadEnabled'],
|
|
47
43
|
'recentTransactions': value['recentTransactions'],
|
|
48
44
|
};
|
|
49
45
|
}
|
|
@@ -48,7 +48,7 @@ export interface PartnerBillingProfile {
|
|
|
48
48
|
*/
|
|
49
49
|
taxId: PartnerBillingProfileTaxId | null;
|
|
50
50
|
/**
|
|
51
|
-
* Days from issuing to the due date.
|
|
51
|
+
* Days from issuing to the due date. 7 by default.
|
|
52
52
|
* @type {number}
|
|
53
53
|
* @memberof PartnerBillingProfile
|
|
54
54
|
*/
|
|
@@ -35,17 +35,29 @@ export interface PartnerContract {
|
|
|
35
35
|
*/
|
|
36
36
|
customPrice?: number | null;
|
|
37
37
|
/**
|
|
38
|
-
* Credits
|
|
38
|
+
* Credits received each billing period (`billingCycle`); null when the standard allowance applies
|
|
39
39
|
* @type {number}
|
|
40
40
|
* @memberof PartnerContract
|
|
41
41
|
*/
|
|
42
42
|
customCredits?: number | null;
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* The agreed price of one credit, in dollars; null when the list price applies
|
|
45
45
|
* @type {number}
|
|
46
46
|
* @memberof PartnerContract
|
|
47
47
|
*/
|
|
48
|
-
|
|
48
|
+
creditPriceUsd?: number | null;
|
|
49
|
+
/**
|
|
50
|
+
* What one credit costs you, in dollars. The agreed price, or the list price when none was agreed
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof PartnerContract
|
|
53
|
+
*/
|
|
54
|
+
effectiveCreditPriceUsd?: number;
|
|
55
|
+
/**
|
|
56
|
+
* What one billing period costs, in dollars before tax, `customCredits` times `effectiveCreditPriceUsd`. Null while no credits were agreed
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof PartnerContract
|
|
59
|
+
*/
|
|
60
|
+
periodTotalUsd?: number | null;
|
|
49
61
|
/**
|
|
50
62
|
* Features included beyond the standard partner plan
|
|
51
63
|
* @type {Array<string>}
|
|
@@ -37,7 +37,9 @@ export function PartnerContractFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
'partnerId': json['partnerId'] == null ? undefined : json['partnerId'],
|
|
38
38
|
'customPrice': json['customPrice'] == null ? undefined : json['customPrice'],
|
|
39
39
|
'customCredits': json['customCredits'] == null ? undefined : json['customCredits'],
|
|
40
|
-
'
|
|
40
|
+
'creditPriceUsd': json['creditPriceUsd'] == null ? undefined : json['creditPriceUsd'],
|
|
41
|
+
'effectiveCreditPriceUsd': json['effectiveCreditPriceUsd'] == null ? undefined : json['effectiveCreditPriceUsd'],
|
|
42
|
+
'periodTotalUsd': json['periodTotalUsd'] == null ? undefined : json['periodTotalUsd'],
|
|
41
43
|
'additionalFeatures': json['additionalFeatures'] == null ? undefined : json['additionalFeatures'],
|
|
42
44
|
'billingCycle': json['billingCycle'] == null ? undefined : json['billingCycle'],
|
|
43
45
|
'minimumCommitmentMonths': json['minimumCommitmentMonths'] == null ? undefined : json['minimumCommitmentMonths'],
|
|
@@ -61,7 +63,9 @@ export function PartnerContractToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
61
63
|
'partnerId': value['partnerId'],
|
|
62
64
|
'customPrice': value['customPrice'],
|
|
63
65
|
'customCredits': value['customCredits'],
|
|
64
|
-
'
|
|
66
|
+
'creditPriceUsd': value['creditPriceUsd'],
|
|
67
|
+
'effectiveCreditPriceUsd': value['effectiveCreditPriceUsd'],
|
|
68
|
+
'periodTotalUsd': value['periodTotalUsd'],
|
|
65
69
|
'additionalFeatures': value['additionalFeatures'],
|
|
66
70
|
'billingCycle': value['billingCycle'],
|
|
67
71
|
'minimumCommitmentMonths': value['minimumCommitmentMonths'],
|
|
@@ -34,17 +34,29 @@ export interface PartnerCustomization {
|
|
|
34
34
|
*/
|
|
35
35
|
customPrice?: number;
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* Credits the partner receives each billing period (`billingCycle`). What a period costs is derived from it, see `periodTotalUsd`
|
|
38
38
|
* @type {number}
|
|
39
39
|
* @memberof PartnerCustomization
|
|
40
40
|
*/
|
|
41
41
|
customCredits?: number;
|
|
42
42
|
/**
|
|
43
|
-
*
|
|
43
|
+
* What the partner pays for one credit, in dollars (up to four decimals). Null means the list price
|
|
44
44
|
* @type {number}
|
|
45
45
|
* @memberof PartnerCustomization
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
creditPriceUsd?: number | null;
|
|
48
|
+
/**
|
|
49
|
+
* What one credit costs the partner, in dollars. `creditPriceUsd` when the contract names one, the list price otherwise
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof PartnerCustomization
|
|
52
|
+
*/
|
|
53
|
+
effectiveCreditPriceUsd?: number;
|
|
54
|
+
/**
|
|
55
|
+
* What one billing period costs, in dollars before tax. `customCredits` times `effectiveCreditPriceUsd`; null while the contract names no credits
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof PartnerCustomization
|
|
58
|
+
*/
|
|
59
|
+
periodTotalUsd?: number | null;
|
|
48
60
|
/**
|
|
49
61
|
* Additional features beyond base partner plan
|
|
50
62
|
* @type {Array<string>}
|
|
@@ -37,7 +37,9 @@ export function PartnerCustomizationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
'partnerId': json['partnerId'] == null ? undefined : json['partnerId'],
|
|
38
38
|
'customPrice': json['customPrice'] == null ? undefined : json['customPrice'],
|
|
39
39
|
'customCredits': json['customCredits'] == null ? undefined : json['customCredits'],
|
|
40
|
-
'
|
|
40
|
+
'creditPriceUsd': json['creditPriceUsd'] == null ? undefined : json['creditPriceUsd'],
|
|
41
|
+
'effectiveCreditPriceUsd': json['effectiveCreditPriceUsd'] == null ? undefined : json['effectiveCreditPriceUsd'],
|
|
42
|
+
'periodTotalUsd': json['periodTotalUsd'] == null ? undefined : json['periodTotalUsd'],
|
|
41
43
|
'additionalFeatures': json['additionalFeatures'] == null ? undefined : json['additionalFeatures'],
|
|
42
44
|
'billingCycle': json['billingCycle'] == null ? undefined : json['billingCycle'],
|
|
43
45
|
'minimumCommitmentMonths': json['minimumCommitmentMonths'] == null ? undefined : json['minimumCommitmentMonths'],
|
|
@@ -62,7 +64,9 @@ export function PartnerCustomizationToJSONTyped(value, ignoreDiscriminator = fal
|
|
|
62
64
|
'partnerId': value['partnerId'],
|
|
63
65
|
'customPrice': value['customPrice'],
|
|
64
66
|
'customCredits': value['customCredits'],
|
|
65
|
-
'
|
|
67
|
+
'creditPriceUsd': value['creditPriceUsd'],
|
|
68
|
+
'effectiveCreditPriceUsd': value['effectiveCreditPriceUsd'],
|
|
69
|
+
'periodTotalUsd': value['periodTotalUsd'],
|
|
66
70
|
'additionalFeatures': value['additionalFeatures'],
|
|
67
71
|
'billingCycle': value['billingCycle'],
|
|
68
72
|
'minimumCommitmentMonths': value['minimumCommitmentMonths'],
|
|
@@ -92,6 +92,13 @@ export interface PartnerDetails {
|
|
|
92
92
|
* @memberof PartnerDetails
|
|
93
93
|
*/
|
|
94
94
|
allowedDomains?: Array<string> | null;
|
|
95
|
+
/**
|
|
96
|
+
* 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.
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof PartnerDetails
|
|
100
|
+
*/
|
|
101
|
+
platformDomain?: string | null;
|
|
95
102
|
/**
|
|
96
103
|
*
|
|
97
104
|
* @type {Array<string>}
|
|
@@ -56,6 +56,7 @@ export function PartnerDetailsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
56
|
'monthlyMinimumSpend': json['monthlyMinimumSpend'] == null ? undefined : json['monthlyMinimumSpend'],
|
|
57
57
|
'webhookUrl': json['webhookUrl'] == null ? undefined : json['webhookUrl'],
|
|
58
58
|
'allowedDomains': json['allowedDomains'] == null ? undefined : json['allowedDomains'],
|
|
59
|
+
'platformDomain': json['platformDomain'] == null ? undefined : json['platformDomain'],
|
|
59
60
|
'featuresEnabled': json['featuresEnabled'] == null ? undefined : json['featuresEnabled'],
|
|
60
61
|
'billingSettings': json['billingSettings'] == null ? undefined : json['billingSettings'],
|
|
61
62
|
'whiteLabelConfig': json['whiteLabelConfig'] == null ? undefined : json['whiteLabelConfig'],
|
|
@@ -86,6 +87,7 @@ export function PartnerDetailsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
86
87
|
'monthlyMinimumSpend': value['monthlyMinimumSpend'],
|
|
87
88
|
'webhookUrl': value['webhookUrl'],
|
|
88
89
|
'allowedDomains': value['allowedDomains'],
|
|
90
|
+
'platformDomain': value['platformDomain'],
|
|
89
91
|
'featuresEnabled': value['featuresEnabled'],
|
|
90
92
|
'billingSettings': value['billingSettings'],
|
|
91
93
|
'whiteLabelConfig': value['whiteLabelConfig'],
|
|
@@ -0,0 +1,98 @@
|
|
|
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
|
+
* The invoice for extra credits that was issued, and what paying it adds.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PartnerExtraCreditsInvoice
|
|
16
|
+
*/
|
|
17
|
+
export interface PartnerExtraCreditsInvoice {
|
|
18
|
+
/**
|
|
19
|
+
* Stripe's id for the invoice.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PartnerExtraCreditsInvoice
|
|
22
|
+
*/
|
|
23
|
+
invoiceId: string;
|
|
24
|
+
/**
|
|
25
|
+
* The number printed on the invoice, once Stripe has numbered it.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PartnerExtraCreditsInvoice
|
|
28
|
+
*/
|
|
29
|
+
number: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* The page where the invoice is viewed and paid.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PartnerExtraCreditsInvoice
|
|
34
|
+
*/
|
|
35
|
+
hostedInvoiceUrl: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* A PDF of the invoice.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PartnerExtraCreditsInvoice
|
|
40
|
+
*/
|
|
41
|
+
pdfUrl: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* The credits paying the invoice adds, once and for good. They do not expire.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof PartnerExtraCreditsInvoice
|
|
46
|
+
*/
|
|
47
|
+
credits: number;
|
|
48
|
+
/**
|
|
49
|
+
* What one credit costs, in dollars. It is the list price, not the price of the contract.
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof PartnerExtraCreditsInvoice
|
|
52
|
+
*/
|
|
53
|
+
creditPriceUsd: number;
|
|
54
|
+
/**
|
|
55
|
+
* The price of those credits, in dollars, before tax. Never more than `usd` of the request.
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof PartnerExtraCreditsInvoice
|
|
58
|
+
*/
|
|
59
|
+
amountUsd: number;
|
|
60
|
+
/**
|
|
61
|
+
* The tax added to the invoice, in dollars (0 when there is none).
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof PartnerExtraCreditsInvoice
|
|
64
|
+
*/
|
|
65
|
+
taxUsd: number;
|
|
66
|
+
/**
|
|
67
|
+
* What is paid, in dollars. The price plus the tax.
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof PartnerExtraCreditsInvoice
|
|
70
|
+
*/
|
|
71
|
+
totalUsd: number;
|
|
72
|
+
/**
|
|
73
|
+
* The currency of the invoice, in upper case (USD).
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof PartnerExtraCreditsInvoice
|
|
76
|
+
*/
|
|
77
|
+
currency: string;
|
|
78
|
+
/**
|
|
79
|
+
* When payment is due, as printed on the invoice.
|
|
80
|
+
* @type {Date}
|
|
81
|
+
* @memberof PartnerExtraCreditsInvoice
|
|
82
|
+
*/
|
|
83
|
+
dueDate: Date | null;
|
|
84
|
+
/**
|
|
85
|
+
* How many days there are to pay.
|
|
86
|
+
* @type {number}
|
|
87
|
+
* @memberof PartnerExtraCreditsInvoice
|
|
88
|
+
*/
|
|
89
|
+
dueDays: number;
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* Check if a given object implements the PartnerExtraCreditsInvoice interface.
|
|
93
|
+
*/
|
|
94
|
+
export declare function instanceOfPartnerExtraCreditsInvoice(value: object): value is PartnerExtraCreditsInvoice;
|
|
95
|
+
export declare function PartnerExtraCreditsInvoiceFromJSON(json: any): PartnerExtraCreditsInvoice;
|
|
96
|
+
export declare function PartnerExtraCreditsInvoiceFromJSONTyped(json: any, ignoreDiscriminator: boolean): PartnerExtraCreditsInvoice;
|
|
97
|
+
export declare function PartnerExtraCreditsInvoiceToJSON(json: any): PartnerExtraCreditsInvoice;
|
|
98
|
+
export declare function PartnerExtraCreditsInvoiceToJSONTyped(value?: PartnerExtraCreditsInvoice | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,87 @@
|
|
|
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
|
+
* Check if a given object implements the PartnerExtraCreditsInvoice interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfPartnerExtraCreditsInvoice(value) {
|
|
18
|
+
if (!('invoiceId' in value) || value['invoiceId'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('number' in value) || value['number'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('hostedInvoiceUrl' in value) || value['hostedInvoiceUrl'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('pdfUrl' in value) || value['pdfUrl'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('credits' in value) || value['credits'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('creditPriceUsd' in value) || value['creditPriceUsd'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('amountUsd' in value) || value['amountUsd'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('taxUsd' in value) || value['taxUsd'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('totalUsd' in value) || value['totalUsd'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('currency' in value) || value['currency'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('dueDate' in value) || value['dueDate'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('dueDays' in value) || value['dueDays'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
export function PartnerExtraCreditsInvoiceFromJSON(json) {
|
|
45
|
+
return PartnerExtraCreditsInvoiceFromJSONTyped(json, false);
|
|
46
|
+
}
|
|
47
|
+
export function PartnerExtraCreditsInvoiceFromJSONTyped(json, ignoreDiscriminator) {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'invoiceId': json['invoiceId'],
|
|
53
|
+
'number': json['number'],
|
|
54
|
+
'hostedInvoiceUrl': json['hostedInvoiceUrl'],
|
|
55
|
+
'pdfUrl': json['pdfUrl'],
|
|
56
|
+
'credits': json['credits'],
|
|
57
|
+
'creditPriceUsd': json['creditPriceUsd'],
|
|
58
|
+
'amountUsd': json['amountUsd'],
|
|
59
|
+
'taxUsd': json['taxUsd'],
|
|
60
|
+
'totalUsd': json['totalUsd'],
|
|
61
|
+
'currency': json['currency'],
|
|
62
|
+
'dueDate': (json['dueDate'] == null ? null : new Date(json['dueDate'])),
|
|
63
|
+
'dueDays': json['dueDays'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
export function PartnerExtraCreditsInvoiceToJSON(json) {
|
|
67
|
+
return PartnerExtraCreditsInvoiceToJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
export function PartnerExtraCreditsInvoiceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
'invoiceId': value['invoiceId'],
|
|
75
|
+
'number': value['number'],
|
|
76
|
+
'hostedInvoiceUrl': value['hostedInvoiceUrl'],
|
|
77
|
+
'pdfUrl': value['pdfUrl'],
|
|
78
|
+
'credits': value['credits'],
|
|
79
|
+
'creditPriceUsd': value['creditPriceUsd'],
|
|
80
|
+
'amountUsd': value['amountUsd'],
|
|
81
|
+
'taxUsd': value['taxUsd'],
|
|
82
|
+
'totalUsd': value['totalUsd'],
|
|
83
|
+
'currency': value['currency'],
|
|
84
|
+
'dueDate': (value['dueDate'] == null ? null : value['dueDate'].toISOString()),
|
|
85
|
+
'dueDays': value['dueDays'],
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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 { PartnerInvoiceScheduleContract } from './PartnerInvoiceScheduleContract';
|
|
13
|
+
import type { PartnerInvoiceScheduleNext } from './PartnerInvoiceScheduleNext';
|
|
14
|
+
import type { PartnerInvoiceScheduleOverdue } from './PartnerInvoiceScheduleOverdue';
|
|
15
|
+
import type { PartnerInvoiceSchedulePeriod } from './PartnerInvoiceSchedulePeriod';
|
|
16
|
+
/**
|
|
17
|
+
* A partner's contract invoicing: the terms it runs on, what happens next and when, the periods on record, and what the partner owes past its due day.
|
|
18
|
+
* @export
|
|
19
|
+
* @interface PartnerInvoiceSchedule
|
|
20
|
+
*/
|
|
21
|
+
export interface PartnerInvoiceSchedule {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof PartnerInvoiceSchedule
|
|
26
|
+
*/
|
|
27
|
+
partnerId: string;
|
|
28
|
+
/**
|
|
29
|
+
* The UTC day this was worked out for
|
|
30
|
+
* @type {Date}
|
|
31
|
+
* @memberof PartnerInvoiceSchedule
|
|
32
|
+
*/
|
|
33
|
+
today: Date;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {PartnerInvoiceScheduleContract}
|
|
37
|
+
* @memberof PartnerInvoiceSchedule
|
|
38
|
+
*/
|
|
39
|
+
contract: PartnerInvoiceScheduleContract | null;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {PartnerInvoiceScheduleNext}
|
|
43
|
+
* @memberof PartnerInvoiceSchedule
|
|
44
|
+
*/
|
|
45
|
+
next: PartnerInvoiceScheduleNext;
|
|
46
|
+
/**
|
|
47
|
+
* The periods on record, latest first (at most 24)
|
|
48
|
+
* @type {Array<PartnerInvoiceSchedulePeriod>}
|
|
49
|
+
* @memberof PartnerInvoiceSchedule
|
|
50
|
+
*/
|
|
51
|
+
periods: Array<PartnerInvoiceSchedulePeriod>;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {PartnerInvoiceScheduleOverdue}
|
|
55
|
+
* @memberof PartnerInvoiceSchedule
|
|
56
|
+
*/
|
|
57
|
+
overdue: PartnerInvoiceScheduleOverdue;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Check if a given object implements the PartnerInvoiceSchedule interface.
|
|
61
|
+
*/
|
|
62
|
+
export declare function instanceOfPartnerInvoiceSchedule(value: object): value is PartnerInvoiceSchedule;
|
|
63
|
+
export declare function PartnerInvoiceScheduleFromJSON(json: any): PartnerInvoiceSchedule;
|
|
64
|
+
export declare function PartnerInvoiceScheduleFromJSONTyped(json: any, ignoreDiscriminator: boolean): PartnerInvoiceSchedule;
|
|
65
|
+
export declare function PartnerInvoiceScheduleToJSON(json: any): PartnerInvoiceSchedule;
|
|
66
|
+
export declare function PartnerInvoiceScheduleToJSONTyped(value?: PartnerInvoiceSchedule | null, ignoreDiscriminator?: boolean): any;
|