@onkernel/sdk 0.23.0 → 0.24.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 (74) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/client.d.mts +5 -2
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +5 -2
  5. package/client.d.ts.map +1 -1
  6. package/client.js +3 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +3 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/agents/agents.d.mts +2 -2
  12. package/resources/agents/agents.d.mts.map +1 -1
  13. package/resources/agents/agents.d.ts +2 -2
  14. package/resources/agents/agents.d.ts.map +1 -1
  15. package/resources/agents/agents.js.map +1 -1
  16. package/resources/agents/agents.mjs.map +1 -1
  17. package/resources/agents/auth/auth.d.mts +113 -15
  18. package/resources/agents/auth/auth.d.mts.map +1 -1
  19. package/resources/agents/auth/auth.d.ts +113 -15
  20. package/resources/agents/auth/auth.d.ts.map +1 -1
  21. package/resources/agents/auth/auth.js +35 -0
  22. package/resources/agents/auth/auth.js.map +1 -1
  23. package/resources/agents/auth/auth.mjs +35 -0
  24. package/resources/agents/auth/auth.mjs.map +1 -1
  25. package/resources/agents/auth/index.d.mts +1 -1
  26. package/resources/agents/auth/index.d.mts.map +1 -1
  27. package/resources/agents/auth/index.d.ts +1 -1
  28. package/resources/agents/auth/index.d.ts.map +1 -1
  29. package/resources/agents/auth/index.js.map +1 -1
  30. package/resources/agents/auth/index.mjs.map +1 -1
  31. package/resources/agents/auth/invocations.d.mts +6 -0
  32. package/resources/agents/auth/invocations.d.mts.map +1 -1
  33. package/resources/agents/auth/invocations.d.ts +6 -0
  34. package/resources/agents/auth/invocations.d.ts.map +1 -1
  35. package/resources/agents/index.d.mts +1 -1
  36. package/resources/agents/index.d.mts.map +1 -1
  37. package/resources/agents/index.d.ts +1 -1
  38. package/resources/agents/index.d.ts.map +1 -1
  39. package/resources/agents/index.js.map +1 -1
  40. package/resources/agents/index.mjs.map +1 -1
  41. package/resources/browser-pools.d.mts +63 -98
  42. package/resources/browser-pools.d.mts.map +1 -1
  43. package/resources/browser-pools.d.ts +63 -98
  44. package/resources/browser-pools.d.ts.map +1 -1
  45. package/resources/credentials.d.mts +163 -0
  46. package/resources/credentials.d.mts.map +1 -0
  47. package/resources/credentials.d.ts +163 -0
  48. package/resources/credentials.d.ts.map +1 -0
  49. package/resources/credentials.js +82 -0
  50. package/resources/credentials.js.map +1 -0
  51. package/resources/credentials.mjs +78 -0
  52. package/resources/credentials.mjs.map +1 -0
  53. package/resources/index.d.mts +2 -1
  54. package/resources/index.d.mts.map +1 -1
  55. package/resources/index.d.ts +2 -1
  56. package/resources/index.d.ts.map +1 -1
  57. package/resources/index.js +3 -1
  58. package/resources/index.js.map +1 -1
  59. package/resources/index.mjs +1 -0
  60. package/resources/index.mjs.map +1 -1
  61. package/src/client.ts +23 -8
  62. package/src/resources/agents/agents.ts +2 -0
  63. package/src/resources/agents/auth/auth.ts +138 -14
  64. package/src/resources/agents/auth/index.ts +1 -0
  65. package/src/resources/agents/auth/invocations.ts +7 -0
  66. package/src/resources/agents/index.ts +1 -0
  67. package/src/resources/browser-pools.ts +72 -115
  68. package/src/resources/credentials.ts +205 -0
  69. package/src/resources/index.ts +10 -4
  70. package/src/version.ts +1 -1
  71. package/version.d.mts +1 -1
  72. package/version.d.ts +1 -1
  73. package/version.js +1 -1
  74. package/version.mjs +1 -1
