@onkernel/sdk 0.32.0 → 0.34.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.
Files changed (133) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/client.d.mts +0 -3
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +0 -3
  5. package/client.d.ts.map +1 -1
  6. package/client.js +7 -3
  7. package/client.js.map +1 -1
  8. package/client.mjs +7 -3
  9. package/client.mjs.map +1 -1
  10. package/core/streaming.js.map +1 -1
  11. package/core/streaming.mjs.map +1 -1
  12. package/package.json +1 -1
  13. package/resources/auth/auth.d.mts +2 -2
  14. package/resources/auth/auth.d.mts.map +1 -1
  15. package/resources/auth/auth.d.ts +2 -2
  16. package/resources/auth/auth.d.ts.map +1 -1
  17. package/resources/auth/auth.js.map +1 -1
  18. package/resources/auth/auth.mjs.map +1 -1
  19. package/resources/auth/connections.d.mts +172 -59
  20. package/resources/auth/connections.d.mts.map +1 -1
  21. package/resources/auth/connections.d.ts +172 -59
  22. package/resources/auth/connections.d.ts.map +1 -1
  23. package/resources/auth/connections.js +12 -17
  24. package/resources/auth/connections.js.map +1 -1
  25. package/resources/auth/connections.mjs +12 -17
  26. package/resources/auth/connections.mjs.map +1 -1
  27. package/resources/auth/index.d.mts +1 -1
  28. package/resources/auth/index.d.mts.map +1 -1
  29. package/resources/auth/index.d.ts +1 -1
  30. package/resources/auth/index.d.ts.map +1 -1
  31. package/resources/auth/index.js.map +1 -1
  32. package/resources/auth/index.mjs.map +1 -1
  33. package/resources/browser-pools.d.mts +28 -28
  34. package/resources/browser-pools.d.ts +28 -28
  35. package/resources/browsers/browsers.d.mts +35 -35
  36. package/resources/browsers/browsers.d.ts +35 -35
  37. package/resources/credentials.d.mts +4 -0
  38. package/resources/credentials.d.mts.map +1 -1
  39. package/resources/credentials.d.ts +4 -0
  40. package/resources/credentials.d.ts.map +1 -1
  41. package/resources/index.d.mts +0 -1
  42. package/resources/index.d.mts.map +1 -1
  43. package/resources/index.d.ts +0 -1
  44. package/resources/index.d.ts.map +1 -1
  45. package/resources/index.js +1 -3
  46. package/resources/index.js.map +1 -1
  47. package/resources/index.mjs +0 -1
  48. package/resources/index.mjs.map +1 -1
  49. package/resources/invocations.d.mts +7 -7
  50. package/resources/invocations.d.ts +7 -7
  51. package/resources/shared.d.mts +21 -7
  52. package/resources/shared.d.mts.map +1 -1
  53. package/resources/shared.d.ts +21 -7
  54. package/resources/shared.d.ts.map +1 -1
  55. package/src/client.ts +9 -6
  56. package/src/core/streaming.ts +2 -2
  57. package/src/resources/auth/auth.ts +0 -2
  58. package/src/resources/auth/connections.ts +195 -60
  59. package/src/resources/auth/index.ts +0 -1
  60. package/src/resources/browser-pools.ts +28 -28
  61. package/src/resources/browsers/browsers.ts +35 -35
  62. package/src/resources/credentials.ts +5 -0
  63. package/src/resources/index.ts +0 -1
  64. package/src/resources/invocations.ts +7 -7
  65. package/src/resources/shared.ts +19 -7
  66. package/src/version.ts +1 -1
  67. package/version.d.mts +1 -1
  68. package/version.d.ts +1 -1
  69. package/version.js +1 -1
  70. package/version.mjs +1 -1
  71. package/resources/agents/agents.d.mts +0 -10
  72. package/resources/agents/agents.d.mts.map +0 -1
  73. package/resources/agents/agents.d.ts +0 -10
  74. package/resources/agents/agents.d.ts.map +0 -1
  75. package/resources/agents/agents.js +0 -17
  76. package/resources/agents/agents.js.map +0 -1
  77. package/resources/agents/agents.mjs +0 -12
  78. package/resources/agents/agents.mjs.map +0 -1
  79. package/resources/agents/auth/auth.d.mts +0 -474
  80. package/resources/agents/auth/auth.d.mts.map +0 -1
  81. package/resources/agents/auth/auth.d.ts +0 -474
  82. package/resources/agents/auth/auth.d.ts.map +0 -1
  83. package/resources/agents/auth/auth.js +0 -66
  84. package/resources/agents/auth/auth.js.map +0 -1
  85. package/resources/agents/auth/auth.mjs +0 -61
  86. package/resources/agents/auth/auth.mjs.map +0 -1
  87. package/resources/agents/auth/index.d.mts +0 -3
  88. package/resources/agents/auth/index.d.mts.map +0 -1
  89. package/resources/agents/auth/index.d.ts +0 -3
  90. package/resources/agents/auth/index.d.ts.map +0 -1
  91. package/resources/agents/auth/index.js +0 -9
  92. package/resources/agents/auth/index.js.map +0 -1
  93. package/resources/agents/auth/index.mjs +0 -4
  94. package/resources/agents/auth/index.mjs.map +0 -1
  95. package/resources/agents/auth/invocations.d.mts +0 -96
  96. package/resources/agents/auth/invocations.d.mts.map +0 -1
  97. package/resources/agents/auth/invocations.d.ts +0 -96
  98. package/resources/agents/auth/invocations.d.ts.map +0 -1
  99. package/resources/agents/auth/invocations.js +0 -50
  100. package/resources/agents/auth/invocations.js.map +0 -1
  101. package/resources/agents/auth/invocations.mjs +0 -46
  102. package/resources/agents/auth/invocations.mjs.map +0 -1
  103. package/resources/agents/auth.d.mts +0 -2
  104. package/resources/agents/auth.d.mts.map +0 -1
  105. package/resources/agents/auth.d.ts +0 -2
  106. package/resources/agents/auth.d.ts.map +0 -1
  107. package/resources/agents/auth.js +0 -6
  108. package/resources/agents/auth.js.map +0 -1
  109. package/resources/agents/auth.mjs +0 -3
  110. package/resources/agents/auth.mjs.map +0 -1
  111. package/resources/agents/index.d.mts +0 -3
  112. package/resources/agents/index.d.mts.map +0 -1
  113. package/resources/agents/index.d.ts +0 -3
  114. package/resources/agents/index.d.ts.map +0 -1
  115. package/resources/agents/index.js +0 -9
  116. package/resources/agents/index.js.map +0 -1
  117. package/resources/agents/index.mjs +0 -4
  118. package/resources/agents/index.mjs.map +0 -1
  119. package/resources/agents.d.mts +0 -2
  120. package/resources/agents.d.mts.map +0 -1
  121. package/resources/agents.d.ts +0 -2
  122. package/resources/agents.d.ts.map +0 -1
  123. package/resources/agents.js +0 -6
  124. package/resources/agents.js.map +0 -1
  125. package/resources/agents.mjs +0 -3
  126. package/resources/agents.mjs.map +0 -1
  127. package/src/resources/agents/agents.ts +0 -39
  128. package/src/resources/agents/auth/auth.ts +0 -599
  129. package/src/resources/agents/auth/index.ts +0 -22
  130. package/src/resources/agents/auth/invocations.ts +0 -137
  131. package/src/resources/agents/auth.ts +0 -3
  132. package/src/resources/agents/index.ts +0 -16
  133. package/src/resources/agents.ts +0 -3
