@onkernel/sdk 0.91.0 → 0.93.0
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.
- package/CHANGELOG.md +16 -0
- package/package.json +1 -1
- package/resources/auth/connections.d.mts +28 -10
- package/resources/auth/connections.d.mts.map +1 -1
- package/resources/auth/connections.d.ts +28 -10
- package/resources/auth/connections.d.ts.map +1 -1
- package/resources/browsers/browsers.d.mts +2 -2
- package/resources/browsers/browsers.d.mts.map +1 -1
- package/resources/browsers/browsers.d.ts +2 -2
- package/resources/browsers/browsers.d.ts.map +1 -1
- package/resources/browsers/browsers.js.map +1 -1
- package/resources/browsers/browsers.mjs.map +1 -1
- package/resources/browsers/index.d.mts +1 -1
- package/resources/browsers/index.d.mts.map +1 -1
- package/resources/browsers/index.d.ts +1 -1
- package/resources/browsers/index.d.ts.map +1 -1
- package/resources/browsers/index.js.map +1 -1
- package/resources/browsers/index.mjs.map +1 -1
- package/resources/browsers/telemetry.d.mts +66 -2
- package/resources/browsers/telemetry.d.mts.map +1 -1
- package/resources/browsers/telemetry.d.ts +66 -2
- package/resources/browsers/telemetry.d.ts.map +1 -1
- package/resources/organization/entitlements.d.mts +188 -0
- package/resources/organization/entitlements.d.mts.map +1 -0
- package/resources/organization/entitlements.d.ts +188 -0
- package/resources/organization/entitlements.d.ts.map +1 -0
- package/resources/organization/entitlements.js +20 -0
- package/resources/organization/entitlements.js.map +1 -0
- package/resources/organization/entitlements.mjs +16 -0
- package/resources/organization/entitlements.mjs.map +1 -0
- package/resources/organization/index.d.mts +1 -0
- package/resources/organization/index.d.mts.map +1 -1
- package/resources/organization/index.d.ts +1 -0
- package/resources/organization/index.d.ts.map +1 -1
- package/resources/organization/index.js +3 -1
- package/resources/organization/index.js.map +1 -1
- package/resources/organization/index.mjs +1 -0
- package/resources/organization/index.mjs.map +1 -1
- package/resources/organization/organization.d.mts +4 -0
- package/resources/organization/organization.d.mts.map +1 -1
- package/resources/organization/organization.d.ts +4 -0
- package/resources/organization/organization.d.ts.map +1 -1
- package/resources/organization/organization.js +4 -0
- package/resources/organization/organization.js.map +1 -1
- package/resources/organization/organization.mjs +4 -0
- package/resources/organization/organization.mjs.map +1 -1
- package/src/resources/auth/connections.ts +34 -12
- package/src/resources/browsers/browsers.ts +2 -0
- package/src/resources/browsers/index.ts +1 -0
- package/src/resources/browsers/telemetry.ts +84 -0
- package/src/resources/organization/entitlements.ts +234 -0
- package/src/resources/organization/index.ts +1 -0
- package/src/resources/organization/organization.ts +6 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.mjs";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
4
|
+
/**
|
|
5
|
+
* Read and manage organization-level limits.
|
|
6
|
+
*/
|
|
7
|
+
export declare class Entitlements extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get the authenticated organization's effective feature access and constraints
|
|
10
|
+
* after applying its plan, active trial treatment, plan status, and
|
|
11
|
+
* organization-specific overrides. Null constraint values mean unlimited.
|
|
12
|
+
*/
|
|
13
|
+
retrieve(options?: RequestOptions): APIPromise<OrgEntitlements>;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Effective feature access and constraints for the authenticated organization.
|
|
17
|
+
* Values already include trial treatment, plan status, and organization-specific
|
|
18
|
+
* overrides; consumers should use these resolved values instead of comparing plan
|
|
19
|
+
* IDs.
|
|
20
|
+
*/
|
|
21
|
+
export interface OrgEntitlements {
|
|
22
|
+
features: OrgEntitlements.Features;
|
|
23
|
+
limits: OrgEntitlements.Limits;
|
|
24
|
+
plan: OrgEntitlements.Plan;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace OrgEntitlements {
|
|
27
|
+
interface Features {
|
|
28
|
+
browser_extensions: Features.BrowserExtensions;
|
|
29
|
+
browser_pools: Features.BrowserPools;
|
|
30
|
+
browser_replays: Features.BrowserReplays;
|
|
31
|
+
credential_providers: Features.CredentialProviders;
|
|
32
|
+
credentials: Features.Credentials;
|
|
33
|
+
custom_proxies: Features.CustomProxies;
|
|
34
|
+
file_io: Features.FileIo;
|
|
35
|
+
gpu: Features.GPU;
|
|
36
|
+
managed_auth: Features.ManagedAuth;
|
|
37
|
+
managed_proxies: Features.ManagedProxies;
|
|
38
|
+
profiles: Features.Profiles;
|
|
39
|
+
proxy_bypass_hosts: Features.ProxyBypassHosts;
|
|
40
|
+
}
|
|
41
|
+
namespace Features {
|
|
42
|
+
interface BrowserExtensions {
|
|
43
|
+
/**
|
|
44
|
+
* Whether browser extensions are available.
|
|
45
|
+
*/
|
|
46
|
+
enabled: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Maximum active custom extensions the organization may store. Null means
|
|
49
|
+
* unlimited. Loading stored extensions into a browser is not plan-limited.
|
|
50
|
+
*/
|
|
51
|
+
max_stored_per_org: number | null;
|
|
52
|
+
}
|
|
53
|
+
interface BrowserPools {
|
|
54
|
+
/**
|
|
55
|
+
* Whether the organization is entitled to use this feature.
|
|
56
|
+
*/
|
|
57
|
+
enabled: boolean;
|
|
58
|
+
}
|
|
59
|
+
interface BrowserReplays {
|
|
60
|
+
/**
|
|
61
|
+
* Whether browser replay recording is available.
|
|
62
|
+
*/
|
|
63
|
+
enabled: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Number of days browser replays are retained, matching the replay reaper policy.
|
|
66
|
+
*/
|
|
67
|
+
retention_days: number;
|
|
68
|
+
}
|
|
69
|
+
interface CredentialProviders {
|
|
70
|
+
/**
|
|
71
|
+
* Whether the organization is entitled to use this feature.
|
|
72
|
+
*/
|
|
73
|
+
enabled: boolean;
|
|
74
|
+
}
|
|
75
|
+
interface Credentials {
|
|
76
|
+
/**
|
|
77
|
+
* Whether the organization is entitled to use this feature.
|
|
78
|
+
*/
|
|
79
|
+
enabled: boolean;
|
|
80
|
+
}
|
|
81
|
+
interface CustomProxies {
|
|
82
|
+
/**
|
|
83
|
+
* Whether the organization is entitled to use this feature.
|
|
84
|
+
*/
|
|
85
|
+
enabled: boolean;
|
|
86
|
+
}
|
|
87
|
+
interface FileIo {
|
|
88
|
+
/**
|
|
89
|
+
* Whether the organization is entitled to use this feature.
|
|
90
|
+
*/
|
|
91
|
+
enabled: boolean;
|
|
92
|
+
}
|
|
93
|
+
interface GPU {
|
|
94
|
+
/**
|
|
95
|
+
* Whether the organization is entitled to use this feature.
|
|
96
|
+
*/
|
|
97
|
+
enabled: boolean;
|
|
98
|
+
}
|
|
99
|
+
interface ManagedAuth {
|
|
100
|
+
/**
|
|
101
|
+
* Whether managed auth is available.
|
|
102
|
+
*/
|
|
103
|
+
enabled: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* Effective interval in seconds used when a connection is created without an
|
|
106
|
+
* explicit health-check interval.
|
|
107
|
+
*/
|
|
108
|
+
health_check_interval_default_seconds: number;
|
|
109
|
+
/**
|
|
110
|
+
* Maximum accepted managed auth health-check interval in seconds.
|
|
111
|
+
*/
|
|
112
|
+
health_check_interval_max_seconds: number;
|
|
113
|
+
/**
|
|
114
|
+
* Minimum accepted managed auth health-check interval in seconds.
|
|
115
|
+
*/
|
|
116
|
+
health_check_interval_min_seconds: number;
|
|
117
|
+
/**
|
|
118
|
+
* Maximum active managed auth connections in the organization. Null means
|
|
119
|
+
* unlimited.
|
|
120
|
+
*/
|
|
121
|
+
max_connections: number | null;
|
|
122
|
+
}
|
|
123
|
+
interface ManagedProxies {
|
|
124
|
+
/**
|
|
125
|
+
* Whether the organization is entitled to use this feature.
|
|
126
|
+
*/
|
|
127
|
+
enabled: boolean;
|
|
128
|
+
}
|
|
129
|
+
interface Profiles {
|
|
130
|
+
/**
|
|
131
|
+
* Whether the organization is entitled to use this feature.
|
|
132
|
+
*/
|
|
133
|
+
enabled: boolean;
|
|
134
|
+
}
|
|
135
|
+
interface ProxyBypassHosts {
|
|
136
|
+
/**
|
|
137
|
+
* Whether the organization is entitled to use this feature.
|
|
138
|
+
*/
|
|
139
|
+
enabled: boolean;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
interface Limits {
|
|
143
|
+
/**
|
|
144
|
+
* Effective org-level default concurrent invocation ceiling for apps without an
|
|
145
|
+
* app-specific override. App-specific overrides are not represented here.
|
|
146
|
+
*/
|
|
147
|
+
default_max_concurrent_invocations_per_app: number;
|
|
148
|
+
/**
|
|
149
|
+
* Effective organization-wide ceiling shared by on-demand browsers and browser
|
|
150
|
+
* pool reservations.
|
|
151
|
+
*/
|
|
152
|
+
max_concurrent_browsers: number;
|
|
153
|
+
/**
|
|
154
|
+
* Effective organization-wide concurrent app invocation ceiling.
|
|
155
|
+
*/
|
|
156
|
+
max_concurrent_invocations: number;
|
|
157
|
+
}
|
|
158
|
+
interface Plan {
|
|
159
|
+
/**
|
|
160
|
+
* The organization's contractual plan identifier. Use the resolved feature and
|
|
161
|
+
* limit values, not this field, for access decisions.
|
|
162
|
+
*/
|
|
163
|
+
id: 'FREE' | 'HOBBYIST' | 'START_UP' | 'ENTERPRISE';
|
|
164
|
+
/**
|
|
165
|
+
* The plan used to resolve plan-based access. Active trials resolve to START_UP
|
|
166
|
+
* regardless of the contractual plan.
|
|
167
|
+
*/
|
|
168
|
+
effective_id: 'FREE' | 'HOBBYIST' | 'START_UP' | 'ENTERPRISE';
|
|
169
|
+
/**
|
|
170
|
+
* Whether the organization is currently within its trial period.
|
|
171
|
+
*/
|
|
172
|
+
is_trialing: boolean;
|
|
173
|
+
/**
|
|
174
|
+
* Current billing status of the contractual plan, or null when no billing status
|
|
175
|
+
* is recorded. Status-sensitive feature values already account for it.
|
|
176
|
+
*/
|
|
177
|
+
status: 'NEEDS_PAYMENT_METHOD' | 'ACTIVE' | 'CANCELED' | 'UNPAID' | null;
|
|
178
|
+
/**
|
|
179
|
+
* Configured trial end timestamp, or null when the organization has no trial. A
|
|
180
|
+
* past timestamp may be returned when is_trialing is false.
|
|
181
|
+
*/
|
|
182
|
+
trial_ends_at: string | null;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
export declare namespace Entitlements {
|
|
186
|
+
export { type OrgEntitlements as OrgEntitlements };
|
|
187
|
+
}
|
|
188
|
+
//# sourceMappingURL=entitlements.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entitlements.d.mts","sourceRoot":"","sources":["../../src/resources/organization/entitlements.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import { APIPromise } from "../../core/api-promise.js";
|
|
3
|
+
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
|
+
/**
|
|
5
|
+
* Read and manage organization-level limits.
|
|
6
|
+
*/
|
|
7
|
+
export declare class Entitlements extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get the authenticated organization's effective feature access and constraints
|
|
10
|
+
* after applying its plan, active trial treatment, plan status, and
|
|
11
|
+
* organization-specific overrides. Null constraint values mean unlimited.
|
|
12
|
+
*/
|
|
13
|
+
retrieve(options?: RequestOptions): APIPromise<OrgEntitlements>;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Effective feature access and constraints for the authenticated organization.
|
|
17
|
+
* Values already include trial treatment, plan status, and organization-specific
|
|
18
|
+
* overrides; consumers should use these resolved values instead of comparing plan
|
|
19
|
+
* IDs.
|
|
20
|
+
*/
|
|
21
|
+
export interface OrgEntitlements {
|
|
22
|
+
features: OrgEntitlements.Features;
|
|
23
|
+
limits: OrgEntitlements.Limits;
|
|
24
|
+
plan: OrgEntitlements.Plan;
|
|
25
|
+
}
|
|
26
|
+
export declare namespace OrgEntitlements {
|
|
27
|
+
interface Features {
|
|
28
|
+
browser_extensions: Features.BrowserExtensions;
|
|
29
|
+
browser_pools: Features.BrowserPools;
|
|
30
|
+
browser_replays: Features.BrowserReplays;
|
|
31
|
+
credential_providers: Features.CredentialProviders;
|
|
32
|
+
credentials: Features.Credentials;
|
|
33
|
+
custom_proxies: Features.CustomProxies;
|
|
34
|
+
file_io: Features.FileIo;
|
|
35
|
+
gpu: Features.GPU;
|
|
36
|
+
managed_auth: Features.ManagedAuth;
|
|
37
|
+
managed_proxies: Features.ManagedProxies;
|
|
38
|
+
profiles: Features.Profiles;
|
|
39
|
+
proxy_bypass_hosts: Features.ProxyBypassHosts;
|
|
40
|
+
}
|
|
41
|
+
namespace Features {
|
|
42
|
+
interface BrowserExtensions {
|
|
43
|
+
/**
|
|
44
|
+
* Whether browser extensions are available.
|
|
45
|
+
*/
|
|
46
|
+
enabled: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Maximum active custom extensions the organization may store. Null means
|
|
49
|
+
* unlimited. Loading stored extensions into a browser is not plan-limited.
|
|
50
|
+
*/
|
|
51
|
+
max_stored_per_org: number | null;
|
|
52
|
+
}
|
|
53
|
+
interface BrowserPools {
|
|
54
|
+
/**
|
|
55
|
+
* Whether the organization is entitled to use this feature.
|
|
56
|
+
*/
|
|
57
|
+
enabled: boolean;
|
|
58
|
+
}
|
|
59
|
+
interface BrowserReplays {
|
|
60
|
+
/**
|
|
61
|
+
* Whether browser replay recording is available.
|
|
62
|
+
*/
|
|
63
|
+
enabled: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* Number of days browser replays are retained, matching the replay reaper policy.
|
|
66
|
+
*/
|
|
67
|
+
retention_days: number;
|
|
68
|
+
}
|
|
69
|
+
interface CredentialProviders {
|
|
70
|
+
/**
|
|
71
|
+
* Whether the organization is entitled to use this feature.
|
|
72
|
+
*/
|
|
73
|
+
enabled: boolean;
|
|
74
|
+
}
|
|
75
|
+
interface Credentials {
|
|
76
|
+
/**
|
|
77
|
+
* Whether the organization is entitled to use this feature.
|
|
78
|
+
*/
|
|
79
|
+
enabled: boolean;
|
|
80
|
+
}
|
|
81
|
+
interface CustomProxies {
|
|
82
|
+
/**
|
|
83
|
+
* Whether the organization is entitled to use this feature.
|
|
84
|
+
*/
|
|
85
|
+
enabled: boolean;
|
|
86
|
+
}
|
|
87
|
+
interface FileIo {
|
|
88
|
+
/**
|
|
89
|
+
* Whether the organization is entitled to use this feature.
|
|
90
|
+
*/
|
|
91
|
+
enabled: boolean;
|
|
92
|
+
}
|
|
93
|
+
interface GPU {
|
|
94
|
+
/**
|
|
95
|
+
* Whether the organization is entitled to use this feature.
|
|
96
|
+
*/
|
|
97
|
+
enabled: boolean;
|
|
98
|
+
}
|
|
99
|
+
interface ManagedAuth {
|
|
100
|
+
/**
|
|
101
|
+
* Whether managed auth is available.
|
|
102
|
+
*/
|
|
103
|
+
enabled: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* Effective interval in seconds used when a connection is created without an
|
|
106
|
+
* explicit health-check interval.
|
|
107
|
+
*/
|
|
108
|
+
health_check_interval_default_seconds: number;
|
|
109
|
+
/**
|
|
110
|
+
* Maximum accepted managed auth health-check interval in seconds.
|
|
111
|
+
*/
|
|
112
|
+
health_check_interval_max_seconds: number;
|
|
113
|
+
/**
|
|
114
|
+
* Minimum accepted managed auth health-check interval in seconds.
|
|
115
|
+
*/
|
|
116
|
+
health_check_interval_min_seconds: number;
|
|
117
|
+
/**
|
|
118
|
+
* Maximum active managed auth connections in the organization. Null means
|
|
119
|
+
* unlimited.
|
|
120
|
+
*/
|
|
121
|
+
max_connections: number | null;
|
|
122
|
+
}
|
|
123
|
+
interface ManagedProxies {
|
|
124
|
+
/**
|
|
125
|
+
* Whether the organization is entitled to use this feature.
|
|
126
|
+
*/
|
|
127
|
+
enabled: boolean;
|
|
128
|
+
}
|
|
129
|
+
interface Profiles {
|
|
130
|
+
/**
|
|
131
|
+
* Whether the organization is entitled to use this feature.
|
|
132
|
+
*/
|
|
133
|
+
enabled: boolean;
|
|
134
|
+
}
|
|
135
|
+
interface ProxyBypassHosts {
|
|
136
|
+
/**
|
|
137
|
+
* Whether the organization is entitled to use this feature.
|
|
138
|
+
*/
|
|
139
|
+
enabled: boolean;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
interface Limits {
|
|
143
|
+
/**
|
|
144
|
+
* Effective org-level default concurrent invocation ceiling for apps without an
|
|
145
|
+
* app-specific override. App-specific overrides are not represented here.
|
|
146
|
+
*/
|
|
147
|
+
default_max_concurrent_invocations_per_app: number;
|
|
148
|
+
/**
|
|
149
|
+
* Effective organization-wide ceiling shared by on-demand browsers and browser
|
|
150
|
+
* pool reservations.
|
|
151
|
+
*/
|
|
152
|
+
max_concurrent_browsers: number;
|
|
153
|
+
/**
|
|
154
|
+
* Effective organization-wide concurrent app invocation ceiling.
|
|
155
|
+
*/
|
|
156
|
+
max_concurrent_invocations: number;
|
|
157
|
+
}
|
|
158
|
+
interface Plan {
|
|
159
|
+
/**
|
|
160
|
+
* The organization's contractual plan identifier. Use the resolved feature and
|
|
161
|
+
* limit values, not this field, for access decisions.
|
|
162
|
+
*/
|
|
163
|
+
id: 'FREE' | 'HOBBYIST' | 'START_UP' | 'ENTERPRISE';
|
|
164
|
+
/**
|
|
165
|
+
* The plan used to resolve plan-based access. Active trials resolve to START_UP
|
|
166
|
+
* regardless of the contractual plan.
|
|
167
|
+
*/
|
|
168
|
+
effective_id: 'FREE' | 'HOBBYIST' | 'START_UP' | 'ENTERPRISE';
|
|
169
|
+
/**
|
|
170
|
+
* Whether the organization is currently within its trial period.
|
|
171
|
+
*/
|
|
172
|
+
is_trialing: boolean;
|
|
173
|
+
/**
|
|
174
|
+
* Current billing status of the contractual plan, or null when no billing status
|
|
175
|
+
* is recorded. Status-sensitive feature values already account for it.
|
|
176
|
+
*/
|
|
177
|
+
status: 'NEEDS_PAYMENT_METHOD' | 'ACTIVE' | 'CANCELED' | 'UNPAID' | null;
|
|
178
|
+
/**
|
|
179
|
+
* Configured trial end timestamp, or null when the organization has no trial. A
|
|
180
|
+
* past timestamp may be returned when is_trialing is false.
|
|
181
|
+
*/
|
|
182
|
+
trial_ends_at: string | null;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
export declare namespace Entitlements {
|
|
186
|
+
export { type OrgEntitlements as OrgEntitlements };
|
|
187
|
+
}
|
|
188
|
+
//# sourceMappingURL=entitlements.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entitlements.d.ts","sourceRoot":"","sources":["../../src/resources/organization/entitlements.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.Entitlements = void 0;
|
|
5
|
+
const resource_1 = require("../../core/resource.js");
|
|
6
|
+
/**
|
|
7
|
+
* Read and manage organization-level limits.
|
|
8
|
+
*/
|
|
9
|
+
class Entitlements extends resource_1.APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Get the authenticated organization's effective feature access and constraints
|
|
12
|
+
* after applying its plan, active trial treatment, plan status, and
|
|
13
|
+
* organization-specific overrides. Null constraint values mean unlimited.
|
|
14
|
+
*/
|
|
15
|
+
retrieve(options) {
|
|
16
|
+
return this._client.get('/org/entitlements', options);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.Entitlements = Entitlements;
|
|
20
|
+
//# sourceMappingURL=entitlements.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entitlements.js","sourceRoot":"","sources":["../../src/resources/organization/entitlements.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAIlD;;GAEG;AACH,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;OAIG;IACH,QAAQ,CAAC,OAAwB;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC;IACxD,CAAC;CACF;AATD,oCASC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
/**
|
|
4
|
+
* Read and manage organization-level limits.
|
|
5
|
+
*/
|
|
6
|
+
export class Entitlements extends APIResource {
|
|
7
|
+
/**
|
|
8
|
+
* Get the authenticated organization's effective feature access and constraints
|
|
9
|
+
* after applying its plan, active trial treatment, plan status, and
|
|
10
|
+
* organization-specific overrides. Null constraint values mean unlimited.
|
|
11
|
+
*/
|
|
12
|
+
retrieve(options) {
|
|
13
|
+
return this._client.get('/org/entitlements', options);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=entitlements.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entitlements.mjs","sourceRoot":"","sources":["../../src/resources/organization/entitlements.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAIlD;;GAEG;AACH,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;OAIG;IACH,QAAQ,CAAC,OAAwB;QAC/B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,OAAO,CAAC,CAAC;IACxD,CAAC;CACF"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { Entitlements, type OrgEntitlements } from "./entitlements.mjs";
|
|
1
2
|
export { Limits, type OrgLimits, type UpdateOrgLimitsRequest, type LimitUpdateParams } from "./limits.mjs";
|
|
2
3
|
export { Organization } from "./organization.mjs";
|
|
3
4
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/organization/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,KAAK,SAAS,EAAE,KAAK,sBAAsB,EAAE,KAAK,iBAAiB,EAAE,qBAAiB;AACvG,OAAO,EAAE,YAAY,EAAE,2BAAuB"}
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/organization/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,KAAK,eAAe,EAAE,2BAAuB;AACpE,OAAO,EAAE,MAAM,EAAE,KAAK,SAAS,EAAE,KAAK,sBAAsB,EAAE,KAAK,iBAAiB,EAAE,qBAAiB;AACvG,OAAO,EAAE,YAAY,EAAE,2BAAuB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/organization/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,KAAK,SAAS,EAAE,KAAK,sBAAsB,EAAE,KAAK,iBAAiB,EAAE,oBAAiB;AACvG,OAAO,EAAE,YAAY,EAAE,0BAAuB"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/organization/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,KAAK,eAAe,EAAE,0BAAuB;AACpE,OAAO,EAAE,MAAM,EAAE,KAAK,SAAS,EAAE,KAAK,sBAAsB,EAAE,KAAK,iBAAiB,EAAE,oBAAiB;AACvG,OAAO,EAAE,YAAY,EAAE,0BAAuB"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Organization = exports.Limits = void 0;
|
|
4
|
+
exports.Organization = exports.Limits = exports.Entitlements = void 0;
|
|
5
|
+
var entitlements_1 = require("./entitlements.js");
|
|
6
|
+
Object.defineProperty(exports, "Entitlements", { enumerable: true, get: function () { return entitlements_1.Entitlements; } });
|
|
5
7
|
var limits_1 = require("./limits.js");
|
|
6
8
|
Object.defineProperty(exports, "Limits", { enumerable: true, get: function () { return limits_1.Limits; } });
|
|
7
9
|
var organization_1 = require("./organization.js");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/organization/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,sCAAuG;AAA9F,gGAAA,MAAM,OAAA;AACf,kDAA8C;AAArC,4GAAA,YAAY,OAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/organization/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAAoE;AAA3D,4GAAA,YAAY,OAAA;AACrB,sCAAuG;AAA9F,gGAAA,MAAM,OAAA;AACf,kDAA8C;AAArC,4GAAA,YAAY,OAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/organization/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,MAAM,EAAuE,qBAAiB;AACvG,OAAO,EAAE,YAAY,EAAE,2BAAuB"}
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/organization/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,YAAY,EAAwB,2BAAuB;AACpE,OAAO,EAAE,MAAM,EAAuE,qBAAiB;AACvG,OAAO,EAAE,YAAY,EAAE,2BAAuB"}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
+
import * as EntitlementsAPI from "./entitlements.mjs";
|
|
3
|
+
import { Entitlements, OrgEntitlements } from "./entitlements.mjs";
|
|
2
4
|
import * as LimitsAPI from "./limits.mjs";
|
|
3
5
|
import { LimitUpdateParams, Limits, OrgLimits, UpdateOrgLimitsRequest } from "./limits.mjs";
|
|
4
6
|
export declare class Organization extends APIResource {
|
|
7
|
+
entitlements: EntitlementsAPI.Entitlements;
|
|
5
8
|
limits: LimitsAPI.Limits;
|
|
6
9
|
}
|
|
7
10
|
export declare namespace Organization {
|
|
11
|
+
export { Entitlements as Entitlements, type OrgEntitlements as OrgEntitlements };
|
|
8
12
|
export { Limits as Limits, type OrgLimits as OrgLimits, type UpdateOrgLimitsRequest as UpdateOrgLimitsRequest, type LimitUpdateParams as LimitUpdateParams, };
|
|
9
13
|
}
|
|
10
14
|
//# sourceMappingURL=organization.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.d.mts","sourceRoot":"","sources":["../../src/resources/organization/organization.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,EAAE,SAAS,EAAE,sBAAsB,EAAE,qBAAiB;AAExF,qBAAa,YAAa,SAAQ,WAAW;IAC3C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;CAC/D;
|
|
1
|
+
{"version":3,"file":"organization.d.mts","sourceRoot":"","sources":["../../src/resources/organization/organization.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,eAAe,2BAAuB;AAClD,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,2BAAuB;AAC/D,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,EAAE,SAAS,EAAE,sBAAsB,EAAE,qBAAiB;AAExF,qBAAa,YAAa,SAAQ,WAAW;IAC3C,YAAY,EAAE,eAAe,CAAC,YAAY,CAAkD;IAC5F,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;CAC/D;AAKD,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EAAE,YAAY,IAAI,YAAY,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,CAAC;IAEjF,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
import { APIResource } from "../../core/resource.js";
|
|
2
|
+
import * as EntitlementsAPI from "./entitlements.js";
|
|
3
|
+
import { Entitlements, OrgEntitlements } from "./entitlements.js";
|
|
2
4
|
import * as LimitsAPI from "./limits.js";
|
|
3
5
|
import { LimitUpdateParams, Limits, OrgLimits, UpdateOrgLimitsRequest } from "./limits.js";
|
|
4
6
|
export declare class Organization extends APIResource {
|
|
7
|
+
entitlements: EntitlementsAPI.Entitlements;
|
|
5
8
|
limits: LimitsAPI.Limits;
|
|
6
9
|
}
|
|
7
10
|
export declare namespace Organization {
|
|
11
|
+
export { Entitlements as Entitlements, type OrgEntitlements as OrgEntitlements };
|
|
8
12
|
export { Limits as Limits, type OrgLimits as OrgLimits, type UpdateOrgLimitsRequest as UpdateOrgLimitsRequest, type LimitUpdateParams as LimitUpdateParams, };
|
|
9
13
|
}
|
|
10
14
|
//# sourceMappingURL=organization.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.d.ts","sourceRoot":"","sources":["../../src/resources/organization/organization.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,SAAS,oBAAiB;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,EAAE,SAAS,EAAE,sBAAsB,EAAE,oBAAiB;AAExF,qBAAa,YAAa,SAAQ,WAAW;IAC3C,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;CAC/D;
|
|
1
|
+
{"version":3,"file":"organization.d.ts","sourceRoot":"","sources":["../../src/resources/organization/organization.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,eAAe,0BAAuB;AAClD,OAAO,EAAE,YAAY,EAAE,eAAe,EAAE,0BAAuB;AAC/D,OAAO,KAAK,SAAS,oBAAiB;AACtC,OAAO,EAAE,iBAAiB,EAAE,MAAM,EAAE,SAAS,EAAE,sBAAsB,EAAE,oBAAiB;AAExF,qBAAa,YAAa,SAAQ,WAAW;IAC3C,YAAY,EAAE,eAAe,CAAC,YAAY,CAAkD;IAC5F,MAAM,EAAE,SAAS,CAAC,MAAM,CAAsC;CAC/D;AAKD,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EAAE,YAAY,IAAI,YAAY,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,CAAC;IAEjF,OAAO,EACL,MAAM,IAAI,MAAM,EAChB,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -4,14 +4,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
4
4
|
exports.Organization = void 0;
|
|
5
5
|
const tslib_1 = require("../../internal/tslib.js");
|
|
6
6
|
const resource_1 = require("../../core/resource.js");
|
|
7
|
+
const EntitlementsAPI = tslib_1.__importStar(require("./entitlements.js"));
|
|
8
|
+
const entitlements_1 = require("./entitlements.js");
|
|
7
9
|
const LimitsAPI = tslib_1.__importStar(require("./limits.js"));
|
|
8
10
|
const limits_1 = require("./limits.js");
|
|
9
11
|
class Organization extends resource_1.APIResource {
|
|
10
12
|
constructor() {
|
|
11
13
|
super(...arguments);
|
|
14
|
+
this.entitlements = new EntitlementsAPI.Entitlements(this._client);
|
|
12
15
|
this.limits = new LimitsAPI.Limits(this._client);
|
|
13
16
|
}
|
|
14
17
|
}
|
|
15
18
|
exports.Organization = Organization;
|
|
19
|
+
Organization.Entitlements = entitlements_1.Entitlements;
|
|
16
20
|
Organization.Limits = limits_1.Limits;
|
|
17
21
|
//# sourceMappingURL=organization.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.js","sourceRoot":"","sources":["../../src/resources/organization/organization.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,+DAAsC;AACtC,wCAAwF;AAExF,MAAa,YAAa,SAAQ,sBAAW;IAA7C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChE,CAAC;CAAA;
|
|
1
|
+
{"version":3,"file":"organization.js","sourceRoot":"","sources":["../../src/resources/organization/organization.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,2EAAkD;AAClD,oDAA+D;AAC/D,+DAAsC;AACtC,wCAAwF;AAExF,MAAa,YAAa,SAAQ,sBAAW;IAA7C;;QACE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5F,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChE,CAAC;CAAA;AAHD,oCAGC;AAED,YAAY,CAAC,YAAY,GAAG,2BAAY,CAAC;AACzC,YAAY,CAAC,MAAM,GAAG,eAAM,CAAC"}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
+
import * as EntitlementsAPI from "./entitlements.mjs";
|
|
4
|
+
import { Entitlements } from "./entitlements.mjs";
|
|
3
5
|
import * as LimitsAPI from "./limits.mjs";
|
|
4
6
|
import { Limits } from "./limits.mjs";
|
|
5
7
|
export class Organization extends APIResource {
|
|
6
8
|
constructor() {
|
|
7
9
|
super(...arguments);
|
|
10
|
+
this.entitlements = new EntitlementsAPI.Entitlements(this._client);
|
|
8
11
|
this.limits = new LimitsAPI.Limits(this._client);
|
|
9
12
|
}
|
|
10
13
|
}
|
|
14
|
+
Organization.Entitlements = Entitlements;
|
|
11
15
|
Organization.Limits = Limits;
|
|
12
16
|
//# sourceMappingURL=organization.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.mjs","sourceRoot":"","sources":["../../src/resources/organization/organization.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAAqB,MAAM,EAAqC,qBAAiB;AAExF,MAAM,OAAO,YAAa,SAAQ,WAAW;IAA7C;;QACE,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChE,CAAC;CAAA;AAED,YAAY,CAAC,MAAM,GAAG,MAAM,CAAC"}
|
|
1
|
+
{"version":3,"file":"organization.mjs","sourceRoot":"","sources":["../../src/resources/organization/organization.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,eAAe,2BAAuB;AAClD,OAAO,EAAE,YAAY,EAAmB,2BAAuB;AAC/D,OAAO,KAAK,SAAS,qBAAiB;AACtC,OAAO,EAAqB,MAAM,EAAqC,qBAAiB;AAExF,MAAM,OAAO,YAAa,SAAQ,WAAW;IAA7C;;QACE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC5F,WAAM,GAAqB,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChE,CAAC;CAAA;AAED,YAAY,CAAC,YAAY,GAAG,YAAY,CAAC;AACzC,YAAY,CAAC,MAAM,GAAG,MAAM,CAAC"}
|