@schematichq/schematic-typescript-node 1.3.2 → 1.4.1
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 +36 -2
- package/dist/Client.d.ts +9 -0
- package/dist/api/resources/accounts/client/Client.d.ts +33 -16
- package/dist/api/resources/accounts/client/requests/CountAuditLogsRequest.d.ts +24 -0
- package/dist/api/resources/accounts/client/requests/CreateApiKeyRequestBody.d.ts +1 -0
- package/dist/api/resources/accounts/client/requests/ListAuditLogsRequest.d.ts +24 -0
- package/dist/api/resources/accounts/client/requests/index.d.ts +2 -2
- package/dist/api/resources/accounts/types/CountAuditLogsParams.d.ts +15 -0
- package/dist/api/resources/accounts/types/CountAuditLogsResponse.d.ts +6 -0
- package/dist/api/resources/accounts/types/GetAuditLogResponse.d.ts +6 -0
- package/dist/api/resources/accounts/types/GetWhoAmIResponse.d.ts +6 -0
- package/dist/api/resources/accounts/types/ListAuditLogsParams.d.ts +15 -0
- package/dist/api/resources/accounts/types/ListAuditLogsResponse.d.ts +6 -0
- package/dist/api/resources/accounts/types/index.d.ts +6 -5
- package/dist/api/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +2 -0
- package/dist/api/resources/companies/client/Client.d.ts +12 -48
- package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +27 -0
- package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +27 -0
- package/dist/api/resources/companies/client/requests/index.d.ts +0 -2
- package/dist/api/resources/companies/types/CountCompaniesParams.d.ts +21 -0
- package/dist/api/resources/companies/types/ListCompaniesParams.d.ts +21 -0
- package/dist/api/resources/companies/types/index.d.ts +0 -4
- package/dist/api/resources/componentspublic/client/Client.d.ts +26 -0
- package/dist/api/resources/componentspublic/client/index.d.ts +1 -0
- package/dist/api/resources/componentspublic/index.d.ts +2 -0
- package/dist/api/resources/componentspublic/types/GetPublicPlansResponse.d.ts +6 -0
- package/dist/api/resources/componentspublic/types/index.d.ts +1 -0
- package/dist/api/resources/credits/client/Client.d.ts +50 -0
- package/dist/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.d.ts +3 -1
- package/dist/api/resources/credits/client/requests/CountCreditEventLedgerRequest.d.ts +26 -0
- package/dist/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.d.ts +3 -1
- package/dist/api/resources/credits/client/requests/ListCreditEventLedgerRequest.d.ts +26 -0
- package/dist/api/resources/credits/client/requests/index.d.ts +2 -0
- package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +1 -0
- package/dist/api/resources/credits/types/CountCreditEventLedgerParams.d.ts +16 -0
- package/dist/api/resources/credits/types/CountCreditEventLedgerResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +1 -0
- package/dist/api/resources/credits/types/ListCreditEventLedgerParams.d.ts +16 -0
- package/dist/api/resources/credits/types/ListCreditEventLedgerResponse.d.ts +6 -0
- package/dist/api/resources/credits/types/index.d.ts +4 -0
- package/dist/api/resources/entitlements/client/Client.d.ts +22 -0
- package/dist/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.d.ts +5 -0
- package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +1 -0
- package/dist/api/resources/entitlements/client/requests/GetFeatureUsageTimeSeriesRequest.d.ts +18 -0
- package/dist/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.d.ts +5 -0
- package/dist/api/resources/entitlements/client/requests/index.d.ts +1 -0
- package/dist/api/resources/entitlements/types/CountPlanEntitlementsParams.d.ts +4 -0
- package/dist/api/resources/entitlements/types/GetFeatureUsageTimeSeriesParams.d.ts +11 -0
- package/dist/api/resources/entitlements/types/GetFeatureUsageTimeSeriesResponse.d.ts +6 -0
- package/dist/api/resources/entitlements/types/ListPlanEntitlementsParams.d.ts +4 -0
- package/dist/api/resources/entitlements/types/index.d.ts +2 -0
- package/dist/api/resources/features/client/Client.d.ts +2 -0
- package/dist/api/resources/features/client/requests/CountFeaturesRequest.d.ts +3 -0
- package/dist/api/resources/features/client/requests/ListFeaturesRequest.d.ts +3 -0
- 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 +8 -0
- package/dist/api/resources/planbundle/client/requests/UpdatePlanBundleRequestBody.d.ts +1 -0
- package/dist/api/resources/plangroups/client/Client.d.ts +4 -0
- package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +6 -0
- package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +6 -0
- package/dist/api/resources/planmigrations/client/Client.d.ts +109 -0
- package/dist/api/resources/planmigrations/client/requests/CountCompanyMigrationsRequest.d.ts +20 -0
- package/dist/api/resources/planmigrations/client/requests/CountMigrationsRequest.d.ts +18 -0
- package/dist/api/resources/planmigrations/client/requests/ListCompanyMigrationsRequest.d.ts +20 -0
- package/dist/api/resources/planmigrations/client/requests/ListMigrationsRequest.d.ts +18 -0
- package/dist/api/resources/planmigrations/client/requests/index.d.ts +4 -0
- package/dist/api/resources/planmigrations/index.d.ts +2 -0
- package/dist/api/resources/planmigrations/types/CountCompanyMigrationsParams.d.ts +13 -0
- package/dist/api/resources/planmigrations/types/CountCompanyMigrationsResponse.d.ts +6 -0
- package/dist/api/resources/planmigrations/types/CountMigrationsParams.d.ts +12 -0
- package/dist/api/resources/planmigrations/types/CountMigrationsResponse.d.ts +6 -0
- package/dist/api/resources/planmigrations/types/GetMigrationResponse.d.ts +6 -0
- package/dist/api/resources/planmigrations/types/ListCompanyMigrationsParams.d.ts +13 -0
- package/dist/api/resources/planmigrations/types/ListCompanyMigrationsResponse.d.ts +6 -0
- package/dist/api/resources/planmigrations/types/ListMigrationsParams.d.ts +12 -0
- package/dist/api/resources/planmigrations/types/ListMigrationsResponse.d.ts +6 -0
- package/dist/api/resources/planmigrations/types/index.d.ts +9 -0
- package/dist/api/resources/plans/client/Client.d.ts +41 -3
- package/dist/api/resources/plans/client/requests/GetPlanRequest.d.ts +10 -0
- package/dist/api/resources/plans/client/requests/ListPlanIssuesRequest.d.ts +3 -1
- package/dist/api/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +12 -0
- package/dist/api/resources/plans/client/requests/index.d.ts +2 -0
- package/dist/api/resources/plans/types/CountPlansParams.d.ts +1 -0
- package/dist/api/resources/plans/types/DeletePlanVersionResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/GetPlanParams.d.ts +7 -0
- package/dist/api/resources/plans/types/GetPlanResponse.d.ts +1 -1
- package/dist/api/resources/plans/types/ListPlanIssuesParams.d.ts +1 -0
- package/dist/api/resources/plans/types/ListPlansParams.d.ts +1 -0
- package/dist/api/resources/plans/types/PublishPlanVersionResponse.d.ts +6 -0
- package/dist/api/resources/plans/types/index.d.ts +3 -0
- package/dist/api/resources/scheduledcheckout/client/Client.d.ts +83 -0
- package/dist/api/resources/scheduledcheckout/client/requests/CreateScheduledCheckoutRequest.d.ts +15 -0
- package/dist/api/resources/scheduledcheckout/client/requests/ListScheduledCheckoutsRequest.d.ts +18 -0
- package/dist/api/resources/scheduledcheckout/client/requests/UpdateScheduledCheckoutRequest.d.ts +9 -0
- package/dist/api/resources/scheduledcheckout/client/requests/index.d.ts +3 -0
- package/dist/api/resources/scheduledcheckout/index.d.ts +2 -0
- package/dist/api/resources/scheduledcheckout/types/CreateScheduledCheckoutResponse.d.ts +6 -0
- package/dist/api/resources/scheduledcheckout/types/GetScheduledCheckoutResponse.d.ts +6 -0
- package/dist/api/resources/scheduledcheckout/types/ListScheduledCheckoutsParams.d.ts +12 -0
- package/dist/api/resources/scheduledcheckout/types/ListScheduledCheckoutsResponse.d.ts +6 -0
- package/dist/api/resources/scheduledcheckout/types/UpdateScheduledCheckoutResponse.d.ts +6 -0
- package/dist/api/resources/scheduledcheckout/types/index.d.ts +5 -0
- package/dist/api/types/ActorType.d.ts +8 -0
- package/dist/api/types/ApiKeyCreateResponseData.d.ts +1 -0
- package/dist/api/types/ApiKeyResponseData.d.ts +1 -0
- package/dist/api/types/AuditLogListResponseData.d.ts +18 -0
- package/dist/api/types/AuditLogResponseData.d.ts +21 -0
- package/dist/api/types/BillingCreditResponseData.d.ts +1 -0
- package/dist/api/types/BillingCreditView.d.ts +22 -0
- package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +9 -2
- package/dist/api/types/CheckFlagResponseData.d.ts +8 -5
- package/dist/api/types/CompanyDetailResponseData.d.ts +2 -0
- package/dist/api/types/CompanyPlanDetailResponseData.d.ts +2 -0
- package/dist/api/types/ComponentDisplaySettings.d.ts +2 -0
- package/dist/api/types/ComponentHydrateResponseData.d.ts +1 -0
- package/dist/api/types/ComponentPreviewResponseData.d.ts +1 -0
- package/dist/api/types/ComponentSettingsResponseData.d.ts +2 -0
- package/dist/api/types/ConditionConditionType.d.ts +1 -1
- package/dist/api/types/ConditionGroupResponseData.d.ts +10 -0
- package/dist/api/types/ConditionGroupView.d.ts +12 -0
- package/dist/api/types/ConditionResponseData.d.ts +28 -0
- package/dist/api/types/ConditionView.d.ts +35 -0
- package/dist/api/types/CreateBillingPlanCreditGrantRequestBody.d.ts +1 -0
- package/dist/api/types/CreateEntitlementInBundleRequestBody.d.ts +2 -0
- package/dist/api/types/CreateEventRequestBody.d.ts +1 -0
- package/dist/api/types/CreditEventLedgerResponseData.d.ts +34 -0
- package/dist/api/types/CreditEventType.d.ts +7 -0
- package/dist/api/types/CreditsAutoTopupCompanySummary.d.ts +4 -0
- package/dist/api/types/CreditsAutoTopupCreditSummary.d.ts +4 -0
- package/dist/api/types/CreditsAutoTopupHardFailure.d.ts +7 -0
- package/dist/api/types/CreditsAutoTopupRetryFailure.d.ts +8 -0
- package/dist/api/types/FeatureCompanyResponseData.d.ts +3 -0
- package/dist/api/types/FeatureCompanyUserResponseData.d.ts +1 -0
- package/dist/api/types/FeatureEntitlement.d.ts +31 -0
- package/dist/api/types/FeatureEntitlementMetricPeriod.d.ts +8 -0
- package/dist/api/types/FeatureEntitlementMonthReset.d.ts +6 -0
- package/dist/api/types/FeatureUsageLegacyResponseData.d.ts +9 -0
- package/dist/api/types/FeatureUsageResponseData.d.ts +3 -0
- package/dist/api/types/FeatureUsageTimeSeriesResponseData.d.ts +8 -0
- package/dist/api/types/FeatureView.d.ts +21 -0
- package/dist/api/types/FlagView.d.ts +17 -0
- package/dist/api/types/InvoiceRequestBody.d.ts +2 -0
- package/dist/api/types/InvoiceResponseData.d.ts +1 -0
- package/dist/api/types/InvoiceStatus.d.ts +8 -0
- package/dist/api/types/LimitTimeSeriesPointResponseData.d.ts +9 -0
- package/dist/api/types/PlanChangeAction.d.ts +1 -0
- package/dist/api/types/PlanChangeResponseData.d.ts +4 -2
- package/dist/api/types/PlanCreditGrantView.d.ts +10 -3
- package/dist/api/types/PlanDetailResponseData.d.ts +2 -0
- package/dist/api/types/PlanGroupDetailResponseData.d.ts +2 -0
- package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +2 -0
- package/dist/api/types/PlanGroupResponseData.d.ts +2 -0
- package/dist/api/types/PlanVersionCompanyMigrationResponseData.d.ts +14 -0
- package/dist/api/types/PlanVersionCompanyMigrationStatus.d.ts +8 -0
- package/dist/api/types/PlanVersionMigrationResponseData.d.ts +18 -0
- package/dist/api/types/PlanVersionMigrationStatus.d.ts +7 -0
- package/dist/api/types/PlanVersionMigrationStrategy.d.ts +5 -0
- package/dist/api/types/PlanViewPublicResponseData.d.ts +32 -0
- package/dist/api/types/PreviewSubscriptionChangeResponseData.d.ts +2 -0
- package/dist/api/types/PublicPlansResponseData.d.ts +12 -0
- package/dist/api/types/RuleView.d.ts +16 -0
- package/dist/api/types/RulesEngineSchemaVersion.d.ts +1 -1
- package/dist/api/types/RulesengineCheckFlagResult.d.ts +1 -0
- package/dist/api/types/RulesengineCompany.d.ts +2 -1
- package/dist/api/types/RulesengineConditionConditionType.d.ts +1 -1
- package/dist/api/types/RulesengineEntitlementValueType.d.ts +9 -0
- package/dist/api/types/RulesengineFeatureEntitlement.d.ts +31 -0
- package/dist/api/types/RulesengineFeatureEntitlementMetricPeriod.d.ts +8 -0
- package/dist/api/types/RulesengineFeatureEntitlementMonthReset.d.ts +6 -0
- package/dist/api/types/ScheduledCheckoutResponseData.d.ts +17 -0
- package/dist/api/types/ScheduledCheckoutStatus.d.ts +8 -0
- package/dist/api/types/ScheduledDowngradeConfigBehavior.d.ts +5 -0
- package/dist/api/types/ScheduledDowngradeResponseData.d.ts +13 -0
- package/dist/api/types/TimeSeriesGranularity.d.ts +7 -0
- package/dist/api/types/UpsertCompanyRequestBody.d.ts +1 -0
- package/dist/api/types/UsageTimeSeriesPointResponseData.d.ts +6 -0
- package/dist/api/types/WebFeatureUsageWebhookOutput.d.ts +10 -0
- package/dist/api/types/WebhookRequestType.d.ts +1 -0
- package/dist/api/types/WhoAmIResponseData.d.ts +12 -0
- package/dist/api/types/index.d.ts +43 -6
- package/dist/cache/index.d.ts +3 -0
- package/dist/cache/local.d.ts +21 -0
- package/dist/cache/redis.d.ts +38 -0
- package/dist/cache/types.d.ts +19 -0
- package/dist/datastream/datastream-client.d.ts +239 -0
- package/dist/datastream/emitter.d.ts +24 -0
- package/dist/datastream/index.d.ts +2 -0
- package/dist/datastream/types.d.ts +48 -0
- package/dist/datastream/websocket-client.d.ts +127 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.js +3 -3
- package/dist/rules-engine.d.ts +54 -0
- package/dist/serialization/resources/accounts/client/requests/CreateApiKeyRequestBody.d.ts +1 -0
- package/dist/serialization/resources/accounts/types/CountAuditLogsParams.d.ts +16 -0
- package/dist/serialization/resources/accounts/types/CountAuditLogsResponse.d.ts +12 -0
- package/dist/serialization/resources/accounts/types/GetAuditLogResponse.d.ts +11 -0
- package/dist/serialization/resources/accounts/types/GetWhoAmIResponse.d.ts +11 -0
- package/dist/serialization/resources/accounts/types/ListAuditLogsParams.d.ts +16 -0
- package/dist/serialization/resources/accounts/types/ListAuditLogsResponse.d.ts +12 -0
- package/dist/serialization/resources/accounts/types/index.d.ts +6 -5
- package/dist/serialization/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +2 -0
- package/dist/serialization/resources/companies/types/CountCompaniesParams.d.ts +13 -0
- package/dist/serialization/resources/companies/types/ListCompaniesParams.d.ts +13 -0
- package/dist/serialization/resources/companies/types/index.d.ts +0 -4
- package/dist/serialization/resources/componentspublic/index.d.ts +1 -0
- package/dist/serialization/resources/componentspublic/types/GetPublicPlansResponse.d.ts +11 -0
- package/dist/serialization/resources/componentspublic/types/index.d.ts +1 -0
- package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsParams.d.ts +1 -0
- package/dist/serialization/resources/credits/types/CountCreditEventLedgerParams.d.ts +17 -0
- package/dist/serialization/resources/credits/types/CountCreditEventLedgerResponse.d.ts +12 -0
- package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsParams.d.ts +1 -0
- package/dist/serialization/resources/credits/types/ListCreditEventLedgerParams.d.ts +17 -0
- package/dist/serialization/resources/credits/types/ListCreditEventLedgerResponse.d.ts +12 -0
- package/dist/serialization/resources/credits/types/index.d.ts +4 -0
- package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +1 -0
- package/dist/serialization/resources/entitlements/types/CountPlanEntitlementsParams.d.ts +2 -0
- package/dist/serialization/resources/entitlements/types/GetFeatureUsageTimeSeriesParams.d.ts +14 -0
- package/dist/serialization/resources/entitlements/types/GetFeatureUsageTimeSeriesResponse.d.ts +12 -0
- package/dist/serialization/resources/entitlements/types/ListPlanEntitlementsParams.d.ts +2 -0
- package/dist/serialization/resources/entitlements/types/index.d.ts +2 -0
- package/dist/serialization/resources/features/types/CountFeaturesParams.d.ts +1 -0
- package/dist/serialization/resources/features/types/ListFeaturesParams.d.ts +1 -0
- package/dist/serialization/resources/index.d.ts +7 -0
- package/dist/serialization/resources/planbundle/client/requests/UpdatePlanBundleRequestBody.d.ts +1 -0
- package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +5 -0
- package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +5 -0
- package/dist/serialization/resources/planmigrations/index.d.ts +1 -0
- package/dist/serialization/resources/planmigrations/types/CountCompanyMigrationsParams.d.ts +14 -0
- package/dist/serialization/resources/planmigrations/types/CountCompanyMigrationsResponse.d.ts +12 -0
- package/dist/serialization/resources/planmigrations/types/CountMigrationsParams.d.ts +13 -0
- package/dist/serialization/resources/planmigrations/types/CountMigrationsResponse.d.ts +12 -0
- package/dist/serialization/resources/planmigrations/types/GetMigrationResponse.d.ts +11 -0
- package/dist/serialization/resources/planmigrations/types/ListCompanyMigrationsParams.d.ts +14 -0
- package/dist/serialization/resources/planmigrations/types/ListCompanyMigrationsResponse.d.ts +12 -0
- package/dist/serialization/resources/planmigrations/types/ListMigrationsParams.d.ts +13 -0
- package/dist/serialization/resources/planmigrations/types/ListMigrationsResponse.d.ts +12 -0
- package/dist/serialization/resources/planmigrations/types/index.d.ts +9 -0
- package/dist/serialization/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +11 -0
- package/dist/serialization/resources/plans/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/plans/types/DeletePlanVersionResponse.d.ts +11 -0
- package/dist/serialization/resources/plans/types/GetPlanParams.d.ts +9 -0
- package/dist/serialization/resources/plans/types/GetPlanResponse.d.ts +2 -1
- package/dist/serialization/resources/plans/types/ListPlanIssuesParams.d.ts +1 -0
- package/dist/serialization/resources/plans/types/PublishPlanVersionResponse.d.ts +11 -0
- package/dist/serialization/resources/plans/types/index.d.ts +3 -0
- package/dist/serialization/resources/scheduledcheckout/client/index.d.ts +1 -0
- package/dist/serialization/resources/scheduledcheckout/client/requests/CreateScheduledCheckoutRequest.d.ts +12 -0
- package/dist/serialization/resources/scheduledcheckout/client/requests/UpdateScheduledCheckoutRequest.d.ts +11 -0
- package/dist/serialization/resources/scheduledcheckout/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/scheduledcheckout/index.d.ts +2 -0
- package/dist/serialization/resources/scheduledcheckout/types/CreateScheduledCheckoutResponse.d.ts +11 -0
- package/dist/serialization/resources/scheduledcheckout/types/GetScheduledCheckoutResponse.d.ts +11 -0
- package/dist/serialization/resources/scheduledcheckout/types/ListScheduledCheckoutsParams.d.ts +13 -0
- package/dist/serialization/resources/scheduledcheckout/types/ListScheduledCheckoutsResponse.d.ts +12 -0
- package/dist/serialization/resources/scheduledcheckout/types/UpdateScheduledCheckoutResponse.d.ts +11 -0
- package/dist/serialization/resources/scheduledcheckout/types/index.d.ts +5 -0
- package/dist/serialization/types/ActorType.d.ts +7 -0
- package/dist/serialization/types/ApiKeyCreateResponseData.d.ts +1 -0
- package/dist/serialization/types/ApiKeyResponseData.d.ts +1 -0
- package/dist/serialization/types/AuditLogListResponseData.d.ts +24 -0
- package/dist/serialization/types/AuditLogResponseData.d.ts +27 -0
- package/dist/serialization/types/BillingCreditResponseData.d.ts +1 -0
- package/dist/serialization/types/BillingCreditView.d.ts +32 -0
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +7 -2
- package/dist/serialization/types/CheckFlagResponseData.d.ts +2 -0
- package/dist/serialization/types/CompanyDetailResponseData.d.ts +4 -0
- package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/ComponentDisplaySettings.d.ts +2 -0
- package/dist/serialization/types/ComponentHydrateResponseData.d.ts +2 -0
- package/dist/serialization/types/ComponentPreviewResponseData.d.ts +2 -0
- package/dist/serialization/types/ComponentSettingsResponseData.d.ts +2 -0
- package/dist/serialization/types/ConditionConditionType.d.ts +1 -1
- package/dist/serialization/types/ConditionGroupResponseData.d.ts +16 -0
- package/dist/serialization/types/ConditionGroupView.d.ts +18 -0
- package/dist/serialization/types/ConditionResponseData.d.ts +34 -0
- package/dist/serialization/types/ConditionView.d.ts +43 -0
- package/dist/serialization/types/CreateBillingPlanCreditGrantRequestBody.d.ts +1 -0
- package/dist/serialization/types/CreateEntitlementInBundleRequestBody.d.ts +2 -0
- package/dist/serialization/types/CreditEventLedgerResponseData.d.ts +47 -0
- package/dist/serialization/types/CreditEventType.d.ts +7 -0
- package/dist/serialization/types/CreditsAutoTopupCompanySummary.d.ts +10 -0
- package/dist/serialization/types/CreditsAutoTopupCreditSummary.d.ts +10 -0
- package/dist/serialization/types/CreditsAutoTopupHardFailure.d.ts +14 -0
- package/dist/serialization/types/CreditsAutoTopupRetryFailure.d.ts +15 -0
- package/dist/serialization/types/FeatureEntitlement.d.ts +25 -0
- package/dist/serialization/types/FeatureEntitlementMetricPeriod.d.ts +7 -0
- package/dist/serialization/types/FeatureEntitlementMonthReset.d.ts +7 -0
- package/dist/serialization/types/FeatureUsageLegacyResponseData.d.ts +16 -0
- package/dist/serialization/types/FeatureUsageTimeSeriesResponseData.d.ts +16 -0
- package/dist/serialization/types/FeatureView.d.ts +32 -0
- package/dist/serialization/types/FlagView.d.ts +25 -0
- package/dist/serialization/types/InvoiceRequestBody.d.ts +2 -0
- package/dist/serialization/types/InvoiceResponseData.d.ts +2 -0
- package/dist/serialization/types/InvoiceStatus.d.ts +7 -0
- package/dist/serialization/types/LimitTimeSeriesPointResponseData.d.ts +16 -0
- package/dist/serialization/types/PlanChangeAction.d.ts +1 -1
- package/dist/serialization/types/PlanChangeResponseData.d.ts +4 -4
- package/dist/serialization/types/PlanCreditGrantView.d.ts +7 -3
- package/dist/serialization/types/PlanDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/PlanGroupDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +2 -0
- package/dist/serialization/types/PlanGroupResponseData.d.ts +2 -0
- package/dist/serialization/types/PlanVersionCompanyMigrationResponseData.d.ts +20 -0
- package/dist/serialization/types/PlanVersionCompanyMigrationStatus.d.ts +7 -0
- package/dist/serialization/types/PlanVersionMigrationResponseData.d.ts +25 -0
- package/dist/serialization/types/PlanVersionMigrationStatus.d.ts +7 -0
- package/dist/serialization/types/PlanVersionMigrationStrategy.d.ts +7 -0
- package/dist/serialization/types/PlanViewPublicResponseData.d.ts +47 -0
- package/dist/serialization/types/PreviewSubscriptionChangeResponseData.d.ts +2 -0
- package/dist/serialization/types/PublicPlansResponseData.d.ts +21 -0
- package/dist/serialization/types/RuleView.d.ts +23 -0
- package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +1 -1
- package/dist/serialization/types/RulesengineCheckFlagResult.d.ts +2 -0
- package/dist/serialization/types/RulesengineCompany.d.ts +3 -1
- package/dist/serialization/types/RulesengineConditionConditionType.d.ts +1 -1
- package/dist/serialization/types/RulesengineEntitlementValueType.d.ts +7 -0
- package/dist/serialization/types/RulesengineFeatureEntitlement.d.ts +25 -0
- package/dist/serialization/types/RulesengineFeatureEntitlementMetricPeriod.d.ts +7 -0
- package/dist/serialization/types/RulesengineFeatureEntitlementMonthReset.d.ts +7 -0
- package/dist/serialization/types/ScheduledCheckoutResponseData.d.ts +23 -0
- package/dist/serialization/types/ScheduledCheckoutStatus.d.ts +7 -0
- package/dist/serialization/types/ScheduledDowngradeConfigBehavior.d.ts +7 -0
- package/dist/serialization/types/ScheduledDowngradeResponseData.d.ts +19 -0
- package/dist/serialization/types/TimeSeriesGranularity.d.ts +7 -0
- package/dist/serialization/types/UpsertCompanyRequestBody.d.ts +1 -0
- package/dist/serialization/types/UsageTimeSeriesPointResponseData.d.ts +12 -0
- package/dist/serialization/types/WebFeatureUsageWebhookOutput.d.ts +18 -0
- package/dist/serialization/types/WebhookRequestType.d.ts +1 -1
- package/dist/serialization/types/WhoAmIResponseData.d.ts +18 -0
- package/dist/serialization/types/index.d.ts +43 -6
- package/dist/wrapper.d.ts +48 -4
- package/package.json +69 -66
- package/dist/Client.js +0 -87
- package/dist/api/errors/BadRequestError.js +0 -52
- package/dist/api/errors/ForbiddenError.js +0 -52
- package/dist/api/errors/InternalServerError.js +0 -52
- package/dist/api/errors/NotFoundError.js +0 -52
- package/dist/api/errors/UnauthorizedError.js +0 -52
- package/dist/api/errors/index.js +0 -21
- package/dist/api/index.js +0 -19
- package/dist/api/resources/accesstokens/client/Client.js +0 -184
- package/dist/api/resources/accesstokens/client/index.js +0 -17
- package/dist/api/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.js +0 -5
- package/dist/api/resources/accesstokens/client/requests/index.js +0 -2
- package/dist/api/resources/accesstokens/index.js +0 -18
- package/dist/api/resources/accesstokens/types/IssueTemporaryAccessTokenResponse.js +0 -5
- package/dist/api/resources/accesstokens/types/index.js +0 -17
- package/dist/api/resources/accounts/client/Client.js +0 -1755
- package/dist/api/resources/accounts/client/index.js +0 -17
- package/dist/api/resources/accounts/client/requests/CountApiKeysRequest.js +0 -5
- package/dist/api/resources/accounts/client/requests/CountApiRequestsRequest.d.ts +0 -19
- package/dist/api/resources/accounts/client/requests/CountApiRequestsRequest.js +0 -5
- package/dist/api/resources/accounts/client/requests/CreateApiKeyRequestBody.js +0 -5
- package/dist/api/resources/accounts/client/requests/CreateEnvironmentRequestBody.js +0 -5
- package/dist/api/resources/accounts/client/requests/ListApiKeysRequest.js +0 -5
- package/dist/api/resources/accounts/client/requests/ListApiRequestsRequest.d.ts +0 -19
- package/dist/api/resources/accounts/client/requests/ListApiRequestsRequest.js +0 -5
- package/dist/api/resources/accounts/client/requests/ListEnvironmentsRequest.js +0 -5
- package/dist/api/resources/accounts/client/requests/UpdateApiKeyRequestBody.js +0 -5
- package/dist/api/resources/accounts/client/requests/UpdateEnvironmentRequestBody.js +0 -5
- package/dist/api/resources/accounts/client/requests/index.js +0 -2
- package/dist/api/resources/accounts/index.js +0 -18
- package/dist/api/resources/accounts/types/CountApiKeysParams.js +0 -5
- package/dist/api/resources/accounts/types/CountApiKeysResponse.js +0 -5
- package/dist/api/resources/accounts/types/CountApiRequestsParams.d.ts +0 -12
- package/dist/api/resources/accounts/types/CountApiRequestsParams.js +0 -5
- package/dist/api/resources/accounts/types/CountApiRequestsResponse.d.ts +0 -6
- package/dist/api/resources/accounts/types/CountApiRequestsResponse.js +0 -5
- package/dist/api/resources/accounts/types/CreateApiKeyResponse.js +0 -5
- package/dist/api/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.d.ts +0 -9
- package/dist/api/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.js +0 -11
- package/dist/api/resources/accounts/types/CreateEnvironmentResponse.js +0 -5
- package/dist/api/resources/accounts/types/DeleteApiKeyResponse.js +0 -5
- package/dist/api/resources/accounts/types/DeleteEnvironmentResponse.js +0 -5
- package/dist/api/resources/accounts/types/GetApiKeyResponse.js +0 -5
- package/dist/api/resources/accounts/types/GetApiRequestResponse.d.ts +0 -6
- package/dist/api/resources/accounts/types/GetApiRequestResponse.js +0 -5
- package/dist/api/resources/accounts/types/GetEnvironmentResponse.js +0 -5
- package/dist/api/resources/accounts/types/ListApiKeysParams.js +0 -5
- package/dist/api/resources/accounts/types/ListApiKeysResponse.js +0 -5
- package/dist/api/resources/accounts/types/ListApiRequestsParams.d.ts +0 -12
- package/dist/api/resources/accounts/types/ListApiRequestsParams.js +0 -5
- package/dist/api/resources/accounts/types/ListApiRequestsResponse.d.ts +0 -6
- package/dist/api/resources/accounts/types/ListApiRequestsResponse.js +0 -5
- package/dist/api/resources/accounts/types/ListEnvironmentsParams.js +0 -5
- package/dist/api/resources/accounts/types/ListEnvironmentsResponse.js +0 -5
- package/dist/api/resources/accounts/types/QuickstartResponse.js +0 -5
- package/dist/api/resources/accounts/types/UpdateApiKeyResponse.js +0 -5
- package/dist/api/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.d.ts +0 -9
- package/dist/api/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.js +0 -11
- package/dist/api/resources/accounts/types/UpdateEnvironmentResponse.js +0 -5
- package/dist/api/resources/accounts/types/index.js +0 -38
- package/dist/api/resources/billing/client/Client.js +0 -2585
- package/dist/api/resources/billing/client/index.js +0 -17
- package/dist/api/resources/billing/client/requests/CountBillingProductsRequest.js +0 -5
- package/dist/api/resources/billing/client/requests/CountCustomersRequest.js +0 -5
- package/dist/api/resources/billing/client/requests/CreateBillingCustomerRequestBody.js +0 -5
- package/dist/api/resources/billing/client/requests/CreateBillingPriceRequestBody.js +0 -5
- package/dist/api/resources/billing/client/requests/CreateBillingProductRequestBody.js +0 -5
- package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.d.ts +0 -49
- package/dist/api/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.js +0 -5
- package/dist/api/resources/billing/client/requests/CreateCouponRequestBody.js +0 -5
- package/dist/api/resources/billing/client/requests/CreateInvoiceRequestBody.js +0 -5
- package/dist/api/resources/billing/client/requests/CreateMeterRequestBody.js +0 -5
- package/dist/api/resources/billing/client/requests/CreatePaymentMethodRequestBody.js +0 -5
- package/dist/api/resources/billing/client/requests/ListBillingProductsRequest.js +0 -5
- package/dist/api/resources/billing/client/requests/ListCouponsRequest.js +0 -5
- package/dist/api/resources/billing/client/requests/ListCustomersWithSubscriptionsRequest.js +0 -5
- package/dist/api/resources/billing/client/requests/ListInvoicesRequest.js +0 -5
- package/dist/api/resources/billing/client/requests/ListMetersRequest.js +0 -5
- package/dist/api/resources/billing/client/requests/ListPaymentMethodsRequest.js +0 -5
- package/dist/api/resources/billing/client/requests/ListProductPricesRequest.d.ts +0 -42
- package/dist/api/resources/billing/client/requests/ListProductPricesRequest.js +0 -5
- package/dist/api/resources/billing/client/requests/SearchBillingPricesRequest.d.ts +0 -24
- package/dist/api/resources/billing/client/requests/SearchBillingPricesRequest.js +0 -5
- package/dist/api/resources/billing/client/requests/index.js +0 -2
- package/dist/api/resources/billing/index.js +0 -18
- package/dist/api/resources/billing/types/CountBillingProductsParams.js +0 -5
- package/dist/api/resources/billing/types/CountBillingProductsRequestPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/CountBillingProductsRequestPriceUsageType.js +0 -10
- package/dist/api/resources/billing/types/CountBillingProductsResponse.js +0 -5
- package/dist/api/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.js +0 -10
- package/dist/api/resources/billing/types/CountCustomersParams.js +0 -5
- package/dist/api/resources/billing/types/CountCustomersResponse.js +0 -5
- package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.d.ts +0 -8
- package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.js +0 -10
- package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.d.ts +0 -8
- package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.js +0 -10
- package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/CreateBillingPriceRequestBodyUsageType.js +0 -10
- package/dist/api/resources/billing/types/CreateBillingSubscriptionsRequestBodyTrialEndSetting.d.ts +0 -8
- package/dist/api/resources/billing/types/CreateBillingSubscriptionsRequestBodyTrialEndSetting.js +0 -10
- package/dist/api/resources/billing/types/DeleteBillingProductResponse.js +0 -5
- package/dist/api/resources/billing/types/DeleteProductPriceResponse.js +0 -5
- package/dist/api/resources/billing/types/ListBillingProductsParams.js +0 -5
- package/dist/api/resources/billing/types/ListBillingProductsRequestPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/ListBillingProductsRequestPriceUsageType.js +0 -10
- package/dist/api/resources/billing/types/ListBillingProductsResponse.js +0 -5
- package/dist/api/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.js +0 -10
- package/dist/api/resources/billing/types/ListCouponsParams.js +0 -5
- package/dist/api/resources/billing/types/ListCouponsResponse.js +0 -5
- package/dist/api/resources/billing/types/ListCustomersWithSubscriptionsParams.js +0 -5
- package/dist/api/resources/billing/types/ListCustomersWithSubscriptionsResponse.js +0 -5
- package/dist/api/resources/billing/types/ListInvoicesParams.js +0 -5
- package/dist/api/resources/billing/types/ListInvoicesResponse.js +0 -5
- package/dist/api/resources/billing/types/ListMetersParams.js +0 -5
- package/dist/api/resources/billing/types/ListMetersResponse.js +0 -5
- package/dist/api/resources/billing/types/ListPaymentMethodsParams.js +0 -5
- package/dist/api/resources/billing/types/ListPaymentMethodsResponse.js +0 -5
- package/dist/api/resources/billing/types/ListProductPricesParams.d.ts +0 -27
- package/dist/api/resources/billing/types/ListProductPricesParams.js +0 -5
- package/dist/api/resources/billing/types/ListProductPricesRequestPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/ListProductPricesRequestPriceUsageType.js +0 -10
- package/dist/api/resources/billing/types/ListProductPricesResponse.d.ts +0 -10
- package/dist/api/resources/billing/types/ListProductPricesResponse.js +0 -5
- package/dist/api/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.js +0 -10
- package/dist/api/resources/billing/types/SearchBillingPricesParams.d.ts +0 -19
- package/dist/api/resources/billing/types/SearchBillingPricesParams.js +0 -5
- package/dist/api/resources/billing/types/SearchBillingPricesRequestTiersMode.d.ts +0 -8
- package/dist/api/resources/billing/types/SearchBillingPricesRequestTiersMode.js +0 -10
- package/dist/api/resources/billing/types/SearchBillingPricesRequestUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/SearchBillingPricesRequestUsageType.js +0 -10
- package/dist/api/resources/billing/types/SearchBillingPricesResponse.d.ts +0 -10
- package/dist/api/resources/billing/types/SearchBillingPricesResponse.js +0 -5
- package/dist/api/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.d.ts +0 -8
- package/dist/api/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.js +0 -10
- package/dist/api/resources/billing/types/SearchBillingPricesResponseParamsUsageType.d.ts +0 -8
- package/dist/api/resources/billing/types/SearchBillingPricesResponseParamsUsageType.js +0 -10
- package/dist/api/resources/billing/types/UpsertBillingCouponResponse.js +0 -5
- package/dist/api/resources/billing/types/UpsertBillingCustomerResponse.js +0 -5
- package/dist/api/resources/billing/types/UpsertBillingMeterResponse.js +0 -5
- package/dist/api/resources/billing/types/UpsertBillingPriceResponse.js +0 -5
- package/dist/api/resources/billing/types/UpsertBillingProductResponse.js +0 -5
- package/dist/api/resources/billing/types/UpsertBillingSubscriptionResponse.js +0 -5
- package/dist/api/resources/billing/types/UpsertInvoiceResponse.js +0 -5
- package/dist/api/resources/billing/types/UpsertPaymentMethodResponse.js +0 -5
- package/dist/api/resources/billing/types/index.js +0 -60
- package/dist/api/resources/checkout/client/Client.js +0 -546
- package/dist/api/resources/checkout/client/index.js +0 -17
- package/dist/api/resources/checkout/client/requests/CheckoutDataRequestBody.js +0 -5
- package/dist/api/resources/checkout/client/requests/UpdateTrialEndRequestBody.js +0 -5
- package/dist/api/resources/checkout/client/requests/index.js +0 -2
- package/dist/api/resources/checkout/index.js +0 -18
- package/dist/api/resources/checkout/types/CheckoutInternalResponse.js +0 -5
- package/dist/api/resources/checkout/types/GetCheckoutDataResponse.js +0 -5
- package/dist/api/resources/checkout/types/PreviewCheckoutInternalResponse.js +0 -5
- package/dist/api/resources/checkout/types/UpdateCustomerSubscriptionTrialEndResponse.js +0 -5
- package/dist/api/resources/checkout/types/index.js +0 -20
- package/dist/api/resources/companies/client/Client.js +0 -4102
- package/dist/api/resources/companies/client/index.js +0 -17
- package/dist/api/resources/companies/client/requests/CountCompaniesForAdvancedFilterRequest.d.ts +0 -46
- package/dist/api/resources/companies/client/requests/CountCompaniesForAdvancedFilterRequest.js +0 -5
- package/dist/api/resources/companies/client/requests/CountCompaniesRequest.js +0 -5
- package/dist/api/resources/companies/client/requests/CountEntityKeyDefinitionsRequest.js +0 -5
- package/dist/api/resources/companies/client/requests/CountEntityTraitDefinitionsRequest.js +0 -5
- package/dist/api/resources/companies/client/requests/CountUsersRequest.js +0 -5
- package/dist/api/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.js +0 -5
- package/dist/api/resources/companies/client/requests/GetActiveCompanySubscriptionRequest.js +0 -5
- package/dist/api/resources/companies/client/requests/GetActiveDealsRequest.d.ts +0 -22
- package/dist/api/resources/companies/client/requests/GetActiveDealsRequest.js +0 -5
- package/dist/api/resources/companies/client/requests/GetEntityTraitValuesRequest.js +0 -5
- package/dist/api/resources/companies/client/requests/GetOrCreateCompanyMembershipRequestBody.js +0 -5
- package/dist/api/resources/companies/client/requests/ListCompaniesForAdvancedFilterRequest.d.ts +0 -46
- package/dist/api/resources/companies/client/requests/ListCompaniesForAdvancedFilterRequest.js +0 -5
- package/dist/api/resources/companies/client/requests/ListCompaniesRequest.js +0 -5
- package/dist/api/resources/companies/client/requests/ListCompanyMembershipsRequest.js +0 -5
- package/dist/api/resources/companies/client/requests/ListEntityKeyDefinitionsRequest.js +0 -5
- package/dist/api/resources/companies/client/requests/ListEntityTraitDefinitionsRequest.js +0 -5
- package/dist/api/resources/companies/client/requests/ListUsersRequest.js +0 -5
- package/dist/api/resources/companies/client/requests/LookupCompanyRequest.js +0 -5
- package/dist/api/resources/companies/client/requests/LookupUserRequest.js +0 -5
- package/dist/api/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.js +0 -5
- package/dist/api/resources/companies/client/requests/index.js +0 -2
- package/dist/api/resources/companies/index.js +0 -18
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +0 -35
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterParams.js +0 -5
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -11
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.js +0 -10
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterResponse.d.ts +0 -6
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterResponse.js +0 -5
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -11
- package/dist/api/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.js +0 -10
- package/dist/api/resources/companies/types/CountCompaniesParams.js +0 -5
- package/dist/api/resources/companies/types/CountCompaniesResponse.js +0 -5
- package/dist/api/resources/companies/types/CountEntityKeyDefinitionsParams.js +0 -5
- package/dist/api/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.js +0 -10
- package/dist/api/resources/companies/types/CountEntityKeyDefinitionsResponse.js +0 -5
- package/dist/api/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.js +0 -10
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsParams.js +0 -5
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.js +0 -10
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.d.ts +0 -12
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.js +0 -14
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponse.js +0 -5
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.js +0 -10
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -12
- package/dist/api/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.js +0 -14
- package/dist/api/resources/companies/types/CountUsersParams.js +0 -5
- package/dist/api/resources/companies/types/CountUsersResponse.js +0 -5
- package/dist/api/resources/companies/types/CreateCompanyResponse.js +0 -5
- package/dist/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.js +0 -10
- package/dist/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -12
- package/dist/api/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.js +0 -14
- package/dist/api/resources/companies/types/CreateUserResponse.js +0 -5
- package/dist/api/resources/companies/types/DeleteCompanyByKeysResponse.js +0 -5
- package/dist/api/resources/companies/types/DeleteCompanyMembershipResponse.js +0 -5
- package/dist/api/resources/companies/types/DeleteCompanyResponse.js +0 -5
- package/dist/api/resources/companies/types/DeleteUserByKeysResponse.js +0 -5
- package/dist/api/resources/companies/types/DeleteUserResponse.js +0 -5
- package/dist/api/resources/companies/types/GetActiveCompanySubscriptionParams.js +0 -5
- package/dist/api/resources/companies/types/GetActiveCompanySubscriptionResponse.js +0 -5
- package/dist/api/resources/companies/types/GetActiveDealsParams.d.ts +0 -14
- package/dist/api/resources/companies/types/GetActiveDealsParams.js +0 -5
- package/dist/api/resources/companies/types/GetActiveDealsResponse.d.ts +0 -10
- package/dist/api/resources/companies/types/GetActiveDealsResponse.js +0 -5
- package/dist/api/resources/companies/types/GetCompanyResponse.js +0 -5
- package/dist/api/resources/companies/types/GetEntityTraitDefinitionResponse.js +0 -5
- package/dist/api/resources/companies/types/GetEntityTraitValuesParams.js +0 -5
- package/dist/api/resources/companies/types/GetEntityTraitValuesResponse.js +0 -5
- package/dist/api/resources/companies/types/GetOrCreateCompanyMembershipResponse.js +0 -5
- package/dist/api/resources/companies/types/GetOrCreateEntityTraitDefinitionResponse.js +0 -5
- package/dist/api/resources/companies/types/GetUserResponse.js +0 -5
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +0 -35
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterParams.js +0 -5
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -11
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.js +0 -10
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterResponse.d.ts +0 -6
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterResponse.js +0 -5
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -11
- package/dist/api/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.js +0 -10
- package/dist/api/resources/companies/types/ListCompaniesParams.js +0 -5
- package/dist/api/resources/companies/types/ListCompaniesResponse.js +0 -5
- package/dist/api/resources/companies/types/ListCompanyMembershipsParams.js +0 -5
- package/dist/api/resources/companies/types/ListCompanyMembershipsResponse.js +0 -5
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsParams.js +0 -5
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.js +0 -10
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsResponse.js +0 -5
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.js +0 -10
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsParams.js +0 -5
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.js +0 -10
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.d.ts +0 -12
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.js +0 -14
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponse.js +0 -5
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -8
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.js +0 -10
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -12
- package/dist/api/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.js +0 -14
- package/dist/api/resources/companies/types/ListUsersParams.js +0 -5
- package/dist/api/resources/companies/types/ListUsersResponse.js +0 -5
- package/dist/api/resources/companies/types/LookupCompanyParams.js +0 -5
- package/dist/api/resources/companies/types/LookupCompanyResponse.js +0 -5
- package/dist/api/resources/companies/types/LookupUserParams.js +0 -5
- package/dist/api/resources/companies/types/LookupUserResponse.js +0 -5
- package/dist/api/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -12
- package/dist/api/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.js +0 -14
- package/dist/api/resources/companies/types/UpdateEntityTraitDefinitionResponse.js +0 -5
- package/dist/api/resources/companies/types/UpsertCompanyResponse.js +0 -5
- package/dist/api/resources/companies/types/UpsertCompanyTraitResponse.js +0 -5
- package/dist/api/resources/companies/types/UpsertUserResponse.js +0 -5
- package/dist/api/resources/companies/types/UpsertUserTraitResponse.js +0 -5
- package/dist/api/resources/companies/types/index.js +0 -84
- package/dist/api/resources/components/client/Client.js +0 -846
- package/dist/api/resources/components/client/index.js +0 -17
- package/dist/api/resources/components/client/requests/CountComponentsRequest.js +0 -5
- package/dist/api/resources/components/client/requests/CreateComponentRequestBody.js +0 -5
- package/dist/api/resources/components/client/requests/ListComponentsRequest.js +0 -5
- package/dist/api/resources/components/client/requests/PreviewComponentDataRequest.js +0 -5
- package/dist/api/resources/components/client/requests/UpdateComponentRequestBody.js +0 -5
- package/dist/api/resources/components/client/requests/index.js +0 -2
- package/dist/api/resources/components/index.js +0 -18
- package/dist/api/resources/components/types/CountComponentsParams.js +0 -5
- package/dist/api/resources/components/types/CountComponentsResponse.js +0 -5
- package/dist/api/resources/components/types/CreateComponentRequestBodyEntityType.d.ts +0 -8
- package/dist/api/resources/components/types/CreateComponentRequestBodyEntityType.js +0 -10
- package/dist/api/resources/components/types/CreateComponentResponse.js +0 -5
- package/dist/api/resources/components/types/DeleteComponentResponse.js +0 -5
- package/dist/api/resources/components/types/GetComponentResponse.js +0 -5
- package/dist/api/resources/components/types/ListComponentsParams.js +0 -5
- package/dist/api/resources/components/types/ListComponentsResponse.js +0 -5
- package/dist/api/resources/components/types/PreviewComponentDataParams.js +0 -5
- package/dist/api/resources/components/types/PreviewComponentDataResponse.js +0 -5
- package/dist/api/resources/components/types/UpdateComponentRequestBodyEntityType.d.ts +0 -8
- package/dist/api/resources/components/types/UpdateComponentRequestBodyEntityType.js +0 -10
- package/dist/api/resources/components/types/UpdateComponentRequestBodyState.d.ts +0 -8
- package/dist/api/resources/components/types/UpdateComponentRequestBodyState.js +0 -10
- package/dist/api/resources/components/types/UpdateComponentResponse.js +0 -5
- package/dist/api/resources/components/types/index.js +0 -29
- package/dist/api/resources/credits/client/Client.js +0 -2338
- package/dist/api/resources/credits/client/index.js +0 -17
- package/dist/api/resources/credits/client/requests/CountBillingCreditsGrantsRequest.js +0 -5
- package/dist/api/resources/credits/client/requests/CountBillingCreditsRequest.js +0 -5
- package/dist/api/resources/credits/client/requests/CountBillingPlanCreditGrantsRequest.js +0 -5
- package/dist/api/resources/credits/client/requests/CountCreditBundlesRequest.js +0 -5
- package/dist/api/resources/credits/client/requests/CreateBillingCreditRequestBody.js +0 -5
- package/dist/api/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +0 -21
- package/dist/api/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.js +0 -5
- package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.js +0 -5
- package/dist/api/resources/credits/client/requests/ListBillingCreditsRequest.js +0 -5
- package/dist/api/resources/credits/client/requests/ListBillingPlanCreditGrantsRequest.js +0 -5
- package/dist/api/resources/credits/client/requests/ListCompanyGrantsRequest.js +0 -5
- package/dist/api/resources/credits/client/requests/ListCreditBundlesRequest.js +0 -5
- package/dist/api/resources/credits/client/requests/ListGrantsForCreditRequest.js +0 -5
- package/dist/api/resources/credits/client/requests/UpdateBillingCreditRequestBody.js +0 -5
- package/dist/api/resources/credits/client/requests/ZeroOutGrantRequestBody.js +0 -5
- package/dist/api/resources/credits/client/requests/index.js +0 -2
- package/dist/api/resources/credits/index.js +0 -18
- package/dist/api/resources/credits/types/CountBillingCreditsGrantsParams.js +0 -5
- package/dist/api/resources/credits/types/CountBillingCreditsGrantsResponse.js +0 -5
- package/dist/api/resources/credits/types/CountBillingCreditsParams.js +0 -5
- package/dist/api/resources/credits/types/CountBillingCreditsResponse.js +0 -5
- package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsParams.js +0 -5
- package/dist/api/resources/credits/types/CountBillingPlanCreditGrantsResponse.js +0 -5
- package/dist/api/resources/credits/types/CountCreditBundlesParams.js +0 -5
- package/dist/api/resources/credits/types/CountCreditBundlesRequestStatus.d.ts +0 -8
- package/dist/api/resources/credits/types/CountCreditBundlesRequestStatus.js +0 -10
- package/dist/api/resources/credits/types/CountCreditBundlesResponse.js +0 -5
- package/dist/api/resources/credits/types/CountCreditBundlesResponseParamsStatus.d.ts +0 -8
- package/dist/api/resources/credits/types/CountCreditBundlesResponseParamsStatus.js +0 -10
- package/dist/api/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
- package/dist/api/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.js +0 -12
- package/dist/api/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -9
- package/dist/api/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.js +0 -11
- package/dist/api/resources/credits/types/CreateBillingCreditResponse.js +0 -5
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +0 -10
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.js +0 -12
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.d.ts +0 -8
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.js +0 -10
- package/dist/api/resources/credits/types/CreateBillingPlanCreditGrantResponse.js +0 -5
- package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +0 -8
- package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.js +0 -10
- package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyStatus.d.ts +0 -8
- package/dist/api/resources/credits/types/CreateCreditBundleRequestBodyStatus.js +0 -10
- package/dist/api/resources/credits/types/CreateCreditBundleResponse.js +0 -5
- package/dist/api/resources/credits/types/DeleteBillingPlanCreditGrantResponse.js +0 -5
- package/dist/api/resources/credits/types/DeleteCreditBundleResponse.js +0 -5
- package/dist/api/resources/credits/types/GetCreditBundleResponse.js +0 -5
- package/dist/api/resources/credits/types/GetSingleBillingCreditResponse.js +0 -5
- package/dist/api/resources/credits/types/ListBillingCreditsParams.js +0 -5
- package/dist/api/resources/credits/types/ListBillingCreditsResponse.js +0 -5
- package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsParams.js +0 -5
- package/dist/api/resources/credits/types/ListBillingPlanCreditGrantsResponse.js +0 -5
- package/dist/api/resources/credits/types/ListCompanyGrantsParams.js +0 -5
- package/dist/api/resources/credits/types/ListCompanyGrantsRequestDir.d.ts +0 -8
- package/dist/api/resources/credits/types/ListCompanyGrantsRequestDir.js +0 -10
- package/dist/api/resources/credits/types/ListCompanyGrantsRequestOrder.d.ts +0 -10
- package/dist/api/resources/credits/types/ListCompanyGrantsRequestOrder.js +0 -12
- package/dist/api/resources/credits/types/ListCompanyGrantsResponse.js +0 -5
- package/dist/api/resources/credits/types/ListCompanyGrantsResponseParamsDir.d.ts +0 -8
- package/dist/api/resources/credits/types/ListCompanyGrantsResponseParamsDir.js +0 -10
- package/dist/api/resources/credits/types/ListCompanyGrantsResponseParamsOrder.d.ts +0 -10
- package/dist/api/resources/credits/types/ListCompanyGrantsResponseParamsOrder.js +0 -12
- package/dist/api/resources/credits/types/ListCreditBundlesParams.js +0 -5
- package/dist/api/resources/credits/types/ListCreditBundlesRequestStatus.d.ts +0 -8
- package/dist/api/resources/credits/types/ListCreditBundlesRequestStatus.js +0 -10
- package/dist/api/resources/credits/types/ListCreditBundlesResponse.js +0 -5
- package/dist/api/resources/credits/types/ListCreditBundlesResponseParamsStatus.d.ts +0 -8
- package/dist/api/resources/credits/types/ListCreditBundlesResponseParamsStatus.js +0 -10
- package/dist/api/resources/credits/types/ListGrantsForCreditParams.js +0 -5
- package/dist/api/resources/credits/types/ListGrantsForCreditResponse.js +0 -5
- package/dist/api/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
- package/dist/api/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.js +0 -12
- package/dist/api/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -9
- package/dist/api/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.js +0 -11
- package/dist/api/resources/credits/types/UpdateBillingCreditResponse.js +0 -5
- package/dist/api/resources/credits/types/UpdateCreditBundleResponse.d.ts +0 -9
- package/dist/api/resources/credits/types/UpdateCreditBundleResponse.js +0 -5
- package/dist/api/resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts +0 -8
- package/dist/api/resources/credits/types/ZeroOutGrantRequestBodyReason.js +0 -10
- package/dist/api/resources/credits/types/ZeroOutGrantResponse.js +0 -5
- package/dist/api/resources/credits/types/index.js +0 -61
- package/dist/api/resources/crm/client/Client.d.ts +0 -129
- package/dist/api/resources/crm/client/Client.js +0 -657
- package/dist/api/resources/crm/client/index.js +0 -17
- package/dist/api/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.d.ts +0 -14
- package/dist/api/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.js +0 -5
- package/dist/api/resources/crm/client/requests/CreateCrmDealRequestBody.d.ts +0 -22
- package/dist/api/resources/crm/client/requests/CreateCrmDealRequestBody.js +0 -5
- package/dist/api/resources/crm/client/requests/CreateCrmLineItemRequestBody.d.ts +0 -23
- package/dist/api/resources/crm/client/requests/CreateCrmLineItemRequestBody.js +0 -5
- package/dist/api/resources/crm/client/requests/CreateCrmProductRequestBody.d.ts +0 -26
- package/dist/api/resources/crm/client/requests/CreateCrmProductRequestBody.js +0 -5
- package/dist/api/resources/crm/client/requests/ListCrmProductsRequest.d.ts +0 -19
- package/dist/api/resources/crm/client/requests/ListCrmProductsRequest.js +0 -5
- package/dist/api/resources/crm/client/requests/index.d.ts +0 -5
- package/dist/api/resources/crm/client/requests/index.js +0 -2
- package/dist/api/resources/crm/index.d.ts +0 -2
- package/dist/api/resources/crm/index.js +0 -18
- package/dist/api/resources/crm/types/ListCrmProductsParams.d.ts +0 -14
- package/dist/api/resources/crm/types/ListCrmProductsParams.js +0 -5
- package/dist/api/resources/crm/types/ListCrmProductsResponse.d.ts +0 -10
- package/dist/api/resources/crm/types/ListCrmProductsResponse.js +0 -5
- package/dist/api/resources/crm/types/UpsertCrmDealResponse.d.ts +0 -9
- package/dist/api/resources/crm/types/UpsertCrmDealResponse.js +0 -5
- package/dist/api/resources/crm/types/UpsertCrmProductResponse.d.ts +0 -9
- package/dist/api/resources/crm/types/UpsertCrmProductResponse.js +0 -5
- package/dist/api/resources/crm/types/UpsertDealLineItemAssociationResponse.d.ts +0 -9
- package/dist/api/resources/crm/types/UpsertDealLineItemAssociationResponse.js +0 -5
- package/dist/api/resources/crm/types/UpsertLineItemResponse.d.ts +0 -9
- package/dist/api/resources/crm/types/UpsertLineItemResponse.js +0 -5
- package/dist/api/resources/crm/types/index.d.ts +0 -6
- package/dist/api/resources/crm/types/index.js +0 -22
- package/dist/api/resources/dataexports/client/Client.js +0 -265
- package/dist/api/resources/dataexports/client/index.js +0 -17
- package/dist/api/resources/dataexports/client/requests/CreateDataExportRequestBody.js +0 -5
- package/dist/api/resources/dataexports/client/requests/index.js +0 -2
- package/dist/api/resources/dataexports/index.js +0 -18
- package/dist/api/resources/dataexports/types/CreateDataExportResponse.js +0 -5
- package/dist/api/resources/dataexports/types/index.js +0 -17
- package/dist/api/resources/entitlements/client/Client.js +0 -2431
- package/dist/api/resources/entitlements/client/index.js +0 -17
- package/dist/api/resources/entitlements/client/requests/CountCompanyOverridesRequest.js +0 -5
- package/dist/api/resources/entitlements/client/requests/CountFeatureCompaniesRequest.js +0 -5
- package/dist/api/resources/entitlements/client/requests/CountFeatureUsageRequest.js +0 -5
- package/dist/api/resources/entitlements/client/requests/CountFeatureUsersRequest.js +0 -5
- package/dist/api/resources/entitlements/client/requests/CountPlanEntitlementsRequest.js +0 -5
- package/dist/api/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.js +0 -5
- package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.js +0 -5
- package/dist/api/resources/entitlements/client/requests/GetFeatureUsageByCompanyRequest.js +0 -5
- package/dist/api/resources/entitlements/client/requests/ListCompanyOverridesRequest.js +0 -5
- package/dist/api/resources/entitlements/client/requests/ListFeatureCompaniesRequest.js +0 -5
- package/dist/api/resources/entitlements/client/requests/ListFeatureUsageRequest.js +0 -5
- package/dist/api/resources/entitlements/client/requests/ListFeatureUsersRequest.js +0 -5
- package/dist/api/resources/entitlements/client/requests/ListPlanEntitlementsRequest.js +0 -5
- package/dist/api/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.js +0 -5
- package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.js +0 -5
- package/dist/api/resources/entitlements/client/requests/index.js +0 -2
- package/dist/api/resources/entitlements/index.js +0 -18
- package/dist/api/resources/entitlements/types/CountCompanyOverridesParams.js +0 -5
- package/dist/api/resources/entitlements/types/CountCompanyOverridesResponse.js +0 -5
- package/dist/api/resources/entitlements/types/CountFeatureCompaniesParams.js +0 -5
- package/dist/api/resources/entitlements/types/CountFeatureCompaniesResponse.js +0 -5
- package/dist/api/resources/entitlements/types/CountFeatureUsageParams.js +0 -5
- package/dist/api/resources/entitlements/types/CountFeatureUsageResponse.js +0 -5
- package/dist/api/resources/entitlements/types/CountFeatureUsersParams.js +0 -5
- package/dist/api/resources/entitlements/types/CountFeatureUsersResponse.js +0 -5
- package/dist/api/resources/entitlements/types/CountPlanEntitlementsParams.js +0 -5
- package/dist/api/resources/entitlements/types/CountPlanEntitlementsResponse.js +0 -5
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.js +0 -12
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.js +0 -10
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +0 -11
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.js +0 -13
- package/dist/api/resources/entitlements/types/CreateCompanyOverrideResponse.js +0 -5
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.js +0 -12
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.js +0 -10
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -11
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.js +0 -13
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +0 -11
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.js +0 -13
- package/dist/api/resources/entitlements/types/CreatePlanEntitlementResponse.js +0 -5
- package/dist/api/resources/entitlements/types/DeleteCompanyOverrideResponse.js +0 -5
- package/dist/api/resources/entitlements/types/DeletePlanEntitlementResponse.js +0 -5
- package/dist/api/resources/entitlements/types/GetCompanyOverrideResponse.js +0 -5
- package/dist/api/resources/entitlements/types/GetFeatureUsageByCompanyParams.js +0 -5
- package/dist/api/resources/entitlements/types/GetFeatureUsageByCompanyResponse.js +0 -5
- package/dist/api/resources/entitlements/types/GetPlanEntitlementResponse.js +0 -5
- package/dist/api/resources/entitlements/types/ListCompanyOverridesParams.js +0 -5
- package/dist/api/resources/entitlements/types/ListCompanyOverridesResponse.js +0 -5
- package/dist/api/resources/entitlements/types/ListFeatureCompaniesParams.js +0 -5
- package/dist/api/resources/entitlements/types/ListFeatureCompaniesResponse.js +0 -5
- package/dist/api/resources/entitlements/types/ListFeatureUsageParams.js +0 -5
- package/dist/api/resources/entitlements/types/ListFeatureUsageResponse.js +0 -5
- package/dist/api/resources/entitlements/types/ListFeatureUsersParams.js +0 -5
- package/dist/api/resources/entitlements/types/ListFeatureUsersResponse.js +0 -5
- package/dist/api/resources/entitlements/types/ListPlanEntitlementsParams.js +0 -5
- package/dist/api/resources/entitlements/types/ListPlanEntitlementsResponse.js +0 -5
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.js +0 -12
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.js +0 -10
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts +0 -11
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.js +0 -13
- package/dist/api/resources/entitlements/types/UpdateCompanyOverrideResponse.js +0 -5
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.js +0 -12
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.js +0 -10
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -11
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.js +0 -13
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +0 -11
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.js +0 -13
- package/dist/api/resources/entitlements/types/UpdatePlanEntitlementResponse.js +0 -5
- package/dist/api/resources/entitlements/types/index.js +0 -60
- package/dist/api/resources/events/client/Client.js +0 -757
- package/dist/api/resources/events/client/index.js +0 -17
- package/dist/api/resources/events/client/requests/CreateEventBatchRequestBody.js +0 -5
- package/dist/api/resources/events/client/requests/GetEventSummariesRequest.js +0 -5
- package/dist/api/resources/events/client/requests/ListEventsRequest.js +0 -5
- package/dist/api/resources/events/client/requests/index.js +0 -2
- package/dist/api/resources/events/index.js +0 -18
- package/dist/api/resources/events/types/CreateEventBatchResponse.js +0 -5
- package/dist/api/resources/events/types/CreateEventResponse.js +0 -5
- package/dist/api/resources/events/types/GetEventResponse.js +0 -5
- package/dist/api/resources/events/types/GetEventSummariesParams.js +0 -5
- package/dist/api/resources/events/types/GetEventSummariesResponse.js +0 -5
- package/dist/api/resources/events/types/GetSegmentIntegrationStatusResponse.js +0 -5
- package/dist/api/resources/events/types/ListEventsParams.js +0 -5
- package/dist/api/resources/events/types/ListEventsRequestEventTypesItem.d.ts +0 -9
- package/dist/api/resources/events/types/ListEventsRequestEventTypesItem.js +0 -11
- package/dist/api/resources/events/types/ListEventsResponse.js +0 -5
- package/dist/api/resources/events/types/ListEventsResponseParamsEventTypesItem.d.ts +0 -9
- package/dist/api/resources/events/types/ListEventsResponseParamsEventTypesItem.js +0 -11
- package/dist/api/resources/events/types/index.js +0 -26
- package/dist/api/resources/features/client/Client.js +0 -2324
- package/dist/api/resources/features/client/index.js +0 -17
- package/dist/api/resources/features/client/requests/CountFeaturesRequest.js +0 -5
- package/dist/api/resources/features/client/requests/CountFlagsRequest.js +0 -5
- package/dist/api/resources/features/client/requests/CreateFeatureRequestBody.js +0 -5
- package/dist/api/resources/features/client/requests/ListFeaturesRequest.js +0 -5
- package/dist/api/resources/features/client/requests/ListFlagsRequest.js +0 -5
- package/dist/api/resources/features/client/requests/UpdateFeatureRequestBody.js +0 -5
- package/dist/api/resources/features/client/requests/UpdateFlagRulesRequestBody.js +0 -5
- package/dist/api/resources/features/client/requests/index.js +0 -2
- package/dist/api/resources/features/index.js +0 -18
- package/dist/api/resources/features/types/CheckFlagResponse.js +0 -5
- package/dist/api/resources/features/types/CheckFlagsResponse.js +0 -5
- package/dist/api/resources/features/types/CountAudienceCompaniesResponse.d.ts +0 -9
- package/dist/api/resources/features/types/CountAudienceCompaniesResponse.js +0 -5
- package/dist/api/resources/features/types/CountAudienceUsersResponse.d.ts +0 -9
- package/dist/api/resources/features/types/CountAudienceUsersResponse.js +0 -5
- package/dist/api/resources/features/types/CountFeaturesParams.js +0 -5
- package/dist/api/resources/features/types/CountFeaturesResponse.js +0 -5
- package/dist/api/resources/features/types/CountFlagsParams.js +0 -5
- package/dist/api/resources/features/types/CountFlagsResponse.js +0 -5
- package/dist/api/resources/features/types/CreateFeatureRequestBodyFeatureType.d.ts +0 -9
- package/dist/api/resources/features/types/CreateFeatureRequestBodyFeatureType.js +0 -11
- package/dist/api/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.d.ts +0 -15
- package/dist/api/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.js +0 -17
- package/dist/api/resources/features/types/CreateFeatureResponse.js +0 -5
- package/dist/api/resources/features/types/CreateFlagResponse.js +0 -5
- package/dist/api/resources/features/types/DeleteFeatureResponse.js +0 -5
- package/dist/api/resources/features/types/DeleteFlagResponse.js +0 -5
- package/dist/api/resources/features/types/GetFeatureResponse.js +0 -5
- package/dist/api/resources/features/types/GetFlagResponse.js +0 -5
- package/dist/api/resources/features/types/ListAudienceCompaniesResponse.d.ts +0 -10
- package/dist/api/resources/features/types/ListAudienceCompaniesResponse.js +0 -5
- package/dist/api/resources/features/types/ListAudienceUsersResponse.d.ts +0 -10
- package/dist/api/resources/features/types/ListAudienceUsersResponse.js +0 -5
- package/dist/api/resources/features/types/ListFeaturesParams.js +0 -5
- package/dist/api/resources/features/types/ListFeaturesResponse.js +0 -5
- package/dist/api/resources/features/types/ListFlagsParams.js +0 -5
- package/dist/api/resources/features/types/ListFlagsResponse.js +0 -5
- package/dist/api/resources/features/types/UpdateFeatureRequestBodyFeatureType.d.ts +0 -9
- package/dist/api/resources/features/types/UpdateFeatureRequestBodyFeatureType.js +0 -11
- package/dist/api/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.d.ts +0 -15
- package/dist/api/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.js +0 -17
- package/dist/api/resources/features/types/UpdateFeatureResponse.js +0 -5
- package/dist/api/resources/features/types/UpdateFlagResponse.js +0 -5
- package/dist/api/resources/features/types/UpdateFlagRulesResponse.js +0 -5
- package/dist/api/resources/features/types/index.js +0 -43
- package/dist/api/resources/index.js +0 -84
- package/dist/api/resources/plangroups/client/Client.js +0 -396
- package/dist/api/resources/plangroups/client/index.js +0 -17
- package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.js +0 -5
- package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.js +0 -5
- package/dist/api/resources/plangroups/client/requests/index.js +0 -2
- package/dist/api/resources/plangroups/index.js +0 -18
- package/dist/api/resources/plangroups/types/CreatePlanGroupResponse.js +0 -5
- package/dist/api/resources/plangroups/types/GetPlanGroupResponse.js +0 -5
- package/dist/api/resources/plangroups/types/UpdatePlanGroupResponse.js +0 -5
- package/dist/api/resources/plangroups/types/index.js +0 -19
- package/dist/api/resources/plans/client/Client.js +0 -2047
- package/dist/api/resources/plans/client/index.js +0 -17
- package/dist/api/resources/plans/client/requests/CountPlanTraitsRequest.d.ts +0 -20
- package/dist/api/resources/plans/client/requests/CountPlanTraitsRequest.js +0 -5
- package/dist/api/resources/plans/client/requests/CountPlansRequest.js +0 -5
- package/dist/api/resources/plans/client/requests/CreatePlanRequestBody.d.ts +0 -18
- package/dist/api/resources/plans/client/requests/CreatePlanRequestBody.js +0 -5
- package/dist/api/resources/plans/client/requests/CreatePlanTraitRequestBody.d.ts +0 -16
- package/dist/api/resources/plans/client/requests/CreatePlanTraitRequestBody.js +0 -5
- package/dist/api/resources/plans/client/requests/ListPlanTraitsRequest.d.ts +0 -20
- package/dist/api/resources/plans/client/requests/ListPlanTraitsRequest.js +0 -5
- package/dist/api/resources/plans/client/requests/ListPlansRequest.js +0 -5
- package/dist/api/resources/plans/client/requests/UpdateAudienceRequestBody.d.ts +0 -25
- package/dist/api/resources/plans/client/requests/UpdateAudienceRequestBody.js +0 -5
- package/dist/api/resources/plans/client/requests/UpdateCompanyPlansRequestBody.js +0 -5
- package/dist/api/resources/plans/client/requests/UpdatePlanRequestBody.d.ts +0 -14
- package/dist/api/resources/plans/client/requests/UpdatePlanRequestBody.js +0 -5
- package/dist/api/resources/plans/client/requests/UpdatePlanTraitRequestBody.d.ts +0 -14
- package/dist/api/resources/plans/client/requests/UpdatePlanTraitRequestBody.js +0 -5
- package/dist/api/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +0 -24
- package/dist/api/resources/plans/client/requests/UpsertBillingProductRequestBody.js +0 -5
- package/dist/api/resources/plans/client/requests/index.js +0 -2
- package/dist/api/resources/plans/index.js +0 -18
- package/dist/api/resources/plans/types/CountPlanTraitsParams.d.ts +0 -15
- package/dist/api/resources/plans/types/CountPlanTraitsParams.js +0 -5
- package/dist/api/resources/plans/types/CountPlanTraitsResponse.d.ts +0 -9
- package/dist/api/resources/plans/types/CountPlanTraitsResponse.js +0 -5
- package/dist/api/resources/plans/types/CountPlansParams.js +0 -5
- package/dist/api/resources/plans/types/CountPlansRequestPlanType.d.ts +0 -11
- package/dist/api/resources/plans/types/CountPlansRequestPlanType.js +0 -10
- package/dist/api/resources/plans/types/CountPlansResponse.js +0 -5
- package/dist/api/resources/plans/types/CountPlansResponseParamsPlanType.d.ts +0 -11
- package/dist/api/resources/plans/types/CountPlansResponseParamsPlanType.js +0 -10
- package/dist/api/resources/plans/types/CreatePlanRequestBodyPlanType.d.ts +0 -8
- package/dist/api/resources/plans/types/CreatePlanRequestBodyPlanType.js +0 -10
- package/dist/api/resources/plans/types/CreatePlanResponse.js +0 -5
- package/dist/api/resources/plans/types/CreatePlanTraitResponse.d.ts +0 -9
- package/dist/api/resources/plans/types/CreatePlanTraitResponse.js +0 -5
- package/dist/api/resources/plans/types/DeleteAudienceResponse.d.ts +0 -9
- package/dist/api/resources/plans/types/DeleteAudienceResponse.js +0 -5
- package/dist/api/resources/plans/types/DeletePlanResponse.js +0 -5
- package/dist/api/resources/plans/types/DeletePlanTraitResponse.d.ts +0 -9
- package/dist/api/resources/plans/types/DeletePlanTraitResponse.js +0 -5
- package/dist/api/resources/plans/types/GetAudienceResponse.d.ts +0 -9
- package/dist/api/resources/plans/types/GetAudienceResponse.js +0 -5
- package/dist/api/resources/plans/types/GetPlanResponse.js +0 -5
- package/dist/api/resources/plans/types/GetPlanTraitResponse.d.ts +0 -9
- package/dist/api/resources/plans/types/GetPlanTraitResponse.js +0 -5
- package/dist/api/resources/plans/types/ListPlanTraitsParams.d.ts +0 -15
- package/dist/api/resources/plans/types/ListPlanTraitsParams.js +0 -5
- package/dist/api/resources/plans/types/ListPlanTraitsResponse.d.ts +0 -10
- package/dist/api/resources/plans/types/ListPlanTraitsResponse.js +0 -5
- package/dist/api/resources/plans/types/ListPlansParams.js +0 -5
- package/dist/api/resources/plans/types/ListPlansRequestPlanType.d.ts +0 -11
- package/dist/api/resources/plans/types/ListPlansRequestPlanType.js +0 -10
- package/dist/api/resources/plans/types/ListPlansResponse.js +0 -5
- package/dist/api/resources/plans/types/ListPlansResponseParamsPlanType.d.ts +0 -11
- package/dist/api/resources/plans/types/ListPlansResponseParamsPlanType.js +0 -10
- package/dist/api/resources/plans/types/UpdateAudienceResponse.d.ts +0 -9
- package/dist/api/resources/plans/types/UpdateAudienceResponse.js +0 -5
- package/dist/api/resources/plans/types/UpdateCompanyPlansResponse.js +0 -5
- package/dist/api/resources/plans/types/UpdatePlanResponse.js +0 -5
- package/dist/api/resources/plans/types/UpdatePlanTraitResponse.d.ts +0 -9
- package/dist/api/resources/plans/types/UpdatePlanTraitResponse.js +0 -5
- package/dist/api/resources/plans/types/UpsertBillingProductPlanResponse.js +0 -5
- package/dist/api/resources/plans/types/UpsertBillingProductRequestBodyChargeType.d.ts +0 -9
- package/dist/api/resources/plans/types/UpsertBillingProductRequestBodyChargeType.js +0 -11
- package/dist/api/resources/plans/types/index.js +0 -43
- package/dist/api/resources/webhooks/client/Client.js +0 -1100
- package/dist/api/resources/webhooks/client/index.js +0 -17
- package/dist/api/resources/webhooks/client/requests/CountWebhookEventsRequest.js +0 -5
- package/dist/api/resources/webhooks/client/requests/CountWebhooksRequest.js +0 -5
- package/dist/api/resources/webhooks/client/requests/CreateWebhookRequestBody.js +0 -5
- package/dist/api/resources/webhooks/client/requests/ListWebhookEventsRequest.js +0 -5
- package/dist/api/resources/webhooks/client/requests/ListWebhooksRequest.js +0 -5
- package/dist/api/resources/webhooks/client/requests/UpdateWebhookRequestBody.js +0 -5
- package/dist/api/resources/webhooks/client/requests/index.js +0 -2
- package/dist/api/resources/webhooks/index.js +0 -18
- package/dist/api/resources/webhooks/types/CountWebhookEventsParams.js +0 -5
- package/dist/api/resources/webhooks/types/CountWebhookEventsResponse.js +0 -5
- package/dist/api/resources/webhooks/types/CountWebhooksParams.js +0 -5
- package/dist/api/resources/webhooks/types/CountWebhooksResponse.js +0 -5
- package/dist/api/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +0 -34
- package/dist/api/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.js +0 -36
- package/dist/api/resources/webhooks/types/CreateWebhookResponse.js +0 -5
- package/dist/api/resources/webhooks/types/DeleteWebhookResponse.js +0 -5
- package/dist/api/resources/webhooks/types/GetWebhookEventResponse.js +0 -5
- package/dist/api/resources/webhooks/types/GetWebhookResponse.js +0 -5
- package/dist/api/resources/webhooks/types/ListWebhookEventsParams.js +0 -5
- package/dist/api/resources/webhooks/types/ListWebhookEventsResponse.js +0 -5
- package/dist/api/resources/webhooks/types/ListWebhooksParams.js +0 -5
- package/dist/api/resources/webhooks/types/ListWebhooksResponse.js +0 -5
- package/dist/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +0 -34
- package/dist/api/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.js +0 -36
- package/dist/api/resources/webhooks/types/UpdateWebhookRequestBodyStatus.d.ts +0 -8
- package/dist/api/resources/webhooks/types/UpdateWebhookRequestBodyStatus.js +0 -10
- package/dist/api/resources/webhooks/types/UpdateWebhookResponse.js +0 -5
- package/dist/api/resources/webhooks/types/index.js +0 -32
- package/dist/api/types/ApiError.js +0 -5
- package/dist/api/types/ApiKeyCreateResponseData.js +0 -5
- package/dist/api/types/ApiKeyRequestListResponseData.d.ts +0 -18
- package/dist/api/types/ApiKeyRequestListResponseData.js +0 -5
- package/dist/api/types/ApiKeyRequestResponseData.d.ts +0 -23
- package/dist/api/types/ApiKeyRequestResponseData.js +0 -5
- package/dist/api/types/ApiKeyResponseData.js +0 -5
- package/dist/api/types/AudienceRequestBody.d.ts +0 -13
- package/dist/api/types/AudienceRequestBody.js +0 -5
- package/dist/api/types/BillingCouponResponseData.js +0 -5
- package/dist/api/types/BillingCreditBundleResponseData.js +0 -5
- package/dist/api/types/BillingCreditGrantResponseData.js +0 -5
- package/dist/api/types/BillingCreditResponseData.js +0 -5
- package/dist/api/types/BillingCustomerResponseData.js +0 -5
- package/dist/api/types/BillingCustomerSubscription.js +0 -5
- package/dist/api/types/BillingCustomerWithSubscriptionsResponseData.js +0 -5
- package/dist/api/types/BillingMeterResponseData.js +0 -5
- package/dist/api/types/BillingPlanCreditGrantResponseData.js +0 -5
- package/dist/api/types/BillingPriceResponseData.js +0 -5
- package/dist/api/types/BillingPriceView.js +0 -5
- package/dist/api/types/BillingProductDetailResponseData.js +0 -5
- package/dist/api/types/BillingProductForSubscriptionResponseData.js +0 -5
- package/dist/api/types/BillingProductPlanResponseData.js +0 -5
- package/dist/api/types/BillingProductPriceResponseData.js +0 -5
- package/dist/api/types/BillingProductPriceTierResponseData.js +0 -5
- package/dist/api/types/BillingProductPricing.js +0 -5
- package/dist/api/types/BillingProductPricingUsageType.d.ts +0 -8
- package/dist/api/types/BillingProductPricingUsageType.js +0 -10
- package/dist/api/types/BillingProductResponseData.js +0 -5
- package/dist/api/types/BillingSubscriptionDiscount.js +0 -5
- package/dist/api/types/BillingSubscriptionDiscountView.js +0 -5
- package/dist/api/types/BillingSubscriptionResponseData.js +0 -5
- package/dist/api/types/BillingSubscriptionView.js +0 -5
- package/dist/api/types/ChangeSubscriptionInternalRequestBody.js +0 -5
- package/dist/api/types/ChangeSubscriptionRequestBody.js +0 -5
- package/dist/api/types/CheckFlagRequestBody.js +0 -5
- package/dist/api/types/CheckFlagResponseData.js +0 -5
- package/dist/api/types/CheckFlagsResponseData.js +0 -5
- package/dist/api/types/CheckoutDataResponseData.js +0 -5
- package/dist/api/types/CompanyCrmDealsResponseData.d.ts +0 -11
- package/dist/api/types/CompanyCrmDealsResponseData.js +0 -5
- package/dist/api/types/CompanyDetailResponseData.js +0 -5
- package/dist/api/types/CompanyEventPeriodMetricsResponseData.js +0 -5
- package/dist/api/types/CompanyMembershipDetailResponseData.js +0 -5
- package/dist/api/types/CompanyMembershipResponseData.js +0 -5
- package/dist/api/types/CompanyOverrideResponseData.js +0 -5
- package/dist/api/types/CompanyPlanDetailResponseData.js +0 -5
- package/dist/api/types/CompanyPlanWithBillingSubView.js +0 -5
- package/dist/api/types/CompanyResponseData.js +0 -5
- package/dist/api/types/CompanySubscriptionResponseData.js +0 -5
- package/dist/api/types/CompanyViewWithFeatureUsageResponseData.d.ts +0 -26
- package/dist/api/types/CompanyViewWithFeatureUsageResponseData.js +0 -5
- package/dist/api/types/CompatiblePlans.js +0 -5
- package/dist/api/types/CompatiblePlansResponseData.js +0 -5
- package/dist/api/types/ComponentCapabilities.js +0 -5
- package/dist/api/types/ComponentHydrateResponseData.js +0 -5
- package/dist/api/types/ComponentPreviewResponseData.js +0 -5
- package/dist/api/types/ComponentResponseData.js +0 -5
- package/dist/api/types/CountResponse.js +0 -5
- package/dist/api/types/CouponRequestBody.js +0 -5
- package/dist/api/types/CreateBillingPriceTierRequestBody.js +0 -5
- package/dist/api/types/CreateEntitlementReqCommon.js +0 -5
- package/dist/api/types/CreateEntitlementReqCommonMetricPeriod.js +0 -12
- package/dist/api/types/CreateEntitlementReqCommonMetricPeriodMonthReset.js +0 -10
- package/dist/api/types/CreateEntitlementReqCommonValueType.d.ts +0 -11
- package/dist/api/types/CreateEntitlementReqCommonValueType.js +0 -13
- package/dist/api/types/CreateEventRequestBody.js +0 -5
- package/dist/api/types/CreateEventRequestBodyEventType.d.ts +0 -12
- package/dist/api/types/CreateEventRequestBodyEventType.js +0 -11
- package/dist/api/types/CreateFlagRequestBody.js +0 -5
- package/dist/api/types/CreateOrUpdateConditionGroupRequestBody.js +0 -5
- package/dist/api/types/CreateOrUpdateConditionRequestBody.js +0 -5
- package/dist/api/types/CreateOrUpdateConditionRequestBodyConditionType.js +0 -16
- package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriod.js +0 -12
- package/dist/api/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.js +0 -10
- package/dist/api/types/CreateOrUpdateConditionRequestBodyOperator.js +0 -16
- package/dist/api/types/CreateOrUpdateFlagRequestBody.js +0 -5
- package/dist/api/types/CreateOrUpdateRuleRequestBody.js +0 -5
- package/dist/api/types/CreateOrUpdateRuleRequestBodyRuleType.js +0 -14
- package/dist/api/types/CreatePriceTierRequestBody.js +0 -5
- package/dist/api/types/CreditBundlePurchaseResponseData.js +0 -5
- package/dist/api/types/CreditUsageResponseData.d.ts +0 -12
- package/dist/api/types/CrmDealLineItem.d.ts +0 -18
- package/dist/api/types/CrmDealLineItem.js +0 -5
- package/dist/api/types/CrmDealResponseData.d.ts +0 -19
- package/dist/api/types/CrmDealResponseData.js +0 -5
- package/dist/api/types/CrmLineItemResponseData.d.ts +0 -14
- package/dist/api/types/CrmLineItemResponseData.js +0 -5
- package/dist/api/types/CrmProductResponseData.d.ts +0 -18
- package/dist/api/types/CrmProductResponseData.js +0 -5
- package/dist/api/types/CustomPlanConfig.js +0 -5
- package/dist/api/types/CustomPlanViewConfigResponseData.js +0 -5
- package/dist/api/types/DataExportResponseData.js +0 -5
- package/dist/api/types/Decimal.d.ts +0 -4
- package/dist/api/types/Decimal.js +0 -5
- package/dist/api/types/DeleteResponse.js +0 -5
- package/dist/api/types/EntitlementTriggerConfig.js +0 -5
- package/dist/api/types/EntitlementsInPlan.js +0 -5
- package/dist/api/types/EntityKeyDefinitionResponseData.js +0 -5
- package/dist/api/types/EntityKeyDetailResponseData.js +0 -5
- package/dist/api/types/EntityKeyResponseData.js +0 -5
- package/dist/api/types/EntityTraitDefinitionResponseData.js +0 -5
- package/dist/api/types/EntityTraitDetailResponseData.js +0 -5
- package/dist/api/types/EntityTraitResponseData.js +0 -5
- package/dist/api/types/EntityTraitValue.js +0 -5
- package/dist/api/types/EnvironmentDetailResponseData.js +0 -5
- package/dist/api/types/EnvironmentResponseData.js +0 -5
- package/dist/api/types/EventBody.js +0 -5
- package/dist/api/types/EventBodyFlagCheck.js +0 -5
- package/dist/api/types/EventBodyIdentify.js +0 -5
- package/dist/api/types/EventBodyIdentifyCompany.js +0 -5
- package/dist/api/types/EventBodyTrack.js +0 -5
- package/dist/api/types/EventDetailResponseData.js +0 -5
- package/dist/api/types/EventResponseData.js +0 -5
- package/dist/api/types/EventSummaryResponseData.js +0 -5
- package/dist/api/types/FeatureCompanyResponseData.js +0 -5
- package/dist/api/types/FeatureCompanyResponseDataAllocationType.d.ts +0 -13
- package/dist/api/types/FeatureCompanyResponseDataAllocationType.js +0 -12
- package/dist/api/types/FeatureCompanyUserResponseData.js +0 -5
- package/dist/api/types/FeatureCompanyUserResponseDataAllocationType.d.ts +0 -13
- package/dist/api/types/FeatureCompanyUserResponseDataAllocationType.js +0 -12
- package/dist/api/types/FeatureDetailResponseData.js +0 -5
- package/dist/api/types/FeatureResponseData.js +0 -5
- package/dist/api/types/FeatureUsageDataResponseData.d.ts +0 -19
- package/dist/api/types/FeatureUsageDataResponseData.js +0 -5
- package/dist/api/types/FeatureUsageDetailResponseData.js +0 -5
- package/dist/api/types/FeatureUsageResponseData.js +0 -5
- package/dist/api/types/FeatureUsageResponseDataAllocationType.d.ts +0 -13
- package/dist/api/types/FeatureUsageResponseDataAllocationType.js +0 -12
- package/dist/api/types/FlagDetailResponseData.js +0 -5
- package/dist/api/types/FlagResponseData.js +0 -5
- package/dist/api/types/GenericPreviewObject.js +0 -5
- package/dist/api/types/InvoiceRequestBody.js +0 -5
- package/dist/api/types/InvoiceResponseData.js +0 -5
- package/dist/api/types/IssueTemporaryAccessTokenResponseData.js +0 -5
- package/dist/api/types/KeysRequestBody.js +0 -5
- package/dist/api/types/MeterRequestBody.js +0 -5
- package/dist/api/types/OrderedPlansInGroup.js +0 -5
- package/dist/api/types/PaginationFilter.d.ts +0 -9
- package/dist/api/types/PaginationFilter.js +0 -5
- package/dist/api/types/PaymentMethodRequestBody.js +0 -5
- package/dist/api/types/PaymentMethodResponseData.js +0 -5
- package/dist/api/types/PlanAudienceDetailResponseData.d.ts +0 -21
- package/dist/api/types/PlanAudienceDetailResponseData.js +0 -5
- package/dist/api/types/PlanAudienceResponseData.d.ts +0 -15
- package/dist/api/types/PlanAudienceResponseData.js +0 -5
- package/dist/api/types/PlanChangeActorType.d.ts +0 -7
- package/dist/api/types/PlanDetailResponseData.js +0 -5
- package/dist/api/types/PlanEntitlementResponseData.js +0 -5
- package/dist/api/types/PlanEntitlementsOrder.js +0 -5
- package/dist/api/types/PlanGroupDetailResponseData.js +0 -5
- package/dist/api/types/PlanGroupPlanDetailResponseData.js +0 -5
- package/dist/api/types/PlanGroupPlanEntitlementsOrder.js +0 -5
- package/dist/api/types/PlanGroupResponseData.js +0 -5
- package/dist/api/types/PlanResponseData.js +0 -5
- package/dist/api/types/PlanTraitResponseData.js +0 -5
- package/dist/api/types/PreviewObject.js +0 -5
- package/dist/api/types/PreviewObjectResponseData.js +0 -5
- package/dist/api/types/PreviewSubscriptionChangeResponseData.js +0 -5
- package/dist/api/types/PreviewSubscriptionFinanceResponseData.js +0 -5
- package/dist/api/types/PreviewSubscriptionUpcomingInvoiceLineItems.js +0 -5
- package/dist/api/types/QuickstartResp.js +0 -5
- package/dist/api/types/RawEventBatchResponseData.js +0 -5
- package/dist/api/types/RawEventResponseData.js +0 -5
- package/dist/api/types/RuleConditionDetailResponseData.js +0 -5
- package/dist/api/types/RuleConditionGroupDetailResponseData.js +0 -5
- package/dist/api/types/RuleConditionGroupResponseData.js +0 -5
- package/dist/api/types/RuleConditionResponseData.js +0 -5
- package/dist/api/types/RuleDetailResponseData.js +0 -5
- package/dist/api/types/RuleResponseData.js +0 -5
- package/dist/api/types/RulesDetailResponseData.js +0 -5
- package/dist/api/types/SegmentStatusResp.js +0 -5
- package/dist/api/types/StripeEmbedInfo.js +0 -5
- package/dist/api/types/TemporaryAccessTokenResponseData.js +0 -5
- package/dist/api/types/UpdateAddOnRequestBody.js +0 -5
- package/dist/api/types/UpdateCreditBundleRequestBody.js +0 -5
- package/dist/api/types/UpdateEntitlementReqCommon.js +0 -5
- package/dist/api/types/UpdateEntitlementReqCommonMetricPeriod.js +0 -12
- package/dist/api/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.js +0 -10
- package/dist/api/types/UpdateEntitlementReqCommonValueType.d.ts +0 -11
- package/dist/api/types/UpdateEntitlementReqCommonValueType.js +0 -13
- package/dist/api/types/UpdatePayInAdvanceRequestBody.js +0 -5
- package/dist/api/types/UpdateRuleRequestBody.js +0 -5
- package/dist/api/types/UpsertCompanyRequestBody.js +0 -5
- package/dist/api/types/UpsertTraitRequestBody.js +0 -5
- package/dist/api/types/UpsertUserRequestBody.js +0 -5
- package/dist/api/types/UpsertUserSubRequestBody.js +0 -5
- package/dist/api/types/UsageBasedEntitlementRequestBody.js +0 -5
- package/dist/api/types/UsageBasedEntitlementRequestBodyPriceBehavior.d.ts +0 -11
- package/dist/api/types/UsageBasedEntitlementRequestBodyPriceBehavior.js +0 -13
- package/dist/api/types/UsageBasedEntitlementResponseData.js +0 -5
- package/dist/api/types/UserDetailResponseData.js +0 -5
- package/dist/api/types/UserResponseData.js +0 -5
- package/dist/api/types/WebhookEventDetailResponseData.js +0 -5
- package/dist/api/types/WebhookEventResponseData.js +0 -5
- package/dist/api/types/WebhookResponseData.js +0 -5
- package/dist/api/types/index.js +0 -188
- package/dist/cache.d.ts +0 -22
- package/dist/cache.js +0 -102
- package/dist/core/fetcher/APIResponse.js +0 -2
- package/dist/core/fetcher/Fetcher.js +0 -107
- package/dist/core/fetcher/Headers.js +0 -84
- package/dist/core/fetcher/HttpResponsePromise.js +0 -103
- package/dist/core/fetcher/RawResponse.js +0 -44
- package/dist/core/fetcher/Supplier.js +0 -22
- package/dist/core/fetcher/createRequestUrl.js +0 -12
- package/dist/core/fetcher/custom.js +0 -132
- package/dist/core/fetcher/getFetchFn.js +0 -68
- package/dist/core/fetcher/getHeader.js +0 -11
- package/dist/core/fetcher/getRequestBody.js +0 -23
- package/dist/core/fetcher/getResponseBody.js +0 -54
- package/dist/core/fetcher/index.js +0 -15
- package/dist/core/fetcher/makeRequest.js +0 -42
- package/dist/core/fetcher/requestWithRetries.js +0 -40
- package/dist/core/fetcher/signals.js +0 -36
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +0 -247
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +0 -126
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +0 -229
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +0 -59
- package/dist/core/index.js +0 -42
- package/dist/core/json.js +0 -24
- package/dist/core/runtime/index.js +0 -5
- package/dist/core/runtime/runtime.js +0 -103
- package/dist/core/schemas/Schema.js +0 -24
- package/dist/core/schemas/builders/bigint/bigint.js +0 -53
- package/dist/core/schemas/builders/bigint/index.js +0 -5
- package/dist/core/schemas/builders/date/date.js +0 -62
- package/dist/core/schemas/builders/date/index.js +0 -5
- package/dist/core/schemas/builders/enum/enum.js +0 -38
- package/dist/core/schemas/builders/enum/index.js +0 -5
- package/dist/core/schemas/builders/index.js +0 -30
- package/dist/core/schemas/builders/lazy/index.js +0 -7
- package/dist/core/schemas/builders/lazy/lazy.js +0 -24
- package/dist/core/schemas/builders/lazy/lazyObject.js +0 -11
- package/dist/core/schemas/builders/list/index.js +0 -5
- package/dist/core/schemas/builders/list/list.js +0 -54
- package/dist/core/schemas/builders/literals/booleanLiteral.js +0 -28
- package/dist/core/schemas/builders/literals/index.js +0 -7
- package/dist/core/schemas/builders/literals/stringLiteral.js +0 -28
- package/dist/core/schemas/builders/object/index.js +0 -11
- package/dist/core/schemas/builders/object/object.js +0 -261
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.js +0 -7
- package/dist/core/schemas/builders/object/property.js +0 -15
- package/dist/core/schemas/builders/object/types.js +0 -2
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +0 -53
- package/dist/core/schemas/builders/object-like/index.js +0 -6
- package/dist/core/schemas/builders/object-like/types.js +0 -2
- package/dist/core/schemas/builders/primitives/any.js +0 -6
- package/dist/core/schemas/builders/primitives/boolean.js +0 -25
- package/dist/core/schemas/builders/primitives/index.js +0 -13
- package/dist/core/schemas/builders/primitives/number.js +0 -25
- package/dist/core/schemas/builders/primitives/string.js +0 -25
- package/dist/core/schemas/builders/primitives/unknown.js +0 -6
- package/dist/core/schemas/builders/record/index.js +0 -5
- package/dist/core/schemas/builders/record/record.js +0 -93
- package/dist/core/schemas/builders/record/types.js +0 -2
- package/dist/core/schemas/builders/schema-utils/JsonError.js +0 -12
- package/dist/core/schemas/builders/schema-utils/ParseError.js +0 -12
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +0 -145
- package/dist/core/schemas/builders/schema-utils/index.js +0 -11
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.js +0 -9
- package/dist/core/schemas/builders/set/index.js +0 -5
- package/dist/core/schemas/builders/set/set.js +0 -43
- package/dist/core/schemas/builders/undiscriminated-union/index.js +0 -5
- package/dist/core/schemas/builders/undiscriminated-union/types.js +0 -2
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +0 -39
- package/dist/core/schemas/builders/union/discriminant.js +0 -9
- package/dist/core/schemas/builders/union/index.js +0 -7
- package/dist/core/schemas/builders/union/types.js +0 -2
- package/dist/core/schemas/builders/union/union.js +0 -129
- package/dist/core/schemas/index.js +0 -17
- package/dist/core/schemas/utils/MaybePromise.js +0 -2
- package/dist/core/schemas/utils/addQuestionMarksToNullableProperties.js +0 -2
- package/dist/core/schemas/utils/createIdentitySchemaCreator.js +0 -15
- package/dist/core/schemas/utils/entries.js +0 -6
- package/dist/core/schemas/utils/filterObject.js +0 -13
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +0 -27
- package/dist/core/schemas/utils/isPlainObject.js +0 -17
- package/dist/core/schemas/utils/keys.js +0 -6
- package/dist/core/schemas/utils/maybeSkipValidation.js +0 -27
- package/dist/core/schemas/utils/partition.js +0 -15
- package/dist/environments.js +0 -9
- package/dist/errors/SchematicError.js +0 -30
- package/dist/errors/SchematicTimeoutError.js +0 -13
- package/dist/errors/index.js +0 -7
- package/dist/events.js +0 -118
- package/dist/logger.js +0 -19
- package/dist/main.js +0 -1
- package/dist/serialization/index.js +0 -18
- package/dist/serialization/resources/accesstokens/client/index.js +0 -17
- package/dist/serialization/resources/accesstokens/client/requests/IssueTemporaryAccessTokenRequestBody.js +0 -44
- package/dist/serialization/resources/accesstokens/client/requests/index.js +0 -5
- package/dist/serialization/resources/accesstokens/index.js +0 -18
- package/dist/serialization/resources/accesstokens/types/IssueTemporaryAccessTokenResponse.js +0 -45
- package/dist/serialization/resources/accesstokens/types/index.js +0 -17
- package/dist/serialization/resources/accounts/client/index.js +0 -17
- package/dist/serialization/resources/accounts/client/requests/CreateApiKeyRequestBody.js +0 -45
- package/dist/serialization/resources/accounts/client/requests/CreateEnvironmentRequestBody.js +0 -45
- package/dist/serialization/resources/accounts/client/requests/UpdateApiKeyRequestBody.js +0 -44
- package/dist/serialization/resources/accounts/client/requests/UpdateEnvironmentRequestBody.js +0 -45
- package/dist/serialization/resources/accounts/client/requests/index.js +0 -11
- package/dist/serialization/resources/accounts/index.js +0 -18
- package/dist/serialization/resources/accounts/types/CountApiKeysParams.js +0 -46
- package/dist/serialization/resources/accounts/types/CountApiKeysResponse.js +0 -46
- package/dist/serialization/resources/accounts/types/CountApiRequestsParams.d.ts +0 -13
- package/dist/serialization/resources/accounts/types/CountApiRequestsParams.js +0 -47
- package/dist/serialization/resources/accounts/types/CountApiRequestsResponse.d.ts +0 -12
- package/dist/serialization/resources/accounts/types/CountApiRequestsResponse.js +0 -46
- package/dist/serialization/resources/accounts/types/CreateApiKeyResponse.js +0 -45
- package/dist/serialization/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.d.ts +0 -10
- package/dist/serialization/resources/accounts/types/CreateEnvironmentRequestBodyEnvironmentType.js +0 -41
- package/dist/serialization/resources/accounts/types/CreateEnvironmentResponse.js +0 -45
- package/dist/serialization/resources/accounts/types/DeleteApiKeyResponse.js +0 -45
- package/dist/serialization/resources/accounts/types/DeleteEnvironmentResponse.js +0 -45
- package/dist/serialization/resources/accounts/types/GetApiKeyResponse.js +0 -45
- package/dist/serialization/resources/accounts/types/GetApiRequestResponse.d.ts +0 -11
- package/dist/serialization/resources/accounts/types/GetApiRequestResponse.js +0 -45
- package/dist/serialization/resources/accounts/types/GetEnvironmentResponse.js +0 -45
- package/dist/serialization/resources/accounts/types/ListApiKeysParams.js +0 -46
- package/dist/serialization/resources/accounts/types/ListApiKeysResponse.js +0 -46
- package/dist/serialization/resources/accounts/types/ListApiRequestsParams.d.ts +0 -13
- package/dist/serialization/resources/accounts/types/ListApiRequestsParams.js +0 -47
- package/dist/serialization/resources/accounts/types/ListApiRequestsResponse.d.ts +0 -12
- package/dist/serialization/resources/accounts/types/ListApiRequestsResponse.js +0 -46
- package/dist/serialization/resources/accounts/types/ListEnvironmentsParams.js +0 -45
- package/dist/serialization/resources/accounts/types/ListEnvironmentsResponse.js +0 -46
- package/dist/serialization/resources/accounts/types/QuickstartResponse.js +0 -45
- package/dist/serialization/resources/accounts/types/UpdateApiKeyResponse.js +0 -45
- package/dist/serialization/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.d.ts +0 -10
- package/dist/serialization/resources/accounts/types/UpdateEnvironmentRequestBodyEnvironmentType.js +0 -41
- package/dist/serialization/resources/accounts/types/UpdateEnvironmentResponse.js +0 -45
- package/dist/serialization/resources/accounts/types/index.js +0 -38
- package/dist/serialization/resources/billing/client/index.js +0 -17
- package/dist/serialization/resources/billing/client/requests/CreateBillingCustomerRequestBody.js +0 -49
- package/dist/serialization/resources/billing/client/requests/CreateBillingPriceRequestBody.js +0 -60
- package/dist/serialization/resources/billing/client/requests/CreateBillingProductRequestBody.js +0 -46
- package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.d.ts +0 -31
- package/dist/serialization/resources/billing/client/requests/CreateBillingSubscriptionsRequestBody.js +0 -62
- package/dist/serialization/resources/billing/client/requests/CreateCouponRequestBody.js +0 -51
- package/dist/serialization/resources/billing/client/requests/CreateInvoiceRequestBody.js +0 -54
- package/dist/serialization/resources/billing/client/requests/CreateMeterRequestBody.js +0 -46
- package/dist/serialization/resources/billing/client/requests/CreatePaymentMethodRequestBody.js +0 -54
- package/dist/serialization/resources/billing/client/requests/index.js +0 -19
- package/dist/serialization/resources/billing/index.js +0 -18
- package/dist/serialization/resources/billing/types/CountBillingProductsParams.js +0 -54
- package/dist/serialization/resources/billing/types/CountBillingProductsRequestPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CountBillingProductsRequestPriceUsageType.js +0 -41
- package/dist/serialization/resources/billing/types/CountBillingProductsResponse.js +0 -46
- package/dist/serialization/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CountBillingProductsResponseParamsPriceUsageType.js +0 -41
- package/dist/serialization/resources/billing/types/CountCustomersParams.js +0 -48
- package/dist/serialization/resources/billing/types/CountCustomersResponse.js +0 -46
- package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyBillingScheme.js +0 -41
- package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyTiersMode.js +0 -41
- package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CreateBillingPriceRequestBodyUsageType.js +0 -41
- package/dist/serialization/resources/billing/types/CreateBillingSubscriptionsRequestBodyTrialEndSetting.d.ts +0 -10
- package/dist/serialization/resources/billing/types/CreateBillingSubscriptionsRequestBodyTrialEndSetting.js +0 -41
- package/dist/serialization/resources/billing/types/DeleteBillingProductResponse.js +0 -45
- package/dist/serialization/resources/billing/types/DeleteProductPriceResponse.js +0 -45
- package/dist/serialization/resources/billing/types/ListBillingProductsParams.js +0 -54
- package/dist/serialization/resources/billing/types/ListBillingProductsRequestPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/ListBillingProductsRequestPriceUsageType.js +0 -41
- package/dist/serialization/resources/billing/types/ListBillingProductsResponse.js +0 -46
- package/dist/serialization/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/ListBillingProductsResponseParamsPriceUsageType.js +0 -41
- package/dist/serialization/resources/billing/types/ListCouponsParams.js +0 -46
- package/dist/serialization/resources/billing/types/ListCouponsResponse.js +0 -46
- package/dist/serialization/resources/billing/types/ListCustomersWithSubscriptionsParams.js +0 -48
- package/dist/serialization/resources/billing/types/ListCustomersWithSubscriptionsResponse.js +0 -46
- package/dist/serialization/resources/billing/types/ListInvoicesParams.js +0 -47
- package/dist/serialization/resources/billing/types/ListInvoicesResponse.js +0 -46
- package/dist/serialization/resources/billing/types/ListMetersParams.js +0 -45
- package/dist/serialization/resources/billing/types/ListMetersResponse.js +0 -46
- package/dist/serialization/resources/billing/types/ListPaymentMethodsParams.js +0 -46
- package/dist/serialization/resources/billing/types/ListPaymentMethodsResponse.js +0 -46
- package/dist/serialization/resources/billing/types/ListProductPricesParams.d.ts +0 -23
- package/dist/serialization/resources/billing/types/ListProductPricesParams.js +0 -54
- package/dist/serialization/resources/billing/types/ListProductPricesRequestPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/ListProductPricesRequestPriceUsageType.js +0 -41
- package/dist/serialization/resources/billing/types/ListProductPricesResponse.d.ts +0 -15
- package/dist/serialization/resources/billing/types/ListProductPricesResponse.js +0 -46
- package/dist/serialization/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/ListProductPricesResponseParamsPriceUsageType.js +0 -41
- package/dist/serialization/resources/billing/types/SearchBillingPricesParams.d.ts +0 -21
- package/dist/serialization/resources/billing/types/SearchBillingPricesParams.js +0 -52
- package/dist/serialization/resources/billing/types/SearchBillingPricesRequestTiersMode.d.ts +0 -10
- package/dist/serialization/resources/billing/types/SearchBillingPricesRequestTiersMode.js +0 -41
- package/dist/serialization/resources/billing/types/SearchBillingPricesRequestUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/SearchBillingPricesRequestUsageType.js +0 -41
- package/dist/serialization/resources/billing/types/SearchBillingPricesResponse.d.ts +0 -15
- package/dist/serialization/resources/billing/types/SearchBillingPricesResponse.js +0 -46
- package/dist/serialization/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.d.ts +0 -10
- package/dist/serialization/resources/billing/types/SearchBillingPricesResponseParamsTiersMode.js +0 -41
- package/dist/serialization/resources/billing/types/SearchBillingPricesResponseParamsUsageType.d.ts +0 -10
- package/dist/serialization/resources/billing/types/SearchBillingPricesResponseParamsUsageType.js +0 -41
- package/dist/serialization/resources/billing/types/UpsertBillingCouponResponse.js +0 -45
- package/dist/serialization/resources/billing/types/UpsertBillingCustomerResponse.js +0 -45
- package/dist/serialization/resources/billing/types/UpsertBillingMeterResponse.js +0 -45
- package/dist/serialization/resources/billing/types/UpsertBillingPriceResponse.js +0 -45
- package/dist/serialization/resources/billing/types/UpsertBillingProductResponse.js +0 -45
- package/dist/serialization/resources/billing/types/UpsertBillingSubscriptionResponse.js +0 -45
- package/dist/serialization/resources/billing/types/UpsertInvoiceResponse.js +0 -45
- package/dist/serialization/resources/billing/types/UpsertPaymentMethodResponse.js +0 -45
- package/dist/serialization/resources/billing/types/index.js +0 -60
- package/dist/serialization/resources/checkout/client/index.js +0 -17
- package/dist/serialization/resources/checkout/client/requests/CheckoutDataRequestBody.js +0 -44
- package/dist/serialization/resources/checkout/client/requests/UpdateTrialEndRequestBody.js +0 -43
- package/dist/serialization/resources/checkout/client/requests/index.js +0 -7
- package/dist/serialization/resources/checkout/index.js +0 -18
- package/dist/serialization/resources/checkout/types/CheckoutInternalResponse.js +0 -45
- package/dist/serialization/resources/checkout/types/GetCheckoutDataResponse.js +0 -45
- package/dist/serialization/resources/checkout/types/PreviewCheckoutInternalResponse.js +0 -45
- package/dist/serialization/resources/checkout/types/UpdateCustomerSubscriptionTrialEndResponse.js +0 -45
- package/dist/serialization/resources/checkout/types/index.js +0 -20
- package/dist/serialization/resources/companies/client/index.js +0 -17
- package/dist/serialization/resources/companies/client/requests/CreateEntityTraitDefinitionRequestBody.js +0 -48
- package/dist/serialization/resources/companies/client/requests/GetOrCreateCompanyMembershipRequestBody.js +0 -44
- package/dist/serialization/resources/companies/client/requests/UpdateEntityTraitDefinitionRequestBody.js +0 -45
- package/dist/serialization/resources/companies/client/requests/index.js +0 -9
- package/dist/serialization/resources/companies/index.js +0 -18
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterParams.d.ts +0 -26
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterParams.js +0 -57
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterRequestSortOrderDirection.js +0 -41
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponse.d.ts +0 -12
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponse.js +0 -46
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountCompaniesForAdvancedFilterResponseParamsSortOrderDirection.js +0 -41
- package/dist/serialization/resources/companies/types/CountCompaniesParams.js +0 -50
- package/dist/serialization/resources/companies/types/CountCompaniesResponse.js +0 -46
- package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsParams.js +0 -48
- package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsRequestEntityType.js +0 -41
- package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsResponse.js +0 -46
- package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityKeyDefinitionsResponseParamsEntityType.js +0 -41
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsParams.js +0 -50
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestEntityType.js +0 -41
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsRequestTraitType.js +0 -41
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponse.js +0 -46
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsEntityType.js +0 -41
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CountEntityTraitDefinitionsResponseParamsTraitType.js +0 -41
- package/dist/serialization/resources/companies/types/CountUsersParams.js +0 -48
- package/dist/serialization/resources/companies/types/CountUsersResponse.js +0 -46
- package/dist/serialization/resources/companies/types/CreateCompanyResponse.js +0 -45
- package/dist/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyEntityType.js +0 -41
- package/dist/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/CreateEntityTraitDefinitionRequestBodyTraitType.js +0 -41
- package/dist/serialization/resources/companies/types/CreateUserResponse.js +0 -45
- package/dist/serialization/resources/companies/types/DeleteCompanyByKeysResponse.js +0 -45
- package/dist/serialization/resources/companies/types/DeleteCompanyMembershipResponse.js +0 -45
- package/dist/serialization/resources/companies/types/DeleteCompanyResponse.js +0 -45
- package/dist/serialization/resources/companies/types/DeleteUserByKeysResponse.js +0 -45
- package/dist/serialization/resources/companies/types/DeleteUserResponse.js +0 -45
- package/dist/serialization/resources/companies/types/GetActiveCompanySubscriptionParams.js +0 -46
- package/dist/serialization/resources/companies/types/GetActiveCompanySubscriptionResponse.js +0 -46
- package/dist/serialization/resources/companies/types/GetActiveDealsParams.d.ts +0 -15
- package/dist/serialization/resources/companies/types/GetActiveDealsParams.js +0 -46
- package/dist/serialization/resources/companies/types/GetActiveDealsResponse.d.ts +0 -15
- package/dist/serialization/resources/companies/types/GetActiveDealsResponse.js +0 -46
- package/dist/serialization/resources/companies/types/GetCompanyResponse.js +0 -45
- package/dist/serialization/resources/companies/types/GetEntityTraitDefinitionResponse.js +0 -45
- package/dist/serialization/resources/companies/types/GetEntityTraitValuesParams.js +0 -46
- package/dist/serialization/resources/companies/types/GetEntityTraitValuesResponse.js +0 -46
- package/dist/serialization/resources/companies/types/GetOrCreateCompanyMembershipResponse.js +0 -45
- package/dist/serialization/resources/companies/types/GetOrCreateEntityTraitDefinitionResponse.js +0 -45
- package/dist/serialization/resources/companies/types/GetUserResponse.js +0 -45
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterParams.d.ts +0 -26
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterParams.js +0 -57
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterRequestSortOrderDirection.js +0 -41
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponse.d.ts +0 -12
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponse.js +0 -46
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListCompaniesForAdvancedFilterResponseParamsSortOrderDirection.js +0 -41
- package/dist/serialization/resources/companies/types/ListCompaniesParams.js +0 -50
- package/dist/serialization/resources/companies/types/ListCompaniesResponse.js +0 -46
- package/dist/serialization/resources/companies/types/ListCompanyMembershipsParams.js +0 -46
- package/dist/serialization/resources/companies/types/ListCompanyMembershipsResponse.js +0 -46
- package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsParams.js +0 -48
- package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsRequestEntityType.js +0 -41
- package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsResponse.js +0 -46
- package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityKeyDefinitionsResponseParamsEntityType.js +0 -41
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsParams.js +0 -50
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestEntityType.js +0 -41
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsRequestTraitType.js +0 -41
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponse.js +0 -46
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsEntityType.js +0 -41
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/ListEntityTraitDefinitionsResponseParamsTraitType.js +0 -41
- package/dist/serialization/resources/companies/types/ListUsersParams.js +0 -48
- package/dist/serialization/resources/companies/types/ListUsersResponse.js +0 -46
- package/dist/serialization/resources/companies/types/LookupCompanyParams.js +0 -43
- package/dist/serialization/resources/companies/types/LookupCompanyResponse.js +0 -46
- package/dist/serialization/resources/companies/types/LookupUserParams.js +0 -43
- package/dist/serialization/resources/companies/types/LookupUserResponse.js +0 -46
- package/dist/serialization/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.d.ts +0 -10
- package/dist/serialization/resources/companies/types/UpdateEntityTraitDefinitionRequestBodyTraitType.js +0 -41
- package/dist/serialization/resources/companies/types/UpdateEntityTraitDefinitionResponse.js +0 -45
- package/dist/serialization/resources/companies/types/UpsertCompanyResponse.js +0 -45
- package/dist/serialization/resources/companies/types/UpsertCompanyTraitResponse.js +0 -45
- package/dist/serialization/resources/companies/types/UpsertUserResponse.js +0 -45
- package/dist/serialization/resources/companies/types/UpsertUserTraitResponse.js +0 -45
- package/dist/serialization/resources/companies/types/index.js +0 -84
- package/dist/serialization/resources/components/client/index.js +0 -17
- package/dist/serialization/resources/components/client/requests/CreateComponentRequestBody.js +0 -46
- package/dist/serialization/resources/components/client/requests/UpdateComponentRequestBody.js +0 -48
- package/dist/serialization/resources/components/client/requests/index.js +0 -7
- package/dist/serialization/resources/components/index.js +0 -18
- package/dist/serialization/resources/components/types/CountComponentsParams.js +0 -45
- package/dist/serialization/resources/components/types/CountComponentsResponse.js +0 -46
- package/dist/serialization/resources/components/types/CreateComponentRequestBodyEntityType.d.ts +0 -10
- package/dist/serialization/resources/components/types/CreateComponentRequestBodyEntityType.js +0 -41
- package/dist/serialization/resources/components/types/CreateComponentResponse.js +0 -45
- package/dist/serialization/resources/components/types/DeleteComponentResponse.js +0 -45
- package/dist/serialization/resources/components/types/GetComponentResponse.js +0 -45
- package/dist/serialization/resources/components/types/ListComponentsParams.js +0 -45
- package/dist/serialization/resources/components/types/ListComponentsResponse.js +0 -46
- package/dist/serialization/resources/components/types/PreviewComponentDataParams.js +0 -44
- package/dist/serialization/resources/components/types/PreviewComponentDataResponse.js +0 -46
- package/dist/serialization/resources/components/types/UpdateComponentRequestBodyEntityType.d.ts +0 -10
- package/dist/serialization/resources/components/types/UpdateComponentRequestBodyEntityType.js +0 -41
- package/dist/serialization/resources/components/types/UpdateComponentRequestBodyState.d.ts +0 -10
- package/dist/serialization/resources/components/types/UpdateComponentRequestBodyState.js +0 -41
- package/dist/serialization/resources/components/types/UpdateComponentResponse.js +0 -45
- package/dist/serialization/resources/components/types/index.js +0 -29
- package/dist/serialization/resources/credits/client/index.js +0 -17
- package/dist/serialization/resources/credits/client/requests/CreateBillingCreditRequestBody.js +0 -56
- package/dist/serialization/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.d.ts +0 -18
- package/dist/serialization/resources/credits/client/requests/CreateBillingPlanCreditGrantRequestBody.js +0 -49
- package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.js +0 -54
- package/dist/serialization/resources/credits/client/requests/UpdateBillingCreditRequestBody.js +0 -55
- package/dist/serialization/resources/credits/client/requests/ZeroOutGrantRequestBody.js +0 -44
- package/dist/serialization/resources/credits/client/requests/index.js +0 -13
- package/dist/serialization/resources/credits/index.js +0 -18
- package/dist/serialization/resources/credits/types/CountBillingCreditsGrantsParams.js +0 -46
- package/dist/serialization/resources/credits/types/CountBillingCreditsGrantsResponse.js +0 -46
- package/dist/serialization/resources/credits/types/CountBillingCreditsParams.js +0 -46
- package/dist/serialization/resources/credits/types/CountBillingCreditsResponse.js +0 -46
- package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsParams.js +0 -47
- package/dist/serialization/resources/credits/types/CountBillingPlanCreditGrantsResponse.js +0 -46
- package/dist/serialization/resources/credits/types/CountCreditBundlesParams.js +0 -49
- package/dist/serialization/resources/credits/types/CountCreditBundlesRequestStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CountCreditBundlesRequestStatus.js +0 -41
- package/dist/serialization/resources/credits/types/CountCreditBundlesResponse.js +0 -46
- package/dist/serialization/resources/credits/types/CountCreditBundlesResponseParamsStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CountCreditBundlesResponseParamsStatus.js +0 -41
- package/dist/serialization/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingCreditRequestBodyBurnStrategy.js +0 -46
- package/dist/serialization/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingCreditRequestBodyDefaultRolloverPolicy.js +0 -41
- package/dist/serialization/resources/credits/types/CreateBillingCreditResponse.js +0 -45
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetCadence.js +0 -41
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantRequestBodyResetStart.js +0 -41
- package/dist/serialization/resources/credits/types/CreateBillingPlanCreditGrantResponse.js +0 -45
- package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyExpiryType.js +0 -41
- package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/CreateCreditBundleRequestBodyStatus.js +0 -41
- package/dist/serialization/resources/credits/types/CreateCreditBundleResponse.js +0 -45
- package/dist/serialization/resources/credits/types/DeleteBillingPlanCreditGrantResponse.js +0 -45
- package/dist/serialization/resources/credits/types/DeleteCreditBundleResponse.js +0 -45
- package/dist/serialization/resources/credits/types/GetCreditBundleResponse.js +0 -45
- package/dist/serialization/resources/credits/types/GetSingleBillingCreditResponse.js +0 -45
- package/dist/serialization/resources/credits/types/ListBillingCreditsParams.js +0 -46
- package/dist/serialization/resources/credits/types/ListBillingCreditsResponse.js +0 -46
- package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsParams.js +0 -47
- package/dist/serialization/resources/credits/types/ListBillingPlanCreditGrantsResponse.js +0 -46
- package/dist/serialization/resources/credits/types/ListCompanyGrantsParams.js +0 -49
- package/dist/serialization/resources/credits/types/ListCompanyGrantsRequestDir.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCompanyGrantsRequestDir.js +0 -41
- package/dist/serialization/resources/credits/types/ListCompanyGrantsRequestOrder.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCompanyGrantsRequestOrder.js +0 -41
- package/dist/serialization/resources/credits/types/ListCompanyGrantsResponse.js +0 -46
- package/dist/serialization/resources/credits/types/ListCompanyGrantsResponseParamsDir.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCompanyGrantsResponseParamsDir.js +0 -41
- package/dist/serialization/resources/credits/types/ListCompanyGrantsResponseParamsOrder.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCompanyGrantsResponseParamsOrder.js +0 -41
- package/dist/serialization/resources/credits/types/ListCreditBundlesParams.js +0 -49
- package/dist/serialization/resources/credits/types/ListCreditBundlesRequestStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCreditBundlesRequestStatus.js +0 -41
- package/dist/serialization/resources/credits/types/ListCreditBundlesResponse.js +0 -46
- package/dist/serialization/resources/credits/types/ListCreditBundlesResponseParamsStatus.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ListCreditBundlesResponseParamsStatus.js +0 -41
- package/dist/serialization/resources/credits/types/ListGrantsForCreditParams.js +0 -46
- package/dist/serialization/resources/credits/types/ListGrantsForCreditResponse.js +0 -46
- package/dist/serialization/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingCreditRequestBodyBurnStrategy.js +0 -46
- package/dist/serialization/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.d.ts +0 -10
- package/dist/serialization/resources/credits/types/UpdateBillingCreditRequestBodyDefaultRolloverPolicy.js +0 -41
- package/dist/serialization/resources/credits/types/UpdateBillingCreditResponse.js +0 -45
- package/dist/serialization/resources/credits/types/UpdateCreditBundleResponse.d.ts +0 -14
- package/dist/serialization/resources/credits/types/UpdateCreditBundleResponse.js +0 -45
- package/dist/serialization/resources/credits/types/ZeroOutGrantRequestBodyReason.d.ts +0 -10
- package/dist/serialization/resources/credits/types/ZeroOutGrantRequestBodyReason.js +0 -41
- package/dist/serialization/resources/credits/types/ZeroOutGrantResponse.js +0 -45
- package/dist/serialization/resources/credits/types/index.js +0 -61
- package/dist/serialization/resources/crm/client/index.js +0 -17
- package/dist/serialization/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.d.ts +0 -13
- package/dist/serialization/resources/crm/client/requests/CreateCrmDealLineItemAssociationRequestBody.js +0 -44
- package/dist/serialization/resources/crm/client/requests/CreateCrmDealRequestBody.d.ts +0 -20
- package/dist/serialization/resources/crm/client/requests/CreateCrmDealRequestBody.js +0 -51
- package/dist/serialization/resources/crm/client/requests/CreateCrmLineItemRequestBody.d.ts +0 -19
- package/dist/serialization/resources/crm/client/requests/CreateCrmLineItemRequestBody.js +0 -50
- package/dist/serialization/resources/crm/client/requests/CreateCrmProductRequestBody.d.ts +0 -19
- package/dist/serialization/resources/crm/client/requests/CreateCrmProductRequestBody.js +0 -50
- package/dist/serialization/resources/crm/client/requests/index.d.ts +0 -4
- package/dist/serialization/resources/crm/client/requests/index.js +0 -11
- package/dist/serialization/resources/crm/index.d.ts +0 -2
- package/dist/serialization/resources/crm/index.js +0 -18
- package/dist/serialization/resources/crm/types/ListCrmProductsParams.d.ts +0 -15
- package/dist/serialization/resources/crm/types/ListCrmProductsParams.js +0 -46
- package/dist/serialization/resources/crm/types/ListCrmProductsResponse.d.ts +0 -15
- package/dist/serialization/resources/crm/types/ListCrmProductsResponse.js +0 -46
- package/dist/serialization/resources/crm/types/UpsertCrmDealResponse.d.ts +0 -14
- package/dist/serialization/resources/crm/types/UpsertCrmDealResponse.js +0 -45
- package/dist/serialization/resources/crm/types/UpsertCrmProductResponse.d.ts +0 -14
- package/dist/serialization/resources/crm/types/UpsertCrmProductResponse.js +0 -45
- package/dist/serialization/resources/crm/types/UpsertDealLineItemAssociationResponse.d.ts +0 -14
- package/dist/serialization/resources/crm/types/UpsertDealLineItemAssociationResponse.js +0 -45
- package/dist/serialization/resources/crm/types/UpsertLineItemResponse.d.ts +0 -14
- package/dist/serialization/resources/crm/types/UpsertLineItemResponse.js +0 -45
- package/dist/serialization/resources/crm/types/index.d.ts +0 -6
- package/dist/serialization/resources/crm/types/index.js +0 -22
- package/dist/serialization/resources/dataexports/client/index.js +0 -17
- package/dist/serialization/resources/dataexports/client/requests/CreateDataExportRequestBody.js +0 -43
- package/dist/serialization/resources/dataexports/client/requests/index.js +0 -5
- package/dist/serialization/resources/dataexports/index.js +0 -18
- package/dist/serialization/resources/dataexports/types/CreateDataExportResponse.js +0 -45
- package/dist/serialization/resources/dataexports/types/index.js +0 -17
- package/dist/serialization/resources/entitlements/client/index.js +0 -17
- package/dist/serialization/resources/entitlements/client/requests/CreateCompanyOverrideRequestBody.js +0 -55
- package/dist/serialization/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.js +0 -69
- package/dist/serialization/resources/entitlements/client/requests/UpdateCompanyOverrideRequestBody.js +0 -53
- package/dist/serialization/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.js +0 -67
- package/dist/serialization/resources/entitlements/client/requests/index.js +0 -11
- package/dist/serialization/resources/entitlements/index.js +0 -18
- package/dist/serialization/resources/entitlements/types/CountCompanyOverridesParams.js +0 -51
- package/dist/serialization/resources/entitlements/types/CountCompanyOverridesResponse.js +0 -46
- package/dist/serialization/resources/entitlements/types/CountFeatureCompaniesParams.js +0 -46
- package/dist/serialization/resources/entitlements/types/CountFeatureCompaniesResponse.js +0 -46
- package/dist/serialization/resources/entitlements/types/CountFeatureUsageParams.js +0 -49
- package/dist/serialization/resources/entitlements/types/CountFeatureUsageResponse.js +0 -46
- package/dist/serialization/resources/entitlements/types/CountFeatureUsersParams.js +0 -46
- package/dist/serialization/resources/entitlements/types/CountFeatureUsersResponse.js +0 -46
- package/dist/serialization/resources/entitlements/types/CountPlanEntitlementsParams.js +0 -51
- package/dist/serialization/resources/entitlements/types/CountPlanEntitlementsResponse.js +0 -46
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriod.js +0 -41
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyMetricPeriodMonthReset.js +0 -41
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideRequestBodyValueType.js +0 -41
- package/dist/serialization/resources/entitlements/types/CreateCompanyOverrideResponse.js +0 -45
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriod.js +0 -41
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyMetricPeriodMonthReset.js +0 -41
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyPriceBehavior.js +0 -41
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementRequestBodyValueType.js +0 -41
- package/dist/serialization/resources/entitlements/types/CreatePlanEntitlementResponse.js +0 -45
- package/dist/serialization/resources/entitlements/types/DeleteCompanyOverrideResponse.js +0 -45
- package/dist/serialization/resources/entitlements/types/DeletePlanEntitlementResponse.js +0 -45
- package/dist/serialization/resources/entitlements/types/GetCompanyOverrideResponse.js +0 -45
- package/dist/serialization/resources/entitlements/types/GetFeatureUsageByCompanyParams.js +0 -43
- package/dist/serialization/resources/entitlements/types/GetFeatureUsageByCompanyResponse.js +0 -46
- package/dist/serialization/resources/entitlements/types/GetPlanEntitlementResponse.js +0 -45
- package/dist/serialization/resources/entitlements/types/ListCompanyOverridesParams.js +0 -51
- package/dist/serialization/resources/entitlements/types/ListCompanyOverridesResponse.js +0 -46
- package/dist/serialization/resources/entitlements/types/ListFeatureCompaniesParams.js +0 -46
- package/dist/serialization/resources/entitlements/types/ListFeatureCompaniesResponse.js +0 -46
- package/dist/serialization/resources/entitlements/types/ListFeatureUsageParams.js +0 -49
- package/dist/serialization/resources/entitlements/types/ListFeatureUsageResponse.js +0 -46
- package/dist/serialization/resources/entitlements/types/ListFeatureUsersParams.js +0 -46
- package/dist/serialization/resources/entitlements/types/ListFeatureUsersResponse.js +0 -46
- package/dist/serialization/resources/entitlements/types/ListPlanEntitlementsParams.js +0 -51
- package/dist/serialization/resources/entitlements/types/ListPlanEntitlementsResponse.js +0 -46
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriod.js +0 -41
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyMetricPeriodMonthReset.js +0 -41
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideRequestBodyValueType.js +0 -41
- package/dist/serialization/resources/entitlements/types/UpdateCompanyOverrideResponse.js +0 -45
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriod.js +0 -41
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyMetricPeriodMonthReset.js +0 -41
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyPriceBehavior.js +0 -41
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.d.ts +0 -10
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementRequestBodyValueType.js +0 -41
- package/dist/serialization/resources/entitlements/types/UpdatePlanEntitlementResponse.js +0 -45
- package/dist/serialization/resources/entitlements/types/index.js +0 -60
- package/dist/serialization/resources/events/client/index.js +0 -17
- package/dist/serialization/resources/events/client/requests/CreateEventBatchRequestBody.js +0 -44
- package/dist/serialization/resources/events/client/requests/index.js +0 -5
- package/dist/serialization/resources/events/index.js +0 -18
- package/dist/serialization/resources/events/types/CreateEventBatchResponse.js +0 -45
- package/dist/serialization/resources/events/types/CreateEventResponse.js +0 -45
- package/dist/serialization/resources/events/types/GetEventResponse.js +0 -45
- package/dist/serialization/resources/events/types/GetEventSummariesParams.js +0 -46
- package/dist/serialization/resources/events/types/GetEventSummariesResponse.js +0 -46
- package/dist/serialization/resources/events/types/GetSegmentIntegrationStatusResponse.js +0 -45
- package/dist/serialization/resources/events/types/ListEventsParams.js +0 -50
- package/dist/serialization/resources/events/types/ListEventsRequestEventTypesItem.d.ts +0 -10
- package/dist/serialization/resources/events/types/ListEventsRequestEventTypesItem.js +0 -41
- package/dist/serialization/resources/events/types/ListEventsResponse.js +0 -46
- package/dist/serialization/resources/events/types/ListEventsResponseParamsEventTypesItem.d.ts +0 -10
- package/dist/serialization/resources/events/types/ListEventsResponseParamsEventTypesItem.js +0 -41
- package/dist/serialization/resources/events/types/index.js +0 -26
- package/dist/serialization/resources/features/client/index.js +0 -17
- package/dist/serialization/resources/features/client/requests/CreateFeatureRequestBody.js +0 -56
- package/dist/serialization/resources/features/client/requests/UpdateFeatureRequestBody.js +0 -56
- package/dist/serialization/resources/features/client/requests/UpdateFlagRulesRequestBody.js +0 -44
- package/dist/serialization/resources/features/client/requests/index.js +0 -9
- package/dist/serialization/resources/features/index.js +0 -18
- package/dist/serialization/resources/features/types/CheckFlagResponse.js +0 -45
- package/dist/serialization/resources/features/types/CheckFlagsResponse.js +0 -45
- package/dist/serialization/resources/features/types/CountAudienceCompaniesResponse.d.ts +0 -14
- package/dist/serialization/resources/features/types/CountAudienceCompaniesResponse.js +0 -45
- package/dist/serialization/resources/features/types/CountAudienceUsersResponse.d.ts +0 -14
- package/dist/serialization/resources/features/types/CountAudienceUsersResponse.js +0 -45
- package/dist/serialization/resources/features/types/CountFeaturesParams.js +0 -50
- package/dist/serialization/resources/features/types/CountFeaturesResponse.js +0 -46
- package/dist/serialization/resources/features/types/CountFlagsParams.js +0 -47
- package/dist/serialization/resources/features/types/CountFlagsResponse.js +0 -46
- package/dist/serialization/resources/features/types/CreateFeatureRequestBodyFeatureType.d.ts +0 -10
- package/dist/serialization/resources/features/types/CreateFeatureRequestBodyFeatureType.js +0 -41
- package/dist/serialization/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.d.ts +0 -10
- package/dist/serialization/resources/features/types/CreateFeatureRequestBodyLifecyclePhase.js +0 -51
- package/dist/serialization/resources/features/types/CreateFeatureResponse.js +0 -45
- package/dist/serialization/resources/features/types/CreateFlagResponse.js +0 -45
- package/dist/serialization/resources/features/types/DeleteFeatureResponse.js +0 -45
- package/dist/serialization/resources/features/types/DeleteFlagResponse.js +0 -45
- package/dist/serialization/resources/features/types/GetFeatureResponse.js +0 -45
- package/dist/serialization/resources/features/types/GetFlagResponse.js +0 -45
- package/dist/serialization/resources/features/types/ListAudienceCompaniesResponse.d.ts +0 -14
- package/dist/serialization/resources/features/types/ListAudienceCompaniesResponse.js +0 -45
- package/dist/serialization/resources/features/types/ListAudienceUsersResponse.d.ts +0 -14
- package/dist/serialization/resources/features/types/ListAudienceUsersResponse.js +0 -45
- package/dist/serialization/resources/features/types/ListFeaturesParams.js +0 -50
- package/dist/serialization/resources/features/types/ListFeaturesResponse.js +0 -46
- package/dist/serialization/resources/features/types/ListFlagsParams.js +0 -47
- package/dist/serialization/resources/features/types/ListFlagsResponse.js +0 -46
- package/dist/serialization/resources/features/types/UpdateFeatureRequestBodyFeatureType.d.ts +0 -10
- package/dist/serialization/resources/features/types/UpdateFeatureRequestBodyFeatureType.js +0 -41
- package/dist/serialization/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.d.ts +0 -10
- package/dist/serialization/resources/features/types/UpdateFeatureRequestBodyLifecyclePhase.js +0 -51
- package/dist/serialization/resources/features/types/UpdateFeatureResponse.js +0 -45
- package/dist/serialization/resources/features/types/UpdateFlagResponse.js +0 -45
- package/dist/serialization/resources/features/types/UpdateFlagRulesResponse.js +0 -45
- package/dist/serialization/resources/features/types/index.js +0 -43
- package/dist/serialization/resources/index.js +0 -84
- package/dist/serialization/resources/plangroups/client/index.js +0 -17
- package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.js +0 -53
- package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.js +0 -53
- package/dist/serialization/resources/plangroups/client/requests/index.js +0 -7
- package/dist/serialization/resources/plangroups/index.js +0 -18
- package/dist/serialization/resources/plangroups/types/CreatePlanGroupResponse.js +0 -45
- package/dist/serialization/resources/plangroups/types/GetPlanGroupResponse.js +0 -45
- package/dist/serialization/resources/plangroups/types/UpdatePlanGroupResponse.js +0 -45
- package/dist/serialization/resources/plangroups/types/index.js +0 -19
- package/dist/serialization/resources/plans/client/index.js +0 -17
- package/dist/serialization/resources/plans/client/requests/CreatePlanRequestBody.d.ts +0 -16
- package/dist/serialization/resources/plans/client/requests/CreatePlanRequestBody.js +0 -47
- package/dist/serialization/resources/plans/client/requests/CreatePlanTraitRequestBody.d.ts +0 -14
- package/dist/serialization/resources/plans/client/requests/CreatePlanTraitRequestBody.js +0 -45
- package/dist/serialization/resources/plans/client/requests/UpdateAudienceRequestBody.d.ts +0 -15
- package/dist/serialization/resources/plans/client/requests/UpdateAudienceRequestBody.js +0 -46
- package/dist/serialization/resources/plans/client/requests/UpdateCompanyPlansRequestBody.js +0 -44
- package/dist/serialization/resources/plans/client/requests/UpdatePlanRequestBody.d.ts +0 -14
- package/dist/serialization/resources/plans/client/requests/UpdatePlanRequestBody.js +0 -45
- package/dist/serialization/resources/plans/client/requests/UpdatePlanTraitRequestBody.d.ts +0 -13
- package/dist/serialization/resources/plans/client/requests/UpdatePlanTraitRequestBody.js +0 -44
- package/dist/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.d.ts +0 -23
- package/dist/serialization/resources/plans/client/requests/UpsertBillingProductRequestBody.js +0 -54
- package/dist/serialization/resources/plans/client/requests/index.js +0 -17
- package/dist/serialization/resources/plans/index.js +0 -18
- package/dist/serialization/resources/plans/types/CountPlanTraitsParams.d.ts +0 -16
- package/dist/serialization/resources/plans/types/CountPlanTraitsParams.js +0 -47
- package/dist/serialization/resources/plans/types/CountPlanTraitsResponse.d.ts +0 -15
- package/dist/serialization/resources/plans/types/CountPlanTraitsResponse.js +0 -46
- package/dist/serialization/resources/plans/types/CountPlansParams.js +0 -53
- package/dist/serialization/resources/plans/types/CountPlansRequestPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/CountPlansRequestPlanType.js +0 -41
- package/dist/serialization/resources/plans/types/CountPlansResponse.js +0 -46
- package/dist/serialization/resources/plans/types/CountPlansResponseParamsPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/CountPlansResponseParamsPlanType.js +0 -41
- package/dist/serialization/resources/plans/types/CreatePlanRequestBodyPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/CreatePlanRequestBodyPlanType.js +0 -41
- package/dist/serialization/resources/plans/types/CreatePlanResponse.js +0 -45
- package/dist/serialization/resources/plans/types/CreatePlanTraitResponse.d.ts +0 -14
- package/dist/serialization/resources/plans/types/CreatePlanTraitResponse.js +0 -45
- package/dist/serialization/resources/plans/types/DeleteAudienceResponse.d.ts +0 -14
- package/dist/serialization/resources/plans/types/DeleteAudienceResponse.js +0 -45
- package/dist/serialization/resources/plans/types/DeletePlanResponse.js +0 -45
- package/dist/serialization/resources/plans/types/DeletePlanTraitResponse.d.ts +0 -14
- package/dist/serialization/resources/plans/types/DeletePlanTraitResponse.js +0 -45
- package/dist/serialization/resources/plans/types/GetAudienceResponse.d.ts +0 -14
- package/dist/serialization/resources/plans/types/GetAudienceResponse.js +0 -45
- package/dist/serialization/resources/plans/types/GetPlanResponse.js +0 -45
- package/dist/serialization/resources/plans/types/GetPlanTraitResponse.d.ts +0 -14
- package/dist/serialization/resources/plans/types/GetPlanTraitResponse.js +0 -45
- package/dist/serialization/resources/plans/types/ListPlanTraitsParams.d.ts +0 -16
- package/dist/serialization/resources/plans/types/ListPlanTraitsParams.js +0 -47
- package/dist/serialization/resources/plans/types/ListPlanTraitsResponse.d.ts +0 -15
- package/dist/serialization/resources/plans/types/ListPlanTraitsResponse.js +0 -46
- package/dist/serialization/resources/plans/types/ListPlansParams.js +0 -53
- package/dist/serialization/resources/plans/types/ListPlansRequestPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/ListPlansRequestPlanType.js +0 -41
- package/dist/serialization/resources/plans/types/ListPlansResponse.js +0 -46
- package/dist/serialization/resources/plans/types/ListPlansResponseParamsPlanType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/ListPlansResponseParamsPlanType.js +0 -41
- package/dist/serialization/resources/plans/types/UpdateAudienceResponse.d.ts +0 -14
- package/dist/serialization/resources/plans/types/UpdateAudienceResponse.js +0 -45
- package/dist/serialization/resources/plans/types/UpdateCompanyPlansResponse.js +0 -45
- package/dist/serialization/resources/plans/types/UpdatePlanResponse.js +0 -45
- package/dist/serialization/resources/plans/types/UpdatePlanTraitResponse.d.ts +0 -14
- package/dist/serialization/resources/plans/types/UpdatePlanTraitResponse.js +0 -45
- package/dist/serialization/resources/plans/types/UpsertBillingProductPlanResponse.js +0 -45
- package/dist/serialization/resources/plans/types/UpsertBillingProductRequestBodyChargeType.d.ts +0 -10
- package/dist/serialization/resources/plans/types/UpsertBillingProductRequestBodyChargeType.js +0 -41
- package/dist/serialization/resources/plans/types/index.js +0 -43
- package/dist/serialization/resources/webhooks/client/index.js +0 -17
- package/dist/serialization/resources/webhooks/client/requests/CreateWebhookRequestBody.js +0 -48
- package/dist/serialization/resources/webhooks/client/requests/UpdateWebhookRequestBody.js +0 -50
- package/dist/serialization/resources/webhooks/client/requests/index.js +0 -7
- package/dist/serialization/resources/webhooks/index.js +0 -18
- package/dist/serialization/resources/webhooks/types/CountWebhookEventsParams.js +0 -47
- package/dist/serialization/resources/webhooks/types/CountWebhookEventsResponse.js +0 -46
- package/dist/serialization/resources/webhooks/types/CountWebhooksParams.js +0 -45
- package/dist/serialization/resources/webhooks/types/CountWebhooksResponse.js +0 -46
- package/dist/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.d.ts +0 -10
- package/dist/serialization/resources/webhooks/types/CreateWebhookRequestBodyRequestTypesItem.js +0 -70
- package/dist/serialization/resources/webhooks/types/CreateWebhookResponse.js +0 -45
- package/dist/serialization/resources/webhooks/types/DeleteWebhookResponse.js +0 -45
- package/dist/serialization/resources/webhooks/types/GetWebhookEventResponse.js +0 -45
- package/dist/serialization/resources/webhooks/types/GetWebhookResponse.js +0 -45
- package/dist/serialization/resources/webhooks/types/ListWebhookEventsParams.js +0 -47
- package/dist/serialization/resources/webhooks/types/ListWebhookEventsResponse.js +0 -46
- package/dist/serialization/resources/webhooks/types/ListWebhooksParams.js +0 -45
- package/dist/serialization/resources/webhooks/types/ListWebhooksResponse.js +0 -46
- package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.d.ts +0 -10
- package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyRequestTypesItem.js +0 -70
- package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyStatus.d.ts +0 -10
- package/dist/serialization/resources/webhooks/types/UpdateWebhookRequestBodyStatus.js +0 -41
- package/dist/serialization/resources/webhooks/types/UpdateWebhookResponse.js +0 -45
- package/dist/serialization/resources/webhooks/types/index.js +0 -32
- package/dist/serialization/types/ApiError.js +0 -43
- package/dist/serialization/types/ApiKeyCreateResponseData.js +0 -51
- package/dist/serialization/types/ApiKeyRequestListResponseData.d.ts +0 -24
- package/dist/serialization/types/ApiKeyRequestListResponseData.js +0 -58
- package/dist/serialization/types/ApiKeyRequestResponseData.d.ts +0 -29
- package/dist/serialization/types/ApiKeyRequestResponseData.js +0 -61
- package/dist/serialization/types/ApiKeyResponseData.js +0 -50
- package/dist/serialization/types/AudienceRequestBody.d.ts +0 -18
- package/dist/serialization/types/AudienceRequestBody.js +0 -49
- package/dist/serialization/types/BillingCouponResponseData.js +0 -58
- package/dist/serialization/types/BillingCreditBundleResponseData.js +0 -55
- package/dist/serialization/types/BillingCreditGrantResponseData.js +0 -60
- package/dist/serialization/types/BillingCreditResponseData.js +0 -59
- package/dist/serialization/types/BillingCustomerResponseData.js +0 -50
- package/dist/serialization/types/BillingCustomerSubscription.js +0 -48
- package/dist/serialization/types/BillingCustomerWithSubscriptionsResponseData.js +0 -52
- package/dist/serialization/types/BillingMeterResponseData.js +0 -47
- package/dist/serialization/types/BillingPlanCreditGrantResponseData.js +0 -51
- package/dist/serialization/types/BillingPriceResponseData.js +0 -49
- package/dist/serialization/types/BillingPriceView.js +0 -64
- package/dist/serialization/types/BillingProductDetailResponseData.js +0 -57
- package/dist/serialization/types/BillingProductForSubscriptionResponseData.js +0 -62
- package/dist/serialization/types/BillingProductPlanResponseData.js +0 -53
- package/dist/serialization/types/BillingProductPriceResponseData.js +0 -57
- package/dist/serialization/types/BillingProductPriceTierResponseData.js +0 -46
- package/dist/serialization/types/BillingProductPricing.js +0 -53
- package/dist/serialization/types/BillingProductPricingUsageType.d.ts +0 -10
- package/dist/serialization/types/BillingProductPricingUsageType.js +0 -41
- package/dist/serialization/types/BillingProductResponseData.js +0 -54
- package/dist/serialization/types/BillingSubscriptionDiscount.js +0 -49
- package/dist/serialization/types/BillingSubscriptionDiscountView.js +0 -56
- package/dist/serialization/types/BillingSubscriptionResponseData.js +0 -60
- package/dist/serialization/types/BillingSubscriptionView.js +0 -68
- package/dist/serialization/types/ChangeSubscriptionInternalRequestBody.js +0 -55
- package/dist/serialization/types/ChangeSubscriptionRequestBody.js +0 -54
- package/dist/serialization/types/CheckFlagRequestBody.js +0 -44
- package/dist/serialization/types/CheckFlagResponseData.js +0 -56
- package/dist/serialization/types/CheckFlagsResponseData.js +0 -44
- package/dist/serialization/types/CheckoutDataResponseData.js +0 -59
- package/dist/serialization/types/CompanyCrmDealsResponseData.d.ts +0 -17
- package/dist/serialization/types/CompanyCrmDealsResponseData.js +0 -48
- package/dist/serialization/types/CompanyDetailResponseData.js +0 -68
- package/dist/serialization/types/CompanyEventPeriodMetricsResponseData.js +0 -53
- package/dist/serialization/types/CompanyMembershipDetailResponseData.js +0 -49
- package/dist/serialization/types/CompanyMembershipResponseData.js +0 -47
- package/dist/serialization/types/CompanyOverrideResponseData.js +0 -64
- package/dist/serialization/types/CompanyPlanDetailResponseData.js +0 -75
- package/dist/serialization/types/CompanyPlanWithBillingSubView.js +0 -51
- package/dist/serialization/types/CompanyResponseData.js +0 -49
- package/dist/serialization/types/CompanySubscriptionResponseData.js +0 -60
- package/dist/serialization/types/CompanyViewWithFeatureUsageResponseData.d.ts +0 -39
- package/dist/serialization/types/CompanyViewWithFeatureUsageResponseData.js +0 -70
- package/dist/serialization/types/CompatiblePlans.js +0 -44
- package/dist/serialization/types/CompatiblePlansResponseData.js +0 -44
- package/dist/serialization/types/ComponentCapabilities.js +0 -44
- package/dist/serialization/types/ComponentHydrateResponseData.js +0 -66
- package/dist/serialization/types/ComponentPreviewResponseData.js +0 -67
- package/dist/serialization/types/ComponentResponseData.js +0 -49
- package/dist/serialization/types/CountResponse.js +0 -43
- package/dist/serialization/types/CouponRequestBody.js +0 -50
- package/dist/serialization/types/CreateBillingPriceTierRequestBody.js +0 -47
- package/dist/serialization/types/CreateEntitlementReqCommon.js +0 -53
- package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriod.js +0 -41
- package/dist/serialization/types/CreateEntitlementReqCommonMetricPeriodMonthReset.js +0 -41
- package/dist/serialization/types/CreateEntitlementReqCommonValueType.d.ts +0 -10
- package/dist/serialization/types/CreateEntitlementReqCommonValueType.js +0 -41
- package/dist/serialization/types/CreateEventRequestBody.js +0 -47
- package/dist/serialization/types/CreateEventRequestBodyEventType.d.ts +0 -10
- package/dist/serialization/types/CreateEventRequestBodyEventType.js +0 -41
- package/dist/serialization/types/CreateFlagRequestBody.js +0 -49
- package/dist/serialization/types/CreateOrUpdateConditionGroupRequestBody.js +0 -47
- package/dist/serialization/types/CreateOrUpdateConditionRequestBody.js +0 -57
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyConditionType.js +0 -50
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriod.js +0 -41
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyMetricPeriodMonthReset.js +0 -41
- package/dist/serialization/types/CreateOrUpdateConditionRequestBodyOperator.js +0 -41
- package/dist/serialization/types/CreateOrUpdateFlagRequestBody.js +0 -50
- package/dist/serialization/types/CreateOrUpdateRuleRequestBody.js +0 -52
- package/dist/serialization/types/CreateOrUpdateRuleRequestBodyRuleType.js +0 -48
- package/dist/serialization/types/CreatePriceTierRequestBody.js +0 -46
- package/dist/serialization/types/CreditBundlePurchaseResponseData.js +0 -46
- package/dist/serialization/types/CreditUsageResponseData.d.ts +0 -17
- package/dist/serialization/types/CrmDealLineItem.d.ts +0 -24
- package/dist/serialization/types/CrmDealLineItem.js +0 -55
- package/dist/serialization/types/CrmDealResponseData.d.ts +0 -22
- package/dist/serialization/types/CrmDealResponseData.js +0 -53
- package/dist/serialization/types/CrmLineItemResponseData.d.ts +0 -17
- package/dist/serialization/types/CrmLineItemResponseData.js +0 -48
- package/dist/serialization/types/CrmProductResponseData.d.ts +0 -21
- package/dist/serialization/types/CrmProductResponseData.js +0 -52
- package/dist/serialization/types/CustomPlanConfig.js +0 -45
- package/dist/serialization/types/CustomPlanViewConfigResponseData.js +0 -45
- package/dist/serialization/types/DataExportResponseData.js +0 -51
- package/dist/serialization/types/Decimal.d.ts +0 -10
- package/dist/serialization/types/Decimal.js +0 -41
- package/dist/serialization/types/DeleteResponse.js +0 -43
- package/dist/serialization/types/EntitlementTriggerConfig.js +0 -43
- package/dist/serialization/types/EntitlementsInPlan.js +0 -44
- package/dist/serialization/types/EntityKeyDefinitionResponseData.js +0 -47
- package/dist/serialization/types/EntityKeyDetailResponseData.js +0 -53
- package/dist/serialization/types/EntityKeyResponseData.js +0 -51
- package/dist/serialization/types/EntityTraitDefinitionResponseData.js +0 -49
- package/dist/serialization/types/EntityTraitDetailResponseData.js +0 -50
- package/dist/serialization/types/EntityTraitResponseData.js +0 -48
- package/dist/serialization/types/EntityTraitValue.js +0 -44
- package/dist/serialization/types/EnvironmentDetailResponseData.js +0 -49
- package/dist/serialization/types/EnvironmentResponseData.js +0 -47
- package/dist/serialization/types/EventBody.js +0 -44
- package/dist/serialization/types/EventBodyFlagCheck.js +0 -52
- package/dist/serialization/types/EventBodyIdentify.js +0 -47
- package/dist/serialization/types/EventBodyIdentifyCompany.js +0 -45
- package/dist/serialization/types/EventBodyTrack.js +0 -47
- package/dist/serialization/types/EventDetailResponseData.js +0 -65
- package/dist/serialization/types/EventResponseData.js +0 -61
- package/dist/serialization/types/EventSummaryResponseData.js +0 -48
- package/dist/serialization/types/FeatureCompanyResponseData.js +0 -59
- package/dist/serialization/types/FeatureCompanyResponseDataAllocationType.d.ts +0 -10
- package/dist/serialization/types/FeatureCompanyResponseDataAllocationType.js +0 -41
- package/dist/serialization/types/FeatureCompanyUserResponseData.js +0 -60
- package/dist/serialization/types/FeatureCompanyUserResponseDataAllocationType.d.ts +0 -10
- package/dist/serialization/types/FeatureCompanyUserResponseDataAllocationType.js +0 -41
- package/dist/serialization/types/FeatureDetailResponseData.js +0 -63
- package/dist/serialization/types/FeatureResponseData.js +0 -55
- package/dist/serialization/types/FeatureUsageDataResponseData.d.ts +0 -27
- package/dist/serialization/types/FeatureUsageDataResponseData.js +0 -51
- package/dist/serialization/types/FeatureUsageDetailResponseData.js +0 -44
- package/dist/serialization/types/FeatureUsageResponseData.js +0 -62
- package/dist/serialization/types/FeatureUsageResponseDataAllocationType.d.ts +0 -10
- package/dist/serialization/types/FeatureUsageResponseDataAllocationType.js +0 -41
- package/dist/serialization/types/FlagDetailResponseData.js +0 -57
- package/dist/serialization/types/FlagResponseData.js +0 -52
- package/dist/serialization/types/GenericPreviewObject.js +0 -46
- package/dist/serialization/types/InvoiceRequestBody.js +0 -53
- package/dist/serialization/types/InvoiceResponseData.js +0 -59
- package/dist/serialization/types/IssueTemporaryAccessTokenResponseData.js +0 -50
- package/dist/serialization/types/KeysRequestBody.js +0 -43
- package/dist/serialization/types/MeterRequestBody.js +0 -45
- package/dist/serialization/types/OrderedPlansInGroup.js +0 -45
- package/dist/serialization/types/PaginationFilter.d.ts +0 -13
- package/dist/serialization/types/PaginationFilter.js +0 -44
- package/dist/serialization/types/PaymentMethodRequestBody.js +0 -53
- package/dist/serialization/types/PaymentMethodResponseData.js +0 -59
- package/dist/serialization/types/PlanAudienceDetailResponseData.d.ts +0 -25
- package/dist/serialization/types/PlanAudienceDetailResponseData.js +0 -56
- package/dist/serialization/types/PlanAudienceResponseData.d.ts +0 -21
- package/dist/serialization/types/PlanAudienceResponseData.js +0 -52
- package/dist/serialization/types/PlanChangeActorType.d.ts +0 -7
- package/dist/serialization/types/PlanDetailResponseData.js +0 -65
- package/dist/serialization/types/PlanEntitlementResponseData.js +0 -72
- package/dist/serialization/types/PlanEntitlementsOrder.js +0 -44
- package/dist/serialization/types/PlanGroupDetailResponseData.js +0 -55
- package/dist/serialization/types/PlanGroupPlanDetailResponseData.js +0 -71
- package/dist/serialization/types/PlanGroupPlanEntitlementsOrder.js +0 -45
- package/dist/serialization/types/PlanGroupResponseData.js +0 -51
- package/dist/serialization/types/PlanResponseData.js +0 -50
- package/dist/serialization/types/PlanTraitResponseData.js +0 -50
- package/dist/serialization/types/PreviewObject.js +0 -46
- package/dist/serialization/types/PreviewObjectResponseData.js +0 -46
- package/dist/serialization/types/PreviewSubscriptionChangeResponseData.js +0 -55
- package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.js +0 -52
- package/dist/serialization/types/PreviewSubscriptionUpcomingInvoiceLineItems.js +0 -47
- package/dist/serialization/types/QuickstartResp.js +0 -43
- package/dist/serialization/types/RawEventBatchResponseData.js +0 -44
- package/dist/serialization/types/RawEventResponseData.js +0 -47
- package/dist/serialization/types/RuleConditionDetailResponseData.js +0 -66
- package/dist/serialization/types/RuleConditionGroupDetailResponseData.js +0 -51
- package/dist/serialization/types/RuleConditionGroupResponseData.js +0 -49
- package/dist/serialization/types/RuleConditionResponseData.js +0 -61
- package/dist/serialization/types/RuleDetailResponseData.js +0 -56
- package/dist/serialization/types/RuleResponseData.js +0 -52
- package/dist/serialization/types/RulesDetailResponseData.js +0 -46
- package/dist/serialization/types/SegmentStatusResp.js +0 -45
- package/dist/serialization/types/StripeEmbedInfo.js +0 -44
- package/dist/serialization/types/TemporaryAccessTokenResponseData.js +0 -49
- package/dist/serialization/types/UpdateAddOnRequestBody.js +0 -44
- package/dist/serialization/types/UpdateCreditBundleRequestBody.js +0 -44
- package/dist/serialization/types/UpdateEntitlementReqCommon.js +0 -52
- package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriod.js +0 -41
- package/dist/serialization/types/UpdateEntitlementReqCommonMetricPeriodMonthReset.js +0 -41
- package/dist/serialization/types/UpdateEntitlementReqCommonValueType.d.ts +0 -10
- package/dist/serialization/types/UpdateEntitlementReqCommonValueType.js +0 -41
- package/dist/serialization/types/UpdatePayInAdvanceRequestBody.js +0 -44
- package/dist/serialization/types/UpdateRuleRequestBody.js +0 -49
- package/dist/serialization/types/UpsertCompanyRequestBody.js +0 -48
- package/dist/serialization/types/UpsertTraitRequestBody.js +0 -47
- package/dist/serialization/types/UpsertUserRequestBody.js +0 -54
- package/dist/serialization/types/UpsertUserSubRequestBody.js +0 -50
- package/dist/serialization/types/UsageBasedEntitlementRequestBody.js +0 -57
- package/dist/serialization/types/UsageBasedEntitlementRequestBodyPriceBehavior.d.ts +0 -10
- package/dist/serialization/types/UsageBasedEntitlementRequestBodyPriceBehavior.js +0 -41
- package/dist/serialization/types/UsageBasedEntitlementResponseData.js +0 -54
- package/dist/serialization/types/UserDetailResponseData.js +0 -55
- package/dist/serialization/types/UserResponseData.js +0 -48
- package/dist/serialization/types/WebhookEventDetailResponseData.js +0 -53
- package/dist/serialization/types/WebhookEventResponseData.js +0 -51
- package/dist/serialization/types/WebhookResponseData.js +0 -52
- package/dist/serialization/types/index.js +0 -188
- package/dist/webhooks.js +0 -170
- package/dist/wrapper.js +0 -178
- /package/dist/api/resources/{crm → planmigrations}/client/index.d.ts +0 -0
- /package/dist/{serialization/resources/crm → api/resources/scheduledcheckout}/client/index.d.ts +0 -0
|
@@ -1,261 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.object = object;
|
|
4
|
-
exports.getObjectUtils = getObjectUtils;
|
|
5
|
-
const Schema_1 = require("../../Schema");
|
|
6
|
-
const entries_1 = require("../../utils/entries");
|
|
7
|
-
const filterObject_1 = require("../../utils/filterObject");
|
|
8
|
-
const getErrorMessageForIncorrectType_1 = require("../../utils/getErrorMessageForIncorrectType");
|
|
9
|
-
const isPlainObject_1 = require("../../utils/isPlainObject");
|
|
10
|
-
const keys_1 = require("../../utils/keys");
|
|
11
|
-
const maybeSkipValidation_1 = require("../../utils/maybeSkipValidation");
|
|
12
|
-
const partition_1 = require("../../utils/partition");
|
|
13
|
-
const object_like_1 = require("../object-like");
|
|
14
|
-
const schema_utils_1 = require("../schema-utils");
|
|
15
|
-
const property_1 = require("./property");
|
|
16
|
-
function object(schemas) {
|
|
17
|
-
const baseSchema = {
|
|
18
|
-
_getRawProperties: () => Object.entries(schemas).map(([parsedKey, propertySchema]) => (0, property_1.isProperty)(propertySchema) ? propertySchema.rawKey : parsedKey),
|
|
19
|
-
_getParsedProperties: () => (0, keys_1.keys)(schemas),
|
|
20
|
-
parse: (raw, opts) => {
|
|
21
|
-
const rawKeyToProperty = {};
|
|
22
|
-
const requiredKeys = [];
|
|
23
|
-
for (const [parsedKey, schemaOrObjectProperty] of (0, entries_1.entries)(schemas)) {
|
|
24
|
-
const rawKey = (0, property_1.isProperty)(schemaOrObjectProperty) ? schemaOrObjectProperty.rawKey : parsedKey;
|
|
25
|
-
const valueSchema = (0, property_1.isProperty)(schemaOrObjectProperty)
|
|
26
|
-
? schemaOrObjectProperty.valueSchema
|
|
27
|
-
: schemaOrObjectProperty;
|
|
28
|
-
const property = {
|
|
29
|
-
rawKey,
|
|
30
|
-
parsedKey: parsedKey,
|
|
31
|
-
valueSchema,
|
|
32
|
-
};
|
|
33
|
-
rawKeyToProperty[rawKey] = property;
|
|
34
|
-
if (isSchemaRequired(valueSchema)) {
|
|
35
|
-
requiredKeys.push(rawKey);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
return validateAndTransformObject({
|
|
39
|
-
value: raw,
|
|
40
|
-
requiredKeys,
|
|
41
|
-
getProperty: (rawKey) => {
|
|
42
|
-
const property = rawKeyToProperty[rawKey];
|
|
43
|
-
if (property == null) {
|
|
44
|
-
return undefined;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
transformedKey: property.parsedKey,
|
|
48
|
-
transform: (propertyValue) => {
|
|
49
|
-
var _a;
|
|
50
|
-
return property.valueSchema.parse(propertyValue, Object.assign(Object.assign({}, opts), { breadcrumbsPrefix: [...((_a = opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix) !== null && _a !== void 0 ? _a : []), rawKey] }));
|
|
51
|
-
},
|
|
52
|
-
};
|
|
53
|
-
},
|
|
54
|
-
unrecognizedObjectKeys: opts === null || opts === void 0 ? void 0 : opts.unrecognizedObjectKeys,
|
|
55
|
-
skipValidation: opts === null || opts === void 0 ? void 0 : opts.skipValidation,
|
|
56
|
-
breadcrumbsPrefix: opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix,
|
|
57
|
-
omitUndefined: opts === null || opts === void 0 ? void 0 : opts.omitUndefined,
|
|
58
|
-
});
|
|
59
|
-
},
|
|
60
|
-
json: (parsed, opts) => {
|
|
61
|
-
const requiredKeys = [];
|
|
62
|
-
for (const [parsedKey, schemaOrObjectProperty] of (0, entries_1.entries)(schemas)) {
|
|
63
|
-
const valueSchema = (0, property_1.isProperty)(schemaOrObjectProperty)
|
|
64
|
-
? schemaOrObjectProperty.valueSchema
|
|
65
|
-
: schemaOrObjectProperty;
|
|
66
|
-
if (isSchemaRequired(valueSchema)) {
|
|
67
|
-
requiredKeys.push(parsedKey);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
return validateAndTransformObject({
|
|
71
|
-
value: parsed,
|
|
72
|
-
requiredKeys,
|
|
73
|
-
getProperty: (parsedKey) => {
|
|
74
|
-
const property = schemas[parsedKey];
|
|
75
|
-
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
|
76
|
-
if (property == null) {
|
|
77
|
-
return undefined;
|
|
78
|
-
}
|
|
79
|
-
if ((0, property_1.isProperty)(property)) {
|
|
80
|
-
return {
|
|
81
|
-
transformedKey: property.rawKey,
|
|
82
|
-
transform: (propertyValue) => {
|
|
83
|
-
var _a;
|
|
84
|
-
return property.valueSchema.json(propertyValue, Object.assign(Object.assign({}, opts), { breadcrumbsPrefix: [...((_a = opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix) !== null && _a !== void 0 ? _a : []), parsedKey] }));
|
|
85
|
-
},
|
|
86
|
-
};
|
|
87
|
-
}
|
|
88
|
-
else {
|
|
89
|
-
return {
|
|
90
|
-
transformedKey: parsedKey,
|
|
91
|
-
transform: (propertyValue) => {
|
|
92
|
-
var _a;
|
|
93
|
-
return property.json(propertyValue, Object.assign(Object.assign({}, opts), { breadcrumbsPrefix: [...((_a = opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix) !== null && _a !== void 0 ? _a : []), parsedKey] }));
|
|
94
|
-
},
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
},
|
|
98
|
-
unrecognizedObjectKeys: opts === null || opts === void 0 ? void 0 : opts.unrecognizedObjectKeys,
|
|
99
|
-
skipValidation: opts === null || opts === void 0 ? void 0 : opts.skipValidation,
|
|
100
|
-
breadcrumbsPrefix: opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix,
|
|
101
|
-
omitUndefined: opts === null || opts === void 0 ? void 0 : opts.omitUndefined,
|
|
102
|
-
});
|
|
103
|
-
},
|
|
104
|
-
getType: () => Schema_1.SchemaType.OBJECT,
|
|
105
|
-
};
|
|
106
|
-
return Object.assign(Object.assign(Object.assign(Object.assign({}, (0, maybeSkipValidation_1.maybeSkipValidation)(baseSchema)), (0, schema_utils_1.getSchemaUtils)(baseSchema)), (0, object_like_1.getObjectLikeUtils)(baseSchema)), getObjectUtils(baseSchema));
|
|
107
|
-
}
|
|
108
|
-
function validateAndTransformObject({ value, requiredKeys, getProperty, unrecognizedObjectKeys = "fail", skipValidation = false, breadcrumbsPrefix = [], }) {
|
|
109
|
-
if (!(0, isPlainObject_1.isPlainObject)(value)) {
|
|
110
|
-
return {
|
|
111
|
-
ok: false,
|
|
112
|
-
errors: [
|
|
113
|
-
{
|
|
114
|
-
path: breadcrumbsPrefix,
|
|
115
|
-
message: (0, getErrorMessageForIncorrectType_1.getErrorMessageForIncorrectType)(value, "object"),
|
|
116
|
-
},
|
|
117
|
-
],
|
|
118
|
-
};
|
|
119
|
-
}
|
|
120
|
-
const missingRequiredKeys = new Set(requiredKeys);
|
|
121
|
-
const errors = [];
|
|
122
|
-
const transformed = {};
|
|
123
|
-
for (const [preTransformedKey, preTransformedItemValue] of Object.entries(value)) {
|
|
124
|
-
const property = getProperty(preTransformedKey);
|
|
125
|
-
if (property != null) {
|
|
126
|
-
missingRequiredKeys.delete(preTransformedKey);
|
|
127
|
-
const value = property.transform(preTransformedItemValue);
|
|
128
|
-
if (value.ok) {
|
|
129
|
-
transformed[property.transformedKey] = value.value;
|
|
130
|
-
}
|
|
131
|
-
else {
|
|
132
|
-
transformed[preTransformedKey] = preTransformedItemValue;
|
|
133
|
-
errors.push(...value.errors);
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
else {
|
|
137
|
-
switch (unrecognizedObjectKeys) {
|
|
138
|
-
case "fail":
|
|
139
|
-
errors.push({
|
|
140
|
-
path: [...breadcrumbsPrefix, preTransformedKey],
|
|
141
|
-
message: `Unexpected key "${preTransformedKey}"`,
|
|
142
|
-
});
|
|
143
|
-
break;
|
|
144
|
-
case "strip":
|
|
145
|
-
break;
|
|
146
|
-
case "passthrough":
|
|
147
|
-
transformed[preTransformedKey] = preTransformedItemValue;
|
|
148
|
-
break;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
errors.push(...requiredKeys
|
|
153
|
-
.filter((key) => missingRequiredKeys.has(key))
|
|
154
|
-
.map((key) => ({
|
|
155
|
-
path: breadcrumbsPrefix,
|
|
156
|
-
message: `Missing required key "${key}"`,
|
|
157
|
-
})));
|
|
158
|
-
if (errors.length === 0 || skipValidation) {
|
|
159
|
-
return {
|
|
160
|
-
ok: true,
|
|
161
|
-
value: transformed,
|
|
162
|
-
};
|
|
163
|
-
}
|
|
164
|
-
else {
|
|
165
|
-
return {
|
|
166
|
-
ok: false,
|
|
167
|
-
errors,
|
|
168
|
-
};
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
function getObjectUtils(schema) {
|
|
172
|
-
return {
|
|
173
|
-
extend: (extension) => {
|
|
174
|
-
const baseSchema = {
|
|
175
|
-
_getParsedProperties: () => [...schema._getParsedProperties(), ...extension._getParsedProperties()],
|
|
176
|
-
_getRawProperties: () => [...schema._getRawProperties(), ...extension._getRawProperties()],
|
|
177
|
-
parse: (raw, opts) => {
|
|
178
|
-
return validateAndTransformExtendedObject({
|
|
179
|
-
extensionKeys: extension._getRawProperties(),
|
|
180
|
-
value: raw,
|
|
181
|
-
transformBase: (rawBase) => schema.parse(rawBase, opts),
|
|
182
|
-
transformExtension: (rawExtension) => extension.parse(rawExtension, opts),
|
|
183
|
-
});
|
|
184
|
-
},
|
|
185
|
-
json: (parsed, opts) => {
|
|
186
|
-
return validateAndTransformExtendedObject({
|
|
187
|
-
extensionKeys: extension._getParsedProperties(),
|
|
188
|
-
value: parsed,
|
|
189
|
-
transformBase: (parsedBase) => schema.json(parsedBase, opts),
|
|
190
|
-
transformExtension: (parsedExtension) => extension.json(parsedExtension, opts),
|
|
191
|
-
});
|
|
192
|
-
},
|
|
193
|
-
getType: () => Schema_1.SchemaType.OBJECT,
|
|
194
|
-
};
|
|
195
|
-
return Object.assign(Object.assign(Object.assign(Object.assign({}, baseSchema), (0, schema_utils_1.getSchemaUtils)(baseSchema)), (0, object_like_1.getObjectLikeUtils)(baseSchema)), getObjectUtils(baseSchema));
|
|
196
|
-
},
|
|
197
|
-
passthrough: () => {
|
|
198
|
-
const baseSchema = {
|
|
199
|
-
_getParsedProperties: () => schema._getParsedProperties(),
|
|
200
|
-
_getRawProperties: () => schema._getRawProperties(),
|
|
201
|
-
parse: (raw, opts) => {
|
|
202
|
-
const transformed = schema.parse(raw, Object.assign(Object.assign({}, opts), { unrecognizedObjectKeys: "passthrough" }));
|
|
203
|
-
if (!transformed.ok) {
|
|
204
|
-
return transformed;
|
|
205
|
-
}
|
|
206
|
-
return {
|
|
207
|
-
ok: true,
|
|
208
|
-
value: Object.assign(Object.assign({}, raw), transformed.value),
|
|
209
|
-
};
|
|
210
|
-
},
|
|
211
|
-
json: (parsed, opts) => {
|
|
212
|
-
const transformed = schema.json(parsed, Object.assign(Object.assign({}, opts), { unrecognizedObjectKeys: "passthrough" }));
|
|
213
|
-
if (!transformed.ok) {
|
|
214
|
-
return transformed;
|
|
215
|
-
}
|
|
216
|
-
return {
|
|
217
|
-
ok: true,
|
|
218
|
-
value: Object.assign(Object.assign({}, parsed), transformed.value),
|
|
219
|
-
};
|
|
220
|
-
},
|
|
221
|
-
getType: () => Schema_1.SchemaType.OBJECT,
|
|
222
|
-
};
|
|
223
|
-
return Object.assign(Object.assign(Object.assign(Object.assign({}, baseSchema), (0, schema_utils_1.getSchemaUtils)(baseSchema)), (0, object_like_1.getObjectLikeUtils)(baseSchema)), getObjectUtils(baseSchema));
|
|
224
|
-
},
|
|
225
|
-
};
|
|
226
|
-
}
|
|
227
|
-
function validateAndTransformExtendedObject({ extensionKeys, value, transformBase, transformExtension, }) {
|
|
228
|
-
const extensionPropertiesSet = new Set(extensionKeys);
|
|
229
|
-
const [extensionProperties, baseProperties] = (0, partition_1.partition)((0, keys_1.keys)(value), (key) => extensionPropertiesSet.has(key));
|
|
230
|
-
const transformedBase = transformBase((0, filterObject_1.filterObject)(value, baseProperties));
|
|
231
|
-
const transformedExtension = transformExtension((0, filterObject_1.filterObject)(value, extensionProperties));
|
|
232
|
-
if (transformedBase.ok && transformedExtension.ok) {
|
|
233
|
-
return {
|
|
234
|
-
ok: true,
|
|
235
|
-
value: Object.assign(Object.assign({}, transformedBase.value), transformedExtension.value),
|
|
236
|
-
};
|
|
237
|
-
}
|
|
238
|
-
else {
|
|
239
|
-
return {
|
|
240
|
-
ok: false,
|
|
241
|
-
errors: [
|
|
242
|
-
...(transformedBase.ok ? [] : transformedBase.errors),
|
|
243
|
-
...(transformedExtension.ok ? [] : transformedExtension.errors),
|
|
244
|
-
],
|
|
245
|
-
};
|
|
246
|
-
}
|
|
247
|
-
}
|
|
248
|
-
function isSchemaRequired(schema) {
|
|
249
|
-
return !isSchemaOptional(schema);
|
|
250
|
-
}
|
|
251
|
-
function isSchemaOptional(schema) {
|
|
252
|
-
switch (schema.getType()) {
|
|
253
|
-
case Schema_1.SchemaType.ANY:
|
|
254
|
-
case Schema_1.SchemaType.UNKNOWN:
|
|
255
|
-
case Schema_1.SchemaType.OPTIONAL:
|
|
256
|
-
case Schema_1.SchemaType.OPTIONAL_NULLABLE:
|
|
257
|
-
return true;
|
|
258
|
-
default:
|
|
259
|
-
return false;
|
|
260
|
-
}
|
|
261
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.objectWithoutOptionalProperties = objectWithoutOptionalProperties;
|
|
4
|
-
const object_1 = require("./object");
|
|
5
|
-
function objectWithoutOptionalProperties(schemas) {
|
|
6
|
-
return (0, object_1.object)(schemas);
|
|
7
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.property = property;
|
|
4
|
-
exports.isProperty = isProperty;
|
|
5
|
-
function property(rawKey, valueSchema) {
|
|
6
|
-
return {
|
|
7
|
-
rawKey,
|
|
8
|
-
valueSchema,
|
|
9
|
-
isProperty: true,
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
function isProperty(maybeProperty) {
|
|
13
|
-
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
|
|
14
|
-
return maybeProperty.isProperty;
|
|
15
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getObjectLikeUtils = getObjectLikeUtils;
|
|
4
|
-
exports.withParsedProperties = withParsedProperties;
|
|
5
|
-
const filterObject_1 = require("../../utils/filterObject");
|
|
6
|
-
const getErrorMessageForIncorrectType_1 = require("../../utils/getErrorMessageForIncorrectType");
|
|
7
|
-
const isPlainObject_1 = require("../../utils/isPlainObject");
|
|
8
|
-
const schema_utils_1 = require("../schema-utils");
|
|
9
|
-
function getObjectLikeUtils(schema) {
|
|
10
|
-
return {
|
|
11
|
-
withParsedProperties: (properties) => withParsedProperties(schema, properties),
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* object-like utils are defined in one file to resolve issues with circular imports
|
|
16
|
-
*/
|
|
17
|
-
function withParsedProperties(objectLike, properties) {
|
|
18
|
-
const objectSchema = {
|
|
19
|
-
parse: (raw, opts) => {
|
|
20
|
-
const parsedObject = objectLike.parse(raw, opts);
|
|
21
|
-
if (!parsedObject.ok) {
|
|
22
|
-
return parsedObject;
|
|
23
|
-
}
|
|
24
|
-
const additionalProperties = Object.entries(properties).reduce((processed, [key, value]) => {
|
|
25
|
-
return Object.assign(Object.assign({}, processed), { [key]: typeof value === "function" ? value(parsedObject.value) : value });
|
|
26
|
-
}, {});
|
|
27
|
-
return {
|
|
28
|
-
ok: true,
|
|
29
|
-
value: Object.assign(Object.assign({}, parsedObject.value), additionalProperties),
|
|
30
|
-
};
|
|
31
|
-
},
|
|
32
|
-
json: (parsed, opts) => {
|
|
33
|
-
var _a;
|
|
34
|
-
if (!(0, isPlainObject_1.isPlainObject)(parsed)) {
|
|
35
|
-
return {
|
|
36
|
-
ok: false,
|
|
37
|
-
errors: [
|
|
38
|
-
{
|
|
39
|
-
path: (_a = opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix) !== null && _a !== void 0 ? _a : [],
|
|
40
|
-
message: (0, getErrorMessageForIncorrectType_1.getErrorMessageForIncorrectType)(parsed, "object"),
|
|
41
|
-
},
|
|
42
|
-
],
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
// strip out added properties
|
|
46
|
-
const addedPropertyKeys = new Set(Object.keys(properties));
|
|
47
|
-
const parsedWithoutAddedProperties = (0, filterObject_1.filterObject)(parsed, Object.keys(parsed).filter((key) => !addedPropertyKeys.has(key)));
|
|
48
|
-
return objectLike.json(parsedWithoutAddedProperties, opts);
|
|
49
|
-
},
|
|
50
|
-
getType: () => objectLike.getType(),
|
|
51
|
-
};
|
|
52
|
-
return Object.assign(Object.assign(Object.assign({}, objectSchema), (0, schema_utils_1.getSchemaUtils)(objectSchema)), getObjectLikeUtils(objectSchema));
|
|
53
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.withParsedProperties = exports.getObjectLikeUtils = void 0;
|
|
4
|
-
var getObjectLikeUtils_1 = require("./getObjectLikeUtils");
|
|
5
|
-
Object.defineProperty(exports, "getObjectLikeUtils", { enumerable: true, get: function () { return getObjectLikeUtils_1.getObjectLikeUtils; } });
|
|
6
|
-
Object.defineProperty(exports, "withParsedProperties", { enumerable: true, get: function () { return getObjectLikeUtils_1.withParsedProperties; } });
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.any = void 0;
|
|
4
|
-
const Schema_1 = require("../../Schema");
|
|
5
|
-
const createIdentitySchemaCreator_1 = require("../../utils/createIdentitySchemaCreator");
|
|
6
|
-
exports.any = (0, createIdentitySchemaCreator_1.createIdentitySchemaCreator)(Schema_1.SchemaType.ANY, (value) => ({ ok: true, value }));
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.boolean = void 0;
|
|
4
|
-
const Schema_1 = require("../../Schema");
|
|
5
|
-
const createIdentitySchemaCreator_1 = require("../../utils/createIdentitySchemaCreator");
|
|
6
|
-
const getErrorMessageForIncorrectType_1 = require("../../utils/getErrorMessageForIncorrectType");
|
|
7
|
-
exports.boolean = (0, createIdentitySchemaCreator_1.createIdentitySchemaCreator)(Schema_1.SchemaType.BOOLEAN, (value, { breadcrumbsPrefix = [] } = {}) => {
|
|
8
|
-
if (typeof value === "boolean") {
|
|
9
|
-
return {
|
|
10
|
-
ok: true,
|
|
11
|
-
value,
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
else {
|
|
15
|
-
return {
|
|
16
|
-
ok: false,
|
|
17
|
-
errors: [
|
|
18
|
-
{
|
|
19
|
-
path: breadcrumbsPrefix,
|
|
20
|
-
message: (0, getErrorMessageForIncorrectType_1.getErrorMessageForIncorrectType)(value, "boolean"),
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
});
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.unknown = exports.string = exports.number = exports.boolean = exports.any = void 0;
|
|
4
|
-
var any_1 = require("./any");
|
|
5
|
-
Object.defineProperty(exports, "any", { enumerable: true, get: function () { return any_1.any; } });
|
|
6
|
-
var boolean_1 = require("./boolean");
|
|
7
|
-
Object.defineProperty(exports, "boolean", { enumerable: true, get: function () { return boolean_1.boolean; } });
|
|
8
|
-
var number_1 = require("./number");
|
|
9
|
-
Object.defineProperty(exports, "number", { enumerable: true, get: function () { return number_1.number; } });
|
|
10
|
-
var string_1 = require("./string");
|
|
11
|
-
Object.defineProperty(exports, "string", { enumerable: true, get: function () { return string_1.string; } });
|
|
12
|
-
var unknown_1 = require("./unknown");
|
|
13
|
-
Object.defineProperty(exports, "unknown", { enumerable: true, get: function () { return unknown_1.unknown; } });
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.number = void 0;
|
|
4
|
-
const Schema_1 = require("../../Schema");
|
|
5
|
-
const createIdentitySchemaCreator_1 = require("../../utils/createIdentitySchemaCreator");
|
|
6
|
-
const getErrorMessageForIncorrectType_1 = require("../../utils/getErrorMessageForIncorrectType");
|
|
7
|
-
exports.number = (0, createIdentitySchemaCreator_1.createIdentitySchemaCreator)(Schema_1.SchemaType.NUMBER, (value, { breadcrumbsPrefix = [] } = {}) => {
|
|
8
|
-
if (typeof value === "number") {
|
|
9
|
-
return {
|
|
10
|
-
ok: true,
|
|
11
|
-
value,
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
else {
|
|
15
|
-
return {
|
|
16
|
-
ok: false,
|
|
17
|
-
errors: [
|
|
18
|
-
{
|
|
19
|
-
path: breadcrumbsPrefix,
|
|
20
|
-
message: (0, getErrorMessageForIncorrectType_1.getErrorMessageForIncorrectType)(value, "number"),
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
});
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.string = void 0;
|
|
4
|
-
const Schema_1 = require("../../Schema");
|
|
5
|
-
const createIdentitySchemaCreator_1 = require("../../utils/createIdentitySchemaCreator");
|
|
6
|
-
const getErrorMessageForIncorrectType_1 = require("../../utils/getErrorMessageForIncorrectType");
|
|
7
|
-
exports.string = (0, createIdentitySchemaCreator_1.createIdentitySchemaCreator)(Schema_1.SchemaType.STRING, (value, { breadcrumbsPrefix = [] } = {}) => {
|
|
8
|
-
if (typeof value === "string") {
|
|
9
|
-
return {
|
|
10
|
-
ok: true,
|
|
11
|
-
value,
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
else {
|
|
15
|
-
return {
|
|
16
|
-
ok: false,
|
|
17
|
-
errors: [
|
|
18
|
-
{
|
|
19
|
-
path: breadcrumbsPrefix,
|
|
20
|
-
message: (0, getErrorMessageForIncorrectType_1.getErrorMessageForIncorrectType)(value, "string"),
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
});
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.unknown = void 0;
|
|
4
|
-
const Schema_1 = require("../../Schema");
|
|
5
|
-
const createIdentitySchemaCreator_1 = require("../../utils/createIdentitySchemaCreator");
|
|
6
|
-
exports.unknown = (0, createIdentitySchemaCreator_1.createIdentitySchemaCreator)(Schema_1.SchemaType.UNKNOWN, (value) => ({ ok: true, value }));
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.record = record;
|
|
4
|
-
const Schema_1 = require("../../Schema");
|
|
5
|
-
const entries_1 = require("../../utils/entries");
|
|
6
|
-
const getErrorMessageForIncorrectType_1 = require("../../utils/getErrorMessageForIncorrectType");
|
|
7
|
-
const isPlainObject_1 = require("../../utils/isPlainObject");
|
|
8
|
-
const maybeSkipValidation_1 = require("../../utils/maybeSkipValidation");
|
|
9
|
-
const schema_utils_1 = require("../schema-utils");
|
|
10
|
-
function record(keySchema, valueSchema) {
|
|
11
|
-
const baseSchema = {
|
|
12
|
-
parse: (raw, opts) => {
|
|
13
|
-
return validateAndTransformRecord({
|
|
14
|
-
value: raw,
|
|
15
|
-
isKeyNumeric: keySchema.getType() === Schema_1.SchemaType.NUMBER,
|
|
16
|
-
transformKey: (key) => {
|
|
17
|
-
var _a;
|
|
18
|
-
return keySchema.parse(key, Object.assign(Object.assign({}, opts), { breadcrumbsPrefix: [...((_a = opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix) !== null && _a !== void 0 ? _a : []), `${key} (key)`] }));
|
|
19
|
-
},
|
|
20
|
-
transformValue: (value, key) => {
|
|
21
|
-
var _a;
|
|
22
|
-
return valueSchema.parse(value, Object.assign(Object.assign({}, opts), { breadcrumbsPrefix: [...((_a = opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix) !== null && _a !== void 0 ? _a : []), `${key}`] }));
|
|
23
|
-
},
|
|
24
|
-
breadcrumbsPrefix: opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix,
|
|
25
|
-
});
|
|
26
|
-
},
|
|
27
|
-
json: (parsed, opts) => {
|
|
28
|
-
return validateAndTransformRecord({
|
|
29
|
-
value: parsed,
|
|
30
|
-
isKeyNumeric: keySchema.getType() === Schema_1.SchemaType.NUMBER,
|
|
31
|
-
transformKey: (key) => {
|
|
32
|
-
var _a;
|
|
33
|
-
return keySchema.json(key, Object.assign(Object.assign({}, opts), { breadcrumbsPrefix: [...((_a = opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix) !== null && _a !== void 0 ? _a : []), `${key} (key)`] }));
|
|
34
|
-
},
|
|
35
|
-
transformValue: (value, key) => {
|
|
36
|
-
var _a;
|
|
37
|
-
return valueSchema.json(value, Object.assign(Object.assign({}, opts), { breadcrumbsPrefix: [...((_a = opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix) !== null && _a !== void 0 ? _a : []), `${key}`] }));
|
|
38
|
-
},
|
|
39
|
-
breadcrumbsPrefix: opts === null || opts === void 0 ? void 0 : opts.breadcrumbsPrefix,
|
|
40
|
-
});
|
|
41
|
-
},
|
|
42
|
-
getType: () => Schema_1.SchemaType.RECORD,
|
|
43
|
-
};
|
|
44
|
-
return Object.assign(Object.assign({}, (0, maybeSkipValidation_1.maybeSkipValidation)(baseSchema)), (0, schema_utils_1.getSchemaUtils)(baseSchema));
|
|
45
|
-
}
|
|
46
|
-
function validateAndTransformRecord({ value, isKeyNumeric, transformKey, transformValue, breadcrumbsPrefix = [], }) {
|
|
47
|
-
if (!(0, isPlainObject_1.isPlainObject)(value)) {
|
|
48
|
-
return {
|
|
49
|
-
ok: false,
|
|
50
|
-
errors: [
|
|
51
|
-
{
|
|
52
|
-
path: breadcrumbsPrefix,
|
|
53
|
-
message: (0, getErrorMessageForIncorrectType_1.getErrorMessageForIncorrectType)(value, "object"),
|
|
54
|
-
},
|
|
55
|
-
],
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
return (0, entries_1.entries)(value).reduce((accPromise, [stringKey, value]) => {
|
|
59
|
-
if (value === undefined) {
|
|
60
|
-
return accPromise;
|
|
61
|
-
}
|
|
62
|
-
const acc = accPromise;
|
|
63
|
-
let key = stringKey;
|
|
64
|
-
if (isKeyNumeric) {
|
|
65
|
-
const numberKey = stringKey.length > 0 ? Number(stringKey) : NaN;
|
|
66
|
-
if (!isNaN(numberKey)) {
|
|
67
|
-
key = numberKey;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
const transformedKey = transformKey(key);
|
|
71
|
-
const transformedValue = transformValue(value, key);
|
|
72
|
-
if (acc.ok && transformedKey.ok && transformedValue.ok) {
|
|
73
|
-
return {
|
|
74
|
-
ok: true,
|
|
75
|
-
value: Object.assign(Object.assign({}, acc.value), { [transformedKey.value]: transformedValue.value }),
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
const errors = [];
|
|
79
|
-
if (!acc.ok) {
|
|
80
|
-
errors.push(...acc.errors);
|
|
81
|
-
}
|
|
82
|
-
if (!transformedKey.ok) {
|
|
83
|
-
errors.push(...transformedKey.errors);
|
|
84
|
-
}
|
|
85
|
-
if (!transformedValue.ok) {
|
|
86
|
-
errors.push(...transformedValue.errors);
|
|
87
|
-
}
|
|
88
|
-
return {
|
|
89
|
-
ok: false,
|
|
90
|
-
errors,
|
|
91
|
-
};
|
|
92
|
-
}, { ok: true, value: {} });
|
|
93
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.JsonError = void 0;
|
|
4
|
-
const stringifyValidationErrors_1 = require("./stringifyValidationErrors");
|
|
5
|
-
class JsonError extends Error {
|
|
6
|
-
constructor(errors) {
|
|
7
|
-
super(errors.map(stringifyValidationErrors_1.stringifyValidationError).join("; "));
|
|
8
|
-
this.errors = errors;
|
|
9
|
-
Object.setPrototypeOf(this, JsonError.prototype);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.JsonError = JsonError;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ParseError = void 0;
|
|
4
|
-
const stringifyValidationErrors_1 = require("./stringifyValidationErrors");
|
|
5
|
-
class ParseError extends Error {
|
|
6
|
-
constructor(errors) {
|
|
7
|
-
super(errors.map(stringifyValidationErrors_1.stringifyValidationError).join("; "));
|
|
8
|
-
this.errors = errors;
|
|
9
|
-
Object.setPrototypeOf(this, ParseError.prototype);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.ParseError = ParseError;
|