@schematichq/schematic-typescript-node 1.4.6 → 1.4.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +118 -2
- package/dist/BaseClient.d.ts +3 -0
- package/dist/Client.d.ts +5 -20
- package/dist/api/resources/accounts/client/Client.d.ts +22 -0
- package/dist/api/resources/accounts/client/requests/CountAccountMembersRequest.d.ts +18 -0
- package/dist/api/resources/accounts/client/requests/ListAccountMembersRequest.d.ts +1 -0
- package/dist/api/resources/accounts/client/requests/ListEnvironmentsRequest.d.ts +1 -0
- package/dist/api/resources/accounts/client/requests/index.d.ts +1 -0
- package/dist/api/resources/accounts/types/CountAccountMembersParams.d.ts +12 -0
- package/dist/api/resources/accounts/types/CountAccountMembersResponse.d.ts +6 -0
- package/dist/api/resources/accounts/types/index.d.ts +2 -0
- package/dist/api/resources/billing/client/Client.d.ts +31 -6
- package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.d.ts +5 -1
- package/dist/api/resources/billing/client/requests/CountCustomersRequest.d.ts +2 -1
- package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +2 -0
- package/dist/api/resources/billing/client/requests/ListBillingPricesRequest.d.ts +3 -1
- package/dist/api/resources/billing/client/requests/ListBillingProductPricesRequest.d.ts +3 -1
- package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.d.ts +5 -1
- package/dist/api/resources/billing/client/requests/ListCustomersWithSubscriptionsRequest.d.ts +2 -1
- package/dist/api/resources/billing/types/CountBillingProductsParams.d.ts +2 -0
- package/dist/api/resources/billing/types/DeletePaymentMethodByExternalIdResponse.d.ts +6 -0
- package/dist/api/resources/billing/types/ListBillingProductsParams.d.ts +2 -0
- package/dist/api/resources/billing/types/index.d.ts +1 -0
- package/dist/api/resources/checkout/client/Client.d.ts +22 -0
- package/dist/api/resources/companies/client/Client.d.ts +27 -53
- package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +8 -0
- package/dist/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.d.ts +1 -0
- package/dist/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.d.ts +2 -0
- package/dist/api/resources/companies/client/requests/CountPlanTraitsRequest.d.ts +2 -0
- package/dist/api/resources/companies/client/requests/CountUsersRequest.d.ts +1 -0
- package/dist/api/resources/companies/client/requests/GetActiveCompanySubscriptionRequest.d.ts +1 -0
- package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +8 -0
- package/dist/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.d.ts +1 -0
- package/dist/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.d.ts +2 -0
- package/dist/api/resources/companies/client/requests/ListPlanChangesRequest.d.ts +2 -0
- package/dist/api/resources/companies/client/requests/ListPlanTraitsRequest.d.ts +2 -0
- package/dist/api/resources/companies/client/requests/ListUsersRequest.d.ts +1 -0
- package/dist/api/resources/companies/client/requests/index.d.ts +0 -2
- 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/index.d.ts +0 -3
- package/dist/api/resources/credits/client/Client.d.ts +84 -0
- package/dist/api/resources/credits/client/requests/AcquireCreditLeaseRequestBody.d.ts +14 -0
- package/dist/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/CountBillingCreditsRequest.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.d.ts +4 -0
- package/dist/api/resources/credits/client/requests/CountCreditBundlesRequest.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/ExtendCreditLeaseRequestBody.d.ts +10 -0
- package/dist/api/resources/credits/client/requests/ListBillingCreditsRequest.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.d.ts +4 -0
- package/dist/api/resources/credits/client/requests/ListCompanyCreditBalancesRequest.d.ts +9 -0
- package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/ListGrantsForCreditRequest.d.ts +1 -0
- package/dist/api/resources/credits/client/requests/index.d.ts +3 -0
- package/dist/api/resources/credits/types/AcquireCreditLeaseResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +1 -0
- package/dist/api/resources/credits/types/ExtendCreditLeaseResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +1 -0
- package/dist/api/resources/credits/types/ListCompanyCreditBalancesParams.d.ts +6 -0
- package/dist/api/resources/credits/types/ListCompanyCreditBalancesResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/ReleaseCreditLeaseResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/index.d.ts +5 -0
- package/dist/api/resources/entitlements/client/Client.d.ts +19 -1
- package/dist/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.d.ts +3 -0
- package/dist/api/resources/entitlements/client/requests/CountFeatureUsageRequest.d.ts +5 -0
- package/dist/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.d.ts +4 -0
- package/dist/api/resources/entitlements/client/requests/CreateBillingLinkedPlanEntitlementRequestBody.d.ts +9 -3
- package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +8 -2
- package/dist/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.d.ts +3 -0
- package/dist/api/resources/entitlements/client/requests/ListFeatureUsageRequest.d.ts +5 -0
- package/dist/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.d.ts +4 -0
- package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +2 -2
- package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +8 -2
- package/dist/api/resources/entitlements/types/CountFeatureUsageParams.d.ts +3 -0
- package/dist/api/resources/entitlements/types/ListFeatureUsageParams.d.ts +3 -0
- package/dist/api/resources/entitlements/types/index.d.ts +0 -10
- package/dist/api/resources/events/client/Client.d.ts +3 -0
- package/dist/api/resources/events/client/requests/GetEventSummariesRequest.d.ts +1 -0
- package/dist/api/resources/events/client/requests/ListEventsRequest.d.ts +3 -0
- package/dist/api/resources/events/types/ListEventsParams.d.ts +1 -0
- package/dist/api/resources/features/client/Client.d.ts +11 -3
- package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +5 -0
- package/dist/api/resources/features/client/requests/CountFlagsRequest.d.ts +1 -0
- package/dist/api/resources/features/client/requests/CreateBillingLinkedFeatureRequestBody.d.ts +2 -2
- package/dist/api/resources/features/client/requests/CreateFeatureRequestBody.d.ts +1 -1
- package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +5 -0
- package/dist/api/resources/features/client/requests/ListFlagsRequest.d.ts +1 -0
- package/dist/api/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +1 -1
- package/dist/api/resources/features/client/requests/UpdateFlagRulesRequestBody.d.ts +2 -2
- package/dist/api/resources/features/types/CountFeaturesParams.d.ts +2 -0
- package/dist/api/resources/features/types/ListFeaturesParams.d.ts +2 -0
- package/dist/api/resources/index.d.ts +4 -0
- package/dist/api/resources/insights/client/Client.d.ts +114 -0
- package/dist/api/resources/insights/client/index.d.ts +1 -0
- package/dist/api/resources/insights/client/requests/GetActivityRequest.d.ts +9 -0
- package/dist/api/resources/insights/client/requests/GetEnvironmentFeatureUsageTimeSeriesRequest.d.ts +16 -0
- package/dist/api/resources/insights/client/requests/GetEnvironmentTraitUsageTimeSeriesRequest.d.ts +16 -0
- package/dist/api/resources/insights/client/requests/GetPlanGrowthRequest.d.ts +9 -0
- package/dist/api/resources/insights/client/requests/GetTopFeaturesByUsageRequest.d.ts +13 -0
- package/dist/api/resources/insights/client/requests/index.d.ts +5 -0
- package/dist/api/resources/insights/exports.d.ts +2 -0
- package/dist/api/resources/insights/index.d.ts +2 -0
- package/dist/api/resources/insights/types/GetActivityParams.d.ts +6 -0
- package/dist/api/resources/insights/types/GetActivityResponse.d.ts +6 -0
- package/dist/api/resources/insights/types/GetEnvironmentFeatureUsageTimeSeriesParams.d.ts +10 -0
- package/dist/api/resources/insights/types/GetEnvironmentFeatureUsageTimeSeriesResponse.d.ts +6 -0
- package/dist/api/resources/insights/types/GetEnvironmentTraitUsageTimeSeriesParams.d.ts +10 -0
- package/dist/api/resources/insights/types/GetEnvironmentTraitUsageTimeSeriesResponse.d.ts +6 -0
- package/dist/api/resources/insights/types/GetPlanGrowthParams.d.ts +6 -0
- package/dist/api/resources/insights/types/GetPlanGrowthResponse.d.ts +6 -0
- package/dist/api/resources/{companies/types/UpdatePlanTraitResponse.d.ts → insights/types/GetSummaryResponse.d.ts} +2 -2
- package/dist/api/resources/insights/types/GetTopFeaturesByUsageParams.d.ts +8 -0
- package/dist/api/resources/insights/types/GetTopFeaturesByUsageResponse.d.ts +6 -0
- package/dist/api/resources/insights/types/index.d.ts +11 -0
- package/dist/api/resources/integrationsapi/client/Client.d.ts +133 -0
- package/dist/api/resources/integrationsapi/client/index.d.ts +1 -1
- package/dist/api/resources/integrationsapi/client/requests/ListIntegrationsRequest.d.ts +24 -0
- package/dist/api/resources/integrationsapi/client/requests/StartDataImportRequestBody.d.ts +12 -0
- package/dist/api/resources/integrationsapi/client/requests/index.d.ts +2 -0
- package/dist/api/resources/integrationsapi/types/AssumeStripeInstalledResponse.d.ts +6 -0
- package/dist/api/resources/integrationsapi/types/InstallIntegrationResponse.d.ts +6 -0
- package/dist/api/resources/integrationsapi/types/InstallStripeResponse.d.ts +6 -0
- package/dist/api/resources/integrationsapi/types/ListIntegrationsParams.d.ts +15 -0
- package/dist/api/resources/integrationsapi/types/ListIntegrationsResponse.d.ts +6 -0
- package/dist/api/resources/integrationsapi/types/LoadSampleDataSetResponse.d.ts +6 -0
- package/dist/api/resources/{companies/types/CreatePlanTraitResponse.d.ts → integrationsapi/types/RunIntegrationResponse.d.ts} +2 -2
- package/dist/api/resources/integrationsapi/types/StartDataImportResponse.d.ts +6 -0
- package/dist/api/resources/{companies/types/DeletePlanTraitResponse.d.ts → integrationsapi/types/UninstallIntegrationResponse.d.ts} +1 -1
- package/dist/api/resources/integrationsapi/types/index.d.ts +9 -0
- package/dist/api/resources/planbundle/client/Client.d.ts +19 -0
- package/dist/api/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +14 -0
- package/dist/api/resources/planbundle/client/requests/index.d.ts +1 -0
- package/dist/api/resources/planbundle/types/CreateCustomPlanBundleResponse.d.ts +6 -0
- package/dist/api/resources/planbundle/types/index.d.ts +1 -0
- package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +1 -0
- package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +1 -0
- package/dist/api/resources/planmigrations/client/Client.d.ts +56 -0
- package/dist/api/resources/planmigrations/client/requests/CreateMigrationInput.d.ts +22 -0
- package/dist/api/resources/planmigrations/client/requests/RetryMigrationRequestBody.d.ts +10 -0
- package/dist/api/resources/planmigrations/client/requests/index.d.ts +2 -0
- package/dist/api/resources/planmigrations/types/CreateMigrationResponse.d.ts +6 -0
- package/dist/api/resources/planmigrations/types/RetryCompanyMigrationResponse.d.ts +6 -0
- package/dist/api/resources/planmigrations/types/RetryMigrationResponse.d.ts +6 -0
- package/dist/api/resources/planmigrations/types/index.d.ts +3 -0
- package/dist/api/resources/plans/client/Client.d.ts +71 -1
- package/dist/api/resources/plans/client/requests/CountPlansRequest.d.ts +10 -0
- package/dist/api/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +2 -1
- package/dist/api/resources/plans/client/requests/ListCustomPlanBillingsRequest.d.ts +26 -0
- package/dist/api/resources/plans/client/requests/ListPlansRequest.d.ts +10 -0
- package/dist/api/resources/plans/client/requests/RetryCustomPlanBillingRequestBody.d.ts +17 -0
- package/dist/api/resources/plans/client/requests/index.d.ts +2 -0
- package/dist/api/resources/plans/types/CountPlansParams.d.ts +6 -0
- package/dist/api/resources/plans/types/ListCustomPlanBillingsParams.d.ts +18 -0
- package/dist/api/resources/plans/types/ListCustomPlanBillingsResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/ListPlansParams.d.ts +6 -0
- package/dist/api/resources/plans/types/MarkCustomPlanBillingPaidResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/RetryCustomPlanBillingResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/index.d.ts +4 -0
- package/dist/api/resources/webhooks/client/Client.d.ts +2 -0
- package/dist/api/resources/webhooks/client/requests/CountWebhookEventsRequest.d.ts +1 -0
- package/dist/api/resources/webhooks/client/requests/ListWebhookEventsRequest.d.ts +1 -0
- package/dist/api/types/AccountMemberResponseData.d.ts +2 -0
- package/dist/api/types/ActivityEntryResponseData.d.ts +8 -0
- package/dist/api/types/ActivityResponseResponseData.d.ts +4 -0
- package/dist/api/types/ApiKeyCreateResponseData.d.ts +2 -0
- package/dist/api/types/ApiKeyIntegrationResponseData.d.ts +6 -0
- package/dist/api/types/ApiKeyResponseData.d.ts +2 -0
- package/dist/api/types/AuditLogListResponseData.d.ts +2 -0
- package/dist/api/types/AuditLogResponseData.d.ts +2 -0
- package/dist/api/types/BillingCreditBundleView.d.ts +1 -1
- package/dist/api/types/BillingCreditGrantReason.d.ts +1 -0
- package/dist/api/types/BillingCreditGrantResponseData.d.ts +4 -0
- package/dist/api/types/BillingCreditLedgerAuthority.d.ts +6 -0
- package/dist/api/types/BillingCreditView.d.ts +2 -0
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +3 -0
- package/dist/api/types/BillingPriceResponseData.d.ts +2 -0
- package/dist/api/types/BillingPriceView.d.ts +2 -0
- package/dist/api/types/BillingProductForSubscriptionResponseData.d.ts +1 -0
- package/dist/api/types/BillingProductPlanResponseData.d.ts +1 -0
- package/dist/api/types/BillingProductPriceResponseData.d.ts +2 -0
- package/dist/api/types/BillingProviderType.d.ts +1 -0
- package/dist/api/types/BillingStrategy.d.ts +6 -0
- package/dist/api/types/ChangeSubscriptionInternalRequestBody.d.ts +2 -0
- package/dist/api/types/ChangeSubscriptionRequestBody.d.ts +2 -0
- package/dist/api/types/ChargeType.d.ts +1 -0
- package/dist/api/types/CheckFlagResponseData.d.ts +2 -2
- package/dist/api/types/CheckoutDataResponseData.d.ts +1 -0
- package/dist/api/types/CheckoutFieldInput.d.ts +8 -0
- package/dist/api/types/CheckoutFieldResponseData.d.ts +12 -0
- package/dist/api/types/CheckoutFieldValue.d.ts +4 -0
- package/dist/api/types/CheckoutFieldWithValue.d.ts +9 -0
- package/dist/api/types/CheckoutSubscription.d.ts +1 -0
- package/dist/api/types/ClerkIntegrationConfig.d.ts +6 -0
- package/dist/api/types/CompanyCreditBalanceResponseData.d.ts +9 -0
- package/dist/api/types/CompanyEventPeriodMetricsResponseData.d.ts +3 -2
- package/dist/api/types/CompanyMatchingCriteria.d.ts +5 -0
- package/dist/api/types/CompanyOverrideResponseData.d.ts +2 -2
- package/dist/api/types/CompanyPlanCreditGrantView.d.ts +41 -0
- package/dist/api/types/CompanyPlanDetailResponseData.d.ts +7 -3
- package/dist/api/types/CompanyPlanWithBillingSubView.d.ts +1 -1
- package/dist/api/types/CompanySubscriptionResponseData.d.ts +1 -0
- package/dist/api/types/{ConditionOperator.d.ts → ComparableOperator.d.ts} +5 -5
- package/dist/api/types/ComponentHydrateResponseData.d.ts +1 -0
- package/dist/api/types/ComponentPreviewResponseData.d.ts +1 -0
- package/dist/api/types/Condition.d.ts +4 -4
- package/dist/api/types/ConditionResponseData.d.ts +4 -4
- package/dist/api/types/{ConditionConditionType.d.ts → ConditionType.d.ts} +2 -2
- package/dist/api/types/ConditionView.d.ts +4 -4
- package/dist/api/types/CreateBillingPlanCreditGrantRequestBody.d.ts +3 -0
- package/dist/api/types/CreateCustomPlanBundlePlanRequestBody.d.ts +7 -0
- package/dist/api/types/CreateEntitlementInBundleRequestBody.d.ts +8 -2
- package/dist/api/types/CreateEntitlementReqCommon.d.ts +2 -2
- package/dist/api/types/CreateEventRequestBody.d.ts +6 -0
- package/dist/api/types/CreateFlagRequestBody.d.ts +1 -1
- package/dist/api/types/CreateOrUpdateConditionRequestBody.d.ts +4 -4
- package/dist/api/types/CreateOrUpdateFlagRequestBody.d.ts +1 -1
- package/dist/api/types/CreateOrUpdateRuleRequestBody.d.ts +1 -1
- package/dist/api/types/CreditCompanyGrantView.d.ts +3 -0
- package/dist/api/types/CreditCurrencyPrice.d.ts +5 -0
- package/dist/api/types/CreditEventLedgerResponseData.d.ts +1 -0
- package/dist/api/types/CreditLeaseResponseData.d.ts +10 -0
- package/dist/api/types/CreditUsageReason.d.ts +8 -0
- package/dist/api/types/CurrencyPriceRequestBody.d.ts +3 -0
- package/dist/api/types/CustomPlanBillingResponseData.d.ts +1 -0
- package/dist/api/types/CustomPlanBillingStatus.d.ts +1 -0
- package/dist/api/types/DataEventPayload.d.ts +3 -0
- package/dist/api/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +1 -0
- package/dist/api/types/EntitlementCurrencyPricesResponseData.d.ts +1 -0
- package/dist/api/types/EnvironmentFeatureUsageTimeSeriesResponseData.d.ts +6 -0
- package/dist/api/types/EnvironmentTraitUsageTimeSeriesResponseData.d.ts +6 -0
- package/dist/api/types/EnvironmentUsagePointResponseData.d.ts +4 -0
- package/dist/api/types/EventBodyTrack.d.ts +2 -0
- package/dist/api/types/EventDetailResponseData.d.ts +3 -0
- package/dist/api/types/EventResponseData.d.ts +2 -0
- package/dist/api/types/FeatureCompanyResponseData.d.ts +4 -3
- package/dist/api/types/FeatureCompanyUserResponseData.d.ts +2 -2
- package/dist/api/types/FeatureDetailResponseData.d.ts +2 -1
- package/dist/api/types/FeatureEntitlement.d.ts +2 -2
- package/dist/api/types/FeatureInPlanResponseData.d.ts +21 -0
- package/dist/api/types/FeatureResponseData.d.ts +1 -1
- package/dist/api/types/FeatureUsageResponseData.d.ts +4 -3
- package/dist/api/types/FeatureView.d.ts +1 -1
- package/dist/api/types/FlagDetailResponseData.d.ts +2 -1
- package/dist/api/types/FlagInPlanResponseData.d.ts +16 -0
- package/dist/api/types/FlagResponseData.d.ts +1 -1
- package/dist/api/types/FlagView.d.ts +0 -1
- package/dist/api/types/InsightsSummaryResponseData.d.ts +9 -0
- package/dist/api/types/InstallIntegrationRequestBody.d.ts +9 -0
- package/dist/api/types/IntegrationCapabilities.d.ts +5 -0
- package/dist/api/types/IntegrationConfig.d.ts +19 -0
- package/dist/api/types/IntegrationInstallConfig.d.ts +13 -0
- package/dist/api/types/IntegrationInstallResponseData.d.ts +6 -0
- package/dist/api/types/IntegrationResponseData.d.ts +8 -0
- package/dist/api/types/IntegrationState.d.ts +6 -0
- package/dist/api/types/IntegrationType.d.ts +2 -0
- package/dist/api/types/IntegrationsDataSetResponseData.d.ts +3 -0
- package/dist/api/types/IntegrationsListResponseData.d.ts +10 -0
- package/dist/api/types/IntegrationsResponseData.d.ts +8 -0
- package/dist/api/types/ManagePlanRequest.d.ts +1 -0
- package/dist/api/types/MarkCustomPlanBillingPaidRequestBody.d.ts +1 -0
- package/dist/api/types/{ConditionMetricPeriod.d.ts → MetricPeriod.d.ts} +2 -2
- package/dist/api/types/MetricPeriodMonthReset.d.ts +5 -0
- package/dist/api/types/MetronomeIntegrationConfig.d.ts +1 -0
- package/dist/api/types/MigrationErrorCode.d.ts +15 -0
- package/dist/api/types/MrrResponseData.d.ts +4 -0
- package/dist/api/types/OrbIntegrationConfig.d.ts +4 -0
- package/dist/api/types/PlanCreditGrantView.d.ts +2 -0
- package/dist/api/types/PlanCurrencyPriceRequestBody.d.ts +1 -0
- package/dist/api/types/PlanCurrencyPricesResponseData.d.ts +1 -0
- package/dist/api/types/PlanDetailResponseData.d.ts +6 -2
- package/dist/api/types/PlanEntitlementResponseData.d.ts +5 -2
- package/dist/api/types/PlanGroupDetailResponseData.d.ts +1 -0
- package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +7 -3
- package/dist/api/types/PlanGrowthPointResponseData.d.ts +6 -0
- package/dist/api/types/PlanGrowthResponseData.d.ts +4 -0
- package/dist/api/types/PlanPriceCadence.d.ts +6 -0
- package/dist/api/types/PlanVersionCompanyMigrationResponseData.d.ts +1 -0
- package/dist/api/types/PlanVersionMigrationResponseData.d.ts +1 -0
- package/dist/api/types/PlanViewPublicResponseData.d.ts +7 -3
- package/dist/api/types/ReleaseCreditLeaseRequestBody.d.ts +1 -0
- package/dist/api/types/Rule.d.ts +1 -1
- package/dist/api/types/RuleConditionDetailResponseData.d.ts +4 -4
- package/dist/api/types/RuleConditionResponseData.d.ts +4 -4
- package/dist/api/types/RuleDetailResponseData.d.ts +1 -1
- package/dist/api/types/RuleResponseData.d.ts +2 -1
- package/dist/api/types/{RuleRuleType.d.ts → RuleType.d.ts} +4 -4
- package/dist/api/types/RuleView.d.ts +1 -1
- package/dist/api/types/RulesEngineSchemaVersion.d.ts +1 -1
- package/dist/api/types/RulesengineCheckFlagResult.d.ts +2 -2
- package/dist/api/types/RulesengineCompanyMetric.d.ts +2 -2
- package/dist/api/types/RulesengineCondition.d.ts +4 -4
- package/dist/api/types/{RulesengineConditionConditionType.d.ts → RulesengineConditionType.d.ts} +2 -2
- package/dist/api/types/RulesengineFeatureEntitlement.d.ts +2 -2
- package/dist/api/types/RulesengineMetricPeriod.d.ts +7 -0
- package/dist/api/types/RulesengineMetricPeriodMonthReset.d.ts +5 -0
- package/dist/api/types/RulesengineRule.d.ts +1 -1
- package/dist/api/types/{RulesengineRuleRuleType.d.ts → RulesengineRuleType.d.ts} +4 -4
- package/dist/api/types/StripeIntegrationConfig.d.ts +14 -0
- package/dist/api/types/TopFeatureByUsageResponseData.d.ts +8 -0
- package/dist/api/types/TopFeaturesByUsageResponseData.d.ts +4 -0
- package/dist/api/types/UpdateAutoTopupOverrideRequestBody.d.ts +6 -0
- package/dist/api/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +3 -0
- package/dist/api/types/UpdateEntitlementReqCommon.d.ts +2 -2
- package/dist/api/types/UpsertBillingProductRequestBody.d.ts +3 -0
- package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +6 -0
- package/dist/api/types/UsageBasedEntitlementResponseData.d.ts +5 -2
- package/dist/api/types/WorkOsIntegrationConfig.d.ts +6 -0
- package/dist/api/types/index.d.ts +56 -29
- package/dist/core/auth/AuthProvider.d.ts +1 -0
- package/dist/core/auth/BasicAuth.d.ts +2 -2
- package/dist/core/auth/index.d.ts +1 -1
- package/dist/core/fetcher/Fetcher.d.ts +8 -0
- package/dist/core/schemas/builders/enum/enum.d.ts +1 -0
- package/dist/core/schemas/builders/enum/index.d.ts +1 -1
- package/dist/core/url/QueryStringBuilder.d.ts +47 -0
- package/dist/core/url/index.d.ts +1 -0
- package/dist/core/url/qs.d.ts +2 -1
- package/dist/datastream/merge.d.ts +13 -10
- package/dist/datastream/websocket-client.d.ts +1 -1
- package/dist/errors/SchematicError.d.ts +3 -1
- package/dist/errors/SchematicTimeoutError.d.ts +4 -1
- package/dist/event-capture.d.ts +28 -0
- package/dist/events.d.ts +3 -3
- package/dist/index.d.ts +2 -1
- package/dist/index.js +3 -3
- package/dist/logger.d.ts +20 -0
- package/dist/rules-engine.d.ts +3 -3
- package/dist/serialization/resources/accounts/types/CountAccountMembersParams.d.ts +12 -0
- package/dist/serialization/resources/accounts/types/CountAccountMembersResponse.d.ts +12 -0
- package/dist/serialization/resources/accounts/types/index.d.ts +2 -0
- package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.d.ts +2 -0
- package/dist/serialization/resources/billing/types/CountBillingProductsParams.d.ts +1 -0
- package/dist/serialization/resources/billing/types/DeletePaymentMethodByExternalIdResponse.d.ts +11 -0
- package/dist/serialization/resources/billing/types/ListBillingProductsParams.d.ts +1 -0
- package/dist/serialization/resources/billing/types/index.d.ts +1 -0
- package/dist/serialization/resources/companies/client/requests/index.d.ts +0 -2
- 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/index.d.ts +0 -3
- package/dist/serialization/resources/credits/client/requests/AcquireCreditLeaseRequestBody.d.ts +12 -0
- package/dist/serialization/resources/credits/client/requests/ExtendCreditLeaseRequestBody.d.ts +10 -0
- package/dist/serialization/resources/credits/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/credits/types/AcquireCreditLeaseResponse.d.ts +11 -0
- package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +1 -0
- package/dist/serialization/resources/credits/types/ExtendCreditLeaseResponse.d.ts +11 -0
- package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +1 -0
- package/dist/serialization/resources/credits/types/ListCompanyCreditBalancesParams.d.ts +9 -0
- package/dist/serialization/resources/credits/types/ListCompanyCreditBalancesResponse.d.ts +12 -0
- package/dist/serialization/resources/credits/types/ReleaseCreditLeaseResponse.d.ts +11 -0
- package/dist/serialization/resources/credits/types/index.d.ts +5 -0
- package/dist/serialization/resources/entitlements/client/requests/CreateBillingLinkedPlanEntitlementRequestBody.d.ts +9 -4
- package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.d.ts +4 -4
- package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +9 -4
- package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.d.ts +4 -4
- package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +9 -4
- package/dist/serialization/resources/entitlements/types/CountFeatureUsageParams.d.ts +2 -0
- package/dist/serialization/resources/entitlements/types/ListFeatureUsageParams.d.ts +2 -0
- package/dist/serialization/resources/entitlements/types/index.d.ts +0 -10
- package/dist/serialization/resources/events/types/ListEventsParams.d.ts +1 -0
- package/dist/serialization/resources/features/client/requests/CreateBillingLinkedFeatureRequestBody.d.ts +1 -1
- package/dist/serialization/resources/features/client/requests/CreateFeatureRequestBody.d.ts +1 -1
- package/dist/serialization/resources/features/client/requests/UpdateFeatureRequestBody.d.ts +1 -1
- package/dist/serialization/resources/features/types/CountFeaturesParams.d.ts +2 -0
- package/dist/serialization/resources/features/types/ListFeaturesParams.d.ts +2 -0
- package/dist/serialization/resources/index.d.ts +4 -0
- package/dist/serialization/resources/insights/index.d.ts +1 -0
- package/dist/serialization/resources/insights/types/GetActivityParams.d.ts +9 -0
- package/dist/serialization/resources/insights/types/GetActivityResponse.d.ts +12 -0
- package/dist/serialization/resources/insights/types/GetEnvironmentFeatureUsageTimeSeriesParams.d.ts +13 -0
- package/dist/serialization/resources/insights/types/GetEnvironmentFeatureUsageTimeSeriesResponse.d.ts +12 -0
- package/dist/serialization/resources/insights/types/GetEnvironmentTraitUsageTimeSeriesParams.d.ts +13 -0
- package/dist/serialization/resources/insights/types/GetEnvironmentTraitUsageTimeSeriesResponse.d.ts +12 -0
- package/dist/serialization/resources/insights/types/GetPlanGrowthParams.d.ts +9 -0
- package/dist/serialization/resources/insights/types/GetPlanGrowthResponse.d.ts +12 -0
- package/dist/serialization/resources/insights/types/GetSummaryResponse.d.ts +11 -0
- package/dist/serialization/resources/insights/types/GetTopFeaturesByUsageParams.d.ts +11 -0
- package/dist/serialization/resources/insights/types/GetTopFeaturesByUsageResponse.d.ts +12 -0
- package/dist/serialization/resources/insights/types/index.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/client/index.d.ts +1 -0
- package/dist/serialization/resources/integrationsapi/client/requests/StartDataImportRequestBody.d.ts +12 -0
- package/dist/serialization/resources/integrationsapi/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/integrationsapi/index.d.ts +1 -0
- package/dist/serialization/resources/integrationsapi/types/AssumeStripeInstalledResponse.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/InstallIntegrationResponse.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/InstallStripeResponse.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/ListIntegrationsParams.d.ts +17 -0
- package/dist/serialization/resources/integrationsapi/types/ListIntegrationsResponse.d.ts +12 -0
- package/dist/serialization/resources/integrationsapi/types/LoadSampleDataSetResponse.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/RunIntegrationResponse.d.ts +11 -0
- package/dist/serialization/resources/integrationsapi/types/StartDataImportResponse.d.ts +11 -0
- package/dist/serialization/resources/{companies/types/DeletePlanTraitResponse.d.ts → integrationsapi/types/UninstallIntegrationResponse.d.ts} +2 -2
- package/dist/serialization/resources/integrationsapi/types/index.d.ts +9 -0
- package/dist/serialization/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +14 -0
- package/dist/serialization/resources/planbundle/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/planbundle/types/CreateCustomPlanBundleResponse.d.ts +11 -0
- package/dist/serialization/resources/planbundle/types/index.d.ts +1 -0
- package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +2 -0
- package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +2 -0
- package/dist/serialization/resources/planmigrations/client/index.d.ts +1 -0
- package/dist/serialization/resources/planmigrations/client/requests/CreateMigrationInput.d.ts +17 -0
- package/dist/serialization/resources/planmigrations/client/requests/RetryMigrationRequestBody.d.ts +10 -0
- package/dist/serialization/resources/planmigrations/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/planmigrations/index.d.ts +1 -0
- package/dist/serialization/resources/planmigrations/types/CreateMigrationResponse.d.ts +11 -0
- package/dist/serialization/resources/planmigrations/types/RetryCompanyMigrationResponse.d.ts +11 -0
- package/dist/serialization/resources/planmigrations/types/RetryMigrationResponse.d.ts +11 -0
- package/dist/serialization/resources/planmigrations/types/index.d.ts +3 -0
- package/dist/serialization/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +1 -0
- package/dist/serialization/resources/plans/client/requests/RetryCustomPlanBillingRequestBody.d.ts +14 -0
- package/dist/serialization/resources/plans/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/plans/types/CountPlansParams.d.ts +3 -0
- package/dist/serialization/resources/plans/types/ListCustomPlanBillingsParams.d.ts +15 -0
- package/dist/serialization/resources/plans/types/ListCustomPlanBillingsResponse.d.ts +12 -0
- package/dist/serialization/resources/plans/types/ListPlansParams.d.ts +3 -0
- package/dist/serialization/resources/plans/types/MarkCustomPlanBillingPaidResponse.d.ts +11 -0
- package/dist/serialization/resources/plans/types/RetryCustomPlanBillingResponse.d.ts +11 -0
- package/dist/serialization/resources/plans/types/index.d.ts +4 -0
- package/dist/serialization/types/AccountMemberResponseData.d.ts +2 -0
- package/dist/serialization/types/ActivityEntryResponseData.d.ts +14 -0
- package/dist/serialization/types/ActivityResponseResponseData.d.ts +10 -0
- package/dist/serialization/types/ApiKeyCreateResponseData.d.ts +4 -0
- package/dist/serialization/types/ApiKeyIntegrationResponseData.d.ts +13 -0
- package/dist/serialization/types/ApiKeyResponseData.d.ts +4 -0
- package/dist/serialization/types/AuditLogListResponseData.d.ts +4 -0
- package/dist/serialization/types/AuditLogResponseData.d.ts +4 -0
- package/dist/serialization/types/BillingCreditBundleView.d.ts +1 -1
- package/dist/serialization/types/BillingCreditGrantReason.d.ts +1 -1
- package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +3 -0
- package/dist/serialization/types/BillingCreditLedgerAuthority.d.ts +7 -0
- package/dist/serialization/types/BillingCreditView.d.ts +4 -0
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +2 -0
- package/dist/serialization/types/BillingPriceResponseData.d.ts +2 -0
- package/dist/serialization/types/BillingPriceView.d.ts +2 -0
- package/dist/serialization/types/BillingProductForSubscriptionResponseData.d.ts +1 -0
- package/dist/serialization/types/BillingProductPlanResponseData.d.ts +2 -0
- package/dist/serialization/types/BillingProductPriceResponseData.d.ts +2 -0
- package/dist/serialization/types/BillingProviderType.d.ts +1 -1
- package/dist/serialization/types/BillingStrategy.d.ts +7 -0
- package/dist/serialization/types/ChangeSubscriptionInternalRequestBody.d.ts +4 -0
- package/dist/serialization/types/ChangeSubscriptionRequestBody.d.ts +4 -0
- package/dist/serialization/types/ChargeType.d.ts +1 -1
- package/dist/serialization/types/CheckFlagResponseData.d.ts +4 -2
- package/dist/serialization/types/CheckoutDataResponseData.d.ts +2 -0
- package/dist/serialization/types/CheckoutFieldInput.d.ts +14 -0
- package/dist/serialization/types/CheckoutFieldResponseData.d.ts +18 -0
- package/dist/serialization/types/CheckoutFieldValue.d.ts +10 -0
- package/dist/serialization/types/CheckoutFieldWithValue.d.ts +15 -0
- package/dist/serialization/types/CheckoutSubscription.d.ts +1 -0
- package/dist/serialization/types/ClerkIntegrationConfig.d.ts +10 -0
- package/dist/serialization/types/CompanyCreditBalanceResponseData.d.ts +15 -0
- package/dist/serialization/types/CompanyEventPeriodMetricsResponseData.d.ts +4 -2
- package/dist/serialization/types/CompanyMatchingCriteria.d.ts +7 -0
- package/dist/serialization/types/CompanyOverrideResponseData.d.ts +4 -2
- package/dist/serialization/types/CompanyPlanCreditGrantView.d.ts +48 -0
- package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +10 -4
- package/dist/serialization/types/CompanyPlanWithBillingSubView.d.ts +2 -2
- package/dist/serialization/types/CompanySubscriptionResponseData.d.ts +2 -0
- package/dist/serialization/types/ComparableOperator.d.ts +7 -0
- package/dist/serialization/types/ComponentHydrateResponseData.d.ts +2 -0
- package/dist/serialization/types/ComponentPreviewResponseData.d.ts +2 -0
- package/dist/serialization/types/Condition.d.ts +8 -8
- package/dist/serialization/types/ConditionResponseData.d.ts +8 -4
- package/dist/serialization/types/{ConditionConditionType.d.ts → ConditionType.d.ts} +2 -2
- package/dist/serialization/types/ConditionView.d.ts +8 -4
- package/dist/serialization/types/CreateBillingPlanCreditGrantRequestBody.d.ts +2 -0
- package/dist/serialization/types/CreateCustomPlanBundlePlanRequestBody.d.ts +13 -0
- package/dist/serialization/types/CreateEntitlementInBundleRequestBody.d.ts +9 -4
- package/dist/serialization/types/CreateEntitlementReqCommon.d.ts +4 -4
- package/dist/serialization/types/CreateEventRequestBody.d.ts +3 -0
- package/dist/serialization/types/CreateFlagRequestBody.d.ts +1 -1
- package/dist/serialization/types/CreateOrUpdateConditionRequestBody.d.ts +8 -8
- package/dist/serialization/types/CreateOrUpdateFlagRequestBody.d.ts +1 -1
- package/dist/serialization/types/CreateOrUpdateRuleRequestBody.d.ts +2 -2
- package/dist/serialization/types/CreditCompanyGrantView.d.ts +3 -0
- package/dist/serialization/types/CreditCurrencyPrice.d.ts +11 -0
- package/dist/serialization/types/CreditEventLedgerResponseData.d.ts +2 -0
- package/dist/serialization/types/CreditLeaseResponseData.d.ts +16 -0
- package/dist/serialization/types/CreditUsageReason.d.ts +7 -0
- package/dist/serialization/types/CurrencyPriceRequestBody.d.ts +3 -0
- package/dist/serialization/types/CustomPlanBillingResponseData.d.ts +1 -0
- package/dist/serialization/types/CustomPlanBillingStatus.d.ts +1 -1
- package/dist/serialization/types/DataEventPayload.d.ts +3 -0
- package/dist/serialization/types/DuplicatePlanEntitlementsResponseResponseData.d.ts +2 -0
- package/dist/serialization/types/EntitlementCurrencyPricesResponseData.d.ts +1 -0
- package/dist/serialization/types/EnvironmentFeatureUsageTimeSeriesResponseData.d.ts +12 -0
- package/dist/serialization/types/EnvironmentTraitUsageTimeSeriesResponseData.d.ts +12 -0
- package/dist/serialization/types/EnvironmentUsagePointResponseData.d.ts +10 -0
- package/dist/serialization/types/EventBodyTrack.d.ts +1 -0
- package/dist/serialization/types/EventDetailResponseData.d.ts +4 -0
- package/dist/serialization/types/EventResponseData.d.ts +2 -0
- package/dist/serialization/types/FeatureCompanyResponseData.d.ts +7 -4
- package/dist/serialization/types/FeatureCompanyUserResponseData.d.ts +4 -2
- package/dist/serialization/types/FeatureDetailResponseData.d.ts +3 -1
- package/dist/serialization/types/FeatureEntitlement.d.ts +4 -4
- package/dist/serialization/types/FeatureInPlanResponseData.d.ts +33 -0
- package/dist/serialization/types/FeatureResponseData.d.ts +1 -1
- package/dist/serialization/types/FeatureUsageResponseData.d.ts +7 -4
- package/dist/serialization/types/FeatureView.d.ts +1 -1
- package/dist/serialization/types/FlagDetailResponseData.d.ts +3 -1
- package/dist/serialization/types/FlagInPlanResponseData.d.ts +24 -0
- package/dist/serialization/types/FlagResponseData.d.ts +1 -1
- package/dist/serialization/types/FlagView.d.ts +0 -1
- package/dist/serialization/types/InsightsSummaryResponseData.d.ts +15 -0
- package/dist/serialization/types/InstallIntegrationRequestBody.d.ts +16 -0
- package/dist/serialization/types/IntegrationCapabilities.d.ts +11 -0
- package/dist/serialization/types/IntegrationConfig.d.ts +27 -0
- package/dist/serialization/types/IntegrationInstallConfig.d.ts +20 -0
- package/dist/serialization/types/IntegrationInstallResponseData.d.ts +14 -0
- package/dist/serialization/types/IntegrationResponseData.d.ts +15 -0
- package/dist/serialization/types/IntegrationState.d.ts +7 -0
- package/dist/serialization/types/IntegrationType.d.ts +1 -1
- package/dist/serialization/types/IntegrationsDataSetResponseData.d.ts +9 -0
- package/dist/serialization/types/IntegrationsListResponseData.d.ts +19 -0
- package/dist/serialization/types/IntegrationsResponseData.d.ts +15 -0
- package/dist/serialization/types/ManagePlanRequest.d.ts +2 -0
- package/dist/serialization/types/MarkCustomPlanBillingPaidRequestBody.d.ts +7 -0
- package/dist/serialization/types/{ConditionMetricPeriod.d.ts → MetricPeriod.d.ts} +2 -2
- package/dist/serialization/types/MetricPeriodMonthReset.d.ts +7 -0
- package/dist/serialization/types/MetronomeIntegrationConfig.d.ts +7 -0
- package/dist/serialization/types/MigrationErrorCode.d.ts +7 -0
- package/dist/serialization/types/MrrResponseData.d.ts +10 -0
- package/dist/serialization/types/OrbIntegrationConfig.d.ts +9 -0
- package/dist/serialization/types/PlanCreditGrantView.d.ts +2 -0
- package/dist/serialization/types/PlanCurrencyPriceRequestBody.d.ts +1 -0
- package/dist/serialization/types/PlanCurrencyPricesResponseData.d.ts +1 -0
- package/dist/serialization/types/PlanDetailResponseData.d.ts +9 -3
- package/dist/serialization/types/PlanEntitlementResponseData.d.ts +6 -2
- package/dist/serialization/types/PlanGroupDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +10 -4
- package/dist/serialization/types/PlanGrowthPointResponseData.d.ts +12 -0
- package/dist/serialization/types/PlanGrowthResponseData.d.ts +10 -0
- package/dist/serialization/types/PlanPriceCadence.d.ts +7 -0
- package/dist/serialization/types/PlanVersionCompanyMigrationResponseData.d.ts +2 -0
- package/dist/serialization/types/PlanVersionMigrationResponseData.d.ts +1 -0
- package/dist/serialization/types/PlanViewPublicResponseData.d.ts +10 -4
- package/dist/serialization/types/ReleaseCreditLeaseRequestBody.d.ts +7 -0
- package/dist/serialization/types/Rule.d.ts +2 -2
- package/dist/serialization/types/RuleConditionDetailResponseData.d.ts +8 -4
- package/dist/serialization/types/RuleConditionResponseData.d.ts +8 -4
- package/dist/serialization/types/RuleDetailResponseData.d.ts +2 -1
- package/dist/serialization/types/RuleResponseData.d.ts +2 -1
- package/dist/serialization/types/RuleType.d.ts +7 -0
- package/dist/serialization/types/RuleView.d.ts +2 -1
- package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +1 -1
- package/dist/serialization/types/RulesengineCheckFlagResult.d.ts +4 -4
- package/dist/serialization/types/RulesengineCompanyMetric.d.ts +4 -4
- package/dist/serialization/types/RulesengineCondition.d.ts +8 -8
- package/dist/serialization/types/{RulesengineConditionConditionType.d.ts → RulesengineConditionType.d.ts} +2 -2
- package/dist/serialization/types/RulesengineFeatureEntitlement.d.ts +4 -4
- package/dist/serialization/types/RulesengineMetricPeriod.d.ts +7 -0
- package/dist/serialization/types/RulesengineMetricPeriodMonthReset.d.ts +7 -0
- package/dist/serialization/types/RulesengineRule.d.ts +2 -2
- package/dist/serialization/types/RulesengineRuleType.d.ts +7 -0
- package/dist/serialization/types/StripeIntegrationConfig.d.ts +14 -0
- package/dist/serialization/types/TopFeatureByUsageResponseData.d.ts +14 -0
- package/dist/serialization/types/TopFeaturesByUsageResponseData.d.ts +10 -0
- package/dist/serialization/types/UpdateAutoTopupOverrideRequestBody.d.ts +12 -0
- package/dist/serialization/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +2 -0
- package/dist/serialization/types/UpdateEntitlementReqCommon.d.ts +4 -4
- package/dist/serialization/types/UpsertBillingProductRequestBody.d.ts +4 -0
- package/dist/serialization/types/UsageBasedEntitlementRequestBody.d.ts +5 -0
- package/dist/serialization/types/UsageBasedEntitlementResponseData.d.ts +6 -2
- package/dist/serialization/types/WorkOsIntegrationConfig.d.ts +10 -0
- package/dist/serialization/types/index.d.ts +56 -29
- package/dist/version.d.ts +2 -0
- package/dist/wasm/rulesengine.d.ts +1 -0
- package/dist/wasm/rulesengine.js +43 -11
- package/dist/wasm/rulesengine_bg.wasm.d.ts +1 -0
- package/dist/wrapper.d.ts +40 -5
- package/package.json +3 -3
- package/dist/api/resources/companies/client/requests/CreatePlanTraitRequestBody.d.ts +0 -13
- package/dist/api/resources/companies/client/requests/UpdatePlanTraitRequestBody.d.ts +0 -11
- package/dist/api/resources/entitlements/types/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/api/resources/entitlements/types/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -5
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +0 -5
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -5
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +0 -5
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -5
- package/dist/api/types/ConditionMetricPeriodMonthReset.d.ts +0 -5
- package/dist/api/types/CreateEntitlementInBundleRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/api/types/CreateEntitlementInBundleRequestBodyMetricPeriodMonthReset.d.ts +0 -5
- package/dist/api/types/CreateEntitlementReqCommonMetricPeriod.d.ts +0 -7
- package/dist/api/types/CreateEntitlementReqCommonMetricPeriodMonthReset.d.ts +0 -5
- package/dist/api/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +0 -10
- package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +0 -8
- package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.d.ts +0 -6
- package/dist/api/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +0 -11
- package/dist/api/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +0 -8
- package/dist/api/types/FeatureEntitlementMetricPeriod.d.ts +0 -8
- package/dist/api/types/FeatureEntitlementMonthReset.d.ts +0 -6
- package/dist/api/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +0 -7
- package/dist/api/types/RulesengineCheckFlagResultRuleType.d.ts +0 -10
- package/dist/api/types/RulesengineCompanyMetricMonthReset.d.ts +0 -5
- package/dist/api/types/RulesengineCompanyMetricPeriod.d.ts +0 -7
- package/dist/api/types/RulesengineConditionMetricPeriod.d.ts +0 -7
- package/dist/api/types/RulesengineConditionMetricPeriodMonthReset.d.ts +0 -5
- package/dist/api/types/RulesengineConditionOperator.d.ts +0 -11
- package/dist/api/types/RulesengineFeatureEntitlementMetricPeriod.d.ts +0 -8
- package/dist/api/types/RulesengineFeatureEntitlementMonthReset.d.ts +0 -6
- package/dist/api/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +0 -7
- package/dist/api/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.d.ts +0 -5
- package/dist/serialization/resources/companies/client/requests/CreatePlanTraitRequestBody.d.ts +0 -11
- package/dist/serialization/resources/companies/client/requests/UpdatePlanTraitRequestBody.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CreatePlanTraitResponse.d.ts +0 -11
- package/dist/serialization/resources/companies/types/UpdatePlanTraitResponse.d.ts +0 -11
- package/dist/serialization/resources/entitlements/types/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/serialization/resources/entitlements/types/CreateBillingLinkedPlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -7
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +0 -7
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -7
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.d.ts +0 -7
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.d.ts +0 -7
- package/dist/serialization/types/ConditionMetricPeriodMonthReset.d.ts +0 -7
- package/dist/serialization/types/ConditionOperator.d.ts +0 -7
- package/dist/serialization/types/CreateEntitlementInBundleRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/serialization/types/CreateEntitlementInBundleRequestBodyMetricPeriodMonthReset.d.ts +0 -7
- package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriod.d.ts +0 -7
- package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriodMonthReset.d.ts +0 -7
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyConditionType.d.ts +0 -7
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriod.d.ts +0 -7
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.d.ts +0 -7
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyOperator.d.ts +0 -7
- package/dist/serialization/types/CreateOrUpdateRuleRequestBodyRuleType.d.ts +0 -7
- package/dist/serialization/types/FeatureEntitlementMetricPeriod.d.ts +0 -7
- package/dist/serialization/types/FeatureEntitlementMonthReset.d.ts +0 -7
- package/dist/serialization/types/RuleRuleType.d.ts +0 -7
- package/dist/serialization/types/RulesengineCheckFlagResultFeatureUsagePeriod.d.ts +0 -7
- package/dist/serialization/types/RulesengineCheckFlagResultRuleType.d.ts +0 -7
- package/dist/serialization/types/RulesengineCompanyMetricMonthReset.d.ts +0 -7
- package/dist/serialization/types/RulesengineCompanyMetricPeriod.d.ts +0 -7
- package/dist/serialization/types/RulesengineConditionMetricPeriod.d.ts +0 -7
- package/dist/serialization/types/RulesengineConditionMetricPeriodMonthReset.d.ts +0 -7
- package/dist/serialization/types/RulesengineConditionOperator.d.ts +0 -7
- package/dist/serialization/types/RulesengineFeatureEntitlementMetricPeriod.d.ts +0 -7
- package/dist/serialization/types/RulesengineFeatureEntitlementMonthReset.d.ts +0 -7
- package/dist/serialization/types/RulesengineRuleRuleType.d.ts +0 -7
- package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriod.d.ts +0 -7
- package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.d.ts +0 -7
- package/dist/wasm/rulesengine_bg.wasm +0 -0
|
@@ -22,13 +22,19 @@ export declare class CompaniesClient {
|
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* await client.companies.listCompanies({
|
|
25
|
+
* creditTypeIds: ["credit_type_ids"],
|
|
25
26
|
* hasScheduledDowngrade: true,
|
|
27
|
+
* ids: ["ids"],
|
|
26
28
|
* monetizedSubscriptions: true,
|
|
27
29
|
* planId: "plan_id",
|
|
30
|
+
* planIds: ["plan_ids"],
|
|
28
31
|
* planVersionId: "plan_version_id",
|
|
32
|
+
* planVersionIds: ["plan_version_ids"],
|
|
29
33
|
* q: "q",
|
|
30
34
|
* sortOrderColumn: "sort_order_column",
|
|
31
35
|
* sortOrderDirection: "asc",
|
|
36
|
+
* subscriptionStatuses: ["active"],
|
|
37
|
+
* subscriptionTypes: ["free"],
|
|
32
38
|
* withEntitlementFor: "with_entitlement_for",
|
|
33
39
|
* withoutFeatureOverrideFor: "without_feature_override_for",
|
|
34
40
|
* withoutPlan: true,
|
|
@@ -104,13 +110,19 @@ export declare class CompaniesClient {
|
|
|
104
110
|
*
|
|
105
111
|
* @example
|
|
106
112
|
* await client.companies.countCompanies({
|
|
113
|
+
* creditTypeIds: ["credit_type_ids"],
|
|
107
114
|
* hasScheduledDowngrade: true,
|
|
115
|
+
* ids: ["ids"],
|
|
108
116
|
* monetizedSubscriptions: true,
|
|
109
117
|
* planId: "plan_id",
|
|
118
|
+
* planIds: ["plan_ids"],
|
|
110
119
|
* planVersionId: "plan_version_id",
|
|
120
|
+
* planVersionIds: ["plan_version_ids"],
|
|
111
121
|
* q: "q",
|
|
112
122
|
* sortOrderColumn: "sort_order_column",
|
|
113
123
|
* sortOrderDirection: "asc",
|
|
124
|
+
* subscriptionStatuses: ["active"],
|
|
125
|
+
* subscriptionTypes: ["free"],
|
|
114
126
|
* withEntitlementFor: "with_entitlement_for",
|
|
115
127
|
* withoutFeatureOverrideFor: "without_feature_override_for",
|
|
116
128
|
* withoutPlan: true,
|
|
@@ -250,6 +262,7 @@ export declare class CompaniesClient {
|
|
|
250
262
|
* @example
|
|
251
263
|
* await client.companies.getActiveCompanySubscription({
|
|
252
264
|
* companyId: "company_id",
|
|
265
|
+
* companyIds: ["company_ids"],
|
|
253
266
|
* limit: 1000000,
|
|
254
267
|
* offset: 1000000
|
|
255
268
|
* })
|
|
@@ -289,6 +302,7 @@ export declare class CompaniesClient {
|
|
|
289
302
|
* @example
|
|
290
303
|
* await client.companies.listEntityKeyDefinitions({
|
|
291
304
|
* entityType: "company",
|
|
305
|
+
* ids: ["ids"],
|
|
292
306
|
* q: "q",
|
|
293
307
|
* limit: 1000000,
|
|
294
308
|
* offset: 1000000
|
|
@@ -309,6 +323,7 @@ export declare class CompaniesClient {
|
|
|
309
323
|
* @example
|
|
310
324
|
* await client.companies.countEntityKeyDefinitions({
|
|
311
325
|
* entityType: "company",
|
|
326
|
+
* ids: ["ids"],
|
|
312
327
|
* q: "q",
|
|
313
328
|
* limit: 1000000,
|
|
314
329
|
* offset: 1000000
|
|
@@ -329,8 +344,10 @@ export declare class CompaniesClient {
|
|
|
329
344
|
* @example
|
|
330
345
|
* await client.companies.listEntityTraitDefinitions({
|
|
331
346
|
* entityType: "company",
|
|
347
|
+
* ids: ["ids"],
|
|
332
348
|
* q: "q",
|
|
333
349
|
* traitType: "boolean",
|
|
350
|
+
* traitTypes: ["boolean"],
|
|
334
351
|
* limit: 1000000,
|
|
335
352
|
* offset: 1000000
|
|
336
353
|
* })
|
|
@@ -401,8 +418,10 @@ export declare class CompaniesClient {
|
|
|
401
418
|
* @example
|
|
402
419
|
* await client.companies.countEntityTraitDefinitions({
|
|
403
420
|
* entityType: "company",
|
|
421
|
+
* ids: ["ids"],
|
|
404
422
|
* q: "q",
|
|
405
423
|
* traitType: "boolean",
|
|
424
|
+
* traitTypes: ["boolean"],
|
|
406
425
|
* limit: 1000000,
|
|
407
426
|
* offset: 1000000
|
|
408
427
|
* })
|
|
@@ -444,6 +463,8 @@ export declare class CompaniesClient {
|
|
|
444
463
|
* action: "checkout",
|
|
445
464
|
* basePlanAction: "fallback",
|
|
446
465
|
* companyId: "company_id",
|
|
466
|
+
* companyIds: ["company_ids"],
|
|
467
|
+
* planIds: ["plan_ids"],
|
|
447
468
|
* limit: 1000000,
|
|
448
469
|
* offset: 1000000
|
|
449
470
|
* })
|
|
@@ -476,33 +497,16 @@ export declare class CompaniesClient {
|
|
|
476
497
|
*
|
|
477
498
|
* @example
|
|
478
499
|
* await client.companies.listPlanTraits({
|
|
500
|
+
* ids: ["ids"],
|
|
479
501
|
* planId: "plan_id",
|
|
480
502
|
* traitId: "trait_id",
|
|
503
|
+
* traitIds: ["trait_ids"],
|
|
481
504
|
* limit: 1000000,
|
|
482
505
|
* offset: 1000000
|
|
483
506
|
* })
|
|
484
507
|
*/
|
|
485
508
|
listPlanTraits(request?: Schematic.ListPlanTraitsRequest, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.ListPlanTraitsResponse>;
|
|
486
509
|
private __listPlanTraits;
|
|
487
|
-
/**
|
|
488
|
-
* @param {Schematic.CreatePlanTraitRequestBody} request
|
|
489
|
-
* @param {CompaniesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
490
|
-
*
|
|
491
|
-
* @throws {@link Schematic.BadRequestError}
|
|
492
|
-
* @throws {@link Schematic.UnauthorizedError}
|
|
493
|
-
* @throws {@link Schematic.ForbiddenError}
|
|
494
|
-
* @throws {@link Schematic.NotFoundError}
|
|
495
|
-
* @throws {@link Schematic.InternalServerError}
|
|
496
|
-
*
|
|
497
|
-
* @example
|
|
498
|
-
* await client.companies.createPlanTrait({
|
|
499
|
-
* planId: "plan_id",
|
|
500
|
-
* traitId: "trait_id",
|
|
501
|
-
* traitValue: "trait_value"
|
|
502
|
-
* })
|
|
503
|
-
*/
|
|
504
|
-
createPlanTrait(request: Schematic.CreatePlanTraitRequestBody, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.CreatePlanTraitResponse>;
|
|
505
|
-
private __createPlanTrait;
|
|
506
510
|
/**
|
|
507
511
|
* @param {string} plan_trait_id - plan_trait_id
|
|
508
512
|
* @param {CompaniesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -517,40 +521,6 @@ export declare class CompaniesClient {
|
|
|
517
521
|
*/
|
|
518
522
|
getPlanTrait(plan_trait_id: string, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.GetPlanTraitResponse>;
|
|
519
523
|
private __getPlanTrait;
|
|
520
|
-
/**
|
|
521
|
-
* @param {string} plan_trait_id - plan_trait_id
|
|
522
|
-
* @param {Schematic.UpdatePlanTraitRequestBody} request
|
|
523
|
-
* @param {CompaniesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
524
|
-
*
|
|
525
|
-
* @throws {@link Schematic.BadRequestError}
|
|
526
|
-
* @throws {@link Schematic.UnauthorizedError}
|
|
527
|
-
* @throws {@link Schematic.ForbiddenError}
|
|
528
|
-
* @throws {@link Schematic.NotFoundError}
|
|
529
|
-
* @throws {@link Schematic.InternalServerError}
|
|
530
|
-
*
|
|
531
|
-
* @example
|
|
532
|
-
* await client.companies.updatePlanTrait("plan_trait_id", {
|
|
533
|
-
* planId: "plan_id",
|
|
534
|
-
* traitValue: "trait_value"
|
|
535
|
-
* })
|
|
536
|
-
*/
|
|
537
|
-
updatePlanTrait(plan_trait_id: string, request: Schematic.UpdatePlanTraitRequestBody, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.UpdatePlanTraitResponse>;
|
|
538
|
-
private __updatePlanTrait;
|
|
539
|
-
/**
|
|
540
|
-
* @param {string} plan_trait_id - plan_trait_id
|
|
541
|
-
* @param {CompaniesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
542
|
-
*
|
|
543
|
-
* @throws {@link Schematic.BadRequestError}
|
|
544
|
-
* @throws {@link Schematic.UnauthorizedError}
|
|
545
|
-
* @throws {@link Schematic.ForbiddenError}
|
|
546
|
-
* @throws {@link Schematic.NotFoundError}
|
|
547
|
-
* @throws {@link Schematic.InternalServerError}
|
|
548
|
-
*
|
|
549
|
-
* @example
|
|
550
|
-
* await client.companies.deletePlanTrait("plan_trait_id")
|
|
551
|
-
*/
|
|
552
|
-
deletePlanTrait(plan_trait_id: string, requestOptions?: CompaniesClient.RequestOptions): core.HttpResponsePromise<Schematic.DeletePlanTraitResponse>;
|
|
553
|
-
private __deletePlanTrait;
|
|
554
524
|
/**
|
|
555
525
|
* @param {Schematic.UpdatePlanTraitBulkRequestBody} request
|
|
556
526
|
* @param {CompaniesClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -585,8 +555,10 @@ export declare class CompaniesClient {
|
|
|
585
555
|
*
|
|
586
556
|
* @example
|
|
587
557
|
* await client.companies.countPlanTraits({
|
|
558
|
+
* ids: ["ids"],
|
|
588
559
|
* planId: "plan_id",
|
|
589
560
|
* traitId: "trait_id",
|
|
561
|
+
* traitIds: ["trait_ids"],
|
|
590
562
|
* limit: 1000000,
|
|
591
563
|
* offset: 1000000
|
|
592
564
|
* })
|
|
@@ -626,6 +598,7 @@ export declare class CompaniesClient {
|
|
|
626
598
|
* @example
|
|
627
599
|
* await client.companies.listUsers({
|
|
628
600
|
* companyId: "company_id",
|
|
601
|
+
* ids: ["ids"],
|
|
629
602
|
* planId: "plan_id",
|
|
630
603
|
* q: "q",
|
|
631
604
|
* limit: 1000000,
|
|
@@ -695,6 +668,7 @@ export declare class CompaniesClient {
|
|
|
695
668
|
* @example
|
|
696
669
|
* await client.companies.countUsers({
|
|
697
670
|
* companyId: "company_id",
|
|
671
|
+
* ids: ["ids"],
|
|
698
672
|
* planId: "plan_id",
|
|
699
673
|
* q: "q",
|
|
700
674
|
* limit: 1000000,
|
|
@@ -2,13 +2,19 @@ import type * as Schematic from "../../../../index";
|
|
|
2
2
|
/**
|
|
3
3
|
* @example
|
|
4
4
|
* {
|
|
5
|
+
* creditTypeIds: ["credit_type_ids"],
|
|
5
6
|
* hasScheduledDowngrade: true,
|
|
7
|
+
* ids: ["ids"],
|
|
6
8
|
* monetizedSubscriptions: true,
|
|
7
9
|
* planId: "plan_id",
|
|
10
|
+
* planIds: ["plan_ids"],
|
|
8
11
|
* planVersionId: "plan_version_id",
|
|
12
|
+
* planVersionIds: ["plan_version_ids"],
|
|
9
13
|
* q: "q",
|
|
10
14
|
* sortOrderColumn: "sort_order_column",
|
|
11
15
|
* sortOrderDirection: "asc",
|
|
16
|
+
* subscriptionStatuses: ["active"],
|
|
17
|
+
* subscriptionTypes: ["free"],
|
|
12
18
|
* withEntitlementFor: "with_entitlement_for",
|
|
13
19
|
* withoutFeatureOverrideFor: "without_feature_override_for",
|
|
14
20
|
* withoutPlan: true,
|
|
@@ -33,6 +39,8 @@ export interface CountCompaniesRequest {
|
|
|
33
39
|
planIds?: string | string[];
|
|
34
40
|
/** Filter companies by plan version ID (starts with plvr_) */
|
|
35
41
|
planVersionId?: string;
|
|
42
|
+
/** Filter companies by one or more plan version IDs (each ID starts with plvr_). Takes precedence over plan_version_id when set. */
|
|
43
|
+
planVersionIds?: string | string[];
|
|
36
44
|
/** Search for companies by name, keys or string traits */
|
|
37
45
|
q?: string;
|
|
38
46
|
/** Column to sort by (e.g. name, created_at, last_seen_at) */
|
|
@@ -2,13 +2,19 @@ import type * as Schematic from "../../../../index";
|
|
|
2
2
|
/**
|
|
3
3
|
* @example
|
|
4
4
|
* {
|
|
5
|
+
* creditTypeIds: ["credit_type_ids"],
|
|
5
6
|
* hasScheduledDowngrade: true,
|
|
7
|
+
* ids: ["ids"],
|
|
6
8
|
* monetizedSubscriptions: true,
|
|
7
9
|
* planId: "plan_id",
|
|
10
|
+
* planIds: ["plan_ids"],
|
|
8
11
|
* planVersionId: "plan_version_id",
|
|
12
|
+
* planVersionIds: ["plan_version_ids"],
|
|
9
13
|
* q: "q",
|
|
10
14
|
* sortOrderColumn: "sort_order_column",
|
|
11
15
|
* sortOrderDirection: "asc",
|
|
16
|
+
* subscriptionStatuses: ["active"],
|
|
17
|
+
* subscriptionTypes: ["free"],
|
|
12
18
|
* withEntitlementFor: "with_entitlement_for",
|
|
13
19
|
* withoutFeatureOverrideFor: "without_feature_override_for",
|
|
14
20
|
* withoutPlan: true,
|
|
@@ -33,6 +39,8 @@ export interface ListCompaniesRequest {
|
|
|
33
39
|
planIds?: string | string[];
|
|
34
40
|
/** Filter companies by plan version ID (starts with plvr_) */
|
|
35
41
|
planVersionId?: string;
|
|
42
|
+
/** Filter companies by one or more plan version IDs (each ID starts with plvr_). Takes precedence over plan_version_id when set. */
|
|
43
|
+
planVersionIds?: string | string[];
|
|
36
44
|
/** Search for companies by name, keys or string traits */
|
|
37
45
|
q?: string;
|
|
38
46
|
/** Column to sort by (e.g. name, created_at, last_seen_at) */
|
|
@@ -4,7 +4,6 @@ export type { CountEntityTraitDefinitionsRequest } from "./CountEntityTraitDefin
|
|
|
4
4
|
export type { CountPlanTraitsRequest } from "./CountPlanTraitsRequest";
|
|
5
5
|
export type { CountUsersRequest } from "./CountUsersRequest";
|
|
6
6
|
export type { CreateEntityTraitDefinitionRequestBody } from "./CreateEntityTraitDefinitionRequestBody";
|
|
7
|
-
export type { CreatePlanTraitRequestBody } from "./CreatePlanTraitRequestBody";
|
|
8
7
|
export type { DeleteCompanyRequest } from "./DeleteCompanyRequest";
|
|
9
8
|
export type { GetActiveCompanySubscriptionRequest } from "./GetActiveCompanySubscriptionRequest";
|
|
10
9
|
export type { GetEntityTraitValuesRequest } from "./GetEntityTraitValuesRequest";
|
|
@@ -20,4 +19,3 @@ export type { LookupCompanyRequest } from "./LookupCompanyRequest";
|
|
|
20
19
|
export type { LookupUserRequest } from "./LookupUserRequest";
|
|
21
20
|
export type { UpdateEntityTraitDefinitionRequestBody } from "./UpdateEntityTraitDefinitionRequestBody";
|
|
22
21
|
export type { UpdatePlanTraitBulkRequestBody } from "./UpdatePlanTraitBulkRequestBody";
|
|
23
|
-
export type { UpdatePlanTraitRequestBody } from "./UpdatePlanTraitRequestBody";
|
|
@@ -21,6 +21,8 @@ export interface CountCompaniesParams {
|
|
|
21
21
|
planIds?: string[];
|
|
22
22
|
/** Filter companies by plan version ID (starts with plvr_) */
|
|
23
23
|
planVersionId?: string;
|
|
24
|
+
/** Filter companies by one or more plan version IDs (each ID starts with plvr_). Takes precedence over plan_version_id when set. */
|
|
25
|
+
planVersionIds?: string[];
|
|
24
26
|
/** Search for companies by name, keys or string traits */
|
|
25
27
|
q?: string;
|
|
26
28
|
/** Column to sort by (e.g. name, created_at, last_seen_at) */
|
|
@@ -21,6 +21,8 @@ export interface ListCompaniesParams {
|
|
|
21
21
|
planIds?: string[];
|
|
22
22
|
/** Filter companies by plan version ID (starts with plvr_) */
|
|
23
23
|
planVersionId?: string;
|
|
24
|
+
/** Filter companies by one or more plan version IDs (each ID starts with plvr_). Takes precedence over plan_version_id when set. */
|
|
25
|
+
planVersionIds?: string[];
|
|
24
26
|
/** Search for companies by name, keys or string traits */
|
|
25
27
|
q?: string;
|
|
26
28
|
/** Column to sort by (e.g. name, created_at, last_seen_at) */
|
|
@@ -9,13 +9,11 @@ export * from "./CountPlanTraitsResponse";
|
|
|
9
9
|
export * from "./CountUsersParams";
|
|
10
10
|
export * from "./CountUsersResponse";
|
|
11
11
|
export * from "./CreateCompanyResponse";
|
|
12
|
-
export * from "./CreatePlanTraitResponse";
|
|
13
12
|
export * from "./CreateUserResponse";
|
|
14
13
|
export * from "./DeleteCompanyByKeysResponse";
|
|
15
14
|
export * from "./DeleteCompanyMembershipResponse";
|
|
16
15
|
export * from "./DeleteCompanyParams";
|
|
17
16
|
export * from "./DeleteCompanyResponse";
|
|
18
|
-
export * from "./DeletePlanTraitResponse";
|
|
19
17
|
export * from "./DeleteUserByKeysResponse";
|
|
20
18
|
export * from "./DeleteUserResponse";
|
|
21
19
|
export * from "./GetActiveCompanySubscriptionParams";
|
|
@@ -48,7 +46,6 @@ export * from "./LookupCompanyResponse";
|
|
|
48
46
|
export * from "./LookupUserParams";
|
|
49
47
|
export * from "./LookupUserResponse";
|
|
50
48
|
export * from "./UpdateEntityTraitDefinitionResponse";
|
|
51
|
-
export * from "./UpdatePlanTraitResponse";
|
|
52
49
|
export * from "./UpdatePlanTraitsBulkResponse";
|
|
53
50
|
export * from "./UpsertCompanyResponse";
|
|
54
51
|
export * from "./UpsertCompanyTraitResponse";
|
|
@@ -22,6 +22,7 @@ export declare class CreditsClient {
|
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* await client.credits.listBillingCredits({
|
|
25
|
+
* ids: ["ids"],
|
|
25
26
|
* name: "name",
|
|
26
27
|
* limit: 1000000,
|
|
27
28
|
* offset: 1000000
|
|
@@ -96,6 +97,23 @@ export declare class CreditsClient {
|
|
|
96
97
|
*/
|
|
97
98
|
softDeleteBillingCredit(credit_id: string, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.SoftDeleteBillingCreditResponse>;
|
|
98
99
|
private __softDeleteBillingCredit;
|
|
100
|
+
/**
|
|
101
|
+
* @param {Schematic.ListCompanyCreditBalancesRequest} request
|
|
102
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link Schematic.BadRequestError}
|
|
105
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
106
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
107
|
+
* @throws {@link Schematic.NotFoundError}
|
|
108
|
+
* @throws {@link Schematic.InternalServerError}
|
|
109
|
+
*
|
|
110
|
+
* @example
|
|
111
|
+
* await client.credits.listCompanyCreditBalances({
|
|
112
|
+
* companyId: "company_id"
|
|
113
|
+
* })
|
|
114
|
+
*/
|
|
115
|
+
listCompanyCreditBalances(request: Schematic.ListCompanyCreditBalancesRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCompanyCreditBalancesResponse>;
|
|
116
|
+
private __listCompanyCreditBalances;
|
|
99
117
|
/**
|
|
100
118
|
* @param {Schematic.ListCreditBundlesRequest} request
|
|
101
119
|
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -108,6 +126,7 @@ export declare class CreditsClient {
|
|
|
108
126
|
*
|
|
109
127
|
* @example
|
|
110
128
|
* await client.credits.listCreditBundles({
|
|
129
|
+
* ids: ["ids"],
|
|
111
130
|
* creditId: "credit_id",
|
|
112
131
|
* status: "active",
|
|
113
132
|
* bundleType: "fixed",
|
|
@@ -197,6 +216,7 @@ export declare class CreditsClient {
|
|
|
197
216
|
*
|
|
198
217
|
* @example
|
|
199
218
|
* await client.credits.countCreditBundles({
|
|
219
|
+
* ids: ["ids"],
|
|
200
220
|
* creditId: "credit_id",
|
|
201
221
|
* status: "active",
|
|
202
222
|
* bundleType: "fixed",
|
|
@@ -218,6 +238,7 @@ export declare class CreditsClient {
|
|
|
218
238
|
*
|
|
219
239
|
* @example
|
|
220
240
|
* await client.credits.countBillingCredits({
|
|
241
|
+
* ids: ["ids"],
|
|
221
242
|
* name: "name",
|
|
222
243
|
* limit: 1000000,
|
|
223
244
|
* offset: 1000000
|
|
@@ -316,6 +337,7 @@ export declare class CreditsClient {
|
|
|
316
337
|
* @example
|
|
317
338
|
* await client.credits.countBillingCreditsGrants({
|
|
318
339
|
* creditId: "credit_id",
|
|
340
|
+
* ids: ["ids"],
|
|
319
341
|
* limit: 1000000,
|
|
320
342
|
* offset: 1000000
|
|
321
343
|
* })
|
|
@@ -335,12 +357,68 @@ export declare class CreditsClient {
|
|
|
335
357
|
* @example
|
|
336
358
|
* await client.credits.listGrantsForCredit({
|
|
337
359
|
* creditId: "credit_id",
|
|
360
|
+
* ids: ["ids"],
|
|
338
361
|
* limit: 1000000,
|
|
339
362
|
* offset: 1000000
|
|
340
363
|
* })
|
|
341
364
|
*/
|
|
342
365
|
listGrantsForCredit(request?: Schematic.ListGrantsForCreditRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListGrantsForCreditResponse>;
|
|
343
366
|
private __listGrantsForCredit;
|
|
367
|
+
/**
|
|
368
|
+
* @param {Schematic.AcquireCreditLeaseRequestBody} request
|
|
369
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
370
|
+
*
|
|
371
|
+
* @throws {@link Schematic.BadRequestError}
|
|
372
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
373
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
374
|
+
* @throws {@link Schematic.NotFoundError}
|
|
375
|
+
* @throws {@link Schematic.InternalServerError}
|
|
376
|
+
*
|
|
377
|
+
* @example
|
|
378
|
+
* await client.credits.acquireCreditLease({
|
|
379
|
+
* companyId: "company_id",
|
|
380
|
+
* creditTypeId: "credit_type_id",
|
|
381
|
+
* requestedAmount: 1.1
|
|
382
|
+
* })
|
|
383
|
+
*/
|
|
384
|
+
acquireCreditLease(request: Schematic.AcquireCreditLeaseRequestBody, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.AcquireCreditLeaseResponse>;
|
|
385
|
+
private __acquireCreditLease;
|
|
386
|
+
/**
|
|
387
|
+
* @param {string} lease_id - lease_id
|
|
388
|
+
* @param {Schematic.ExtendCreditLeaseRequestBody} request
|
|
389
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
390
|
+
*
|
|
391
|
+
* @throws {@link Schematic.BadRequestError}
|
|
392
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
393
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
394
|
+
* @throws {@link Schematic.NotFoundError}
|
|
395
|
+
* @throws {@link Schematic.InternalServerError}
|
|
396
|
+
*
|
|
397
|
+
* @example
|
|
398
|
+
* await client.credits.extendCreditLease("lease_id", {
|
|
399
|
+
* additionalAmount: 1.1
|
|
400
|
+
* })
|
|
401
|
+
*/
|
|
402
|
+
extendCreditLease(lease_id: string, request: Schematic.ExtendCreditLeaseRequestBody, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ExtendCreditLeaseResponse>;
|
|
403
|
+
private __extendCreditLease;
|
|
404
|
+
/**
|
|
405
|
+
* @param {string} lease_id - lease_id
|
|
406
|
+
* @param {Schematic.ReleaseCreditLeaseRequestBody} request
|
|
407
|
+
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
408
|
+
*
|
|
409
|
+
* @throws {@link Schematic.BadRequestError}
|
|
410
|
+
* @throws {@link Schematic.UnauthorizedError}
|
|
411
|
+
* @throws {@link Schematic.ForbiddenError}
|
|
412
|
+
* @throws {@link Schematic.NotFoundError}
|
|
413
|
+
* @throws {@link Schematic.InternalServerError}
|
|
414
|
+
*
|
|
415
|
+
* @example
|
|
416
|
+
* await client.credits.releaseCreditLease("lease_id", {
|
|
417
|
+
* "key": "value"
|
|
418
|
+
* })
|
|
419
|
+
*/
|
|
420
|
+
releaseCreditLease(lease_id: string, request: Schematic.ReleaseCreditLeaseRequestBody, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ReleaseCreditLeaseResponse>;
|
|
421
|
+
private __releaseCreditLease;
|
|
344
422
|
/**
|
|
345
423
|
* @param {Schematic.GetEnrichedCreditLedgerRequest} request
|
|
346
424
|
* @param {CreditsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
@@ -402,8 +480,11 @@ export declare class CreditsClient {
|
|
|
402
480
|
* @example
|
|
403
481
|
* await client.credits.listBillingPlanCreditGrants({
|
|
404
482
|
* creditId: "credit_id",
|
|
483
|
+
* ids: ["ids"],
|
|
405
484
|
* planId: "plan_id",
|
|
485
|
+
* planIds: ["plan_ids"],
|
|
406
486
|
* planVersionId: "plan_version_id",
|
|
487
|
+
* planVersionIds: ["plan_version_ids"],
|
|
407
488
|
* limit: 1000000,
|
|
408
489
|
* offset: 1000000
|
|
409
490
|
* })
|
|
@@ -495,8 +576,11 @@ export declare class CreditsClient {
|
|
|
495
576
|
* @example
|
|
496
577
|
* await client.credits.countBillingPlanCreditGrants({
|
|
497
578
|
* creditId: "credit_id",
|
|
579
|
+
* ids: ["ids"],
|
|
498
580
|
* planId: "plan_id",
|
|
581
|
+
* planIds: ["plan_ids"],
|
|
499
582
|
* planVersionId: "plan_version_id",
|
|
583
|
+
* planVersionIds: ["plan_version_ids"],
|
|
500
584
|
* limit: 1000000,
|
|
501
585
|
* offset: 1000000
|
|
502
586
|
* })
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* companyId: "company_id",
|
|
5
|
+
* creditTypeId: "credit_type_id",
|
|
6
|
+
* requestedAmount: 1.1
|
|
7
|
+
* }
|
|
8
|
+
*/
|
|
9
|
+
export interface AcquireCreditLeaseRequestBody {
|
|
10
|
+
companyId: string;
|
|
11
|
+
creditTypeId: string;
|
|
12
|
+
expiresAt?: Date;
|
|
13
|
+
requestedAmount: number;
|
|
14
|
+
}
|
|
@@ -2,8 +2,11 @@
|
|
|
2
2
|
* @example
|
|
3
3
|
* {
|
|
4
4
|
* creditId: "credit_id",
|
|
5
|
+
* ids: ["ids"],
|
|
5
6
|
* planId: "plan_id",
|
|
7
|
+
* planIds: ["plan_ids"],
|
|
6
8
|
* planVersionId: "plan_version_id",
|
|
9
|
+
* planVersionIds: ["plan_version_ids"],
|
|
7
10
|
* limit: 1000000,
|
|
8
11
|
* offset: 1000000
|
|
9
12
|
* }
|
|
@@ -14,6 +17,7 @@ export interface CountBillingPlanCreditGrantsRequest {
|
|
|
14
17
|
planId?: string;
|
|
15
18
|
planIds?: string | string[];
|
|
16
19
|
planVersionId?: string;
|
|
20
|
+
planVersionIds?: string | string[];
|
|
17
21
|
/** Page limit (default 100) */
|
|
18
22
|
limit?: number;
|
|
19
23
|
/** Page offset (default 0) */
|