@schematichq/schematic-typescript-node 1.5.7 → 1.5.9

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 (199) hide show
  1. package/README.md +1 -1
  2. package/dist/api/resources/accounts/client/Client.d.ts +28 -0
  3. package/dist/api/resources/accounts/client/requests/UpdateOnboardingStateRequestBody.d.ts +11 -0
  4. package/dist/api/resources/accounts/client/requests/index.d.ts +1 -0
  5. package/dist/api/resources/accounts/types/GetOnboardingStateResponse.d.ts +6 -0
  6. package/dist/api/resources/accounts/types/UpdateOnboardingStateResponse.d.ts +6 -0
  7. package/dist/api/resources/accounts/types/index.d.ts +2 -0
  8. package/dist/api/resources/companies/client/Client.d.ts +88 -3
  9. package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +3 -0
  10. package/dist/api/resources/companies/client/requests/CountEntityKeysRequest.d.ts +18 -0
  11. package/dist/api/resources/companies/client/requests/CountEntityTraitsRequest.d.ts +18 -0
  12. package/dist/api/resources/companies/client/requests/GetBillingEntityChildSubscriptionsRequest.d.ts +1 -1
  13. package/dist/api/resources/companies/client/requests/GetCompanyBillingEntityRequest.d.ts +1 -1
  14. package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +3 -0
  15. package/dist/api/resources/companies/client/requests/ListPlanChangesRequest.d.ts +0 -2
  16. package/dist/api/resources/companies/client/requests/index.d.ts +2 -0
  17. package/dist/api/resources/companies/types/CountCompaniesParams.d.ts +2 -0
  18. package/dist/api/resources/companies/types/CountEntityKeysParams.d.ts +12 -0
  19. package/dist/api/resources/companies/types/CountEntityKeysResponse.d.ts +6 -0
  20. package/dist/api/resources/companies/types/CountEntityTraitsParams.d.ts +12 -0
  21. package/dist/api/resources/companies/types/CountEntityTraitsResponse.d.ts +6 -0
  22. package/dist/api/resources/companies/types/DeleteEntityKeyDefinitionResponse.d.ts +6 -0
  23. package/dist/api/resources/companies/types/DeleteEntityTraitDefinitionResponse.d.ts +6 -0
  24. package/dist/api/resources/companies/types/GetEntityTraitDefinitionUsageResponse.d.ts +6 -0
  25. package/dist/api/resources/companies/types/ListCompaniesParams.d.ts +2 -0
  26. package/dist/api/resources/companies/types/ListPlanChangesParams.d.ts +0 -1
  27. package/dist/api/resources/companies/types/index.d.ts +7 -0
  28. package/dist/api/resources/credits/client/Client.d.ts +2 -2
  29. package/dist/api/resources/credits/client/requests/CountCompanyGrantsRequest.d.ts +1 -1
  30. package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +2 -0
  31. package/dist/api/resources/credits/client/requests/ListCompanyGrantsRequest.d.ts +1 -1
  32. package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +2 -0
  33. package/dist/api/resources/entitlements/client/Client.d.ts +23 -0
  34. package/dist/api/resources/entitlements/client/requests/ListFeatureUsageHistoryRequest.d.ts +29 -0
  35. package/dist/api/resources/entitlements/client/requests/index.d.ts +1 -0
  36. package/dist/api/resources/entitlements/types/ListFeatureUsageHistoryParams.d.ts +20 -0
  37. package/dist/api/resources/entitlements/types/ListFeatureUsageHistoryResponse.d.ts +6 -0
  38. package/dist/api/resources/entitlements/types/index.d.ts +2 -0
  39. package/dist/api/resources/planbundle/client/Client.d.ts +23 -6
  40. package/dist/api/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +12 -3
  41. package/dist/api/resources/planbundle/client/requests/CreatePlanBundleRequestBody.d.ts +7 -2
  42. package/dist/api/resources/planbundle/client/requests/UpdatePlanBundleRequestBody.d.ts +5 -2
  43. package/dist/api/resources/plangroups/client/Client.d.ts +2 -0
  44. package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +3 -0
  45. package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +3 -0
  46. package/dist/api/resources/planmigrations/client/Client.d.ts +4 -8
  47. package/dist/api/resources/planmigrations/client/requests/CountCompanyMigrationsRequest.d.ts +1 -1
  48. package/dist/api/resources/planmigrations/client/requests/CountMigrationsRequest.d.ts +1 -1
  49. package/dist/api/resources/planmigrations/client/requests/CreateMigrationInput.d.ts +4 -6
  50. package/dist/api/resources/planmigrations/client/requests/ListCompanyMigrationsRequest.d.ts +1 -1
  51. package/dist/api/resources/planmigrations/client/requests/ListMigrationsRequest.d.ts +1 -1
  52. package/dist/api/resources/planmigrations/client/requests/PreviewMigrationRequestBody.d.ts +2 -2
  53. package/dist/api/resources/plans/client/Client.d.ts +10 -9
  54. package/dist/api/resources/plans/client/requests/CreateCustomPlanRequestBody.d.ts +1 -0
  55. package/dist/api/resources/plans/client/requests/ListCustomPlanBillingsRequest.d.ts +3 -0
  56. package/dist/api/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +3 -0
  57. package/dist/api/resources/plans/types/ListCustomPlanBillingsParams.d.ts +2 -0
  58. package/dist/api/types/BillingCollectionMethod.d.ts +5 -0
  59. package/dist/api/types/BillingCreditBundleResponseData.d.ts +2 -0
  60. package/dist/api/types/BillingCreditBundleView.d.ts +1 -0
  61. package/dist/api/types/BillingCreditGrantResponseData.d.ts +4 -0
  62. package/dist/api/types/BillingCreditView.d.ts +1 -1
  63. package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +2 -0
  64. package/dist/api/types/BillingProductRecordResponseData.d.ts +12 -0
  65. package/dist/api/types/CheckFlagRequestBody.d.ts +3 -0
  66. package/dist/api/types/CheckoutBundlePurchaseBehavior.d.ts +5 -0
  67. package/dist/api/types/CheckoutSettingsResponseData.d.ts +3 -0
  68. package/dist/api/types/CompanyBillingCheckoutSettings.d.ts +1 -0
  69. package/dist/api/types/CompanyFeatureUsageExportMetadata.d.ts +15 -2
  70. package/dist/api/types/CompanyFeatureUsageExportMetadataSortOrderDirection.d.ts +6 -0
  71. package/dist/api/types/CompanyFeatureUsageExportMetadataVisibleColumnsItem.d.ts +7 -0
  72. package/dist/api/types/CompanyPlanCreditGrantView.d.ts +1 -0
  73. package/dist/api/types/ComponentCheckoutSettings.d.ts +2 -0
  74. package/dist/api/types/CreateBillingPlanCreditGrantRequestBody.d.ts +2 -0
  75. package/dist/api/types/CreditCompanyGrantView.d.ts +2 -0
  76. package/dist/api/types/CustomPlanBillingResponseData.d.ts +4 -0
  77. package/dist/api/types/DataExportMetadata.d.ts +4 -1
  78. package/dist/api/types/DataExportType.d.ts +1 -0
  79. package/dist/api/types/EntityTraitDefinitionUsage.d.ts +8 -0
  80. package/dist/api/types/EventBodyFlagCheck.d.ts +2 -0
  81. package/dist/api/types/EventExportMetadata.d.ts +19 -0
  82. package/dist/api/types/EventExportMetadataEventTypesItem.d.ts +7 -0
  83. package/dist/api/types/FeatureUsageHistoryResponseData.d.ts +12 -0
  84. package/dist/api/types/FeatureView.d.ts +1 -1
  85. package/dist/api/types/GetOnboardingStateResp.d.ts +9 -0
  86. package/dist/api/types/ManagePlanRequest.d.ts +14 -0
  87. package/dist/api/types/MigrationProrationBehavior.d.ts +6 -0
  88. package/dist/api/types/OnboardingMilestone.d.ts +5 -0
  89. package/dist/api/types/OnboardingMilestoneView.d.ts +7 -0
  90. package/dist/api/types/OnboardingPath.d.ts +5 -0
  91. package/dist/api/types/OnboardingRequirement.d.ts +9 -0
  92. package/dist/api/types/OnboardingRequirementStatus.d.ts +6 -0
  93. package/dist/api/types/OnboardingRequirementView.d.ts +7 -0
  94. package/dist/api/types/OnboardingTrack.d.ts +5 -0
  95. package/dist/api/types/PlanBillingSource.d.ts +5 -0
  96. package/dist/api/types/PlanBundleResponseData.d.ts +1 -0
  97. package/dist/api/types/PlanCreditGrantView.d.ts +1 -0
  98. package/dist/api/types/PlanVersionMigrationPreviewCompanyResponseData.d.ts +1 -0
  99. package/dist/api/types/PlanVersionMigrationPreviewResponseData.d.ts +1 -0
  100. package/dist/api/types/PlanVersionMigrationResponseData.d.ts +1 -0
  101. package/dist/api/types/PreflightEventUsageRequestBody.d.ts +6 -0
  102. package/dist/api/types/PreflightRequestBody.d.ts +9 -0
  103. package/dist/api/types/PreviewSubscriptionFinanceResponseData.d.ts +1 -0
  104. package/dist/api/types/RulesEngineSchemaVersion.d.ts +1 -1
  105. package/dist/api/types/TestWebhookResponseData.d.ts +1 -0
  106. package/dist/api/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +4 -2
  107. package/dist/api/types/UpsertCompanyRequestBody.d.ts +2 -0
  108. package/dist/api/types/UpsertUserRequestBody.d.ts +2 -0
  109. package/dist/api/types/UpsertUserSubRequestBody.d.ts +2 -0
  110. package/dist/api/types/WhoAmIResponseData.d.ts +1 -0
  111. package/dist/api/types/index.d.ts +21 -0
  112. package/dist/index.js +9 -9
  113. package/dist/serialization/resources/accounts/client/requests/UpdateOnboardingStateRequestBody.d.ts +14 -0
  114. package/dist/serialization/resources/accounts/client/requests/index.d.ts +1 -0
  115. package/dist/serialization/resources/accounts/types/GetOnboardingStateResponse.d.ts +11 -0
  116. package/dist/serialization/resources/accounts/types/UpdateOnboardingStateResponse.d.ts +11 -0
  117. package/dist/serialization/resources/accounts/types/index.d.ts +2 -0
  118. package/dist/serialization/resources/companies/types/CountCompaniesParams.d.ts +1 -0
  119. package/dist/serialization/resources/companies/types/CountEntityKeysParams.d.ts +13 -0
  120. package/dist/serialization/resources/companies/types/CountEntityKeysResponse.d.ts +12 -0
  121. package/dist/serialization/resources/companies/types/CountEntityTraitsParams.d.ts +13 -0
  122. package/dist/serialization/resources/companies/types/CountEntityTraitsResponse.d.ts +12 -0
  123. package/dist/serialization/resources/companies/types/DeleteEntityKeyDefinitionResponse.d.ts +11 -0
  124. package/dist/serialization/resources/companies/types/DeleteEntityTraitDefinitionResponse.d.ts +11 -0
  125. package/dist/serialization/resources/companies/types/GetEntityTraitDefinitionUsageResponse.d.ts +11 -0
  126. package/dist/serialization/resources/companies/types/ListCompaniesParams.d.ts +1 -0
  127. package/dist/serialization/resources/companies/types/ListPlanChangesParams.d.ts +0 -1
  128. package/dist/serialization/resources/companies/types/index.d.ts +7 -0
  129. package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +1 -0
  130. package/dist/serialization/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +1 -0
  131. package/dist/serialization/resources/entitlements/types/ListFeatureUsageHistoryParams.d.ts +16 -0
  132. package/dist/serialization/resources/entitlements/types/ListFeatureUsageHistoryResponse.d.ts +12 -0
  133. package/dist/serialization/resources/entitlements/types/index.d.ts +2 -0
  134. package/dist/serialization/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +2 -2
  135. package/dist/serialization/resources/planbundle/client/requests/CreatePlanBundleRequestBody.d.ts +1 -1
  136. package/dist/serialization/resources/planbundle/client/requests/UpdatePlanBundleRequestBody.d.ts +1 -1
  137. package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +3 -0
  138. package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +3 -0
  139. package/dist/serialization/resources/planmigrations/client/requests/CreateMigrationInput.d.ts +5 -3
  140. package/dist/serialization/resources/planmigrations/client/requests/PreviewMigrationRequestBody.d.ts +2 -1
  141. package/dist/serialization/resources/plans/client/requests/CreateCustomPlanRequestBody.d.ts +1 -0
  142. package/dist/serialization/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +3 -0
  143. package/dist/serialization/resources/plans/types/ListCustomPlanBillingsParams.d.ts +2 -0
  144. package/dist/serialization/types/BillingCollectionMethod.d.ts +7 -0
  145. package/dist/serialization/types/BillingCreditBundleResponseData.d.ts +1 -0
  146. package/dist/serialization/types/BillingCreditBundleView.d.ts +1 -0
  147. package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +2 -0
  148. package/dist/serialization/types/BillingCreditView.d.ts +2 -2
  149. package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +1 -0
  150. package/dist/serialization/types/BillingProductRecordResponseData.d.ts +18 -0
  151. package/dist/serialization/types/CheckFlagRequestBody.d.ts +2 -0
  152. package/dist/serialization/types/CheckoutBundlePurchaseBehavior.d.ts +7 -0
  153. package/dist/serialization/types/CheckoutSettingsResponseData.d.ts +3 -0
  154. package/dist/serialization/types/CompanyBillingCheckoutSettings.d.ts +1 -0
  155. package/dist/serialization/types/CompanyFeatureUsageExportMetadata.d.ts +9 -1
  156. package/dist/serialization/types/CompanyFeatureUsageExportMetadataSortOrderDirection.d.ts +7 -0
  157. package/dist/serialization/types/CompanyFeatureUsageExportMetadataVisibleColumnsItem.d.ts +7 -0
  158. package/dist/serialization/types/CompanyPlanCreditGrantView.d.ts +1 -0
  159. package/dist/serialization/types/ComponentCheckoutSettings.d.ts +3 -0
  160. package/dist/serialization/types/CreateBillingPlanCreditGrantRequestBody.d.ts +1 -0
  161. package/dist/serialization/types/CreditCompanyGrantView.d.ts +2 -0
  162. package/dist/serialization/types/CustomPlanBillingResponseData.d.ts +3 -0
  163. package/dist/serialization/types/DataExportMetadata.d.ts +5 -1
  164. package/dist/serialization/types/DataExportType.d.ts +1 -1
  165. package/dist/serialization/types/EntityTraitDefinitionUsage.d.ts +14 -0
  166. package/dist/serialization/types/EventBodyFlagCheck.d.ts +1 -0
  167. package/dist/serialization/types/EventExportMetadata.d.ts +17 -0
  168. package/dist/serialization/types/EventExportMetadataEventTypesItem.d.ts +7 -0
  169. package/dist/serialization/types/FeatureUsageHistoryResponseData.d.ts +14 -0
  170. package/dist/serialization/types/FeatureView.d.ts +2 -2
  171. package/dist/serialization/types/GetOnboardingStateResp.d.ts +19 -0
  172. package/dist/serialization/types/ManagePlanRequest.d.ts +8 -0
  173. package/dist/serialization/types/MigrationProrationBehavior.d.ts +7 -0
  174. package/dist/serialization/types/OnboardingMilestone.d.ts +7 -0
  175. package/dist/serialization/types/OnboardingMilestoneView.d.ts +14 -0
  176. package/dist/serialization/types/OnboardingPath.d.ts +7 -0
  177. package/dist/serialization/types/OnboardingRequirement.d.ts +7 -0
  178. package/dist/serialization/types/OnboardingRequirementStatus.d.ts +7 -0
  179. package/dist/serialization/types/OnboardingRequirementView.d.ts +14 -0
  180. package/dist/serialization/types/OnboardingTrack.d.ts +7 -0
  181. package/dist/serialization/types/PlanBillingSource.d.ts +7 -0
  182. package/dist/serialization/types/PlanBundleResponseData.d.ts +2 -0
  183. package/dist/serialization/types/PlanCreditGrantView.d.ts +1 -0
  184. package/dist/serialization/types/PlanVersionMigrationPreviewCompanyResponseData.d.ts +1 -0
  185. package/dist/serialization/types/PlanVersionMigrationPreviewResponseData.d.ts +1 -0
  186. package/dist/serialization/types/PlanVersionMigrationResponseData.d.ts +2 -0
  187. package/dist/serialization/types/PreflightEventUsageRequestBody.d.ts +10 -0
  188. package/dist/serialization/types/PreflightRequestBody.d.ts +12 -0
  189. package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +1 -0
  190. package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +1 -1
  191. package/dist/serialization/types/TestWebhookResponseData.d.ts +1 -0
  192. package/dist/serialization/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +1 -0
  193. package/dist/serialization/types/UpsertCompanyRequestBody.d.ts +1 -0
  194. package/dist/serialization/types/UpsertUserRequestBody.d.ts +1 -0
  195. package/dist/serialization/types/UpsertUserSubRequestBody.d.ts +1 -0
  196. package/dist/serialization/types/WhoAmIResponseData.d.ts +1 -0
  197. package/dist/serialization/types/index.d.ts +21 -0
  198. package/dist/wasm/rulesengine.js +4 -4
  199. package/package.json +4 -1
