@workos-inc/node 12.3.0 → 12.4.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/lib/{factory-ND4UZ76L.mjs → factory-BrukHQPr.mjs} +311 -579
- package/lib/factory-BrukHQPr.mjs.map +1 -0
- package/lib/{factory-BurShrC1.cjs → factory-CnNO67Ux.cjs} +311 -579
- package/lib/factory-CnNO67Ux.cjs.map +1 -0
- package/lib/{factory-xvKEp07N.d.mts → factory-DyNyRAxo.d.mts} +87 -902
- package/lib/{factory-xvKEp07N.d.cts → factory-uRAFbo4r.d.cts} +444 -902
- package/lib/index.cjs +52 -103
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +2 -442
- package/lib/index.d.mts +2 -85
- package/lib/index.mjs +52 -103
- package/lib/index.mjs.map +1 -1
- package/lib/index.worker.cjs +2 -3
- package/lib/index.worker.d.cts +2 -5
- package/lib/index.worker.d.mts +2 -5
- package/lib/index.worker.mjs +2 -3
- package/lib/{webapi-CfgZkeeN.mjs → webapi-CFOFAgDt.mjs} +256 -299
- package/lib/webapi-CFOFAgDt.mjs.map +1 -0
- package/lib/{webapi-MD5xmNba.cjs → webapi-rpGT44g1.cjs} +256 -299
- package/lib/webapi-rpGT44g1.cjs.map +1 -0
- package/package.json +2 -2
- package/lib/factory-BurShrC1.cjs.map +0 -1
- package/lib/factory-ND4UZ76L.mjs.map +0 -1
- package/lib/webapi-CfgZkeeN.mjs.map +0 -1
- package/lib/webapi-MD5xmNba.cjs.map +0 -1
package/lib/index.cjs
CHANGED
|
@@ -1,243 +1,205 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_factory = require("./factory-
|
|
3
|
-
|
|
2
|
+
const require_factory = require("./factory-CnNO67Ux.cjs");
|
|
3
|
+
// src/groups/interfaces/user-organization-membership-base-list-data-status.interface.ts
|
|
4
4
|
const UserOrganizationMembershipBaseListDataStatus = {
|
|
5
5
|
Active: "active",
|
|
6
6
|
Inactive: "inactive",
|
|
7
7
|
Pending: "pending"
|
|
8
8
|
};
|
|
9
|
-
|
|
10
|
-
//#region src/pipes/interfaces/connected-account-auth-method.interface.ts
|
|
9
|
+
// src/pipes/interfaces/connected-account-auth-method.interface.ts
|
|
11
10
|
const ConnectedAccountAuthMethod = {
|
|
12
11
|
OAuth: "oauth",
|
|
13
12
|
ApiKey: "api_key",
|
|
14
13
|
ClientCredentials: "client_credentials"
|
|
15
14
|
};
|
|
16
|
-
|
|
17
|
-
//#region src/pipes/interfaces/connected-account-connection-role.interface.ts
|
|
15
|
+
// src/pipes/interfaces/connected-account-connection-role.interface.ts
|
|
18
16
|
const ConnectedAccountConnectionRole = {
|
|
19
17
|
Compatibility: "compatibility",
|
|
20
18
|
Standard: "standard"
|
|
21
19
|
};
|
|
22
|
-
|
|
23
|
-
//#region src/pipes/interfaces/connected-account-input-state.interface.ts
|
|
20
|
+
// src/pipes/interfaces/connected-account-input-state.interface.ts
|
|
24
21
|
const ConnectedAccountInputState = {
|
|
25
22
|
Connected: "connected",
|
|
26
23
|
NeedsReauthorization: "needs_reauthorization"
|
|
27
24
|
};
|
|
28
|
-
|
|
29
|
-
//#region src/pipes/interfaces/connected-account-state.interface.ts
|
|
25
|
+
// src/pipes/interfaces/connected-account-state.interface.ts
|
|
30
26
|
const ConnectedAccountState = {
|
|
31
27
|
Connected: "connected",
|
|
32
28
|
NeedsReauthorization: "needs_reauthorization",
|
|
33
29
|
Disconnected: "disconnected"
|
|
34
30
|
};
|
|
35
|
-
|
|
36
|
-
//#region src/pipes/interfaces/create-connected-account-state.interface.ts
|
|
31
|
+
// src/pipes/interfaces/create-connected-account-state.interface.ts
|
|
37
32
|
const CreateConnectedAccountState = {
|
|
38
33
|
Connected: "connected",
|
|
39
34
|
NeedsReauthorization: "needs_reauthorization"
|
|
40
35
|
};
|
|
41
|
-
|
|
42
|
-
//#region src/pipes/interfaces/create-data-integration-auth-methods.interface.ts
|
|
36
|
+
// src/pipes/interfaces/create-data-integration-auth-methods.interface.ts
|
|
43
37
|
const CreateDataIntegrationAuthMethods = {
|
|
44
38
|
OAuth: "oauth",
|
|
45
39
|
ApiKey: "api_key",
|
|
46
40
|
ClientCredentials: "client_credentials"
|
|
47
41
|
};
|
|
48
|
-
|
|
49
|
-
//#region src/pipes/interfaces/create-data-integration-ownership.interface.ts
|
|
42
|
+
// src/pipes/interfaces/create-data-integration-ownership.interface.ts
|
|
50
43
|
const CreateDataIntegrationOwnership = {
|
|
51
44
|
User: "user",
|
|
52
45
|
Organization: "organization"
|
|
53
46
|
};
|
|
54
|
-
|
|
55
|
-
//#region src/pipes/interfaces/create-organization-connected-account-state.interface.ts
|
|
47
|
+
// src/pipes/interfaces/create-organization-connected-account-state.interface.ts
|
|
56
48
|
const CreateOrganizationConnectedAccountState = {
|
|
57
49
|
Connected: "connected",
|
|
58
50
|
NeedsReauthorization: "needs_reauthorization"
|
|
59
51
|
};
|
|
60
|
-
|
|
61
|
-
//#region src/pipes/interfaces/custom-provider-definition-authenticate-via.interface.ts
|
|
52
|
+
// src/pipes/interfaces/custom-provider-definition-authenticate-via.interface.ts
|
|
62
53
|
const CustomProviderDefinitionAuthenticateVia = {
|
|
63
54
|
RequestBody: "request_body",
|
|
64
55
|
BasicAuthHeader: "basic_auth_header"
|
|
65
56
|
};
|
|
66
|
-
|
|
67
|
-
//#region src/pipes/interfaces/data-integration-access-token-response-error.interface.ts
|
|
57
|
+
// src/pipes/interfaces/data-integration-access-token-response-error.interface.ts
|
|
68
58
|
const DataIntegrationAccessTokenResponseError = {
|
|
69
59
|
NotInstalled: "not_installed",
|
|
70
60
|
NeedsReauthorization: "needs_reauthorization"
|
|
71
61
|
};
|
|
72
|
-
|
|
73
|
-
//#region src/pipes/interfaces/data-integration-auth-methods.interface.ts
|
|
62
|
+
// src/pipes/interfaces/data-integration-auth-methods.interface.ts
|
|
74
63
|
const DataIntegrationAuthMethods = {
|
|
75
64
|
OAuth: "oauth",
|
|
76
65
|
ApiKey: "api_key",
|
|
77
66
|
ClientCredentials: "client_credentials"
|
|
78
67
|
};
|
|
79
|
-
|
|
80
|
-
//#region src/pipes/interfaces/data-integration-credential-type.interface.ts
|
|
68
|
+
// src/pipes/interfaces/data-integration-credential-type.interface.ts
|
|
81
69
|
const DataIntegrationCredentialType = {
|
|
82
70
|
Custom: "custom",
|
|
83
71
|
Organization: "organization"
|
|
84
72
|
};
|
|
85
|
-
|
|
86
|
-
//#region src/pipes/interfaces/data-integration-credentials-input-type.interface.ts
|
|
73
|
+
// src/pipes/interfaces/data-integration-credentials-input-type.interface.ts
|
|
87
74
|
const DataIntegrationCredentialsInputType = {
|
|
88
75
|
Custom: "custom",
|
|
89
76
|
Organization: "organization"
|
|
90
77
|
};
|
|
91
|
-
|
|
92
|
-
//#region src/pipes/interfaces/data-integration-credentials-response-error.interface.ts
|
|
78
|
+
// src/pipes/interfaces/data-integration-credentials-response-error.interface.ts
|
|
93
79
|
const DataIntegrationCredentialsResponseError = {
|
|
94
80
|
NotInstalled: "not_installed",
|
|
95
81
|
NeedsReauthorization: "needs_reauthorization"
|
|
96
82
|
};
|
|
97
|
-
|
|
98
|
-
//#region src/pipes/interfaces/data-integration-credentials-type.interface.ts
|
|
83
|
+
// src/pipes/interfaces/data-integration-credentials-type.interface.ts
|
|
99
84
|
const DataIntegrationCredentialsType = {
|
|
100
85
|
Custom: "custom",
|
|
101
86
|
Organization: "organization"
|
|
102
87
|
};
|
|
103
|
-
|
|
104
|
-
//#region src/pipes/interfaces/data-integration-custom-provider-authenticate-via.interface.ts
|
|
88
|
+
// src/pipes/interfaces/data-integration-custom-provider-authenticate-via.interface.ts
|
|
105
89
|
const DataIntegrationCustomProviderAuthenticateVia = {
|
|
106
90
|
RequestBody: "request_body",
|
|
107
91
|
BasicAuthHeader: "basic_auth_header"
|
|
108
92
|
};
|
|
109
|
-
|
|
110
|
-
//#region src/pipes/interfaces/data-integration-installation-connection-role.interface.ts
|
|
93
|
+
// src/pipes/interfaces/data-integration-installation-connection-role.interface.ts
|
|
111
94
|
const DataIntegrationInstallationConnectionRole = {
|
|
112
95
|
Compatibility: "compatibility",
|
|
113
96
|
Standard: "standard"
|
|
114
97
|
};
|
|
115
|
-
|
|
116
|
-
//#region src/pipes/interfaces/data-integration-ownership.interface.ts
|
|
98
|
+
// src/pipes/interfaces/data-integration-ownership.interface.ts
|
|
117
99
|
const DataIntegrationOwnership = {
|
|
118
100
|
User: "user",
|
|
119
101
|
Organization: "organization"
|
|
120
102
|
};
|
|
121
|
-
|
|
122
|
-
//#region src/pipes/interfaces/data-integration-state.interface.ts
|
|
103
|
+
// src/pipes/interfaces/data-integration-state.interface.ts
|
|
123
104
|
const DataIntegrationState = {
|
|
124
105
|
Valid: "valid",
|
|
125
106
|
Invalid: "invalid",
|
|
126
107
|
Requested: "requested"
|
|
127
108
|
};
|
|
128
|
-
|
|
129
|
-
//#region src/pipes/interfaces/data-integrations-create-api-key-connection-request-connection-owner.interface.ts
|
|
109
|
+
// src/pipes/interfaces/data-integrations-create-api-key-connection-request-connection-owner.interface.ts
|
|
130
110
|
const DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner = {
|
|
131
111
|
User: "user",
|
|
132
112
|
Organization: "organization"
|
|
133
113
|
};
|
|
134
|
-
|
|
135
|
-
//#region src/pipes/interfaces/data-integrations-create-client-credentials-connection-request-connection-owner.interface.ts
|
|
114
|
+
// src/pipes/interfaces/data-integrations-create-client-credentials-connection-request-connection-owner.interface.ts
|
|
136
115
|
const DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner = {
|
|
137
116
|
User: "user",
|
|
138
117
|
Organization: "organization"
|
|
139
118
|
};
|
|
140
|
-
|
|
141
|
-
//#region src/pipes/interfaces/data-integrations-get-data-integration-authorize-url-request-connection-intent.interface.ts
|
|
119
|
+
// src/pipes/interfaces/data-integrations-get-data-integration-authorize-url-request-connection-intent.interface.ts
|
|
142
120
|
const DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionIntent = {
|
|
143
121
|
Add: "add",
|
|
144
122
|
Reauthorize: "reauthorize"
|
|
145
123
|
};
|
|
146
|
-
|
|
147
|
-
//#region src/pipes/interfaces/data-integrations-get-data-integration-authorize-url-request-connection-owner.interface.ts
|
|
124
|
+
// src/pipes/interfaces/data-integrations-get-data-integration-authorize-url-request-connection-owner.interface.ts
|
|
148
125
|
const DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner = {
|
|
149
126
|
User: "user",
|
|
150
127
|
Organization: "organization"
|
|
151
128
|
};
|
|
152
|
-
|
|
153
|
-
//#region src/pipes/interfaces/data-integrations-get-user-token-request-connection-owner.interface.ts
|
|
129
|
+
// src/pipes/interfaces/data-integrations-get-user-token-request-connection-owner.interface.ts
|
|
154
130
|
const DataIntegrationsGetUserTokenRequestConnectionOwner = {
|
|
155
131
|
User: "user",
|
|
156
132
|
Organization: "organization"
|
|
157
133
|
};
|
|
158
|
-
|
|
159
|
-
//#region src/pipes/interfaces/data-integrations-list-response-data-auth-methods.interface.ts
|
|
134
|
+
// src/pipes/interfaces/data-integrations-list-response-data-auth-methods.interface.ts
|
|
160
135
|
const DataIntegrationsListResponseDataAuthMethods = {
|
|
161
136
|
OAuth: "oauth",
|
|
162
137
|
ApiKey: "api_key",
|
|
163
138
|
ClientCredentials: "client_credentials"
|
|
164
139
|
};
|
|
165
|
-
|
|
166
|
-
//#region src/pipes/interfaces/data-integrations-list-response-data-connected-account-auth-method.interface.ts
|
|
140
|
+
// src/pipes/interfaces/data-integrations-list-response-data-connected-account-auth-method.interface.ts
|
|
167
141
|
const DataIntegrationsListResponseDataConnectedAccountAuthMethod = {
|
|
168
142
|
OAuth: "oauth",
|
|
169
143
|
ApiKey: "api_key",
|
|
170
144
|
ClientCredentials: "client_credentials"
|
|
171
145
|
};
|
|
172
|
-
|
|
173
|
-
//#region src/pipes/interfaces/data-integrations-list-response-data-connected-account-connection-role.interface.ts
|
|
146
|
+
// src/pipes/interfaces/data-integrations-list-response-data-connected-account-connection-role.interface.ts
|
|
174
147
|
const DataIntegrationsListResponseDataConnectedAccountConnectionRole = {
|
|
175
148
|
Compatibility: "compatibility",
|
|
176
149
|
Standard: "standard"
|
|
177
150
|
};
|
|
178
|
-
|
|
179
|
-
//#region src/pipes/interfaces/data-integrations-list-response-data-connected-account-state.interface.ts
|
|
151
|
+
// src/pipes/interfaces/data-integrations-list-response-data-connected-account-state.interface.ts
|
|
180
152
|
const DataIntegrationsListResponseDataConnectedAccountState = {
|
|
181
153
|
Connected: "connected",
|
|
182
154
|
NeedsReauthorization: "needs_reauthorization",
|
|
183
155
|
Disconnected: "disconnected"
|
|
184
156
|
};
|
|
185
|
-
|
|
186
|
-
//#region src/pipes/interfaces/data-integrations-list-response-data-connection-owner.interface.ts
|
|
157
|
+
// src/pipes/interfaces/data-integrations-list-response-data-connection-owner.interface.ts
|
|
187
158
|
const DataIntegrationsListResponseDataConnectionOwner = {
|
|
188
159
|
User: "user",
|
|
189
160
|
Organization: "organization"
|
|
190
161
|
};
|
|
191
|
-
|
|
192
|
-
//#region src/pipes/interfaces/data-integrations-list-response-data-ownership.interface.ts
|
|
162
|
+
// src/pipes/interfaces/data-integrations-list-response-data-ownership.interface.ts
|
|
193
163
|
const DataIntegrationsListResponseDataOwnership = {
|
|
194
164
|
UserlandUser: "userland_user",
|
|
195
165
|
Organization: "organization"
|
|
196
166
|
};
|
|
197
|
-
|
|
198
|
-
//#region src/pipes/interfaces/data-integrations-upsert-api-key-request-connection-owner.interface.ts
|
|
167
|
+
// src/pipes/interfaces/data-integrations-upsert-api-key-request-connection-owner.interface.ts
|
|
199
168
|
const DataIntegrationsUpsertApiKeyRequestConnectionOwner = {
|
|
200
169
|
User: "user",
|
|
201
170
|
Organization: "organization"
|
|
202
171
|
};
|
|
203
|
-
|
|
204
|
-
//#region src/pipes/interfaces/data-integrations-upsert-client-credentials-request-connection-owner.interface.ts
|
|
172
|
+
// src/pipes/interfaces/data-integrations-upsert-client-credentials-request-connection-owner.interface.ts
|
|
205
173
|
const DataIntegrationsUpsertClientCredentialsRequestConnectionOwner = {
|
|
206
174
|
User: "user",
|
|
207
175
|
Organization: "organization"
|
|
208
176
|
};
|
|
209
|
-
|
|
210
|
-
//#region src/pipes/interfaces/data-integrations-vend-credentials-request-connection-owner.interface.ts
|
|
177
|
+
// src/pipes/interfaces/data-integrations-vend-credentials-request-connection-owner.interface.ts
|
|
211
178
|
const DataIntegrationsVendCredentialsRequestConnectionOwner = {
|
|
212
179
|
User: "user",
|
|
213
180
|
Organization: "organization"
|
|
214
181
|
};
|
|
215
|
-
|
|
216
|
-
//#region src/pipes/interfaces/organization-connected-account-state.interface.ts
|
|
182
|
+
// src/pipes/interfaces/organization-connected-account-state.interface.ts
|
|
217
183
|
const OrganizationConnectedAccountState = {
|
|
218
184
|
Connected: "connected",
|
|
219
185
|
NeedsReauthorization: "needs_reauthorization"
|
|
220
186
|
};
|
|
221
|
-
|
|
222
|
-
//#region src/pipes/interfaces/pipes-ownership.interface.ts
|
|
187
|
+
// src/pipes/interfaces/pipes-ownership.interface.ts
|
|
223
188
|
const PipesOwnership = {
|
|
224
189
|
User: "user",
|
|
225
190
|
Organization: "organization"
|
|
226
191
|
};
|
|
227
|
-
|
|
228
|
-
//#region src/pipes/interfaces/update-custom-provider-definition-authenticate-via.interface.ts
|
|
192
|
+
// src/pipes/interfaces/update-custom-provider-definition-authenticate-via.interface.ts
|
|
229
193
|
const UpdateCustomProviderDefinitionAuthenticateVia = {
|
|
230
194
|
RequestBody: "request_body",
|
|
231
195
|
BasicAuthHeader: "basic_auth_header"
|
|
232
196
|
};
|
|
233
|
-
|
|
234
|
-
//#region src/radar/interfaces/radar-list-action.interface.ts
|
|
197
|
+
// src/radar/interfaces/radar-list-action.interface.ts
|
|
235
198
|
const RadarListAction = {
|
|
236
199
|
Block: "block",
|
|
237
200
|
Allow: "allow"
|
|
238
201
|
};
|
|
239
|
-
|
|
240
|
-
//#region src/radar/interfaces/radar-list-type.interface.ts
|
|
202
|
+
// src/radar/interfaces/radar-list-type.interface.ts
|
|
241
203
|
const RadarListType = {
|
|
242
204
|
IpAddress: "ip_address",
|
|
243
205
|
Domain: "domain",
|
|
@@ -247,14 +209,12 @@ const RadarListType = {
|
|
|
247
209
|
DeviceFingerprint: "device_fingerprint",
|
|
248
210
|
Country: "country"
|
|
249
211
|
};
|
|
250
|
-
|
|
251
|
-
//#region src/radar/interfaces/radar-standalone-assess-request-action.interface.ts
|
|
212
|
+
// src/radar/interfaces/radar-standalone-assess-request-action.interface.ts
|
|
252
213
|
const RadarStandaloneAssessRequestAction = {
|
|
253
214
|
SignUp: "sign-up",
|
|
254
215
|
SignIn: "sign-in"
|
|
255
216
|
};
|
|
256
|
-
|
|
257
|
-
//#region src/radar/interfaces/radar-standalone-assess-request-auth-method.interface.ts
|
|
217
|
+
// src/radar/interfaces/radar-standalone-assess-request-auth-method.interface.ts
|
|
258
218
|
const RadarStandaloneAssessRequestAuthMethod = {
|
|
259
219
|
Password: "Password",
|
|
260
220
|
Passkey: "Passkey",
|
|
@@ -265,8 +225,7 @@ const RadarStandaloneAssessRequestAuthMethod = {
|
|
|
265
225
|
SSO: "SSO",
|
|
266
226
|
Other: "Other"
|
|
267
227
|
};
|
|
268
|
-
|
|
269
|
-
//#region src/radar/interfaces/radar-standalone-response-blocklist-type.interface.ts
|
|
228
|
+
// src/radar/interfaces/radar-standalone-response-blocklist-type.interface.ts
|
|
270
229
|
const RadarStandaloneResponseBlocklistType = {
|
|
271
230
|
IpAddress: "ip_address",
|
|
272
231
|
Domain: "domain",
|
|
@@ -276,8 +235,7 @@ const RadarStandaloneResponseBlocklistType = {
|
|
|
276
235
|
DeviceFingerprint: "device_fingerprint",
|
|
277
236
|
Country: "country"
|
|
278
237
|
};
|
|
279
|
-
|
|
280
|
-
//#region src/radar/interfaces/radar-standalone-response-control.interface.ts
|
|
238
|
+
// src/radar/interfaces/radar-standalone-response-control.interface.ts
|
|
281
239
|
const RadarStandaloneResponseControl = {
|
|
282
240
|
BotDetection: "bot_detection",
|
|
283
241
|
BruteForceAttack: "brute_force_attack",
|
|
@@ -288,21 +246,18 @@ const RadarStandaloneResponseControl = {
|
|
|
288
246
|
UnrecognizedDevice: "unrecognized_device",
|
|
289
247
|
Restriction: "restriction"
|
|
290
248
|
};
|
|
291
|
-
|
|
292
|
-
//#region src/radar/interfaces/radar-standalone-response-verdict.interface.ts
|
|
249
|
+
// src/radar/interfaces/radar-standalone-response-verdict.interface.ts
|
|
293
250
|
const RadarStandaloneResponseVerdict = {
|
|
294
251
|
Allow: "allow",
|
|
295
252
|
Block: "block",
|
|
296
253
|
Challenge: "challenge"
|
|
297
254
|
};
|
|
298
|
-
|
|
299
|
-
//#region src/vault/interfaces/vault-order.interface.ts
|
|
255
|
+
// src/vault/interfaces/vault-order.interface.ts
|
|
300
256
|
const VaultOrder = {
|
|
301
257
|
Asc: "asc",
|
|
302
258
|
Desc: "desc"
|
|
303
259
|
};
|
|
304
|
-
|
|
305
|
-
//#region src/webhooks/interfaces/create-webhook-endpoint-events.interface.ts
|
|
260
|
+
// src/webhooks/interfaces/create-webhook-endpoint-events.interface.ts
|
|
306
261
|
const CreateWebhookEndpointEvents = {
|
|
307
262
|
AgentBlueprintCreated: "agent.blueprint.created",
|
|
308
263
|
AgentBlueprintDeleted: "agent.blueprint.deleted",
|
|
@@ -410,8 +365,7 @@ const CreateWebhookEndpointEvents = {
|
|
|
410
365
|
WaitlistUserCreated: "waitlist_user.created",
|
|
411
366
|
WaitlistUserDenied: "waitlist_user.denied"
|
|
412
367
|
};
|
|
413
|
-
|
|
414
|
-
//#region src/webhooks/interfaces/update-webhook-endpoint-events.interface.ts
|
|
368
|
+
// src/webhooks/interfaces/update-webhook-endpoint-events.interface.ts
|
|
415
369
|
const UpdateWebhookEndpointEvents = {
|
|
416
370
|
AgentBlueprintCreated: "agent.blueprint.created",
|
|
417
371
|
AgentBlueprintDeleted: "agent.blueprint.deleted",
|
|
@@ -519,20 +473,17 @@ const UpdateWebhookEndpointEvents = {
|
|
|
519
473
|
WaitlistUserCreated: "waitlist_user.created",
|
|
520
474
|
WaitlistUserDenied: "waitlist_user.denied"
|
|
521
475
|
};
|
|
522
|
-
|
|
523
|
-
//#region src/webhooks/interfaces/update-webhook-endpoint-status.interface.ts
|
|
476
|
+
// src/webhooks/interfaces/update-webhook-endpoint-status.interface.ts
|
|
524
477
|
const UpdateWebhookEndpointStatus = {
|
|
525
478
|
Enabled: "enabled",
|
|
526
479
|
Disabled: "disabled"
|
|
527
480
|
};
|
|
528
|
-
|
|
529
|
-
//#region src/webhooks/interfaces/webhook-endpoint-status.interface.ts
|
|
481
|
+
// src/webhooks/interfaces/webhook-endpoint-status.interface.ts
|
|
530
482
|
const WebhookEndpointStatus = {
|
|
531
483
|
Enabled: "enabled",
|
|
532
484
|
Disabled: "disabled"
|
|
533
485
|
};
|
|
534
|
-
|
|
535
|
-
//#region src/widgets/interfaces/widget-session-token-scopes.interface.ts
|
|
486
|
+
// src/widgets/interfaces/widget-session-token-scopes.interface.ts
|
|
536
487
|
const WidgetSessionTokenScopes = {
|
|
537
488
|
WidgetsUsersTableManage: "widgets:users-table:manage",
|
|
538
489
|
WidgetsUserApiKeysManageSelf: "widgets:user-api-keys:manage-self",
|
|
@@ -544,8 +495,7 @@ const WidgetSessionTokenScopes = {
|
|
|
544
495
|
WidgetsAuditLogStreamingManage: "widgets:audit-log-streaming:manage",
|
|
545
496
|
WidgetsPipesManage: "widgets:pipes:manage"
|
|
546
497
|
};
|
|
547
|
-
|
|
548
|
-
//#region src/index.ts
|
|
498
|
+
// src/index.ts
|
|
549
499
|
var WorkOSNode = class extends require_factory.WorkOS {
|
|
550
500
|
/** @override */
|
|
551
501
|
createHttpClient(options, userAgent) {
|
|
@@ -582,7 +532,6 @@ var WorkOSNode = class extends require_factory.WorkOS {
|
|
|
582
532
|
return process.emitWarning(warning, "WorkOS");
|
|
583
533
|
}
|
|
584
534
|
};
|
|
585
|
-
//#endregion
|
|
586
535
|
exports.ApiKeyRequiredException = require_factory.ApiKeyRequiredException;
|
|
587
536
|
exports.AuthenticateWithSessionCookieFailureReason = require_factory.AuthenticateWithSessionCookieFailureReason;
|
|
588
537
|
exports.AuthenticationException = require_factory.AuthenticationException;
|
package/lib/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","names":["WorkOS","FetchHttpClient","Webhooks","SubtleCryptoProvider","Actions"],"sources":["../src/groups/interfaces/user-organization-membership-base-list-data-status.interface.ts","../src/pipes/interfaces/connected-account-auth-method.interface.ts","../src/pipes/interfaces/connected-account-connection-role.interface.ts","../src/pipes/interfaces/connected-account-input-state.interface.ts","../src/pipes/interfaces/connected-account-state.interface.ts","../src/pipes/interfaces/create-connected-account-state.interface.ts","../src/pipes/interfaces/create-data-integration-auth-methods.interface.ts","../src/pipes/interfaces/create-data-integration-ownership.interface.ts","../src/pipes/interfaces/create-organization-connected-account-state.interface.ts","../src/pipes/interfaces/custom-provider-definition-authenticate-via.interface.ts","../src/pipes/interfaces/data-integration-access-token-response-error.interface.ts","../src/pipes/interfaces/data-integration-auth-methods.interface.ts","../src/pipes/interfaces/data-integration-credential-type.interface.ts","../src/pipes/interfaces/data-integration-credentials-input-type.interface.ts","../src/pipes/interfaces/data-integration-credentials-response-error.interface.ts","../src/pipes/interfaces/data-integration-credentials-type.interface.ts","../src/pipes/interfaces/data-integration-custom-provider-authenticate-via.interface.ts","../src/pipes/interfaces/data-integration-installation-connection-role.interface.ts","../src/pipes/interfaces/data-integration-ownership.interface.ts","../src/pipes/interfaces/data-integration-state.interface.ts","../src/pipes/interfaces/data-integrations-create-api-key-connection-request-connection-owner.interface.ts","../src/pipes/interfaces/data-integrations-create-client-credentials-connection-request-connection-owner.interface.ts","../src/pipes/interfaces/data-integrations-get-data-integration-authorize-url-request-connection-intent.interface.ts","../src/pipes/interfaces/data-integrations-get-data-integration-authorize-url-request-connection-owner.interface.ts","../src/pipes/interfaces/data-integrations-get-user-token-request-connection-owner.interface.ts","../src/pipes/interfaces/data-integrations-list-response-data-auth-methods.interface.ts","../src/pipes/interfaces/data-integrations-list-response-data-connected-account-auth-method.interface.ts","../src/pipes/interfaces/data-integrations-list-response-data-connected-account-connection-role.interface.ts","../src/pipes/interfaces/data-integrations-list-response-data-connected-account-state.interface.ts","../src/pipes/interfaces/data-integrations-list-response-data-connection-owner.interface.ts","../src/pipes/interfaces/data-integrations-list-response-data-ownership.interface.ts","../src/pipes/interfaces/data-integrations-upsert-api-key-request-connection-owner.interface.ts","../src/pipes/interfaces/data-integrations-upsert-client-credentials-request-connection-owner.interface.ts","../src/pipes/interfaces/data-integrations-vend-credentials-request-connection-owner.interface.ts","../src/pipes/interfaces/organization-connected-account-state.interface.ts","../src/pipes/interfaces/pipes-ownership.interface.ts","../src/pipes/interfaces/update-custom-provider-definition-authenticate-via.interface.ts","../src/radar/interfaces/radar-list-action.interface.ts","../src/radar/interfaces/radar-list-type.interface.ts","../src/radar/interfaces/radar-standalone-assess-request-action.interface.ts","../src/radar/interfaces/radar-standalone-assess-request-auth-method.interface.ts","../src/radar/interfaces/radar-standalone-response-blocklist-type.interface.ts","../src/radar/interfaces/radar-standalone-response-control.interface.ts","../src/radar/interfaces/radar-standalone-response-verdict.interface.ts","../src/vault/interfaces/vault-order.interface.ts","../src/webhooks/interfaces/create-webhook-endpoint-events.interface.ts","../src/webhooks/interfaces/update-webhook-endpoint-events.interface.ts","../src/webhooks/interfaces/update-webhook-endpoint-status.interface.ts","../src/webhooks/interfaces/webhook-endpoint-status.interface.ts","../src/widgets/interfaces/widget-session-token-scopes.interface.ts","../src/index.ts"],"sourcesContent":["// This file is auto-generated by oagen. Do not edit.\n\nexport const UserOrganizationMembershipBaseListDataStatus = {\n Active: 'active',\n Inactive: 'inactive',\n Pending: 'pending',\n} as const;\n\nexport type UserOrganizationMembershipBaseListDataStatus =\n (typeof UserOrganizationMembershipBaseListDataStatus)[keyof typeof UserOrganizationMembershipBaseListDataStatus];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const ConnectedAccountAuthMethod = {\n OAuth: 'oauth',\n ApiKey: 'api_key',\n ClientCredentials: 'client_credentials',\n} as const;\n\nexport type ConnectedAccountAuthMethod =\n (typeof ConnectedAccountAuthMethod)[keyof typeof ConnectedAccountAuthMethod];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const ConnectedAccountConnectionRole = {\n Compatibility: 'compatibility',\n Standard: 'standard',\n} as const;\n\nexport type ConnectedAccountConnectionRole =\n (typeof ConnectedAccountConnectionRole)[keyof typeof ConnectedAccountConnectionRole];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const ConnectedAccountInputState = {\n Connected: 'connected',\n NeedsReauthorization: 'needs_reauthorization',\n} as const;\n\nexport type ConnectedAccountInputState =\n (typeof ConnectedAccountInputState)[keyof typeof ConnectedAccountInputState];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const ConnectedAccountState = {\n Connected: 'connected',\n NeedsReauthorization: 'needs_reauthorization',\n Disconnected: 'disconnected',\n} as const;\n\nexport type ConnectedAccountState =\n (typeof ConnectedAccountState)[keyof typeof ConnectedAccountState];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const CreateConnectedAccountState = {\n Connected: 'connected',\n NeedsReauthorization: 'needs_reauthorization',\n} as const;\n\nexport type CreateConnectedAccountState =\n (typeof CreateConnectedAccountState)[keyof typeof CreateConnectedAccountState];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const CreateDataIntegrationAuthMethods = {\n OAuth: 'oauth',\n ApiKey: 'api_key',\n ClientCredentials: 'client_credentials',\n} as const;\n\nexport type CreateDataIntegrationAuthMethods =\n (typeof CreateDataIntegrationAuthMethods)[keyof typeof CreateDataIntegrationAuthMethods];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const CreateDataIntegrationOwnership = {\n User: 'user',\n Organization: 'organization',\n} as const;\n\nexport type CreateDataIntegrationOwnership =\n (typeof CreateDataIntegrationOwnership)[keyof typeof CreateDataIntegrationOwnership];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const CreateOrganizationConnectedAccountState = {\n Connected: 'connected',\n NeedsReauthorization: 'needs_reauthorization',\n} as const;\n\nexport type CreateOrganizationConnectedAccountState =\n (typeof CreateOrganizationConnectedAccountState)[keyof typeof CreateOrganizationConnectedAccountState];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const CustomProviderDefinitionAuthenticateVia = {\n RequestBody: 'request_body',\n BasicAuthHeader: 'basic_auth_header',\n} as const;\n\nexport type CustomProviderDefinitionAuthenticateVia =\n (typeof CustomProviderDefinitionAuthenticateVia)[keyof typeof CustomProviderDefinitionAuthenticateVia];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationAccessTokenResponseError = {\n NotInstalled: 'not_installed',\n NeedsReauthorization: 'needs_reauthorization',\n} as const;\n\nexport type DataIntegrationAccessTokenResponseError =\n (typeof DataIntegrationAccessTokenResponseError)[keyof typeof DataIntegrationAccessTokenResponseError];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationAuthMethods = {\n OAuth: 'oauth',\n ApiKey: 'api_key',\n ClientCredentials: 'client_credentials',\n} as const;\n\nexport type DataIntegrationAuthMethods =\n (typeof DataIntegrationAuthMethods)[keyof typeof DataIntegrationAuthMethods];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationCredentialType = {\n Custom: 'custom',\n Organization: 'organization',\n} as const;\n\nexport type DataIntegrationCredentialType =\n (typeof DataIntegrationCredentialType)[keyof typeof DataIntegrationCredentialType];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationCredentialsInputType = {\n Custom: 'custom',\n Organization: 'organization',\n} as const;\n\nexport type DataIntegrationCredentialsInputType =\n (typeof DataIntegrationCredentialsInputType)[keyof typeof DataIntegrationCredentialsInputType];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationCredentialsResponseError = {\n NotInstalled: 'not_installed',\n NeedsReauthorization: 'needs_reauthorization',\n} as const;\n\nexport type DataIntegrationCredentialsResponseError =\n (typeof DataIntegrationCredentialsResponseError)[keyof typeof DataIntegrationCredentialsResponseError];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationCredentialsType = {\n Custom: 'custom',\n Organization: 'organization',\n} as const;\n\nexport type DataIntegrationCredentialsType =\n (typeof DataIntegrationCredentialsType)[keyof typeof DataIntegrationCredentialsType];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationCustomProviderAuthenticateVia = {\n RequestBody: 'request_body',\n BasicAuthHeader: 'basic_auth_header',\n} as const;\n\nexport type DataIntegrationCustomProviderAuthenticateVia =\n (typeof DataIntegrationCustomProviderAuthenticateVia)[keyof typeof DataIntegrationCustomProviderAuthenticateVia];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationInstallationConnectionRole = {\n Compatibility: 'compatibility',\n Standard: 'standard',\n} as const;\n\nexport type DataIntegrationInstallationConnectionRole =\n (typeof DataIntegrationInstallationConnectionRole)[keyof typeof DataIntegrationInstallationConnectionRole];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationOwnership = {\n User: 'user',\n Organization: 'organization',\n} as const;\n\nexport type DataIntegrationOwnership =\n (typeof DataIntegrationOwnership)[keyof typeof DataIntegrationOwnership];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationState = {\n Valid: 'valid',\n Invalid: 'invalid',\n Requested: 'requested',\n} as const;\n\nexport type DataIntegrationState =\n (typeof DataIntegrationState)[keyof typeof DataIntegrationState];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner = {\n User: 'user',\n Organization: 'organization',\n} as const;\n\nexport type DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner =\n (typeof DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner)[keyof typeof DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner =\n {\n User: 'user',\n Organization: 'organization',\n } as const;\n\nexport type DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner =\n (typeof DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner)[keyof typeof DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionIntent =\n {\n Add: 'add',\n Reauthorize: 'reauthorize',\n } as const;\n\nexport type DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionIntent =\n (typeof DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionIntent)[keyof typeof DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionIntent];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner =\n {\n User: 'user',\n Organization: 'organization',\n } as const;\n\nexport type DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner =\n (typeof DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner)[keyof typeof DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsGetUserTokenRequestConnectionOwner = {\n User: 'user',\n Organization: 'organization',\n} as const;\n\nexport type DataIntegrationsGetUserTokenRequestConnectionOwner =\n (typeof DataIntegrationsGetUserTokenRequestConnectionOwner)[keyof typeof DataIntegrationsGetUserTokenRequestConnectionOwner];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsListResponseDataAuthMethods = {\n OAuth: 'oauth',\n ApiKey: 'api_key',\n ClientCredentials: 'client_credentials',\n} as const;\n\nexport type DataIntegrationsListResponseDataAuthMethods =\n (typeof DataIntegrationsListResponseDataAuthMethods)[keyof typeof DataIntegrationsListResponseDataAuthMethods];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsListResponseDataConnectedAccountAuthMethod = {\n OAuth: 'oauth',\n ApiKey: 'api_key',\n ClientCredentials: 'client_credentials',\n} as const;\n\nexport type DataIntegrationsListResponseDataConnectedAccountAuthMethod =\n (typeof DataIntegrationsListResponseDataConnectedAccountAuthMethod)[keyof typeof DataIntegrationsListResponseDataConnectedAccountAuthMethod];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsListResponseDataConnectedAccountConnectionRole = {\n Compatibility: 'compatibility',\n Standard: 'standard',\n} as const;\n\nexport type DataIntegrationsListResponseDataConnectedAccountConnectionRole =\n (typeof DataIntegrationsListResponseDataConnectedAccountConnectionRole)[keyof typeof DataIntegrationsListResponseDataConnectedAccountConnectionRole];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsListResponseDataConnectedAccountState = {\n Connected: 'connected',\n NeedsReauthorization: 'needs_reauthorization',\n Disconnected: 'disconnected',\n} as const;\n\nexport type DataIntegrationsListResponseDataConnectedAccountState =\n (typeof DataIntegrationsListResponseDataConnectedAccountState)[keyof typeof DataIntegrationsListResponseDataConnectedAccountState];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsListResponseDataConnectionOwner = {\n User: 'user',\n Organization: 'organization',\n} as const;\n\nexport type DataIntegrationsListResponseDataConnectionOwner =\n (typeof DataIntegrationsListResponseDataConnectionOwner)[keyof typeof DataIntegrationsListResponseDataConnectionOwner];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsListResponseDataOwnership = {\n UserlandUser: 'userland_user',\n Organization: 'organization',\n} as const;\n\nexport type DataIntegrationsListResponseDataOwnership =\n (typeof DataIntegrationsListResponseDataOwnership)[keyof typeof DataIntegrationsListResponseDataOwnership];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsUpsertApiKeyRequestConnectionOwner = {\n User: 'user',\n Organization: 'organization',\n} as const;\n\nexport type DataIntegrationsUpsertApiKeyRequestConnectionOwner =\n (typeof DataIntegrationsUpsertApiKeyRequestConnectionOwner)[keyof typeof DataIntegrationsUpsertApiKeyRequestConnectionOwner];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsUpsertClientCredentialsRequestConnectionOwner = {\n User: 'user',\n Organization: 'organization',\n} as const;\n\nexport type DataIntegrationsUpsertClientCredentialsRequestConnectionOwner =\n (typeof DataIntegrationsUpsertClientCredentialsRequestConnectionOwner)[keyof typeof DataIntegrationsUpsertClientCredentialsRequestConnectionOwner];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsVendCredentialsRequestConnectionOwner = {\n User: 'user',\n Organization: 'organization',\n} as const;\n\nexport type DataIntegrationsVendCredentialsRequestConnectionOwner =\n (typeof DataIntegrationsVendCredentialsRequestConnectionOwner)[keyof typeof DataIntegrationsVendCredentialsRequestConnectionOwner];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const OrganizationConnectedAccountState = {\n Connected: 'connected',\n NeedsReauthorization: 'needs_reauthorization',\n} as const;\n\nexport type OrganizationConnectedAccountState =\n (typeof OrganizationConnectedAccountState)[keyof typeof OrganizationConnectedAccountState];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const PipesOwnership = {\n User: 'user',\n Organization: 'organization',\n} as const;\n\nexport type PipesOwnership =\n (typeof PipesOwnership)[keyof typeof PipesOwnership];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const UpdateCustomProviderDefinitionAuthenticateVia = {\n RequestBody: 'request_body',\n BasicAuthHeader: 'basic_auth_header',\n} as const;\n\nexport type UpdateCustomProviderDefinitionAuthenticateVia =\n (typeof UpdateCustomProviderDefinitionAuthenticateVia)[keyof typeof UpdateCustomProviderDefinitionAuthenticateVia];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const RadarListAction = {\n Block: 'block',\n Allow: 'allow',\n} as const;\n\nexport type RadarListAction =\n (typeof RadarListAction)[keyof typeof RadarListAction];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const RadarListType = {\n IpAddress: 'ip_address',\n Domain: 'domain',\n Email: 'email',\n Device: 'device',\n UserAgent: 'user_agent',\n DeviceFingerprint: 'device_fingerprint',\n Country: 'country',\n} as const;\n\nexport type RadarListType = (typeof RadarListType)[keyof typeof RadarListType];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const RadarStandaloneAssessRequestAction = {\n SignUp: 'sign-up',\n SignIn: 'sign-in',\n} as const;\n\nexport type RadarStandaloneAssessRequestAction =\n (typeof RadarStandaloneAssessRequestAction)[keyof typeof RadarStandaloneAssessRequestAction];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const RadarStandaloneAssessRequestAuthMethod = {\n Password: 'Password',\n Passkey: 'Passkey',\n Authenticator: 'Authenticator',\n SmsOtp: 'SMS_OTP',\n EmailOtp: 'Email_OTP',\n Social: 'Social',\n SSO: 'SSO',\n Other: 'Other',\n} as const;\n\nexport type RadarStandaloneAssessRequestAuthMethod =\n (typeof RadarStandaloneAssessRequestAuthMethod)[keyof typeof RadarStandaloneAssessRequestAuthMethod];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const RadarStandaloneResponseBlocklistType = {\n IpAddress: 'ip_address',\n Domain: 'domain',\n Email: 'email',\n Device: 'device',\n UserAgent: 'user_agent',\n DeviceFingerprint: 'device_fingerprint',\n Country: 'country',\n} as const;\n\nexport type RadarStandaloneResponseBlocklistType =\n (typeof RadarStandaloneResponseBlocklistType)[keyof typeof RadarStandaloneResponseBlocklistType];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const RadarStandaloneResponseControl = {\n BotDetection: 'bot_detection',\n BruteForceAttack: 'brute_force_attack',\n DomainSignUpRateLimit: 'domain_sign_up_rate_limit',\n ImpossibleTravel: 'impossible_travel',\n RepeatSignUp: 'repeat_sign_up',\n StaleAccount: 'stale_account',\n UnrecognizedDevice: 'unrecognized_device',\n Restriction: 'restriction',\n} as const;\n\nexport type RadarStandaloneResponseControl =\n (typeof RadarStandaloneResponseControl)[keyof typeof RadarStandaloneResponseControl];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const RadarStandaloneResponseVerdict = {\n Allow: 'allow',\n Block: 'block',\n Challenge: 'challenge',\n} as const;\n\nexport type RadarStandaloneResponseVerdict =\n (typeof RadarStandaloneResponseVerdict)[keyof typeof RadarStandaloneResponseVerdict];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const VaultOrder = {\n Asc: 'asc',\n Desc: 'desc',\n} as const;\n\nexport type VaultOrder = (typeof VaultOrder)[keyof typeof VaultOrder];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const CreateWebhookEndpointEvents = {\n AgentBlueprintCreated: 'agent.blueprint.created',\n AgentBlueprintDeleted: 'agent.blueprint.deleted',\n AgentBlueprintUpdated: 'agent.blueprint.updated',\n AgentInstanceCreated: 'agent.instance.created',\n AgentInstanceDeleted: 'agent.instance.deleted',\n AgentInstanceSessionCreated: 'agent.instance.session.created',\n AgentInstanceSessionRevoked: 'agent.instance.session.revoked',\n AgentRegistrationCreated: 'agent.registration.created',\n AgentRegistrationClaimAttemptCreated:\n 'agent.registration.claim.attempt.created',\n AgentRegistrationClaimCompleted: 'agent.registration.claim.completed',\n AgentRegistrationCredentialIssued: 'agent.registration.credential.issued',\n AgentRegistrationDeleted: 'agent.registration.deleted',\n AgentRegistrationRefreshed: 'agent.registration.refreshed',\n AgentRegistrationExpired: 'agent.registration.expired',\n AgentRegistrationOrganizationSwitched:\n 'agent.registration.organization.switched',\n AgentRegistrationRevoked: 'agent.registration.revoked',\n AuthenticationEmailVerificationSucceeded:\n 'authentication.email_verification_succeeded',\n AuthenticationMagicAuthFailed: 'authentication.magic_auth_failed',\n AuthenticationMagicAuthSucceeded: 'authentication.magic_auth_succeeded',\n AuthenticationMfaSucceeded: 'authentication.mfa_succeeded',\n AuthenticationOAuthFailed: 'authentication.oauth_failed',\n AuthenticationOAuthSucceeded: 'authentication.oauth_succeeded',\n AuthenticationPasswordFailed: 'authentication.password_failed',\n AuthenticationPasswordSucceeded: 'authentication.password_succeeded',\n AuthenticationPasskeyFailed: 'authentication.passkey_failed',\n AuthenticationPasskeySucceeded: 'authentication.passkey_succeeded',\n AuthenticationReauthenticationSucceeded:\n 'authentication.reauthentication_succeeded',\n AuthenticationSSOFailed: 'authentication.sso_failed',\n AuthenticationSSOStarted: 'authentication.sso_started',\n AuthenticationSSOSucceeded: 'authentication.sso_succeeded',\n AuthenticationSSOTimedOut: 'authentication.sso_timed_out',\n AuthenticationRadarRiskDetected: 'authentication.radar_risk_detected',\n ApiKeyCreated: 'api_key.created',\n ApiKeyRevoked: 'api_key.revoked',\n ApiKeyUpdated: 'api_key.updated',\n ConnectionActivated: 'connection.activated',\n ConnectionDeactivated: 'connection.deactivated',\n ConnectionSAMLCertificateRenewalRequired:\n 'connection.saml_certificate_renewal_required',\n ConnectionSAMLCertificateRenewed: 'connection.saml_certificate_renewed',\n ConnectionDeleted: 'connection.deleted',\n DsyncActivated: 'dsync.activated',\n DsyncDeleted: 'dsync.deleted',\n DsyncGroupCreated: 'dsync.group.created',\n DsyncGroupDeleted: 'dsync.group.deleted',\n DsyncGroupUpdated: 'dsync.group.updated',\n DsyncGroupUserAdded: 'dsync.group.user_added',\n DsyncGroupUserRemoved: 'dsync.group.user_removed',\n DsyncUserCreated: 'dsync.user.created',\n DsyncUserDeleted: 'dsync.user.deleted',\n DsyncUserUpdated: 'dsync.user.updated',\n EmailVerificationCreated: 'email_verification.created',\n GroupCreated: 'group.created',\n GroupDeleted: 'group.deleted',\n GroupMemberAdded: 'group.member_added',\n GroupMemberRemoved: 'group.member_removed',\n GroupUpdated: 'group.updated',\n FlagCreated: 'flag.created',\n FlagDeleted: 'flag.deleted',\n FlagUpdated: 'flag.updated',\n FlagRuleUpdated: 'flag.rule_updated',\n InvitationAccepted: 'invitation.accepted',\n InvitationCreated: 'invitation.created',\n InvitationResent: 'invitation.resent',\n InvitationRevoked: 'invitation.revoked',\n MagicAuthCreated: 'magic_auth.created',\n OrganizationCreated: 'organization.created',\n OrganizationDeleted: 'organization.deleted',\n OrganizationUpdated: 'organization.updated',\n OrganizationDomainCreated: 'organization_domain.created',\n OrganizationDomainDeleted: 'organization_domain.deleted',\n OrganizationDomainUpdated: 'organization_domain.updated',\n OrganizationDomainVerified: 'organization_domain.verified',\n OrganizationDomainVerificationFailed:\n 'organization_domain.verification_failed',\n PasswordResetCreated: 'password_reset.created',\n PasswordResetSucceeded: 'password_reset.succeeded',\n UserCreated: 'user.created',\n UserUpdated: 'user.updated',\n UserDeleted: 'user.deleted',\n OrganizationMembershipCreated: 'organization_membership.created',\n OrganizationMembershipDeleted: 'organization_membership.deleted',\n OrganizationMembershipUpdated: 'organization_membership.updated',\n RoleCreated: 'role.created',\n RoleDeleted: 'role.deleted',\n RoleUpdated: 'role.updated',\n OrganizationRoleCreated: 'organization_role.created',\n OrganizationRoleDeleted: 'organization_role.deleted',\n OrganizationRoleUpdated: 'organization_role.updated',\n PermissionCreated: 'permission.created',\n PermissionDeleted: 'permission.deleted',\n PermissionUpdated: 'permission.updated',\n PipesAccountConnectionAddFailed: 'pipes.account_connection.add_failed',\n PipesAccountConnectionConnected: 'pipes.account_connection.connected',\n PipesAccountConnectionConnectionFailed:\n 'pipes.account_connection.connection_failed',\n PipesAccountConnectionDisconnected: 'pipes.account_connection.disconnected',\n PipesAccountConnectionReauthorizationNeeded:\n 'pipes.account_connection.reauthorization_needed',\n PipesConnectedAccountConnected: 'pipes.connected_account.connected',\n PipesConnectedAccountConnectionFailed:\n 'pipes.connected_account.connection_failed',\n PipesConnectedAccountDisconnected: 'pipes.connected_account.disconnected',\n PipesConnectedAccountReauthorizationNeeded:\n 'pipes.connected_account.reauthorization_needed',\n RadarChallengeCreated: 'radar.challenge_created',\n SessionCreated: 'session.created',\n SessionRevoked: 'session.revoked',\n WaitlistUserApproved: 'waitlist_user.approved',\n WaitlistUserCreated: 'waitlist_user.created',\n WaitlistUserDenied: 'waitlist_user.denied',\n} as const;\n\nexport type CreateWebhookEndpointEvents =\n (typeof CreateWebhookEndpointEvents)[keyof typeof CreateWebhookEndpointEvents];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const UpdateWebhookEndpointEvents = {\n AgentBlueprintCreated: 'agent.blueprint.created',\n AgentBlueprintDeleted: 'agent.blueprint.deleted',\n AgentBlueprintUpdated: 'agent.blueprint.updated',\n AgentInstanceCreated: 'agent.instance.created',\n AgentInstanceDeleted: 'agent.instance.deleted',\n AgentInstanceSessionCreated: 'agent.instance.session.created',\n AgentInstanceSessionRevoked: 'agent.instance.session.revoked',\n AgentRegistrationCreated: 'agent.registration.created',\n AgentRegistrationClaimAttemptCreated:\n 'agent.registration.claim.attempt.created',\n AgentRegistrationClaimCompleted: 'agent.registration.claim.completed',\n AgentRegistrationCredentialIssued: 'agent.registration.credential.issued',\n AgentRegistrationDeleted: 'agent.registration.deleted',\n AgentRegistrationRefreshed: 'agent.registration.refreshed',\n AgentRegistrationExpired: 'agent.registration.expired',\n AgentRegistrationOrganizationSwitched:\n 'agent.registration.organization.switched',\n AgentRegistrationRevoked: 'agent.registration.revoked',\n AuthenticationEmailVerificationSucceeded:\n 'authentication.email_verification_succeeded',\n AuthenticationMagicAuthFailed: 'authentication.magic_auth_failed',\n AuthenticationMagicAuthSucceeded: 'authentication.magic_auth_succeeded',\n AuthenticationMfaSucceeded: 'authentication.mfa_succeeded',\n AuthenticationOAuthFailed: 'authentication.oauth_failed',\n AuthenticationOAuthSucceeded: 'authentication.oauth_succeeded',\n AuthenticationPasswordFailed: 'authentication.password_failed',\n AuthenticationPasswordSucceeded: 'authentication.password_succeeded',\n AuthenticationPasskeyFailed: 'authentication.passkey_failed',\n AuthenticationPasskeySucceeded: 'authentication.passkey_succeeded',\n AuthenticationReauthenticationSucceeded:\n 'authentication.reauthentication_succeeded',\n AuthenticationSSOFailed: 'authentication.sso_failed',\n AuthenticationSSOStarted: 'authentication.sso_started',\n AuthenticationSSOSucceeded: 'authentication.sso_succeeded',\n AuthenticationSSOTimedOut: 'authentication.sso_timed_out',\n AuthenticationRadarRiskDetected: 'authentication.radar_risk_detected',\n ApiKeyCreated: 'api_key.created',\n ApiKeyRevoked: 'api_key.revoked',\n ApiKeyUpdated: 'api_key.updated',\n ConnectionActivated: 'connection.activated',\n ConnectionDeactivated: 'connection.deactivated',\n ConnectionSAMLCertificateRenewalRequired:\n 'connection.saml_certificate_renewal_required',\n ConnectionSAMLCertificateRenewed: 'connection.saml_certificate_renewed',\n ConnectionDeleted: 'connection.deleted',\n DsyncActivated: 'dsync.activated',\n DsyncDeleted: 'dsync.deleted',\n DsyncGroupCreated: 'dsync.group.created',\n DsyncGroupDeleted: 'dsync.group.deleted',\n DsyncGroupUpdated: 'dsync.group.updated',\n DsyncGroupUserAdded: 'dsync.group.user_added',\n DsyncGroupUserRemoved: 'dsync.group.user_removed',\n DsyncUserCreated: 'dsync.user.created',\n DsyncUserDeleted: 'dsync.user.deleted',\n DsyncUserUpdated: 'dsync.user.updated',\n EmailVerificationCreated: 'email_verification.created',\n GroupCreated: 'group.created',\n GroupDeleted: 'group.deleted',\n GroupMemberAdded: 'group.member_added',\n GroupMemberRemoved: 'group.member_removed',\n GroupUpdated: 'group.updated',\n FlagCreated: 'flag.created',\n FlagDeleted: 'flag.deleted',\n FlagUpdated: 'flag.updated',\n FlagRuleUpdated: 'flag.rule_updated',\n InvitationAccepted: 'invitation.accepted',\n InvitationCreated: 'invitation.created',\n InvitationResent: 'invitation.resent',\n InvitationRevoked: 'invitation.revoked',\n MagicAuthCreated: 'magic_auth.created',\n OrganizationCreated: 'organization.created',\n OrganizationDeleted: 'organization.deleted',\n OrganizationUpdated: 'organization.updated',\n OrganizationDomainCreated: 'organization_domain.created',\n OrganizationDomainDeleted: 'organization_domain.deleted',\n OrganizationDomainUpdated: 'organization_domain.updated',\n OrganizationDomainVerified: 'organization_domain.verified',\n OrganizationDomainVerificationFailed:\n 'organization_domain.verification_failed',\n PasswordResetCreated: 'password_reset.created',\n PasswordResetSucceeded: 'password_reset.succeeded',\n UserCreated: 'user.created',\n UserUpdated: 'user.updated',\n UserDeleted: 'user.deleted',\n OrganizationMembershipCreated: 'organization_membership.created',\n OrganizationMembershipDeleted: 'organization_membership.deleted',\n OrganizationMembershipUpdated: 'organization_membership.updated',\n RoleCreated: 'role.created',\n RoleDeleted: 'role.deleted',\n RoleUpdated: 'role.updated',\n OrganizationRoleCreated: 'organization_role.created',\n OrganizationRoleDeleted: 'organization_role.deleted',\n OrganizationRoleUpdated: 'organization_role.updated',\n PermissionCreated: 'permission.created',\n PermissionDeleted: 'permission.deleted',\n PermissionUpdated: 'permission.updated',\n PipesAccountConnectionAddFailed: 'pipes.account_connection.add_failed',\n PipesAccountConnectionConnected: 'pipes.account_connection.connected',\n PipesAccountConnectionConnectionFailed:\n 'pipes.account_connection.connection_failed',\n PipesAccountConnectionDisconnected: 'pipes.account_connection.disconnected',\n PipesAccountConnectionReauthorizationNeeded:\n 'pipes.account_connection.reauthorization_needed',\n PipesConnectedAccountConnected: 'pipes.connected_account.connected',\n PipesConnectedAccountConnectionFailed:\n 'pipes.connected_account.connection_failed',\n PipesConnectedAccountDisconnected: 'pipes.connected_account.disconnected',\n PipesConnectedAccountReauthorizationNeeded:\n 'pipes.connected_account.reauthorization_needed',\n RadarChallengeCreated: 'radar.challenge_created',\n SessionCreated: 'session.created',\n SessionRevoked: 'session.revoked',\n WaitlistUserApproved: 'waitlist_user.approved',\n WaitlistUserCreated: 'waitlist_user.created',\n WaitlistUserDenied: 'waitlist_user.denied',\n} as const;\n\nexport type UpdateWebhookEndpointEvents =\n (typeof UpdateWebhookEndpointEvents)[keyof typeof UpdateWebhookEndpointEvents];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const UpdateWebhookEndpointStatus = {\n Enabled: 'enabled',\n Disabled: 'disabled',\n} as const;\n\nexport type UpdateWebhookEndpointStatus =\n (typeof UpdateWebhookEndpointStatus)[keyof typeof UpdateWebhookEndpointStatus];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const WebhookEndpointStatus = {\n Enabled: 'enabled',\n Disabled: 'disabled',\n} as const;\n\nexport type WebhookEndpointStatus =\n (typeof WebhookEndpointStatus)[keyof typeof WebhookEndpointStatus];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const WidgetSessionTokenScopes = {\n WidgetsUsersTableManage: 'widgets:users-table:manage',\n WidgetsUserApiKeysManageSelf: 'widgets:user-api-keys:manage-self',\n WidgetsUserApiKeysManageAll: 'widgets:user-api-keys:manage-all',\n WidgetsDomainVerificationManage: 'widgets:domain-verification:manage',\n WidgetsSSOManage: 'widgets:sso:manage',\n WidgetsApiKeysManage: 'widgets:api-keys:manage',\n WidgetsDsyncManage: 'widgets:dsync:manage',\n WidgetsAuditLogStreamingManage: 'widgets:audit-log-streaming:manage',\n WidgetsPipesManage: 'widgets:pipes:manage',\n} as const;\n\nexport type WidgetSessionTokenScopes =\n (typeof WidgetSessionTokenScopes)[keyof typeof WidgetSessionTokenScopes];\n","// @oagen-ignore-file\nimport { SubtleCryptoProvider } from './common/crypto/subtle-crypto-provider';\nimport { CryptoProvider } from './common/crypto/crypto-provider';\n\nimport { HttpClient } from './common/net/http-client';\nimport { FetchHttpClient } from './common/net/fetch-client';\n\nimport { Actions } from './actions/actions';\nimport { Webhooks } from './webhooks/webhooks';\nimport { WorkOS } from './workos';\nimport { WorkOSOptions } from './common/interfaces';\n\nexport * from './actions/interfaces';\nexport * from './agents/interfaces';\nexport * from './api-keys/interfaces';\nexport * from './audit-logs/interfaces';\nexport * from './authorization/interfaces';\nexport * from './connect/interfaces';\nexport * from './common/exceptions';\nexport * from './common/interfaces';\nexport * from './common/utils/pagination';\nexport * from './directory-sync/interfaces';\nexport * from './events/interfaces';\nexport * from './feature-flags/interfaces';\nexport { FeatureFlagsRuntimeClient } from './feature-flags/runtime-client';\nexport { CreateRuleWithTargetsError } from './feature-flags/create-rule-with-targets-error';\nexport * from './groups/interfaces';\nexport * from './multi-factor-auth/interfaces';\nexport * from './organizations/interfaces';\nexport * from './organization-domains/interfaces';\nexport * from './passwordless/interfaces';\nexport * from './pipes/interfaces';\nexport * from './admin-portal/interfaces';\nexport * from './radar/interfaces';\nexport * from './roles/interfaces';\nexport * from './sso/interfaces';\nexport * from './user-management/interfaces';\nexport { CookieSession } from './user-management/session';\nexport * from './vault/interfaces';\nexport * from './webhooks/interfaces';\nexport * from './widgets/interfaces';\nexport * from './pkce/pkce';\nexport {\n createWorkOS,\n type PublicWorkOS,\n type PublicUserManagement,\n type PublicSSO,\n type PublicClientOptions,\n type ConfidentialClientOptions,\n} from './factory';\n\nclass WorkOSNode extends WorkOS {\n /** @override */\n createHttpClient(options: WorkOSOptions, userAgent: string): HttpClient {\n const headers: Record<string, string> = {};\n\n const configHeaders = options.config?.headers;\n if (configHeaders) {\n if (configHeaders instanceof Headers) {\n configHeaders.forEach((v, k) => (headers[k] = v));\n } else if (Array.isArray(configHeaders)) {\n configHeaders.forEach(([k, v]) => (headers[k] = v));\n } else {\n Object.assign(headers, configHeaders);\n }\n }\n\n headers['User-Agent'] = userAgent;\n\n if (this.key) {\n headers['Authorization'] = `Bearer ${this.key}`;\n }\n\n const opts = {\n ...options.config,\n timeout: options.timeout,\n maxRetries: options.maxRetries,\n headers,\n };\n\n return new FetchHttpClient(this.baseURL, opts, options.fetchFn);\n }\n\n /** @override */\n createWebhookClient(): Webhooks {\n return new Webhooks(this);\n }\n\n override getCryptoProvider(): CryptoProvider {\n return new SubtleCryptoProvider();\n }\n\n /** @override */\n createActionsClient(): Actions {\n return new Actions(this.getCryptoProvider());\n }\n\n /** @override */\n emitWarning(warning: string): void {\n return process.emitWarning(warning, 'WorkOS');\n }\n}\n\nexport { WorkOSNode as WorkOS };\n"],"mappings":";;;AAEA,MAAa,+CAA+C;CAC1D,QAAQ;CACR,UAAU;CACV,SAAS;AACX;;;ACJA,MAAa,6BAA6B;CACxC,OAAO;CACP,QAAQ;CACR,mBAAmB;AACrB;;;ACJA,MAAa,iCAAiC;CAC5C,eAAe;CACf,UAAU;AACZ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Q,gBAAgB;EAExB,IAAI,KAAK,KACP,QAAQ,mBAAmB,UAAU,KAAK;EAG5C,MAAM,OAAO;GACX,GAAG,QAAQ;GACX,SAAS,QAAQ;GACjB,YAAY,QAAQ;GACpB;EACF;EAEA,OAAO,IAAIC,gBAAAA,gBAAgB,KAAK,SAAS,MAAM,QAAQ,OAAO;CAChE;;CAGA,sBAAgC;EAC9B,OAAO,IAAIC,gBAAAA,SAAS,IAAI;CAC1B;CAEA,oBAA6C;EAC3C,OAAO,IAAIC,gBAAAA,qBAAqB;CAClC;;CAGA,sBAA+B;EAC7B,OAAO,IAAIC,gBAAAA,QAAQ,KAAK,kBAAkB,CAAC;CAC7C;;CAGA,YAAY,SAAuB;EACjC,OAAO,QAAQ,YAAY,SAAS,QAAQ;CAC9C;AACF"}
|
|
1
|
+
{"version":3,"file":"index.cjs","names":["WorkOS","FetchHttpClient","Webhooks","SubtleCryptoProvider","Actions"],"sources":["../src/groups/interfaces/user-organization-membership-base-list-data-status.interface.ts","../src/pipes/interfaces/connected-account-auth-method.interface.ts","../src/pipes/interfaces/connected-account-connection-role.interface.ts","../src/pipes/interfaces/connected-account-input-state.interface.ts","../src/pipes/interfaces/connected-account-state.interface.ts","../src/pipes/interfaces/create-connected-account-state.interface.ts","../src/pipes/interfaces/create-data-integration-auth-methods.interface.ts","../src/pipes/interfaces/create-data-integration-ownership.interface.ts","../src/pipes/interfaces/create-organization-connected-account-state.interface.ts","../src/pipes/interfaces/custom-provider-definition-authenticate-via.interface.ts","../src/pipes/interfaces/data-integration-access-token-response-error.interface.ts","../src/pipes/interfaces/data-integration-auth-methods.interface.ts","../src/pipes/interfaces/data-integration-credential-type.interface.ts","../src/pipes/interfaces/data-integration-credentials-input-type.interface.ts","../src/pipes/interfaces/data-integration-credentials-response-error.interface.ts","../src/pipes/interfaces/data-integration-credentials-type.interface.ts","../src/pipes/interfaces/data-integration-custom-provider-authenticate-via.interface.ts","../src/pipes/interfaces/data-integration-installation-connection-role.interface.ts","../src/pipes/interfaces/data-integration-ownership.interface.ts","../src/pipes/interfaces/data-integration-state.interface.ts","../src/pipes/interfaces/data-integrations-create-api-key-connection-request-connection-owner.interface.ts","../src/pipes/interfaces/data-integrations-create-client-credentials-connection-request-connection-owner.interface.ts","../src/pipes/interfaces/data-integrations-get-data-integration-authorize-url-request-connection-intent.interface.ts","../src/pipes/interfaces/data-integrations-get-data-integration-authorize-url-request-connection-owner.interface.ts","../src/pipes/interfaces/data-integrations-get-user-token-request-connection-owner.interface.ts","../src/pipes/interfaces/data-integrations-list-response-data-auth-methods.interface.ts","../src/pipes/interfaces/data-integrations-list-response-data-connected-account-auth-method.interface.ts","../src/pipes/interfaces/data-integrations-list-response-data-connected-account-connection-role.interface.ts","../src/pipes/interfaces/data-integrations-list-response-data-connected-account-state.interface.ts","../src/pipes/interfaces/data-integrations-list-response-data-connection-owner.interface.ts","../src/pipes/interfaces/data-integrations-list-response-data-ownership.interface.ts","../src/pipes/interfaces/data-integrations-upsert-api-key-request-connection-owner.interface.ts","../src/pipes/interfaces/data-integrations-upsert-client-credentials-request-connection-owner.interface.ts","../src/pipes/interfaces/data-integrations-vend-credentials-request-connection-owner.interface.ts","../src/pipes/interfaces/organization-connected-account-state.interface.ts","../src/pipes/interfaces/pipes-ownership.interface.ts","../src/pipes/interfaces/update-custom-provider-definition-authenticate-via.interface.ts","../src/radar/interfaces/radar-list-action.interface.ts","../src/radar/interfaces/radar-list-type.interface.ts","../src/radar/interfaces/radar-standalone-assess-request-action.interface.ts","../src/radar/interfaces/radar-standalone-assess-request-auth-method.interface.ts","../src/radar/interfaces/radar-standalone-response-blocklist-type.interface.ts","../src/radar/interfaces/radar-standalone-response-control.interface.ts","../src/radar/interfaces/radar-standalone-response-verdict.interface.ts","../src/vault/interfaces/vault-order.interface.ts","../src/webhooks/interfaces/create-webhook-endpoint-events.interface.ts","../src/webhooks/interfaces/update-webhook-endpoint-events.interface.ts","../src/webhooks/interfaces/update-webhook-endpoint-status.interface.ts","../src/webhooks/interfaces/webhook-endpoint-status.interface.ts","../src/widgets/interfaces/widget-session-token-scopes.interface.ts","../src/index.ts"],"sourcesContent":["// This file is auto-generated by oagen. Do not edit.\n\nexport const UserOrganizationMembershipBaseListDataStatus = {\n Active: 'active',\n Inactive: 'inactive',\n Pending: 'pending',\n} as const;\n\nexport type UserOrganizationMembershipBaseListDataStatus =\n (typeof UserOrganizationMembershipBaseListDataStatus)[keyof typeof UserOrganizationMembershipBaseListDataStatus];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const ConnectedAccountAuthMethod = {\n OAuth: 'oauth',\n ApiKey: 'api_key',\n ClientCredentials: 'client_credentials',\n} as const;\n\nexport type ConnectedAccountAuthMethod =\n (typeof ConnectedAccountAuthMethod)[keyof typeof ConnectedAccountAuthMethod];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const ConnectedAccountConnectionRole = {\n Compatibility: 'compatibility',\n Standard: 'standard',\n} as const;\n\nexport type ConnectedAccountConnectionRole =\n (typeof ConnectedAccountConnectionRole)[keyof typeof ConnectedAccountConnectionRole];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const ConnectedAccountInputState = {\n Connected: 'connected',\n NeedsReauthorization: 'needs_reauthorization',\n} as const;\n\nexport type ConnectedAccountInputState =\n (typeof ConnectedAccountInputState)[keyof typeof ConnectedAccountInputState];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const ConnectedAccountState = {\n Connected: 'connected',\n NeedsReauthorization: 'needs_reauthorization',\n Disconnected: 'disconnected',\n} as const;\n\nexport type ConnectedAccountState =\n (typeof ConnectedAccountState)[keyof typeof ConnectedAccountState];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const CreateConnectedAccountState = {\n Connected: 'connected',\n NeedsReauthorization: 'needs_reauthorization',\n} as const;\n\nexport type CreateConnectedAccountState =\n (typeof CreateConnectedAccountState)[keyof typeof CreateConnectedAccountState];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const CreateDataIntegrationAuthMethods = {\n OAuth: 'oauth',\n ApiKey: 'api_key',\n ClientCredentials: 'client_credentials',\n} as const;\n\nexport type CreateDataIntegrationAuthMethods =\n (typeof CreateDataIntegrationAuthMethods)[keyof typeof CreateDataIntegrationAuthMethods];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const CreateDataIntegrationOwnership = {\n User: 'user',\n Organization: 'organization',\n} as const;\n\nexport type CreateDataIntegrationOwnership =\n (typeof CreateDataIntegrationOwnership)[keyof typeof CreateDataIntegrationOwnership];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const CreateOrganizationConnectedAccountState = {\n Connected: 'connected',\n NeedsReauthorization: 'needs_reauthorization',\n} as const;\n\nexport type CreateOrganizationConnectedAccountState =\n (typeof CreateOrganizationConnectedAccountState)[keyof typeof CreateOrganizationConnectedAccountState];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const CustomProviderDefinitionAuthenticateVia = {\n RequestBody: 'request_body',\n BasicAuthHeader: 'basic_auth_header',\n} as const;\n\nexport type CustomProviderDefinitionAuthenticateVia =\n (typeof CustomProviderDefinitionAuthenticateVia)[keyof typeof CustomProviderDefinitionAuthenticateVia];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationAccessTokenResponseError = {\n NotInstalled: 'not_installed',\n NeedsReauthorization: 'needs_reauthorization',\n} as const;\n\nexport type DataIntegrationAccessTokenResponseError =\n (typeof DataIntegrationAccessTokenResponseError)[keyof typeof DataIntegrationAccessTokenResponseError];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationAuthMethods = {\n OAuth: 'oauth',\n ApiKey: 'api_key',\n ClientCredentials: 'client_credentials',\n} as const;\n\nexport type DataIntegrationAuthMethods =\n (typeof DataIntegrationAuthMethods)[keyof typeof DataIntegrationAuthMethods];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationCredentialType = {\n Custom: 'custom',\n Organization: 'organization',\n} as const;\n\nexport type DataIntegrationCredentialType =\n (typeof DataIntegrationCredentialType)[keyof typeof DataIntegrationCredentialType];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationCredentialsInputType = {\n Custom: 'custom',\n Organization: 'organization',\n} as const;\n\nexport type DataIntegrationCredentialsInputType =\n (typeof DataIntegrationCredentialsInputType)[keyof typeof DataIntegrationCredentialsInputType];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationCredentialsResponseError = {\n NotInstalled: 'not_installed',\n NeedsReauthorization: 'needs_reauthorization',\n} as const;\n\nexport type DataIntegrationCredentialsResponseError =\n (typeof DataIntegrationCredentialsResponseError)[keyof typeof DataIntegrationCredentialsResponseError];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationCredentialsType = {\n Custom: 'custom',\n Organization: 'organization',\n} as const;\n\nexport type DataIntegrationCredentialsType =\n (typeof DataIntegrationCredentialsType)[keyof typeof DataIntegrationCredentialsType];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationCustomProviderAuthenticateVia = {\n RequestBody: 'request_body',\n BasicAuthHeader: 'basic_auth_header',\n} as const;\n\nexport type DataIntegrationCustomProviderAuthenticateVia =\n (typeof DataIntegrationCustomProviderAuthenticateVia)[keyof typeof DataIntegrationCustomProviderAuthenticateVia];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationInstallationConnectionRole = {\n Compatibility: 'compatibility',\n Standard: 'standard',\n} as const;\n\nexport type DataIntegrationInstallationConnectionRole =\n (typeof DataIntegrationInstallationConnectionRole)[keyof typeof DataIntegrationInstallationConnectionRole];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationOwnership = {\n User: 'user',\n Organization: 'organization',\n} as const;\n\nexport type DataIntegrationOwnership =\n (typeof DataIntegrationOwnership)[keyof typeof DataIntegrationOwnership];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationState = {\n Valid: 'valid',\n Invalid: 'invalid',\n Requested: 'requested',\n} as const;\n\nexport type DataIntegrationState =\n (typeof DataIntegrationState)[keyof typeof DataIntegrationState];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner = {\n User: 'user',\n Organization: 'organization',\n} as const;\n\nexport type DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner =\n (typeof DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner)[keyof typeof DataIntegrationsCreateApiKeyConnectionRequestConnectionOwner];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner =\n {\n User: 'user',\n Organization: 'organization',\n } as const;\n\nexport type DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner =\n (typeof DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner)[keyof typeof DataIntegrationsCreateClientCredentialsConnectionRequestConnectionOwner];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionIntent =\n {\n Add: 'add',\n Reauthorize: 'reauthorize',\n } as const;\n\nexport type DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionIntent =\n (typeof DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionIntent)[keyof typeof DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionIntent];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner =\n {\n User: 'user',\n Organization: 'organization',\n } as const;\n\nexport type DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner =\n (typeof DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner)[keyof typeof DataIntegrationsGetDataIntegrationAuthorizeUrlRequestConnectionOwner];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsGetUserTokenRequestConnectionOwner = {\n User: 'user',\n Organization: 'organization',\n} as const;\n\nexport type DataIntegrationsGetUserTokenRequestConnectionOwner =\n (typeof DataIntegrationsGetUserTokenRequestConnectionOwner)[keyof typeof DataIntegrationsGetUserTokenRequestConnectionOwner];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsListResponseDataAuthMethods = {\n OAuth: 'oauth',\n ApiKey: 'api_key',\n ClientCredentials: 'client_credentials',\n} as const;\n\nexport type DataIntegrationsListResponseDataAuthMethods =\n (typeof DataIntegrationsListResponseDataAuthMethods)[keyof typeof DataIntegrationsListResponseDataAuthMethods];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsListResponseDataConnectedAccountAuthMethod = {\n OAuth: 'oauth',\n ApiKey: 'api_key',\n ClientCredentials: 'client_credentials',\n} as const;\n\nexport type DataIntegrationsListResponseDataConnectedAccountAuthMethod =\n (typeof DataIntegrationsListResponseDataConnectedAccountAuthMethod)[keyof typeof DataIntegrationsListResponseDataConnectedAccountAuthMethod];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsListResponseDataConnectedAccountConnectionRole = {\n Compatibility: 'compatibility',\n Standard: 'standard',\n} as const;\n\nexport type DataIntegrationsListResponseDataConnectedAccountConnectionRole =\n (typeof DataIntegrationsListResponseDataConnectedAccountConnectionRole)[keyof typeof DataIntegrationsListResponseDataConnectedAccountConnectionRole];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsListResponseDataConnectedAccountState = {\n Connected: 'connected',\n NeedsReauthorization: 'needs_reauthorization',\n Disconnected: 'disconnected',\n} as const;\n\nexport type DataIntegrationsListResponseDataConnectedAccountState =\n (typeof DataIntegrationsListResponseDataConnectedAccountState)[keyof typeof DataIntegrationsListResponseDataConnectedAccountState];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsListResponseDataConnectionOwner = {\n User: 'user',\n Organization: 'organization',\n} as const;\n\nexport type DataIntegrationsListResponseDataConnectionOwner =\n (typeof DataIntegrationsListResponseDataConnectionOwner)[keyof typeof DataIntegrationsListResponseDataConnectionOwner];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsListResponseDataOwnership = {\n UserlandUser: 'userland_user',\n Organization: 'organization',\n} as const;\n\nexport type DataIntegrationsListResponseDataOwnership =\n (typeof DataIntegrationsListResponseDataOwnership)[keyof typeof DataIntegrationsListResponseDataOwnership];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsUpsertApiKeyRequestConnectionOwner = {\n User: 'user',\n Organization: 'organization',\n} as const;\n\nexport type DataIntegrationsUpsertApiKeyRequestConnectionOwner =\n (typeof DataIntegrationsUpsertApiKeyRequestConnectionOwner)[keyof typeof DataIntegrationsUpsertApiKeyRequestConnectionOwner];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsUpsertClientCredentialsRequestConnectionOwner = {\n User: 'user',\n Organization: 'organization',\n} as const;\n\nexport type DataIntegrationsUpsertClientCredentialsRequestConnectionOwner =\n (typeof DataIntegrationsUpsertClientCredentialsRequestConnectionOwner)[keyof typeof DataIntegrationsUpsertClientCredentialsRequestConnectionOwner];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const DataIntegrationsVendCredentialsRequestConnectionOwner = {\n User: 'user',\n Organization: 'organization',\n} as const;\n\nexport type DataIntegrationsVendCredentialsRequestConnectionOwner =\n (typeof DataIntegrationsVendCredentialsRequestConnectionOwner)[keyof typeof DataIntegrationsVendCredentialsRequestConnectionOwner];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const OrganizationConnectedAccountState = {\n Connected: 'connected',\n NeedsReauthorization: 'needs_reauthorization',\n} as const;\n\nexport type OrganizationConnectedAccountState =\n (typeof OrganizationConnectedAccountState)[keyof typeof OrganizationConnectedAccountState];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const PipesOwnership = {\n User: 'user',\n Organization: 'organization',\n} as const;\n\nexport type PipesOwnership =\n (typeof PipesOwnership)[keyof typeof PipesOwnership];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const UpdateCustomProviderDefinitionAuthenticateVia = {\n RequestBody: 'request_body',\n BasicAuthHeader: 'basic_auth_header',\n} as const;\n\nexport type UpdateCustomProviderDefinitionAuthenticateVia =\n (typeof UpdateCustomProviderDefinitionAuthenticateVia)[keyof typeof UpdateCustomProviderDefinitionAuthenticateVia];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const RadarListAction = {\n Block: 'block',\n Allow: 'allow',\n} as const;\n\nexport type RadarListAction =\n (typeof RadarListAction)[keyof typeof RadarListAction];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const RadarListType = {\n IpAddress: 'ip_address',\n Domain: 'domain',\n Email: 'email',\n Device: 'device',\n UserAgent: 'user_agent',\n DeviceFingerprint: 'device_fingerprint',\n Country: 'country',\n} as const;\n\nexport type RadarListType = (typeof RadarListType)[keyof typeof RadarListType];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const RadarStandaloneAssessRequestAction = {\n SignUp: 'sign-up',\n SignIn: 'sign-in',\n} as const;\n\nexport type RadarStandaloneAssessRequestAction =\n (typeof RadarStandaloneAssessRequestAction)[keyof typeof RadarStandaloneAssessRequestAction];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const RadarStandaloneAssessRequestAuthMethod = {\n Password: 'Password',\n Passkey: 'Passkey',\n Authenticator: 'Authenticator',\n SmsOtp: 'SMS_OTP',\n EmailOtp: 'Email_OTP',\n Social: 'Social',\n SSO: 'SSO',\n Other: 'Other',\n} as const;\n\nexport type RadarStandaloneAssessRequestAuthMethod =\n (typeof RadarStandaloneAssessRequestAuthMethod)[keyof typeof RadarStandaloneAssessRequestAuthMethod];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const RadarStandaloneResponseBlocklistType = {\n IpAddress: 'ip_address',\n Domain: 'domain',\n Email: 'email',\n Device: 'device',\n UserAgent: 'user_agent',\n DeviceFingerprint: 'device_fingerprint',\n Country: 'country',\n} as const;\n\nexport type RadarStandaloneResponseBlocklistType =\n (typeof RadarStandaloneResponseBlocklistType)[keyof typeof RadarStandaloneResponseBlocklistType];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const RadarStandaloneResponseControl = {\n BotDetection: 'bot_detection',\n BruteForceAttack: 'brute_force_attack',\n DomainSignUpRateLimit: 'domain_sign_up_rate_limit',\n ImpossibleTravel: 'impossible_travel',\n RepeatSignUp: 'repeat_sign_up',\n StaleAccount: 'stale_account',\n UnrecognizedDevice: 'unrecognized_device',\n Restriction: 'restriction',\n} as const;\n\nexport type RadarStandaloneResponseControl =\n (typeof RadarStandaloneResponseControl)[keyof typeof RadarStandaloneResponseControl];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const RadarStandaloneResponseVerdict = {\n Allow: 'allow',\n Block: 'block',\n Challenge: 'challenge',\n} as const;\n\nexport type RadarStandaloneResponseVerdict =\n (typeof RadarStandaloneResponseVerdict)[keyof typeof RadarStandaloneResponseVerdict];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const VaultOrder = {\n Asc: 'asc',\n Desc: 'desc',\n} as const;\n\nexport type VaultOrder = (typeof VaultOrder)[keyof typeof VaultOrder];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const CreateWebhookEndpointEvents = {\n AgentBlueprintCreated: 'agent.blueprint.created',\n AgentBlueprintDeleted: 'agent.blueprint.deleted',\n AgentBlueprintUpdated: 'agent.blueprint.updated',\n AgentInstanceCreated: 'agent.instance.created',\n AgentInstanceDeleted: 'agent.instance.deleted',\n AgentInstanceSessionCreated: 'agent.instance.session.created',\n AgentInstanceSessionRevoked: 'agent.instance.session.revoked',\n AgentRegistrationCreated: 'agent.registration.created',\n AgentRegistrationClaimAttemptCreated:\n 'agent.registration.claim.attempt.created',\n AgentRegistrationClaimCompleted: 'agent.registration.claim.completed',\n AgentRegistrationCredentialIssued: 'agent.registration.credential.issued',\n AgentRegistrationDeleted: 'agent.registration.deleted',\n AgentRegistrationRefreshed: 'agent.registration.refreshed',\n AgentRegistrationExpired: 'agent.registration.expired',\n AgentRegistrationOrganizationSwitched:\n 'agent.registration.organization.switched',\n AgentRegistrationRevoked: 'agent.registration.revoked',\n AuthenticationEmailVerificationSucceeded:\n 'authentication.email_verification_succeeded',\n AuthenticationMagicAuthFailed: 'authentication.magic_auth_failed',\n AuthenticationMagicAuthSucceeded: 'authentication.magic_auth_succeeded',\n AuthenticationMfaSucceeded: 'authentication.mfa_succeeded',\n AuthenticationOAuthFailed: 'authentication.oauth_failed',\n AuthenticationOAuthSucceeded: 'authentication.oauth_succeeded',\n AuthenticationPasswordFailed: 'authentication.password_failed',\n AuthenticationPasswordSucceeded: 'authentication.password_succeeded',\n AuthenticationPasskeyFailed: 'authentication.passkey_failed',\n AuthenticationPasskeySucceeded: 'authentication.passkey_succeeded',\n AuthenticationReauthenticationSucceeded:\n 'authentication.reauthentication_succeeded',\n AuthenticationSSOFailed: 'authentication.sso_failed',\n AuthenticationSSOStarted: 'authentication.sso_started',\n AuthenticationSSOSucceeded: 'authentication.sso_succeeded',\n AuthenticationSSOTimedOut: 'authentication.sso_timed_out',\n AuthenticationRadarRiskDetected: 'authentication.radar_risk_detected',\n ApiKeyCreated: 'api_key.created',\n ApiKeyRevoked: 'api_key.revoked',\n ApiKeyUpdated: 'api_key.updated',\n ConnectionActivated: 'connection.activated',\n ConnectionDeactivated: 'connection.deactivated',\n ConnectionSAMLCertificateRenewalRequired:\n 'connection.saml_certificate_renewal_required',\n ConnectionSAMLCertificateRenewed: 'connection.saml_certificate_renewed',\n ConnectionDeleted: 'connection.deleted',\n DsyncActivated: 'dsync.activated',\n DsyncDeleted: 'dsync.deleted',\n DsyncGroupCreated: 'dsync.group.created',\n DsyncGroupDeleted: 'dsync.group.deleted',\n DsyncGroupUpdated: 'dsync.group.updated',\n DsyncGroupUserAdded: 'dsync.group.user_added',\n DsyncGroupUserRemoved: 'dsync.group.user_removed',\n DsyncUserCreated: 'dsync.user.created',\n DsyncUserDeleted: 'dsync.user.deleted',\n DsyncUserUpdated: 'dsync.user.updated',\n EmailVerificationCreated: 'email_verification.created',\n GroupCreated: 'group.created',\n GroupDeleted: 'group.deleted',\n GroupMemberAdded: 'group.member_added',\n GroupMemberRemoved: 'group.member_removed',\n GroupUpdated: 'group.updated',\n FlagCreated: 'flag.created',\n FlagDeleted: 'flag.deleted',\n FlagUpdated: 'flag.updated',\n FlagRuleUpdated: 'flag.rule_updated',\n InvitationAccepted: 'invitation.accepted',\n InvitationCreated: 'invitation.created',\n InvitationResent: 'invitation.resent',\n InvitationRevoked: 'invitation.revoked',\n MagicAuthCreated: 'magic_auth.created',\n OrganizationCreated: 'organization.created',\n OrganizationDeleted: 'organization.deleted',\n OrganizationUpdated: 'organization.updated',\n OrganizationDomainCreated: 'organization_domain.created',\n OrganizationDomainDeleted: 'organization_domain.deleted',\n OrganizationDomainUpdated: 'organization_domain.updated',\n OrganizationDomainVerified: 'organization_domain.verified',\n OrganizationDomainVerificationFailed:\n 'organization_domain.verification_failed',\n PasswordResetCreated: 'password_reset.created',\n PasswordResetSucceeded: 'password_reset.succeeded',\n UserCreated: 'user.created',\n UserUpdated: 'user.updated',\n UserDeleted: 'user.deleted',\n OrganizationMembershipCreated: 'organization_membership.created',\n OrganizationMembershipDeleted: 'organization_membership.deleted',\n OrganizationMembershipUpdated: 'organization_membership.updated',\n RoleCreated: 'role.created',\n RoleDeleted: 'role.deleted',\n RoleUpdated: 'role.updated',\n OrganizationRoleCreated: 'organization_role.created',\n OrganizationRoleDeleted: 'organization_role.deleted',\n OrganizationRoleUpdated: 'organization_role.updated',\n PermissionCreated: 'permission.created',\n PermissionDeleted: 'permission.deleted',\n PermissionUpdated: 'permission.updated',\n PipesAccountConnectionAddFailed: 'pipes.account_connection.add_failed',\n PipesAccountConnectionConnected: 'pipes.account_connection.connected',\n PipesAccountConnectionConnectionFailed:\n 'pipes.account_connection.connection_failed',\n PipesAccountConnectionDisconnected: 'pipes.account_connection.disconnected',\n PipesAccountConnectionReauthorizationNeeded:\n 'pipes.account_connection.reauthorization_needed',\n PipesConnectedAccountConnected: 'pipes.connected_account.connected',\n PipesConnectedAccountConnectionFailed:\n 'pipes.connected_account.connection_failed',\n PipesConnectedAccountDisconnected: 'pipes.connected_account.disconnected',\n PipesConnectedAccountReauthorizationNeeded:\n 'pipes.connected_account.reauthorization_needed',\n RadarChallengeCreated: 'radar.challenge_created',\n SessionCreated: 'session.created',\n SessionRevoked: 'session.revoked',\n WaitlistUserApproved: 'waitlist_user.approved',\n WaitlistUserCreated: 'waitlist_user.created',\n WaitlistUserDenied: 'waitlist_user.denied',\n} as const;\n\nexport type CreateWebhookEndpointEvents =\n (typeof CreateWebhookEndpointEvents)[keyof typeof CreateWebhookEndpointEvents];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const UpdateWebhookEndpointEvents = {\n AgentBlueprintCreated: 'agent.blueprint.created',\n AgentBlueprintDeleted: 'agent.blueprint.deleted',\n AgentBlueprintUpdated: 'agent.blueprint.updated',\n AgentInstanceCreated: 'agent.instance.created',\n AgentInstanceDeleted: 'agent.instance.deleted',\n AgentInstanceSessionCreated: 'agent.instance.session.created',\n AgentInstanceSessionRevoked: 'agent.instance.session.revoked',\n AgentRegistrationCreated: 'agent.registration.created',\n AgentRegistrationClaimAttemptCreated:\n 'agent.registration.claim.attempt.created',\n AgentRegistrationClaimCompleted: 'agent.registration.claim.completed',\n AgentRegistrationCredentialIssued: 'agent.registration.credential.issued',\n AgentRegistrationDeleted: 'agent.registration.deleted',\n AgentRegistrationRefreshed: 'agent.registration.refreshed',\n AgentRegistrationExpired: 'agent.registration.expired',\n AgentRegistrationOrganizationSwitched:\n 'agent.registration.organization.switched',\n AgentRegistrationRevoked: 'agent.registration.revoked',\n AuthenticationEmailVerificationSucceeded:\n 'authentication.email_verification_succeeded',\n AuthenticationMagicAuthFailed: 'authentication.magic_auth_failed',\n AuthenticationMagicAuthSucceeded: 'authentication.magic_auth_succeeded',\n AuthenticationMfaSucceeded: 'authentication.mfa_succeeded',\n AuthenticationOAuthFailed: 'authentication.oauth_failed',\n AuthenticationOAuthSucceeded: 'authentication.oauth_succeeded',\n AuthenticationPasswordFailed: 'authentication.password_failed',\n AuthenticationPasswordSucceeded: 'authentication.password_succeeded',\n AuthenticationPasskeyFailed: 'authentication.passkey_failed',\n AuthenticationPasskeySucceeded: 'authentication.passkey_succeeded',\n AuthenticationReauthenticationSucceeded:\n 'authentication.reauthentication_succeeded',\n AuthenticationSSOFailed: 'authentication.sso_failed',\n AuthenticationSSOStarted: 'authentication.sso_started',\n AuthenticationSSOSucceeded: 'authentication.sso_succeeded',\n AuthenticationSSOTimedOut: 'authentication.sso_timed_out',\n AuthenticationRadarRiskDetected: 'authentication.radar_risk_detected',\n ApiKeyCreated: 'api_key.created',\n ApiKeyRevoked: 'api_key.revoked',\n ApiKeyUpdated: 'api_key.updated',\n ConnectionActivated: 'connection.activated',\n ConnectionDeactivated: 'connection.deactivated',\n ConnectionSAMLCertificateRenewalRequired:\n 'connection.saml_certificate_renewal_required',\n ConnectionSAMLCertificateRenewed: 'connection.saml_certificate_renewed',\n ConnectionDeleted: 'connection.deleted',\n DsyncActivated: 'dsync.activated',\n DsyncDeleted: 'dsync.deleted',\n DsyncGroupCreated: 'dsync.group.created',\n DsyncGroupDeleted: 'dsync.group.deleted',\n DsyncGroupUpdated: 'dsync.group.updated',\n DsyncGroupUserAdded: 'dsync.group.user_added',\n DsyncGroupUserRemoved: 'dsync.group.user_removed',\n DsyncUserCreated: 'dsync.user.created',\n DsyncUserDeleted: 'dsync.user.deleted',\n DsyncUserUpdated: 'dsync.user.updated',\n EmailVerificationCreated: 'email_verification.created',\n GroupCreated: 'group.created',\n GroupDeleted: 'group.deleted',\n GroupMemberAdded: 'group.member_added',\n GroupMemberRemoved: 'group.member_removed',\n GroupUpdated: 'group.updated',\n FlagCreated: 'flag.created',\n FlagDeleted: 'flag.deleted',\n FlagUpdated: 'flag.updated',\n FlagRuleUpdated: 'flag.rule_updated',\n InvitationAccepted: 'invitation.accepted',\n InvitationCreated: 'invitation.created',\n InvitationResent: 'invitation.resent',\n InvitationRevoked: 'invitation.revoked',\n MagicAuthCreated: 'magic_auth.created',\n OrganizationCreated: 'organization.created',\n OrganizationDeleted: 'organization.deleted',\n OrganizationUpdated: 'organization.updated',\n OrganizationDomainCreated: 'organization_domain.created',\n OrganizationDomainDeleted: 'organization_domain.deleted',\n OrganizationDomainUpdated: 'organization_domain.updated',\n OrganizationDomainVerified: 'organization_domain.verified',\n OrganizationDomainVerificationFailed:\n 'organization_domain.verification_failed',\n PasswordResetCreated: 'password_reset.created',\n PasswordResetSucceeded: 'password_reset.succeeded',\n UserCreated: 'user.created',\n UserUpdated: 'user.updated',\n UserDeleted: 'user.deleted',\n OrganizationMembershipCreated: 'organization_membership.created',\n OrganizationMembershipDeleted: 'organization_membership.deleted',\n OrganizationMembershipUpdated: 'organization_membership.updated',\n RoleCreated: 'role.created',\n RoleDeleted: 'role.deleted',\n RoleUpdated: 'role.updated',\n OrganizationRoleCreated: 'organization_role.created',\n OrganizationRoleDeleted: 'organization_role.deleted',\n OrganizationRoleUpdated: 'organization_role.updated',\n PermissionCreated: 'permission.created',\n PermissionDeleted: 'permission.deleted',\n PermissionUpdated: 'permission.updated',\n PipesAccountConnectionAddFailed: 'pipes.account_connection.add_failed',\n PipesAccountConnectionConnected: 'pipes.account_connection.connected',\n PipesAccountConnectionConnectionFailed:\n 'pipes.account_connection.connection_failed',\n PipesAccountConnectionDisconnected: 'pipes.account_connection.disconnected',\n PipesAccountConnectionReauthorizationNeeded:\n 'pipes.account_connection.reauthorization_needed',\n PipesConnectedAccountConnected: 'pipes.connected_account.connected',\n PipesConnectedAccountConnectionFailed:\n 'pipes.connected_account.connection_failed',\n PipesConnectedAccountDisconnected: 'pipes.connected_account.disconnected',\n PipesConnectedAccountReauthorizationNeeded:\n 'pipes.connected_account.reauthorization_needed',\n RadarChallengeCreated: 'radar.challenge_created',\n SessionCreated: 'session.created',\n SessionRevoked: 'session.revoked',\n WaitlistUserApproved: 'waitlist_user.approved',\n WaitlistUserCreated: 'waitlist_user.created',\n WaitlistUserDenied: 'waitlist_user.denied',\n} as const;\n\nexport type UpdateWebhookEndpointEvents =\n (typeof UpdateWebhookEndpointEvents)[keyof typeof UpdateWebhookEndpointEvents];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const UpdateWebhookEndpointStatus = {\n Enabled: 'enabled',\n Disabled: 'disabled',\n} as const;\n\nexport type UpdateWebhookEndpointStatus =\n (typeof UpdateWebhookEndpointStatus)[keyof typeof UpdateWebhookEndpointStatus];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const WebhookEndpointStatus = {\n Enabled: 'enabled',\n Disabled: 'disabled',\n} as const;\n\nexport type WebhookEndpointStatus =\n (typeof WebhookEndpointStatus)[keyof typeof WebhookEndpointStatus];\n","// This file is auto-generated by oagen. Do not edit.\n\nexport const WidgetSessionTokenScopes = {\n WidgetsUsersTableManage: 'widgets:users-table:manage',\n WidgetsUserApiKeysManageSelf: 'widgets:user-api-keys:manage-self',\n WidgetsUserApiKeysManageAll: 'widgets:user-api-keys:manage-all',\n WidgetsDomainVerificationManage: 'widgets:domain-verification:manage',\n WidgetsSSOManage: 'widgets:sso:manage',\n WidgetsApiKeysManage: 'widgets:api-keys:manage',\n WidgetsDsyncManage: 'widgets:dsync:manage',\n WidgetsAuditLogStreamingManage: 'widgets:audit-log-streaming:manage',\n WidgetsPipesManage: 'widgets:pipes:manage',\n} as const;\n\nexport type WidgetSessionTokenScopes =\n (typeof WidgetSessionTokenScopes)[keyof typeof WidgetSessionTokenScopes];\n","// @oagen-ignore-file\nimport { SubtleCryptoProvider } from './common/crypto/subtle-crypto-provider';\nimport { CryptoProvider } from './common/crypto/crypto-provider';\n\nimport { HttpClient } from './common/net/http-client';\nimport { FetchHttpClient } from './common/net/fetch-client';\n\nimport { Actions } from './actions/actions';\nimport { Webhooks } from './webhooks/webhooks';\nimport { WorkOS } from './workos';\nimport { WorkOSOptions } from './common/interfaces';\n\nexport * from './actions/interfaces';\nexport * from './agents/interfaces';\nexport * from './api-keys/interfaces';\nexport * from './audit-logs/interfaces';\nexport * from './authorization/interfaces';\nexport * from './connect/interfaces';\nexport * from './common/exceptions';\nexport * from './common/interfaces';\nexport * from './common/utils/pagination';\nexport * from './directory-sync/interfaces';\nexport * from './events/interfaces';\nexport * from './feature-flags/interfaces';\nexport { FeatureFlagsRuntimeClient } from './feature-flags/runtime-client';\nexport { CreateRuleWithTargetsError } from './feature-flags/create-rule-with-targets-error';\nexport * from './groups/interfaces';\nexport * from './multi-factor-auth/interfaces';\nexport * from './organizations/interfaces';\nexport * from './organization-domains/interfaces';\nexport * from './passwordless/interfaces';\nexport * from './pipes/interfaces';\nexport * from './admin-portal/interfaces';\nexport * from './radar/interfaces';\nexport * from './roles/interfaces';\nexport * from './sso/interfaces';\nexport * from './user-management/interfaces';\nexport { CookieSession } from './user-management/session';\nexport * from './vault/interfaces';\nexport * from './webhooks/interfaces';\nexport * from './widgets/interfaces';\nexport * from './pkce/pkce';\nexport {\n createWorkOS,\n type PublicWorkOS,\n type PublicUserManagement,\n type PublicSSO,\n type PublicClientOptions,\n type ConfidentialClientOptions,\n} from './factory';\n\nclass WorkOSNode extends WorkOS {\n /** @override */\n createHttpClient(options: WorkOSOptions, userAgent: string): HttpClient {\n const headers: Record<string, string> = {};\n\n const configHeaders = options.config?.headers;\n if (configHeaders) {\n if (configHeaders instanceof Headers) {\n configHeaders.forEach((v, k) => (headers[k] = v));\n } else if (Array.isArray(configHeaders)) {\n configHeaders.forEach(([k, v]) => (headers[k] = v));\n } else {\n Object.assign(headers, configHeaders);\n }\n }\n\n headers['User-Agent'] = userAgent;\n\n if (this.key) {\n headers['Authorization'] = `Bearer ${this.key}`;\n }\n\n const opts = {\n ...options.config,\n timeout: options.timeout,\n maxRetries: options.maxRetries,\n headers,\n };\n\n return new FetchHttpClient(this.baseURL, opts, options.fetchFn);\n }\n\n /** @override */\n createWebhookClient(): Webhooks {\n return new Webhooks(this);\n }\n\n override getCryptoProvider(): CryptoProvider {\n return new SubtleCryptoProvider();\n }\n\n /** @override */\n createActionsClient(): Actions {\n return new Actions(this.getCryptoProvider());\n }\n\n /** @override */\n emitWarning(warning: string): void {\n return process.emitWarning(warning, 'WorkOS');\n }\n}\n\nexport { WorkOSNode as WorkOS };\n"],"mappings":";;;AAEA,MAAa,+CAA+C;CAC1D,QAAQ;CACR,UAAU;CACV,SAAS;AACX;;ACJA,MAAa,6BAA6B;CACxC,OAAO;CACP,QAAQ;CACR,mBAAmB;AACrB;;ACJA,MAAa,iCAAiC;CAC5C,eAAe;CACf,UAAU;AACZ;;ACHA,MAAa,6BAA6B;CACxC,WAAW;CACX,sBAAsB;AACxB;;ACHA,MAAa,wBAAwB;CACnC,WAAW;CACX,sBAAsB;CACtB,cAAc;AAChB;;ACJA,MAAa,8BAA8B;CACzC,WAAW;CACX,sBAAsB;AACxB;;ACHA,MAAa,mCAAmC;CAC9C,OAAO;CACP,QAAQ;CACR,mBAAmB;AACrB;;ACJA,MAAa,iCAAiC;CAC5C,MAAM;CACN,cAAc;AAChB;;ACHA,MAAa,0CAA0C;CACrD,WAAW;CACX,sBAAsB;AACxB;;ACHA,MAAa,0CAA0C;CACrD,aAAa;CACb,iBAAiB;AACnB;;ACHA,MAAa,0CAA0C;CACrD,cAAc;CACd,sBAAsB;AACxB;;ACHA,MAAa,6BAA6B;CACxC,OAAO;CACP,QAAQ;CACR,mBAAmB;AACrB;;ACJA,MAAa,gCAAgC;CAC3C,QAAQ;CACR,cAAc;AAChB;;ACHA,MAAa,sCAAsC;CACjD,QAAQ;CACR,cAAc;AAChB;;ACHA,MAAa,0CAA0C;CACrD,cAAc;CACd,sBAAsB;AACxB;;ACHA,MAAa,iCAAiC;CAC5C,QAAQ;CACR,cAAc;AAChB;;ACHA,MAAa,+CAA+C;CAC1D,aAAa;CACb,iBAAiB;AACnB;;ACHA,MAAa,4CAA4C;CACvD,eAAe;CACf,UAAU;AACZ;;ACHA,MAAa,2BAA2B;CACtC,MAAM;CACN,cAAc;AAChB;;ACHA,MAAa,uBAAuB;CAClC,OAAO;CACP,SAAS;CACT,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