@@ -0,0 +1,163 @@
1
+ import { APIResource } from "../core/resource.js";
2
+ import { APIPromise } from "../core/api-promise.js";
3
+ import { OffsetPagination, type OffsetPaginationParams, PagePromise } from "../core/pagination.js";
4
+ import { RequestOptions } from "../internal/request-options.js";
5
+ export declare class Credentials extends APIResource {
6
+ /**
7
+ * Create a new credential for storing login information. Values are encrypted at
8
+ * rest.
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * const credential = await client.credentials.create({
13
+ * domain: 'netflix.com',
14
+ * name: 'my-netflix-login',
15
+ * values: {
16
+ * username: 'user@example.com',
17
+ * password: 'mysecretpassword',
18
+ * },
19
+ * });
20
+ * ```
21
+ */
22
+ create(body: CredentialCreateParams, options?: RequestOptions): APIPromise<Credential>;
23
+ /**
24
+ * Retrieve a credential by its ID. Credential values are not returned.
25
+ *
26
+ * @example
27
+ * ```ts
28
+ * const credential = await client.credentials.retrieve('id');
29
+ * ```
30
+ */
31
+ retrieve(id: string, options?: RequestOptions): APIPromise<Credential>;
32
+ /**
33
+ * Update a credential's name or values. Values are encrypted at rest.
34
+ *
35
+ * @example
36
+ * ```ts
37
+ * const credential = await client.credentials.update('id');
38
+ * ```
39
+ */
40
+ update(id: string, body: CredentialUpdateParams, options?: RequestOptions): APIPromise<Credential>;
41
+ /**
42
+ * List credentials owned by the caller's organization. Credential values are not
43
+ * returned.
44
+ *
45
+ * @example
46
+ * ```ts
47
+ * // Automatically fetches more pages as needed.
48
+ * for await (const credential of client.credentials.list()) {
49
+ * // ...
50
+ * }
51
+ * ```
52
+ */
53
+ list(query?: CredentialListParams | null | undefined, options?: RequestOptions): PagePromise<CredentialsOffsetPagination, Credential>;
54
+ /**
55
+ * Delete a credential by its ID.
56
+ *
57
+ * @example
58
+ * ```ts
59
+ * await client.credentials.delete('id');
60
+ * ```
61
+ */
62
+ delete(id: string, options?: RequestOptions): APIPromise<void>;
63
+ }
64
+ export type CredentialsOffsetPagination = OffsetPagination<Credential>;
65
+ /**
66
+ * Request to create a new credential
67
+ */
68
+ export interface CreateCredentialRequest {
69
+ /**
70
+ * Target domain this credential is for
71
+ */
72
+ domain: string;
73
+ /**
74
+ * Unique name for the credential within the organization
75
+ */
76
+ name: string;
77
+ /**
78
+ * Field name to value mapping (e.g., username, password)
79
+ */
80
+ values: {
81
+ [key: string]: string;
82
+ };
83
+ }
84
+ /**
85
+ * A stored credential for automatic re-authentication
86
+ */
87
+ export interface Credential {
88
+ /**
89
+ * Unique identifier for the credential
90
+ */
91
+ id: string;
92
+ /**
93
+ * When the credential was created
94
+ */
95
+ created_at: string;
96
+ /**
97
+ * Target domain this credential is for
98
+ */
99
+ domain: string;
100
+ /**
101
+ * Unique name for the credential within the organization
102
+ */
103
+ name: string;
104
+ /**
105
+ * When the credential was last updated
106
+ */
107
+ updated_at: string;
108
+ }
109
+ /**
110
+ * Request to update an existing credential
111
+ */
112
+ export interface UpdateCredentialRequest {
113
+ /**
114
+ * New name for the credential
115
+ */
116
+ name?: string;
117
+ /**
118
+ * Field name to value mapping (e.g., username, password). Replaces all existing
119
+ * values.
120
+ */
121
+ values?: {
122
+ [key: string]: string;
123
+ };
124
+ }
125
+ export interface CredentialCreateParams {
126
+ /**
127
+ * Target domain this credential is for
128
+ */
129
+ domain: string;
130
+ /**
131
+ * Unique name for the credential within the organization
132
+ */
133
+ name: string;
134
+ /**
135
+ * Field name to value mapping (e.g., username, password)
136
+ */
137
+ values: {
138
+ [key: string]: string;
139
+ };
140
+ }
141
+ export interface CredentialUpdateParams {
142
+ /**
143
+ * New name for the credential
144
+ */
145
+ name?: string;
146
+ /**
147
+ * Field name to value mapping (e.g., username, password). Replaces all existing
148
+ * values.
149
+ */
150
+ values?: {
151
+ [key: string]: string;
152
+ };
153
+ }
154
+ export interface CredentialListParams extends OffsetPaginationParams {
155
+ /**
156
+ * Filter by domain
157
+ */
158
+ domain?: string;
159
+ }
160
+ export declare namespace Credentials {
161
+ export { type CreateCredentialRequest as CreateCredentialRequest, type Credential as Credential, type UpdateCredentialRequest as UpdateCredentialRequest, type CredentialsOffsetPagination as CredentialsOffsetPagination, type CredentialCreateParams as CredentialCreateParams, type CredentialUpdateParams as CredentialUpdateParams, type CredentialListParams as CredentialListParams, };
162
+ }
163
+ //# sourceMappingURL=credentials.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credentials.d.ts","sourceRoot":"","sources":["../src/resources/credentials.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,gBAAgB,EA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EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,MAAM,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CACpC;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,MAAM,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CACnC;AAED,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,MAAM,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CACpC;AAED,MAAM,WAAW,oBAAqB,SAAQ,sBAAsB;IAClE;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,WAAW,CAAC;IACnC,OAAO,EACL,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,UAAU,IAAI,UAAU,EAC7B,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,sBAAsB,IAAI,sBAAsB,EACrD,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
@@ -0,0 +1,82 @@
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.Credentials = void 0;
5
+ const resource_1 = require("../core/resource.js");
6
+ const pagination_1 = require("../core/pagination.js");
7
+ const headers_1 = require("../internal/headers.js");
8
+ const path_1 = require("../internal/utils/path.js");
9
+ class Credentials extends resource_1.APIResource {
10
+ /**
11
+ * Create a new credential for storing login information. Values are encrypted at
12
+ * rest.
13
+ *
14
+ * @example
15
+ * ```ts
16
+ * const credential = await client.credentials.create({
17
+ * domain: 'netflix.com',
18
+ * name: 'my-netflix-login',
19
+ * values: {
20
+ * username: 'user@example.com',
21
+ * password: 'mysecretpassword',
22
+ * },
23
+ * });
24
+ * ```
25
+ */
26
+ create(body, options) {
27
+ return this._client.post('/credentials', { body, ...options });
28
+ }
29
+ /**
30
+ * Retrieve a credential by its ID. Credential values are not returned.
31
+ *
32
+ * @example
33
+ * ```ts
34
+ * const credential = await client.credentials.retrieve('id');
35
+ * ```
36
+ */
37
+ retrieve(id, options) {
38
+ return this._client.get((0, path_1.path) `/credentials/${id}`, options);
39
+ }
40
+ /**
41
+ * Update a credential's name or values. Values are encrypted at rest.
42
+ *
43
+ * @example
44
+ * ```ts
45
+ * const credential = await client.credentials.update('id');
46
+ * ```
47
+ */
48
+ update(id, body, options) {
49
+ return this._client.patch((0, path_1.path) `/credentials/${id}`, { body, ...options });
50
+ }
51
+ /**
52
+ * List credentials owned by the caller's organization. Credential values are not
53
+ * returned.
54
+ *
55
+ * @example
56
+ * ```ts
57
+ * // Automatically fetches more pages as needed.
58
+ * for await (const credential of client.credentials.list()) {
59
+ * // ...
60
+ * }
61
+ * ```
62
+ */
63
+ list(query = {}, options) {
64
+ return this._client.getAPIList('/credentials', (pagination_1.OffsetPagination), { query, ...options });
65
+ }
66
+ /**
67
+ * Delete a credential by its ID.
68
+ *
69
+ * @example
70
+ * ```ts
71
+ * await client.credentials.delete('id');
72
+ * ```
73
+ */
74
+ delete(id, options) {
75
+ return this._client.delete((0, path_1.path) `/credentials/${id}`, {
76
+ ...options,
77
+ headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
78
+ });
79
+ }
80
+ }
81
+ exports.Credentials = Credentials;
82
+ //# sourceMappingURL=credentials.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credentials.js","sourceRoot":"","sources":["../src/resources/credentials.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAA+C;AAE/C,sDAAgG;AAChG,oDAAmD;AAEnD,oDAA8C;AAE9C,MAAa,WAAY,SAAQ,sBAAW;IAC1C;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjE,CAAC;IAED;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,gBAAgB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7D,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,EAAU,EAAE,IAA4B,EAAE,OAAwB;QACvE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,gBAAgB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;;;;;OAWG;IACH,IAAI,CACF,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,cAAc,EAAE,CAAA,6BAA4B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtG,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,gBAAgB,EAAE,EAAE,EAAE;YACnD,GAAG,OAAO;YACV,OAAO,EAAE,IAAA,sBAAY,EAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF;AA9ED,kCA8EC"}
@@ -0,0 +1,78 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../core/resource.mjs";
3
+ import { OffsetPagination } from "../core/pagination.mjs";
4
+ import { buildHeaders } from "../internal/headers.mjs";
5
+ import { path } from "../internal/utils/path.mjs";
6
+ export class Credentials extends APIResource {
7
+ /**
8
+ * Create a new credential for storing login information. Values are encrypted at
9
+ * rest.
10
+ *
11
+ * @example
12
+ * ```ts
13
+ * const credential = await client.credentials.create({
14
+ * domain: 'netflix.com',
15
+ * name: 'my-netflix-login',
16
+ * values: {
17
+ * username: 'user@example.com',
18
+ * password: 'mysecretpassword',
19
+ * },
20
+ * });
21
+ * ```
22
+ */
23
+ create(body, options) {
24
+ return this._client.post('/credentials', { body, ...options });
25
+ }
26
+ /**
27
+ * Retrieve a credential by its ID. Credential values are not returned.
28
+ *
29
+ * @example
30
+ * ```ts
31
+ * const credential = await client.credentials.retrieve('id');
32
+ * ```
33
+ */
34
+ retrieve(id, options) {
35
+ return this._client.get(path `/credentials/${id}`, options);
36
+ }
37
+ /**
38
+ * Update a credential's name or values. Values are encrypted at rest.
39
+ *
40
+ * @example
41
+ * ```ts
42
+ * const credential = await client.credentials.update('id');
43
+ * ```
44
+ */
45
+ update(id, body, options) {
46
+ return this._client.patch(path `/credentials/${id}`, { body, ...options });
47
+ }
48
+ /**
49
+ * List credentials owned by the caller's organization. Credential values are not
50
+ * returned.
51
+ *
52
+ * @example
53
+ * ```ts
54
+ * // Automatically fetches more pages as needed.
55
+ * for await (const credential of client.credentials.list()) {
56
+ * // ...
57
+ * }
58
+ * ```
59
+ */
60
+ list(query = {}, options) {
61
+ return this._client.getAPIList('/credentials', (OffsetPagination), { query, ...options });
62
+ }
63
+ /**
64
+ * Delete a credential by its ID.
65
+ *
66
+ * @example
67
+ * ```ts
68
+ * await client.credentials.delete('id');
69
+ * ```
70
+ */
71
+ delete(id, options) {
72
+ return this._client.delete(path `/credentials/${id}`, {
73
+ ...options,
74
+ headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
75
+ });
76
+ }
77
+ }
78
+ //# sourceMappingURL=credentials.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"credentials.mjs","sourceRoot":"","sources":["../src/resources/credentials.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,gBAAgB,EAA4C;OAC9D,EAAE,YAAY,EAAE;OAEhB,EAAE,IAAI,EAAE;AAEf,MAAM,OAAO,WAAY,SAAQ,WAAW;IAC1C;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CAAC,IAA4B,EAAE,OAAwB;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACjE,CAAC;IAED;;;;;;;OAOG;IACH,QAAQ,CAAC,EAAU,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,gBAAgB,EAAE,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7D,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,EAAU,EAAE,IAA4B,EAAE,OAAwB;QACvE,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,gBAAgB,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;;;;;;;OAWG;IACH,IAAI,CACF,QAAiD,EAAE,EACnD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,cAAc,EAAE,CAAA,gBAA4B,CAAA,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACtG,CAAC;IAED;;;;;;;OAOG;IACH,MAAM,CAAC,EAAU,EAAE,OAAwB;QACzC,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,gBAAgB,EAAE,EAAE,EAAE;YACnD,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
@@ -1,8 +1,9 @@
1
1
  export * from "./shared.mjs";
