@schematichq/schematic-typescript-node 1.5.4 → 1.5.5

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 (132) hide show
  1. package/dist/Client.d.ts +3 -0
  2. package/dist/api/resources/catalogs/client/Client.d.ts +232 -0
  3. package/dist/api/resources/catalogs/client/index.d.ts +1 -0
  4. package/dist/api/resources/catalogs/client/requests/CreateCatalogRequestBody.d.ts +12 -0
  5. package/dist/api/resources/catalogs/client/requests/ListCatalogsRequest.d.ts +18 -0
  6. package/dist/api/resources/catalogs/client/requests/UpdateCatalogConfigurationRequestBody.d.ts +16 -0
  7. package/dist/api/resources/catalogs/client/requests/UpdateCatalogRequestBody.d.ts +9 -0
  8. package/dist/api/resources/catalogs/client/requests/index.d.ts +4 -0
  9. package/dist/api/resources/catalogs/exports.d.ts +2 -0
  10. package/dist/api/resources/catalogs/index.d.ts +2 -0
  11. package/dist/api/resources/catalogs/types/CreateCatalogResponse.d.ts +6 -0
  12. package/dist/api/resources/catalogs/types/DeleteCatalogResponse.d.ts +6 -0
  13. package/dist/api/resources/catalogs/types/GetCatalogResponse.d.ts +6 -0
  14. package/dist/api/resources/catalogs/types/GetConfigurationResponse.d.ts +6 -0
  15. package/dist/api/resources/catalogs/types/GetCreditBundlesInCatalogResponse.d.ts +6 -0
  16. package/dist/api/resources/catalogs/types/GetDerivedFeaturesResponse.d.ts +6 -0
  17. package/dist/api/resources/catalogs/types/GetPlansInCatalogResponse.d.ts +6 -0
  18. package/dist/api/resources/catalogs/types/ListCatalogsParams.d.ts +12 -0
  19. package/dist/api/resources/catalogs/types/ListCatalogsResponse.d.ts +6 -0
  20. package/dist/api/resources/catalogs/types/UpdateCatalogResponse.d.ts +6 -0
  21. package/dist/api/resources/catalogs/types/UpdateConfigurationResponse.d.ts +6 -0
  22. package/dist/api/resources/catalogs/types/index.d.ts +11 -0
  23. package/dist/api/resources/components/client/Client.d.ts +16 -0
  24. package/dist/api/resources/components/client/requests/BindCatalogRequestBody.d.ts +7 -0
  25. package/dist/api/resources/components/client/requests/index.d.ts +1 -0
  26. package/dist/api/resources/components/types/BindCatalogResponse.d.ts +6 -0
  27. package/dist/api/resources/components/types/index.d.ts +1 -0
  28. package/dist/api/resources/dataexports/client/Client.d.ts +36 -1
  29. package/dist/api/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +6 -2
  30. package/dist/api/resources/dataexports/client/requests/ListDataExportsRequest.d.ts +18 -0
  31. package/dist/api/resources/dataexports/client/requests/index.d.ts +1 -0
  32. package/dist/api/resources/dataexports/types/GetDataExportResponse.d.ts +6 -0
  33. package/dist/api/resources/dataexports/types/ListDataExportsParams.d.ts +12 -0
  34. package/dist/api/resources/dataexports/types/ListDataExportsResponse.d.ts +6 -0
  35. package/dist/api/resources/dataexports/types/index.d.ts +3 -0
  36. package/dist/api/resources/index.d.ts +3 -0
  37. package/dist/api/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +1 -0
  38. package/dist/api/types/AuditLogExportMetadata.d.ts +12 -0
  39. package/dist/api/types/CatalogConfigOrderedBundle.d.ts +3 -0
  40. package/dist/api/types/CatalogConfigOrderedBundleResponseData.d.ts +3 -0
  41. package/dist/api/types/CatalogConfigOrderedEntitlement.d.ts +4 -0
  42. package/dist/api/types/CatalogConfigOrderedEntitlementResponseData.d.ts +4 -0
  43. package/dist/api/types/CatalogConfigOrderedPlan.d.ts +5 -0
  44. package/dist/api/types/CatalogConfigOrderedPlanResponseData.d.ts +5 -0
  45. package/dist/api/types/CatalogConfigurationResponseData.d.ts +14 -0
  46. package/dist/api/types/CatalogCreditBundleIDsResponseData.d.ts +3 -0
  47. package/dist/api/types/CatalogDerivedFeatureResponseData.d.ts +5 -0
  48. package/dist/api/types/CatalogDerivedFeaturesResponseData.d.ts +4 -0
  49. package/dist/api/types/CatalogPlanIDsResponseData.d.ts +3 -0
  50. package/dist/api/types/CatalogResponseData.d.ts +16 -0
  51. package/dist/api/types/CompanyFeatureUsageExportMetadata.d.ts +36 -0
  52. package/dist/api/types/CompanyPlanDetailResponseData.d.ts +1 -0
  53. package/dist/api/types/ComponentResponseData.d.ts +1 -0
  54. package/dist/api/types/DataExportMetadata.d.ts +10 -0
  55. package/dist/api/types/DataExportOutputFileType.d.ts +5 -1
  56. package/dist/api/types/DataExportResponseData.d.ts +1 -1
  57. package/dist/api/types/DataExportType.d.ts +5 -1
  58. package/dist/api/types/FeatureEntitlement.d.ts +2 -0
  59. package/dist/api/types/PlanCatalogMembershipResponseData.d.ts +4 -0
  60. package/dist/api/types/PlanDetailResponseData.d.ts +1 -0
  61. package/dist/api/types/PlanGroupPlanDetailResponseData.d.ts +1 -0
  62. package/dist/api/types/PlanViewPublicResponseData.d.ts +1 -0
  63. package/dist/api/types/PreviewSubscriptionDiscountResponseData.d.ts +13 -0
  64. package/dist/api/types/PreviewSubscriptionFinanceResponseData.d.ts +2 -0
  65. package/dist/api/types/RulesengineFeatureEntitlement.d.ts +2 -0
  66. package/dist/api/types/RulesengineWarningTier.d.ts +6 -0
  67. package/dist/api/types/UpsertCompanyRequestBody.d.ts +4 -0
  68. package/dist/api/types/WarningTier.d.ts +6 -0
  69. package/dist/api/types/index.d.ts +19 -0
  70. package/dist/index.js +9 -9
  71. package/dist/serialization/resources/catalogs/client/index.d.ts +1 -0
  72. package/dist/serialization/resources/catalogs/client/requests/CreateCatalogRequestBody.d.ts +11 -0
  73. package/dist/serialization/resources/catalogs/client/requests/UpdateCatalogConfigurationRequestBody.d.ts +19 -0
  74. package/dist/serialization/resources/catalogs/client/requests/UpdateCatalogRequestBody.d.ts +11 -0
  75. package/dist/serialization/resources/catalogs/client/requests/index.d.ts +3 -0
  76. package/dist/serialization/resources/catalogs/index.d.ts +2 -0
  77. package/dist/serialization/resources/catalogs/types/CreateCatalogResponse.d.ts +11 -0
  78. package/dist/serialization/resources/catalogs/types/DeleteCatalogResponse.d.ts +11 -0
  79. package/dist/serialization/resources/catalogs/types/GetCatalogResponse.d.ts +11 -0
  80. package/dist/serialization/resources/catalogs/types/GetConfigurationResponse.d.ts +11 -0
  81. package/dist/serialization/resources/catalogs/types/GetCreditBundlesInCatalogResponse.d.ts +11 -0
  82. package/dist/serialization/resources/catalogs/types/GetDerivedFeaturesResponse.d.ts +11 -0
  83. package/dist/serialization/resources/catalogs/types/GetPlansInCatalogResponse.d.ts +11 -0
  84. package/dist/serialization/resources/catalogs/types/ListCatalogsParams.d.ts +12 -0
  85. package/dist/serialization/resources/catalogs/types/ListCatalogsResponse.d.ts +12 -0
  86. package/dist/serialization/resources/catalogs/types/UpdateCatalogResponse.d.ts +11 -0
  87. package/dist/serialization/resources/catalogs/types/UpdateConfigurationResponse.d.ts +11 -0
  88. package/dist/serialization/resources/catalogs/types/index.d.ts +11 -0
  89. package/dist/serialization/resources/components/client/requests/BindCatalogRequestBody.d.ts +9 -0
  90. package/dist/serialization/resources/components/client/requests/index.d.ts +1 -0
  91. package/dist/serialization/resources/components/types/BindCatalogResponse.d.ts +11 -0
  92. package/dist/serialization/resources/components/types/index.d.ts +1 -0
  93. package/dist/serialization/resources/dataexports/client/requests/CreateDataExportRequestBody.d.ts +6 -1
  94. package/dist/serialization/resources/dataexports/types/GetDataExportResponse.d.ts +11 -0
  95. package/dist/serialization/resources/dataexports/types/ListDataExportsParams.d.ts +14 -0
  96. package/dist/serialization/resources/dataexports/types/ListDataExportsResponse.d.ts +12 -0
  97. package/dist/serialization/resources/dataexports/types/index.d.ts +3 -0
  98. package/dist/serialization/resources/index.d.ts +3 -0
  99. package/dist/serialization/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +2 -0
  100. package/dist/serialization/types/AuditLogExportMetadata.d.ts +13 -0
  101. package/dist/serialization/types/CatalogConfigOrderedBundle.d.ts +9 -0
  102. package/dist/serialization/types/CatalogConfigOrderedBundleResponseData.d.ts +9 -0
  103. package/dist/serialization/types/CatalogConfigOrderedEntitlement.d.ts +10 -0
  104. package/dist/serialization/types/CatalogConfigOrderedEntitlementResponseData.d.ts +10 -0
  105. package/dist/serialization/types/CatalogConfigOrderedPlan.d.ts +11 -0
  106. package/dist/serialization/types/CatalogConfigOrderedPlanResponseData.d.ts +11 -0
  107. package/dist/serialization/types/CatalogConfigurationResponseData.d.ts +22 -0
  108. package/dist/serialization/types/CatalogCreditBundleIDsResponseData.d.ts +9 -0
  109. package/dist/serialization/types/CatalogDerivedFeatureResponseData.d.ts +11 -0
  110. package/dist/serialization/types/CatalogDerivedFeaturesResponseData.d.ts +10 -0
  111. package/dist/serialization/types/CatalogPlanIDsResponseData.d.ts +9 -0
  112. package/dist/serialization/types/CatalogResponseData.d.ts +22 -0
  113. package/dist/serialization/types/CompanyFeatureUsageExportMetadata.d.ts +25 -0
  114. package/dist/serialization/types/CompanyPlanDetailResponseData.d.ts +2 -0
  115. package/dist/serialization/types/ComponentResponseData.d.ts +1 -0
  116. package/dist/serialization/types/DataExportMetadata.d.ts +15 -0
  117. package/dist/serialization/types/DataExportOutputFileType.d.ts +1 -1
  118. package/dist/serialization/types/DataExportResponseData.d.ts +2 -1
  119. package/dist/serialization/types/DataExportType.d.ts +1 -1
  120. package/dist/serialization/types/FeatureEntitlement.d.ts +2 -0
  121. package/dist/serialization/types/PlanCatalogMembershipResponseData.d.ts +10 -0
  122. package/dist/serialization/types/PlanDetailResponseData.d.ts +2 -0
  123. package/dist/serialization/types/PlanGroupPlanDetailResponseData.d.ts +2 -0
  124. package/dist/serialization/types/PlanViewPublicResponseData.d.ts +2 -0
  125. package/dist/serialization/types/PreviewSubscriptionDiscountResponseData.d.ts +19 -0
  126. package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +3 -0
  127. package/dist/serialization/types/RulesengineFeatureEntitlement.d.ts +2 -0
  128. package/dist/serialization/types/RulesengineWarningTier.d.ts +10 -0
  129. package/dist/serialization/types/UpsertCompanyRequestBody.d.ts +2 -0
  130. package/dist/serialization/types/WarningTier.d.ts +10 -0
  131. package/dist/serialization/types/index.d.ts +19 -0
  132. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ export * from "./requests";