@@ -0,0 +1,14 @@
1
+ import type * as Schematic from "../../../../../api/index";
2
+ import * as core from "../../../../../core";
3
+ import type * as serializers from "../../../../index";
4
+ import { OnboardingPath } from "../../../../types/OnboardingPath";
5
+ import { OnboardingTrack } from "../../../../types/OnboardingTrack";
6
+ export declare const UpdateOnboardingStateRequestBody: core.serialization.Schema<serializers.UpdateOnboardingStateRequestBody.Raw, Schematic.UpdateOnboardingStateRequestBody>;
7
+ export declare namespace UpdateOnboardingStateRequestBody {
8
+ interface Raw {
9
+ path?: OnboardingPath.Raw | null;
10
+ pricing_page_url?: string | null;
11
+ track?: OnboardingTrack.Raw | null;
12
+ website_url?: string | null;
13
+ }
14
+ }
@@ -2,3 +2,4 @@ export { CreateApiKeyRequestBody } from "./CreateApiKeyRequestBody";
2
2
  export { CreateEnvironmentRequestBody } from "./CreateEnvironmentRequestBody";
3
3
  export { UpdateApiKeyRequestBody } from "./UpdateApiKeyRequestBody";
4
4
  export { UpdateEnvironmentRequestBody } from "./UpdateEnvironmentRequestBody";