2
2
  export { Agents } from "./agents/agents.mjs";
3
3
  export { Apps, type AppListResponse, type AppListParams, type AppListResponsesOffsetPagination, } from "./apps.mjs";
4
- export { BrowserPools, type BrowserPool, type BrowserPoolAcquireRequest, type BrowserPoolReleaseRequest, type BrowserPoolRequest, type BrowserPoolUpdateRequest, type BrowserPoolListResponse, type BrowserPoolAcquireResponse, type BrowserPoolCreateParams, type BrowserPoolUpdateParams, type BrowserPoolDeleteParams, type BrowserPoolAcquireParams, type BrowserPoolReleaseParams, } from "./browser-pools.mjs";
4
+ export { BrowserPools, type BrowserPool, type BrowserPoolListResponse, type BrowserPoolAcquireResponse, type BrowserPoolCreateParams, type BrowserPoolUpdateParams, type BrowserPoolDeleteParams, type BrowserPoolAcquireParams, type BrowserPoolReleaseParams, } from "./browser-pools.mjs";
5
5
  export { Browsers, type BrowserPersistence, type Profile, type BrowserCreateResponse, type BrowserRetrieveResponse, type BrowserListResponse, type BrowserCreateParams, type BrowserListParams, type BrowserDeleteParams, type BrowserLoadExtensionsParams, type BrowserListResponsesOffsetPagination, } from "./browsers/browsers.mjs";
