@schematichq/schematic-typescript-node 1.6.2 → 1.6.4

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.
Files changed (157) hide show
  1. package/README.md +18 -3
  2. package/dist/api/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +1 -0
  3. package/dist/api/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +1 -0
  4. package/dist/api/resources/credits/client/Client.d.ts +24 -4
  5. package/dist/api/resources/credits/client/requests/AcquireCreditLeaseRequestBody.d.ts +2 -0
  6. package/dist/api/resources/credits/client/requests/CountCreditEventLedgerRequest.d.ts +1 -1
  7. package/dist/api/resources/credits/client/requests/CreateCreditSpendPolicyRequestBody.d.ts +8 -4
  8. package/dist/api/resources/credits/client/requests/ExtendCreditLeaseRequestBody.d.ts +2 -0
  9. package/dist/api/resources/credits/client/requests/GetCreditSpendPolicyUsageRequest.d.ts +13 -0
  10. package/dist/api/resources/credits/client/requests/ListCreditEventLedgerRequest.d.ts +1 -1
  11. package/dist/api/resources/credits/client/requests/UpdateCreditSpendPolicyRequestBody.d.ts +3 -0
  12. package/dist/api/resources/credits/client/requests/index.d.ts +1 -0
  13. package/dist/api/resources/credits/types/GetCreditSpendPolicyUsageParams.d.ts +8 -0
  14. package/dist/api/resources/credits/types/GetCreditSpendPolicyUsageResponse.d.ts +6 -0
  15. package/dist/api/resources/credits/types/index.d.ts +2 -0
  16. package/dist/api/resources/entitlements/client/Client.d.ts +69 -0
  17. package/dist/api/resources/entitlements/client/requests/CountCompanyUserUsageRequest.d.ts +29 -0
  18. package/dist/api/resources/entitlements/client/requests/CreateBillingLinkedPlanEntitlementRequestBody.d.ts +1 -1
  19. package/dist/api/resources/entitlements/client/requests/CreatePlanEntitlementRequestBody.d.ts +1 -1
  20. package/dist/api/resources/entitlements/client/requests/GetCompanyUserUsageMetricsRequest.d.ts +16 -0
  21. package/dist/api/resources/entitlements/client/requests/ListCompanyUserUsageRequest.d.ts +29 -0
  22. package/dist/api/resources/entitlements/client/requests/UpdatePlanEntitlementRequestBody.d.ts +1 -1
  23. package/dist/api/resources/entitlements/client/requests/index.d.ts +3 -0
  24. package/dist/api/resources/entitlements/types/CountCompanyUserUsageParams.d.ts +20 -0
  25. package/dist/api/resources/entitlements/types/CountCompanyUserUsageResponse.d.ts +6 -0
  26. package/dist/api/resources/entitlements/types/GetCompanyUserUsageMetricsParams.d.ts +11 -0
  27. package/dist/api/resources/entitlements/types/GetCompanyUserUsageMetricsResponse.d.ts +6 -0
  28. package/dist/api/resources/entitlements/types/ListCompanyUserUsageParams.d.ts +20 -0
  29. package/dist/api/resources/entitlements/types/ListCompanyUserUsageResponse.d.ts +6 -0
  30. package/dist/api/resources/entitlements/types/index.d.ts +6 -0
  31. package/dist/api/resources/plangroups/client/Client.d.ts +2 -0
  32. package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +2 -0
  33. package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +2 -0
  34. package/dist/api/resources/planmigrations/client/Client.d.ts +2 -0
  35. package/dist/api/resources/planmigrations/client/requests/CountMigrationsRequest.d.ts +2 -0
  36. package/dist/api/resources/planmigrations/client/requests/CreateMigrationInput.d.ts +3 -0
  37. package/dist/api/resources/planmigrations/client/requests/ListMigrationsRequest.d.ts +2 -0
  38. package/dist/api/resources/planmigrations/types/CountMigrationsParams.d.ts +1 -0
  39. package/dist/api/resources/planmigrations/types/ListMigrationsParams.d.ts +1 -0
  40. package/dist/api/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +5 -0
  41. package/dist/api/resources/plans/client/requests/RetryCustomPlanBillingRequestBody.d.ts +2 -0
  42. package/dist/api/types/CaptureRawEvent.d.ts +2 -0
  43. package/dist/api/types/ChangeSubscriptionInternalRequestBody.d.ts +2 -0
  44. package/dist/api/types/ChangeSubscriptionRequestBody.d.ts +2 -0
  45. package/dist/api/types/CheckFlagsResponseData.d.ts +2 -0
  46. package/dist/api/types/CompanyDetailResponseData.d.ts +1 -0
  47. package/dist/api/types/CompanyFeatureUsageExportMetadataVisibleColumnsItem.d.ts +1 -0
  48. package/dist/api/types/CompanyPlanDetailResponseData.d.ts +1 -0
  49. package/dist/api/types/CompanyUserUsageMetricsResponseData.d.ts +11 -0
  50. package/dist/api/types/CompanyUserUsageResponseData.d.ts +15 -0
  51. package/dist/api/types/CompanyUserUsageRowResponseData.d.ts +13 -0
  52. package/dist/api/types/ComponentDisplaySettings.d.ts +1 -0
  53. package/dist/api/types/ComponentSettingsResponseData.d.ts +1 -0
  54. package/dist/api/types/CreateEntitlementInBundleRequestBody.d.ts +1 -1
  55. package/dist/api/types/CreditEventLedgerResponseData.d.ts +4 -1
  56. package/dist/api/types/CreditEventType.d.ts +3 -0
  57. package/dist/api/types/CreditLedgerEntryKind.d.ts +10 -0
  58. package/dist/api/types/CreditSpendPolicy.d.ts +21 -0
  59. package/dist/api/types/CreditSpendPolicyResponseData.d.ts +9 -0
  60. package/dist/api/types/CreditSpendWindow.d.ts +6 -0
  61. package/dist/api/types/CreditSpendWindowUnit.d.ts +6 -0
  62. package/dist/api/types/CustomPlanBillingResponseData.d.ts +2 -0
  63. package/dist/api/types/EnvironmentDetailResponseData.d.ts +1 -0
  64. package/dist/api/types/EnvironmentResponseData.d.ts +1 -0
  65. package/dist/api/types/EstimatedPlanTotal.d.ts +6 -0
  66. package/dist/api/types/InvoiceRequestBody.d.ts +1 -0
  67. package/dist/api/types/InvoiceResponseData.d.ts +2 -0
  68. package/dist/api/types/ManagePlanRequest.d.ts +2 -0
  69. package/dist/api/types/PendingMigrationResponseData.d.ts +8 -0
  70. package/dist/api/types/PlanEntitlementResponseData.d.ts +1 -1
  71. package/dist/api/types/PlanVersionMigrationResponseData.d.ts +1 -0
  72. package/dist/api/types/PlanVersionMigrationStrategy.d.ts +1 -0
  73. package/dist/api/types/PreviewSubscriptionFinanceResponseData.d.ts +2 -0
  74. package/dist/api/types/RulesEngineSchemaVersion.d.ts +1 -1
  75. package/dist/api/types/RulesengineCompany.d.ts +1 -0
  76. package/dist/api/types/RulesengineComparableOperator.d.ts +11 -0
  77. package/dist/api/types/RulesengineCondition.d.ts +1 -1
  78. package/dist/api/types/RulesengineCreditSpendPolicy.d.ts +21 -0
  79. package/dist/api/types/RulesengineCreditSpendPolicyScope.d.ts +6 -0
  80. package/dist/api/types/RulesengineCreditSpendWindow.d.ts +6 -0
  81. package/dist/api/types/RulesengineUser.d.ts +1 -0
  82. package/dist/api/types/UpcomingInvoiceResponseData.d.ts +2 -0
  83. package/dist/api/types/UsageBasedEntitlementRequestBody.d.ts +1 -1
  84. package/dist/api/types/UsageBasedEntitlementResponseData.d.ts +1 -1
  85. package/dist/api/types/UserUsageMetric.d.ts +5 -0
  86. package/dist/api/types/index.d.ts +13 -0
  87. package/dist/datastream/datastream-client.d.ts +2 -2
  88. package/dist/index.js +9 -9
  89. package/dist/serialization/resources/accounts/client/requests/UpdateEnvironmentRequestBody.d.ts +1 -0
  90. package/dist/serialization/resources/billing/client/requests/CreateInvoiceRequestBody.d.ts +1 -0
  91. package/dist/serialization/resources/credits/client/requests/AcquireCreditLeaseRequestBody.d.ts +1 -0
  92. package/dist/serialization/resources/credits/client/requests/CreateCreditSpendPolicyRequestBody.d.ts +4 -1
  93. package/dist/serialization/resources/credits/client/requests/ExtendCreditLeaseRequestBody.d.ts +1 -0
  94. package/dist/serialization/resources/credits/client/requests/UpdateCreditSpendPolicyRequestBody.d.ts +3 -0
  95. package/dist/serialization/resources/credits/types/GetCreditSpendPolicyUsageParams.d.ts +11 -0
  96. package/dist/serialization/resources/credits/types/GetCreditSpendPolicyUsageResponse.d.ts +12 -0
  97. package/dist/serialization/resources/credits/types/index.d.ts +2 -0
  98. package/dist/serialization/resources/entitlements/types/CountCompanyUserUsageParams.d.ts +16 -0
  99. package/dist/serialization/resources/entitlements/types/CountCompanyUserUsageResponse.d.ts +12 -0
  100. package/dist/serialization/resources/entitlements/types/GetCompanyUserUsageMetricsParams.d.ts +11 -0
  101. package/dist/serialization/resources/entitlements/types/GetCompanyUserUsageMetricsResponse.d.ts +12 -0
  102. package/dist/serialization/resources/entitlements/types/ListCompanyUserUsageParams.d.ts +16 -0
  103. package/dist/serialization/resources/entitlements/types/ListCompanyUserUsageResponse.d.ts +12 -0
  104. package/dist/serialization/resources/entitlements/types/index.d.ts +6 -0
  105. package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +1 -0
  106. package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +1 -0
  107. package/dist/serialization/resources/planmigrations/client/requests/CreateMigrationInput.d.ts +1 -0
  108. package/dist/serialization/resources/planmigrations/types/CountMigrationsParams.d.ts +1 -0
  109. package/dist/serialization/resources/planmigrations/types/ListMigrationsParams.d.ts +1 -0
  110. package/dist/serialization/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +2 -0
  111. package/dist/serialization/resources/plans/client/requests/RetryCustomPlanBillingRequestBody.d.ts +1 -0
  112. package/dist/serialization/types/CaptureRawEvent.d.ts +2 -0
  113. package/dist/serialization/types/ChangeSubscriptionInternalRequestBody.d.ts +1 -0
  114. package/dist/serialization/types/ChangeSubscriptionRequestBody.d.ts +1 -0
  115. package/dist/serialization/types/CheckFlagsResponseData.d.ts +2 -0
  116. package/dist/serialization/types/CompanyDetailResponseData.d.ts +1 -0
  117. package/dist/serialization/types/CompanyFeatureUsageExportMetadataVisibleColumnsItem.d.ts +1 -1
  118. package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +2 -0
  119. package/dist/serialization/types/CompanyUserUsageMetricsResponseData.d.ts +13 -0
  120. package/dist/serialization/types/CompanyUserUsageResponseData.d.ts +15 -0
  121. package/dist/serialization/types/CompanyUserUsageRowResponseData.d.ts +14 -0
  122. package/dist/serialization/types/ComponentDisplaySettings.d.ts +1 -0
  123. package/dist/serialization/types/ComponentSettingsResponseData.d.ts +1 -0
  124. package/dist/serialization/types/CreditEventLedgerResponseData.d.ts +5 -1
  125. package/dist/serialization/types/CreditEventType.d.ts +1 -1
  126. package/dist/serialization/types/CreditLedgerEntryKind.d.ts +7 -0
  127. package/dist/serialization/types/CreditSpendPolicy.d.ts +19 -0
  128. package/dist/serialization/types/CreditSpendPolicyResponseData.d.ts +7 -0
  129. package/dist/serialization/types/CreditSpendWindow.d.ts +10 -0
  130. package/dist/serialization/types/CreditSpendWindowUnit.d.ts +7 -0
  131. package/dist/serialization/types/CustomPlanBillingResponseData.d.ts +1 -0
  132. package/dist/serialization/types/EnvironmentDetailResponseData.d.ts +1 -0
  133. package/dist/serialization/types/EnvironmentResponseData.d.ts +1 -0
  134. package/dist/serialization/types/EstimatedPlanTotal.d.ts +12 -0
  135. package/dist/serialization/types/InvoiceRequestBody.d.ts +1 -0
  136. package/dist/serialization/types/InvoiceResponseData.d.ts +1 -0
  137. package/dist/serialization/types/ManagePlanRequest.d.ts +1 -0
  138. package/dist/serialization/types/PendingMigrationResponseData.d.ts +5 -0
  139. package/dist/serialization/types/PlanVersionMigrationResponseData.d.ts +1 -0
  140. package/dist/serialization/types/PlanVersionMigrationStrategy.d.ts +1 -1
  141. package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +1 -0
  142. package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +1 -1
  143. package/dist/serialization/types/RulesengineCompany.d.ts +2 -0
  144. package/dist/serialization/types/RulesengineComparableOperator.d.ts +7 -0
  145. package/dist/serialization/types/RulesengineCondition.d.ts +2 -2
  146. package/dist/serialization/types/RulesengineCreditSpendPolicy.d.ts +19 -0
  147. package/dist/serialization/types/RulesengineCreditSpendPolicyScope.d.ts +7 -0
  148. package/dist/serialization/types/RulesengineCreditSpendWindow.d.ts +10 -0
  149. package/dist/serialization/types/RulesengineUser.d.ts +2 -0
  150. package/dist/serialization/types/UpcomingInvoiceResponseData.d.ts +1 -0
  151. package/dist/serialization/types/UserUsageMetric.d.ts +7 -0
  152. package/dist/serialization/types/index.d.ts +13 -0
  153. package/dist/wasm/rulesengine.d.ts +1 -0
  154. package/dist/wasm/rulesengine.js +34 -4
  155. package/dist/wasm/rulesengine_bg.wasm.d.ts +2 -0
  156. package/dist/wrapper.d.ts +2 -2
  157. package/package.json +1 -1