@@ -1 +1 @@
1
- {"version":3,"file":"auth.mjs","sourceRoot":"","sources":["../../src/resources/auth/auth.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EAML,WAAW,GAQZ;AAED,MAAM,OAAO,IAAK,SAAQ,WAAW;IAArC;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACzF,CAAC;CAAA;AAED,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC"}
1
+ {"version":3,"file":"auth.mjs","sourceRoot":"","sources":["../../src/resources/auth/auth.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,cAAc;OACnB,EAML,WAAW,GAOZ;AAED,MAAM,OAAO,IAAK,SAAQ,WAAW;IAArC;;QACE,gBAAW,GAA+B,IAAI,cAAc,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACzF,CAAC;CAAA;AAED,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC"}
@@ -1,14 +1,13 @@
1
1
  import { APIResource } from "../../core/resource.mjs";
2
2
  import * as Shared from "../shared.mjs";
3
- import * as AuthAPI from "../agents/auth/auth.mjs";
4
3
  import { APIPromise } from "../../core/api-promise.mjs";
5
4
  import { OffsetPagination, type OffsetPaginationParams, PagePromise } from "../../core/pagination.mjs";
6
5
  import { Stream } from "../../core/streaming.mjs";
7
6
  import { RequestOptions } from "../../internal/request-options.mjs";
8
7
  export declare class Connections extends APIResource {
9
8
  /**
10
- * Creates managed authentication for a profile and domain combination. Returns 409
11
- * Conflict if managed auth already exists for the given profile and domain.
9
+ * Creates an auth connection for a profile and domain combination. Returns 409
10
+ * Conflict if an auth connection already exists for the given profile and domain.
12
11
  *
13
12
  * @example
14
13
  * ```ts
@@ -20,8 +19,8 @@ export declare class Connections extends APIResource {
20
19
  */
21
20
  create(body: ConnectionCreateParams, options?: RequestOptions): APIPromise<ManagedAuth>;
22
21
  /**
23
- * Retrieve managed auth by its ID. Includes current flow state if a login is in
24
- * progress.
22
+ * Retrieve an auth connection by its ID. Includes current flow state if a login is
23
+ * in progress.
25
24
  *
26
25
  * @example
27
26
  * ```ts
@@ -32,7 +31,7 @@ export declare class Connections extends APIResource {
32
31
  */
33
32
  retrieve(id: string, options?: RequestOptions): APIPromise<ManagedAuth>;
34
33
  /**
35
- * List managed auths with optional filters for profile_name and domain.
34
+ * List auth connections with optional filters for profile_name and domain.
36
35
  *
37
36
  * @example
38
37
  * ```ts
@@ -44,9 +43,9 @@ export declare class Connections extends APIResource {
44
43
  */
45
44
  list(query?: ConnectionListParams | null | undefined, options?: RequestOptions): PagePromise<ManagedAuthsOffsetPagination, ManagedAuth>;
46
45
  /**
47
- * Deletes managed auth and terminates its workflow. This will:
46
+ * Deletes an auth connection and terminates its workflow. This will:
48
47
  *
49
- * - Delete the managed auth record
48
+ * - Delete the auth connection record
50
49
  * - Terminate the Temporal workflow
51
50
  * - Cancel any in-progress login flows
52
51
  *
@@ -68,8 +67,8 @@ export declare class Connections extends APIResource {
68
67
  */
69
68
  follow(id: string, options?: RequestOptions): APIPromise<Stream<ConnectionFollowResponse>>;
70
69
  /**
71
- * Starts a login flow for the managed auth. Returns immediately with a hosted URL
72
- * for the user to complete authentication, or triggers automatic re-auth if
70
+ * Starts a login flow for the auth connection. Returns immediately with a hosted
71
+ * URL for the user to complete authentication, or triggers automatic re-auth if
73
72
  * credentials are stored.
74
73
  *
75
74
  * @example
@@ -81,38 +80,24 @@ export declare class Connections extends APIResource {
81
80
  */
82
81
  login(id: string, body?: ConnectionLoginParams | null | undefined, options?: RequestOptions): APIPromise<LoginResponse>;
83
82
  /**
84
- * Submits field values for the login form. Poll the managed auth to track progress
85
- * and get results.
83
+ * Submits field values for the login form. Poll the auth connection to track
84
+ * progress and get results.
86
85
  *
87
86
  * @example
88
87
  * ```ts
89
88
  * const submitFieldsResponse =
90
- * await client.auth.connections.submit('id', {
91
- * fields: {
92
- * email: 'user@example.com',
93
- * password: 'secret',
94
- * },
95
- * });
89
+ * await client.auth.connections.submit('id');
96
90
  * ```
97
91
  */
98
92
  submit(id: string, body: ConnectionSubmitParams, options?: RequestOptions): APIPromise<SubmitFieldsResponse>;
99
93
  }
100
94
  export type ManagedAuthsOffsetPagination = OffsetPagination<ManagedAuth>;
101
- /**
102
- * Request to start a login flow
103
- */
104
- export interface LoginRequest {
105
- /**
106
- * If provided, saves credentials under this name upon successful login
107
- */
108
- save_credential_as?: string;
109
- }
110
95
  /**
111
96
  * Response from starting a login flow
112
97
  */
113
98
  export interface LoginResponse {
114
99
  /**
115
- * Managed auth ID
100
+ * Auth connection ID
116
101
  */
117
102
  id: string;
118
103
  /**
@@ -143,7 +128,7 @@ export interface LoginResponse {
143
128
  */
144
129
  export interface ManagedAuth {
145
130
  /**
146
- * Unique identifier for the managed auth
131
+ * Unique identifier for the auth connection
147
132
  */
148
133
  id: string;
149
134
  /**
@@ -151,9 +136,14 @@ export interface ManagedAuth {
151
136
  */
152
137
  domain: string;
153
138
  /**
154
- * Name of the profile associated with this managed auth
139
+ * Name of the profile associated with this auth connection
155
140
  */
156
141
  profile_name: string;
142
+ /**
143
+ * Whether credentials are saved after every successful login. One-time codes
144
+ * (TOTP, SMS, etc.) are not saved.
145
+ */
146
+ save_credentials: boolean;
157
147
  /**
158
148
  * Current authentication status of the managed profile
159
149
  */
@@ -188,7 +178,7 @@ export interface ManagedAuth {
188
178
  */
189
179
  can_reauth_reason?: string;
190
180
  /**
191
- * Reference to credentials for managed auth. Use one of:
181
+ * Reference to credentials for the auth connection. Use one of:
192
182
  *
193
183
  * - { name } for Kernel credentials
194
184
  * - { provider, path } for external provider item
@@ -198,7 +188,11 @@ export interface ManagedAuth {
198
188
  /**
199
189
  * Fields awaiting input (present when flow_step=awaiting_input)
200
190
  */
201
- discovered_fields?: Array<AuthAPI.DiscoveredField> | null;
191
+ discovered_fields?: Array<ManagedAuth.DiscoveredField> | null;
192
+ /**
193
+ * Machine-readable error code (present when flow_status=failed)
194
+ */
195
+ error_code?: string | null;
202
196
  /**
203
197
  * Error message (present when flow_status=failed)
204
198
  */
@@ -227,8 +221,9 @@ export interface ManagedAuth {
227
221
  /**
228
222
  * Interval in seconds between automatic health checks. When set, the system
229
223
  * periodically verifies the authentication status and triggers re-authentication
230
- * if needed. Must be between 300 (5 minutes) and 86400 (24 hours). Default is 3600
231
- * (1 hour).
224
+ * if needed. Maximum is 86400 (24 hours). Default is 3600 (1 hour). The minimum
225
+ * depends on your plan: Enterprise: 300 (5 minutes), Startup: 1200 (20 minutes),
226
+ * Hobbyist: 3600 (1 hour).
232
227
  */
233
228
  health_check_interval?: number | null;
234
229
  /**
@@ -256,6 +251,10 @@ export interface ManagedAuth {
256
251
  * URL where the browser landed after successful login
257
252
  */
258
253
  post_login_url?: string;
254
+ /**
255
+ * ID of the proxy associated with this connection, if any.
256
+ */
257
+ proxy_id?: string;
259
258
  /**
260
259
  * SSO provider being used (e.g., google, github, microsoft)
261
260
  */
@@ -268,7 +267,7 @@ export interface ManagedAuth {
268
267
  }
269
268
  export declare namespace ManagedAuth {
270
269
  /**
271
- * Reference to credentials for managed auth. Use one of:
270
+ * Reference to credentials for the auth connection. Use one of:
272
271
  *
273
272
  * - { name } for Kernel credentials
274
273
  * - { provider, path } for external provider item
@@ -292,6 +291,40 @@ export declare namespace ManagedAuth {
292
291
  */
293
292
  provider?: string;
294
293
  }
294
+ /**
295
+ * A discovered form field
296
+ */
297
+ interface DiscoveredField {
298
+ /**
299
+ * Field label
300
+ */
301
+ label: string;
302
+ /**
303
+ * Field name
304
+ */
305
+ name: string;
306
+ /**
307
+ * CSS selector for the field
308
+ */
309
+ selector: string;
310
+ /**
311
+ * Field type
312
+ */
313
+ type: 'text' | 'email' | 'password' | 'tel' | 'number' | 'url' | 'code' | 'totp';
314
+ /**
315
+ * If this field is associated with an MFA option, the type of that option (e.g.,
316
+ * password field linked to "Enter password" option)
317
+ */
318
+ linked_mfa_type?: 'sms' | 'call' | 'email' | 'totp' | 'push' | 'password' | null;
319
+ /**
320
+ * Field placeholder
321
+ */
322
+ placeholder?: string;
323
+ /**
324
+ * Whether field is required
325
+ */
326
+ required?: boolean;
327
+ }
295
328
  /**
296
329
  * An MFA method option for verification
297
330
  */
@@ -332,7 +365,7 @@ export declare namespace ManagedAuth {
332
365
  }
333
366
  }
334
367
  /**
335
- * Request to create managed auth for a profile and domain
368
+ * Request to create an auth connection for a profile and domain
336
369
  */
337
370
  export interface ManagedAuthCreateRequest {
338
371
  /**
@@ -364,7 +397,7 @@ export interface ManagedAuthCreateRequest {
364
397
  */
365
398
  allowed_domains?: Array<string>;
366
399
  /**
367
- * Reference to credentials for managed auth. Use one of:
400
+ * Reference to credentials for the auth connection. Use one of:
368
401
  *
369
402
  * - { name } for Kernel credentials
370
403
  * - { provider, path } for external provider item
@@ -374,8 +407,9 @@ export interface ManagedAuthCreateRequest {
374
407
  /**
375
408
  * Interval in seconds between automatic health checks. When set, the system
376
409
  * periodically verifies the authentication status and triggers re-authentication
377
- * if needed. Must be between 300 (5 minutes) and 86400 (24 hours). Default is 3600
378
- * (1 hour).
410
+ * if needed. Maximum is 86400 (24 hours). Default is 3600 (1 hour). The minimum
411
+ * depends on your plan: Enterprise: 300 (5 minutes), Startup: 1200 (20 minutes),
412
+ * Hobbyist: 3600 (1 hour).
379
413
  */
380
414
  health_check_interval?: number;
381
415
  /**
@@ -383,13 +417,19 @@ export interface ManagedAuthCreateRequest {
383
417
  */
384
418
  login_url?: string;
385
419
  /**
386
- * Optional proxy configuration
420
+ * Proxy selection. Provide either id or name. The proxy must belong to the
421
+ * caller's org.
387
422
  */
388
423
  proxy?: ManagedAuthCreateRequest.Proxy;
424
+ /**
425
+ * Whether to save credentials after every successful login. Defaults to true.
426
+ * One-time codes (TOTP, SMS, etc.) are not saved.
427
+ */
428
+ save_credentials?: boolean;
389
429
  }
390
430
  export declare namespace ManagedAuthCreateRequest {
391
431
  /**
392
- * Reference to credentials for managed auth. Use one of:
432
+ * Reference to credentials for the auth connection. Use one of:
393
433
  *
394
434
  * - { name } for Kernel credentials
395
435
  * - { provider, path } for external provider item
@@ -414,23 +454,29 @@ export declare namespace ManagedAuthCreateRequest {
414
454
  provider?: string;
415
455
  }
416
456
  /**
417
- * Optional proxy configuration
457
+ * Proxy selection. Provide either id or name. The proxy must belong to the
458
+ * caller's org.
418
459
  */
419
460
  interface Proxy {
420
461
  /**
421
- * ID of the proxy to use
462
+ * Proxy ID
422
463
  */
423
- proxy_id?: string;
464
+ id?: string;
465
+ /**
466
+ * Proxy name
467
+ */
468
+ name?: string;
424
469
  }
425
470
  }
426
471
  /**
427
- * Request to submit field values for login
472
+ * Request to submit field values, click an SSO button, or select an MFA method.
473
+ * Provide exactly one of fields, sso_button_selector, or mfa_option_id.
428
474
  */
429
475
  export interface SubmitFieldsRequest {
430
476
  /**
431
477
  * Map of field name to value
432
478
  */
433
- fields: {
479
+ fields?: {
434
480
  [key: string]: string;
435
481
  };
436
482
  /**
@@ -479,7 +525,11 @@ export declare namespace ConnectionFollowResponse {
479
525
  /**
480
526
  * Fields awaiting input (present when flow_step=AWAITING_INPUT).
481
527
  */
482
- discovered_fields?: Array<AuthAPI.DiscoveredField>;
528
+ discovered_fields?: Array<ManagedAuthStateEvent.DiscoveredField>;
529
+ /**
530
+ * Machine-readable error code (present when flow_status=FAILED).
531
+ */
532
+ error_code?: string;
483
533
  /**
484
534
  * Error message (present when flow_status=FAILED).
485
535
  */
@@ -521,6 +571,40 @@ export declare namespace ConnectionFollowResponse {
521
571
  website_error?: string;
522
572
  }
523
573
  namespace ManagedAuthStateEvent {
574
+ /**
575
+ * A discovered form field
576
+ */
577
+ interface DiscoveredField {
578
+ /**
579
+ * Field label
580
+ */
581
+ label: string;
582
+ /**
583
+ * Field name
584
+ */
585
+ name: string;
586
+ /**
587
+ * CSS selector for the field
588
+ */
589
+ selector: string;
590
+ /**
591
+ * Field type
592
+ */
593
+ type: 'text' | 'email' | 'password' | 'tel' | 'number' | 'url' | 'code' | 'totp';
594
+ /**
595
+ * If this field is associated with an MFA option, the type of that option (e.g.,
596
+ * password field linked to "Enter password" option)
597
+ */
598
+ linked_mfa_type?: 'sms' | 'call' | 'email' | 'totp' | 'push' | 'password' | null;
599
+ /**
600
+ * Field placeholder
601
+ */
602
+ placeholder?: string;
603
+ /**
604
+ * Whether field is required
605
+ */
606
+ required?: boolean;
607
+ }
524
608
  /**
525
609
  * An MFA method option for verification
526
610
  */
@@ -591,7 +675,7 @@ export interface ConnectionCreateParams {
591
675
  */
592
676
  allowed_domains?: Array<string>;
593
677
  /**
594
- * Reference to credentials for managed auth. Use one of:
678
+ * Reference to credentials for the auth connection. Use one of:
595
679
  *
596
680
  * - { name } for Kernel credentials
597
681
  * - { provider, path } for external provider item
@@ -601,8 +685,9 @@ export interface ConnectionCreateParams {
601
685
  /**
602
686
  * Interval in seconds between automatic health checks. When set, the system
603
687
  * periodically verifies the authentication status and triggers re-authentication
604
- * if needed. Must be between 300 (5 minutes) and 86400 (24 hours). Default is 3600
605
- * (1 hour).
688
+ * if needed. Maximum is 86400 (24 hours). Default is 3600 (1 hour). The minimum
689
+ * depends on your plan: Enterprise: 300 (5 minutes), Startup: 1200 (20 minutes),
690
+ * Hobbyist: 3600 (1 hour).
606
691
  */
607
692
  health_check_interval?: number;
608
693
  /**
@@ -610,13 +695,19 @@ export interface ConnectionCreateParams {
610
695
  */
611
696
  login_url?: string;
612
697
  /**
613
- * Optional proxy configuration
698
+ * Proxy selection. Provide either id or name. The proxy must belong to the
699
+ * caller's org.
614
700
  */
615
701
  proxy?: ConnectionCreateParams.Proxy;
702
+ /**
703
+ * Whether to save credentials after every successful login. Defaults to true.
704
+ * One-time codes (TOTP, SMS, etc.) are not saved.
705
+ */
706
+ save_credentials?: boolean;
616
707
  }
617
708
  export declare namespace ConnectionCreateParams {
618
709
  /**
619
- * Reference to credentials for managed auth. Use one of:
710
+ * Reference to credentials for the auth connection. Use one of:
620
711
  *
621
712
  * - { name } for Kernel credentials
622
713
  * - { provider, path } for external provider item
@@ -641,13 +732,18 @@ export declare namespace ConnectionCreateParams {
641
732
  provider?: string;
642
733
  }
643
734
  /**
644
- * Optional proxy configuration
735
+ * Proxy selection. Provide either id or name. The proxy must belong to the
736
+ * caller's org.
645
737
  */
646
738
  interface Proxy {
647
739
  /**
648
- * ID of the proxy to use
740
+ * Proxy ID
649
741
  */
650
- proxy_id?: string;
742
+ id?: string;
743
+ /**
744
+ * Proxy name
745
+ */
746
+ name?: string;
651
747
  }
652
748
  }
653
749
  export interface ConnectionListParams extends OffsetPaginationParams {
@@ -662,15 +758,32 @@ export interface ConnectionListParams extends OffsetPaginationParams {
662
758
  }
663
759
  export interface ConnectionLoginParams {
664
760
  /**
665
- * If provided, saves credentials under this name upon successful login
761
+ * Proxy selection. Provide either id or name. The proxy must belong to the
762
+ * caller's org.
666
763
  */
667
- save_credential_as?: string;
764
+ proxy?: ConnectionLoginParams.Proxy;
765
+ }
766
+ export declare namespace ConnectionLoginParams {
767
+ /**
768
+ * Proxy selection. Provide either id or name. The proxy must belong to the
769
+ * caller's org.
770
+ */
771
+ interface Proxy {
772
+ /**
773
+ * Proxy ID
774
+ */
775
+ id?: string;
776
+ /**
777
+ * Proxy name
778
+ */
779
+ name?: string;
780
+ }
668
781
  }
669
782
  export interface ConnectionSubmitParams {
670
783
  /**
671
784
  * Map of field name to value
672
785
  */
673
- fields: {
786
+ fields?: {
674
787
  [key: string]: string;
675
788
  };
676
789
  /**
@@ -683,6 +796,6 @@ export interface ConnectionSubmitParams {
683
796
  sso_button_selector?: string;
684
797
  }
685
798
  export declare namespace Connections {
686
- export { type LoginRequest as LoginRequest, type LoginResponse as LoginResponse, type ManagedAuth as ManagedAuth, type ManagedAuthCreateRequest as ManagedAuthCreateRequest, type SubmitFieldsRequest as SubmitFieldsRequest, type SubmitFieldsResponse as SubmitFieldsResponse, type ConnectionFollowResponse as ConnectionFollowResponse, type ManagedAuthsOffsetPagination as ManagedAuthsOffsetPagination, type ConnectionCreateParams as ConnectionCreateParams, type ConnectionListParams as ConnectionListParams, type ConnectionLoginParams as ConnectionLoginParams, type ConnectionSubmitParams as ConnectionSubmitParams, };
799
+ export { type LoginResponse as LoginResponse, type ManagedAuth as ManagedAuth, type ManagedAuthCreateRequest as ManagedAuthCreateRequest, type SubmitFieldsRequest as SubmitFieldsRequest, type SubmitFieldsResponse as SubmitFieldsResponse, type ConnectionFollowResponse as ConnectionFollowResponse, type ManagedAuthsOffsetPagination as ManagedAuthsOffsetPagination, type ConnectionCreateParams as ConnectionCreateParams, type ConnectionListParams as ConnectionListParams, type ConnectionLoginParams as ConnectionLoginParams, type ConnectionSubmitParams as ConnectionSubmitParams, };
687
800
  }
688
801
  //# sourceMappingURL=connections.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"connections.d.mts","sourceRoot":"","sources":["../../src/resources/auth/connections.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,MAAM;OACX,KAAK,OAAO;OACZ,EAAE,UAAU,EAAE;OACd,EAAE,gBAAgB,EAAE,KAAK,sBAAsB,EAAE,WAAW,EAAE;OAC9D,EAAE,MAAM,EAAE;OAEV,EAAE,cAAc,EAAE;AAGzB,qBAAa,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,IAAI,EAAE,sBAAsB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC;IAIvF;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC;IAIvE;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,oBAAoB,GAA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