6
+ export { Credentials, type CreateCredentialRequest, type Credential, type UpdateCredentialRequest, type CredentialCreateParams, type CredentialUpdateParams, type CredentialListParams, type CredentialsOffsetPagination, } from "./credentials.mjs";
6
7
  export { Deployments, type DeploymentStateEvent, type DeploymentCreateResponse, type DeploymentRetrieveResponse, type DeploymentListResponse, type DeploymentFollowResponse, type DeploymentCreateParams, type DeploymentListParams, type DeploymentFollowParams, type DeploymentListResponsesOffsetPagination, } from "./deployments.mjs";
7
8
  export { Extensions, type ExtensionListResponse, type ExtensionUploadResponse, type ExtensionDownloadFromChromeStoreParams, type ExtensionUploadParams, } from "./extensions.mjs";
8
9
  export { Invocations, type InvocationStateEvent, type InvocationCreateResponse, type InvocationRetrieveResponse, type InvocationUpdateResponse, type InvocationListResponse, type InvocationFollowResponse, type InvocationCreateParams, type InvocationUpdateParams, type InvocationListParams, type InvocationFollowParams, type InvocationListResponsesOffsetPagination, } from "./invocations.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EAAE,MAAM,EAAE;OACV,EACL,IAAI,EACJ,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,gCAAgC,GACtC;OACM,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,GAC9B;OACM,EACL,QAAQ,EACR,KAAK,kBAAkB,EACvB,KAAK,OAAO,EACZ,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,KAAK,mBAAmB,EACxB,KAAK,2BAA2B,EAChC,KAAK,oCAAoC,GAC1C;OACM,EACL,WAAW,EACX,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBA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,EACf,KAAK,uBAAuB,EAC5B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,GACjC;OACM,EACL,WAAW,EACX,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,uCAAuC,GAC7C;OACM,EACL,UAAU,EACV,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,sCAAsC,EAC3C,KAAK,qBAAqB,GAC3B;OACM,EACL,WAAW,EACX,KAAK,oBAAoB,EACzB,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,sBAAsB,EAC3B,KAAK,sBAAsB,EAC3B,KAAK,oBAAoB,EACzB,KAAK,sBAAsB,EAC3B,KAAK,uCAAuC,GAC7C;OACM,EAAE,QAAQ,EAAE,KAAK,mBAAmB,EAAE,KAAK,mBAAmB,EAAE;OAChE,EACL,OAAO,EACP,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB"}