@@ -1,11 +1,16 @@
1
1
  import type * as Schematic from "../../api/index";
2
2
  import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
+ import { MigrationProrationBehavior } from "./MigrationProrationBehavior";
5
+ import { PlanVersionMigrationStrategy } from "./PlanVersionMigrationStrategy";
4
6
  export declare const PendingMigrationResponseData: core.serialization.ObjectSchema<serializers.PendingMigrationResponseData.Raw, Schematic.PendingMigrationResponseData>;
5
7
  export declare namespace PendingMigrationResponseData {
6
8
  interface Raw {
9
+ effective_at?: string | null;
7
10
  migration_id: string;
11
+ proration_behavior?: MigrationProrationBehavior.Raw | null;
8
12
  scheduled_for?: string | null;
13
+ strategy: PlanVersionMigrationStrategy.Raw;
9
14
  to_plan_id: string;
10
15
  to_plan_name: string;
11
16
  to_plan_version_id: string;
@@ -21,6 +21,7 @@ export declare namespace PlanVersionMigrationResponseData {
21
21
  plan_version_id_to: string;
22
22
  plan_version_ids_from: string[];
23
23
  proration_behavior?: MigrationProrationBehavior.Raw | null;
24
+ scheduled_at?: string | null;
24
25
  skipped_companies: number;
25
26
  started_at?: string | null;
26
27
  status: PlanVersionMigrationStatus.Raw;
@@ -3,5 +3,5 @@ import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  export declare const PlanVersionMigrationStrategy: core.serialization.Schema<serializers.PlanVersionMigrationStrategy.Raw, Schematic.PlanVersionMigrationStrategy>;
5
5
  export declare namespace PlanVersionMigrationStrategy {
6
- type Raw = "end_of_billing_period" | "immediate" | "leave";
6
+ type Raw = "end_of_billing_period" | "immediate" | "leave" | "scheduled";
7
7
  }
@@ -7,6 +7,7 @@ export declare const PreviewSubscriptionFinanceResponseData: core.serialization.
7
7
  export declare namespace PreviewSubscriptionFinanceResponseData {
8
8
  interface Raw {
9
9
  amount_off: number;
10
+ currency: string;
10
11
  discount_amount: number;
11
12
  discounts: PreviewSubscriptionDiscountResponseData.Raw[];
12
13
  due_now: number;
@@ -3,5 +3,5 @@ import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  export declare const RulesEngineSchemaVersion: core.serialization.Schema<serializers.RulesEngineSchemaVersion.Raw, Schematic.RulesEngineSchemaVersion>;
5
5
  export declare namespace RulesEngineSchemaVersion {
6
- type Raw = "v94b8f7a7" | "placeholder-for-fern-compatibility";
6
+ type Raw = "vf4a06160" | "placeholder-for-fern-compatibility";
7
7
  }
@@ -3,6 +3,7 @@ import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  import { RulesengineCompanyMetric } from "./RulesengineCompanyMetric";
5
5
  import { RulesengineCreditPostpaidConfig } from "./RulesengineCreditPostpaidConfig";
6
+ import { RulesengineCreditSpendPolicy } from "./RulesengineCreditSpendPolicy";
6
7
  import { RulesengineFeatureEntitlement } from "./RulesengineFeatureEntitlement";
7
8
  import { RulesengineRule } from "./RulesengineRule";
8
9
  import { RulesengineSubscription } from "./RulesengineSubscription";
@@ -15,6 +16,7 @@ export declare namespace RulesengineCompany {
15
16
  billing_product_ids: string[];
16
17
  credit_balances: Record<string, number>;
17
18
  credit_postpaid?: Record<string, RulesengineCreditPostpaidConfig.Raw> | null;
19
+ credit_spend_policies?: RulesengineCreditSpendPolicy.Raw[] | null;
18
20
  entitlements?: RulesengineFeatureEntitlement.Raw[] | null;
19
21
  environment_id: string;
20
22
  id: string;
@@ -0,0 +1,7 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const RulesengineComparableOperator: core.serialization.Schema<serializers.RulesengineComparableOperator.Raw, Schematic.RulesengineComparableOperator>;
5
+ export declare namespace RulesengineComparableOperator {
6
+ type Raw = "eq" | "gt" | "gte" | "is_empty" | "lt" | "lte" | "not_empty" | "ne";
7
+ }
@@ -1,7 +1,7 @@
1
1
  import type * as Schematic from "../../api/index";
2
2
  import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
- import { ComparableOperator } from "./ComparableOperator";
4
+ import { RulesengineComparableOperator } from "./RulesengineComparableOperator";
5
5
  import { RulesengineConditionType } from "./RulesengineConditionType";
6
6
  import { RulesengineMetricPeriod } from "./RulesengineMetricPeriod";
7
7
  import { RulesengineMetricPeriodMonthReset } from "./RulesengineMetricPeriodMonthReset";
@@ -20,7 +20,7 @@ export declare namespace RulesengineCondition {
20
20
  metric_period?: RulesengineMetricPeriod.Raw | null;
21
21
  metric_period_month_reset?: RulesengineMetricPeriodMonthReset.Raw | null;
22
22
  metric_value?: number | null;
23
- operator: ComparableOperator.Raw;
23
+ operator: RulesengineComparableOperator.Raw;
24
24
  resource_ids: string[];
25
25
  trait_definition?: RulesengineTraitDefinition.Raw | null;
26
26
  trait_value: string;
@@ -0,0 +1,19 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { RulesengineCreditSpendPolicyScope } from "./RulesengineCreditSpendPolicyScope";
5
+ import { RulesengineCreditSpendWindow } from "./RulesengineCreditSpendWindow";
6
+ export declare const RulesengineCreditSpendPolicy: core.serialization.ObjectSchema<serializers.RulesengineCreditSpendPolicy.Raw, Schematic.RulesengineCreditSpendPolicy>;
7
+ export declare namespace RulesengineCreditSpendPolicy {
8
+ interface Raw {
9
+ consumed?: number | null;
10
+ credit_id: string;
11
+ id: string;
12
+ kind: string;
13
+ label?: string | null;
14
+ limit: number;
15
+ resets_at?: string | null;
16
+ scope: RulesengineCreditSpendPolicyScope.Raw;
17
+ window?: RulesengineCreditSpendWindow.Raw | null;
18
+ }
19
+ }
@@ -0,0 +1,7 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const RulesengineCreditSpendPolicyScope: core.serialization.Schema<serializers.RulesengineCreditSpendPolicyScope.Raw, Schematic.RulesengineCreditSpendPolicyScope>;
5
+ export declare namespace RulesengineCreditSpendPolicyScope {
6
+ type Raw = "company" | "user" | "group";
7
+ }
@@ -0,0 +1,10 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const RulesengineCreditSpendWindow: core.serialization.ObjectSchema<serializers.RulesengineCreditSpendWindow.Raw, Schematic.RulesengineCreditSpendWindow>;
5
+ export declare namespace RulesengineCreditSpendWindow {
6
+ interface Raw {
7
+ count: number;
8
+ unit: string;
9
+ }
10
+ }
@@ -1,12 +1,14 @@
1
1
  import type * as Schematic from "../../api/index";
2
2
  import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
+ import { RulesengineCreditSpendPolicy } from "./RulesengineCreditSpendPolicy";
4
5
  import { RulesengineRule } from "./RulesengineRule";
5
6
  import { RulesengineTrait } from "./RulesengineTrait";
6
7
  export declare const RulesengineUser: core.serialization.ObjectSchema<serializers.RulesengineUser.Raw, Schematic.RulesengineUser>;
7
8
  export declare namespace RulesengineUser {
8
9
  interface Raw {
9
10
  account_id: string;
11
+ credit_spend_policies?: RulesengineCreditSpendPolicy.Raw[] | null;
10
12
  environment_id: string;
11
13
  id: string;
12
14
  keys: Record<string, string>;
@@ -24,6 +24,7 @@ export declare namespace UpcomingInvoiceResponseData {
24
24
  status?: InvoiceStatus.Raw | null;
25
25
  subscription_external_id?: string | null;
26
26
  subtotal: number;
27
+ total?: number | null;
27
28
  updated_at: string;
28
29
  url?: string | null;
29
30
  }
@@ -0,0 +1,7 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ export declare const UserUsageMetric: core.serialization.Schema<serializers.UserUsageMetric.Raw, Schematic.UserUsageMetric>;
5
+ export declare namespace UserUsageMetric {
6
+ type Raw = "credits" | "feature";
7
+ }
@@ -123,6 +123,9 @@ export * from "./CompanyPlanWithBillingSubView";
123
123
  export * from "./CompanyResponseData";
124
124
  export * from "./CompanySubscriptionResponseData";
125
125
  export * from "./CompanyTaxIdView";
126
+ export * from "./CompanyUserUsageMetricsResponseData";
127
+ export * from "./CompanyUserUsageResponseData";
128
+ export * from "./CompanyUserUsageRowResponseData";
126
129
  export * from "./ComparableOperator";
127
130
  export * from "./CompatiblePlans";
128
131
  export * from "./CompatiblePlansResponseData";
@@ -173,9 +176,13 @@ export * from "./CreditGrantExpiryRequestBody";
173
176
  export * from "./CreditGrantPriceTierRequestBody";
174
177
  export * from "./CreditGrantSortOrder";
175
178
  export * from "./CreditLeaseResponseData";
179
+ export * from "./CreditLedgerEntryKind";
176
180
  export * from "./CreditReservationResponseData";
181
+ export * from "./CreditSpendPolicy";
177
182
  export * from "./CreditSpendPolicyResponseData";
178
183
  export * from "./CreditSpendPolicyScope";
184
+ export * from "./CreditSpendWindow";
185
+ export * from "./CreditSpendWindowUnit";
179
186
  export * from "./CreditsAutoTopupCompanySummary";
180
187
  export * from "./CreditsAutoTopupCreditSummary";
181
188
  export * from "./CreditsAutoTopupHardFailure";
@@ -229,6 +236,7 @@ export * from "./EnvironmentResponseData";
229
236
  export * from "./EnvironmentTraitUsageTimeSeriesResponseData";
230
237
  export * from "./EnvironmentType";
231
238
  export * from "./EnvironmentUsagePointResponseData";
239
+ export * from "./EstimatedPlanTotal";
232
240
  export * from "./EventBody";
233
241
  export * from "./EventBodyFlagCheck";
234
242
  export * from "./EventBodyIdentify";
@@ -380,10 +388,14 @@ export * from "./RulesEngineSchemaVersion";
380
388
  export * from "./RulesengineCheckFlagResult";
381
389
  export * from "./RulesengineCompany";
382
390
  export * from "./RulesengineCompanyMetric";
391
+ export * from "./RulesengineComparableOperator";
383
392
  export * from "./RulesengineCondition";
384
393
  export * from "./RulesengineConditionGroup";
385
394
  export * from "./RulesengineConditionType";
386
395
  export * from "./RulesengineCreditPostpaidConfig";
396
+ export * from "./RulesengineCreditSpendPolicy";
397
+ export * from "./RulesengineCreditSpendPolicyScope";
398
+ export * from "./RulesengineCreditSpendWindow";
387
399
  export * from "./RulesengineEntitlementValueType";
388
400
  export * from "./RulesengineEntityType";
389
401
  export * from "./RulesengineFeatureEntitlement";
@@ -458,6 +470,7 @@ export * from "./UserFeatureUsageResponseData";
458
470
  export * from "./UserResponseData";
459
471
  export * from "./UserUsageByCompanyResponseData";
460
472
  export * from "./UserUsageDetailResponseData";
473
+ export * from "./UserUsageMetric";
461
474
  export * from "./WarningTier";
462
475
  export * from "./WarningTierRequestBody";
463
476
  export * from "./WarningTierResponseData";
@@ -6,6 +6,7 @@ export class RulesEngineJS {
6
6
  [Symbol.dispose](): void;
7
7
  checkFlagWithOptions(flag_json: string, company_json?: string | null, user_json?: string | null, options_json?: string | null): string;
8
8
  checkFlag(flag_json: string, company_json?: string | null, user_json?: string | null): string;
9
+ checkFlags(flags_json: string, company_json?: string | null, user_json?: string | null): string;
9
10
  getVersionKey(): string;
10
11
  constructor();
11
12
  }