@schematichq/schematic-typescript-node 1.5.8 → 1.5.10

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 (218) hide show
  1. package/README.md +1 -1
  2. package/dist/BaseClient.d.ts +12 -0
  3. package/dist/Client.d.ts +3 -0
  4. package/dist/api/errors/BadRequestError.d.ts +1 -0
  5. package/dist/api/errors/ForbiddenError.d.ts +1 -0
  6. package/dist/api/errors/InternalServerError.d.ts +1 -0
  7. package/dist/api/errors/NotFoundError.d.ts +1 -0
  8. package/dist/api/errors/UnauthorizedError.d.ts +1 -0
  9. package/dist/api/resources/accesstokens/client/Client.d.ts +2 -0
  10. package/dist/api/resources/accounts/client/Client.d.ts +70 -0
  11. package/dist/api/resources/accounts/client/requests/UpdateOnboardingStateRequestBody.d.ts +11 -0
  12. package/dist/api/resources/accounts/client/requests/index.d.ts +1 -0
  13. package/dist/api/resources/accounts/types/GetOnboardingStateResponse.d.ts +6 -0
  14. package/dist/api/resources/accounts/types/UpdateOnboardingStateResponse.d.ts +6 -0
  15. package/dist/api/resources/accounts/types/index.d.ts +2 -0
  16. package/dist/api/resources/billing/client/Client.d.ts +48 -0
  17. package/dist/api/resources/catalogs/client/Client.d.ts +28 -0
  18. package/dist/api/resources/checkout/client/Client.d.ts +18 -0
  19. package/dist/api/resources/companies/client/Client.d.ts +139 -3
  20. package/dist/api/resources/companies/client/requests/CountCompaniesRequest.d.ts +3 -0
  21. package/dist/api/resources/companies/client/requests/CountEntityTraitsRequest.d.ts +18 -0
  22. package/dist/api/resources/companies/client/requests/GetBillingEntityChildSubscriptionsRequest.d.ts +1 -1
  23. package/dist/api/resources/companies/client/requests/GetCompanyBillingEntityRequest.d.ts +1 -1
  24. package/dist/api/resources/companies/client/requests/ListCompaniesRequest.d.ts +3 -0
  25. package/dist/api/resources/companies/client/requests/ListPlanChangesRequest.d.ts +0 -2
  26. package/dist/api/resources/companies/client/requests/index.d.ts +1 -0
  27. package/dist/api/resources/companies/types/CountCompaniesParams.d.ts +2 -0
  28. package/dist/api/resources/companies/types/CountEntityTraitsParams.d.ts +12 -0
  29. package/dist/api/resources/companies/types/CountEntityTraitsResponse.d.ts +6 -0
  30. package/dist/api/resources/companies/types/DeleteEntityTraitDefinitionResponse.d.ts +6 -0
  31. package/dist/api/resources/companies/types/GetEntityTraitDefinitionUsageResponse.d.ts +6 -0
  32. package/dist/api/resources/companies/types/ListCompaniesParams.d.ts +2 -0
  33. package/dist/api/resources/companies/types/ListPlanChangesParams.d.ts +0 -1
  34. package/dist/api/resources/companies/types/index.d.ts +4 -0
  35. package/dist/api/resources/components/client/Client.d.ts +16 -0
  36. package/dist/api/resources/componentspublic/client/Client.d.ts +2 -0
  37. package/dist/api/resources/credits/client/Client.d.ts +62 -2
  38. package/dist/api/resources/credits/client/requests/CountCompanyGrantsRequest.d.ts +1 -1
  39. package/dist/api/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +2 -0
  40. package/dist/api/resources/credits/client/requests/ListCompanyGrantsRequest.d.ts +1 -1
  41. package/dist/api/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +2 -0
  42. package/dist/api/resources/dataexports/client/Client.d.ts +8 -0
  43. package/dist/api/resources/entitlements/client/Client.d.ts +73 -0
  44. package/dist/api/resources/entitlements/client/requests/ListFeatureUsageHistoryRequest.d.ts +29 -0
  45. package/dist/api/resources/entitlements/client/requests/index.d.ts +1 -0
  46. package/dist/api/resources/entitlements/types/ListFeatureUsageHistoryParams.d.ts +20 -0
  47. package/dist/api/resources/entitlements/types/ListFeatureUsageHistoryResponse.d.ts +6 -0
  48. package/dist/api/resources/entitlements/types/index.d.ts +2 -0
  49. package/dist/api/resources/events/client/Client.d.ts +12 -0
  50. package/dist/api/resources/features/client/Client.d.ts +34 -0
  51. package/dist/api/resources/insights/client/Client.d.ts +12 -0
  52. package/dist/api/resources/integrationsapi/client/Client.d.ts +18 -0
  53. package/dist/api/resources/licenses/client/Client.d.ts +6 -0
  54. package/dist/api/resources/planbundle/client/Client.d.ts +27 -6
  55. package/dist/api/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +11 -3
  56. package/dist/api/resources/planbundle/client/requests/CreatePlanBundleRequestBody.d.ts +6 -2
  57. package/dist/api/resources/planbundle/client/requests/UpdatePlanBundleRequestBody.d.ts +5 -2
  58. package/dist/api/resources/plangroups/client/Client.d.ts +8 -0
  59. package/dist/api/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +3 -0
  60. package/dist/api/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +3 -0
  61. package/dist/api/resources/planmigrations/client/Client.d.ts +22 -8
  62. package/dist/api/resources/planmigrations/client/requests/CountCompanyMigrationsRequest.d.ts +1 -1
  63. package/dist/api/resources/planmigrations/client/requests/CountMigrationsRequest.d.ts +1 -1
  64. package/dist/api/resources/planmigrations/client/requests/CreateMigrationInput.d.ts +4 -6
  65. package/dist/api/resources/planmigrations/client/requests/ListCompanyMigrationsRequest.d.ts +1 -1
  66. package/dist/api/resources/planmigrations/client/requests/ListMigrationsRequest.d.ts +1 -1
  67. package/dist/api/resources/planmigrations/client/requests/PreviewMigrationRequestBody.d.ts +2 -2
  68. package/dist/api/resources/plans/client/Client.d.ts +46 -12
  69. package/dist/api/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +1 -2
  70. package/dist/api/resources/plans/client/requests/CreateCustomPlanRequestBody.d.ts +2 -2
  71. package/dist/api/resources/plans/client/requests/ListCustomPlanBillingsRequest.d.ts +3 -0
  72. package/dist/api/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +3 -0
  73. package/dist/api/resources/plans/types/ListCustomPlanBillingsParams.d.ts +2 -0
  74. package/dist/api/resources/scheduledcheckout/client/Client.d.ts +8 -0
  75. package/dist/api/resources/webhooks/client/Client.d.ts +20 -0
  76. package/dist/api/types/AuditLogResponseData.d.ts +1 -0
  77. package/dist/api/types/BillingCollectionMethod.d.ts +5 -0
  78. package/dist/api/types/BillingCreditBundleResponseData.d.ts +2 -0
  79. package/dist/api/types/BillingCreditBundleView.d.ts +1 -0
  80. package/dist/api/types/BillingCreditGrantResponseData.d.ts +4 -0
  81. package/dist/api/types/BillingPlanCreditGrantResponseData.d.ts +3 -1
  82. package/dist/api/types/CheckFlagRequestBody.d.ts +3 -0
  83. package/dist/api/types/CheckoutBundlePurchaseBehavior.d.ts +5 -0
  84. package/dist/api/types/CheckoutSettingsResponseData.d.ts +3 -0
  85. package/dist/api/types/CompanyBillingCheckoutSettings.d.ts +1 -0
  86. package/dist/api/types/CompanyFeatureUsageExportMetadata.d.ts +6 -0
  87. package/dist/api/types/CompanyPlanCreditGrantView.d.ts +1 -0
  88. package/dist/api/types/ComponentCheckoutSettings.d.ts +2 -0
  89. package/dist/api/types/ComponentHydrateResponseData.d.ts +1 -1
  90. package/dist/api/types/ComponentPreviewResponseData.d.ts +1 -1
  91. package/dist/api/types/CreateBillingPlanCreditGrantRequestBody.d.ts +3 -0
  92. package/dist/api/types/CreateCustomPlanBundlePlanRequestBody.d.ts +1 -1
  93. package/dist/api/types/CreatePlanRequestBody.d.ts +1 -1
  94. package/dist/api/types/CreditCompanyGrantView.d.ts +2 -0
  95. package/dist/api/types/CustomPlanBillingResponseData.d.ts +4 -0
  96. package/dist/api/types/EntityTraitDefinitionUsage.d.ts +8 -0
  97. package/dist/api/types/EventBodyFlagCheck.d.ts +2 -0
  98. package/dist/api/types/FeatureUsageHistoryResponseData.d.ts +12 -0
  99. package/dist/api/types/GetOnboardingStateResp.d.ts +9 -0
  100. package/dist/api/types/ManagePlanRequest.d.ts +14 -0
  101. package/dist/api/types/MigrationProrationBehavior.d.ts +6 -0
  102. package/dist/api/types/OnboardingMilestone.d.ts +5 -0
  103. package/dist/api/types/OnboardingMilestoneView.d.ts +7 -0
  104. package/dist/api/types/OnboardingPath.d.ts +5 -0
  105. package/dist/api/types/OnboardingRequirement.d.ts +9 -0
  106. package/dist/api/types/OnboardingRequirementStatus.d.ts +6 -0
  107. package/dist/api/types/OnboardingRequirementView.d.ts +8 -0
  108. package/dist/api/types/OnboardingTrack.d.ts +5 -0
  109. package/dist/api/types/PlanBillingSource.d.ts +5 -0
  110. package/dist/api/types/PlanBundleResponseData.d.ts +1 -0
  111. package/dist/api/types/PlanChangeResponseData.d.ts +6 -0
  112. package/dist/api/types/PlanCreditGrantView.d.ts +1 -0
  113. package/dist/api/types/PlanVersionMigrationPreviewCompanyResponseData.d.ts +1 -0
  114. package/dist/api/types/PlanVersionMigrationPreviewResponseData.d.ts +1 -0
  115. package/dist/api/types/PlanVersionMigrationResponseData.d.ts +1 -0
  116. package/dist/api/types/PreflightEventUsageRequestBody.d.ts +6 -0
  117. package/dist/api/types/PreflightRequestBody.d.ts +9 -0
  118. package/dist/api/types/PreviewSubscriptionFinanceResponseData.d.ts +2 -0
  119. package/dist/api/types/RulesEngineSchemaVersion.d.ts +1 -1
  120. package/dist/api/types/StripeIntegrationConfig.d.ts +2 -0
  121. package/dist/api/types/UpcomingInvoiceResponseData.d.ts +23 -0
  122. package/dist/api/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +5 -2
  123. package/dist/api/types/UpsertCompanyRequestBody.d.ts +2 -0
  124. package/dist/api/types/UpsertUserRequestBody.d.ts +2 -0
  125. package/dist/api/types/UpsertUserSubRequestBody.d.ts +2 -0
  126. package/dist/api/types/WhoAmIResponseData.d.ts +1 -0
  127. package/dist/api/types/index.d.ts +17 -0
  128. package/dist/core/fetcher/redactUrl.d.ts +2 -0
  129. package/dist/core/requestBody.d.ts +12 -0
  130. package/dist/core/runtime/index.d.ts +1 -1
  131. package/dist/core/runtime/runtime.d.ts +19 -0
  132. package/dist/errors/SchematicError.d.ts +1 -0
  133. package/dist/errors/SchematicTimeoutError.d.ts +2 -2
  134. package/dist/events.d.ts +6 -0
  135. package/dist/index.js +9 -9
  136. package/dist/serialization/resources/accounts/client/requests/UpdateOnboardingStateRequestBody.d.ts +14 -0
  137. package/dist/serialization/resources/accounts/client/requests/index.d.ts +1 -0
  138. package/dist/serialization/resources/accounts/types/GetOnboardingStateResponse.d.ts +11 -0
  139. package/dist/serialization/resources/accounts/types/UpdateOnboardingStateResponse.d.ts +11 -0
  140. package/dist/serialization/resources/accounts/types/index.d.ts +2 -0
  141. package/dist/serialization/resources/companies/types/CountCompaniesParams.d.ts +1 -0
  142. package/dist/serialization/resources/companies/types/CountEntityTraitsParams.d.ts +13 -0
  143. package/dist/serialization/resources/companies/types/CountEntityTraitsResponse.d.ts +12 -0
  144. package/dist/serialization/resources/companies/types/DeleteEntityTraitDefinitionResponse.d.ts +11 -0
  145. package/dist/serialization/resources/companies/types/GetEntityTraitDefinitionUsageResponse.d.ts +11 -0
  146. package/dist/serialization/resources/companies/types/ListCompaniesParams.d.ts +1 -0
  147. package/dist/serialization/resources/companies/types/ListPlanChangesParams.d.ts +0 -1
  148. package/dist/serialization/resources/companies/types/index.d.ts +4 -0
  149. package/dist/serialization/resources/credits/client/requests/CreateCreditBundleRequestBody.d.ts +1 -0
  150. package/dist/serialization/resources/credits/client/requests/UpdateCreditBundleDetailsRequestBody.d.ts +1 -0
  151. package/dist/serialization/resources/entitlements/types/ListFeatureUsageHistoryParams.d.ts +16 -0
  152. package/dist/serialization/resources/entitlements/types/ListFeatureUsageHistoryResponse.d.ts +12 -0
  153. package/dist/serialization/resources/entitlements/types/index.d.ts +2 -0
  154. package/dist/serialization/resources/planbundle/client/requests/CreateCustomPlanBundleRequestBody.d.ts +2 -2
  155. package/dist/serialization/resources/planbundle/client/requests/CreatePlanBundleRequestBody.d.ts +1 -1
  156. package/dist/serialization/resources/planbundle/client/requests/UpdatePlanBundleRequestBody.d.ts +1 -1
  157. package/dist/serialization/resources/plangroups/client/requests/CreatePlanGroupRequestBody.d.ts +3 -0
  158. package/dist/serialization/resources/plangroups/client/requests/UpdatePlanGroupRequestBody.d.ts +3 -0
  159. package/dist/serialization/resources/planmigrations/client/requests/CreateMigrationInput.d.ts +5 -3
  160. package/dist/serialization/resources/planmigrations/client/requests/PreviewMigrationRequestBody.d.ts +2 -1
  161. package/dist/serialization/resources/plans/client/requests/CreateBillingLinkedPlanRequestBody.d.ts +1 -1
  162. package/dist/serialization/resources/plans/client/requests/CreateCustomPlanRequestBody.d.ts +2 -1
  163. package/dist/serialization/resources/plans/client/requests/PublishPlanVersionRequestBody.d.ts +3 -0
  164. package/dist/serialization/resources/plans/types/ListCustomPlanBillingsParams.d.ts +2 -0
  165. package/dist/serialization/types/AuditLogResponseData.d.ts +1 -0
  166. package/dist/serialization/types/BillingCollectionMethod.d.ts +7 -0
  167. package/dist/serialization/types/BillingCreditBundleResponseData.d.ts +1 -0
  168. package/dist/serialization/types/BillingCreditBundleView.d.ts +1 -0
  169. package/dist/serialization/types/BillingCreditGrantResponseData.d.ts +2 -0
  170. package/dist/serialization/types/BillingPlanCreditGrantResponseData.d.ts +1 -0
  171. package/dist/serialization/types/CheckFlagRequestBody.d.ts +2 -0
  172. package/dist/serialization/types/CheckoutBundlePurchaseBehavior.d.ts +7 -0
  173. package/dist/serialization/types/CheckoutSettingsResponseData.d.ts +3 -0
  174. package/dist/serialization/types/CompanyBillingCheckoutSettings.d.ts +1 -0
  175. package/dist/serialization/types/CompanyFeatureUsageExportMetadata.d.ts +3 -0
  176. package/dist/serialization/types/CompanyPlanCreditGrantView.d.ts +1 -0
  177. package/dist/serialization/types/ComponentCheckoutSettings.d.ts +3 -0
  178. package/dist/serialization/types/ComponentHydrateResponseData.d.ts +2 -2
  179. package/dist/serialization/types/ComponentPreviewResponseData.d.ts +2 -1
  180. package/dist/serialization/types/CreateBillingPlanCreditGrantRequestBody.d.ts +1 -0
  181. package/dist/serialization/types/CreateCustomPlanBundlePlanRequestBody.d.ts +1 -1
  182. package/dist/serialization/types/CreatePlanRequestBody.d.ts +1 -1
  183. package/dist/serialization/types/CreditCompanyGrantView.d.ts +2 -0
  184. package/dist/serialization/types/CustomPlanBillingResponseData.d.ts +3 -0
  185. package/dist/serialization/types/EntityTraitDefinitionUsage.d.ts +14 -0
  186. package/dist/serialization/types/EventBodyFlagCheck.d.ts +1 -0
  187. package/dist/serialization/types/FeatureUsageHistoryResponseData.d.ts +14 -0
  188. package/dist/serialization/types/GetOnboardingStateResp.d.ts +19 -0
  189. package/dist/serialization/types/ManagePlanRequest.d.ts +8 -0
  190. package/dist/serialization/types/MigrationProrationBehavior.d.ts +7 -0
  191. package/dist/serialization/types/OnboardingMilestone.d.ts +7 -0
  192. package/dist/serialization/types/OnboardingMilestoneView.d.ts +14 -0
  193. package/dist/serialization/types/OnboardingPath.d.ts +7 -0
  194. package/dist/serialization/types/OnboardingRequirement.d.ts +7 -0
  195. package/dist/serialization/types/OnboardingRequirementStatus.d.ts +7 -0
  196. package/dist/serialization/types/OnboardingRequirementView.d.ts +15 -0
  197. package/dist/serialization/types/OnboardingTrack.d.ts +7 -0
  198. package/dist/serialization/types/PlanBillingSource.d.ts +7 -0
  199. package/dist/serialization/types/PlanBundleResponseData.d.ts +2 -0
  200. package/dist/serialization/types/PlanChangeResponseData.d.ts +4 -0
  201. package/dist/serialization/types/PlanCreditGrantView.d.ts +1 -0
  202. package/dist/serialization/types/PlanVersionMigrationPreviewCompanyResponseData.d.ts +1 -0
  203. package/dist/serialization/types/PlanVersionMigrationPreviewResponseData.d.ts +1 -0
  204. package/dist/serialization/types/PlanVersionMigrationResponseData.d.ts +2 -0
  205. package/dist/serialization/types/PreflightEventUsageRequestBody.d.ts +10 -0
  206. package/dist/serialization/types/PreflightRequestBody.d.ts +12 -0
  207. package/dist/serialization/types/PreviewSubscriptionFinanceResponseData.d.ts +2 -0
  208. package/dist/serialization/types/RulesEngineSchemaVersion.d.ts +1 -1
  209. package/dist/serialization/types/StripeIntegrationConfig.d.ts +1 -0
  210. package/dist/serialization/types/UpcomingInvoiceResponseData.d.ts +30 -0
  211. package/dist/serialization/types/UpdateBillingPlanCreditGrantRequestBody.d.ts +1 -0
  212. package/dist/serialization/types/UpsertCompanyRequestBody.d.ts +1 -0
  213. package/dist/serialization/types/UpsertUserRequestBody.d.ts +1 -0
  214. package/dist/serialization/types/UpsertUserSubRequestBody.d.ts +1 -0
  215. package/dist/serialization/types/WhoAmIResponseData.d.ts +1 -0
  216. package/dist/serialization/types/index.d.ts +17 -0
  217. package/dist/wasm/rulesengine.js +4 -4
  218. package/package.json +4 -1