@@ -1,8 +1,9 @@
1
1
  export * from "./shared.js";
2
2
  export { Agents } from "./agents/agents.js";
3
3
  export { Apps, type AppListResponse, type AppListParams, type AppListResponsesOffsetPagination, } from "./apps.js";
4
- export { BrowserPools, type BrowserPool, type BrowserPoolAcquireRequest, type BrowserPoolReleaseRequest, type BrowserPoolRequest, type BrowserPoolUpdateRequest, type BrowserPoolListResponse, type BrowserPoolAcquireResponse, type BrowserPoolCreateParams, type BrowserPoolUpdateParams, type BrowserPoolDeleteParams, type BrowserPoolAcquireParams, type BrowserPoolReleaseParams, } from "./browser-pools.js";
4
+ export { BrowserPools, type BrowserPool, type BrowserPoolListResponse, type BrowserPoolAcquireResponse, type BrowserPoolCreateParams, type BrowserPoolUpdateParams, type BrowserPoolDeleteParams, type BrowserPoolAcquireParams, type BrowserPoolReleaseParams, } from "./browser-pools.js";
5
5
  export { Browsers, type BrowserPersistence, type Profile, type BrowserCreateResponse, type BrowserRetrieveResponse, type BrowserListResponse, type BrowserCreateParams, type BrowserListParams, type BrowserDeleteParams, type BrowserLoadExtensionsParams, type BrowserListResponsesOffsetPagination, } from "./browsers/browsers.js";
