@stigg/typescript 0.1.0-beta.67 → 0.1.0-beta.68

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 (43) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/package.json +1 -1
  3. package/resources/v1/credits/grants.d.mts +1 -1
  4. package/resources/v1/credits/grants.d.ts +1 -1
  5. package/resources/v1/credits/grants.js +1 -1
  6. package/resources/v1/credits/grants.mjs +1 -1
  7. package/resources/v1/customers/customers.d.mts +17 -2
  8. package/resources/v1/customers/customers.d.mts.map +1 -1
  9. package/resources/v1/customers/customers.d.ts +17 -2
  10. package/resources/v1/customers/customers.d.ts.map +1 -1
  11. package/resources/v1/customers/customers.js.map +1 -1
  12. package/resources/v1/customers/customers.mjs.map +1 -1
  13. package/resources/v1/customers/entities/entitlements.d.mts +16 -0
  14. package/resources/v1/customers/entities/entitlements.d.mts.map +1 -1
  15. package/resources/v1/customers/entities/entitlements.d.ts +16 -0
  16. package/resources/v1/customers/entities/entitlements.d.ts.map +1 -1
  17. package/resources/v1/customers/entities/entitlements.js +1 -0
  18. package/resources/v1/customers/entities/entitlements.js.map +1 -1
  19. package/resources/v1/customers/entities/entitlements.mjs +1 -0
  20. package/resources/v1/customers/entities/entitlements.mjs.map +1 -1
  21. package/resources/v1/events/beta/customers.d.mts +6 -1
  22. package/resources/v1/events/beta/customers.d.mts.map +1 -1
  23. package/resources/v1/events/beta/customers.d.ts +6 -1
  24. package/resources/v1/events/beta/customers.d.ts.map +1 -1
  25. package/resources/v1-beta/customers/entitlements.d.mts +12 -2
  26. package/resources/v1-beta/customers/entitlements.d.mts.map +1 -1
  27. package/resources/v1-beta/customers/entitlements.d.ts +12 -2
  28. package/resources/v1-beta/customers/entitlements.d.ts.map +1 -1
  29. package/resources/v1-beta/customers/governance.d.mts +6 -1
  30. package/resources/v1-beta/customers/governance.d.mts.map +1 -1
  31. package/resources/v1-beta/customers/governance.d.ts +6 -1
  32. package/resources/v1-beta/customers/governance.d.ts.map +1 -1
  33. package/src/resources/v1/credits/grants.ts +1 -1
  34. package/src/resources/v1/customers/customers.ts +20 -2
  35. package/src/resources/v1/customers/entities/entitlements.ts +19 -0
  36. package/src/resources/v1/events/beta/customers.ts +7 -1
  37. package/src/resources/v1-beta/customers/entitlements.ts +14 -2
  38. package/src/resources/v1-beta/customers/governance.ts +7 -1
  39. package/src/version.ts +1 -1
  40. package/version.d.mts +1 -1
  41. package/version.d.ts +1 -1
  42. package/version.js +1 -1
  43. package/version.mjs +1 -1
@@ -88,6 +88,12 @@ export namespace CustomerRetrieveGovernanceResponse {
88
88
  */
89
89
  entityTypeId: string;
90
90
 
91
+ /**
92
+ * Whether usage past `usageLimit` is allowed and still counted. `null` when the
93
+ * node has no usage configuration.
94
+ */
95
+ hasSoftLimit: boolean | null;
96
+
91
97
  /**
92
98
  * External id of the parent entity in the tree. `null` means the entity is either
93
99
  * a root or not yet placed in the hierarchy — placement rides on an assignment, so
@@ -103,7 +109,7 @@ export namespace CustomerRetrieveGovernanceResponse {
103
109
  scopeEntityIds: Array<string>;
104
110
 
105
111
  /**
106
- * Hard usage limit for this node per cadence period.
112
+ * Usage limit for this node per cadence period.
107
113
  */
108
114
  usageLimit: number | null;
109
115
 
@@ -132,6 +132,12 @@ export namespace EntitlementCheckResponse {
132
132
  */
133
133
  entityId: string;
134
134
 
135
+ /**
136
+ * Whether this node allows usage past `usageLimit` and keeps counting it. When
137
+ * `true`, the node does not deny on its own limit.
138
+ */
139
+ hasSoftLimit: boolean;
140
+
135
141
  /**
136
142
  * Whether this node alone permits the requested usage.
137
143
  */
@@ -145,7 +151,7 @@ export namespace EntitlementCheckResponse {
145
151
  scopeEntityIds: Array<string>;
146
152
 
147
153
  /**
148
- * Hard usage limit for this node; null when the entity has no entity entitlement.
154
+ * Usage limit for this node; null when the entity has no entity entitlement.
149
155
  */
150
156
  usageLimit: number | null;
151
157
  }
@@ -304,6 +310,12 @@ export namespace EntitlementCheckResponse {
304
310
  */
305
311
  entityId: string;
306
312
 
313
+ /**
314
+ * Whether this node allows usage past `usageLimit` and keeps counting it. When
315
+ * `true`, the node does not deny on its own limit.
316
+ */
317
+ hasSoftLimit: boolean;
318
+
307
319
  /**
308
320
  * Whether this node alone permits the requested usage.
309
321
  */
@@ -317,7 +329,7 @@ export namespace EntitlementCheckResponse {
317
329
  scopeEntityIds: Array<string>;
318
330
 
319
331
  /**
320
- * Hard usage limit for this node; null when the entity has no entity entitlement.
332
+ * Usage limit for this node; null when the entity has no entity entitlement.
321
333
  */
322
334
  usageLimit: number | null;
323
335
  }
@@ -85,6 +85,12 @@ export interface GovernanceListResponse {
85
85
  */
86
86
  entityTypeId: string;
87
87
 
88
+ /**
89
+ * Whether usage past `usageLimit` is allowed and still counted. `null` when the
90
+ * node has no usage configuration.
91
+ */
92
+ hasSoftLimit: boolean | null;
93
+
88
94
  /**
89
95
  * External id of the parent entity in the tree. `null` means the entity is either
90
96
  * a root or not yet placed in the hierarchy — placement rides on an assignment, so
@@ -100,7 +106,7 @@ export interface GovernanceListResponse {
100
106
  scopeEntityIds: Array<string>;
101
107
 
102
108
  /**
103
- * Hard usage limit for this node per cadence period.
109
+ * Usage limit for this node per cadence period.
104
110
  */
105
111
  usageLimit: number | null;
106
112
 
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.1.0-beta.67'; // x-release-please-version
1
+ export const VERSION = '0.1.0-beta.68'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.1.0-beta.67";
1
+ export declare const VERSION = "0.1.0-beta.68";
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.67";
1
+ export declare const VERSION = "0.1.0-beta.68";
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.67'; // x-release-please-version
4
+ exports.VERSION = '0.1.0-beta.68'; // 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.67'; // x-release-please-version
1
+ export const VERSION = '0.1.0-beta.68'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map