@@ -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
+ export declare const CreateCatalogRequestBody: core.serialization.Schema<serializers.CreateCatalogRequestBody.Raw, Schematic.CreateCatalogRequestBody>;
5
+ export declare namespace CreateCatalogRequestBody {
6
+ interface Raw {
7
+ description?: string | null;
8
+ is_default: boolean;
9
+ name: string;
10
+ }
11
+ }
@@ -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 { CatalogConfigOrderedBundle } from "../../../../types/CatalogConfigOrderedBundle";
5
+ import { CatalogConfigOrderedPlan } from "../../../../types/CatalogConfigOrderedPlan";
6
+ export declare const UpdateCatalogConfigurationRequestBody: core.serialization.Schema<serializers.UpdateCatalogConfigurationRequestBody.Raw, Schematic.UpdateCatalogConfigurationRequestBody>;
7
+ export declare namespace UpdateCatalogConfigurationRequestBody {
8
+ interface Raw {
9
+ custom_plan_cta_text?: string | null;
10
+ custom_plan_cta_url?: string | null;
11
+ custom_plan_price_text?: string | null;
12
+ custom_plans_visible?: boolean | null;
13
+ ordered_add_ons?: CatalogConfigOrderedPlan.Raw[] | null;
14
+ ordered_bundles?: CatalogConfigOrderedBundle.Raw[] | null;
15
+ ordered_plans?: CatalogConfigOrderedPlan.Raw[] | null;
16
+ pricing_model?: string | null;
17
+ pricing_url?: string | null;
18
+ }
19
+ }
@@ -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
+ export declare const UpdateCatalogRequestBody: core.serialization.Schema<serializers.UpdateCatalogRequestBody.Raw, Schematic.UpdateCatalogRequestBody>;
5
+ export declare namespace UpdateCatalogRequestBody {
6
+ interface Raw {
7
+ description?: string | null;
8
+ is_default?: boolean | null;
9
+ name?: string | null;
10
+ }
11
+ }
@@ -0,0 +1,3 @@
1
+ export { CreateCatalogRequestBody } from "./CreateCatalogRequestBody";
2
+ export { UpdateCatalogConfigurationRequestBody } from "./UpdateCatalogConfigurationRequestBody";
3
+ export { UpdateCatalogRequestBody } from "./UpdateCatalogRequestBody";
@@ -0,0 +1,2 @@
1
+ export * from "./client";
2
+ export * from "./types";
@@ -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 { CatalogResponseData } from "../../../types/CatalogResponseData";
5
+ export declare const CreateCatalogResponse: core.serialization.ObjectSchema<serializers.CreateCatalogResponse.Raw, Schematic.CreateCatalogResponse>;
6
+ export declare namespace CreateCatalogResponse {
7
+ interface Raw {
8
+ data: CatalogResponseData.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 DeleteCatalogResponse: core.serialization.ObjectSchema<serializers.DeleteCatalogResponse.Raw, Schematic.DeleteCatalogResponse>;
6
+ export declare namespace DeleteCatalogResponse {
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 { CatalogResponseData } from "../../../types/CatalogResponseData";
5
+ export declare const GetCatalogResponse: core.serialization.ObjectSchema<serializers.GetCatalogResponse.Raw, Schematic.GetCatalogResponse>;
6
+ export declare namespace GetCatalogResponse {
7
+ interface Raw {
8
+ data: CatalogResponseData.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 { CatalogConfigurationResponseData } from "../../../types/CatalogConfigurationResponseData";
5
+ export declare const GetConfigurationResponse: core.serialization.ObjectSchema<serializers.GetConfigurationResponse.Raw, Schematic.GetConfigurationResponse>;
6
+ export declare namespace GetConfigurationResponse {
7
+ interface Raw {
8
+ data: CatalogConfigurationResponseData.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 { CatalogCreditBundleIDsResponseData } from "../../../types/CatalogCreditBundleIDsResponseData";
5
+ export declare const GetCreditBundlesInCatalogResponse: core.serialization.ObjectSchema<serializers.GetCreditBundlesInCatalogResponse.Raw, Schematic.GetCreditBundlesInCatalogResponse>;
6
+ export declare namespace GetCreditBundlesInCatalogResponse {
7
+ interface Raw {
8
+ data: CatalogCreditBundleIDsResponseData.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 { CatalogDerivedFeaturesResponseData } from "../../../types/CatalogDerivedFeaturesResponseData";
5
+ export declare const GetDerivedFeaturesResponse: core.serialization.ObjectSchema<serializers.GetDerivedFeaturesResponse.Raw, Schematic.GetDerivedFeaturesResponse>;
6
+ export declare namespace GetDerivedFeaturesResponse {
7
+ interface Raw {
8
+ data: CatalogDerivedFeaturesResponseData.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 { CatalogPlanIDsResponseData } from "../../../types/CatalogPlanIDsResponseData";
5
+ export declare const GetPlansInCatalogResponse: core.serialization.ObjectSchema<serializers.GetPlansInCatalogResponse.Raw, Schematic.GetPlansInCatalogResponse>;
6
+ export declare namespace GetPlansInCatalogResponse {
7
+ interface Raw {
8
+ data: CatalogPlanIDsResponseData.Raw;
9
+ params: Record<string, unknown>;
10
+ }
11
+ }
@@ -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
+ export declare const ListCatalogsParams: core.serialization.ObjectSchema<serializers.ListCatalogsParams.Raw, Schematic.ListCatalogsParams>;
5
+ export declare namespace ListCatalogsParams {
6
+ interface Raw {
7
+ is_default?: boolean | null;
8
+ limit?: number | null;
9
+ offset?: number | null;
10
+ q?: string | null;
11
+ }
12
+ }
@@ -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 { CatalogResponseData } from "../../../types/CatalogResponseData";
5
+ import { ListCatalogsParams } from "./ListCatalogsParams";
6
+ export declare const ListCatalogsResponse: core.serialization.ObjectSchema<serializers.ListCatalogsResponse.Raw, Schematic.ListCatalogsResponse>;
7
+ export declare namespace ListCatalogsResponse {
8
+ interface Raw {
9
+ data: CatalogResponseData.Raw[];
10
+ params: ListCatalogsParams.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 { CatalogResponseData } from "../../../types/CatalogResponseData";
5
+ export declare const UpdateCatalogResponse: core.serialization.ObjectSchema<serializers.UpdateCatalogResponse.Raw, Schematic.UpdateCatalogResponse>;
6
+ export declare namespace UpdateCatalogResponse {
7
+ interface Raw {
8
+ data: CatalogResponseData.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 { CatalogResponseData } from "../../../types/CatalogResponseData";
5
+ export declare const UpdateConfigurationResponse: core.serialization.ObjectSchema<serializers.UpdateConfigurationResponse.Raw, Schematic.UpdateConfigurationResponse>;
6
+ export declare namespace UpdateConfigurationResponse {
7
+ interface Raw {
8
+ data: CatalogResponseData.Raw;
9
+ params: Record<string, unknown>;
10
+ }
11
+ }
@@ -0,0 +1,11 @@
1
+ export * from "./CreateCatalogResponse";
2
+ export * from "./DeleteCatalogResponse";
3
+ export * from "./GetCatalogResponse";
4
+ export * from "./GetConfigurationResponse";
5
+ export * from "./GetCreditBundlesInCatalogResponse";
6
+ export * from "./GetDerivedFeaturesResponse";
7
+ export * from "./GetPlansInCatalogResponse";
8
+ export * from "./ListCatalogsParams";
9
+ export * from "./ListCatalogsResponse";
10
+ export * from "./UpdateCatalogResponse";
11
+ export * from "./UpdateConfigurationResponse";
@@ -0,0 +1,9 @@
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 BindCatalogRequestBody: core.serialization.Schema<serializers.BindCatalogRequestBody.Raw, Schematic.BindCatalogRequestBody>;
5
+ export declare namespace BindCatalogRequestBody {
6
+ interface Raw {
7
+ catalog_id?: string | null;
8
+ }
9
+ }
@@ -1,2 +1,3 @@
1
+ export { BindCatalogRequestBody } from "./BindCatalogRequestBody";
1
2
  export { CreateComponentRequestBody } from "./CreateComponentRequestBody";
2
3
  export { UpdateComponentRequestBody } from "./UpdateComponentRequestBody";
@@ -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 { ComponentResponseData } from "../../../types/ComponentResponseData";
5
+ export declare const BindCatalogResponse: core.serialization.ObjectSchema<serializers.BindCatalogResponse.Raw, Schematic.BindCatalogResponse>;
6
+ export declare namespace BindCatalogResponse {
7
+ interface Raw {
8
+ data: ComponentResponseData.Raw;
9
+ params: Record<string, unknown>;
10
+ }
11
+ }
@@ -1,3 +1,4 @@
1
+ export * from "./BindCatalogResponse";
1
2
  export * from "./CountComponentsParams";
2
3
  export * from "./CountComponentsResponse";
3
4
  export * from "./CreateComponentResponse";
@@ -1,9 +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 { DataExportMetadata } from "../../../../types/DataExportMetadata";
5
+ import { DataExportOutputFileType } from "../../../../types/DataExportOutputFileType";
6
+ import { DataExportType } from "../../../../types/DataExportType";
4
7
  export declare const CreateDataExportRequestBody: core.serialization.Schema<serializers.CreateDataExportRequestBody.Raw, Schematic.CreateDataExportRequestBody>;
5
8
  export declare namespace CreateDataExportRequestBody {
6
9
  interface Raw {
7
- metadata: string;
10
+ export_type: DataExportType.Raw;
11
+ metadata?: DataExportMetadata.Raw | null;
12
+ output_file_type: DataExportOutputFileType.Raw;
8
13
  }
9
14
  }
@@ -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 { DataExportResponseData } from "../../../types/DataExportResponseData";
5
+ export declare const GetDataExportResponse: core.serialization.ObjectSchema<serializers.GetDataExportResponse.Raw, Schematic.GetDataExportResponse>;
6
+ export declare namespace GetDataExportResponse {
7
+ interface Raw {
8
+ data: DataExportResponseData.Raw;
9
+ params: Record<string, unknown>;
10
+ }
11
+ }
@@ -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 { DataExportStatus } from "../../../types/DataExportStatus";
5
+ import { DataExportType } from "../../../types/DataExportType";
6
+ export declare const ListDataExportsParams: core.serialization.ObjectSchema<serializers.ListDataExportsParams.Raw, Schematic.ListDataExportsParams>;
7
+ export declare namespace ListDataExportsParams {
8
+ interface Raw {
9
+ export_type?: DataExportType.Raw | null;
10
+ limit?: number | null;
11
+ offset?: number | null;
12
+ status?: DataExportStatus.Raw | null;
13
+ }
14
+ }
@@ -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 { DataExportResponseData } from "../../../types/DataExportResponseData";
5
+ import { ListDataExportsParams } from "./ListDataExportsParams";
6
+ export declare const ListDataExportsResponse: core.serialization.ObjectSchema<serializers.ListDataExportsResponse.Raw, Schematic.ListDataExportsResponse>;
7
+ export declare namespace ListDataExportsResponse {
8
+ interface Raw {
9
+ data: DataExportResponseData.Raw[];
10
+ params: ListDataExportsParams.Raw;
11
+ }
12
+ }
@@ -1 +1,4 @@
1
1
  export * from "./CreateDataExportResponse";
2
+ export * from "./GetDataExportResponse";
3
+ export * from "./ListDataExportsParams";
4
+ export * from "./ListDataExportsResponse";
@@ -7,6 +7,9 @@ export * from "./accounts/types";
7
7
  export * as billing from "./billing";
8
8
  export * from "./billing/client/requests";
9
9
  export * from "./billing/types";
10
+ export * as catalogs from "./catalogs";
11
+ export * from "./catalogs/client/requests";
12
+ export * from "./catalogs/types";
10
13
  export * as checkout from "./checkout";
11
14
  export * from "./checkout/client/requests";
12
15
  export * from "./checkout/types";
@@ -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 { CreateCustomPlanBundlePlanRequestBody } from "../../../../types/CreateCustomPlanBundlePlanRequestBody";
5
+ import { PlanBundleCreditGrantRequestBody } from "../../../../types/PlanBundleCreditGrantRequestBody";
5
6
  import { PlanBundleEntitlementRequestBody } from "../../../../types/PlanBundleEntitlementRequestBody";
6
7
  import { UpsertBillingProductRequestBody } from "../../../../types/UpsertBillingProductRequestBody";
7
8
  export declare const CreateCustomPlanBundleRequestBody: core.serialization.Schema<serializers.CreateCustomPlanBundleRequestBody.Raw, Schematic.CreateCustomPlanBundleRequestBody>;
8
9
  export declare namespace CreateCustomPlanBundleRequestBody {
9
10
  interface Raw {
10
11
  billing_product?: UpsertBillingProductRequestBody.Raw | null;
12
+ credit_grants?: PlanBundleCreditGrantRequestBody.Raw[] | null;
11
13
  entitlements: PlanBundleEntitlementRequestBody.Raw[];
12
14
  plan?: CreateCustomPlanBundlePlanRequestBody.Raw | null;
13
15
  }
@@ -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
+ export declare const AuditLogExportMetadata: core.serialization.ObjectSchema<serializers.AuditLogExportMetadata.Raw, Schematic.AuditLogExportMetadata>;
5
+ export declare namespace AuditLogExportMetadata {
6
+ interface Raw {
7
+ actor_type?: string | null;
8
+ end_time?: string | null;
9
+ notification_email_recipient_email_addresses?: string[] | null;
10
+ q?: string | null;
11
+ start_time?: string | null;
12
+ }
13
+ }
@@ -0,0 +1,9 @@
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 CatalogConfigOrderedBundle: core.serialization.ObjectSchema<serializers.CatalogConfigOrderedBundle.Raw, Schematic.CatalogConfigOrderedBundle>;
5
+ export declare namespace CatalogConfigOrderedBundle {
6
+ interface Raw {
7
+ bundle_id: string;
8
+ }
9
+ }
@@ -0,0 +1,9 @@
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 CatalogConfigOrderedBundleResponseData: core.serialization.ObjectSchema<serializers.CatalogConfigOrderedBundleResponseData.Raw, Schematic.CatalogConfigOrderedBundleResponseData>;
5
+ export declare namespace CatalogConfigOrderedBundleResponseData {
6
+ interface Raw {
7
+ bundle_id: string;
8
+ }
9
+ }
@@ -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 CatalogConfigOrderedEntitlement: core.serialization.ObjectSchema<serializers.CatalogConfigOrderedEntitlement.Raw, Schematic.CatalogConfigOrderedEntitlement>;
5
+ export declare namespace CatalogConfigOrderedEntitlement {
6
+ interface Raw {
7
+ plan_entitlement_id: string;
8
+ visible?: boolean | null;
9
+ }
10
+ }
@@ -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 CatalogConfigOrderedEntitlementResponseData: core.serialization.ObjectSchema<serializers.CatalogConfigOrderedEntitlementResponseData.Raw, Schematic.CatalogConfigOrderedEntitlementResponseData>;
5
+ export declare namespace CatalogConfigOrderedEntitlementResponseData {
6
+ interface Raw {
7
+ plan_entitlement_id: string;
8
+ visible: boolean;
9
+ }
10
+ }
@@ -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 { CatalogConfigOrderedEntitlement } from "./CatalogConfigOrderedEntitlement";
5
+ export declare const CatalogConfigOrderedPlan: core.serialization.ObjectSchema<serializers.CatalogConfigOrderedPlan.Raw, Schematic.CatalogConfigOrderedPlan>;
6
+ export declare namespace CatalogConfigOrderedPlan {
7
+ interface Raw {
8
+ entitlements?: CatalogConfigOrderedEntitlement.Raw[] | null;
9
+ plan_id: string;
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 { CatalogConfigOrderedEntitlementResponseData } from "./CatalogConfigOrderedEntitlementResponseData";
5
+ export declare const CatalogConfigOrderedPlanResponseData: core.serialization.ObjectSchema<serializers.CatalogConfigOrderedPlanResponseData.Raw, Schematic.CatalogConfigOrderedPlanResponseData>;
6
+ export declare namespace CatalogConfigOrderedPlanResponseData {
7
+ interface Raw {
8
+ entitlements: CatalogConfigOrderedEntitlementResponseData.Raw[];
9
+ plan_id: string;
10
+ }
11
+ }
@@ -0,0 +1,22 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { CatalogConfigOrderedBundleResponseData } from "./CatalogConfigOrderedBundleResponseData";
5
+ import { CatalogConfigOrderedPlanResponseData } from "./CatalogConfigOrderedPlanResponseData";
6
+ import { PlanGroupPlanDetailResponseData } from "./PlanGroupPlanDetailResponseData";
7
+ export declare const CatalogConfigurationResponseData: core.serialization.ObjectSchema<serializers.CatalogConfigurationResponseData.Raw, Schematic.CatalogConfigurationResponseData>;
8
+ export declare namespace CatalogConfigurationResponseData {
9
+ interface Raw {
10
+ add_ons: PlanGroupPlanDetailResponseData.Raw[];
11
+ custom_plan_cta_text?: string | null;
12
+ custom_plan_cta_url?: string | null;
13
+ custom_plan_price_text?: string | null;
14
+ custom_plans_visible: boolean;
15
+ ordered_add_ons: CatalogConfigOrderedPlanResponseData.Raw[];
16
+ ordered_bundles: CatalogConfigOrderedBundleResponseData.Raw[];
17
+ ordered_plans: CatalogConfigOrderedPlanResponseData.Raw[];
18
+ plans: PlanGroupPlanDetailResponseData.Raw[];
19
+ pricing_model?: string | null;
20
+ pricing_url?: string | null;
21
+ }
22
+ }
@@ -0,0 +1,9 @@
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 CatalogCreditBundleIDsResponseData: core.serialization.ObjectSchema<serializers.CatalogCreditBundleIDsResponseData.Raw, Schematic.CatalogCreditBundleIDsResponseData>;
5
+ export declare namespace CatalogCreditBundleIDsResponseData {
6
+ interface Raw {
7
+ credit_bundle_ids: string[];
8
+ }
9
+ }
@@ -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
+ export declare const CatalogDerivedFeatureResponseData: core.serialization.ObjectSchema<serializers.CatalogDerivedFeatureResponseData.Raw, Schematic.CatalogDerivedFeatureResponseData>;
5
+ export declare namespace CatalogDerivedFeatureResponseData {
6
+ interface Raw {
7
+ icon: string;
8
+ id: string;
9
+ name: string;
10
+ }
11
+ }
@@ -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
+ import { CatalogDerivedFeatureResponseData } from "./CatalogDerivedFeatureResponseData";
5
+ export declare const CatalogDerivedFeaturesResponseData: core.serialization.ObjectSchema<serializers.CatalogDerivedFeaturesResponseData.Raw, Schematic.CatalogDerivedFeaturesResponseData>;
6
+ export declare namespace CatalogDerivedFeaturesResponseData {
7
+ interface Raw {
8
+ features: CatalogDerivedFeatureResponseData.Raw[];
9
+ }
10
+ }
@@ -0,0 +1,9 @@
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 CatalogPlanIDsResponseData: core.serialization.ObjectSchema<serializers.CatalogPlanIDsResponseData.Raw, Schematic.CatalogPlanIDsResponseData>;
5
+ export declare namespace CatalogPlanIDsResponseData {
6
+ interface Raw {
7
+ plan_ids: string[];
8
+ }
9
+ }
@@ -0,0 +1,22 @@
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 CatalogResponseData: core.serialization.ObjectSchema<serializers.CatalogResponseData.Raw, Schematic.CatalogResponseData>;
5
+ export declare namespace CatalogResponseData {
6
+ interface Raw {
7
+ account_id: string;
8
+ created_at: string;
9
+ custom_plan_cta_text?: string | null;
10
+ custom_plan_cta_url?: string | null;
11
+ custom_plan_price_text?: string | null;
12
+ custom_plans_visible: boolean;
13
+ description?: string | null;
14
+ environment_id: string;
15
+ id: string;
16
+ is_default: boolean;
17
+ name: string;
18
+ pricing_model?: string | null;
19
+ pricing_url?: string | null;
20
+ updated_at: string;
21
+ }
22
+ }
@@ -0,0 +1,25 @@
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 CompanyFeatureUsageExportMetadata: core.serialization.ObjectSchema<serializers.CompanyFeatureUsageExportMetadata.Raw, Schematic.CompanyFeatureUsageExportMetadata>;
5
+ export declare namespace CompanyFeatureUsageExportMetadata {
6
+ interface Raw {
7
+ company_ids?: string[] | null;
8
+ credit_type_ids?: string[] | null;
9
+ feature_ids: string[];
10
+ has_scheduled_downgrade?: boolean | null;
11
+ monetized_subscriptions?: boolean | null;
12
+ notification_email_recipient_email_addresses?: string[] | null;
13
+ plan_id?: string | null;
14
+ plan_ids?: string[] | null;
15
+ plan_version_id?: string | null;
16
+ q?: string | null;
17
+ subscription_statuses?: string[] | null;
18
+ subscription_types?: string[] | null;
19
+ with_entitlement_for?: string | null;
20
+ with_subscription?: boolean | null;
21
+ without_feature_override_for?: string | null;
22
+ without_plan?: boolean | null;
23
+ without_subscription?: boolean | null;
24
+ }
25
+ }
@@ -12,6 +12,7 @@ import { CompanyPlanInvalidReason } from "./CompanyPlanInvalidReason";
12
12
  import { CustomPlanConfig } from "./CustomPlanConfig";
13
13
  import { FeatureInPlanResponseData } from "./FeatureInPlanResponseData";
14
14
  import { FeatureUsageResponseData } from "./FeatureUsageResponseData";
15
+ import { PlanCatalogMembershipResponseData } from "./PlanCatalogMembershipResponseData";
15
16
  import { PlanCreditGrantView } from "./PlanCreditGrantView";
16
17
  import { PlanCurrencyPricesResponseData } from "./PlanCurrencyPricesResponseData";
17
18
  import { PlanEntitlementResponseData } from "./PlanEntitlementResponseData";
@@ -28,6 +29,7 @@ export declare namespace CompanyPlanDetailResponseData {
28
29
  billing_linked_resource?: BillingLinkedResourceResponseData.Raw | null;
29
30
  billing_product?: BillingProductDetailResponseData.Raw | null;
30
31
  billing_strategy: BillingStrategy.Raw;
32
+ catalogs?: PlanCatalogMembershipResponseData.Raw[] | null;
31
33
  charge_type: ChargeType.Raw;
32
34
  company_can_trial: boolean;
33
35
  company_count: number;
@@ -7,6 +7,7 @@ export declare const ComponentResponseData: core.serialization.ObjectSchema<seri
7
7
  export declare namespace ComponentResponseData {
8
8
  interface Raw {
9
9
  ast?: Record<string, number> | null;
10
+ catalog_id?: string | null;
10
11
  created_at: string;
11
12
  id: string;
12
13
  name: string;
@@ -0,0 +1,15 @@
1
+ import type * as Schematic from "../../api/index";
2
+ import * as core from "../../core";
3
+ import type * as serializers from "../index";
4
+ import { AuditLogExportMetadata } from "./AuditLogExportMetadata";
5
+ import { CompanyFeatureUsageExportMetadata } from "./CompanyFeatureUsageExportMetadata";
6
+ export declare const DataExportMetadata: core.serialization.Schema<serializers.DataExportMetadata.Raw, Schematic.DataExportMetadata>;
7
+ export declare namespace DataExportMetadata {
8
+ type Raw = DataExportMetadata.AuditLog | DataExportMetadata.CompanyFeatureUsage;
9
+ interface AuditLog extends AuditLogExportMetadata.Raw {
10
+ export_type: "audit-log";
11
+ }
12
+ interface CompanyFeatureUsage extends CompanyFeatureUsageExportMetadata.Raw {
13
+ export_type: "company-feature-usage";
14
+ }
15
+ }
@@ -3,5 +3,5 @@ import * as core from "../../core";
3
3
  import type * as serializers from "../index";
4
4
  export declare const DataExportOutputFileType: core.serialization.Schema<serializers.DataExportOutputFileType.Raw, Schematic.DataExportOutputFileType>;
5
5
  export declare namespace DataExportOutputFileType {
6
- type Raw = "csv";
6
+ type Raw = "csv" | "csv.gz";
7
7
  }
@@ -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 { DataExportMetadata } from "./DataExportMetadata";
4
5
  import { DataExportOutputFileType } from "./DataExportOutputFileType";
5
6
  import { DataExportStatus } from "./DataExportStatus";
6
7
  import { DataExportType } from "./DataExportType";
@@ -12,7 +13,7 @@ export declare namespace DataExportResponseData {
12
13
  environment_id: string;
13
14
  export_type: DataExportType.Raw;
14
15
  id: string;
15
- metadata: string;
16
+ metadata?: DataExportMetadata.Raw | null;
16
17
  output_file_type: DataExportOutputFileType.Raw;
17
18
  status: DataExportStatus.Raw;
18
19
  updated_at: string;