6
+ export { Credentials, type CreateCredentialRequest, type Credential, type UpdateCredentialRequest, type CredentialCreateParams, type CredentialUpdateParams, type CredentialListParams, type CredentialsOffsetPagination, } from "./credentials.js";
6
7
  export { Deployments, type DeploymentStateEvent, type DeploymentCreateResponse, type DeploymentRetrieveResponse, type DeploymentListResponse, type DeploymentFollowResponse, type DeploymentCreateParams, type DeploymentListParams, type DeploymentFollowParams, type DeploymentListResponsesOffsetPagination, } from "./deployments.js";
7
8
  export { Extensions, type ExtensionListResponse, type ExtensionUploadResponse, type ExtensionDownloadFromChromeStoreParams, type ExtensionUploadParams, } from "./extensions.js";
8
9
  export { Invocations, type InvocationStateEvent, type InvocationCreateResponse, type InvocationRetrieveResponse, type InvocationUpdateResponse, type InvocationListResponse, type InvocationFollowResponse, type InvocationCreateParams, type InvocationUpdateParams, type InvocationListParams, type InvocationFollowParams, type InvocationListResponsesOffsetPagination, } from "./invocations.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";OAGO,EAAE,MAAM,EAAE;OACV,EACL,IAAI,EACJ,KAAK,eAAe,EACpB,KAAK,aAAa,EAClB,KAAK,gCAAgC,GACtC;OACM,EACL,YAAY,EACZ,KAAK,WAAW,EAChB,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,KAAK,kBAAkB,EACvB,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,EAC5B,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K,mBAAmB,EAAE,KAAK,mBAAmB,EAAE;OAChE,EACL,OAAO,EACP,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.Proxies = exports.Profiles = exports.Invocations = exports.Extensions = exports.Deployments = exports.Browsers = exports.BrowserPools = exports.Apps = exports.Agents = void 0;
4
+ exports.Proxies = exports.Profiles = exports.Invocations = exports.Extensions = exports.Deployments = exports.Credentials = exports.Browsers = exports.BrowserPools = exports.Apps = exports.Agents = void 0;
5
5
  const tslib_1 = require("../internal/tslib.js");
6
6
  tslib_1.__exportStar(require("./shared.js"), exports);
7
7
  var agents_1 = require("./agents/agents.js");
@@ -12,6 +12,8 @@ var browser_pools_1 = require("./browser-pools.js");
12
12
  Object.defineProperty(exports, "BrowserPools", { enumerable: true, get: function () { return browser_pools_1.BrowserPools; } });