5
+ export { UpdateOnboardingStateRequestBody } from "./UpdateOnboardingStateRequestBody";
@@ -0,0 +1,11 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { GetOnboardingStateResp } from "../../../types/GetOnboardingStateResp";
5
+ export declare const GetOnboardingStateResponse: core.serialization.ObjectSchema<serializers.GetOnboardingStateResponse.Raw, Schematic.GetOnboardingStateResponse>;
6
+ export declare namespace GetOnboardingStateResponse {
7
+ interface Raw {
8
+ data: GetOnboardingStateResp.Raw;
9
+ params: Record<string, unknown>;
10
+ }
11
+ }
@@ -0,0 +1,11 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { GetOnboardingStateResp } from "../../../types/GetOnboardingStateResp";
5
+ export declare const UpdateOnboardingStateResponse: core.serialization.ObjectSchema<serializers.UpdateOnboardingStateResponse.Raw, Schematic.UpdateOnboardingStateResponse>;
6
+ export declare namespace UpdateOnboardingStateResponse {
7
+ interface Raw {
8
+ data: GetOnboardingStateResp.Raw;
9
+ params: Record<string, unknown>;
10
+ }
11
+ }
@@ -12,6 +12,7 @@ export * from "./GetAccountMemberResponse";
12
12
  export * from "./GetApiKeyResponse";
