@stigg/typescript 0.1.0-beta.46 → 0.1.0-beta.47

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 (156) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/client.d.mts +1 -1
  3. package/client.d.ts +1 -1
  4. package/client.js +3 -3
  5. package/client.js.map +1 -1
  6. package/client.mjs +3 -3
  7. package/client.mjs.map +1 -1
  8. package/package.json +1 -1
  9. package/resources/v1/addons/addons.d.mts +27 -4
  10. package/resources/v1/addons/addons.d.mts.map +1 -1
  11. package/resources/v1/addons/addons.d.ts +27 -4
  12. package/resources/v1/addons/addons.d.ts.map +1 -1
  13. package/resources/v1/addons/addons.js.map +1 -1
  14. package/resources/v1/addons/addons.mjs.map +1 -1
  15. package/resources/v1/credits/grants.d.mts +2 -2
  16. package/resources/v1/credits/grants.d.ts +2 -2
  17. package/resources/v1/events/beta/beta.d.mts +10 -0
  18. package/resources/v1/events/beta/beta.d.mts.map +1 -0
  19. package/resources/v1/events/beta/beta.d.ts +10 -0
  20. package/resources/v1/events/beta/beta.d.ts.map +1 -0
  21. package/resources/v1/events/beta/beta.js +17 -0
  22. package/resources/v1/events/beta/beta.js.map +1 -0
  23. package/resources/v1/events/beta/beta.mjs +12 -0
  24. package/resources/v1/events/beta/beta.mjs.map +1 -0
  25. package/resources/v1/events/beta/customers.d.mts +160 -0
  26. package/resources/v1/events/beta/customers.d.mts.map +1 -0
  27. package/resources/v1/events/beta/customers.d.ts +160 -0
  28. package/resources/v1/events/beta/customers.d.ts.map +1 -0
  29. package/resources/v1/events/beta/customers.js +32 -0
  30. package/resources/v1/events/beta/customers.js.map +1 -0
  31. package/resources/v1/events/beta/customers.mjs +28 -0
  32. package/resources/v1/events/beta/customers.mjs.map +1 -0
  33. package/resources/v1/events/beta/index.d.mts +3 -0
  34. package/resources/v1/events/beta/index.d.mts.map +1 -0
  35. package/resources/v1/events/beta/index.d.ts +3 -0
  36. package/resources/v1/events/beta/index.d.ts.map +1 -0
  37. package/resources/v1/events/beta/index.js +9 -0
  38. package/resources/v1/events/beta/index.js.map +1 -0
  39. package/resources/v1/events/beta/index.mjs +4 -0
  40. package/resources/v1/events/beta/index.mjs.map +1 -0
  41. package/resources/v1/events/beta.d.mts +2 -0
  42. package/resources/v1/events/beta.d.mts.map +1 -0
  43. package/resources/v1/events/beta.d.ts +2 -0
  44. package/resources/v1/events/beta.d.ts.map +1 -0
  45. package/resources/v1/events/beta.js +6 -0
  46. package/resources/v1/events/beta.js.map +1 -0
  47. package/resources/v1/events/beta.mjs +3 -0
  48. package/resources/v1/events/beta.mjs.map +1 -0
  49. package/resources/v1/events/data-export/data-export.d.mts +2 -2
  50. package/resources/v1/events/data-export/data-export.d.mts.map +1 -1
  51. package/resources/v1/events/data-export/data-export.d.ts +2 -2
  52. package/resources/v1/events/data-export/data-export.d.ts.map +1 -1
  53. package/resources/v1/events/data-export/destinations.d.mts +27 -27
  54. package/resources/v1/events/data-export/destinations.d.mts.map +1 -1
  55. package/resources/v1/events/data-export/destinations.d.ts +27 -27
  56. package/resources/v1/events/data-export/destinations.d.ts.map +1 -1
  57. package/resources/v1/events/data-export/destinations.js +13 -13
  58. package/resources/v1/events/data-export/destinations.js.map +1 -1
  59. package/resources/v1/events/data-export/destinations.mjs +13 -13
  60. package/resources/v1/events/data-export/destinations.mjs.map +1 -1
  61. package/resources/v1/events/data-export/index.d.mts +1 -1
  62. package/resources/v1/events/data-export/index.d.mts.map +1 -1
  63. package/resources/v1/events/data-export/index.d.ts +1 -1
  64. package/resources/v1/events/data-export/index.d.ts.map +1 -1
  65. package/resources/v1/events/events.d.mts +10 -6
  66. package/resources/v1/events/events.d.mts.map +1 -1
  67. package/resources/v1/events/events.d.ts +10 -6
  68. package/resources/v1/events/events.d.ts.map +1 -1
  69. package/resources/v1/events/events.js +5 -1
  70. package/resources/v1/events/events.js.map +1 -1
  71. package/resources/v1/events/events.mjs +5 -1
  72. package/resources/v1/events/events.mjs.map +1 -1
  73. package/resources/v1/events/index.d.mts +2 -1
  74. package/resources/v1/events/index.d.mts.map +1 -1
  75. package/resources/v1/events/index.d.ts +2 -1
  76. package/resources/v1/events/index.d.ts.map +1 -1
  77. package/resources/v1/events/index.js +5 -3
  78. package/resources/v1/events/index.js.map +1 -1
  79. package/resources/v1/events/index.mjs +1 -0
  80. package/resources/v1/events/index.mjs.map +1 -1
  81. package/resources/v1/index.d.mts +2 -2
  82. package/resources/v1/index.d.mts.map +1 -1
  83. package/resources/v1/index.d.ts +2 -2
  84. package/resources/v1/index.d.ts.map +1 -1
  85. package/resources/v1/plans/plans.d.mts +27 -4
  86. package/resources/v1/plans/plans.d.mts.map +1 -1
  87. package/resources/v1/plans/plans.d.ts +27 -4
  88. package/resources/v1/plans/plans.d.ts.map +1 -1
  89. package/resources/v1/plans/plans.js.map +1 -1
  90. package/resources/v1/plans/plans.mjs.map +1 -1
  91. package/resources/v1/usage.d.mts +6 -6
  92. package/resources/v1/usage.d.mts.map +1 -1
  93. package/resources/v1/usage.d.ts +6 -6
  94. package/resources/v1/usage.d.ts.map +1 -1
  95. package/resources/v1/usage.js +1 -1
  96. package/resources/v1/usage.js.map +1 -1
  97. package/resources/v1/usage.mjs +1 -1
  98. package/resources/v1/usage.mjs.map +1 -1
  99. package/resources/v1/v1.d.mts +4 -4
  100. package/resources/v1/v1.d.mts.map +1 -1
  101. package/resources/v1/v1.d.ts +4 -4
  102. package/resources/v1/v1.d.ts.map +1 -1
  103. package/resources/v1-beta/customers/customers.d.mts +0 -160
  104. package/resources/v1-beta/customers/customers.d.mts.map +1 -1
  105. package/resources/v1-beta/customers/customers.d.ts +0 -160
  106. package/resources/v1-beta/customers/customers.d.ts.map +1 -1
  107. package/resources/v1-beta/customers/customers.js +0 -29
  108. package/resources/v1-beta/customers/customers.js.map +1 -1
  109. package/resources/v1-beta/customers/customers.mjs +0 -29
  110. package/resources/v1-beta/customers/customers.mjs.map +1 -1
  111. package/resources/v1-beta/customers/index.d.mts +1 -1
  112. package/resources/v1-beta/customers/index.d.mts.map +1 -1
  113. package/resources/v1-beta/customers/index.d.ts +1 -1
  114. package/resources/v1-beta/customers/index.d.ts.map +1 -1
  115. package/resources/v1-beta/customers/index.js.map +1 -1
  116. package/resources/v1-beta/customers/index.mjs +1 -1
  117. package/resources/v1-beta/customers/index.mjs.map +1 -1
  118. package/resources/v1-beta/index.d.mts +1 -1
  119. package/resources/v1-beta/index.d.mts.map +1 -1
  120. package/resources/v1-beta/index.d.ts +1 -1
  121. package/resources/v1-beta/index.d.ts.map +1 -1
  122. package/resources/v1-beta/index.js.map +1 -1
  123. package/resources/v1-beta/index.mjs +1 -1
  124. package/resources/v1-beta/index.mjs.map +1 -1
  125. package/resources/v1-beta/v1-beta.d.mts +2 -2
  126. package/resources/v1-beta/v1-beta.d.mts.map +1 -1
  127. package/resources/v1-beta/v1-beta.d.ts +2 -2
  128. package/resources/v1-beta/v1-beta.d.ts.map +1 -1
  129. package/resources/v1-beta/v1-beta.js.map +1 -1
  130. package/resources/v1-beta/v1-beta.mjs +1 -1
  131. package/resources/v1-beta/v1-beta.mjs.map +1 -1
  132. package/src/client.ts +3 -3
  133. package/src/resources/v1/addons/addons.ts +32 -5
  134. package/src/resources/v1/credits/grants.ts +2 -2
  135. package/src/resources/v1/events/beta/beta.ts +19 -0
  136. package/src/resources/v1/events/beta/customers.ts +212 -0
  137. package/src/resources/v1/events/beta/index.ts +8 -0
  138. package/src/resources/v1/events/beta.ts +3 -0
  139. package/src/resources/v1/events/data-export/data-export.ts +4 -4
  140. package/src/resources/v1/events/data-export/destinations.ts +41 -41
  141. package/src/resources/v1/events/data-export/index.ts +2 -2
  142. package/src/resources/v1/events/events.ts +13 -10
  143. package/src/resources/v1/events/index.ts +3 -2
  144. package/src/resources/v1/index.ts +4 -4
  145. package/src/resources/v1/plans/plans.ts +32 -5
  146. package/src/resources/v1/usage.ts +7 -10
  147. package/src/resources/v1/v1.ts +8 -8
  148. package/src/resources/v1-beta/customers/customers.ts +0 -211
  149. package/src/resources/v1-beta/customers/index.ts +1 -5
  150. package/src/resources/v1-beta/index.ts +1 -5
  151. package/src/resources/v1-beta/v1-beta.ts +2 -10
  152. package/src/version.ts +1 -1
  153. package/version.d.mts +1 -1
  154. package/version.d.ts +1 -1
  155. package/version.js +1 -1
  156. package/version.mjs +1 -1