13
13
  var browsers_1 = require("./browsers/browsers.js");
14
14
  Object.defineProperty(exports, "Browsers", { enumerable: true, get: function () { return browsers_1.Browsers; } });
15
+ var credentials_1 = require("./credentials.js");
16
+ Object.defineProperty(exports, "Credentials", { enumerable: true, get: function () { return credentials_1.Credentials; } });
15
17
  var deployments_1 = require("./deployments.js");
16
18
  Object.defineProperty(exports, "Deployments", { enumerable: true, get: function () { return deployments_1.Deployments; } });
17
19
  var extensions_1 = require("./extensions.js");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,6CAAyC;AAAhC,gGAAA,MAAM,OAAA;AACf,kCAKgB;AAJd,4FAAA,IAAI,OAAA;AAKN,oDAcyB;AAbvB,6GAAA,YAAY,OAAA;AAcd,mDAY6B;AAX3B,oGAAA,QAAQ,OAAA;AAYV,gDAWuB;AAVrB,0GAAA,WAAW,OAAA;AAWb,8CAMsB;AALpB,wGAAA,UAAU,OAAA;AAMZ,gDAauB;AAZrB,0GAAA,WAAW,OAAA;AAab,0CAA0F;AAAjF,oGAAA,QAAQ,OAAA;AACjB,wCAMmB;AALjB,kGAAA,OAAO,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,sDAAyB;AACzB,6CAAyC;AAAhC,gGAAA,MAAM,OAAA;AACf,kCAKgB;AAJd,4FAAA,IAAI,OAAA;AAKN,oDAUyB;AATvB,6GAAA,YAAY,OAAA;AAUd,mDAY6B;AAX3B,oGAAA,QAAQ,OAAA;AAYV,gDASuB;AARrB,0GAAA,WAAW,OAAA;AASb,gDAWuB;AAVrB,0GAAA,WAAW,OAAA;AAWb,8CAMsB;AALpB,wGAAA,UAAU,OAAA;AAMZ,gDAauB;AAZrB,0GAAA,WAAW,OAAA;AAab,0CAA0F;AAAjF,oGAAA,QAAQ,OAAA;AACjB,wCAMmB;AALjB,kGAAA,OAAO,OAAA"}
@@ -4,6 +4,7 @@ export { Agents } from "./agents/agents.mjs";
4
4
  export { Apps, } from "./apps.mjs";
5
5
  export { BrowserPools, } from "./browser-pools.mjs";
6
6
  export { Browsers, } from "./browsers/browsers.mjs";
7
+ export { Credentials, } from "./credentials.mjs";
7
8
  export { Deployments, } from "./deployments.mjs";
8
9
  export { Extensions, } from "./extensions.mjs";