13
13
  export * from "./GetAuditLogResponse";
14
14
  export * from "./GetEnvironmentResponse";
15
+ export * from "./GetOnboardingStateResponse";
15
16
  export * from "./GetWhoAmIResponse";
16
17
  export * from "./ListAccountMembersParams";
17
18
  export * from "./ListAccountMembersResponse";
@@ -24,3 +25,4 @@ export * from "./ListEnvironmentsResponse";
24
25
  export * from "./QuickstartResponse";
25
26
  export * from "./UpdateApiKeyResponse";
26
27
  export * from "./UpdateEnvironmentResponse";
28
+ export * from "./UpdateOnboardingStateResponse";
@@ -17,6 +17,7 @@ export declare namespace CountCompaniesParams {
17
17
  plan_ids?: string[] | null;
18
18
  plan_version_id?: string | null;
19
19
  plan_version_ids?: string[] | null;
20
+ plan_version_unpublished?: boolean | null;
20
21
  q?: string | null;
21
22
  sort_order_column?: string | null;
22
23
  sort_order_direction?: SortDirection.Raw | null;
@@ -0,0 +1,13 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { EntityType } from "../../../types/EntityType";
5
+ export declare const CountEntityKeysParams: core.serialization.ObjectSchema<serializers.CountEntityKeysParams.Raw, Schematic.CountEntityKeysParams>;
6
+ export declare namespace CountEntityKeysParams {
7
+ interface Raw {
8
+ definition_id?: string | null;
9
+ entity_type?: EntityType.Raw | null;
10
+ limit?: number | null;
11
+ offset?: number | null;
12
+ }
13
+ }
@@ -0,0 +1,12 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { CountResponse } from "../../../types/CountResponse";
5
+ import { CountEntityKeysParams } from "./CountEntityKeysParams";
6
+ export declare const CountEntityKeysResponse: core.serialization.ObjectSchema<serializers.CountEntityKeysResponse.Raw, Schematic.CountEntityKeysResponse>;
7
+ export declare namespace CountEntityKeysResponse {
8
+ interface Raw {
9
+ data: CountResponse.Raw;
10
+ params: CountEntityKeysParams.Raw;
11
+ }
12
+ }
@@ -0,0 +1,13 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { EntityType } from "../../../types/EntityType";
5
+ export declare const CountEntityTraitsParams: core.serialization.ObjectSchema<serializers.CountEntityTraitsParams.Raw, Schematic.CountEntityTraitsParams>;
6
+ export declare namespace CountEntityTraitsParams {
7
+ interface Raw {
8
+ definition_id?: string | null;
9
+ entity_type?: EntityType.Raw | null;
10
+ limit?: number | null;
11
+ offset?: number | null;
12
+ }
13
+ }
@@ -0,0 +1,12 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { CountResponse } from "../../../types/CountResponse";
5
+ import { CountEntityTraitsParams } from "./CountEntityTraitsParams";
6
+ export declare const CountEntityTraitsResponse: core.serialization.ObjectSchema<serializers.CountEntityTraitsResponse.Raw, Schematic.CountEntityTraitsResponse>;
7
+ export declare namespace CountEntityTraitsResponse {
8
+ interface Raw {
9
+ data: CountResponse.Raw;
10
+ params: CountEntityTraitsParams.Raw;
11
+ }
12
+ }
@@ -0,0 +1,11 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { DeleteResponse } from "../../../types/DeleteResponse";
5
+ export declare const DeleteEntityKeyDefinitionResponse: core.serialization.ObjectSchema<serializers.DeleteEntityKeyDefinitionResponse.Raw, Schematic.DeleteEntityKeyDefinitionResponse>;
6
+ export declare namespace DeleteEntityKeyDefinitionResponse {
7
+ interface Raw {
8
+ data: DeleteResponse.Raw;
9
+ params: Record<string, unknown>;
10
+ }
11
+ }
@@ -0,0 +1,11 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { DeleteResponse } from "../../../types/DeleteResponse";
5
+ export declare const DeleteEntityTraitDefinitionResponse: core.serialization.ObjectSchema<serializers.DeleteEntityTraitDefinitionResponse.Raw, Schematic.DeleteEntityTraitDefinitionResponse>;
6
+ export declare namespace DeleteEntityTraitDefinitionResponse {
7
+ interface Raw {
8
+ data: DeleteResponse.Raw;
9
+ params: Record<string, unknown>;
10
+ }
11
+ }
@@ -0,0 +1,11 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { EntityTraitDefinitionUsage } from "../../../types/EntityTraitDefinitionUsage";
5
+ export declare const GetEntityTraitDefinitionUsageResponse: core.serialization.ObjectSchema<serializers.GetEntityTraitDefinitionUsageResponse.Raw, Schematic.GetEntityTraitDefinitionUsageResponse>;
6
+ export declare namespace GetEntityTraitDefinitionUsageResponse {
7
+ interface Raw {
8
+ data: EntityTraitDefinitionUsage.Raw;
9
+ params: Record<string, unknown>;
10
+ }
11
+ }
@@ -17,6 +17,7 @@ export declare namespace ListCompaniesParams {
17
17
  plan_ids?: string[] | null;
18
18
  plan_version_id?: string | null;
19
19
  plan_version_ids?: string[] | null;
20
+ plan_version_unpublished?: boolean | null;
20
21
  q?: string | null;
21
22
  sort_order_column?: string | null;
22
23
  sort_order_direction?: SortDirection.Raw | null;
@@ -12,6 +12,5 @@ export declare namespace ListPlanChangesParams {
12
12
  company_ids?: string[] | null;
13
13
  limit?: number | null;
14
14
  offset?: number | null;
15
- plan_ids?: string[] | null;
16
15
  }
17
16
  }
@@ -2,8 +2,12 @@ export * from "./CountCompaniesParams";
2
2
  export * from "./CountCompaniesResponse";
3
3
  export * from "./CountEntityKeyDefinitionsParams";
4
4
  export * from "./CountEntityKeyDefinitionsResponse";
5
+ export * from "./CountEntityKeysParams";
6
+ export * from "./CountEntityKeysResponse";
5
7
  export * from "./CountEntityTraitDefinitionsParams";
6
8
  export * from "./CountEntityTraitDefinitionsResponse";
9
+ export * from "./CountEntityTraitsParams";
10
+ export * from "./CountEntityTraitsResponse";
7
11
  export * from "./CountPlanTraitsParams";
8
12
  export * from "./CountPlanTraitsResponse";
9
13
  export * from "./CountUsersParams";
@@ -14,6 +18,8 @@ export * from "./DeleteCompanyByKeysResponse";
14
18
  export * from "./DeleteCompanyMembershipResponse";
15
19
  export * from "./DeleteCompanyParams";
16
20
  export * from "./DeleteCompanyResponse";
21
+ export * from "./DeleteEntityKeyDefinitionResponse";
22
+ export * from "./DeleteEntityTraitDefinitionResponse";
17
23
  export * from "./DeleteUserByKeysResponse";
18
24
  export * from "./DeleteUserResponse";
19
25
  export * from "./GetActiveCompanySubscriptionParams";
@@ -24,6 +30,7 @@ export * from "./GetCompanyBillingEntityParams";
24
30
  export * from "./GetCompanyBillingEntityResponse";
25
31
  export * from "./GetCompanyResponse";
26
32
  export * from "./GetEntityTraitDefinitionResponse";
33
+ export * from "./GetEntityTraitDefinitionUsageResponse";
27
34
  export * from "./GetEntityTraitValuesParams";
28
35
  export * from "./GetEntityTraitValuesResponse";
29
36
  export * from "./GetOrCreateCompanyMembershipResponse";
@@ -11,6 +11,7 @@ export declare namespace CreateCreditBundleRequestBody {
11
11
  interface Raw {
12
12
  bundle_name: string;
13
13
  bundle_type?: BillingCreditBundleType.Raw | null;
14
+ compatible_plan_ids?: string[] | null;
14
15
  credit_id: string;
15
16
  currency: string;
16
17
  currency_prices?: CreditBundleCurrencyPriceRequestBody.Raw[] | null;
@@ -9,6 +9,7 @@ export declare const UpdateCreditBundleDetailsRequestBody: core.serialization.Sc
9
9
  export declare namespace UpdateCreditBundleDetailsRequestBody {
10
10
  interface Raw {
11
11
  bundle_name: string;
12
+ compatible_plan_ids?: string[] | null;
12
13
  currency_prices?: CreditBundleCurrencyPriceRequestBody.Raw[] | null;
13
14
  expiry_type?: BillingCreditExpiryType.Raw | null;
14
15
  expiry_unit?: BillingCreditExpiryUnit.Raw | null;
@@ -0,0 +1,16 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { TimeSeriesGranularity } from "../../../types/TimeSeriesGranularity";
5
+ export declare const ListFeatureUsageHistoryParams: core.serialization.ObjectSchema<serializers.ListFeatureUsageHistoryParams.Raw, Schematic.ListFeatureUsageHistoryParams>;
6
+ export declare namespace ListFeatureUsageHistoryParams {
7
+ interface Raw {
8
+ company_ids?: string[] | null;
9
+ end_time?: string | null;
10
+ feature_ids?: string[] | null;
11
+ granularity?: TimeSeriesGranularity.Raw | null;
12
+ limit?: number | null;
13
+ offset?: number | null;
14
+ start_time?: string | null;
15
+ }
16
+ }
@@ -0,0 +1,12 @@
1
+ import type * as Schematic from "../../../../api/index";
2
+ import * as core from "../../../../core";
3
+ import type * as serializers from "../../../index";
4
+ import { FeatureUsageHistoryResponseData } from "../../../types/FeatureUsageHistoryResponseData";
5
+ import { ListFeatureUsageHistoryParams } from "./ListFeatureUsageHistoryParams";
6
+ export declare const ListFeatureUsageHistoryResponse: core.serialization.ObjectSchema<serializers.ListFeatureUsageHistoryResponse.Raw, Schematic.ListFeatureUsageHistoryResponse>;
7
+ export declare namespace ListFeatureUsageHistoryResponse {
8
+ interface Raw {
9
+ data: FeatureUsageHistoryResponseData.Raw[];
10
+ params: ListFeatureUsageHistoryParams.Raw;
11
+ }
12
+ }
@@ -27,6 +27,8 @@ export * from "./ListCompanyOverridesParams";
27
27
  export * from "./ListCompanyOverridesResponse";
28
28
  export * from "./ListFeatureCompaniesParams";
29
29
  export * from "./ListFeatureCompaniesResponse";
30
+ export * from "./ListFeatureUsageHistoryParams";
31
+ export * from "./ListFeatureUsageHistoryResponse";
30
32
  export * from "./ListFeatureUsageParams";
31
33
  export * from "./ListFeatureUsageResponse";
32
34
  export * from "./ListFeatureUsersParams";
@@ -8,9 +8,9 @@ import { UpsertBillingProductRequestBody } from "../../../../types/UpsertBilling
8
8
  export declare const CreateCustomPlanBundleRequestBody: core.serialization.Schema<serializers.CreateCustomPlanBundleRequestBody.Raw, Schematic.CreateCustomPlanBundleRequestBody>;
9
9
  export declare namespace CreateCustomPlanBundleRequestBody {
10
10
  interface Raw {
11
- billing_product?: UpsertBillingProductRequestBody.Raw | null;
11
+ billing_product: UpsertBillingProductRequestBody.Raw;
12
12
  credit_grants?: PlanBundleCreditGrantRequestBody.Raw[] | null;
13
13
  entitlements: PlanBundleEntitlementRequestBody.Raw[];
14
- plan?: CreateCustomPlanBundlePlanRequestBody.Raw | null;
14
+ plan: CreateCustomPlanBundlePlanRequestBody.Raw;
15
15
  }
16
16
  }
@@ -11,6 +11,6 @@ export declare namespace CreatePlanBundleRequestBody {
11
11
  billing_product?: UpsertBillingProductRequestBody.Raw | null;
12
12
  credit_grants?: PlanBundleCreditGrantRequestBody.Raw[] | null;
13
13
  entitlements: PlanBundleEntitlementRequestBody.Raw[];
14
- plan?: CreatePlanRequestBody.Raw | null;
14
+ plan: CreatePlanRequestBody.Raw;
15
15
  }
16
16
  }
@@ -11,7 +11,7 @@ export declare namespace UpdatePlanBundleRequestBody {
11
11
  billing_product?: UpsertBillingProductRequestBody.Raw | null;
12
12
  credit_grants?: PlanBundleCreditGrantRequestBody.Raw[] | null;
13
13
  entitlements: PlanBundleEntitlementRequestBody.Raw[];
14
- plan?: UpdatePlanRequestBody.Raw | null;
14
+ plan: UpdatePlanRequestBody.Raw;
15
15
  plan_version_id?: string | null;
16
16
  }
17
17
  }
@@ -1,6 +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 { CheckoutBundlePurchaseBehavior } from "../../../../types/CheckoutBundlePurchaseBehavior";
4
5
  import { CheckoutFieldInput } from "../../../../types/CheckoutFieldInput";
5
6
  import { CompatiblePlans } from "../../../../types/CompatiblePlans";
6
7
  import { CustomPlanConfig } from "../../../../types/CustomPlanConfig";
@@ -13,9 +14,11 @@ export declare namespace CreatePlanGroupRequestBody {
13
14
  interface Raw {
14
15
  add_on_compatibilities?: CompatiblePlans.Raw[] | null;
15
16
  add_on_ids: string[];
17
+ checkout_bundle_purchase_behavior?: CheckoutBundlePurchaseBehavior.Raw | null;
16
18
  checkout_collect_address: boolean;
17
19
  checkout_collect_email: boolean;
18
20
  checkout_collect_phone: boolean;
21
+ checkout_collect_tax_id: boolean;
19
22
  custom_checkout_fields?: CheckoutFieldInput.Raw[] | null;
20
23
  custom_plan_config?: CustomPlanConfig.Raw | null;
21
24
  custom_plan_id?: string | null;
@@ -1,6 +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 { CheckoutBundlePurchaseBehavior } from "../../../../types/CheckoutBundlePurchaseBehavior";
4
5
  import { CheckoutFieldInput } from "../../../../types/CheckoutFieldInput";
5
6
  import { CompatiblePlans } from "../../../../types/CompatiblePlans";
6
7
  import { CustomPlanConfig } from "../../../../types/CustomPlanConfig";
@@ -13,9 +14,11 @@ export declare namespace UpdatePlanGroupRequestBody {
13
14
  interface Raw {
14
15
  add_on_compatibilities?: CompatiblePlans.Raw[] | null;
15
16
  add_on_ids: string[];
17
+ checkout_bundle_purchase_behavior?: CheckoutBundlePurchaseBehavior.Raw | null;
16
18
  checkout_collect_address: boolean;
17
19
  checkout_collect_email: boolean;
18
20
  checkout_collect_phone: boolean;
21
+ checkout_collect_tax_id: boolean;
19
22
  custom_checkout_fields?: CheckoutFieldInput.Raw[] | null;
20
23
  custom_plan_config?: CustomPlanConfig.Raw | null;
21
24
  custom_plan_id?: string | null;
@@ -1,16 +1,18 @@
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 "../../../../types/MigrationProrationBehavior";
4
5
  import { PlanType } from "../../../../types/PlanType";
5
6
  import { PlanVersionMigrationStrategy } from "../../../../types/PlanVersionMigrationStrategy";
6
7
  export declare const CreateMigrationInput: core.serialization.Schema<serializers.CreateMigrationInput.Raw, Schematic.CreateMigrationInput>;
7
8
  export declare namespace CreateMigrationInput {
8
9
  interface Raw {
9
- company_ids: string[];
10
- excluded_company_ids: string[];
10
+ company_ids?: string[] | null;
11
+ excluded_company_ids?: string[] | null;
11
12
  plan_id: string;
12
13
  plan_version_id_to: string;
13
- plan_version_ids_from: string[];
14
+ plan_version_ids_from?: string[] | null;
15
+ proration_behavior?: MigrationProrationBehavior.Raw | null;
14
16
  strategy: PlanVersionMigrationStrategy.Raw;
15
17
  target_plan_type: PlanType.Raw;
16
18
  }
@@ -5,9 +5,10 @@ import { PlanType } from "../../../../types/PlanType";
5
5
  export declare const PreviewMigrationRequestBody: core.serialization.Schema<serializers.PreviewMigrationRequestBody.Raw, Schematic.PreviewMigrationRequestBody>;
6
6
  export declare namespace PreviewMigrationRequestBody {
7
7
  interface Raw {
8
- company_ids: string[];
8
+ company_ids?: string[] | null;
9
9
  plan_id: string;
10
10
  plan_version_id_to: string;
11
+ plan_version_ids_from?: string[] | null;
11
12
  target_plan_type: PlanType.Raw;
12
13
  }
13
14
  }
@@ -7,6 +7,7 @@ export declare namespace CreateCustomPlanRequestBody {
7
7
  interface Raw {
8
8
  company_id: string;
9
9
  copied_from_plan_id?: string | null;
10
+ copied_price_id?: string | null;
10
11
  description: string;
11
12
  icon?: PlanIcon.Raw | null;
12
13
  name: string;
@@ -4,6 +4,7 @@ import type * as serializers from "../../../../index";
4
4
  import { CheckoutFieldValue } from "../../../../types/CheckoutFieldValue";
5
5
  import { CustomerBillingAddress } from "../../../../types/CustomerBillingAddress";
6
6
  import { CustomPlanActivationStrategy } from "../../../../types/CustomPlanActivationStrategy";
7
+ import { MigrationProrationBehavior } from "../../../../types/MigrationProrationBehavior";
7
8
  import { PlanVersionMigrationStrategy } from "../../../../types/PlanVersionMigrationStrategy";
8
9
  import { TaxIdInput } from "../../../../types/TaxIdInput";
9
10
  export declare const PublishPlanVersionRequestBody: core.serialization.Schema<serializers.PublishPlanVersionRequestBody.Raw, Schematic.PublishPlanVersionRequestBody>;
@@ -18,6 +19,8 @@ export declare namespace PublishPlanVersionRequestBody {
18
19
  excluded_company_ids: string[];
19
20
  migration_strategy: PlanVersionMigrationStrategy.Raw;
20
21
  phone?: string | null;
22
+ proration_behavior?: MigrationProrationBehavior.Raw | null;
23
+ require_no_migration?: boolean | null;
21
24
  send_invoice?: boolean | null;
22
25
  tax_id?: TaxIdInput.Raw | null;
23
26
  }
@@ -2,12 +2,14 @@ import type * as Schematic from "../../../../api/index";
2
2
  import * as core from "../../../../core";
3
3
  import type * as serializers from "../../../index";
4
4
  import { CustomPlanBillingStatus } from "../../../types/CustomPlanBillingStatus";
5
+ import { PlanBillingSource } from "../../../types/PlanBillingSource";
5
6
  export declare const ListCustomPlanBillingsParams: core.serialization.ObjectSchema<serializers.ListCustomPlanBillingsParams.Raw, Schematic.ListCustomPlanBillingsParams>;
6
7
  export declare namespace ListCustomPlanBillingsParams {
7
8
  interface Raw {
8
9
  company_id?: string | null;
9
10
  limit?: number | null;
10
11
  offset?: number | null;
12
+ plan_billing_source?: PlanBillingSource.Raw | null;
11
13
  plan_id?: string | null;
12
14
  status?: CustomPlanBillingStatus.Raw | null;
13
15
  statuses?: CustomPlanBillingStatus.Raw[] | null;
@@ -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 BillingCollectionMethod: core.serialization.Schema<serializers.BillingCollectionMethod.Raw, Schematic.BillingCollectionMethod>;
5
+ export declare namespace BillingCollectionMethod {
6
+ type Raw = "charge_automatically" | "send_invoice";
7
+ }
@@ -12,6 +12,7 @@ export declare namespace BillingCreditBundleResponseData {
12
12
  interface Raw {
13
13
  billing_invoice_id?: string | null;
14
14
  bundle_type: BillingCreditBundleType.Raw;
15
+ compatible_plan_ids: string[];
15
16
  created_at: string;
16
17
  credit_description?: string | null;
17
18
  credit_icon?: string | null;
@@ -11,6 +11,7 @@ export declare const BillingCreditBundleView: core.serialization.ObjectSchema<se
11
11
  export declare namespace BillingCreditBundleView {
12
12
  interface Raw {
13
13
  bundle_type: BillingCreditBundleType.Raw;
14
+ compatible_plan_ids: string[];
14
15
  created_at: string;
15
16
  credit_description?: string | null;
16
17
  credit_icon?: string | null;
@@ -10,6 +10,7 @@ export declare const BillingCreditGrantResponseData: core.serialization.ObjectSc
10
10
  export declare namespace BillingCreditGrantResponseData {
11
11
  interface Raw {
12
12
  company_id: string;
13
+ company_license_id?: string | null;
13
14
  company_name: string;
14
15
  created_at: string;
15
16
  credit_icon?: string | null;
@@ -19,6 +20,7 @@ export declare namespace BillingCreditGrantResponseData {
19
20
  expires_at?: string | null;
20
21
  grant_reason: BillingCreditGrantReason.Raw;
21
22
  id: string;
23
+ license_name?: string | null;
22
24
  plan_id?: string | null;
23
25
  plan_name?: string | null;
24
26
  price?: BillingPriceResponseData.Raw | null;
@@ -6,7 +6,7 @@ import { BillingCreditExpiryUnit } from "./BillingCreditExpiryUnit";
6
6
  import { BillingCreditLedgerAuthority } from "./BillingCreditLedgerAuthority";
7
7
  import { BillingCreditRolloverPolicy } from "./BillingCreditRolloverPolicy";
8
8
  import { BillingPriceView } from "./BillingPriceView";
9
- import { BillingProductResponseData } from "./BillingProductResponseData";
9
+ import { BillingProductRecordResponseData } from "./BillingProductRecordResponseData";
10
10
  import { CreditCurrencyPrice } from "./CreditCurrencyPrice";
11
11
  export declare const BillingCreditView: core.serialization.ObjectSchema<serializers.BillingCreditView.Raw, Schematic.BillingCreditView>;
12
12
  export declare namespace BillingCreditView {
@@ -29,7 +29,7 @@ export declare namespace BillingCreditView {
29
29
  price?: BillingPriceView.Raw | null;
30
30
  price_per_unit?: number | null;
31
31
  price_per_unit_decimal?: string | null;
32
- product?: BillingProductResponseData.Raw | null;
32
+ product?: BillingProductRecordResponseData.Raw | null;
33
33
  singular_name?: string | null;
34
34
  updated_at: string;
35
35
  }
@@ -24,6 +24,7 @@ export declare namespace BillingPlanCreditGrantResponseData {
24
24
  auto_topup_threshold_credits?: number | null;
25
25
  auto_topup_threshold_percent?: number | null;
26
26
  can_buy_bundles: boolean;
27
+ company_credit_amount: number;
27
28
  created_at: string;
28
29
  credit?: BillingCreditResponseData.Raw | null;
29
30
  credit_amount: number;
@@ -0,0 +1,18 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { BillingProviderType } from "./BillingProviderType";
5
+ export declare const BillingProductRecordResponseData: core.serialization.ObjectSchema<serializers.BillingProductRecordResponseData.Raw, Schematic.BillingProductRecordResponseData>;
6
+ export declare namespace BillingProductRecordResponseData {
7
+ interface Raw {
8
+ account_id: string;
9
+ created_at: string;
10
+ environment_id: string;
11
+ external_id: string;
12
+ id: string;
13
+ is_active: boolean;
14
+ name: string;
15
+ provider_type: BillingProviderType.Raw;
16
+ updated_at: string;
17
+ }
18
+ }
@@ -1,10 +1,12 @@
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 { PreflightRequestBody } from "./PreflightRequestBody";
4
5
  export declare const CheckFlagRequestBody: core.serialization.ObjectSchema<serializers.CheckFlagRequestBody.Raw, Schematic.CheckFlagRequestBody>;
5
6
  export declare namespace CheckFlagRequestBody {
6
7
  interface Raw {
7
8
  company?: Record<string, string> | null;
9
+ preflight?: PreflightRequestBody.Raw | null;
8
10
  user?: Record<string, string> | null;
9
11
  }
10
12
  }
@@ -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 CheckoutBundlePurchaseBehavior: core.serialization.Schema<serializers.CheckoutBundlePurchaseBehavior.Raw, Schematic.CheckoutBundlePurchaseBehavior>;
5
+ export declare namespace CheckoutBundlePurchaseBehavior {
6
+ type Raw = "individual" | "quantity";
7
+ }
@@ -1,12 +1,15 @@
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 { CheckoutBundlePurchaseBehavior } from "./CheckoutBundlePurchaseBehavior";
4
5
  export declare const CheckoutSettingsResponseData: core.serialization.ObjectSchema<serializers.CheckoutSettingsResponseData.Raw, Schematic.CheckoutSettingsResponseData>;
5
6
  export declare namespace CheckoutSettingsResponseData {
6
7
  interface Raw {
8
+ bundle_purchase_behavior: CheckoutBundlePurchaseBehavior.Raw;
7
9
  collect_address: boolean;
8
10
  collect_email: boolean;
9
11
  collect_phone: boolean;
12
+ collect_tax_id: boolean;
10
13
  opt_in_enabled: boolean;
11
14
  opt_in_text?: string | null;
12
15
  opt_in_title?: string | null;
@@ -7,5 +7,6 @@ export declare namespace CompanyBillingCheckoutSettings {
7
7
  collect_address: boolean;
8
8
  collect_email: boolean;
9
9
  collect_phone: boolean;
10
+ collect_tax_id: boolean;
10
11
  }
11
12
  }
@@ -1,21 +1,29 @@
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 { CompanyFeatureUsageExportMetadataSortOrderDirection } from "./CompanyFeatureUsageExportMetadataSortOrderDirection";
5
+ import { CompanyFeatureUsageExportMetadataVisibleColumnsItem } from "./CompanyFeatureUsageExportMetadataVisibleColumnsItem";
4
6
  export declare const CompanyFeatureUsageExportMetadata: core.serialization.ObjectSchema<serializers.CompanyFeatureUsageExportMetadata.Raw, Schematic.CompanyFeatureUsageExportMetadata>;
5
7
  export declare namespace CompanyFeatureUsageExportMetadata {
6
8
  interface Raw {
7
9
  company_ids?: string[] | null;
8
10
  credit_type_ids?: string[] | null;
9
- feature_ids: string[];
11
+ entity_key_definition_ids?: string[] | null;
12
+ entity_trait_definition_ids?: string[] | null;
13
+ feature_ids?: string[] | null;
10
14
  has_scheduled_downgrade?: boolean | null;
11
15
  monetized_subscriptions?: boolean | null;
12
16
  notification_email_recipient_email_addresses?: string[] | null;
13
17
  plan_id?: string | null;
14
18
  plan_ids?: string[] | null;
15
19
  plan_version_id?: string | null;
20
+ plan_version_unpublished?: boolean | null;
16
21
  q?: string | null;
22
+ sort_order_column?: string | null;
23
+ sort_order_direction?: CompanyFeatureUsageExportMetadataSortOrderDirection.Raw | null;
17
24
  subscription_statuses?: string[] | null;
18
25
  subscription_types?: string[] | null;
26
+ visible_columns?: CompanyFeatureUsageExportMetadataVisibleColumnsItem.Raw[] | null;
19
27
  with_entitlement_for?: string | null;
20
28
  with_subscription?: boolean | null;
21
29
  without_feature_override_for?: string | null;
@@ -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 CompanyFeatureUsageExportMetadataSortOrderDirection: core.serialization.Schema<serializers.CompanyFeatureUsageExportMetadataSortOrderDirection.Raw, Schematic.CompanyFeatureUsageExportMetadataSortOrderDirection>;
5
+ export declare namespace CompanyFeatureUsageExportMetadataSortOrderDirection {
6
+ type Raw = "asc" | "desc";
7
+ }
@@ -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 CompanyFeatureUsageExportMetadataVisibleColumnsItem: core.serialization.Schema<serializers.CompanyFeatureUsageExportMetadataVisibleColumnsItem.Raw, Schematic.CompanyFeatureUsageExportMetadataVisibleColumnsItem>;
5
+ export declare namespace CompanyFeatureUsageExportMetadataVisibleColumnsItem {
6
+ type Raw = "plan" | "subscription" | "users" | "last_seen_at";
7
+ }