@onkernel/sdk 0.32.0 → 0.33.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 (116) hide show
  1. package/CHANGELOG.md +16 -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 +0 -3
  7. package/client.js.map +1 -1
  8. package/client.mjs +0 -3
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/auth/auth.d.mts +2 -2
  12. package/resources/auth/auth.d.mts.map +1 -1
  13. package/resources/auth/auth.d.ts +2 -2
  14. package/resources/auth/auth.d.ts.map +1 -1
  15. package/resources/auth/auth.js.map +1 -1
  16. package/resources/auth/auth.mjs.map +1 -1
  17. package/resources/auth/connections.d.mts +164 -59
  18. package/resources/auth/connections.d.mts.map +1 -1
  19. package/resources/auth/connections.d.ts +164 -59
  20. package/resources/auth/connections.d.ts.map +1 -1
  21. package/resources/auth/connections.js +12 -17
  22. package/resources/auth/connections.js.map +1 -1
  23. package/resources/auth/connections.mjs +12 -17
  24. package/resources/auth/connections.mjs.map +1 -1
  25. package/resources/auth/index.d.mts +1 -1
  26. package/resources/auth/index.d.mts.map +1 -1
  27. package/resources/auth/index.d.ts +1 -1
  28. package/resources/auth/index.d.ts.map +1 -1
  29. package/resources/auth/index.js.map +1 -1
  30. package/resources/auth/index.mjs.map +1 -1
  31. package/resources/credentials.d.mts +4 -0
  32. package/resources/credentials.d.mts.map +1 -1
  33. package/resources/credentials.d.ts +4 -0
  34. package/resources/credentials.d.ts.map +1 -1
  35. package/resources/index.d.mts +0 -1
  36. package/resources/index.d.mts.map +1 -1
  37. package/resources/index.d.ts +0 -1
  38. package/resources/index.d.ts.map +1 -1
  39. package/resources/index.js +1 -3
  40. package/resources/index.js.map +1 -1
  41. package/resources/index.mjs +0 -1
  42. package/resources/index.mjs.map +1 -1
  43. package/src/client.ts +0 -5
  44. package/src/resources/auth/auth.ts +0 -2
  45. package/src/resources/auth/connections.ts +185 -60
  46. package/src/resources/auth/index.ts +0 -1
  47. package/src/resources/credentials.ts +5 -0
  48. package/src/resources/index.ts +0 -1
  49. package/src/version.ts +1 -1
  50. package/version.d.mts +1 -1
  51. package/version.d.ts +1 -1
  52. package/version.js +1 -1
  53. package/version.mjs +1 -1
  54. package/resources/agents/agents.d.mts +0 -10
  55. package/resources/agents/agents.d.mts.map +0 -1
  56. package/resources/agents/agents.d.ts +0 -10
  57. package/resources/agents/agents.d.ts.map +0 -1
  58. package/resources/agents/agents.js +0 -17
  59. package/resources/agents/agents.js.map +0 -1
  60. package/resources/agents/agents.mjs +0 -12
  61. package/resources/agents/agents.mjs.map +0 -1
  62. package/resources/agents/auth/auth.d.mts +0 -474
  63. package/resources/agents/auth/auth.d.mts.map +0 -1
  64. package/resources/agents/auth/auth.d.ts +0 -474
  65. package/resources/agents/auth/auth.d.ts.map +0 -1
  66. package/resources/agents/auth/auth.js +0 -66
  67. package/resources/agents/auth/auth.js.map +0 -1
  68. package/resources/agents/auth/auth.mjs +0 -61
  69. package/resources/agents/auth/auth.mjs.map +0 -1
  70. package/resources/agents/auth/index.d.mts +0 -3
  71. package/resources/agents/auth/index.d.mts.map +0 -1
  72. package/resources/agents/auth/index.d.ts +0 -3
  73. package/resources/agents/auth/index.d.ts.map +0 -1
  74. package/resources/agents/auth/index.js +0 -9
  75. package/resources/agents/auth/index.js.map +0 -1
  76. package/resources/agents/auth/index.mjs +0 -4
  77. package/resources/agents/auth/index.mjs.map +0 -1
  78. package/resources/agents/auth/invocations.d.mts +0 -96
  79. package/resources/agents/auth/invocations.d.mts.map +0 -1
  80. package/resources/agents/auth/invocations.d.ts +0 -96
  81. package/resources/agents/auth/invocations.d.ts.map +0 -1
  82. package/resources/agents/auth/invocations.js +0 -50
  83. package/resources/agents/auth/invocations.js.map +0 -1
  84. package/resources/agents/auth/invocations.mjs +0 -46
  85. package/resources/agents/auth/invocations.mjs.map +0 -1
  86. package/resources/agents/auth.d.mts +0 -2
  87. package/resources/agents/auth.d.mts.map +0 -1
  88. package/resources/agents/auth.d.ts +0 -2
  89. package/resources/agents/auth.d.ts.map +0 -1
  90. package/resources/agents/auth.js +0 -6
  91. package/resources/agents/auth.js.map +0 -1
  92. package/resources/agents/auth.mjs +0 -3
  93. package/resources/agents/auth.mjs.map +0 -1
  94. package/resources/agents/index.d.mts +0 -3
  95. package/resources/agents/index.d.mts.map +0 -1
  96. package/resources/agents/index.d.ts +0 -3
  97. package/resources/agents/index.d.ts.map +0 -1
  98. package/resources/agents/index.js +0 -9
  99. package/resources/agents/index.js.map +0 -1
  100. package/resources/agents/index.mjs +0 -4
  101. package/resources/agents/index.mjs.map +0 -1
  102. package/resources/agents.d.mts +0 -2
  103. package/resources/agents.d.mts.map +0 -1
  104. package/resources/agents.d.ts +0 -2
  105. package/resources/agents.d.ts.map +0 -1
  106. package/resources/agents.js +0 -6
  107. package/resources/agents.js.map +0 -1
  108. package/resources/agents.mjs +0 -3
  109. package/resources/agents.mjs.map +0 -1
  110. package/src/resources/agents/agents.ts +0 -39
  111. package/src/resources/agents/auth/auth.ts +0 -599
  112. package/src/resources/agents/auth/index.ts +0 -22
  113. package/src/resources/agents/auth/invocations.ts +0 -137
  114. package/src/resources/agents/auth.ts +0 -3
  115. package/src/resources/agents/index.ts +0 -16
  116. package/src/resources/agents.ts +0 -3