9
10
  export { Invocations, } from "./invocations.mjs";
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,EAAE,MAAM,EAAE;OACV,EACL,IAAI,GAIL;OACM,EACL,YAAY,GAab;OACM,EACL,QAAQ,GAWT;OACM,EACL,WAAW,GAUZ;OACM,EACL,UAAU,GAKX;OACM,EACL,WAAW,GAYZ;OACM,EAAE,QAAQ,EAAsD;OAChE,EACL,OAAO,GAKR"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;;OAG/E,EAAE,MAAM,EAAE;OACV,EACL,IAAI,GAIL;OACM,EACL,YAAY,GASb;OACM,EACL,QAAQ,GAWT;OACM,EACL,WAAW,GAQZ;OACM,EACL,WAAW,GAUZ;OACM,EACL,UAAU,GAKX;OACM,EACL,WAAW,GAYZ;OACM,EAAE,QAAQ,EAAsD;OAChE,EACL,OAAO,GAKR"}
package/src/client.ts CHANGED
@@ -22,18 +22,24 @@ import { AppListParams, AppListResponse, AppListResponsesOffsetPagination, Apps
22
22
  import {
23
23
  BrowserPool,
24
24
  BrowserPoolAcquireParams,
25
- BrowserPoolAcquireRequest,
26
25
  BrowserPoolAcquireResponse,
27
26
  BrowserPoolCreateParams,
28
27
  BrowserPoolDeleteParams,
29
28
  BrowserPoolListResponse,
30
29
  BrowserPoolReleaseParams,
31
- BrowserPoolReleaseRequest,
32
- BrowserPoolRequest,
33
30
  BrowserPoolUpdateParams,
34
- BrowserPoolUpdateRequest,
35
31
  BrowserPools,
36
32
  } from './resources/browser-pools';
33
+ import {
34
+ CreateCredentialRequest,
35
+ Credential,
36
+ CredentialCreateParams,
37
+ CredentialListParams,
38
+ CredentialUpdateParams,
39
+ Credentials,
40
+ CredentialsOffsetPagination,
41
+ UpdateCredentialRequest,
42
+ } from './resources/credentials';
37
43
  import {
38
44
  DeploymentCreateParams,
39
45
  DeploymentCreateResponse,
@@ -861,6 +867,7 @@ export class Kernel {
861
867
  extensions: API.Extensions = new API.Extensions(this);
862
868
  browserPools: API.BrowserPools = new API.BrowserPools(this);
863
869
  agents: API.Agents = new API.Agents(this);
870
+ credentials: API.Credentials = new API.Credentials(this);
864
871
  }
865
872
 
866
873
  Kernel.Deployments = Deployments;
@@ -872,6 +879,7 @@ Kernel.Proxies = Proxies;
872
879
  Kernel.Extensions = Extensions;
873
880
  Kernel.BrowserPools = BrowserPools;
874
881
  Kernel.Agents = Agents;
882
+ Kernel.Credentials = Credentials;
875
883
 
876
884
  export declare namespace Kernel {
877
885
  export type RequestOptions = Opts.RequestOptions;
@@ -956,10 +964,6 @@ export declare namespace Kernel {
956
964
  export {
957
965
  BrowserPools as BrowserPools,
958
966
  type BrowserPool as BrowserPool,
959
- type BrowserPoolAcquireRequest as BrowserPoolAcquireRequest,
960
- type BrowserPoolReleaseRequest as BrowserPoolReleaseRequest,
961
- type BrowserPoolRequest as BrowserPoolRequest,
962
- type BrowserPoolUpdateRequest as BrowserPoolUpdateRequest,
963
967
  type BrowserPoolListResponse as BrowserPoolListResponse,
964
968
  type BrowserPoolAcquireResponse as BrowserPoolAcquireResponse,
965
969
  type BrowserPoolCreateParams as BrowserPoolCreateParams,
@@ -971,6 +975,17 @@ export declare namespace Kernel {
971
975
 
972
976
  export { Agents as Agents };
973
977
 
978
+ export {
979
+ Credentials as Credentials,
980
+ type CreateCredentialRequest as CreateCredentialRequest,
981
+ type Credential as Credential,
982
+ type UpdateCredentialRequest as UpdateCredentialRequest,
983
+ type CredentialsOffsetPagination as CredentialsOffsetPagination,
984
+ type CredentialCreateParams as CredentialCreateParams,
985
+ type CredentialUpdateParams as CredentialUpdateParams,
986
+ type CredentialListParams as CredentialListParams,
987
+ };
988
+
974
989
  export type AppAction = API.AppAction;
975
990
  export type BrowserExtension = API.BrowserExtension;
976
991
  export type BrowserProfile = API.BrowserProfile;
@@ -15,6 +15,7 @@ import {
15
15
  AuthCreateParams,
16
16
  AuthListParams,
17
17
  DiscoveredField,
18
+ ReauthResponse,
18
19
  } from './auth/auth';
19
20
 
20
21
  export class Agents extends APIResource {
@@ -34,6 +35,7 @@ export declare namespace Agents {
34
35
  type AuthAgentInvocationCreateRequest as AuthAgentInvocationCreateRequest,
35
36
  type AuthAgentInvocationCreateResponse as AuthAgentInvocationCreateResponse,
36
37
  type DiscoveredField as DiscoveredField,
38
+ type ReauthResponse as ReauthResponse,
37
39
  type AuthAgentsOffsetPagination as AuthAgentsOffsetPagination,
38
40
  type AuthCreateParams as AuthCreateParams,
39
41
  type AuthListParams as AuthListParams,