@schematichq/schematic-typescript-node 1.4.4 → 1.4.6
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/LICENSE +1 -1
- package/dist/BaseClient.d.ts +1 -1
- package/dist/Client.d.ts +14 -0
- package/dist/api/resources/accesstokens/exports.d.ts +2 -0
- package/dist/api/resources/accounts/client/Client.d.ts +43 -10
- package/dist/api/resources/accounts/client/requests/CountApiKeysRequest.d.ts +2 -2
- package/dist/api/resources/accounts/client/requests/CountAuditLogsRequest.d.ts +2 -2
- package/dist/api/resources/accounts/client/requests/ListAccountMembersRequest.d.ts +17 -0
- package/dist/api/resources/accounts/client/requests/ListApiKeysRequest.d.ts +2 -2
- package/dist/api/resources/accounts/client/requests/ListAuditLogsRequest.d.ts +2 -2
- package/dist/api/resources/accounts/client/requests/ListEnvironmentsRequest.d.ts +2 -2
- package/dist/api/resources/accounts/client/requests/index.d.ts +1 -0
- package/dist/api/resources/accounts/exports.d.ts +2 -0
- package/dist/api/resources/accounts/types/GetAccountMemberResponse.d.ts +6 -0
- package/dist/api/resources/accounts/types/ListAccountMembersParams.d.ts +12 -0
- package/dist/api/resources/accounts/types/ListAccountMembersResponse.d.ts +6 -0
- package/dist/api/resources/accounts/types/index.d.ts +3 -0
- package/dist/api/resources/billing/client/Client.d.ts +42 -40
- package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +3 -3
- package/dist/api/resources/billing/client/requests/CountCustomersRequest.d.ts +3 -3
- package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +1 -1
- package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +4 -3
- package/dist/api/resources/billing/client/requests/CreateCouponRequestBody.d.ts +4 -4
- package/dist/api/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +4 -4
- package/dist/api/resources/billing/client/requests/CreateMeterRequestBody.d.ts +2 -0
- package/dist/api/resources/billing/client/requests/ListBillingPricesRequest.d.ts +7 -4
- package/dist/api/resources/billing/client/requests/ListBillingProductPricesRequest.d.ts +7 -4
- package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +3 -3
- package/dist/api/resources/billing/client/requests/ListCouponsRequest.d.ts +2 -2
- package/dist/api/resources/billing/client/requests/ListCustomersWithSubscriptionsRequest.d.ts +3 -3
- package/dist/api/resources/billing/client/requests/ListInvoicesRequest.d.ts +2 -2
- package/dist/api/resources/billing/client/requests/ListMetersRequest.d.ts +2 -2
- package/dist/api/resources/billing/client/requests/ListPaymentMethodsRequest.d.ts +2 -2
- package/dist/api/resources/billing/exports.d.ts +2 -0
- package/dist/api/resources/billing/types/ListBillingPricesParams.d.ts +2 -0
- package/dist/api/resources/billing/types/ListBillingProductPricesParams.d.ts +2 -0
- package/dist/api/resources/checkout/client/Client.d.ts +8 -8
- package/dist/api/resources/checkout/exports.d.ts +2 -0
- package/dist/api/resources/companies/client/Client.d.ts +38 -30
- package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +5 -2
- package/dist/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/CountPlanTraitsRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/CountUsersRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/GetActiveCompanySubscriptionRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/GetEntityTraitValuesRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +5 -2
- package/dist/api/resources/companies/client/requests/ListCompanyMembershipsRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/ListPlanChangesRequest.d.ts +7 -6
- package/dist/api/resources/companies/client/requests/ListPlanTraitsRequest.d.ts +2 -2
- package/dist/api/resources/companies/client/requests/ListUsersRequest.d.ts +2 -2
- package/dist/api/resources/companies/exports.d.ts +2 -0
- package/dist/api/resources/companies/types/CountCompaniesParams.d.ts +2 -0
- package/dist/api/resources/companies/types/ListCompaniesParams.d.ts +2 -0
- package/dist/api/resources/companies/types/ListPlanChangesParams.d.ts +3 -2
- package/dist/api/resources/components/client/Client.d.ts +4 -4
- package/dist/api/resources/components/client/requests/CountComponentsRequest.d.ts +2 -2
- package/dist/api/resources/components/client/requests/ListComponentsRequest.d.ts +2 -2
- package/dist/api/resources/components/exports.d.ts +2 -0
- package/dist/api/resources/componentspublic/exports.d.ts +2 -0
- package/dist/api/resources/credits/client/Client.d.ts +47 -33
- package/dist/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/CountBillingCreditsRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/CountCompanyGrantsRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/CountCreditBundlesRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/CountCreditEventLedgerRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/CountCreditLedgerRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +3 -2
- package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +2 -1
- package/dist/api/resources/credits/client/requests/GetEnrichedCreditLedgerRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/ListBillingCreditsRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/ListCompanyGrantsRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/ListCreditEventLedgerRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/ListGrantsForCreditRequest.d.ts +2 -2
- package/dist/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +2 -1
- package/dist/api/resources/credits/exports.d.ts +2 -0
- package/dist/api/resources/credits/types/GetSingleBillingPlanCreditGrantResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/index.d.ts +1 -0
- package/dist/api/resources/dataexports/exports.d.ts +2 -0
- package/dist/api/resources/entitlements/client/Client.d.ts +41 -20
- package/dist/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/CountFeatureCompaniesRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/CountFeatureUsageRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/CountFeatureUsersRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/CreateBillingLinkedPlanEntitlementRequestBody.d.ts +44 -0
- package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +1 -0
- package/dist/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/ListFeatureCompaniesRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/ListFeatureUsageRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/ListFeatureUsersRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +1 -0
- package/dist/api/resources/entitlements/client/requests/index.d.ts +1 -0
- package/dist/api/resources/entitlements/exports.d.ts +2 -0
- package/dist/api/resources/entitlements/types/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriod.d.ts +7 -0
- package/dist/api/resources/entitlements/types/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +5 -0
- package/dist/api/resources/entitlements/types/UpsertPlanEntitlementForBillingProductResponse.d.ts +6 -0
- package/dist/api/resources/entitlements/types/index.d.ts +3 -0
- package/dist/api/resources/events/client/Client.d.ts +4 -4
- package/dist/api/resources/events/client/requests/GetEventSummariesRequest.d.ts +2 -2
- package/dist/api/resources/events/client/requests/ListEventsRequest.d.ts +2 -2
- package/dist/api/resources/events/exports.d.ts +2 -0
- package/dist/api/resources/features/client/Client.d.ts +34 -13
- package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +10 -10
- package/dist/api/resources/features/client/requests/CountFlagsRequest.d.ts +2 -2
- package/dist/api/resources/features/client/requests/CreateBillingLinkedFeatureRequestBody.d.ts +26 -0
- package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +10 -10
- package/dist/api/resources/features/client/requests/ListFlagsRequest.d.ts +2 -2
- package/dist/api/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +1 -1
- package/dist/api/resources/features/client/requests/index.d.ts +1 -0
- package/dist/api/resources/features/exports.d.ts +2 -0
- package/dist/api/resources/features/types/UpsertFeatureForBillingProductResponse.d.ts +6 -0
- package/dist/api/resources/features/types/index.d.ts +1 -0
- package/dist/api/resources/index.d.ts +2 -0
- package/dist/api/resources/integrationsapi/client/Client.d.ts +27 -0
- package/dist/api/resources/integrationsapi/client/index.d.ts +1 -0
- package/dist/api/resources/integrationsapi/exports.d.ts +2 -0
- package/dist/api/resources/integrationsapi/index.d.ts +2 -0
- package/dist/api/resources/integrationsapi/types/GetIntegrationWebhookUrlResponse.d.ts +6 -0
- package/dist/api/resources/integrationsapi/types/index.d.ts +1 -0
- package/dist/api/resources/planbundle/exports.d.ts +2 -0
- package/dist/api/resources/plangroups/exports.d.ts +2 -0
- package/dist/api/resources/planmigrations/client/Client.d.ts +8 -8
- package/dist/api/resources/planmigrations/client/requests/CountCompanyMigrationsRequest.d.ts +2 -2
- package/dist/api/resources/planmigrations/client/requests/CountMigrationsRequest.d.ts +2 -2
- package/dist/api/resources/planmigrations/client/requests/ListCompanyMigrationsRequest.d.ts +2 -2
- package/dist/api/resources/planmigrations/client/requests/ListMigrationsRequest.d.ts +2 -2
- package/dist/api/resources/planmigrations/exports.d.ts +2 -0
- package/dist/api/resources/plans/client/Client.d.ts +98 -7
- package/dist/api/resources/plans/client/requests/CountBillingProductMatchCompaniesRequest.d.ts +19 -0
- package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +8 -2
- package/dist/api/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +19 -0
- package/dist/api/resources/plans/client/requests/CreateCustomPlanRequestBody.d.ts +16 -0
- package/dist/api/resources/plans/client/requests/DeletePlanVersionRequest.d.ts +9 -0
- package/dist/api/resources/plans/client/requests/ListBillingProductMatchCompaniesRequest.d.ts +19 -0
- package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +8 -2
- package/dist/api/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +9 -1
- package/dist/api/resources/plans/client/requests/index.d.ts +5 -0
- package/dist/api/resources/plans/exports.d.ts +2 -0
- package/dist/api/resources/plans/types/CountBillingProductMatchCompaniesParams.d.ts +13 -0
- package/dist/api/resources/plans/types/CountBillingProductMatchCompaniesResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/CountPlansParams.d.ts +4 -0
- package/dist/api/resources/plans/types/CreateCustomPlanResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/DeletePlanVersionParams.d.ts +6 -0
- package/dist/api/resources/plans/types/DeletePlanVersionResponse.d.ts +1 -1
- package/dist/api/resources/plans/types/ListBillingProductMatchCompaniesParams.d.ts +13 -0
- package/dist/api/resources/plans/types/ListBillingProductMatchCompaniesResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/ListPlansParams.d.ts +4 -0
- package/dist/api/resources/plans/types/UpsertPlanForBillingProductResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/index.d.ts +7 -0
- package/dist/api/resources/scheduledcheckout/client/Client.d.ts +2 -2
- package/dist/api/resources/scheduledcheckout/client/requests/ListScheduledCheckoutsRequest.d.ts +2 -2
- package/dist/api/resources/scheduledcheckout/exports.d.ts +2 -0
- package/dist/api/resources/webhooks/client/Client.d.ts +8 -8
- package/dist/api/resources/webhooks/client/requests/CountWebhookEventsRequest.d.ts +2 -2
- package/dist/api/resources/webhooks/client/requests/CountWebhooksRequest.d.ts +2 -2
- package/dist/api/resources/webhooks/client/requests/ListWebhookEventsRequest.d.ts +2 -2
- package/dist/api/resources/webhooks/client/requests/ListWebhooksRequest.d.ts +2 -2
- package/dist/api/resources/webhooks/exports.d.ts +2 -0
- package/dist/api/types/AccountMemberPermission.d.ts +18 -0
- package/dist/api/types/AccountMemberResponseData.d.ts +11 -0
- package/dist/api/types/AccountMemberRole.d.ts +5 -0
- package/dist/api/types/BillingCreditBundleResponseData.d.ts +2 -0
- package/dist/api/types/BillingCreditBundleView.d.ts +1 -0
- package/dist/api/types/BillingCreditGrantReason.d.ts +1 -0
- package/dist/api/types/BillingCreditGrantResponseData.d.ts +1 -0
- package/dist/api/types/BillingCreditResponseData.d.ts +1 -0
- package/dist/api/types/BillingLinkedResourceResponseData.d.ts +6 -0
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +1 -0
- package/dist/api/types/BillingProductPlanResponseData.d.ts +1 -1
- package/dist/api/types/BillingProviderType.d.ts +1 -0
- package/dist/api/types/CheckoutSubscription.d.ts +1 -0
- package/dist/api/types/CompanyDetailResponseData.d.ts +1 -0
- package/dist/api/types/CompanyPlanDetailResponseData.d.ts +7 -2
- package/dist/api/types/ConditionGroupResponseData.d.ts +0 -1
- package/dist/api/types/ConditionGroupView.d.ts +0 -1
- package/dist/api/types/ConditionResponseData.d.ts +0 -1
- package/dist/api/types/ConditionView.d.ts +0 -1
- package/dist/api/types/CreateBillingPlanCreditGrantRequestBody.d.ts +1 -0
- package/dist/api/types/CreateEntitlementInBundleRequestBody.d.ts +1 -0
- package/dist/api/types/CreatePlanRequestBody.d.ts +1 -1
- package/dist/api/types/CreditBundleCurrencyPrice.d.ts +5 -0
- package/dist/api/types/CreditBundleCurrencyPriceRequestBody.d.ts +5 -0
- package/dist/api/types/CreditBundleCurrencyPriceResponseData.d.ts +5 -0
- package/dist/api/types/CreditCompanyGrantView.d.ts +1 -0
- package/dist/api/types/CreditCurrencyPriceRequestBody.d.ts +5 -0
- package/dist/api/types/CreditCurrencyPriceResponseData.d.ts +5 -0
- package/dist/api/types/CurrencyPriceRequestBody.d.ts +10 -0
- package/dist/api/types/CustomPlanActivationStrategy.d.ts +5 -0
- package/dist/api/types/CustomPlanBillingResponseData.d.ts +14 -0
- package/dist/api/types/CustomPlanBillingStatus.d.ts +6 -0
- package/dist/api/types/DatastreamCompanyPlan.d.ts +2 -0
- package/dist/api/types/EntitlementCurrencyPricesResponseData.d.ts +6 -0
- package/dist/api/types/FeatureDetailResponseData.d.ts +1 -0
- package/dist/api/types/FeatureView.d.ts +1 -0
- package/dist/api/types/IntegrationType.d.ts +7 -0
- package/dist/api/types/IntegrationWebhookUrlResponseData.d.ts +5 -0
- package/dist/api/types/ManagePlanRequest.d.ts +1 -0
- package/dist/api/types/PlanCreditGrantView.d.ts +1 -0
- package/dist/api/types/PlanCurrencyPriceRequestBody.d.ts +6 -0
- package/dist/api/types/PlanCurrencyPricesResponseData.d.ts +7 -0
- package/dist/api/types/PlanDetailResponseData.d.ts +7 -2
- package/dist/api/types/PlanEntitlementResponseData.d.ts +2 -0
- package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +7 -2
- package/dist/api/types/PlanIcon.d.ts +28 -0
- package/dist/api/types/PlanResponseData.d.ts +3 -1
- package/dist/api/types/PlanSelection.d.ts +1 -0
- package/dist/api/types/PlanVersionResponseData.d.ts +1 -1
- package/dist/api/types/PlanViewPublicResponseData.d.ts +7 -2
- package/dist/api/types/RuleView.d.ts +0 -1
- package/dist/api/types/RulesEngineSchemaVersion.d.ts +1 -1
- package/dist/api/types/TrialStatus.d.ts +6 -0
- package/dist/api/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +1 -0
- package/dist/api/types/UpdatePlanRequestBody.d.ts +2 -1
- package/dist/api/types/UpsertBillingProductRequestBody.d.ts +1 -0
- package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +1 -0
- package/dist/api/types/WebScheduledDowngradeWebhookOutput.d.ts +10 -0
- package/dist/api/types/WebhookRequestType.d.ts +1 -0
- package/dist/api/types/WebhookUrl.d.ts +5 -0
- package/dist/api/types/index.d.ts +22 -1
- package/dist/auth/HeaderAuthProvider.d.ts +14 -10
- package/dist/core/fetcher/BinaryResponse.d.ts +1 -1
- package/dist/core/fetcher/EndpointSupplier.d.ts +2 -2
- package/dist/core/fetcher/Fetcher.d.ts +1 -2
- package/dist/core/fetcher/index.d.ts +2 -0
- package/dist/core/fetcher/makePassthroughRequest.d.ts +49 -0
- package/dist/core/fetcher/makeRequest.d.ts +6 -1
- package/dist/core/headers.d.ts +2 -2
- package/dist/core/schemas/builders/record/index.d.ts +2 -2
- package/dist/core/schemas/builders/record/record.d.ts +2 -1
- package/dist/core/schemas/builders/record/types.d.ts +2 -0
- package/dist/datastream/merge.d.ts +25 -0
- package/dist/datastream/types.d.ts +1 -0
- package/dist/index.js +3 -3
- package/dist/serialization/resources/accounts/types/GetAccountMemberResponse.d.ts +11 -0
- package/dist/serialization/resources/accounts/types/ListAccountMembersParams.d.ts +12 -0
- package/dist/serialization/resources/accounts/types/ListAccountMembersResponse.d.ts +12 -0
- package/dist/serialization/resources/accounts/types/index.d.ts +3 -0
- package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionRequestBody.d.ts +2 -0
- package/dist/serialization/resources/billing/client/requests/CreateMeterRequestBody.d.ts +2 -0
- package/dist/serialization/resources/billing/types/ListBillingPricesParams.d.ts +1 -0
- package/dist/serialization/resources/billing/types/ListBillingProductPricesParams.d.ts +1 -0
- package/dist/serialization/resources/companies/types/CountCompaniesParams.d.ts +1 -0
- package/dist/serialization/resources/companies/types/ListCompaniesParams.d.ts +1 -0
- package/dist/serialization/resources/companies/types/ListPlanChangesParams.d.ts +4 -2
- package/dist/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts +2 -0
- package/dist/serialization/resources/credits/client/requests/CreateCompanyCreditGrant.d.ts +1 -0
- package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +2 -0
- package/dist/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts +2 -0
- package/dist/serialization/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +2 -0
- package/dist/serialization/resources/credits/types/GetSingleBillingPlanCreditGrantResponse.d.ts +11 -0
- package/dist/serialization/resources/credits/types/index.d.ts +1 -0
- package/dist/serialization/resources/entitlements/client/requests/CreateBillingLinkedPlanEntitlementRequestBody.d.ts +46 -0
- package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +2 -0
- package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +2 -0
- package/dist/serialization/resources/entitlements/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/entitlements/types/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriod.d.ts +7 -0
- package/dist/serialization/resources/entitlements/types/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +7 -0
- package/dist/serialization/resources/entitlements/types/UpsertPlanEntitlementForBillingProductResponse.d.ts +11 -0
- package/dist/serialization/resources/entitlements/types/index.d.ts +3 -0
- package/dist/serialization/resources/features/client/requests/CreateBillingLinkedFeatureRequestBody.d.ts +25 -0
- package/dist/serialization/resources/features/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/features/types/UpsertFeatureForBillingProductResponse.d.ts +11 -0
- package/dist/serialization/resources/features/types/index.d.ts +1 -0
- package/dist/serialization/resources/index.d.ts +2 -0
- package/dist/serialization/resources/integrationsapi/index.d.ts +1 -0
- package/dist/serialization/resources/integrationsapi/types/GetIntegrationWebhookUrlResponse.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/index.d.ts +1 -0
- package/dist/serialization/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +17 -0
- package/dist/serialization/resources/plans/client/requests/CreateCustomPlanRequestBody.d.ts +14 -0
- package/dist/serialization/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +6 -0
- package/dist/serialization/resources/plans/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/plans/types/CountBillingProductMatchCompaniesParams.d.ts +12 -0
- package/dist/serialization/resources/plans/types/CountBillingProductMatchCompaniesResponse.d.ts +12 -0
- package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +2 -0
- package/dist/serialization/resources/plans/types/CreateCustomPlanResponse.d.ts +11 -0
- package/dist/serialization/resources/plans/types/DeletePlanVersionParams.d.ts +9 -0
- package/dist/serialization/resources/plans/types/DeletePlanVersionResponse.d.ts +2 -1
- package/dist/serialization/resources/plans/types/ListBillingProductMatchCompaniesParams.d.ts +12 -0
- package/dist/serialization/resources/plans/types/ListBillingProductMatchCompaniesResponse.d.ts +12 -0
- package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +2 -0
- package/dist/serialization/resources/plans/types/UpsertPlanForBillingProductResponse.d.ts +11 -0
- package/dist/serialization/resources/plans/types/index.d.ts +7 -0
- package/dist/serialization/types/AccountMemberPermission.d.ts +7 -0
- package/dist/serialization/types/AccountMemberResponseData.d.ts +18 -0
- package/dist/serialization/types/AccountMemberRole.d.ts +7 -0
- package/dist/serialization/types/BillingCreditBundleResponseData.d.ts +3 -0
- package/dist/serialization/types/BillingCreditBundleView.d.ts +2 -0
- package/dist/serialization/types/BillingCreditGrantReason.d.ts +1 -1
- package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +1 -0
- package/dist/serialization/types/BillingCreditResponseData.d.ts +2 -0
- package/dist/serialization/types/BillingLinkedResourceResponseData.d.ts +12 -0
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +1 -0
- package/dist/serialization/types/BillingProductPlanResponseData.d.ts +2 -2
- package/dist/serialization/types/BillingProviderType.d.ts +1 -1
- package/dist/serialization/types/CheckoutSubscription.d.ts +1 -0
- package/dist/serialization/types/CompanyDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +10 -3
- package/dist/serialization/types/ConditionGroupResponseData.d.ts +0 -1
- package/dist/serialization/types/ConditionGroupView.d.ts +0 -1
- package/dist/serialization/types/ConditionResponseData.d.ts +0 -1
- package/dist/serialization/types/ConditionView.d.ts +0 -1
- package/dist/serialization/types/CreateBillingPlanCreditGrantRequestBody.d.ts +1 -0
- package/dist/serialization/types/CreateEntitlementInBundleRequestBody.d.ts +2 -0
- package/dist/serialization/types/CreatePlanRequestBody.d.ts +2 -1
- package/dist/serialization/types/CreditBundleCurrencyPrice.d.ts +11 -0
- package/dist/serialization/types/CreditBundleCurrencyPriceRequestBody.d.ts +11 -0
- package/dist/serialization/types/CreditBundleCurrencyPriceResponseData.d.ts +11 -0
- package/dist/serialization/types/CreditCompanyGrantView.d.ts +1 -0
- package/dist/serialization/types/CreditCurrencyPriceRequestBody.d.ts +11 -0
- package/dist/serialization/types/CreditCurrencyPriceResponseData.d.ts +11 -0
- package/dist/serialization/types/CurrencyPriceRequestBody.d.ts +16 -0
- package/dist/serialization/types/CustomPlanActivationStrategy.d.ts +7 -0
- package/dist/serialization/types/CustomPlanBillingResponseData.d.ts +21 -0
- package/dist/serialization/types/CustomPlanBillingStatus.d.ts +7 -0
- package/dist/serialization/types/DatastreamCompanyPlan.d.ts +2 -0
- package/dist/serialization/types/EntitlementCurrencyPricesResponseData.d.ts +12 -0
- package/dist/serialization/types/FeatureDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/FeatureView.d.ts +2 -0
- package/dist/serialization/types/IntegrationType.d.ts +7 -0
- package/dist/serialization/types/IntegrationWebhookUrlResponseData.d.ts +11 -0
- package/dist/serialization/types/ManagePlanRequest.d.ts +1 -0
- package/dist/serialization/types/PlanCreditGrantView.d.ts +1 -0
- package/dist/serialization/types/PlanCurrencyPriceRequestBody.d.ts +12 -0
- package/dist/serialization/types/PlanCurrencyPricesResponseData.d.ts +13 -0
- package/dist/serialization/types/PlanDetailResponseData.d.ts +10 -3
- package/dist/serialization/types/PlanEntitlementResponseData.d.ts +4 -0
- package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +10 -3
- package/dist/serialization/types/PlanIcon.d.ts +7 -0
- package/dist/serialization/types/PlanResponseData.d.ts +4 -1
- package/dist/serialization/types/PlanSelection.d.ts +1 -0
- package/dist/serialization/types/PlanVersionResponseData.d.ts +2 -1
- package/dist/serialization/types/PlanViewPublicResponseData.d.ts +10 -3
- package/dist/serialization/types/RuleView.d.ts +0 -1
- package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +1 -1
- package/dist/serialization/types/TrialStatus.d.ts +7 -0
- package/dist/serialization/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +1 -0
- package/dist/serialization/types/UpdatePlanRequestBody.d.ts +2 -1
- package/dist/serialization/types/UpsertBillingProductRequestBody.d.ts +2 -0
- package/dist/serialization/types/UsageBasedEntitlementRequestBody.d.ts +2 -0
- package/dist/serialization/types/WebScheduledDowngradeWebhookOutput.d.ts +17 -0
- package/dist/serialization/types/WebhookRequestType.d.ts +1 -1
- package/dist/serialization/types/WebhookUrl.d.ts +11 -0
- package/dist/serialization/types/index.d.ts +22 -1
- package/dist/wasm/rulesengine.d.ts +10 -0
- package/dist/wasm/rulesengine.js +193 -0
- package/dist/wasm/rulesengine_bg.wasm +0 -0
- package/dist/wasm/rulesengine_bg.wasm.d.ts +25 -0
- package/package.json +9 -9
- package/dist/api/types/PlanControlledByType.d.ts +0 -5
- package/dist/serialization/types/PlanControlledByType.d.ts +0 -7
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { AccountMemberResponseData } from "../../../types/AccountMemberResponseData";
|
|
5
|
+
export declare const GetAccountMemberResponse: core.serialization.ObjectSchema<serializers.GetAccountMemberResponse.Raw, Schematic.GetAccountMemberResponse>;
|
|
6
|
+
export declare namespace GetAccountMemberResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: AccountMemberResponseData.Raw;
|
|
9
|
+
params: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
export declare const ListAccountMembersParams: core.serialization.ObjectSchema<serializers.ListAccountMembersParams.Raw, Schematic.ListAccountMembersParams>;
|
|
5
|
+
export declare namespace ListAccountMembersParams {
|
|
6
|
+
interface Raw {
|
|
7
|
+
ids?: string[] | null;
|
|
8
|
+
limit?: number | null;
|
|
9
|
+
offset?: number | null;
|
|
10
|
+
q?: string | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { AccountMemberResponseData } from "../../../types/AccountMemberResponseData";
|
|
5
|
+
import { ListAccountMembersParams } from "./ListAccountMembersParams";
|
|
6
|
+
export declare const ListAccountMembersResponse: core.serialization.ObjectSchema<serializers.ListAccountMembersResponse.Raw, Schematic.ListAccountMembersResponse>;
|
|
7
|
+
export declare namespace ListAccountMembersResponse {
|
|
8
|
+
interface Raw {
|
|
9
|
+
data: AccountMemberResponseData.Raw[];
|
|
10
|
+
params: ListAccountMembersParams.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -6,10 +6,13 @@ export * from "./CreateApiKeyResponse";
|
|
|
6
6
|
export * from "./CreateEnvironmentResponse";
|
|
7
7
|
export * from "./DeleteApiKeyResponse";
|
|
8
8
|
export * from "./DeleteEnvironmentResponse";
|
|
9
|
+
export * from "./GetAccountMemberResponse";
|
|
9
10
|
export * from "./GetApiKeyResponse";
|
|
10
11
|
export * from "./GetAuditLogResponse";
|
|
11
12
|
export * from "./GetEnvironmentResponse";
|
|
12
13
|
export * from "./GetWhoAmIResponse";
|
|
14
|
+
export * from "./ListAccountMembersParams";
|
|
15
|
+
export * from "./ListAccountMembersResponse";
|
|
13
16
|
export * from "./ListApiKeysParams";
|
|
14
17
|
export * from "./ListApiKeysResponse";
|
|
15
18
|
export * from "./ListAuditLogsParams";
|
|
@@ -2,6 +2,7 @@ import type * as Schematic from "../../../../../api/index";
|
|
|
2
2
|
import * as core from "../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../index";
|
|
4
4
|
import { BillingProductPricing } from "../../../../types/BillingProductPricing";
|
|
5
|
+
import { BillingProviderType } from "../../../../types/BillingProviderType";
|
|
5
6
|
import { BillingSubscriptionDiscount } from "../../../../types/BillingSubscriptionDiscount";
|
|
6
7
|
import { BillingSubscriptionTrialEndSetting } from "../../../../types/BillingSubscriptionTrialEndSetting";
|
|
7
8
|
export declare const CreateBillingSubscriptionRequestBody: core.serialization.Schema<serializers.CreateBillingSubscriptionRequestBody.Raw, Schematic.CreateBillingSubscriptionRequestBody>;
|
|
@@ -21,6 +22,7 @@ export declare namespace CreateBillingSubscriptionRequestBody {
|
|
|
21
22
|
period_end?: number | null;
|
|
22
23
|
period_start?: number | null;
|
|
23
24
|
product_external_ids: BillingProductPricing.Raw[];
|
|
25
|
+
provider_type?: BillingProviderType.Raw | null;
|
|
24
26
|
status?: string | null;
|
|
25
27
|
subscription_external_id: string;
|
|
26
28
|
total_price: number;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type * as Schematic from "../../../../../api/index";
|
|
2
2
|
import * as core from "../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../index";
|
|
4
|
+
import { BillingProviderType } from "../../../../types/BillingProviderType";
|
|
4
5
|
export declare const CreateMeterRequestBody: core.serialization.Schema<serializers.CreateMeterRequestBody.Raw, Schematic.CreateMeterRequestBody>;
|
|
5
6
|
export declare namespace CreateMeterRequestBody {
|
|
6
7
|
interface Raw {
|
|
@@ -8,5 +9,6 @@ export declare namespace CreateMeterRequestBody {
|
|
|
8
9
|
event_name: string;
|
|
9
10
|
event_payload_key: string;
|
|
10
11
|
external_id: string;
|
|
12
|
+
provider_type?: BillingProviderType.Raw | null;
|
|
11
13
|
}
|
|
12
14
|
}
|
|
@@ -7,6 +7,7 @@ import { BillingTiersMode } from "../../../types/BillingTiersMode";
|
|
|
7
7
|
export declare const ListBillingPricesParams: core.serialization.ObjectSchema<serializers.ListBillingPricesParams.Raw, Schematic.ListBillingPricesParams>;
|
|
8
8
|
export declare namespace ListBillingPricesParams {
|
|
9
9
|
interface Raw {
|
|
10
|
+
currency?: string | null;
|
|
10
11
|
for_initial_plan?: boolean | null;
|
|
11
12
|
for_trial_expiry_plan?: boolean | null;
|
|
12
13
|
ids?: string[] | null;
|
|
@@ -7,6 +7,7 @@ import { BillingTiersMode } from "../../../types/BillingTiersMode";
|
|
|
7
7
|
export declare const ListBillingProductPricesParams: core.serialization.ObjectSchema<serializers.ListBillingProductPricesParams.Raw, Schematic.ListBillingProductPricesParams>;
|
|
8
8
|
export declare namespace ListBillingProductPricesParams {
|
|
9
9
|
interface Raw {
|
|
10
|
+
currency?: string | null;
|
|
10
11
|
for_initial_plan?: boolean | null;
|
|
11
12
|
for_trial_expiry_plan?: boolean | null;
|
|
12
13
|
ids?: string[] | null;
|
|
@@ -8,6 +8,7 @@ export declare const CountCompaniesParams: core.serialization.ObjectSchema<seria
|
|
|
8
8
|
export declare namespace CountCompaniesParams {
|
|
9
9
|
interface Raw {
|
|
10
10
|
credit_type_ids?: string[] | null;
|
|
11
|
+
has_scheduled_downgrade?: boolean | null;
|
|
11
12
|
ids?: string[] | null;
|
|
12
13
|
limit?: number | null;
|
|
13
14
|
monetized_subscriptions?: boolean | null;
|
|
@@ -8,6 +8,7 @@ export declare const ListCompaniesParams: core.serialization.ObjectSchema<serial
|
|
|
8
8
|
export declare namespace ListCompaniesParams {
|
|
9
9
|
interface Raw {
|
|
10
10
|
credit_type_ids?: string[] | null;
|
|
11
|
+
has_scheduled_downgrade?: boolean | null;
|
|
11
12
|
ids?: string[] | null;
|
|
12
13
|
limit?: number | null;
|
|
13
14
|
monetized_subscriptions?: boolean | null;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type * as Schematic from "../../../../api/index";
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
|
+
import { PlanChangeAction } from "../../../types/PlanChangeAction";
|
|
5
|
+
import { PlanChangeBasePlanAction } from "../../../types/PlanChangeBasePlanAction";
|
|
4
6
|
export declare const ListPlanChangesParams: core.serialization.ObjectSchema<serializers.ListPlanChangesParams.Raw, Schematic.ListPlanChangesParams>;
|
|
5
7
|
export declare namespace ListPlanChangesParams {
|
|
6
8
|
interface Raw {
|
|
7
|
-
action?:
|
|
8
|
-
base_plan_action?:
|
|
9
|
+
action?: PlanChangeAction.Raw | null;
|
|
10
|
+
base_plan_action?: PlanChangeBasePlanAction.Raw | null;
|
|
9
11
|
company_id?: string | null;
|
|
10
12
|
company_ids?: string[] | null;
|
|
11
13
|
limit?: number | null;
|
package/dist/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.d.ts
CHANGED
|
@@ -4,11 +4,13 @@ import type * as serializers from "../../../../index";
|
|
|
4
4
|
import { BillingCreditBurnStrategy } from "../../../../types/BillingCreditBurnStrategy";
|
|
5
5
|
import { BillingCreditExpiryUnit } from "../../../../types/BillingCreditExpiryUnit";
|
|
6
6
|
import { BillingCreditRolloverPolicy } from "../../../../types/BillingCreditRolloverPolicy";
|
|
7
|
+
import { CreditCurrencyPriceRequestBody } from "../../../../types/CreditCurrencyPriceRequestBody";
|
|
7
8
|
export declare const CreateBillingCreditRequestBody: core.serialization.Schema<serializers.CreateBillingCreditRequestBody.Raw, Schematic.CreateBillingCreditRequestBody>;
|
|
8
9
|
export declare namespace CreateBillingCreditRequestBody {
|
|
9
10
|
interface Raw {
|
|
10
11
|
burn_strategy?: BillingCreditBurnStrategy.Raw | null;
|
|
11
12
|
currency: string;
|
|
13
|
+
currency_prices?: CreditCurrencyPriceRequestBody.Raw[] | null;
|
|
12
14
|
default_expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
13
15
|
default_expiry_unit_count?: number | null;
|
|
14
16
|
default_rollover_policy?: BillingCreditRolloverPolicy.Raw | null;
|
|
@@ -11,6 +11,7 @@ export declare namespace CreateCompanyCreditGrant {
|
|
|
11
11
|
billing_periods_count?: number | null;
|
|
12
12
|
company_id: string;
|
|
13
13
|
credit_id: string;
|
|
14
|
+
currency?: string | null;
|
|
14
15
|
expires_at?: string | null;
|
|
15
16
|
expiry_type?: BillingCreditExpiryType.Raw | null;
|
|
16
17
|
expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { BillingCreditBundleStatus } from "../../../../types/BillingCreditBundle
|
|
|
5
5
|
import { BillingCreditBundleType } from "../../../../types/BillingCreditBundleType";
|
|
6
6
|
import { BillingCreditExpiryType } from "../../../../types/BillingCreditExpiryType";
|
|
7
7
|
import { BillingCreditExpiryUnit } from "../../../../types/BillingCreditExpiryUnit";
|
|
8
|
+
import { CreditBundleCurrencyPriceRequestBody } from "../../../../types/CreditBundleCurrencyPriceRequestBody";
|
|
8
9
|
export declare const CreateCreditBundleRequestBody: core.serialization.Schema<serializers.CreateCreditBundleRequestBody.Raw, Schematic.CreateCreditBundleRequestBody>;
|
|
9
10
|
export declare namespace CreateCreditBundleRequestBody {
|
|
10
11
|
interface Raw {
|
|
@@ -12,6 +13,7 @@ export declare namespace CreateCreditBundleRequestBody {
|
|
|
12
13
|
bundle_type?: BillingCreditBundleType.Raw | null;
|
|
13
14
|
credit_id: string;
|
|
14
15
|
currency: string;
|
|
16
|
+
currency_prices?: CreditBundleCurrencyPriceRequestBody.Raw[] | null;
|
|
15
17
|
expiry_type?: BillingCreditExpiryType.Raw | null;
|
|
16
18
|
expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
17
19
|
expiry_unit_count?: number | null;
|
package/dist/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.d.ts
CHANGED
|
@@ -4,10 +4,12 @@ import type * as serializers from "../../../../index";
|
|
|
4
4
|
import { BillingCreditBurnStrategy } from "../../../../types/BillingCreditBurnStrategy";
|
|
5
5
|
import { BillingCreditExpiryUnit } from "../../../../types/BillingCreditExpiryUnit";
|
|
6
6
|
import { BillingCreditRolloverPolicy } from "../../../../types/BillingCreditRolloverPolicy";
|
|
7
|
+
import { CreditCurrencyPriceRequestBody } from "../../../../types/CreditCurrencyPriceRequestBody";
|
|
7
8
|
export declare const UpdateBillingCreditRequestBody: core.serialization.Schema<serializers.UpdateBillingCreditRequestBody.Raw, Schematic.UpdateBillingCreditRequestBody>;
|
|
8
9
|
export declare namespace UpdateBillingCreditRequestBody {
|
|
9
10
|
interface Raw {
|
|
10
11
|
burn_strategy?: BillingCreditBurnStrategy.Raw | null;
|
|
12
|
+
currency_prices?: CreditCurrencyPriceRequestBody.Raw[] | null;
|
|
11
13
|
default_expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
12
14
|
default_expiry_unit_count?: number | null;
|
|
13
15
|
default_rollover_policy?: BillingCreditRolloverPolicy.Raw | null;
|
|
@@ -4,10 +4,12 @@ import type * as serializers from "../../../../index";
|
|
|
4
4
|
import { BillingCreditBundleStatus } from "../../../../types/BillingCreditBundleStatus";
|
|
5
5
|
import { BillingCreditExpiryType } from "../../../../types/BillingCreditExpiryType";
|
|
6
6
|
import { BillingCreditExpiryUnit } from "../../../../types/BillingCreditExpiryUnit";
|
|
7
|
+
import { CreditBundleCurrencyPriceRequestBody } from "../../../../types/CreditBundleCurrencyPriceRequestBody";
|
|
7
8
|
export declare const UpdateCreditBundleDetailsRequestBody: core.serialization.Schema<serializers.UpdateCreditBundleDetailsRequestBody.Raw, Schematic.UpdateCreditBundleDetailsRequestBody>;
|
|
8
9
|
export declare namespace UpdateCreditBundleDetailsRequestBody {
|
|
9
10
|
interface Raw {
|
|
10
11
|
bundle_name: string;
|
|
12
|
+
currency_prices?: CreditBundleCurrencyPriceRequestBody.Raw[] | null;
|
|
11
13
|
expiry_type?: BillingCreditExpiryType.Raw | null;
|
|
12
14
|
expiry_unit?: BillingCreditExpiryUnit.Raw | null;
|
|
13
15
|
expiry_unit_count?: number | null;
|
package/dist/serialization/resources/credits/types/GetSingleBillingPlanCreditGrantResponse.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { BillingPlanCreditGrantResponseData } from "../../../types/BillingPlanCreditGrantResponseData";
|
|
5
|
+
export declare const GetSingleBillingPlanCreditGrantResponse: core.serialization.ObjectSchema<serializers.GetSingleBillingPlanCreditGrantResponse.Raw, Schematic.GetSingleBillingPlanCreditGrantResponse>;
|
|
6
|
+
export declare namespace GetSingleBillingPlanCreditGrantResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: BillingPlanCreditGrantResponseData.Raw;
|
|
9
|
+
params: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -22,6 +22,7 @@ export * from "./GetCreditBundleResponse";
|
|
|
22
22
|
export * from "./GetEnrichedCreditLedgerParams";
|
|
23
23
|
export * from "./GetEnrichedCreditLedgerResponse";
|
|
24
24
|
export * from "./GetSingleBillingCreditResponse";
|
|
25
|
+
export * from "./GetSingleBillingPlanCreditGrantResponse";
|
|
25
26
|
export * from "./GrantBillingCreditsToCompanyResponse";
|
|
26
27
|
export * from "./ListBillingCreditsParams";
|
|
27
28
|
export * from "./ListBillingCreditsResponse";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../index";
|
|
4
|
+
import { BillingProviderType } from "../../../../types/BillingProviderType";
|
|
5
|
+
import { BillingTiersMode } from "../../../../types/BillingTiersMode";
|
|
6
|
+
import { CreatePriceTierRequestBody } from "../../../../types/CreatePriceTierRequestBody";
|
|
7
|
+
import { CurrencyPriceRequestBody } from "../../../../types/CurrencyPriceRequestBody";
|
|
8
|
+
import { EntitlementPriceBehavior } from "../../../../types/EntitlementPriceBehavior";
|
|
9
|
+
import { EntitlementValueType } from "../../../../types/EntitlementValueType";
|
|
10
|
+
import { CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriod } from "../../types/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriod";
|
|
11
|
+
import { CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriodMonthReset } from "../../types/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriodMonthReset";
|
|
12
|
+
export declare const CreateBillingLinkedPlanEntitlementRequestBody: core.serialization.Schema<serializers.CreateBillingLinkedPlanEntitlementRequestBody.Raw, Schematic.CreateBillingLinkedPlanEntitlementRequestBody>;
|
|
13
|
+
export declare namespace CreateBillingLinkedPlanEntitlementRequestBody {
|
|
14
|
+
interface Raw {
|
|
15
|
+
billing_product_id?: string | null;
|
|
16
|
+
billing_provider: BillingProviderType.Raw;
|
|
17
|
+
billing_threshold?: number | null;
|
|
18
|
+
credit_consumption_rate?: number | null;
|
|
19
|
+
currency?: string | null;
|
|
20
|
+
currency_prices?: CurrencyPriceRequestBody.Raw[] | null;
|
|
21
|
+
external_resource_id: string;
|
|
22
|
+
feature_id: string;
|
|
23
|
+
metric_period?: CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriod.Raw | null;
|
|
24
|
+
metric_period_month_reset?: CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriodMonthReset.Raw | null;
|
|
25
|
+
monthly_metered_price_id?: string | null;
|
|
26
|
+
monthly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
27
|
+
monthly_unit_price?: number | null;
|
|
28
|
+
monthly_unit_price_decimal?: string | null;
|
|
29
|
+
overage_billing_product_id?: string | null;
|
|
30
|
+
plan_id: string;
|
|
31
|
+
plan_version_id?: string | null;
|
|
32
|
+
price_behavior?: EntitlementPriceBehavior.Raw | null;
|
|
33
|
+
price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
34
|
+
soft_limit?: number | null;
|
|
35
|
+
tier_mode?: BillingTiersMode.Raw | null;
|
|
36
|
+
value_bool?: boolean | null;
|
|
37
|
+
value_credit_id?: string | null;
|
|
38
|
+
value_numeric?: number | null;
|
|
39
|
+
value_trait_id?: string | null;
|
|
40
|
+
value_type: EntitlementValueType.Raw;
|
|
41
|
+
yearly_metered_price_id?: string | null;
|
|
42
|
+
yearly_price_tiers?: CreatePriceTierRequestBody.Raw[] | null;
|
|
43
|
+
yearly_unit_price?: number | null;
|
|
44
|
+
yearly_unit_price_decimal?: string | null;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -3,6 +3,7 @@ import * as core from "../../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../../index";
|
|
4
4
|
import { BillingTiersMode } from "../../../../types/BillingTiersMode";
|
|
5
5
|
import { CreatePriceTierRequestBody } from "../../../../types/CreatePriceTierRequestBody";
|
|
6
|
+
import { CurrencyPriceRequestBody } from "../../../../types/CurrencyPriceRequestBody";
|
|
6
7
|
import { EntitlementPriceBehavior } from "../../../../types/EntitlementPriceBehavior";
|
|
7
8
|
import { EntitlementValueType } from "../../../../types/EntitlementValueType";
|
|
8
9
|
import { CreatePlanEntitlementRequestBodyMetricPeriod } from "../../types/CreatePlanEntitlementRequestBodyMetricPeriod";
|
|
@@ -14,6 +15,7 @@ export declare namespace CreatePlanEntitlementRequestBody {
|
|
|
14
15
|
billing_threshold?: number | null;
|
|
15
16
|
credit_consumption_rate?: number | null;
|
|
16
17
|
currency?: string | null;
|
|
18
|
+
currency_prices?: CurrencyPriceRequestBody.Raw[] | null;
|
|
17
19
|
feature_id: string;
|
|
18
20
|
metric_period?: CreatePlanEntitlementRequestBodyMetricPeriod.Raw | null;
|
|
19
21
|
metric_period_month_reset?: CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.Raw | null;
|
|
@@ -3,6 +3,7 @@ import * as core from "../../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../../index";
|
|
4
4
|
import { BillingTiersMode } from "../../../../types/BillingTiersMode";
|
|
5
5
|
import { CreatePriceTierRequestBody } from "../../../../types/CreatePriceTierRequestBody";
|
|
6
|
+
import { CurrencyPriceRequestBody } from "../../../../types/CurrencyPriceRequestBody";
|
|
6
7
|
import { EntitlementPriceBehavior } from "../../../../types/EntitlementPriceBehavior";
|
|
7
8
|
import { EntitlementValueType } from "../../../../types/EntitlementValueType";
|
|
8
9
|
import { UpdatePlanEntitlementRequestBodyMetricPeriod } from "../../types/UpdatePlanEntitlementRequestBodyMetricPeriod";
|
|
@@ -14,6 +15,7 @@ export declare namespace UpdatePlanEntitlementRequestBody {
|
|
|
14
15
|
billing_threshold?: number | null;
|
|
15
16
|
credit_consumption_rate?: number | null;
|
|
16
17
|
currency?: string | null;
|
|
18
|
+
currency_prices?: CurrencyPriceRequestBody.Raw[] | null;
|
|
17
19
|
metric_period?: UpdatePlanEntitlementRequestBodyMetricPeriod.Raw | null;
|
|
18
20
|
metric_period_month_reset?: UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.Raw | null;
|
|
19
21
|
monthly_metered_price_id?: string | null;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { CreateBillingLinkedPlanEntitlementRequestBody } from "./CreateBillingLinkedPlanEntitlementRequestBody";
|
|
1
2
|
export { CreateCompanyOverrideRequestBody } from "./CreateCompanyOverrideRequestBody";
|
|
2
3
|
export { CreatePlanEntitlementRequestBody } from "./CreatePlanEntitlementRequestBody";
|
|
3
4
|
export { DuplicatePlanEntitlementsRequestBody } from "./DuplicatePlanEntitlementsRequestBody";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
export declare const CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriod: core.serialization.Schema<serializers.CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriod.Raw, Schematic.CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriod>;
|
|
5
|
+
export declare namespace CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriod {
|
|
6
|
+
type Raw = "all_time" | "current_month" | "current_week" | "current_day";
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
export declare const CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriodMonthReset: core.serialization.Schema<serializers.CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriodMonthReset.Raw, Schematic.CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriodMonthReset>;
|
|
5
|
+
export declare namespace CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriodMonthReset {
|
|
6
|
+
type Raw = "first_of_month" | "billing_cycle";
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { PlanEntitlementResponseData } from "../../../types/PlanEntitlementResponseData";
|
|
5
|
+
export declare const UpsertPlanEntitlementForBillingProductResponse: core.serialization.ObjectSchema<serializers.UpsertPlanEntitlementForBillingProductResponse.Raw, Schematic.UpsertPlanEntitlementForBillingProductResponse>;
|
|
6
|
+
export declare namespace UpsertPlanEntitlementForBillingProductResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: PlanEntitlementResponseData.Raw;
|
|
9
|
+
params: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -8,6 +8,8 @@ export * from "./CountFeatureUsersParams";
|
|
|
8
8
|
export * from "./CountFeatureUsersResponse";
|
|
9
9
|
export * from "./CountPlanEntitlementsParams";
|
|
10
10
|
export * from "./CountPlanEntitlementsResponse";
|
|
11
|
+
export * from "./CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriod";
|
|
12
|
+
export * from "./CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriodMonthReset";
|
|
11
13
|
export * from "./CreateCompanyOverrideRequestBodyMetricPeriod";
|
|
12
14
|
export * from "./CreateCompanyOverrideRequestBodyMetricPeriodMonthReset";
|
|
13
15
|
export * from "./CreateCompanyOverrideResponse";
|
|
@@ -39,3 +41,4 @@ export * from "./UpdateCompanyOverrideResponse";
|
|
|
39
41
|
export * from "./UpdatePlanEntitlementRequestBodyMetricPeriod";
|
|
40
42
|
export * from "./UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset";
|
|
41
43
|
export * from "./UpdatePlanEntitlementResponse";
|
|
44
|
+
export * from "./UpsertPlanEntitlementForBillingProductResponse";
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../index";
|
|
4
|
+
import { BillingProviderType } from "../../../../types/BillingProviderType";
|
|
5
|
+
import { CreateOrUpdateFlagRequestBody } from "../../../../types/CreateOrUpdateFlagRequestBody";
|
|
6
|
+
import { FeatureLifecyclePhase } from "../../../../types/FeatureLifecyclePhase";
|
|
7
|
+
import { FeatureType } from "../../../../types/FeatureType";
|
|
8
|
+
export declare const CreateBillingLinkedFeatureRequestBody: core.serialization.Schema<serializers.CreateBillingLinkedFeatureRequestBody.Raw, Schematic.CreateBillingLinkedFeatureRequestBody>;
|
|
9
|
+
export declare namespace CreateBillingLinkedFeatureRequestBody {
|
|
10
|
+
interface Raw {
|
|
11
|
+
billing_provider: BillingProviderType.Raw;
|
|
12
|
+
description: string;
|
|
13
|
+
event_subtype?: string | null;
|
|
14
|
+
external_resource_id: string;
|
|
15
|
+
feature_type: FeatureType.Raw;
|
|
16
|
+
flag?: CreateOrUpdateFlagRequestBody.Raw | null;
|
|
17
|
+
icon?: string | null;
|
|
18
|
+
lifecycle_phase?: FeatureLifecyclePhase.Raw | null;
|
|
19
|
+
maintainer_id?: string | null;
|
|
20
|
+
name: string;
|
|
21
|
+
plural_name?: string | null;
|
|
22
|
+
singular_name?: string | null;
|
|
23
|
+
trait_id?: string | null;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { CheckFlagsBulkRequestBody } from "./CheckFlagsBulkRequestBody";
|
|
2
|
+
export { CreateBillingLinkedFeatureRequestBody } from "./CreateBillingLinkedFeatureRequestBody";
|
|
2
3
|
export { CreateFeatureRequestBody } from "./CreateFeatureRequestBody";
|
|
3
4
|
export { UpdateFeatureRequestBody } from "./UpdateFeatureRequestBody";
|
|
4
5
|
export { UpdateFlagRulesRequestBody } from "./UpdateFlagRulesRequestBody";
|
package/dist/serialization/resources/features/types/UpsertFeatureForBillingProductResponse.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { FeatureDetailResponseData } from "../../../types/FeatureDetailResponseData";
|
|
5
|
+
export declare const UpsertFeatureForBillingProductResponse: core.serialization.ObjectSchema<serializers.UpsertFeatureForBillingProductResponse.Raw, Schematic.UpsertFeatureForBillingProductResponse>;
|
|
6
|
+
export declare namespace UpsertFeatureForBillingProductResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: FeatureDetailResponseData.Raw;
|
|
9
|
+
params: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -33,6 +33,8 @@ export * from "./events/types";
|
|
|
33
33
|
export * as features from "./features";
|
|
34
34
|
export * from "./features/client/requests";
|
|
35
35
|
export * from "./features/types";
|
|
36
|
+
export * as integrationsapi from "./integrationsapi";
|
|
37
|
+
export * from "./integrationsapi/types";
|
|
36
38
|
export * as planbundle from "./planbundle";
|
|
37
39
|
export * from "./planbundle/client/requests";
|
|
38
40
|
export * from "./planbundle/types";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./types";
|
package/dist/serialization/resources/integrationsapi/types/GetIntegrationWebhookUrlResponse.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { IntegrationWebhookUrlResponseData } from "../../../types/IntegrationWebhookUrlResponseData";
|
|
5
|
+
export declare const GetIntegrationWebhookUrlResponse: core.serialization.ObjectSchema<serializers.GetIntegrationWebhookUrlResponse.Raw, Schematic.GetIntegrationWebhookUrlResponse>;
|
|
6
|
+
export declare namespace GetIntegrationWebhookUrlResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: IntegrationWebhookUrlResponseData.Raw;
|
|
9
|
+
params: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./GetIntegrationWebhookUrlResponse";
|
package/dist/serialization/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../index";
|
|
4
|
+
import { BillingProviderType } from "../../../../types/BillingProviderType";
|
|
5
|
+
import { PlanIcon } from "../../../../types/PlanIcon";
|
|
6
|
+
import { PlanType } from "../../../../types/PlanType";
|
|
7
|
+
export declare const CreateBillingLinkedPlanRequestBody: core.serialization.Schema<serializers.CreateBillingLinkedPlanRequestBody.Raw, Schematic.CreateBillingLinkedPlanRequestBody>;
|
|
8
|
+
export declare namespace CreateBillingLinkedPlanRequestBody {
|
|
9
|
+
interface Raw {
|
|
10
|
+
billing_provider: BillingProviderType.Raw;
|
|
11
|
+
description: string;
|
|
12
|
+
external_resource_id: string;
|
|
13
|
+
icon?: PlanIcon.Raw | null;
|
|
14
|
+
name: string;
|
|
15
|
+
plan_type: PlanType.Raw;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../../api/index";
|
|
2
|
+
import * as core from "../../../../../core";
|
|
3
|
+
import type * as serializers from "../../../../index";
|
|
4
|
+
import { PlanIcon } from "../../../../types/PlanIcon";
|
|
5
|
+
export declare const CreateCustomPlanRequestBody: core.serialization.Schema<serializers.CreateCustomPlanRequestBody.Raw, Schematic.CreateCustomPlanRequestBody>;
|
|
6
|
+
export declare namespace CreateCustomPlanRequestBody {
|
|
7
|
+
interface Raw {
|
|
8
|
+
company_id: string;
|
|
9
|
+
copied_from_plan_id?: string | null;
|
|
10
|
+
description: string;
|
|
11
|
+
icon?: PlanIcon.Raw | null;
|
|
12
|
+
name: string;
|
|
13
|
+
}
|
|
14
|
+
}
|
package/dist/serialization/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import type * as Schematic from "../../../../../api/index";
|
|
2
2
|
import * as core from "../../../../../core";
|
|
3
3
|
import type * as serializers from "../../../../index";
|
|
4
|
+
import { CustomPlanActivationStrategy } from "../../../../types/CustomPlanActivationStrategy";
|
|
4
5
|
import { PlanVersionMigrationStrategy } from "../../../../types/PlanVersionMigrationStrategy";
|
|
6
|
+
import { UpdatePayInAdvanceRequestBody } from "../../../../types/UpdatePayInAdvanceRequestBody";
|
|
5
7
|
export declare const PublishPlanVersionRequestBody: core.serialization.Schema<serializers.PublishPlanVersionRequestBody.Raw, Schematic.PublishPlanVersionRequestBody>;
|
|
6
8
|
export declare namespace PublishPlanVersionRequestBody {
|
|
7
9
|
interface Raw {
|
|
10
|
+
activation_strategy?: CustomPlanActivationStrategy.Raw | null;
|
|
11
|
+
customer_email?: string | null;
|
|
12
|
+
days_until_due?: number | null;
|
|
8
13
|
excluded_company_ids: string[];
|
|
9
14
|
migration_strategy: PlanVersionMigrationStrategy.Raw;
|
|
15
|
+
pay_in_advance: UpdatePayInAdvanceRequestBody.Raw[];
|
|
10
16
|
}
|
|
11
17
|
}
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
+
export { CreateBillingLinkedPlanRequestBody } from "./CreateBillingLinkedPlanRequestBody";
|
|
2
|
+
export { CreateCustomPlanRequestBody } from "./CreateCustomPlanRequestBody";
|
|
1
3
|
export { PublishPlanVersionRequestBody } from "./PublishPlanVersionRequestBody";
|
|
2
4
|
export { UpdateCompanyPlansRequestBody } from "./UpdateCompanyPlansRequestBody";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
export declare const CountBillingProductMatchCompaniesParams: core.serialization.ObjectSchema<serializers.CountBillingProductMatchCompaniesParams.Raw, Schematic.CountBillingProductMatchCompaniesParams>;
|
|
5
|
+
export declare namespace CountBillingProductMatchCompaniesParams {
|
|
6
|
+
interface Raw {
|
|
7
|
+
limit?: number | null;
|
|
8
|
+
offset?: number | null;
|
|
9
|
+
plan_id?: string | null;
|
|
10
|
+
q?: string | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
package/dist/serialization/resources/plans/types/CountBillingProductMatchCompaniesResponse.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { CountResponse } from "../../../types/CountResponse";
|
|
5
|
+
import { CountBillingProductMatchCompaniesParams } from "./CountBillingProductMatchCompaniesParams";
|
|
6
|
+
export declare const CountBillingProductMatchCompaniesResponse: core.serialization.ObjectSchema<serializers.CountBillingProductMatchCompaniesResponse.Raw, Schematic.CountBillingProductMatchCompaniesResponse>;
|
|
7
|
+
export declare namespace CountBillingProductMatchCompaniesResponse {
|
|
8
|
+
interface Raw {
|
|
9
|
+
data: CountResponse.Raw;
|
|
10
|
+
params: CountBillingProductMatchCompaniesParams.Raw;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -11,10 +11,12 @@ export declare namespace CountPlansParams {
|
|
|
11
11
|
for_trial_expiry_plan?: boolean | null;
|
|
12
12
|
has_product_id?: boolean | null;
|
|
13
13
|
ids?: string[] | null;
|
|
14
|
+
include_draft_versions?: boolean | null;
|
|
14
15
|
limit?: number | null;
|
|
15
16
|
offset?: number | null;
|
|
16
17
|
plan_type?: PlanType.Raw | null;
|
|
17
18
|
q?: string | null;
|
|
19
|
+
scoped_to_company_id?: string | null;
|
|
18
20
|
without_entitlement_for?: string | null;
|
|
19
21
|
without_paid_product_id?: boolean | null;
|
|
20
22
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
import { PlanDetailResponseData } from "../../../types/PlanDetailResponseData";
|
|
5
|
+
export declare const CreateCustomPlanResponse: core.serialization.ObjectSchema<serializers.CreateCustomPlanResponse.Raw, Schematic.CreateCustomPlanResponse>;
|
|
6
|
+
export declare namespace CreateCustomPlanResponse {
|
|
7
|
+
interface Raw {
|
|
8
|
+
data: PlanDetailResponseData.Raw;
|
|
9
|
+
params: Record<string, unknown>;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
export declare const DeletePlanVersionParams: core.serialization.ObjectSchema<serializers.DeletePlanVersionParams.Raw, Schematic.DeletePlanVersionParams>;
|
|
5
|
+
export declare namespace DeletePlanVersionParams {
|
|
6
|
+
interface Raw {
|
|
7
|
+
promote_archived_version?: boolean | null;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
@@ -2,10 +2,11 @@ import type * as Schematic from "../../../../api/index";
|
|
|
2
2
|
import * as core from "../../../../core";
|
|
3
3
|
import type * as serializers from "../../../index";
|
|
4
4
|
import { DeleteResponse } from "../../../types/DeleteResponse";
|
|
5
|
+
import { DeletePlanVersionParams } from "./DeletePlanVersionParams";
|
|
5
6
|
export declare const DeletePlanVersionResponse: core.serialization.ObjectSchema<serializers.DeletePlanVersionResponse.Raw, Schematic.DeletePlanVersionResponse>;
|
|
6
7
|
export declare namespace DeletePlanVersionResponse {
|
|
7
8
|
interface Raw {
|
|
8
9
|
data: DeleteResponse.Raw;
|
|
9
|
-
params:
|
|
10
|
+
params: DeletePlanVersionParams.Raw;
|
|
10
11
|
}
|
|
11
12
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../api/index";
|
|
2
|
+
import * as core from "../../../../core";
|
|
3
|
+
import type * as serializers from "../../../index";
|
|
4
|
+
export declare const ListBillingProductMatchCompaniesParams: core.serialization.ObjectSchema<serializers.ListBillingProductMatchCompaniesParams.Raw, Schematic.ListBillingProductMatchCompaniesParams>;
|
|
5
|
+
export declare namespace ListBillingProductMatchCompaniesParams {
|
|
6
|
+
interface Raw {
|
|
7
|
+
limit?: number | null;
|
|
8
|
+
offset?: number | null;
|
|
9
|
+
plan_id?: string | null;
|
|
10
|
+
q?: string | null;
|
|
11
|
+
}
|
|
12
|
+
}
|