@@ -5,5 +5,5 @@
5
5
  * }
6
6
  */
7
7
  export interface GetBillingEntityChildSubscriptionsRequest {
8
- companyId?: string;
8
+ companyId: string;
9
9
  }
@@ -5,5 +5,5 @@
5
5
  * }
6
6
  */
7
7
  export interface GetCompanyBillingEntityRequest {
8
- companyId?: string;
8
+ companyId: string;
9
9
  }
@@ -10,6 +10,7 @@ import type * as Schematic from "../../../../index";
10
10
  * planIds: ["plan_ids"],
11
11
  * planVersionId: "plan_version_id",
12
12
  * planVersionIds: ["plan_version_ids"],
13
+ * planVersionUnpublished: true,
13
14
  * q: "q",
14
15
  * sortOrderColumn: "sort_order_column",
15
16
  * sortOrderDirection: "asc",
@@ -41,6 +42,8 @@ export interface ListCompaniesRequest {
41
42
  planVersionId?: string;
42
43
  /** Filter companies by one or more plan version IDs (each ID starts with plvr_). Takes precedence over plan_version_id when set. */
43
44
  planVersionIds?: string | string[];
45
+ /** Filter companies assigned to a plan version that is no longer published, meaning the plan has since moved on to a newer version */
46
+ planVersionUnpublished?: boolean;
44
47
  /** Search for companies by name, keys or string traits */
45
48
  q?: string;
46
49
  /** Column to sort by (e.g. name, created_at, last_seen_at) */
@@ -6,7 +6,6 @@ import type * as Schematic from "../../../../index";
6
6
  * basePlanAction: "fallback",
7
7
  * companyId: "company_id",
8
8
  * companyIds: ["company_ids"],
9
- * planIds: ["plan_ids"],
10
9
  * limit: 1000000,
11
10
  * offset: 1000000
12
11
  * }