@@ -64,9 +64,9 @@ export {
64
64
  } from './customers/index';
65
65
  export {
66
66
  Events,
67
- type EventEstimateCostResponse,
67
+ type EventEstimateResponse,
68
68
  type EventReportResponse,
69
- type EventEstimateCostParams,
69
+ type EventEstimateParams,
70
70
  type EventReportParams,
71
71
  } from './events/index';
72
72
  export {
@@ -136,10 +136,10 @@ export {
136
136
  } from './subscriptions/index';
137
137
  export {
138
138
  Usage,
139
- type UsageEstimateCostResponse,
139
+ type UsageEstimateResponse,
140
140
  type UsageHistoryResponse,
141
141
  type UsageReportResponse,
142
- type UsageEstimateCostParams,
142
+ type UsageEstimateParams,
143
143
  type UsageHistoryParams,
144
144
  type UsageReportParams,
145
145
  } from './usage';
@@ -2035,6 +2035,17 @@ export namespace PlanUpdateParams {
2035
2035
  */
2036
2036
  billingCadence?: 'RECURRING' | 'ONE_OFF';
2037
2037
 
2038
+ /**
2039
+ * Credit entitlement to grant when a credit overage targets a currency not yet
2040
+ * granted on the plan
2041
+ */
2042
+ creditEntitlement?: OveragePricingModel.CreditEntitlement;
2043
+
2044
+ /**
2045
+ * The refId of the custom currency this credit overage applies to
2046
+ */
2047
+ currencyId?: string;
2048
+
2038
2049
  /**
2039
2050
  * Entitlement configuration for the overage feature
2040
2051
  */
@@ -2044,11 +2055,6 @@ export namespace PlanUpdateParams {
2044
2055
  * The feature ID for overage pricing
2045
2056
  */
2046
2057
  featureId?: string;
2047
-
2048
- /**
2049
- * Custom currency ID for overage top-up
2050
- */
2051
- topUpCustomCurrencyId?: string;
2052
2058
  }
2053
2059
 
2054
2060
  export namespace OveragePricingModel {
@@ -2529,6 +2535,27 @@ export namespace PlanUpdateParams {
2529
2535
  }
2530
2536
  }
2531
2537
 
2538
+ /**
2539
+ * Credit entitlement to grant when a credit overage targets a currency not yet
2540
+ * granted on the plan
2541
+ */
2542
+ export interface CreditEntitlement {
2543
+ /**
2544
+ * The base credit balance granted per cadence
2545
+ */
2546
+ amount: number;
2547
+
2548
+ /**
2549
+ * The credit grant cadence (MONTH or YEAR)
2550
+ */
2551
+ cadence: 'MONTH' | 'YEAR';
2552
+
2553
+ /**
2554
+ * The refId of the custom currency to grant
2555
+ */
2556
+ customCurrencyId: string;
2557
+ }
2558
+
2532
2559
  /**
2533
2560
  * Entitlement configuration for the overage feature
2534
2561
  */
@@ -15,10 +15,7 @@ export class Usage extends APIResource {
15
15
  * estimated cost per credit currency, the current balance, and the balance after
16
16
  * the estimated consumption.
17
17
  */
18
- estimateCost(
19
- params: UsageEstimateCostParams,
20
- options?: RequestOptions,
21
- ): APIPromise<UsageEstimateCostResponse> {
18
+ estimate(params: UsageEstimateParams, options?: RequestOptions): APIPromise<UsageEstimateResponse> {
22
19
  const { 'X-ACCOUNT-ID': xAccountID, 'X-ENVIRONMENT-ID': xEnvironmentID, ...body } = params;
23
20
  return this._client.post('/api/v1/usage/estimate', {
24
21
  body,
@@ -78,14 +75,14 @@ export class Usage extends APIResource {
78
75
  /**
79
76
  * Response object
80
77
  */
81
- export interface UsageEstimateCostResponse {
78
+ export interface UsageEstimateResponse {
82
79
  /**
83
80
  * Estimated credit cost, current balance and balance after
84
81
  */
85
- data: UsageEstimateCostResponse.Data;
82
+ data: UsageEstimateResponse.Data;
86
83
  }
87
84
 
88
- export namespace UsageEstimateCostResponse {
85
+ export namespace UsageEstimateResponse {
89
86
  /**
90
87
  * Estimated credit cost, current balance and balance after
91
88
  */
@@ -376,7 +373,7 @@ export namespace UsageReportResponse {
376
373
  }
377
374
  }
378
375
 
379
- export interface UsageEstimateCostParams {
376
+ export interface UsageEstimateParams {
380
377
  /**
381
378
  * Body param: Customer id
382
379
  */
@@ -530,10 +527,10 @@ export namespace UsageReportParams {
530
527
 
531
528
  export declare namespace Usage {
532
529
  export {
533
- type UsageEstimateCostResponse as UsageEstimateCostResponse,
530
+ type UsageEstimateResponse as UsageEstimateResponse,
534
531
  type UsageHistoryResponse as UsageHistoryResponse,
535
532
  type UsageReportResponse as UsageReportResponse,
536
- type UsageEstimateCostParams as UsageEstimateCostParams,
533
+ type UsageEstimateParams as UsageEstimateParams,
537
534
  type UsageHistoryParams as UsageHistoryParams,
538
535
  type UsageReportParams as UsageReportParams,
539
536
  };
@@ -42,8 +42,8 @@ import {
42
42
  import * as UsageAPI from './usage';
43
43
  import {
44
44
  Usage,
45
- UsageEstimateCostParams,
46
- UsageEstimateCostResponse,
45
+ UsageEstimateParams,
46
+ UsageEstimateResponse,
47
47
  UsageHistoryParams,
48
48
  UsageHistoryResponse,
49
49
  UsageReportParams,
@@ -105,8 +105,8 @@ import {
105
105
  } from './customers/customers';
106
106
  import * as EventsAPI from './events/events';
107
107
  import {
108
- EventEstimateCostParams,
109
- EventEstimateCostResponse,
108
+ EventEstimateParams,
109
+ EventEstimateResponse,
110
110
  EventReportParams,
111
111
  EventReportResponse,
112
112
  Events,
@@ -237,9 +237,9 @@ export declare namespace V1 {
237
237
 
238
238
  export {
239
239
  Events as Events,
240
- type EventEstimateCostResponse as EventEstimateCostResponse,
240
+ type EventEstimateResponse as EventEstimateResponse,
241
241
  type EventReportResponse as EventReportResponse,
242
- type EventEstimateCostParams as EventEstimateCostParams,
242
+ type EventEstimateParams as EventEstimateParams,
243
243
  type EventReportParams as EventReportParams,
244
244
  };
245
245
 
@@ -312,10 +312,10 @@ export declare namespace V1 {
312
312
 
313
313
  export {
314
314
  Usage as Usage,
315
- type UsageEstimateCostResponse as UsageEstimateCostResponse,
315
+ type UsageEstimateResponse as UsageEstimateResponse,
316
316
  type UsageHistoryResponse as UsageHistoryResponse,
317
317
  type UsageReportResponse as UsageReportResponse,
318
- type UsageEstimateCostParams as UsageEstimateCostParams,
318
+ type UsageEstimateParams as UsageEstimateParams,
319
319
  type UsageHistoryParams as UsageHistoryParams,
320
320
  type UsageReportParams as UsageReportParams,
321
321
  };
@@ -27,217 +27,11 @@ import {
27
27
  } from './entities';
28
28
  import * as EntitlementsAPI from './entitlements';
29
29
  import { EntitlementCheckParams, EntitlementCheckResponse, Entitlements } from './entitlements';
30
- import { APIPromise } from '../../../core/api-promise';
31
- import { buildHeaders } from '../../../internal/headers';
32
- import { RequestOptions } from '../../../internal/request-options';
33
- import { path } from '../../../internal/utils/path';
34
30
 
35
31
  export class Customers extends APIResource {
36
32
  entitlements: EntitlementsAPI.Entitlements = new EntitlementsAPI.Entitlements(this._client);
37
33
  entities: EntitiesAPI.Entities = new EntitiesAPI.Entities(this._client);
38
34
  assignments: AssignmentsAPI.Assignments = new AssignmentsAPI.Assignments(this._client);
39
-
40
- /**
41
- * Queries the customer's governance hierarchy tree, returning a cursor-paginated
42
- * list of nodes with their usage configuration (limit, cadence, scope) and current
43
- * usage, sortable and filterable by usage. Each node carries `parentId` so the
44
- * tree can be rebuilt client-side. Usage is read from a periodically-refreshed
45
- * read model and never gates access.
46
- *
47
- * @example
48
- * ```ts
49
- * const response =
50
- * await client.v1Beta.customers.retrieveGovernance('id');
51
- * ```
52
- */
53
- retrieveGovernance(
54
- id: string,
55
- params: CustomerRetrieveGovernanceParams | null | undefined = {},
56
- options?: RequestOptions,
57
- ): APIPromise<CustomerRetrieveGovernanceResponse> {
58
- const { 'X-ACCOUNT-ID': xAccountID, 'X-ENVIRONMENT-ID': xEnvironmentID, ...query } = params ?? {};
59
- return this._client.get(path`/api/v1-beta/customers/${id}/governance`, {
60
- query,
61
- ...options,
62
- headers: buildHeaders([
63
- {
64
- ...(xAccountID != null ? { 'X-ACCOUNT-ID': xAccountID } : undefined),
65
- ...(xEnvironmentID != null ? { 'X-ENVIRONMENT-ID': xEnvironmentID } : undefined),
66
- },
67
- options?.headers,
68
- ]),
69
- });
70
- }
71
- }
72
-
73
- /**
74
- * Paginated list of governance tree nodes, each with its usage configuration and
75
- * current usage.
76
- */
77
- export interface CustomerRetrieveGovernanceResponse {
78
- data: Array<CustomerRetrieveGovernanceResponse.Data>;
79
-
80
- pagination: CustomerRetrieveGovernanceResponse.Pagination;
81
- }
82
-
83
- export namespace CustomerRetrieveGovernanceResponse {
84
- /**
85
- * A node of the governance hierarchy tree with its usage configuration (limit,
86
- * cadence, scope) and current usage. Usage is read from a periodically-refreshed
87
- * read model and may lag the live counter by a short interval; it never gates
88
- * access.
89
- */
90
- export interface Data {
91
- /**
92
- * Usage-reset cadence as an ISO-8601 single-unit duration, e.g. `P1M`, `P30D`,
93
- * `PT1M`; `null` when the node has no usage configuration.
94
- */
95
- cadence: string | null;
96
-
97
- /**
98
- * Usage consumed in the current cadence period (may lag the live counter by a
99
- * short interval).
100
- */
101
- currentUsage: number | null;
102
-
103
- /**
104
- * External id of the entity at this node.
105
- */
106
- entityId: string;
107
-
108
- /**
109
- * External id of the entity type (e.g. `team`, `user`).
110
- */
111
- entityTypeId: string;
112
-
113
- /**
114
- * External id of the parent entity in the tree; `null` for a root. Use it to
115
- * rebuild the tree.
116
- */
117
- parentId: string | null;
118
-
119
- /**
120
- * The configuration scope (entity ids). Empty is the node-wide configuration; a
121
- * non-empty set is a dimension-scoped sub-configuration.
122
- */
123
- scopeEntityIds: Array<string>;
124
-
125
- /**
126
- * Hard usage limit for this node per cadence period.
127
- */
128
- usageLimit: number | null;
129
-
130
- /**
131
- * Exclusive end of the cadence period — when usage resets; `null` once the period
132
- * has rolled over.
133
- */
134
- usagePeriodEnd: string | null;
135
-
136
- /**
137
- * Start of the cadence period the usage snapshot belongs to; `null` once the
138
- * period has rolled over.
139
- */
140
- usagePeriodStart: string | null;
141
-
142
- /**
143
- * `currentUsage / usageLimit` (1 when usageLimit is 0 — always at limit). The
144
- * cross-capability-safe sort key.
145
- */
146
- utilization: number | null;
147
-
148
- /**
149
- * The metered currency ID (present when the configured capability is a credit
150
- * currency).
151
- */
152
- currencyId?: string;
153
-
154
- /**
155
- * The metered feature ID (present when the configured capability is a feature).
156
- */
157
- featureId?: string;
158
- }
159
-
160
- export interface Pagination {
161
- /**
162
- * Cursor for fetching the next page of results, or null if no additional pages
163
- * exist
164
- */
165
- next: string | null;
166
- }
167
- }
168
-
169
- export interface CustomerRetrieveGovernanceParams {
170
- /**
171
- * Query param: Return items that come after this cursor
172
- */
173
- after?: string;
174
-
175
- /**
176
- * Query param: Currency ids to include, repeated per value (e.g.
177
- * `?currencyIds=credits`). Omit both featureIds and currencyIds for tree mode.
178
- */
179
- currencyIds?: Array<string>;
180
-
181
- /**
182
- * Query param: Case-insensitive substring match on the entity id (`%`/`_` matched
183
- * literally).
184
- */
185
- entityIdSearch?: string;
186
-
187
- /**
188
- * Query param: Filter to one or more entity types, repeated per value (e.g.
189
- * `?entityTypeIds=team&entityTypeIds=user`).
190
- */
191
- entityTypeIds?: Array<string>;
192
-
193
- /**
194
- * Query param: Feature ids to include, repeated per value (e.g.
195
- * `?featureIds=ai-tokens&featureIds=seats`). Omit both featureIds and currencyIds
196
- * for tree mode — every node in the hierarchy with no usage configuration
197
- * attached.
198
- */
199
- featureIds?: Array<string>;
200
-
201
- /**
202
- * Query param: Maximum number of items to return
203
- */
204
- limit?: number;
205
-
206
- /**
207
- * Query param: Only nodes with utilization ≥ this value (e.g. 0.8 for ≥80%, 1 for
208
- * at/over limit).
209
- */
210
- minUtilization?: number;
211
-
212
- /**
213
- * Query param: Sort direction: `asc` or `desc` (default `desc`).
214
- */
215
- order?: 'asc' | 'desc';
216
-
217
- /**
218
- * Query param: Filter by configuration scope: `all` (default), `nodeWide` (`[]`
219
- * only), or `scoped` (non-empty only).
220
- */
221
- scope?: 'all' | 'nodeWide' | 'scoped';
222
-
223
- /**
224
- * Query param: Sort key: `utilization` (default, cross-capability-safe),
225
- * `currentUsage`, `usageLimit`, `scopeSize`, `id`, or `createdAt`.
226
- */
227
- sortBy?: 'utilization' | 'currentUsage' | 'usageLimit' | 'scopeSize' | 'id' | 'createdAt';
228
-
229
- /**
230
- * Header param: Account ID — optional when authenticating with a user JWT (Bearer
231
- * token); falls back to the user's first membership. Ignored for API-key auth.
232
- */
233
- 'X-ACCOUNT-ID'?: string;
234
-
235
- /**
236
- * Header param: Environment ID — required when authenticating with a user JWT
237
- * (Bearer token) on environment-scoped endpoints. Ignored for API-key auth (env is
238
- * intrinsic to the key).
239
- */
240
- 'X-ENVIRONMENT-ID'?: string;
241
35
  }
242
36
 
243
37
  Customers.Entitlements = Entitlements;
@@ -245,11 +39,6 @@ Customers.Entities = Entities;
245
39
  Customers.Assignments = Assignments;
246
40
 
247
41
  export declare namespace Customers {
248
- export {
249
- type CustomerRetrieveGovernanceResponse as CustomerRetrieveGovernanceResponse,
250
- type CustomerRetrieveGovernanceParams as CustomerRetrieveGovernanceParams,
251
- };
252
-
253
42
  export {
254
43
  Entitlements as Entitlements,
255
44
  type EntitlementCheckResponse as EntitlementCheckResponse,
@@ -8,11 +8,7 @@ export {
8
8
  type AssignmentUpsertParams,
9
9
  type AssignmentListResponsesMyCursorIDPage,
10
10
  } from './assignments';
11
- export {
12
- Customers,
13
- type CustomerRetrieveGovernanceResponse,
14
- type CustomerRetrieveGovernanceParams,
15
- } from './customers';
11
+ export { Customers } from './customers';
16
12
  export {
17
13
  Entities,
18
14
  type EntityRetrieveResponse,
@@ -1,10 +1,6 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
- export {
4
- Customers,
5
- type CustomerRetrieveGovernanceResponse,
6
- type CustomerRetrieveGovernanceParams,
7
- } from './customers/index';
3
+ export { Customers } from './customers/index';
8
4
  export {
9
5
  EntityTypes,
10
6
  type EntityTypeListResponse,
@@ -11,11 +11,7 @@ import {
11
11
  EntityTypes,
12
12
  } from './entity-types';
13
13
  import * as CustomersAPI from './customers/customers';
14
- import {
15
- CustomerRetrieveGovernanceParams,
16
- CustomerRetrieveGovernanceResponse,
17
- Customers,
18
- } from './customers/customers';
14
+ import { Customers } from './customers/customers';
19
15
 
20
16
  export class V1Beta extends APIResource {
21
17
  customers: CustomersAPI.Customers = new CustomersAPI.Customers(this._client);
@@ -26,11 +22,7 @@ V1Beta.Customers = Customers;
26
22
  V1Beta.EntityTypes = EntityTypes;
27
23
 
28
24
  export declare namespace V1Beta {
29
- export {
30
- Customers as Customers,
31
- type CustomerRetrieveGovernanceResponse as CustomerRetrieveGovernanceResponse,
32
- type CustomerRetrieveGovernanceParams as CustomerRetrieveGovernanceParams,
33
- };
25
+ export { Customers as Customers };
34
26
 
35
27
  export {
36
28
  EntityTypes as EntityTypes,
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.1.0-beta.46'; // x-release-please-version
1
+ export const VERSION = '0.1.0-beta.47'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.0-beta.46";
1
+ export declare const VERSION = "0.1.0-beta.47";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.0-beta.46";
1
+ export declare const VERSION = "0.1.0-beta.47";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.1.0-beta.46'; // x-release-please-version
4
+ exports.VERSION = '0.1.0-beta.47'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.1.0-beta.46'; // x-release-please-version
1
+ export const VERSION = '0.1.0-beta.47'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map