@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
|
@@ -2,22 +2,25 @@ import type * as Schematic from "../../../../index";
|
|
|
2
2
|
/**
|
|
3
3
|
* @example
|
|
4
4
|
* {
|
|
5
|
+
* currency: "currency",
|
|
5
6
|
* forInitialPlan: true,
|
|
6
7
|
* forTrialExpiryPlan: true,
|
|
7
8
|
* interval: "interval",
|
|
8
9
|
* isActive: true,
|
|
9
|
-
* price:
|
|
10
|
+
* price: 1000000,
|
|
10
11
|
* productId: "product_id",
|
|
11
|
-
* providerType: "
|
|
12
|
+
* providerType: "orb",
|
|
12
13
|
* q: "q",
|
|
13
14
|
* tiersMode: "graduated",
|
|
14
15
|
* usageType: "licensed",
|
|
15
16
|
* withMeter: true,
|
|
16
|
-
* limit:
|
|
17
|
-
* offset:
|
|
17
|
+
* limit: 1000000,
|
|
18
|
+
* offset: 1000000
|
|
18
19
|
* }
|
|
19
20
|
*/
|
|
20
21
|
export interface ListBillingPricesRequest {
|
|
22
|
+
/** Filter for prices in a specific currency (e.g. usd, eur) */
|
|
23
|
+
currency?: string;
|
|
21
24
|
/** Filter for prices valid for initial plans (free prices only) */
|
|
22
25
|
forInitialPlan?: boolean;
|
|
23
26
|
/** Filter for prices valid for trial expiry plans (free prices only) */
|
|
@@ -2,22 +2,25 @@ import type * as Schematic from "../../../../index";
|
|
|
2
2
|
/**
|
|
3
3
|
* @example
|
|
4
4
|
* {
|
|
5
|
+
* currency: "currency",
|
|
5
6
|
* forInitialPlan: true,
|
|
6
7
|
* forTrialExpiryPlan: true,
|
|
7
8
|
* interval: "interval",
|
|
8
9
|
* isActive: true,
|
|
9
|
-
* price:
|
|
10
|
+
* price: 1000000,
|
|
10
11
|
* productId: "product_id",
|
|
11
|
-
* providerType: "
|
|
12
|
+
* providerType: "orb",
|
|
12
13
|
* q: "q",
|
|
13
14
|
* tiersMode: "graduated",
|
|
14
15
|
* usageType: "licensed",
|
|
15
16
|
* withMeter: true,
|
|
16
|
-
* limit:
|
|
17
|
-
* offset:
|
|
17
|
+
* limit: 1000000,
|
|
18
|
+
* offset: 1000000
|
|
18
19
|
* }
|
|
19
20
|
*/
|
|
20
21
|
export interface ListBillingProductPricesRequest {
|
|
22
|
+
/** Filter for prices in a specific currency (e.g. usd, eur) */
|
|
23
|
+
currency?: string;
|
|
21
24
|
/** Filter for prices valid for initial plans (free prices only) */
|
|
22
25
|
forInitialPlan?: boolean;
|
|
23
26
|
/** Filter for prices valid for trial expiry plans (free prices only) */
|
|
@@ -5,14 +5,14 @@ import type * as Schematic from "../../../../index";
|
|
|
5
5
|
* isActive: true,
|
|
6
6
|
* name: "name",
|
|
7
7
|
* priceUsageType: "licensed",
|
|
8
|
-
* providerType: "
|
|
8
|
+
* providerType: "orb",
|
|
9
9
|
* q: "q",
|
|
10
10
|
* withOneTimeCharges: true,
|
|
11
11
|
* withPricesOnly: true,
|
|
12
12
|
* withZeroPrice: true,
|
|
13
13
|
* withoutLinkedToPlan: true,
|
|
14
|
-
* limit:
|
|
15
|
-
* offset:
|
|
14
|
+
* limit: 1000000,
|
|
15
|
+
* offset: 1000000
|
|
16
16
|
* }
|
|
17
17
|
*/
|
|
18
18
|
export interface ListBillingProductsRequest {
|
package/dist/api/resources/billing/client/requests/ListCustomersWithSubscriptionsRequest.d.ts
CHANGED
|
@@ -3,10 +3,10 @@ import type * as Schematic from "../../../../index";
|
|
|
3
3
|
* @example
|
|
4
4
|
* {
|
|
5
5
|
* name: "name",
|
|
6
|
-
* providerType: "
|
|
6
|
+
* providerType: "orb",
|
|
7
7
|
* q: "q",
|
|
8
|
-
* limit:
|
|
9
|
-
* offset:
|
|
8
|
+
* limit: 1000000,
|
|
9
|
+
* offset: 1000000
|
|
10
10
|
* }
|
|
11
11
|
*/
|
|
12
12
|
export interface ListCustomersWithSubscriptionsRequest {
|
|
@@ -3,6 +3,8 @@ import type * as Schematic from "../../../index";
|
|
|
3
3
|
* Input parameters
|
|
4
4
|
*/
|
|
5
5
|
export interface ListBillingPricesParams {
|
|
6
|
+
/** Filter for prices in a specific currency (e.g. usd, eur) */
|
|
7
|
+
currency?: string;
|
|
6
8
|
/** Filter for prices valid for initial plans (free prices only) */
|
|
7
9
|
forInitialPlan?: boolean;
|
|
8
10
|
/** Filter for prices valid for trial expiry plans (free prices only) */
|
|
@@ -3,6 +3,8 @@ import type * as Schematic from "../../../index";
|
|
|
3
3
|
* Input parameters
|
|
4
4
|
*/
|
|
5
5
|
export interface ListBillingProductPricesParams {
|
|
6
|
+
/** Filter for prices in a specific currency (e.g. usd, eur) */
|
|
7
|
+
currency?: string;
|
|
6
8
|
/** Filter for prices valid for initial plans (free prices only) */
|
|
7
9
|
forInitialPlan?: boolean;
|
|
8
10
|
/** Filter for prices valid for trial expiry plans (free prices only) */
|
|
@@ -29,13 +29,13 @@ export declare class CheckoutClient {
|
|
|
29
29
|
* companyId: "company_id",
|
|
30
30
|
* creditBundles: [{
|
|
31
31
|
* bundleId: "bundle_id",
|
|
32
|
-
* quantity:
|
|
32
|
+
* quantity: 1000000
|
|
33
33
|
* }],
|
|
34
34
|
* newPlanId: "new_plan_id",
|
|
35
35
|
* newPriceId: "new_price_id",
|
|
36
36
|
* payInAdvance: [{
|
|
37
37
|
* priceId: "price_id",
|
|
38
|
-
* quantity:
|
|
38
|
+
* quantity: 1000000
|
|
39
39
|
* }],
|
|
40
40
|
* skipTrial: true
|
|
41
41
|
* })
|
|
@@ -78,13 +78,13 @@ export declare class CheckoutClient {
|
|
|
78
78
|
* companyId: "company_id",
|
|
79
79
|
* creditBundles: [{
|
|
80
80
|
* bundleId: "bundle_id",
|
|
81
|
-
* quantity:
|
|
81
|
+
* quantity: 1000000
|
|
82
82
|
* }],
|
|
83
83
|
* newPlanId: "new_plan_id",
|
|
84
84
|
* newPriceId: "new_price_id",
|
|
85
85
|
* payInAdvance: [{
|
|
86
86
|
* priceId: "price_id",
|
|
87
|
-
* quantity:
|
|
87
|
+
* quantity: 1000000
|
|
88
88
|
* }],
|
|
89
89
|
* skipTrial: true
|
|
90
90
|
* })
|
|
@@ -109,11 +109,11 @@ export declare class CheckoutClient {
|
|
|
109
109
|
* companyId: "company_id",
|
|
110
110
|
* creditBundles: [{
|
|
111
111
|
* bundleId: "bundle_id",
|
|
112
|
-
* quantity:
|
|
112
|
+
* quantity: 1000000
|
|
113
113
|
* }],
|
|
114
114
|
* payInAdvanceEntitlements: [{
|
|
115
115
|
* priceId: "price_id",
|
|
116
|
-
* quantity:
|
|
116
|
+
* quantity: 1000000
|
|
117
117
|
* }]
|
|
118
118
|
* })
|
|
119
119
|
*/
|
|
@@ -137,11 +137,11 @@ export declare class CheckoutClient {
|
|
|
137
137
|
* companyId: "company_id",
|
|
138
138
|
* creditBundles: [{
|
|
139
139
|
* bundleId: "bundle_id",
|
|
140
|
-
* quantity:
|
|
140
|
+
* quantity: 1000000
|
|
141
141
|
* }],
|
|
142
142
|
* payInAdvanceEntitlements: [{
|
|
143
143
|
* priceId: "price_id",
|
|
144
|
-
* quantity:
|
|
144
|
+
* quantity: 1000000
|
|
145
145
|
* }]
|
|
146
146
|
* })
|
|
147
147
|
*/
|
|
@@ -22,6 +22,7 @@ export declare class CompaniesClient {
|
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* await client.companies.listCompanies({
|
|
25
|
+
* hasScheduledDowngrade: true,
|
|
25
26
|
* monetizedSubscriptions: true,
|
|
26
27
|
* planId: "plan_id",
|
|
27
28
|
* planVersionId: "plan_version_id",
|
|
@@ -33,8 +34,8 @@ export declare class CompaniesClient {
|
|
|
33
34
|
* withoutPlan: true,
|
|
34
35
|
* withoutSubscription: true,
|
|
35
36
|
* withSubscription: true,
|
|
36
|
-
* limit:
|
|
37
|
-
* offset:
|
|
37
|
+
* limit: 1000000,
|
|
38
|
+
* offset: 1000000
|
|
38
39
|
* })
|
|
39
40
|
*/
|
|
40
41
|
listCompanies(request?: Schematic.ListCompaniesRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCompaniesResponse>;
|
|
@@ -103,6 +104,7 @@ export declare class CompaniesClient {
|
|
|
103
104
|
*
|
|
104
105
|
* @example
|
|
105
106
|
* await client.companies.countCompanies({
|
|
107
|
+
* hasScheduledDowngrade: true,
|
|
106
108
|
* monetizedSubscriptions: true,
|
|
107
109
|
* planId: "plan_id",
|
|
108
110
|
* planVersionId: "plan_version_id",
|
|
@@ -114,8 +116,8 @@ export declare class CompaniesClient {
|
|
|
114
116
|
* withoutPlan: true,
|
|
115
117
|
* withoutSubscription: true,
|
|
116
118
|
* withSubscription: true,
|
|
117
|
-
* limit:
|
|
118
|
-
* offset:
|
|
119
|
+
* limit: 1000000,
|
|
120
|
+
* offset: 1000000
|
|
119
121
|
* })
|
|
120
122
|
*/
|
|
121
123
|
countCompanies(request?: Schematic.CountCompaniesRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.CountCompaniesResponse>;
|
|
@@ -159,6 +161,12 @@ export declare class CompaniesClient {
|
|
|
159
161
|
deleteCompanyByKeys(request: Schematic.KeysRequestBody, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.DeleteCompanyByKeysResponse>;
|
|
160
162
|
private __deleteCompanyByKeys;
|
|
161
163
|
/**
|
|
164
|
+
* Company lookup is determined to resolve a company from its keys, similar to how many of our other apis work.
|
|
165
|
+
* The following approaches will all work to resolve a company and any of them are appropriate:
|
|
166
|
+
* 1. `/companies/lookup?keys={"foo": "bar", "fizz": "buzz"}`
|
|
167
|
+
* 2. `/companies/lookup?keys[foo]=bar&keys[fizz]=buzz`
|
|
168
|
+
* 2. `/companies/lookup?foo=bar&fizz=buzz`
|
|
169
|
+
*
|
|
162
170
|
* @param {Schematic.LookupCompanyRequest} request
|
|
163
171
|
* @param {CompaniesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
164
172
|
*
|
|
@@ -190,8 +198,8 @@ export declare class CompaniesClient {
|
|
|
190
198
|
* await client.companies.listCompanyMemberships({
|
|
191
199
|
* companyId: "company_id",
|
|
192
200
|
* userId: "user_id",
|
|
193
|
-
* limit:
|
|
194
|
-
* offset:
|
|
201
|
+
* limit: 1000000,
|
|
202
|
+
* offset: 1000000
|
|
195
203
|
* })
|
|
196
204
|
*/
|
|
197
205
|
listCompanyMemberships(request?: Schematic.ListCompanyMembershipsRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCompanyMembershipsResponse>;
|
|
@@ -242,8 +250,8 @@ export declare class CompaniesClient {
|
|
|
242
250
|
* @example
|
|
243
251
|
* await client.companies.getActiveCompanySubscription({
|
|
244
252
|
* companyId: "company_id",
|
|
245
|
-
* limit:
|
|
246
|
-
* offset:
|
|
253
|
+
* limit: 1000000,
|
|
254
|
+
* offset: 1000000
|
|
247
255
|
* })
|
|
248
256
|
*/
|
|
249
257
|
getActiveCompanySubscription(request?: Schematic.GetActiveCompanySubscriptionRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.GetActiveCompanySubscriptionResponse>;
|
|
@@ -282,8 +290,8 @@ export declare class CompaniesClient {
|
|
|
282
290
|
* await client.companies.listEntityKeyDefinitions({
|
|
283
291
|
* entityType: "company",
|
|
284
292
|
* q: "q",
|
|
285
|
-
* limit:
|
|
286
|
-
* offset:
|
|
293
|
+
* limit: 1000000,
|
|
294
|
+
* offset: 1000000
|
|
287
295
|
* })
|
|
288
296
|
*/
|
|
289
297
|
listEntityKeyDefinitions(request?: Schematic.ListEntityKeyDefinitionsRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.ListEntityKeyDefinitionsResponse>;
|
|
@@ -302,8 +310,8 @@ export declare class CompaniesClient {
|
|
|
302
310
|
* await client.companies.countEntityKeyDefinitions({
|
|
303
311
|
* entityType: "company",
|
|
304
312
|
* q: "q",
|
|
305
|
-
* limit:
|
|
306
|
-
* offset:
|
|
313
|
+
* limit: 1000000,
|
|
314
|
+
* offset: 1000000
|
|
307
315
|
* })
|
|
308
316
|
*/
|
|
309
317
|
countEntityKeyDefinitions(request?: Schematic.CountEntityKeyDefinitionsRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.CountEntityKeyDefinitionsResponse>;
|
|
@@ -323,8 +331,8 @@ export declare class CompaniesClient {
|
|
|
323
331
|
* entityType: "company",
|
|
324
332
|
* q: "q",
|
|
325
333
|
* traitType: "boolean",
|
|
326
|
-
* limit:
|
|
327
|
-
* offset:
|
|
334
|
+
* limit: 1000000,
|
|
335
|
+
* offset: 1000000
|
|
328
336
|
* })
|
|
329
337
|
*/
|
|
330
338
|
listEntityTraitDefinitions(request?: Schematic.ListEntityTraitDefinitionsRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.ListEntityTraitDefinitionsResponse>;
|
|
@@ -395,8 +403,8 @@ export declare class CompaniesClient {
|
|
|
395
403
|
* entityType: "company",
|
|
396
404
|
* q: "q",
|
|
397
405
|
* traitType: "boolean",
|
|
398
|
-
* limit:
|
|
399
|
-
* offset:
|
|
406
|
+
* limit: 1000000,
|
|
407
|
+
* offset: 1000000
|
|
400
408
|
* })
|
|
401
409
|
*/
|
|
402
410
|
countEntityTraitDefinitions(request?: Schematic.CountEntityTraitDefinitionsRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.CountEntityTraitDefinitionsResponse>;
|
|
@@ -415,8 +423,8 @@ export declare class CompaniesClient {
|
|
|
415
423
|
* await client.companies.getEntityTraitValues({
|
|
416
424
|
* definitionId: "definition_id",
|
|
417
425
|
* q: "q",
|
|
418
|
-
* limit:
|
|
419
|
-
* offset:
|
|
426
|
+
* limit: 1000000,
|
|
427
|
+
* offset: 1000000
|
|
420
428
|
* })
|
|
421
429
|
*/
|
|
422
430
|
getEntityTraitValues(request: Schematic.GetEntityTraitValuesRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.GetEntityTraitValuesResponse>;
|
|
@@ -433,11 +441,11 @@ export declare class CompaniesClient {
|
|
|
433
441
|
*
|
|
434
442
|
* @example
|
|
435
443
|
* await client.companies.listPlanChanges({
|
|
436
|
-
* action: "
|
|
437
|
-
* basePlanAction: "
|
|
444
|
+
* action: "checkout",
|
|
445
|
+
* basePlanAction: "fallback",
|
|
438
446
|
* companyId: "company_id",
|
|
439
|
-
* limit:
|
|
440
|
-
* offset:
|
|
447
|
+
* limit: 1000000,
|
|
448
|
+
* offset: 1000000
|
|
441
449
|
* })
|
|
442
450
|
*/
|
|
443
451
|
listPlanChanges(request?: Schematic.ListPlanChangesRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.ListPlanChangesResponse>;
|
|
@@ -470,8 +478,8 @@ export declare class CompaniesClient {
|
|
|
470
478
|
* await client.companies.listPlanTraits({
|
|
471
479
|
* planId: "plan_id",
|
|
472
480
|
* traitId: "trait_id",
|
|
473
|
-
* limit:
|
|
474
|
-
* offset:
|
|
481
|
+
* limit: 1000000,
|
|
482
|
+
* offset: 1000000
|
|
475
483
|
* })
|
|
476
484
|
*/
|
|
477
485
|
listPlanTraits(request?: Schematic.ListPlanTraitsRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.ListPlanTraitsResponse>;
|
|
@@ -579,8 +587,8 @@ export declare class CompaniesClient {
|
|
|
579
587
|
* await client.companies.countPlanTraits({
|
|
580
588
|
* planId: "plan_id",
|
|
581
589
|
* traitId: "trait_id",
|
|
582
|
-
* limit:
|
|
583
|
-
* offset:
|
|
590
|
+
* limit: 1000000,
|
|
591
|
+
* offset: 1000000
|
|
584
592
|
* })
|
|
585
593
|
*/
|
|
586
594
|
countPlanTraits(request?: Schematic.CountPlanTraitsRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.CountPlanTraitsResponse>;
|
|
@@ -620,8 +628,8 @@ export declare class CompaniesClient {
|
|
|
620
628
|
* companyId: "company_id",
|
|
621
629
|
* planId: "plan_id",
|
|
622
630
|
* q: "q",
|
|
623
|
-
* limit:
|
|
624
|
-
* offset:
|
|
631
|
+
* limit: 1000000,
|
|
632
|
+
* offset: 1000000
|
|
625
633
|
* })
|
|
626
634
|
*/
|
|
627
635
|
listUsers(request?: Schematic.ListUsersRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.ListUsersResponse>;
|
|
@@ -689,8 +697,8 @@ export declare class CompaniesClient {
|
|
|
689
697
|
* companyId: "company_id",
|
|
690
698
|
* planId: "plan_id",
|
|
691
699
|
* q: "q",
|
|
692
|
-
* limit:
|
|
693
|
-
* offset:
|
|
700
|
+
* limit: 1000000,
|
|
701
|
+
* offset: 1000000
|
|
694
702
|
* })
|
|
695
703
|
*/
|
|
696
704
|
countUsers(request?: Schematic.CountUsersRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.CountUsersResponse>;
|
|
@@ -2,6 +2,7 @@ import type * as Schematic from "../../../../index";
|
|
|
2
2
|
/**
|
|
3
3
|
* @example
|
|
4
4
|
* {
|
|
5
|
+
* hasScheduledDowngrade: true,
|
|
5
6
|
* monetizedSubscriptions: true,
|
|
6
7
|
* planId: "plan_id",
|
|
7
8
|
* planVersionId: "plan_version_id",
|
|
@@ -13,13 +14,15 @@ import type * as Schematic from "../../../../index";
|
|
|
13
14
|
* withoutPlan: true,
|
|
14
15
|
* withoutSubscription: true,
|
|
15
16
|
* withSubscription: true,
|
|
16
|
-
* limit:
|
|
17
|
-
* offset:
|
|
17
|
+
* limit: 1000000,
|
|
18
|
+
* offset: 1000000
|
|
18
19
|
* }
|
|
19
20
|
*/
|
|
20
21
|
export interface CountCompaniesRequest {
|
|
21
22
|
/** Filter companies by one or more credit type IDs (each ID starts with bcrd_) */
|
|
22
23
|
creditTypeIds?: string | string[];
|
|
24
|
+
/** Filter companies that have a pending scheduled downgrade */
|
|
25
|
+
hasScheduledDowngrade?: boolean;
|
|
23
26
|
/** Filter companies by multiple company IDs (starts with comp_) */
|
|
24
27
|
ids?: string | string[];
|
|
25
28
|
/** Filter companies that have monetized subscriptions */
|
|
@@ -2,6 +2,7 @@ import type * as Schematic from "../../../../index";
|
|
|
2
2
|
/**
|
|
3
3
|
* @example
|
|
4
4
|
* {
|
|
5
|
+
* hasScheduledDowngrade: true,
|
|
5
6
|
* monetizedSubscriptions: true,
|
|
6
7
|
* planId: "plan_id",
|
|
7
8
|
* planVersionId: "plan_version_id",
|
|
@@ -13,13 +14,15 @@ import type * as Schematic from "../../../../index";
|
|
|
13
14
|
* withoutPlan: true,
|
|
14
15
|
* withoutSubscription: true,
|
|
15
16
|
* withSubscription: true,
|
|
16
|
-
* limit:
|
|
17
|
-
* offset:
|
|
17
|
+
* limit: 1000000,
|
|
18
|
+
* offset: 1000000
|
|
18
19
|
* }
|
|
19
20
|
*/
|
|
20
21
|
export interface ListCompaniesRequest {
|
|
21
22
|
/** Filter companies by one or more credit type IDs (each ID starts with bcrd_) */
|
|
22
23
|
creditTypeIds?: string | string[];
|
|
24
|
+
/** Filter companies that have a pending scheduled downgrade */
|
|
25
|
+
hasScheduledDowngrade?: boolean;
|
|
23
26
|
/** Filter companies by multiple company IDs (starts with comp_) */
|
|
24
27
|
ids?: string | string[];
|
|
25
28
|
/** Filter companies that have monetized subscriptions */
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
+
import type * as Schematic from "../../../../index";
|
|
1
2
|
/**
|
|
2
3
|
* @example
|
|
3
4
|
* {
|
|
4
|
-
* action: "
|
|
5
|
-
* basePlanAction: "
|
|
5
|
+
* action: "checkout",
|
|
6
|
+
* basePlanAction: "fallback",
|
|
6
7
|
* companyId: "company_id",
|
|
7
|
-
* limit:
|
|
8
|
-
* offset:
|
|
8
|
+
* limit: 1000000,
|
|
9
|
+
* offset: 1000000
|
|
9
10
|
* }
|
|
10
11
|
*/
|
|
11
12
|
export interface ListPlanChangesRequest {
|
|
12
|
-
action?:
|
|
13
|
-
basePlanAction?:
|
|
13
|
+
action?: Schematic.PlanChangeAction;
|
|
14
|
+
basePlanAction?: Schematic.PlanChangeBasePlanAction;
|
|
14
15
|
companyId?: string;
|
|
15
16
|
companyIds?: string | string[];
|
|
16
17
|
planIds?: string | string[];
|
|
@@ -5,6 +5,8 @@ import type * as Schematic from "../../../index";
|
|
|
5
5
|
export interface CountCompaniesParams {
|
|
6
6
|
/** Filter companies by one or more credit type IDs (each ID starts with bcrd_) */
|
|
7
7
|
creditTypeIds?: string[];
|
|
8
|
+
/** Filter companies that have a pending scheduled downgrade */
|
|
9
|
+
hasScheduledDowngrade?: boolean;
|
|
8
10
|
/** Filter companies by multiple company IDs (starts with comp_) */
|
|
9
11
|
ids?: string[];
|
|
10
12
|
/** Page limit (default 100) */
|
|
@@ -5,6 +5,8 @@ import type * as Schematic from "../../../index";
|
|
|
5
5
|
export interface ListCompaniesParams {
|
|
6
6
|
/** Filter companies by one or more credit type IDs (each ID starts with bcrd_) */
|
|
7
7
|
creditTypeIds?: string[];
|
|
8
|
+
/** Filter companies that have a pending scheduled downgrade */
|
|
9
|
+
hasScheduledDowngrade?: boolean;
|
|
8
10
|
/** Filter companies by multiple company IDs (starts with comp_) */
|
|
9
11
|
ids?: string[];
|
|
10
12
|
/** Page limit (default 100) */
|