@@ -16,7 +15,6 @@ export interface ListPlanChangesRequest {
16
15
  basePlanAction?: Schematic.PlanChangeBasePlanAction;
17
16
  companyId?: string;
18
17
  companyIds?: string | string[];
19
- planIds?: string | string[];
20
18
  /** Page limit (default 100) */
21
19
  limit?: number;
22
20
  /** Page offset (default 0) */
@@ -2,6 +2,7 @@ export type { CountCompaniesRequest } from "./CountCompaniesRequest";
2
2
  export type { CountEntityKeyDefinitionsRequest } from "./CountEntityKeyDefinitionsRequest";
3
3
  export type { CountEntityKeysRequest } from "./CountEntityKeysRequest";
4
4
  export type { CountEntityTraitDefinitionsRequest } from "./CountEntityTraitDefinitionsRequest";
5
+ export type { CountEntityTraitsRequest } from "./CountEntityTraitsRequest";
5
6
  export type { CountPlanTraitsRequest } from "./CountPlanTraitsRequest";
6
7
  export type { CountUsersRequest } from "./CountUsersRequest";
7
8
  export type { CreateEntityTraitDefinitionRequestBody } from "./CreateEntityTraitDefinitionRequestBody";
@@ -23,6 +23,8 @@ export interface CountCompaniesParams {
23
23
  planVersionId?: string;
24
24
  /** Filter companies by one or more plan version IDs (each ID starts with plvr_). Takes precedence over plan_version_id when set. */
25
25
  planVersionIds?: string[];
26
+ /** Filter companies assigned to a plan version that is no longer published, meaning the plan has since moved on to a newer version */
27
+ planVersionUnpublished?: boolean;
26
28
  /** Search for companies by name, keys or string traits */
27
29
  q?: string;
28
30
  /** Column to sort by (e.g. name, created_at, last_seen_at) */
@@ -0,0 +1,12 @@
1
+ import type * as Schematic from "../../../index";
2
+ /**
3
+ * Input parameters
4
+ */
5
+ export interface CountEntityTraitsParams {
6
+ definitionId?: string;
7
+ entityType?: Schematic.EntityType;
8
+ /** Page limit (default 100) */
9
+ limit?: number;
10
+ /** Page offset (default 0) */
11
+ offset?: number;
12
+ }
@@ -0,0 +1,6 @@
1
+ import type * as Schematic from "../../../index";
2
+ export interface CountEntityTraitsResponse {
3
+ data: Schematic.CountResponse;
4
+ /** Input parameters */
5
+ params: Schematic.CountEntityTraitsParams;
6
+ }
@@ -0,0 +1,6 @@
1
+ import type * as Schematic from "../../../index";
2
+ export interface DeleteEntityTraitDefinitionResponse {
3
+ data: Schematic.DeleteResponse;
4
+ /** Input parameters */
5
+ params: Record<string, unknown>;
6
+ }
@@ -0,0 +1,6 @@
1
+ import type * as Schematic from "../../../index";
2
+ export interface GetEntityTraitDefinitionUsageResponse {
3
+ data: Schematic.EntityTraitDefinitionUsage;
4
+ /** Input parameters */
5
+ params: Record<string, unknown>;
6
+ }
@@ -23,6 +23,8 @@ export interface ListCompaniesParams {
23
23
  planVersionId?: string;
24
24
  /** Filter companies by one or more plan version IDs (each ID starts with plvr_). Takes precedence over plan_version_id when set. */
25
25
  planVersionIds?: string[];
26
+ /** Filter companies assigned to a plan version that is no longer published, meaning the plan has since moved on to a newer version */
27
+ planVersionUnpublished?: boolean;
26
28
  /** Search for companies by name, keys or string traits */
27
29
  q?: string;
28
30
  /** Column to sort by (e.g. name, created_at, last_seen_at) */
@@ -11,5 +11,4 @@ export interface ListPlanChangesParams {
11
11
  limit?: number;
12
12
  /** Page offset (default 0) */
13
13
  offset?: number;
14
- planIds?: string[];
15
14
  }
@@ -6,6 +6,8 @@ export * from "./CountEntityKeysParams";
6
6
  export * from "./CountEntityKeysResponse";
7
7
  export * from "./CountEntityTraitDefinitionsParams";
8
8
  export * from "./CountEntityTraitDefinitionsResponse";
9
+ export * from "./CountEntityTraitsParams";
10
+ export * from "./CountEntityTraitsResponse";
9
11
  export * from "./CountPlanTraitsParams";
10
12
  export * from "./CountPlanTraitsResponse";
11
13
  export * from "./CountUsersParams";
@@ -17,6 +19,7 @@ export * from "./DeleteCompanyMembershipResponse";
17
19
  export * from "./DeleteCompanyParams";
18
20
  export * from "./DeleteCompanyResponse";
19
21
  export * from "./DeleteEntityKeyDefinitionResponse";
22
+ export * from "./DeleteEntityTraitDefinitionResponse";
20
23
  export * from "./DeleteUserByKeysResponse";
21
24
  export * from "./DeleteUserResponse";
22
25
  export * from "./GetActiveCompanySubscriptionParams";
@@ -27,6 +30,7 @@ export * from "./GetCompanyBillingEntityParams";
27
30
  export * from "./GetCompanyBillingEntityResponse";
28
31
  export * from "./GetCompanyResponse";
29
32
  export * from "./GetEntityTraitDefinitionResponse";
33
+ export * from "./GetEntityTraitDefinitionUsageResponse";
30
34
  export * from "./GetEntityTraitValuesParams";
31
35
  export * from "./GetEntityTraitValuesResponse";
32
36
  export * from "./GetOrCreateCompanyMembershipResponse";
@@ -19,6 +19,8 @@ export declare class ComponentsClient {
19
19
  * @throws {@link Schematic.ForbiddenError}
20
20
  * @throws {@link Schematic.NotFoundError}
21
21
  * @throws {@link Schematic.InternalServerError}
22
+ * @throws {@link errors.SchematicError}
23
+ * @throws {@link errors.SchematicTimeoutError}
22
24
  *
23
25
  * @example
24
26
  * await client.components.listComponents({
@@ -38,6 +40,8 @@ export declare class ComponentsClient {
38
40
  * @throws {@link Schematic.ForbiddenError}
39
41
  * @throws {@link Schematic.NotFoundError}
40
42
  * @throws {@link Schematic.InternalServerError}
43
+ * @throws {@link errors.SchematicError}
44
+ * @throws {@link errors.SchematicTimeoutError}
41
45
  *
42
46
  * @example
43
47
  * await client.components.createComponent({
@@ -55,6 +59,8 @@ export declare class ComponentsClient {
55
59
  * @throws {@link Schematic.ForbiddenError}
56
60
  * @throws {@link Schematic.NotFoundError}
57
61
  * @throws {@link Schematic.InternalServerError}
62
+ * @throws {@link errors.SchematicError}
63
+ * @throws {@link errors.SchematicTimeoutError}
58
64
  *
59
65
  * @example
60
66
  * await client.components.getComponent("component_id")
@@ -71,6 +77,8 @@ export declare class ComponentsClient {
71
77
  * @throws {@link Schematic.ForbiddenError}
72
78
  * @throws {@link Schematic.NotFoundError}
73
79
  * @throws {@link Schematic.InternalServerError}
80
+ * @throws {@link errors.SchematicError}
81
+ * @throws {@link errors.SchematicTimeoutError}
74
82
  *
75
83
  * @example
76
84
  * await client.components.updateComponent("component_id")
@@ -86,6 +94,8 @@ export declare class ComponentsClient {
86
94
  * @throws {@link Schematic.ForbiddenError}
87
95
  * @throws {@link Schematic.NotFoundError}
88
96
  * @throws {@link Schematic.InternalServerError}
97
+ * @throws {@link errors.SchematicError}
98
+ * @throws {@link errors.SchematicTimeoutError}
89
99
  *
90
100
  * @example
91
101
  * await client.components.deleteComponent("component_id")
@@ -102,6 +112,8 @@ export declare class ComponentsClient {
102
112
  * @throws {@link Schematic.ForbiddenError}
103
113
  * @throws {@link Schematic.NotFoundError}
104
114
  * @throws {@link Schematic.InternalServerError}
115
+ * @throws {@link errors.SchematicError}
116
+ * @throws {@link errors.SchematicTimeoutError}
105
117
  *
106
118
  * @example
107
119
  * await client.components.bindCatalog("component_id")
@@ -117,6 +129,8 @@ export declare class ComponentsClient {
117
129
  * @throws {@link Schematic.ForbiddenError}
118
130
  * @throws {@link Schematic.NotFoundError}
119
131
  * @throws {@link Schematic.InternalServerError}
132
+ * @throws {@link errors.SchematicError}
133
+ * @throws {@link errors.SchematicTimeoutError}
120
134
  *
121
135
  * @example
122
136
  * await client.components.countComponents({
@@ -135,6 +149,8 @@ export declare class ComponentsClient {
135
149
  * @throws {@link Schematic.ForbiddenError}
136
150
  * @throws {@link Schematic.NotFoundError}
137
151
  * @throws {@link Schematic.InternalServerError}
152
+ * @throws {@link errors.SchematicError}
153
+ * @throws {@link errors.SchematicTimeoutError}
138
154
  *
139
155
  * @example
140
156
  * await client.components.previewComponentData({
@@ -17,6 +17,8 @@ export declare class ComponentspublicClient {
17
17
  * @throws {@link Schematic.ForbiddenError}
18
18
  * @throws {@link Schematic.NotFoundError}
19
19
  * @throws {@link Schematic.InternalServerError}
20
+ * @throws {@link errors.SchematicError}
21
+ * @throws {@link errors.SchematicTimeoutError}
20
22
  *
21
23
  * @example
22
24
  * await client.componentspublic.getPublicPlans()
@@ -19,6 +19,8 @@ export declare class CreditsClient {
19
19
  * @throws {@link Schematic.ForbiddenError}
20
20
  * @throws {@link Schematic.NotFoundError}
21
21
  * @throws {@link Schematic.InternalServerError}
22
+ * @throws {@link errors.SchematicError}
23
+ * @throws {@link errors.SchematicTimeoutError}
22
24
  *
23
25
  * @example
24
26
  * await client.credits.listBillingCredits({
@@ -39,6 +41,8 @@ export declare class CreditsClient {
39
41
  * @throws {@link Schematic.ForbiddenError}
40
42
  * @throws {@link Schematic.NotFoundError}
41
43
  * @throws {@link Schematic.InternalServerError}
44
+ * @throws {@link errors.SchematicError}
45
+ * @throws {@link errors.SchematicTimeoutError}
42
46
  *
43
47
  * @example
44
48
  * await client.credits.createBillingCredit({
@@ -57,6 +61,8 @@ export declare class CreditsClient {
57
61
  * @throws {@link Schematic.ForbiddenError}
58
62
  * @throws {@link Schematic.NotFoundError}
59
63
  * @throws {@link Schematic.InternalServerError}
64
+ * @throws {@link errors.SchematicError}
65
+ * @throws {@link errors.SchematicTimeoutError}
60
66
  *
61
67
  * @example
62
68
  * await client.credits.getSingleBillingCredit("credit_id")
@@ -73,6 +79,8 @@ export declare class CreditsClient {
73
79
  * @throws {@link Schematic.ForbiddenError}
74
80
  * @throws {@link Schematic.NotFoundError}
75
81
  * @throws {@link Schematic.InternalServerError}
82
+ * @throws {@link errors.SchematicError}
83
+ * @throws {@link errors.SchematicTimeoutError}
76
84
  *
77
85
  * @example
78
86
  * await client.credits.updateBillingCredit("credit_id", {
@@ -91,6 +99,8 @@ export declare class CreditsClient {
91
99
  * @throws {@link Schematic.ForbiddenError}
92
100
  * @throws {@link Schematic.NotFoundError}
93
101
  * @throws {@link Schematic.InternalServerError}
102
+ * @throws {@link errors.SchematicError}
103
+ * @throws {@link errors.SchematicTimeoutError}
94
104
  *
95
105
  * @example
96
106
  * await client.credits.softDeleteBillingCredit("credit_id")
@@ -106,6 +116,8 @@ export declare class CreditsClient {
106
116
  * @throws {@link Schematic.ForbiddenError}
107
117
  * @throws {@link Schematic.NotFoundError}
108
118
  * @throws {@link Schematic.InternalServerError}
119
+ * @throws {@link errors.SchematicError}
120
+ * @throws {@link errors.SchematicTimeoutError}
109
121
  *
110
122
  * @example
111
123
  * await client.credits.listCompanyCreditBalances({
@@ -123,6 +135,8 @@ export declare class CreditsClient {
123
135
  * @throws {@link Schematic.ForbiddenError}
124
136
  * @throws {@link Schematic.NotFoundError}
125
137
  * @throws {@link Schematic.InternalServerError}
138
+ * @throws {@link errors.SchematicError}
139
+ * @throws {@link errors.SchematicTimeoutError}
126
140
  *
127
141
  * @example
128
142
  * await client.credits.listCreditBundles({
@@ -145,6 +159,8 @@ export declare class CreditsClient {
145
159
  * @throws {@link Schematic.ForbiddenError}
146
160
  * @throws {@link Schematic.NotFoundError}
147
161
  * @throws {@link Schematic.InternalServerError}
162
+ * @throws {@link errors.SchematicError}
163
+ * @throws {@link errors.SchematicTimeoutError}
148
164
  *
149
165
  * @example
150
166
  * await client.credits.createCreditBundle({
@@ -164,6 +180,8 @@ export declare class CreditsClient {
164
180
  * @throws {@link Schematic.ForbiddenError}
165
181
  * @throws {@link Schematic.NotFoundError}
166
182
  * @throws {@link Schematic.InternalServerError}
183
+ * @throws {@link errors.SchematicError}
184
+ * @throws {@link errors.SchematicTimeoutError}
167
185
  *
168
186
  * @example
169
187
  * await client.credits.getCreditBundle("bundle_id")
@@ -180,6 +198,8 @@ export declare class CreditsClient {
180
198
  * @throws {@link Schematic.ForbiddenError}
181
199
  * @throws {@link Schematic.NotFoundError}
182
200
  * @throws {@link Schematic.InternalServerError}
201
+ * @throws {@link errors.SchematicError}
202
+ * @throws {@link errors.SchematicTimeoutError}
183
203
  *
184
204
  * @example
185
205
  * await client.credits.updateCreditBundleDetails("bundle_id", {
@@ -198,6 +218,8 @@ export declare class CreditsClient {
198
218
  * @throws {@link Schematic.ForbiddenError}
199
219
  * @throws {@link Schematic.NotFoundError}
200
220
  * @throws {@link Schematic.InternalServerError}
221
+ * @throws {@link errors.SchematicError}
222
+ * @throws {@link errors.SchematicTimeoutError}
201
223
  *
202
224
  * @example
203
225
  * await client.credits.deleteCreditBundle("bundle_id")
@@ -213,6 +235,8 @@ export declare class CreditsClient {
213
235
  * @throws {@link Schematic.ForbiddenError}
214
236
  * @throws {@link Schematic.NotFoundError}
215
237
  * @throws {@link Schematic.InternalServerError}
238
+ * @throws {@link errors.SchematicError}
239
+ * @throws {@link errors.SchematicTimeoutError}
216
240
  *
217
241
  * @example
218
242
  * await client.credits.countCreditBundles({
@@ -235,6 +259,8 @@ export declare class CreditsClient {
235
259
  * @throws {@link Schematic.ForbiddenError}
236
260
  * @throws {@link Schematic.NotFoundError}
237
261
  * @throws {@link Schematic.InternalServerError}
262
+ * @throws {@link errors.SchematicError}
263
+ * @throws {@link errors.SchematicTimeoutError}
238
264
  *
239
265
  * @example
240
266
  * await client.credits.countBillingCredits({
@@ -256,6 +282,8 @@ export declare class CreditsClient {
256
282
  * @throws {@link Schematic.ForbiddenError}
257
283
  * @throws {@link Schematic.NotFoundError}
258
284
  * @throws {@link Schematic.InternalServerError}
285
+ * @throws {@link errors.SchematicError}
286
+ * @throws {@link errors.SchematicTimeoutError}
259
287
  *
260
288
  * @example
261
289
  * await client.credits.zeroOutGrant("grant_id")
@@ -271,6 +299,8 @@ export declare class CreditsClient {
271
299
  * @throws {@link Schematic.ForbiddenError}
272
300
  * @throws {@link Schematic.NotFoundError}
273
301
  * @throws {@link Schematic.InternalServerError}
302
+ * @throws {@link errors.SchematicError}
303
+ * @throws {@link errors.SchematicTimeoutError}
274
304
  *
275
305
  * @example
276
306
  * await client.credits.grantBillingCreditsToCompany({
@@ -291,6 +321,8 @@ export declare class CreditsClient {
291
321
  * @throws {@link Schematic.ForbiddenError}
292
322
  * @throws {@link Schematic.NotFoundError}
293
323
  * @throws {@link Schematic.InternalServerError}
324
+ * @throws {@link errors.SchematicError}
325
+ * @throws {@link errors.SchematicTimeoutError}
294
326
  *
295
327
  * @example
296
328
  * await client.credits.countCompanyGrants({
@@ -301,7 +333,7 @@ export declare class CreditsClient {
301
333
  * offset: 1000000
302
334
  * })
303
335
  */
304
- countCompanyGrants(request?: Schematic.CountCompanyGrantsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountCompanyGrantsResponse>;
336
+ countCompanyGrants(request: Schematic.CountCompanyGrantsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.CountCompanyGrantsResponse>;
305
337
  private __countCompanyGrants;
306
338
  /**
307
339
  * @param {Schematic.ListCompanyGrantsRequest} request
@@ -312,6 +344,8 @@ export declare class CreditsClient {
312
344
  * @throws {@link Schematic.ForbiddenError}
313
345
  * @throws {@link Schematic.NotFoundError}
314
346
  * @throws {@link Schematic.InternalServerError}
347
+ * @throws {@link errors.SchematicError}
348
+ * @throws {@link errors.SchematicTimeoutError}
315
349
  *
316
350
  * @example
317
351
  * await client.credits.listCompanyGrants({
@@ -322,7 +356,7 @@ export declare class CreditsClient {
322
356
  * offset: 1000000
323
357
  * })
324
358
  */
325
- listCompanyGrants(request?: Schematic.ListCompanyGrantsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCompanyGrantsResponse>;
359
+ listCompanyGrants(request: Schematic.ListCompanyGrantsRequest, requestOptions?: CreditsClient.RequestOptions): core.HttpResponsePromise<Schematic.ListCompanyGrantsResponse>;
326
360
  private __listCompanyGrants;
327
361
  /**
328
362
  * @param {Schematic.CountBillingCreditsGrantsRequest} request
@@ -333,6 +367,8 @@ export declare class CreditsClient {
333
367
  * @throws {@link Schematic.ForbiddenError}
334
368
  * @throws {@link Schematic.NotFoundError}
335
369
  * @throws {@link Schematic.InternalServerError}
370
+ * @throws {@link errors.SchematicError}
371
+ * @throws {@link errors.SchematicTimeoutError}
336
372
  *
337
373
  * @example
338
374
  * await client.credits.countBillingCreditsGrants({
@@ -353,6 +389,8 @@ export declare class CreditsClient {
353
389
  * @throws {@link Schematic.ForbiddenError}
354
390
  * @throws {@link Schematic.NotFoundError}
355
391
  * @throws {@link Schematic.InternalServerError}
392
+ * @throws {@link errors.SchematicError}
393
+ * @throws {@link errors.SchematicTimeoutError}
356
394
  *
357
395
  * @example
358
396
  * await client.credits.listGrantsForCredit({
@@ -373,6 +411,8 @@ export declare class CreditsClient {
373
411
  * @throws {@link Schematic.ForbiddenError}
374
412
  * @throws {@link Schematic.NotFoundError}
375
413
  * @throws {@link Schematic.InternalServerError}
414
+ * @throws {@link errors.SchematicError}
415
+ * @throws {@link errors.SchematicTimeoutError}
376
416
  *
377
417
  * @example
378
418
  * await client.credits.acquireCreditLease({
@@ -393,6 +433,8 @@ export declare class CreditsClient {
393
433
  * @throws {@link Schematic.ForbiddenError}
394
434
  * @throws {@link Schematic.NotFoundError}
395
435
  * @throws {@link Schematic.InternalServerError}
436
+ * @throws {@link errors.SchematicError}
437
+ * @throws {@link errors.SchematicTimeoutError}
396
438
  *
397
439
  * @example
398
440
  * await client.credits.extendCreditLease("lease_id", {
@@ -411,6 +453,8 @@ export declare class CreditsClient {
411
453
  * @throws {@link Schematic.ForbiddenError}
412
454
  * @throws {@link Schematic.NotFoundError}
413
455
  * @throws {@link Schematic.InternalServerError}
456
+ * @throws {@link errors.SchematicError}
457
+ * @throws {@link errors.SchematicTimeoutError}
414
458
  *
415
459
  * @example
416
460
  * await client.credits.releaseCreditLease("lease_id", {
@@ -428,6 +472,8 @@ export declare class CreditsClient {
428
472
  * @throws {@link Schematic.ForbiddenError}
429
473
  * @throws {@link Schematic.NotFoundError}
430
474
  * @throws {@link Schematic.InternalServerError}
475
+ * @throws {@link errors.SchematicError}
476
+ * @throws {@link errors.SchematicTimeoutError}
431
477
  *
432
478
  * @example
433
479
  * await client.credits.listBillingPlanCreditGrants({
@@ -452,6 +498,8 @@ export declare class CreditsClient {
452
498
  * @throws {@link Schematic.ForbiddenError}
453
499
  * @throws {@link Schematic.NotFoundError}
454
500
  * @throws {@link Schematic.InternalServerError}
501
+ * @throws {@link errors.SchematicError}
502
+ * @throws {@link errors.SchematicTimeoutError}
455
503
  *
456
504
  * @example
457
505
  * await client.credits.createBillingPlanCreditGrant({
@@ -472,6 +520,8 @@ export declare class CreditsClient {
472
520
  * @throws {@link Schematic.ForbiddenError}
473
521
  * @throws {@link Schematic.NotFoundError}
474
522
  * @throws {@link Schematic.InternalServerError}
523
+ * @throws {@link errors.SchematicError}
524
+ * @throws {@link errors.SchematicTimeoutError}
475
525
  *
476
526
  * @example
477
527
  * await client.credits.getSingleBillingPlanCreditGrant("plan_grant_id")
@@ -488,6 +538,8 @@ export declare class CreditsClient {
488
538
  * @throws {@link Schematic.ForbiddenError}
489
539
  * @throws {@link Schematic.NotFoundError}
490
540
  * @throws {@link Schematic.InternalServerError}
541
+ * @throws {@link errors.SchematicError}
542
+ * @throws {@link errors.SchematicTimeoutError}
491
543
  *
492
544
  * @example
493
545
  * await client.credits.updateBillingPlanCreditGrant("plan_grant_id", {
@@ -507,6 +559,8 @@ export declare class CreditsClient {
507
559
  * @throws {@link Schematic.ForbiddenError}
508
560
  * @throws {@link Schematic.NotFoundError}
509
561
  * @throws {@link Schematic.InternalServerError}
562
+ * @throws {@link errors.SchematicError}
563
+ * @throws {@link errors.SchematicTimeoutError}
510
564
  *
511
565
  * @example
512
566
  * await client.credits.deleteBillingPlanCreditGrant("plan_grant_id", {
@@ -524,6 +578,8 @@ export declare class CreditsClient {
524
578
  * @throws {@link Schematic.ForbiddenError}
525
579
  * @throws {@link Schematic.NotFoundError}
526
580
  * @throws {@link Schematic.InternalServerError}
581
+ * @throws {@link errors.SchematicError}
582
+ * @throws {@link errors.SchematicTimeoutError}
527
583
  *
528
584
  * @example
529
585
  * await client.credits.countBillingPlanCreditGrants({
@@ -548,6 +604,8 @@ export declare class CreditsClient {
548
604
  * @throws {@link Schematic.ForbiddenError}
549
605
  * @throws {@link Schematic.NotFoundError}
550
606
  * @throws {@link Schematic.InternalServerError}
607
+ * @throws {@link errors.SchematicError}
608
+ * @throws {@link errors.SchematicTimeoutError}
551
609
  *
552
610
  * @example
553
611
  * await client.credits.listCreditEventLedger({
@@ -572,6 +630,8 @@ export declare class CreditsClient {
572
630
  * @throws {@link Schematic.ForbiddenError}
573
631
  * @throws {@link Schematic.NotFoundError}
574
632
  * @throws {@link Schematic.InternalServerError}
633
+ * @throws {@link errors.SchematicError}
634
+ * @throws {@link errors.SchematicTimeoutError}
575
635
  *
576
636
  * @example
577
637
  * await client.credits.countCreditEventLedger({
@@ -10,7 +10,7 @@ import type * as Schematic from "../../../../index";
10
10
  * }
11
11
  */
12
12
  export interface CountCompanyGrantsRequest {
13
- companyId?: string;
13
+ companyId: string;
14
14
  order?: Schematic.CreditGrantSortOrder;
15
15
  dir?: Schematic.SortDirection;
16
16
  /** Page limit (default 100) */
@@ -11,6 +11,8 @@ import type * as Schematic from "../../../../index";
11
11
  export interface CreateCreditBundleRequestBody {
12
12
  bundleName: string;
13
13
  bundleType?: Schematic.BillingCreditBundleType;
14
+ /** Plans whose companies may purchase this bundle. Omitted or empty means the bundle is purchasable on every plan. */
15
+ compatiblePlanIds?: string[];
14
16
  creditId: string;
15
17
  currency: string;
16
18
  currencyPrices?: Schematic.CreditBundleCurrencyPriceRequestBody[];
@@ -10,7 +10,7 @@ import type * as Schematic from "../../../../index";
10
10
  * }
11
11
  */
12
12
  export interface ListCompanyGrantsRequest {
13
- companyId?: string;
13
+ companyId: string;
14
14
  order?: Schematic.CreditGrantSortOrder;
15
15
  dir?: Schematic.SortDirection;
16
16
  /** Page limit (default 100) */
@@ -8,6 +8,8 @@ import type * as Schematic from "../../../../index";
8
8
  */
9
9
  export interface UpdateCreditBundleDetailsRequestBody {
10
10
  bundleName: string;
11
+ /** Plans whose companies may purchase this bundle. Omitted leaves compatibility unchanged; empty resets the bundle to purchasable on every plan. */
12
+ compatiblePlanIds?: string[];
11
13
  currencyPrices?: Schematic.CreditBundleCurrencyPriceRequestBody[];
12
14
  expiryType?: Schematic.BillingCreditExpiryType;
13
15
  expiryUnit?: Schematic.BillingCreditExpiryUnit;
@@ -20,6 +20,8 @@ export declare class DataexportsClient {
20
20
  * @throws {@link Schematic.ForbiddenError}
21
21
  * @throws {@link Schematic.NotFoundError}
22
22
  * @throws {@link Schematic.InternalServerError}
23
+ * @throws {@link errors.SchematicError}
24
+ * @throws {@link errors.SchematicTimeoutError}
23
25
  *
24
26
  * @example
25
27
  * await client.dataexports.listDataExports({
@@ -40,6 +42,8 @@ export declare class DataexportsClient {
40
42
  * @throws {@link Schematic.ForbiddenError}
41
43
  * @throws {@link Schematic.NotFoundError}
42
44
  * @throws {@link Schematic.InternalServerError}
45
+ * @throws {@link errors.SchematicError}
46
+ * @throws {@link errors.SchematicTimeoutError}
43
47
  *
44
48
  * @example
45
49
  * await client.dataexports.createDataExport({
@@ -57,6 +61,8 @@ export declare class DataexportsClient {
57
61
  * @throws {@link Schematic.ForbiddenError}
58
62
  * @throws {@link Schematic.NotFoundError}
59
63
  * @throws {@link Schematic.InternalServerError}
64
+ * @throws {@link errors.SchematicError}
65
+ * @throws {@link errors.SchematicTimeoutError}
60
66
  *
61
67
  * @example
62
68
  * await client.dataexports.getDataExport("data_export_id")
@@ -68,6 +74,8 @@ export declare class DataexportsClient {
68
74
  * @throws {@link Schematic.ForbiddenError}
69
75
  * @throws {@link Schematic.NotFoundError}
70
76
  * @throws {@link Schematic.InternalServerError}
77
+ * @throws {@link errors.SchematicError}
78
+ * @throws {@link errors.SchematicTimeoutError}
71
79
  */
72
80
  getDataExportArtifact(data_export_id: string, requestOptions?: DataexportsClient.RequestOptions): core.HttpResponsePromise<stream.Readable>;
73
81
  private __getDataExportArtifact;