@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
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export type { CheckFlagsBulkRequestBody } from "./CheckFlagsBulkRequestBody";
|
|
2
2
|
export type { CountFeaturesRequest } from "./CountFeaturesRequest";
|
|
3
3
|
export type { CountFlagsRequest } from "./CountFlagsRequest";
|
|
4
|
+
export type { CreateBillingLinkedFeatureRequestBody } from "./CreateBillingLinkedFeatureRequestBody";
|
|
4
5
|
export type { CreateFeatureRequestBody } from "./CreateFeatureRequestBody";
|
|
5
6
|
export type { ListFeaturesRequest } from "./ListFeaturesRequest";
|
|
6
7
|
export type { ListFlagsRequest } from "./ListFlagsRequest";
|
|
@@ -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,27 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient";
|
|
3
|
+
import * as core from "../../../../core";
|
|
4
|
+
import * as Schematic from "../../../index";
|
|
5
|
+
export declare namespace IntegrationsapiClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class IntegrationsapiClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<IntegrationsapiClient.Options>;
|
|
12
|
+
constructor(options: IntegrationsapiClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* @param {string} type - type
|
|
15
|
+
* @param {IntegrationsapiClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
16
|
+
*
|
|
17
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
18
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
19
|
+
* @throws {@link Schematic.NotFoundError}
|
|
20
|
+
* @throws {@link Schematic.InternalServerError}
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* await client.integrationsapi.getIntegrationWebhookUrl("type")
|
|
24
|
+
*/
|
|
25
|
+
getIntegrationWebhookUrl(type: string, requestOptions?: IntegrationsapiClient.RequestOptions): core.HttpResponsePromise<Schematic.GetIntegrationWebhookUrlResponse>;
|
|
26
|
+
private __getIntegrationWebhookUrl;
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./GetIntegrationWebhookUrlResponse";
|
|
@@ -25,8 +25,8 @@ export declare class PlanmigrationsClient {
|
|
|
25
25
|
* migrationId: "migration_id",
|
|
26
26
|
* q: "q",
|
|
27
27
|
* status: "completed",
|
|
28
|
-
* limit:
|
|
29
|
-
* offset:
|
|
28
|
+
* limit: 1000000,
|
|
29
|
+
* offset: 1000000
|
|
30
30
|
* })
|
|
31
31
|
*/
|
|
32
32
|
listCompanyMigrations(request?: Schematic.ListCompanyMigrationsRequest, requestOptions?: PlanmigrationsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCompanyMigrationsResponse>;
|
|
@@ -46,8 +46,8 @@ export declare class PlanmigrationsClient {
|
|
|
46
46
|
* migrationId: "migration_id",
|
|
47
47
|
* q: "q",
|
|
48
48
|
* status: "completed",
|
|
49
|
-
* limit:
|
|
50
|
-
* offset:
|
|
49
|
+
* limit: 1000000,
|
|
50
|
+
* offset: 1000000
|
|
51
51
|
* })
|
|
52
52
|
*/
|
|
53
53
|
countCompanyMigrations(request?: Schematic.CountCompanyMigrationsRequest, requestOptions?: PlanmigrationsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountCompanyMigrationsResponse>;
|
|
@@ -66,8 +66,8 @@ export declare class PlanmigrationsClient {
|
|
|
66
66
|
* await client.planmigrations.listMigrations({
|
|
67
67
|
* planVersionId: "plan_version_id",
|
|
68
68
|
* status: "completed",
|
|
69
|
-
* limit:
|
|
70
|
-
* offset:
|
|
69
|
+
* limit: 1000000,
|
|
70
|
+
* offset: 1000000
|
|
71
71
|
* })
|
|
72
72
|
*/
|
|
73
73
|
listMigrations(request?: Schematic.ListMigrationsRequest, requestOptions?: PlanmigrationsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListMigrationsResponse>;
|
|
@@ -100,8 +100,8 @@ export declare class PlanmigrationsClient {
|
|
|
100
100
|
* await client.planmigrations.countMigrations({
|
|
101
101
|
* planVersionId: "plan_version_id",
|
|
102
102
|
* status: "completed",
|
|
103
|
-
* limit:
|
|
104
|
-
* offset:
|
|
103
|
+
* limit: 1000000,
|
|
104
|
+
* offset: 1000000
|
|
105
105
|
* })
|
|
106
106
|
*/
|
|
107
107
|
countMigrations(request?: Schematic.CountMigrationsRequest, requestOptions?: PlanmigrationsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountMigrationsResponse>;
|
|
@@ -28,6 +28,25 @@ export declare class PlansClient {
|
|
|
28
28
|
*/
|
|
29
29
|
updateCompanyPlans(company_plan_id: string, request: Schematic.UpdateCompanyPlansRequestBody, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.UpdateCompanyPlansResponse>;
|
|
30
30
|
private __updateCompanyPlans;
|
|
31
|
+
/**
|
|
32
|
+
* @param {Schematic.CreateCustomPlanRequestBody} request
|
|
33
|
+
* @param {PlansClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link Schematic.BadRequestError}
|
|
36
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
37
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
38
|
+
* @throws {@link Schematic.NotFoundError}
|
|
39
|
+
* @throws {@link Schematic.InternalServerError}
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* await client.plans.createCustomPlan({
|
|
43
|
+
* companyId: "company_id",
|
|
44
|
+
* description: "description",
|
|
45
|
+
* name: "name"
|
|
46
|
+
* })
|
|
47
|
+
*/
|
|
48
|
+
createCustomPlan(request: Schematic.CreateCustomPlanRequestBody, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.CreateCustomPlanResponse>;
|
|
49
|
+
private __createCustomPlan;
|
|
31
50
|
/**
|
|
32
51
|
* @param {Schematic.ListPlansRequest} request
|
|
33
52
|
* @param {PlansClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -45,12 +64,14 @@ export declare class PlansClient {
|
|
|
45
64
|
* forInitialPlan: true,
|
|
46
65
|
* forTrialExpiryPlan: true,
|
|
47
66
|
* hasProductId: true,
|
|
67
|
+
* includeDraftVersions: true,
|
|
48
68
|
* planType: "plan",
|
|
49
69
|
* q: "q",
|
|
70
|
+
* scopedToCompanyId: "scoped_to_company_id",
|
|
50
71
|
* withoutEntitlementFor: "without_entitlement_for",
|
|
51
72
|
* withoutPaidProductId: true,
|
|
52
|
-
* limit:
|
|
53
|
-
* offset:
|
|
73
|
+
* limit: 1000000,
|
|
74
|
+
* offset: 1000000
|
|
54
75
|
* })
|
|
55
76
|
*/
|
|
56
77
|
listPlans(request?: Schematic.ListPlansRequest, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.ListPlansResponse>;
|
|
@@ -143,6 +164,67 @@ export declare class PlansClient {
|
|
|
143
164
|
*/
|
|
144
165
|
upsertBillingProductPlan(plan_id: string, request: Schematic.UpsertBillingProductRequestBody, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.UpsertBillingProductPlanResponse>;
|
|
145
166
|
private __upsertBillingProductPlan;
|
|
167
|
+
/**
|
|
168
|
+
* @param {Schematic.CreateBillingLinkedPlanRequestBody} request
|
|
169
|
+
* @param {PlansClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
170
|
+
*
|
|
171
|
+
* @throws {@link Schematic.BadRequestError}
|
|
172
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
173
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
174
|
+
* @throws {@link Schematic.NotFoundError}
|
|
175
|
+
* @throws {@link Schematic.InternalServerError}
|
|
176
|
+
*
|
|
177
|
+
* @example
|
|
178
|
+
* await client.plans.upsertPlanForBillingProduct({
|
|
179
|
+
* billingProvider: "orb",
|
|
180
|
+
* description: "description",
|
|
181
|
+
* externalResourceId: "external_resource_id",
|
|
182
|
+
* name: "name",
|
|
183
|
+
* planType: "plan"
|
|
184
|
+
* })
|
|
185
|
+
*/
|
|
186
|
+
upsertPlanForBillingProduct(request: Schematic.CreateBillingLinkedPlanRequestBody, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.UpsertPlanForBillingProductResponse>;
|
|
187
|
+
private __upsertPlanForBillingProduct;
|
|
188
|
+
/**
|
|
189
|
+
* @param {Schematic.ListBillingProductMatchCompaniesRequest} request
|
|
190
|
+
* @param {PlansClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
191
|
+
*
|
|
192
|
+
* @throws {@link Schematic.BadRequestError}
|
|
193
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
194
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
195
|
+
* @throws {@link Schematic.NotFoundError}
|
|
196
|
+
* @throws {@link Schematic.InternalServerError}
|
|
197
|
+
*
|
|
198
|
+
* @example
|
|
199
|
+
* await client.plans.listBillingProductMatchCompanies({
|
|
200
|
+
* planId: "plan_id",
|
|
201
|
+
* q: "q",
|
|
202
|
+
* limit: 1000000,
|
|
203
|
+
* offset: 1000000
|
|
204
|
+
* })
|
|
205
|
+
*/
|
|
206
|
+
listBillingProductMatchCompanies(request: Schematic.ListBillingProductMatchCompaniesRequest, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.ListBillingProductMatchCompaniesResponse>;
|
|
207
|
+
private __listBillingProductMatchCompanies;
|
|
208
|
+
/**
|
|
209
|
+
* @param {Schematic.CountBillingProductMatchCompaniesRequest} request
|
|
210
|
+
* @param {PlansClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
211
|
+
*
|
|
212
|
+
* @throws {@link Schematic.BadRequestError}
|
|
213
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
214
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
215
|
+
* @throws {@link Schematic.NotFoundError}
|
|
216
|
+
* @throws {@link Schematic.InternalServerError}
|
|
217
|
+
*
|
|
218
|
+
* @example
|
|
219
|
+
* await client.plans.countBillingProductMatchCompanies({
|
|
220
|
+
* planId: "plan_id",
|
|
221
|
+
* q: "q",
|
|
222
|
+
* limit: 1000000,
|
|
223
|
+
* offset: 1000000
|
|
224
|
+
* })
|
|
225
|
+
*/
|
|
226
|
+
countBillingProductMatchCompanies(request: Schematic.CountBillingProductMatchCompaniesRequest, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.CountBillingProductMatchCompaniesResponse>;
|
|
227
|
+
private __countBillingProductMatchCompanies;
|
|
146
228
|
/**
|
|
147
229
|
* @param {Schematic.CountPlansRequest} request
|
|
148
230
|
* @param {PlansClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -160,12 +242,14 @@ export declare class PlansClient {
|
|
|
160
242
|
* forInitialPlan: true,
|
|
161
243
|
* forTrialExpiryPlan: true,
|
|
162
244
|
* hasProductId: true,
|
|
245
|
+
* includeDraftVersions: true,
|
|
163
246
|
* planType: "plan",
|
|
164
247
|
* q: "q",
|
|
248
|
+
* scopedToCompanyId: "scoped_to_company_id",
|
|
165
249
|
* withoutEntitlementFor: "without_entitlement_for",
|
|
166
250
|
* withoutPaidProductId: true,
|
|
167
|
-
* limit:
|
|
168
|
-
* offset:
|
|
251
|
+
* limit: 1000000,
|
|
252
|
+
* offset: 1000000
|
|
169
253
|
* })
|
|
170
254
|
*/
|
|
171
255
|
countPlans(request?: Schematic.CountPlansRequest, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.CountPlansResponse>;
|
|
@@ -190,6 +274,7 @@ export declare class PlansClient {
|
|
|
190
274
|
private __listPlanIssues;
|
|
191
275
|
/**
|
|
192
276
|
* @param {string} plan_id - plan_id
|
|
277
|
+
* @param {Schematic.DeletePlanVersionRequest} request
|
|
193
278
|
* @param {PlansClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
194
279
|
*
|
|
195
280
|
* @throws {@link Schematic.BadRequestError}
|
|
@@ -199,9 +284,11 @@ export declare class PlansClient {
|
|
|
199
284
|
* @throws {@link Schematic.InternalServerError}
|
|
200
285
|
*
|
|
201
286
|
* @example
|
|
202
|
-
* await client.plans.deletePlanVersion("plan_id"
|
|
287
|
+
* await client.plans.deletePlanVersion("plan_id", {
|
|
288
|
+
* promoteArchivedVersion: true
|
|
289
|
+
* })
|
|
203
290
|
*/
|
|
204
|
-
deletePlanVersion(plan_id: string, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.DeletePlanVersionResponse>;
|
|
291
|
+
deletePlanVersion(plan_id: string, request?: Schematic.DeletePlanVersionRequest, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.DeletePlanVersionResponse>;
|
|
205
292
|
private __deletePlanVersion;
|
|
206
293
|
/**
|
|
207
294
|
* @param {string} plan_id - plan_id
|
|
@@ -217,7 +304,11 @@ export declare class PlansClient {
|
|
|
217
304
|
* @example
|
|
218
305
|
* await client.plans.publishPlanVersion("plan_id", {
|
|
219
306
|
* excludedCompanyIds: ["excluded_company_ids"],
|
|
220
|
-
* migrationStrategy: "immediate"
|
|
307
|
+
* migrationStrategy: "immediate",
|
|
308
|
+
* payInAdvance: [{
|
|
309
|
+
* priceId: "price_id",
|
|
310
|
+
* quantity: 1000000
|
|
311
|
+
* }]
|
|
221
312
|
* })
|
|
222
313
|
*/
|
|
223
314
|
publishPlanVersion(plan_id: string, request: Schematic.PublishPlanVersionRequestBody, requestOptions?: PlansClient.RequestOptions): core.HttpResponsePromise<Schematic.PublishPlanVersionResponse>;
|
package/dist/api/resources/plans/client/requests/CountBillingProductMatchCompaniesRequest.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* planId: "plan_id",
|
|
5
|
+
* q: "q",
|
|
6
|
+
* limit: 1000000,
|
|
7
|
+
* offset: 1000000
|
|
8
|
+
* }
|
|
9
|
+
*/
|
|
10
|
+
export interface CountBillingProductMatchCompaniesRequest {
|
|
11
|
+
/** The plan ID to find billing product match companies for */
|
|
12
|
+
planId: string;
|
|
13
|
+
/** Search for companies by name, keys or string traits */
|
|
14
|
+
q?: string;
|
|
15
|
+
/** Page limit (default 100) */
|
|
16
|
+
limit?: number;
|
|
17
|
+
/** Page offset (default 0) */
|
|
18
|
+
offset?: number;
|
|
19
|
+
}
|
|
@@ -7,12 +7,14 @@ import type * as Schematic from "../../../../index";
|
|
|
7
7
|
* forInitialPlan: true,
|
|
8
8
|
* forTrialExpiryPlan: true,
|
|
9
9
|
* hasProductId: true,
|
|
10
|
+
* includeDraftVersions: true,
|
|
10
11
|
* planType: "plan",
|
|
11
12
|
* q: "q",
|
|
13
|
+
* scopedToCompanyId: "scoped_to_company_id",
|
|
12
14
|
* withoutEntitlementFor: "without_entitlement_for",
|
|
13
15
|
* withoutPaidProductId: true,
|
|
14
|
-
* limit:
|
|
15
|
-
* offset:
|
|
16
|
+
* limit: 1000000,
|
|
17
|
+
* offset: 1000000
|
|
16
18
|
* }
|
|
17
19
|
*/
|
|
18
20
|
export interface CountPlansRequest {
|
|
@@ -26,9 +28,13 @@ export interface CountPlansRequest {
|
|
|
26
28
|
/** Filter out plans that do not have a billing product ID */
|
|
27
29
|
hasProductId?: boolean;
|
|
28
30
|
ids?: string | string[];
|
|
31
|
+
/** Include billing settings from draft versions for plans which have draft version */
|
|
32
|
+
includeDraftVersions?: boolean;
|
|
29
33
|
/** Filter by plan type */
|
|
30
34
|
planType?: Schematic.PlanType;
|
|
31
35
|
q?: string;
|
|
36
|
+
/** Filter plans scoped to a specific company (custom plans) */
|
|
37
|
+
scopedToCompanyId?: string;
|
|
32
38
|
/** Filter out plans that already have a plan entitlement for the specified feature ID */
|
|
33
39
|
withoutEntitlementFor?: string;
|
|
34
40
|
/** Filter out plans that have a paid billing product ID */
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* billingProvider: "orb",
|
|
6
|
+
* description: "description",
|
|
7
|
+
* externalResourceId: "external_resource_id",
|
|
8
|
+
* name: "name",
|
|
9
|
+
* planType: "plan"
|
|
10
|
+
* }
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateBillingLinkedPlanRequestBody {
|
|
13
|
+
billingProvider: Schematic.BillingProviderType;
|
|
14
|
+
description: string;
|
|
15
|
+
externalResourceId: string;
|
|
16
|
+
icon?: Schematic.PlanIcon;
|
|
17
|
+
name: string;
|
|
18
|
+
planType: Schematic.PlanType;
|
|
19
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../index";
|
|
2
|
+
/**
|
|
3
|
+
* @example
|
|
4
|
+
* {
|
|
5
|
+
* companyId: "company_id",
|
|
6
|
+
* description: "description",
|
|
7
|
+
* name: "name"
|
|
8
|
+
* }
|
|
9
|
+
*/
|
|
10
|
+
export interface CreateCustomPlanRequestBody {
|
|
11
|
+
companyId: string;
|
|
12
|
+
copiedFromPlanId?: string;
|
|
13
|
+
description: string;
|
|
14
|
+
icon?: Schematic.PlanIcon;
|
|
15
|
+
name: string;
|
|
16
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* planId: "plan_id",
|
|
5
|
+
* q: "q",
|
|
6
|
+
* limit: 1000000,
|
|
7
|
+
* offset: 1000000
|
|
8
|
+
* }
|
|
9
|
+
*/
|
|
10
|
+
export interface ListBillingProductMatchCompaniesRequest {
|
|
11
|
+
/** The plan ID to find billing product match companies for */
|
|
12
|
+
planId: string;
|
|
13
|
+
/** Search for companies by name, keys or string traits */
|
|
14
|
+
q?: string;
|
|
15
|
+
/** Page limit (default 100) */
|
|
16
|
+
limit?: number;
|
|
17
|
+
/** Page offset (default 0) */
|
|
18
|
+
offset?: number;
|
|
19
|
+
}
|
|
@@ -7,12 +7,14 @@ import type * as Schematic from "../../../../index";
|
|
|
7
7
|
* forInitialPlan: true,
|
|
8
8
|
* forTrialExpiryPlan: true,
|
|
9
9
|
* hasProductId: true,
|
|
10
|
+
* includeDraftVersions: true,
|
|
10
11
|
* planType: "plan",
|
|
11
12
|
* q: "q",
|
|
13
|
+
* scopedToCompanyId: "scoped_to_company_id",
|
|
12
14
|
* withoutEntitlementFor: "without_entitlement_for",
|
|
13
15
|
* withoutPaidProductId: true,
|
|
14
|
-
* limit:
|
|
15
|
-
* offset:
|
|
16
|
+
* limit: 1000000,
|
|
17
|
+
* offset: 1000000
|
|
16
18
|
* }
|
|
17
19
|
*/
|
|
18
20
|
export interface ListPlansRequest {
|
|
@@ -26,9 +28,13 @@ export interface ListPlansRequest {
|
|
|
26
28
|
/** Filter out plans that do not have a billing product ID */
|
|
27
29
|
hasProductId?: boolean;
|
|
28
30
|
ids?: string | string[];
|
|
31
|
+
/** Include billing settings from draft versions for plans which have draft version */
|
|
32
|
+
includeDraftVersions?: boolean;
|
|
29
33
|
/** Filter by plan type */
|
|
30
34
|
planType?: Schematic.PlanType;
|
|
31
35
|
q?: string;
|
|
36
|
+
/** Filter plans scoped to a specific company (custom plans) */
|
|
37
|
+
scopedToCompanyId?: string;
|
|
32
38
|
/** Filter out plans that already have a plan entitlement for the specified feature ID */
|
|
33
39
|
withoutEntitlementFor?: string;
|
|
34
40
|
/** Filter out plans that have a paid billing product ID */
|
|
@@ -3,10 +3,18 @@ import type * as Schematic from "../../../../index";
|
|
|
3
3
|
* @example
|
|
4
4
|
* {
|
|
5
5
|
* excludedCompanyIds: ["excluded_company_ids"],
|
|
6
|
-
* migrationStrategy: "immediate"
|
|
6
|
+
* migrationStrategy: "immediate",
|
|
7
|
+
* payInAdvance: [{
|
|
8
|
+
* priceId: "price_id",
|
|
9
|
+
* quantity: 1000000
|
|
10
|
+
* }]
|
|
7
11
|
* }
|
|
8
12
|
*/
|
|
9
13
|
export interface PublishPlanVersionRequestBody {
|
|
14
|
+
activationStrategy?: Schematic.CustomPlanActivationStrategy;
|
|
15
|
+
customerEmail?: string;
|
|
16
|
+
daysUntilDue?: number;
|
|
10
17
|
excludedCompanyIds: string[];
|
|
11
18
|
migrationStrategy: Schematic.PlanVersionMigrationStrategy;
|
|
19
|
+
payInAdvance: Schematic.UpdatePayInAdvanceRequestBody[];
|
|
12
20
|
}
|
|
@@ -1,5 +1,10 @@
|
|
|
1
|
+
export type { CountBillingProductMatchCompaniesRequest } from "./CountBillingProductMatchCompaniesRequest";
|
|
1
2
|
export type { CountPlansRequest } from "./CountPlansRequest";
|
|
3
|
+
export type { CreateBillingLinkedPlanRequestBody } from "./CreateBillingLinkedPlanRequestBody";
|
|
4
|
+
export type { CreateCustomPlanRequestBody } from "./CreateCustomPlanRequestBody";
|
|
5
|
+
export type { DeletePlanVersionRequest } from "./DeletePlanVersionRequest";
|
|
2
6
|
export type { GetPlanRequest } from "./GetPlanRequest";
|
|
7
|
+
export type { ListBillingProductMatchCompaniesRequest } from "./ListBillingProductMatchCompaniesRequest";
|
|
3
8
|
export type { ListPlanIssuesRequest } from "./ListPlanIssuesRequest";
|
|
4
9
|
export type { ListPlansRequest } from "./ListPlansRequest";
|
|
5
10
|
export type { PublishPlanVersionRequestBody } from "./PublishPlanVersionRequestBody";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Input parameters
|
|
3
|
+
*/
|
|
4
|
+
export interface CountBillingProductMatchCompaniesParams {
|
|
5
|
+
/** Page limit (default 100) */
|
|
6
|
+
limit?: number;
|
|
7
|
+
/** Page offset (default 0) */
|
|
8
|
+
offset?: number;
|
|
9
|
+
/** The plan ID to find billing product match companies for */
|
|
10
|
+
planId?: string;
|
|
11
|
+
/** Search for companies by name, keys or string traits */
|
|
12
|
+
q?: string;
|
|
13
|
+
}
|
|
@@ -13,6 +13,8 @@ export interface CountPlansParams {
|
|
|
13
13
|
/** Filter out plans that do not have a billing product ID */
|
|
14
14
|
hasProductId?: boolean;
|
|
15
15
|
ids?: string[];
|
|
16
|
+
/** Include billing settings from draft versions for plans which have draft version */
|
|
17
|
+
includeDraftVersions?: boolean;
|
|
16
18
|
/** Page limit (default 100) */
|
|
17
19
|
limit?: number;
|
|
18
20
|
/** Page offset (default 0) */
|
|
@@ -20,6 +22,8 @@ export interface CountPlansParams {
|
|
|
20
22
|
/** Filter by plan type */
|
|
21
23
|
planType?: Schematic.PlanType;
|
|
22
24
|
q?: string;
|
|
25
|
+
/** Filter plans scoped to a specific company (custom plans) */
|
|
26
|
+
scopedToCompanyId?: string;
|
|
23
27
|
/** Filter out plans that already have a plan entitlement for the specified feature ID */
|
|
24
28
|
withoutEntitlementFor?: string;
|
|
25
29
|
/** Filter out plans that have a paid billing product ID */
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Input parameters
|
|
3
|
+
*/
|
|
4
|
+
export interface ListBillingProductMatchCompaniesParams {
|
|
5
|
+
/** Page limit (default 100) */
|
|
6
|
+
limit?: number;
|
|
7
|
+
/** Page offset (default 0) */
|
|
8
|
+
offset?: number;
|
|
9
|
+
/** The plan ID to find billing product match companies for */
|
|
10
|
+
planId?: string;
|
|
11
|
+
/** Search for companies by name, keys or string traits */
|
|
12
|
+
q?: string;
|
|
13
|
+
}
|