@@ -2,7 +2,6 @@
2
2
 
3
3
  import { APIResource } from '../../core/resource';
4
4
  import * as Shared from '../shared';
5
- import * as AuthAPI from '../agents/auth/auth';
6
5
  import { APIPromise } from '../../core/api-promise';
7
6
  import { OffsetPagination, type OffsetPaginationParams, PagePromise } from '../../core/pagination';
8
7
  import { Stream } from '../../core/streaming';
@@ -12,8 +11,8 @@ import { path } from '../../internal/utils/path';
12
11
 
13
12
  export class Connections extends APIResource {
14
13
  /**
15
- * Creates managed authentication for a profile and domain combination. Returns 409
16
- * Conflict if managed auth already exists for the given profile and domain.
14
+ * Creates an auth connection for a profile and domain combination. Returns 409
15
+ * Conflict if an auth connection already exists for the given profile and domain.
17
16
  *
18
17
  * @example
19
18
  * ```ts
@@ -28,8 +27,8 @@ export class Connections extends APIResource {
28
27
  }
29
28
 
30
29
  /**
31
- * Retrieve managed auth by its ID. Includes current flow state if a login is in
32
- * progress.
30
+ * Retrieve an auth connection by its ID. Includes current flow state if a login is
31
+ * in progress.
33
32
  *
34
33
  * @example
35
34
  * ```ts
@@ -43,7 +42,7 @@ export class Connections extends APIResource {
43
42
  }
44
43
 
45
44
  /**
46
- * List managed auths with optional filters for profile_name and domain.
45
+ * List auth connections with optional filters for profile_name and domain.
47
46
  *
48
47
  * @example
49
48
  * ```ts
@@ -61,9 +60,9 @@ export class Connections extends APIResource {
61
60
  }
62
61
 
63
62
  /**
64
- * Deletes managed auth and terminates its workflow. This will:
63
+ * Deletes an auth connection and terminates its workflow. This will:
65
64
  *
66
- * - Delete the managed auth record
65
+ * - Delete the auth connection record
67
66
  * - Terminate the Temporal workflow
68
67
  * - Cancel any in-progress login flows
69
68
  *
@@ -98,8 +97,8 @@ export class Connections extends APIResource {
98
97
  }
99
98
 
100
99
  /**
101
- * Starts a login flow for the managed auth. Returns immediately with a hosted URL
102
- * for the user to complete authentication, or triggers automatic re-auth if
100
+ * Starts a login flow for the auth connection. Returns immediately with a hosted
101
+ * URL for the user to complete authentication, or triggers automatic re-auth if
103
102
  * credentials are stored.
104
103
  *
105
104
  * @example
@@ -118,18 +117,13 @@ export class Connections extends APIResource {
118
117
  }
119
118
 
120
119
  /**
121
- * Submits field values for the login form. Poll the managed auth to track progress
122
- * and get results.
120
+ * Submits field values for the login form. Poll the auth connection to track
121
+ * progress and get results.
123
122
  *
124
123
  * @example
125
124
  * ```ts
126
125
  * const submitFieldsResponse =
127
- * await client.auth.connections.submit('id', {
128
- * fields: {
129
- * email: 'user@example.com',
130
- * password: 'secret',
131
- * },
132
- * });
126
+ * await client.auth.connections.submit('id');
133
127
  * ```
134
128
  */
135
129
  submit(
@@ -143,22 +137,12 @@ export class Connections extends APIResource {
143
137
 
144
138
  export type ManagedAuthsOffsetPagination = OffsetPagination<ManagedAuth>;
145
139
 
146
- /**
147
- * Request to start a login flow
148
- */
149
- export interface LoginRequest {
150
- /**
151
- * If provided, saves credentials under this name upon successful login
152
- */
153
- save_credential_as?: string;
154
- }
155
-
156
140
  /**
157
141
  * Response from starting a login flow
158
142
  */
159
143
  export interface LoginResponse {
160
144
  /**
161
- * Managed auth ID
145
+ * Auth connection ID
162
146
  */
163
147
  id: string;
164
148
 
@@ -195,7 +179,7 @@ export interface LoginResponse {
195
179
  */
196
180
  export interface ManagedAuth {
197
181
  /**
198
- * Unique identifier for the managed auth
182
+ * Unique identifier for the auth connection
199
183
  */
200
184
  id: string;
201
185
 
@@ -205,10 +189,16 @@ export interface ManagedAuth {
205
189
  domain: string;
206
190
 
207
191
  /**
208
- * Name of the profile associated with this managed auth
192
+ * Name of the profile associated with this auth connection
209
193
  */
210
194
  profile_name: string;
211
195
 
196
+ /**
197
+ * Whether credentials are saved after every successful login. One-time codes
198
+ * (TOTP, SMS, etc.) are not saved.
199
+ */
200
+ save_credentials: boolean;
201
+
212
202
  /**
213
203
  * Current authentication status of the managed profile
214
204
  */
@@ -247,7 +237,7 @@ export interface ManagedAuth {
247
237
  can_reauth_reason?: string;
248
238
 
249
239
  /**
250
- * Reference to credentials for managed auth. Use one of:
240
+ * Reference to credentials for the auth connection. Use one of:
251
241
  *
252
242
  * - { name } for Kernel credentials
253
243
  * - { provider, path } for external provider item
@@ -258,7 +248,7 @@ export interface ManagedAuth {
258
248
  /**
259
249
  * Fields awaiting input (present when flow_step=awaiting_input)
260
250
  */
261
- discovered_fields?: Array<AuthAPI.DiscoveredField> | null;
251
+ discovered_fields?: Array<ManagedAuth.DiscoveredField> | null;
262
252
 
263
253
  /**
264
254
  * Error message (present when flow_status=failed)
@@ -300,8 +290,9 @@ export interface ManagedAuth {
300
290
  /**
301
291
  * Interval in seconds between automatic health checks. When set, the system
302
292
  * periodically verifies the authentication status and triggers re-authentication
303
- * if needed. Must be between 300 (5 minutes) and 86400 (24 hours). Default is 3600
304
- * (1 hour).
293
+ * if needed. Maximum is 86400 (24 hours). Default is 3600 (1 hour). The minimum
294
+ * depends on your plan: Enterprise: 300 (5 minutes), Startup: 1200 (20 minutes),
295
+ * Hobbyist: 3600 (1 hour).
305
296
  */
306
297
  health_check_interval?: number | null;
307
298
 
@@ -336,6 +327,11 @@ export interface ManagedAuth {
336
327
  */
337
328
  post_login_url?: string;
338
329
 
330
+ /**
331
+ * ID of the proxy associated with this connection, if any.
332
+ */
333
+ proxy_id?: string;
334
+
339
335
  /**
340
336
  * SSO provider being used (e.g., google, github, microsoft)
341
337
  */
@@ -350,7 +346,7 @@ export interface ManagedAuth {
350
346
 
351
347
  export namespace ManagedAuth {
352
348
  /**
353
- * Reference to credentials for managed auth. Use one of:
349
+ * Reference to credentials for the auth connection. Use one of:
354
350
  *
355
351
  * - { name } for Kernel credentials
356
352
  * - { provider, path } for external provider item
@@ -378,6 +374,47 @@ export namespace ManagedAuth {
378
374
  provider?: string;
379
375
  }
380
376
 
377
+ /**
378
+ * A discovered form field
379
+ */
380
+ export interface DiscoveredField {
381
+ /**
382
+ * Field label
383
+ */
384
+ label: string;
385
+
386
+ /**
387
+ * Field name
388
+ */
389
+ name: string;
390
+
391
+ /**
392
+ * CSS selector for the field
393
+ */
394
+ selector: string;
395
+
396
+ /**
397
+ * Field type
398
+ */
399
+ type: 'text' | 'email' | 'password' | 'tel' | 'number' | 'url' | 'code' | 'totp';
400
+
401
+ /**
402
+ * If this field is associated with an MFA option, the type of that option (e.g.,
403
+ * password field linked to "Enter password" option)
404
+ */
405
+ linked_mfa_type?: 'sms' | 'call' | 'email' | 'totp' | 'push' | 'password' | null;
406
+
407
+ /**
408
+ * Field placeholder
409
+ */
410
+ placeholder?: string;
411
+
412
+ /**
413
+ * Whether field is required
414
+ */
415
+ required?: boolean;
416
+ }
417
+
381
418
  /**
382
419
  * An MFA method option for verification
383
420
  */
@@ -425,7 +462,7 @@ export namespace ManagedAuth {
425
462
  }
426
463
 
427
464
  /**
428
- * Request to create managed auth for a profile and domain
465
+ * Request to create an auth connection for a profile and domain
429
466
  */
430
467
  export interface ManagedAuthCreateRequest {
431
468
  /**
@@ -460,7 +497,7 @@ export interface ManagedAuthCreateRequest {
460
497
  allowed_domains?: Array<string>;
461
498
 
462
499
  /**
463
- * Reference to credentials for managed auth. Use one of:
500
+ * Reference to credentials for the auth connection. Use one of:
464
501
  *
465
502
  * - { name } for Kernel credentials
466
503
  * - { provider, path } for external provider item
@@ -471,8 +508,9 @@ export interface ManagedAuthCreateRequest {
471
508
  /**
472
509
  * Interval in seconds between automatic health checks. When set, the system
473
510
  * periodically verifies the authentication status and triggers re-authentication
474
- * if needed. Must be between 300 (5 minutes) and 86400 (24 hours). Default is 3600
475
- * (1 hour).
511
+ * if needed. Maximum is 86400 (24 hours). Default is 3600 (1 hour). The minimum
512
+ * depends on your plan: Enterprise: 300 (5 minutes), Startup: 1200 (20 minutes),
513
+ * Hobbyist: 3600 (1 hour).
476
514
  */
477
515
  health_check_interval?: number;
478
516
 
@@ -482,14 +520,21 @@ export interface ManagedAuthCreateRequest {
482
520
  login_url?: string;
483
521
 
484
522
  /**
485
- * Optional proxy configuration
523
+ * Proxy selection. Provide either id or name. The proxy must belong to the
524
+ * caller's org.
486
525
  */
487
526
  proxy?: ManagedAuthCreateRequest.Proxy;
527
+
528
+ /**
529
+ * Whether to save credentials after every successful login. Defaults to true.
530
+ * One-time codes (TOTP, SMS, etc.) are not saved.
531
+ */
532
+ save_credentials?: boolean;
488
533
  }
489
534
 
490
535
  export namespace ManagedAuthCreateRequest {
491
536
  /**
492
- * Reference to credentials for managed auth. Use one of:
537
+ * Reference to credentials for the auth connection. Use one of:
493
538
  *
494
539
  * - { name } for Kernel credentials
495
540
  * - { provider, path } for external provider item
@@ -518,24 +563,31 @@ export namespace ManagedAuthCreateRequest {
518
563
  }
519
564
 
520
565
  /**
521
- * Optional proxy configuration
566
+ * Proxy selection. Provide either id or name. The proxy must belong to the
567
+ * caller's org.
522
568
  */
523
569
  export interface Proxy {
524
570
  /**
525
- * ID of the proxy to use
571
+ * Proxy ID
526
572
  */
527
- proxy_id?: string;
573
+ id?: string;
574
+
575
+ /**
576
+ * Proxy name
577
+ */
578
+ name?: string;
528
579
  }
529
580
  }
530
581
 
531
582
  /**
532
- * Request to submit field values for login
583
+ * Request to submit field values, click an SSO button, or select an MFA method.
584
+ * Provide exactly one of fields, sso_button_selector, or mfa_option_id.
533
585
  */
534
586
  export interface SubmitFieldsRequest {
535
587
  /**
536
588
  * Map of field name to value
537
589
  */
538
- fields: { [key: string]: string };
590
+ fields?: { [key: string]: string };
539
591
 
540
592
  /**
541
593
  * Optional MFA option ID if user selected an MFA method
@@ -594,7 +646,7 @@ export namespace ConnectionFollowResponse {
594
646
  /**
595
647
  * Fields awaiting input (present when flow_step=AWAITING_INPUT).
596
648
  */
597
- discovered_fields?: Array<AuthAPI.DiscoveredField>;
649
+ discovered_fields?: Array<ManagedAuthStateEvent.DiscoveredField>;
598
650
 
599
651
  /**
600
652
  * Error message (present when flow_status=FAILED).
@@ -646,6 +698,47 @@ export namespace ConnectionFollowResponse {
646
698
  }
647
699
 
648
700
  export namespace ManagedAuthStateEvent {
701
+ /**
702
+ * A discovered form field
703
+ */
704
+ export interface DiscoveredField {
705
+ /**
706
+ * Field label
707
+ */
708
+ label: string;
709
+
710
+ /**
711
+ * Field name
712
+ */
713
+ name: string;
714
+
715
+ /**
716
+ * CSS selector for the field
717
+ */
718
+ selector: string;
719
+
720
+ /**
721
+ * Field type
722
+ */
723
+ type: 'text' | 'email' | 'password' | 'tel' | 'number' | 'url' | 'code' | 'totp';
724
+
725
+ /**
726
+ * If this field is associated with an MFA option, the type of that option (e.g.,
727
+ * password field linked to "Enter password" option)
728
+ */
729
+ linked_mfa_type?: 'sms' | 'call' | 'email' | 'totp' | 'push' | 'password' | null;
730
+
731
+ /**
732
+ * Field placeholder
733
+ */
734
+ placeholder?: string;
735
+
736
+ /**
737
+ * Whether field is required
738
+ */
739
+ required?: boolean;
740
+ }
741
+
649
742
  /**
650
743
  * An MFA method option for verification
651
744
  */
@@ -726,7 +819,7 @@ export interface ConnectionCreateParams {
726
819
  allowed_domains?: Array<string>;
727
820
 
728
821
  /**
729
- * Reference to credentials for managed auth. Use one of:
822
+ * Reference to credentials for the auth connection. Use one of:
730
823
  *
731
824
  * - { name } for Kernel credentials
732
825
  * - { provider, path } for external provider item
@@ -737,8 +830,9 @@ export interface ConnectionCreateParams {
737
830
  /**
738
831
  * Interval in seconds between automatic health checks. When set, the system
739
832
  * periodically verifies the authentication status and triggers re-authentication
740
- * if needed. Must be between 300 (5 minutes) and 86400 (24 hours). Default is 3600
741
- * (1 hour).
833
+ * if needed. Maximum is 86400 (24 hours). Default is 3600 (1 hour). The minimum
834
+ * depends on your plan: Enterprise: 300 (5 minutes), Startup: 1200 (20 minutes),
835
+ * Hobbyist: 3600 (1 hour).
742
836
  */
743
837
  health_check_interval?: number;
744
838
 
@@ -748,14 +842,21 @@ export interface ConnectionCreateParams {
748
842
  login_url?: string;
749
843
 
750
844
  /**
751
- * Optional proxy configuration
845
+ * Proxy selection. Provide either id or name. The proxy must belong to the
846
+ * caller's org.
752
847
  */
753
848
  proxy?: ConnectionCreateParams.Proxy;
849
+
850
+ /**
851
+ * Whether to save credentials after every successful login. Defaults to true.
852
+ * One-time codes (TOTP, SMS, etc.) are not saved.
853
+ */
854
+ save_credentials?: boolean;
754
855
  }
755
856
 
756
857
  export namespace ConnectionCreateParams {
757
858
  /**
758
- * Reference to credentials for managed auth. Use one of:
859
+ * Reference to credentials for the auth connection. Use one of:
759
860
  *
760
861
  * - { name } for Kernel credentials
761
862
  * - { provider, path } for external provider item
@@ -784,13 +885,19 @@ export namespace ConnectionCreateParams {
784
885
  }
785
886
 
786
887
  /**
787
- * Optional proxy configuration
888
+ * Proxy selection. Provide either id or name. The proxy must belong to the
889
+ * caller's org.
788
890
  */
789
891
  export interface Proxy {
790
892
  /**
791
- * ID of the proxy to use
893
+ * Proxy ID
792
894
  */
793
- proxy_id?: string;
895
+ id?: string;
896
+
897
+ /**
898
+ * Proxy name
899
+ */
900
+ name?: string;
794
901
  }
795
902
  }
796
903
 
@@ -808,16 +915,35 @@ export interface ConnectionListParams extends OffsetPaginationParams {
808
915
 
809
916
  export interface ConnectionLoginParams {
810
917
  /**
811
- * If provided, saves credentials under this name upon successful login
918
+ * Proxy selection. Provide either id or name. The proxy must belong to the
919
+ * caller's org.
920
+ */
921
+ proxy?: ConnectionLoginParams.Proxy;
922
+ }
923
+
924
+ export namespace ConnectionLoginParams {
925
+ /**
926
+ * Proxy selection. Provide either id or name. The proxy must belong to the
927
+ * caller's org.
812
928
  */
813
- save_credential_as?: string;
929
+ export interface Proxy {
930
+ /**
931
+ * Proxy ID
932
+ */
933
+ id?: string;
934
+
935
+ /**
936
+ * Proxy name
937
+ */
938
+ name?: string;
939
+ }
814
940
  }
815
941
 
816
942
  export interface ConnectionSubmitParams {
817
943
  /**
818
944
  * Map of field name to value
819
945
  */
820
- fields: { [key: string]: string };
946
+ fields?: { [key: string]: string };
821
947
 
822
948
  /**
823
949
  * Optional MFA option ID if user selected an MFA method
@@ -832,7 +958,6 @@ export interface ConnectionSubmitParams {
832
958
 
833
959
  export declare namespace Connections {
834
960
  export {
835
- type LoginRequest as LoginRequest,
836
961
  type LoginResponse as LoginResponse,
837
962
  type ManagedAuth as ManagedAuth,
838
963
  type ManagedAuthCreateRequest as ManagedAuthCreateRequest,
@@ -3,7 +3,6 @@
3
3
  export { Auth } from './auth';
4
4
  export {
5
5
  Connections,
6
- type LoginRequest,
7
6
  type LoginResponse,
8
7
  type ManagedAuth,
9
8
  type ManagedAuthCreateRequest,
@@ -177,6 +177,11 @@ export interface Credential {
177
177
  */
178
178
  has_totp_secret?: boolean;
179
179
 
180
+ /**
181
+ * Whether this credential has stored values (email, password, etc.)
182
+ */
183
+ has_values?: boolean;
184
+
180
185
  /**
181
186
  * If set, indicates this credential should be used with the specified SSO provider
182
187
  * (e.g., google, github, microsoft). When the target site has a matching SSO
@@ -1,7 +1,6 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  export * from './shared';
4
- export { Agents } from './agents/agents';
5
4
  export {
6
5
  Apps,
7
6
  type AppListResponse,
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.32.0'; // x-release-please-version
1
+ export const VERSION = '0.33.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.32.0";
1
+ export declare const VERSION = "0.33.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.32.0";
1
+ export declare const VERSION = "0.33.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.32.0'; // x-release-please-version
4
+ exports.VERSION = '0.33.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.32.0'; // x-release-please-version
1
+ export const VERSION = '0.33.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map
@@ -1,10 +0,0 @@
1
- import { APIResource } from "../../core/resource.mjs";
2
- import * as AuthAPI from "./auth/auth.mjs";
3
- import { AgentAuthInvocationResponse, AgentAuthSubmitResponse, Auth, AuthAgent, AuthAgentCreateRequest, AuthAgentInvocationCreateRequest, AuthAgentInvocationCreateResponse, AuthAgentsOffsetPagination, AuthCreateParams, AuthListParams, DiscoveredField } from "./auth/auth.mjs";
4
- export declare class Agents extends APIResource {
5
- auth: AuthAPI.Auth;
6
- }
7
- export declare namespace Agents {
8
- export { Auth as Auth, type AgentAuthInvocationResponse as AgentAuthInvocationResponse, type AgentAuthSubmitResponse as AgentAuthSubmitResponse, type AuthAgent as AuthAgent, type AuthAgentCreateRequest as AuthAgentCreateRequest, type AuthAgentInvocationCreateRequest as AuthAgentInvocationCreateRequest, type AuthAgentInvocationCreateResponse as AuthAgentInvocationCreateResponse, type DiscoveredField as DiscoveredField, type AuthAgentsOffsetPagination as AuthAgentsOffsetPagination, type AuthCreateParams as AuthCreateParams, type AuthListParams as AuthListParams, };
9
- }
10
- //# sourceMappingURL=agents.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agents.d.mts","sourceRoot":"","sources":["../../src/resources/agents/agents.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EACL,2BAA2B,EAC3B,uBAAuB,EACvB,IAAI,EACJ,SAAS,EACT,sBAAsB,EACtB,gCAAgC,EAChC,iCAAiC,EACjC,0BAA0B,EAC1B,gBAAgB,EAChB,cAAc,EACd,eAAe,EAChB;AAED,qBAAa,MAAO,SAAQ,WAAW;IACrC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;CACrD;AAID,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,IAAI,IAAI,IAAI,EACZ,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;CACH"}
@@ -1,10 +0,0 @@
1
- import { APIResource } from "../../core/resource.js";
2
- import * as AuthAPI from "./auth/auth.js";
3
- import { AgentAuthInvocationResponse, AgentAuthSubmitResponse, Auth, AuthAgent, AuthAgentCreateRequest, AuthAgentInvocationCreateRequest, AuthAgentInvocationCreateResponse, AuthAgentsOffsetPagination, AuthCreateParams, AuthListParams, DiscoveredField } from "./auth/auth.js";
4
- export declare class Agents extends APIResource {
5
- auth: AuthAPI.Auth;
6
- }
7
- export declare namespace Agents {
8
- export { Auth as Auth, type AgentAuthInvocationResponse as AgentAuthInvocationResponse, type AgentAuthSubmitResponse as AgentAuthSubmitResponse, type AuthAgent as AuthAgent, type AuthAgentCreateRequest as AuthAgentCreateRequest, type AuthAgentInvocationCreateRequest as AuthAgentInvocationCreateRequest, type AuthAgentInvocationCreateResponse as AuthAgentInvocationCreateResponse, type DiscoveredField as DiscoveredField, type AuthAgentsOffsetPagination as AuthAgentsOffsetPagination, type AuthCreateParams as AuthCreateParams, type AuthListParams as AuthListParams, };
9
- }
10
- //# sourceMappingURL=agents.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../src/resources/agents/agents.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EACL,2BAA2B,EAC3B,uBAAuB,EACvB,IAAI,EACJ,SAAS,EACT,sBAAsB,EACtB,gCAAgC,EAChC,iCAAiC,EACjC,0BAA0B,EAC1B,gBAAgB,EAChB,cAAc,EACd,eAAe,EAChB;AAED,qBAAa,MAAO,SAAQ,WAAW;IACrC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;CACrD;AAID,MAAM,CAAC,OAAO,WAAW,MAAM,CAAC;IAC9B,OAAO,EACL,IAAI,IAAI,IAAI,EACZ,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,SAAS,IAAI,SAAS,EAC3B,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,cAAc,IAAI,cAAc,GACtC,CAAC;CACH"}
@@ -1,17 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Agents = void 0;
5
- const tslib_1 = require("../../internal/tslib.js");
6
- const resource_1 = require("../../core/resource.js");
7
- const AuthAPI = tslib_1.__importStar(require("./auth/auth.js"));
8
- const auth_1 = require("./auth/auth.js");
9
- class Agents extends resource_1.APIResource {
10
- constructor() {
11
- super(...arguments);
12
- this.auth = new AuthAPI.Auth(this._client);
13
- }
14
- }
15
- exports.Agents = Agents;
16
- Agents.Auth = auth_1.Auth;
17
- //# sourceMappingURL=agents.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agents.js","sourceRoot":"","sources":["../../src/resources/agents/agents.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,gEAAuC;AACvC,yCAYqB;AAErB,MAAa,MAAO,SAAQ,sBAAW;IAAvC;;QACE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACtD,CAAC;CAAA;AAFD,wBAEC;AAED,MAAM,CAAC,IAAI,GAAG,WAAI,CAAC"}
@@ -1,12 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../../core/resource.mjs";
3
- import * as AuthAPI from "./auth/auth.mjs";
4
- import { Auth, } from "./auth/auth.mjs";
5
- export class Agents extends APIResource {
6
- constructor() {
7
- super(...arguments);
8
- this.auth = new AuthAPI.Auth(this._client);
9
- }
10
- }
11
- Agents.Auth = Auth;
12
- //# sourceMappingURL=agents.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"agents.mjs","sourceRoot":"","sources":["../../src/resources/agents/agents.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,OAAO;OACZ,EAGL,IAAI,GASL;AAED,MAAM,OAAO,MAAO,SAAQ,WAAW;IAAvC;;QACE,SAAI,GAAiB,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACtD,CAAC;CAAA;AAED,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC"}