@onkernel/sdk 0.97.0 → 0.99.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/client.d.mts +5 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +5 -2
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/browser-pools.d.mts +9 -0
- package/resources/browser-pools.d.mts.map +1 -1
- package/resources/browser-pools.d.ts +9 -0
- package/resources/browser-pools.d.ts.map +1 -1
- package/resources/browsers/browsers.d.mts +70 -14
- package/resources/browsers/browsers.d.mts.map +1 -1
- package/resources/browsers/browsers.d.ts +70 -14
- package/resources/browsers/browsers.d.ts.map +1 -1
- package/resources/browsers/browsers.js +23 -15
- package/resources/browsers/browsers.js.map +1 -1
- package/resources/browsers/browsers.mjs +23 -15
- package/resources/browsers/browsers.mjs.map +1 -1
- package/resources/browsers/computer.d.mts +62 -45
- package/resources/browsers/computer.d.mts.map +1 -1
- package/resources/browsers/computer.d.ts +62 -45
- package/resources/browsers/computer.d.ts.map +1 -1
- package/resources/browsers/computer.js +74 -57
- package/resources/browsers/computer.js.map +1 -1
- package/resources/browsers/computer.mjs +74 -57
- package/resources/browsers/computer.mjs.map +1 -1
- package/resources/browsers/fs/fs.d.mts +61 -47
- package/resources/browsers/fs/fs.d.mts.map +1 -1
- package/resources/browsers/fs/fs.d.ts +61 -47
- package/resources/browsers/fs/fs.d.ts.map +1 -1
- package/resources/browsers/fs/fs.js +73 -59
- package/resources/browsers/fs/fs.js.map +1 -1
- package/resources/browsers/fs/fs.mjs +73 -59
- package/resources/browsers/fs/fs.mjs.map +1 -1
- package/resources/browsers/fs/watch.d.mts +8 -8
- package/resources/browsers/fs/watch.d.mts.map +1 -1
- package/resources/browsers/fs/watch.d.ts +8 -8
- package/resources/browsers/fs/watch.d.ts.map +1 -1
- package/resources/browsers/fs/watch.js +9 -9
- package/resources/browsers/fs/watch.js.map +1 -1
- package/resources/browsers/fs/watch.mjs +9 -9
- package/resources/browsers/fs/watch.mjs.map +1 -1
- package/resources/browsers/index.d.mts +2 -1
- package/resources/browsers/index.d.mts.map +1 -1
- package/resources/browsers/index.d.ts +2 -1
- package/resources/browsers/index.d.ts.map +1 -1
- package/resources/browsers/index.js +3 -1
- package/resources/browsers/index.js.map +1 -1
- package/resources/browsers/index.mjs +1 -0
- package/resources/browsers/index.mjs.map +1 -1
- package/resources/browsers/logs.d.mts +5 -4
- package/resources/browsers/logs.d.mts.map +1 -1
- package/resources/browsers/logs.d.ts +5 -4
- package/resources/browsers/logs.d.ts.map +1 -1
- package/resources/browsers/logs.js +6 -5
- package/resources/browsers/logs.js.map +1 -1
- package/resources/browsers/logs.mjs +6 -5
- package/resources/browsers/logs.mjs.map +1 -1
- package/resources/browsers/playwright.d.mts +7 -4
- package/resources/browsers/playwright.d.mts.map +1 -1
- package/resources/browsers/playwright.d.ts +7 -4
- package/resources/browsers/playwright.d.ts.map +1 -1
- package/resources/browsers/playwright.js +8 -5
- package/resources/browsers/playwright.js.map +1 -1
- package/resources/browsers/playwright.mjs +8 -5
- package/resources/browsers/playwright.mjs.map +1 -1
- package/resources/browsers/process.d.mts +31 -23
- package/resources/browsers/process.d.mts.map +1 -1
- package/resources/browsers/process.d.ts +31 -23
- package/resources/browsers/process.d.ts.map +1 -1
- package/resources/browsers/process.js +33 -25
- package/resources/browsers/process.js.map +1 -1
- package/resources/browsers/process.mjs +33 -25
- package/resources/browsers/process.mjs.map +1 -1
- package/resources/browsers/replays.d.mts +14 -10
- package/resources/browsers/replays.d.mts.map +1 -1
- package/resources/browsers/replays.d.ts +14 -10
- package/resources/browsers/replays.d.ts.map +1 -1
- package/resources/browsers/replays.js +16 -12
- package/resources/browsers/replays.js.map +1 -1
- package/resources/browsers/replays.mjs +16 -12
- package/resources/browsers/replays.mjs.map +1 -1
- package/resources/browsers/telemetry.d.mts +4 -4
- package/resources/browsers/telemetry.d.mts.map +1 -1
- package/resources/browsers/telemetry.d.ts +4 -4
- package/resources/browsers/telemetry.d.ts.map +1 -1
- package/resources/browsers/telemetry.js +6 -6
- package/resources/browsers/telemetry.js.map +1 -1
- package/resources/browsers/telemetry.mjs +6 -6
- package/resources/browsers/telemetry.mjs.map +1 -1
- package/resources/browsers/webmcp.d.mts +148 -0
- package/resources/browsers/webmcp.d.mts.map +1 -0
- package/resources/browsers/webmcp.d.ts +148 -0
- package/resources/browsers/webmcp.d.ts.map +1 -0
- package/resources/browsers/webmcp.js +51 -0
- package/resources/browsers/webmcp.js.map +1 -0
- package/resources/browsers/webmcp.mjs +47 -0
- package/resources/browsers/webmcp.mjs.map +1 -0
- package/resources/config-registry/config-registry.d.mts +14 -11
- package/resources/config-registry/config-registry.d.mts.map +1 -1
- package/resources/config-registry/config-registry.d.ts +14 -11
- package/resources/config-registry/config-registry.d.ts.map +1 -1
- package/resources/config-registry/config-registry.js +2 -2
- package/resources/config-registry/config-registry.js.map +1 -1
- package/resources/config-registry/config-registry.mjs +2 -2
- package/resources/config-registry/config-registry.mjs.map +1 -1
- package/resources/index.d.mts +2 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/invocations.d.mts +9 -0
- package/resources/invocations.d.mts.map +1 -1
- package/resources/invocations.d.ts +9 -0
- package/resources/invocations.d.ts.map +1 -1
- package/resources/telemetry/destinations.d.mts +46 -12
- package/resources/telemetry/destinations.d.mts.map +1 -1
- package/resources/telemetry/destinations.d.ts +46 -12
- package/resources/telemetry/destinations.d.ts.map +1 -1
- package/resources/telemetry/destinations.js +18 -8
- package/resources/telemetry/destinations.js.map +1 -1
- package/resources/telemetry/destinations.mjs +18 -8
- package/resources/telemetry/destinations.mjs.map +1 -1
- package/resources/vaults/index.d.mts +3 -0
- package/resources/vaults/index.d.mts.map +1 -0
- package/resources/vaults/index.d.ts +3 -0
- package/resources/vaults/index.d.ts.map +1 -0
- package/resources/vaults/index.js +9 -0
- package/resources/vaults/index.js.map +1 -0
- package/resources/vaults/index.mjs +4 -0
- package/resources/vaults/index.mjs.map +1 -0
- package/resources/vaults/items.d.mts +534 -0
- package/resources/vaults/items.d.mts.map +1 -0
- package/resources/vaults/items.d.ts +534 -0
- package/resources/vaults/items.d.ts.map +1 -0
- package/resources/vaults/items.js +68 -0
- package/resources/vaults/items.js.map +1 -0
- package/resources/vaults/items.mjs +64 -0
- package/resources/vaults/items.mjs.map +1 -0
- package/resources/vaults/vaults.d.mts +48 -0
- package/resources/vaults/vaults.d.mts.map +1 -0
- package/resources/vaults/vaults.d.ts +48 -0
- package/resources/vaults/vaults.d.ts.map +1 -0
- package/resources/vaults/vaults.js +47 -0
- package/resources/vaults/vaults.js.map +1 -0
- package/resources/vaults/vaults.mjs +42 -0
- package/resources/vaults/vaults.mjs.map +1 -0
- package/resources/vaults.d.mts +2 -0
- package/resources/vaults.d.mts.map +1 -0
- package/resources/vaults.d.ts +2 -0
- package/resources/vaults.d.ts.map +1 -0
- package/resources/vaults.js +6 -0
- package/resources/vaults.js.map +1 -0
- package/resources/vaults.mjs +3 -0
- package/resources/vaults.mjs.map +1 -0
- package/src/client.ts +19 -0
- package/src/resources/browser-pools.ts +11 -0
- package/src/resources/browsers/browsers.ts +111 -15
- package/src/resources/browsers/computer.ts +78 -57
- package/src/resources/browsers/fs/fs.ts +93 -59
- package/src/resources/browsers/fs/watch.ts +13 -13
- package/src/resources/browsers/index.ts +13 -0
- package/src/resources/browsers/logs.ts +10 -5
- package/src/resources/browsers/playwright.ts +8 -5
- package/src/resources/browsers/process.ts +47 -35
- package/src/resources/browsers/replays.ts +20 -16
- package/src/resources/browsers/telemetry.ts +6 -6
- package/src/resources/browsers/webmcp.ts +196 -0
- package/src/resources/config-registry/config-registry.ts +14 -11
- package/src/resources/index.ts +8 -0
- package/src/resources/invocations.ts +11 -0
- package/src/resources/telemetry/destinations.ts +50 -12
- package/src/resources/vaults/index.ts +30 -0
- package/src/resources/vaults/items.ts +780 -0
- package/src/resources/vaults/vaults.ts +125 -0
- package/src/resources/vaults.ts +3 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -7,12 +7,16 @@ import { RequestOptions } from "../../internal/request-options.mjs";
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class Destinations extends APIResource {
|
|
9
9
|
/**
|
|
10
|
-
* Create an OTLP export destination in the
|
|
11
|
-
* within the
|
|
10
|
+
* Create an OTLP export destination in the authenticated organization. Names must
|
|
11
|
+
* be unique within the organization. Requires an organization-scoped credential or
|
|
12
|
+
* dashboard authentication; project-scoped credentials receive a 403.
|
|
12
13
|
*/
|
|
13
14
|
create(body: DestinationCreateParams, options?: RequestOptions): APIPromise<OtlpDestination>;
|
|
14
15
|
/**
|
|
15
|
-
* Retrieve a
|
|
16
|
+
* Retrieve a customer-visible OTLP destination in the authenticated organization
|
|
17
|
+
* by its ID or name. Project-scoped credentials can retrieve these destinations
|
|
18
|
+
* for selection by workloads in their project. Non-dashboard reads return header
|
|
19
|
+
* values redacted.
|
|
16
20
|
*/
|
|
17
21
|
retrieve(idOrName: string, options?: RequestOptions): APIPromise<OtlpDestination>;
|
|
18
22
|
/**
|
|
@@ -20,14 +24,18 @@ export declare class Destinations extends APIResource {
|
|
|
20
24
|
* values without restarting, which makes this the way to rotate credentials
|
|
21
25
|
* without interrupting export.
|
|
22
26
|
*
|
|
23
|
-
* Names must be unique within the
|
|
24
|
-
* managed auth connection selects this destination by name, since that
|
|
25
|
-
* resolves the name on every login. Every other field, including
|
|
26
|
-
* editable.
|
|
27
|
+
* Names must be unique within the organization. Renaming is refused with a 409
|
|
28
|
+
* while a managed auth connection selects this destination by name, since that
|
|
29
|
+
* connection resolves the name on every login. Every other field, including
|
|
30
|
+
* `headers`, stays editable. Requires an organization-scoped credential or
|
|
31
|
+
* dashboard authentication; project-scoped credentials receive a 403.
|
|
27
32
|
*/
|
|
28
33
|
update(idOrName: string, body: DestinationUpdateParams, options?: RequestOptions): APIPromise<OtlpDestination>;
|
|
29
34
|
/**
|
|
30
|
-
* List OTLP export destinations in the
|
|
35
|
+
* List customer-visible OTLP export destinations in the authenticated
|
|
36
|
+
* organization. Project-scoped credentials can list these destinations for
|
|
37
|
+
* selection by workloads in their project. Non-dashboard reads return header
|
|
38
|
+
* values redacted.
|
|
31
39
|
*/
|
|
32
40
|
list(query?: DestinationListParams | null | undefined, options?: RequestOptions): PagePromise<OtlpDestinationsOffsetPagination, OtlpDestination>;
|
|
33
41
|
/**
|
|
@@ -36,6 +44,8 @@ export declare class Destinations extends APIResource {
|
|
|
36
44
|
* end or delete them first. It is refused the same way while a managed auth
|
|
37
45
|
* connection still selects it, because that connection re-resolves the destination
|
|
38
46
|
* on every login, and while a managed auth login using it is still in progress.
|
|
47
|
+
* Requires an organization-scoped credential or dashboard authentication;
|
|
48
|
+
* project-scoped credentials receive a 403.
|
|
39
49
|
*/
|
|
40
50
|
delete(idOrName: string, options?: RequestOptions): APIPromise<void>;
|
|
41
51
|
}
|
|
@@ -47,6 +57,12 @@ export type OtlpDestinationsOffsetPagination = OffsetPagination<OtlpDestination>
|
|
|
47
57
|
*/
|
|
48
58
|
export interface OtlpDestination {
|
|
49
59
|
id: string;
|
|
60
|
+
/**
|
|
61
|
+
* Failed deliveries since the last success, as observed by the relay process that
|
|
62
|
+
* wrote the latest outcome. Zero means the most recently recorded outcome
|
|
63
|
+
* succeeded.
|
|
64
|
+
*/
|
|
65
|
+
consecutive_failures: number;
|
|
50
66
|
created_at: string;
|
|
51
67
|
/**
|
|
52
68
|
* OTLP/HTTP endpoint telemetry is sent to.
|
|
@@ -54,19 +70,37 @@ export interface OtlpDestination {
|
|
|
54
70
|
endpoint: string;
|
|
55
71
|
/**
|
|
56
72
|
* Headers sent with each export request. Names are returned in canonical form
|
|
57
|
-
* (`Authorization`, not `authorization`).
|
|
58
|
-
* strings, so the keys are visible but the credentials are not.
|
|
73
|
+
* (`Authorization`, not `authorization`). Non-dashboard reads return values
|
|
74
|
+
* redacted as empty strings, so the keys are visible but the credentials are not.
|
|
75
|
+
* Dashboard reads return the stored values.
|
|
59
76
|
*/
|
|
60
77
|
headers: {
|
|
61
78
|
[key: string]: string;
|
|
62
79
|
};
|
|
63
80
|
/**
|
|
64
|
-
* Unique within the
|
|
81
|
+
* Unique within the organization. Usable in place of the ID when selecting a
|
|
65
82
|
* destination, so it cannot be shaped like an ID.
|
|
66
83
|
*/
|
|
67
84
|
name: string;
|
|
68
85
|
updated_at: string;
|
|
69
86
|
description?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Sanitized class of the delivery failure recorded at `last_error_at`. It is
|
|
89
|
+
* retained after a later success, so its presence does not mean the destination is
|
|
90
|
+
* currently failing. Response bodies, endpoint URLs, credentials, and raw
|
|
91
|
+
* transport errors are never returned.
|
|
92
|
+
*/
|
|
93
|
+
last_error?: string;
|
|
94
|
+
/**
|
|
95
|
+
* Timestamp of the most recent failed delivery. It is retained after a later
|
|
96
|
+
* success, so it can predate `last_export_at`. Read `consecutive_failures` to tell
|
|
97
|
+
* whether the destination is currently failing.
|
|
98
|
+
*/
|
|
99
|
+
last_error_at?: string;
|
|
100
|
+
/**
|
|
101
|
+
* Timestamp of the most recent successful delivery. Moves only on success.
|
|
102
|
+
*/
|
|
103
|
+
last_export_at?: string;
|
|
70
104
|
}
|
|
71
105
|
export interface DestinationCreateParams {
|
|
72
106
|
/**
|
|
@@ -84,7 +118,7 @@ export interface DestinationCreateParams {
|
|
|
84
118
|
*/
|
|
85
119
|
endpoint: string;
|
|
86
120
|
/**
|
|
87
|
-
* Unique within the
|
|
121
|
+
* Unique within the organization.
|
|
88
122
|
*/
|
|
89
123
|
name: string;
|
|
90
124
|
description?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destinations.d.mts","sourceRoot":"","sources":["../../src/resources/telemetry/destinations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,gBAAgB,EAAE,KAAK,sBAAsB,EAAE,WAAW,EAAE,kCAA8B;AAEnG,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C
|
|
1
|
+
{"version":3,"file":"destinations.d.mts","sourceRoot":"","sources":["../../src/resources/telemetry/destinations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,mCAA+B;AACpD,OAAO,EAAE,gBAAgB,EAAE,KAAK,sBAAsB,EAAE,WAAW,EAAE,kCAA8B;AAEnG,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAGhE;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;OAIG;IACH,MAAM,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;IAI5F;;;;;OAKG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;IAIjF;;;;;;;;;;OAUG;IACH,MAAM,CACJ,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC;IAI9B;;;;;OAKG;IACH,IAAI,CACF,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,gCAAgC,EAAE,eAAe,CAAC;IAOjE;;;;;;;;OAQG;IACH,MAA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EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,qBAAsB,SAAQ,sBAAsB;IACnE;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -7,12 +7,16 @@ import { RequestOptions } from "../../internal/request-options.js";
|
|
|
7
7
|
*/
|
|
8
8
|
export declare class Destinations extends APIResource {
|
|
9
9
|
/**
|
|
10
|
-
* Create an OTLP export destination in the
|
|
11
|
-
* within the
|
|
10
|
+
* Create an OTLP export destination in the authenticated organization. Names must
|
|
11
|
+
* be unique within the organization. Requires an organization-scoped credential or
|
|
12
|
+
* dashboard authentication; project-scoped credentials receive a 403.
|
|
12
13
|
*/
|
|
13
14
|
create(body: DestinationCreateParams, options?: RequestOptions): APIPromise<OtlpDestination>;
|
|
14
15
|
/**
|
|
15
|
-
* Retrieve a
|
|
16
|
+
* Retrieve a customer-visible OTLP destination in the authenticated organization
|
|
17
|
+
* by its ID or name. Project-scoped credentials can retrieve these destinations
|
|
18
|
+
* for selection by workloads in their project. Non-dashboard reads return header
|
|
19
|
+
* values redacted.
|
|
16
20
|
*/
|
|
17
21
|
retrieve(idOrName: string, options?: RequestOptions): APIPromise<OtlpDestination>;
|
|
18
22
|
/**
|
|
@@ -20,14 +24,18 @@ export declare class Destinations extends APIResource {
|
|
|
20
24
|
* values without restarting, which makes this the way to rotate credentials
|
|
21
25
|
* without interrupting export.
|
|
22
26
|
*
|
|
23
|
-
* Names must be unique within the
|
|
24
|
-
* managed auth connection selects this destination by name, since that
|
|
25
|
-
* resolves the name on every login. Every other field, including
|
|
26
|
-
* editable.
|
|
27
|
+
* Names must be unique within the organization. Renaming is refused with a 409
|
|
28
|
+
* while a managed auth connection selects this destination by name, since that
|
|
29
|
+
* connection resolves the name on every login. Every other field, including
|
|
30
|
+
* `headers`, stays editable. Requires an organization-scoped credential or
|
|
31
|
+
* dashboard authentication; project-scoped credentials receive a 403.
|
|
27
32
|
*/
|
|
28
33
|
update(idOrName: string, body: DestinationUpdateParams, options?: RequestOptions): APIPromise<OtlpDestination>;
|
|
29
34
|
/**
|
|
30
|
-
* List OTLP export destinations in the
|
|
35
|
+
* List customer-visible OTLP export destinations in the authenticated
|
|
36
|
+
* organization. Project-scoped credentials can list these destinations for
|
|
37
|
+
* selection by workloads in their project. Non-dashboard reads return header
|
|
38
|
+
* values redacted.
|
|
31
39
|
*/
|
|
32
40
|
list(query?: DestinationListParams | null | undefined, options?: RequestOptions): PagePromise<OtlpDestinationsOffsetPagination, OtlpDestination>;
|
|
33
41
|
/**
|
|
@@ -36,6 +44,8 @@ export declare class Destinations extends APIResource {
|
|
|
36
44
|
* end or delete them first. It is refused the same way while a managed auth
|
|
37
45
|
* connection still selects it, because that connection re-resolves the destination
|
|
38
46
|
* on every login, and while a managed auth login using it is still in progress.
|
|
47
|
+
* Requires an organization-scoped credential or dashboard authentication;
|
|
48
|
+
* project-scoped credentials receive a 403.
|
|
39
49
|
*/
|
|
40
50
|
delete(idOrName: string, options?: RequestOptions): APIPromise<void>;
|
|
41
51
|
}
|
|
@@ -47,6 +57,12 @@ export type OtlpDestinationsOffsetPagination = OffsetPagination<OtlpDestination>
|
|
|
47
57
|
*/
|
|
48
58
|
export interface OtlpDestination {
|
|
49
59
|
id: string;
|
|
60
|
+
/**
|
|
61
|
+
* Failed deliveries since the last success, as observed by the relay process that
|
|
62
|
+
* wrote the latest outcome. Zero means the most recently recorded outcome
|
|
63
|
+
* succeeded.
|
|
64
|
+
*/
|
|
65
|
+
consecutive_failures: number;
|
|
50
66
|
created_at: string;
|
|
51
67
|
/**
|
|
52
68
|
* OTLP/HTTP endpoint telemetry is sent to.
|
|
@@ -54,19 +70,37 @@ export interface OtlpDestination {
|
|
|
54
70
|
endpoint: string;
|
|
55
71
|
/**
|
|
56
72
|
* Headers sent with each export request. Names are returned in canonical form
|
|
57
|
-
* (`Authorization`, not `authorization`).
|
|
58
|
-
* strings, so the keys are visible but the credentials are not.
|
|
73
|
+
* (`Authorization`, not `authorization`). Non-dashboard reads return values
|
|
74
|
+
* redacted as empty strings, so the keys are visible but the credentials are not.
|
|
75
|
+
* Dashboard reads return the stored values.
|
|
59
76
|
*/
|
|
60
77
|
headers: {
|
|
61
78
|
[key: string]: string;
|
|
62
79
|
};
|
|
63
80
|
/**
|
|
64
|
-
* Unique within the
|
|
81
|
+
* Unique within the organization. Usable in place of the ID when selecting a
|
|
65
82
|
* destination, so it cannot be shaped like an ID.
|
|
66
83
|
*/
|
|
67
84
|
name: string;
|
|
68
85
|
updated_at: string;
|
|
69
86
|
description?: string;
|
|
87
|
+
/**
|
|
88
|
+
* Sanitized class of the delivery failure recorded at `last_error_at`. It is
|
|
89
|
+
* retained after a later success, so its presence does not mean the destination is
|
|
90
|
+
* currently failing. Response bodies, endpoint URLs, credentials, and raw
|
|
91
|
+
* transport errors are never returned.
|
|
92
|
+
*/
|
|
93
|
+
last_error?: string;
|
|
94
|
+
/**
|
|
95
|
+
* Timestamp of the most recent failed delivery. It is retained after a later
|
|
96
|
+
* success, so it can predate `last_export_at`. Read `consecutive_failures` to tell
|
|
97
|
+
* whether the destination is currently failing.
|
|
98
|
+
*/
|
|
99
|
+
last_error_at?: string;
|
|
100
|
+
/**
|
|
101
|
+
* Timestamp of the most recent successful delivery. Moves only on success.
|
|
102
|
+
*/
|
|
103
|
+
last_export_at?: string;
|
|
70
104
|
}
|
|
71
105
|
export interface DestinationCreateParams {
|
|
72
106
|
/**
|
|
@@ -84,7 +118,7 @@ export interface DestinationCreateParams {
|
|
|
84
118
|
*/
|
|
85
119
|
endpoint: string;
|
|
86
120
|
/**
|
|
87
|
-
* Unique within the
|
|
121
|
+
* Unique within the organization.
|
|
88
122
|
*/
|
|
89
123
|
name: string;
|
|
90
124
|
description?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destinations.d.ts","sourceRoot":"","sources":["../../src/resources/telemetry/destinations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,gBAAgB,EAAE,KAAK,sBAAsB,EAAE,WAAW,EAAE,iCAA8B;AAEnG,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C
|
|
1
|
+
{"version":3,"file":"destinations.d.ts","sourceRoot":"","sources":["../../src/resources/telemetry/destinations.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,UAAU,EAAE,kCAA+B;AACpD,OAAO,EAAE,gBAAgB,EAAE,KAAK,sBAAsB,EAAE,WAAW,EAAE,iCAA8B;AAEnG,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAGhE;;GAEG;AACH,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;OAIG;IACH,MAAM,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;IAI5F;;;;;OAKG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;IAIjF;;;;;;;;;;OAUG;IACH,MAAM,CACJ,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC;IAI9B;;;;;OAKG;IACH,IAAI,CACF,KAAK,GAAE,qBAAq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B;;;;;;;;OAQG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAA;KAAE,CAAC;IAE3C,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,qBAAsB,SAAQ,sBAAsB;IACnE;;;OAGG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,eAAe,IAAI,eAAe,EACvC,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -11,14 +11,18 @@ const path_1 = require("../../internal/utils/path.js");
|
|
|
11
11
|
*/
|
|
12
12
|
class Destinations extends resource_1.APIResource {
|
|
13
13
|
/**
|
|
14
|
-
* Create an OTLP export destination in the
|
|
15
|
-
* within the
|
|
14
|
+
* Create an OTLP export destination in the authenticated organization. Names must
|
|
15
|
+
* be unique within the organization. Requires an organization-scoped credential or
|
|
16
|
+
* dashboard authentication; project-scoped credentials receive a 403.
|
|
16
17
|
*/
|
|
17
18
|
create(body, options) {
|
|
18
19
|
return this._client.post('/telemetry/destinations', { body, ...options });
|
|
19
20
|
}
|
|
20
21
|
/**
|
|
21
|
-
* Retrieve a
|
|
22
|
+
* Retrieve a customer-visible OTLP destination in the authenticated organization
|
|
23
|
+
* by its ID or name. Project-scoped credentials can retrieve these destinations
|
|
24
|
+
* for selection by workloads in their project. Non-dashboard reads return header
|
|
25
|
+
* values redacted.
|
|
22
26
|
*/
|
|
23
27
|
retrieve(idOrName, options) {
|
|
24
28
|
return this._client.get((0, path_1.path) `/telemetry/destinations/${idOrName}`, options);
|
|
@@ -28,16 +32,20 @@ class Destinations extends resource_1.APIResource {
|
|
|
28
32
|
* values without restarting, which makes this the way to rotate credentials
|
|
29
33
|
* without interrupting export.
|
|
30
34
|
*
|
|
31
|
-
* Names must be unique within the
|
|
32
|
-
* managed auth connection selects this destination by name, since that
|
|
33
|
-
* resolves the name on every login. Every other field, including
|
|
34
|
-
* editable.
|
|
35
|
+
* Names must be unique within the organization. Renaming is refused with a 409
|
|
36
|
+
* while a managed auth connection selects this destination by name, since that
|
|
37
|
+
* connection resolves the name on every login. Every other field, including
|
|
38
|
+
* `headers`, stays editable. Requires an organization-scoped credential or
|
|
39
|
+
* dashboard authentication; project-scoped credentials receive a 403.
|
|
35
40
|
*/
|
|
36
41
|
update(idOrName, body, options) {
|
|
37
42
|
return this._client.patch((0, path_1.path) `/telemetry/destinations/${idOrName}`, { body, ...options });
|
|
38
43
|
}
|
|
39
44
|
/**
|
|
40
|
-
* List OTLP export destinations in the
|
|
45
|
+
* List customer-visible OTLP export destinations in the authenticated
|
|
46
|
+
* organization. Project-scoped credentials can list these destinations for
|
|
47
|
+
* selection by workloads in their project. Non-dashboard reads return header
|
|
48
|
+
* values redacted.
|
|
41
49
|
*/
|
|
42
50
|
list(query = {}, options) {
|
|
43
51
|
return this._client.getAPIList('/telemetry/destinations', (pagination_1.OffsetPagination), {
|
|
@@ -51,6 +59,8 @@ class Destinations extends resource_1.APIResource {
|
|
|
51
59
|
* end or delete them first. It is refused the same way while a managed auth
|
|
52
60
|
* connection still selects it, because that connection re-resolves the destination
|
|
53
61
|
* on every login, and while a managed auth login using it is still in progress.
|
|
62
|
+
* Requires an organization-scoped credential or dashboard authentication;
|
|
63
|
+
* project-scoped credentials receive a 403.
|
|
54
64
|
*/
|
|
55
65
|
delete(idOrName, options) {
|
|
56
66
|
return this._client.delete((0, path_1.path) `/telemetry/destinations/${idOrName}`, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destinations.js","sourceRoot":"","sources":["../../src/resources/telemetry/destinations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,yDAAmG;AACnG,uDAAsD;AAEtD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,YAAa,SAAQ,sBAAW;IAC3C
|
|
1
|
+
{"version":3,"file":"destinations.js","sourceRoot":"","sources":["../../src/resources/telemetry/destinations.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAElD,yDAAmG;AACnG,uDAAsD;AAEtD,uDAAiD;AAEjD;;GAEG;AACH,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;OAIG;IACH,MAAM,CAAC,IAA6B,EAAE,OAAwB;QAC5D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;;;;OAKG;IACH,QAAQ,CAAC,QAAgB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAI,EAAA,2BAA2B,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;;;;;;OAUG;IACH,MAAM,CACJ,QAAgB,EAChB,IAA6B,EAC7B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAA,WAAI,EAAA,2BAA2B,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;;;;OAKG;IACH,IAAI,CACF,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,yBAAyB,EAAE,CAAA,6BAAiC,CAAA,EAAE;YAC3F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;;;OAQG;IACH,MAAM,CAAC,QAAgB,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAA,WAAI,EAAA,2BAA2B,QAAQ,EAAE,EAAE;YACpE,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;AAtED,oCAsEC"}
|
|
@@ -8,14 +8,18 @@ import { path } from "../../internal/utils/path.mjs";
|
|
|
8
8
|
*/
|
|
9
9
|
export class Destinations extends APIResource {
|
|
10
10
|
/**
|
|
11
|
-
* Create an OTLP export destination in the
|
|
12
|
-
* within the
|
|
11
|
+
* Create an OTLP export destination in the authenticated organization. Names must
|
|
12
|
+
* be unique within the organization. Requires an organization-scoped credential or
|
|
13
|
+
* dashboard authentication; project-scoped credentials receive a 403.
|
|
13
14
|
*/
|
|
14
15
|
create(body, options) {
|
|
15
16
|
return this._client.post('/telemetry/destinations', { body, ...options });
|
|
16
17
|
}
|
|
17
18
|
/**
|
|
18
|
-
* Retrieve a
|
|
19
|
+
* Retrieve a customer-visible OTLP destination in the authenticated organization
|
|
20
|
+
* by its ID or name. Project-scoped credentials can retrieve these destinations
|
|
21
|
+
* for selection by workloads in their project. Non-dashboard reads return header
|
|
22
|
+
* values redacted.
|
|
19
23
|
*/
|
|
20
24
|
retrieve(idOrName, options) {
|
|
21
25
|
return this._client.get(path `/telemetry/destinations/${idOrName}`, options);
|
|
@@ -25,16 +29,20 @@ export class Destinations extends APIResource {
|
|
|
25
29
|
* values without restarting, which makes this the way to rotate credentials
|
|
26
30
|
* without interrupting export.
|
|
27
31
|
*
|
|
28
|
-
* Names must be unique within the
|
|
29
|
-
* managed auth connection selects this destination by name, since that
|
|
30
|
-
* resolves the name on every login. Every other field, including
|
|
31
|
-
* editable.
|
|
32
|
+
* Names must be unique within the organization. Renaming is refused with a 409
|
|
33
|
+
* while a managed auth connection selects this destination by name, since that
|
|
34
|
+
* connection resolves the name on every login. Every other field, including
|
|
35
|
+
* `headers`, stays editable. Requires an organization-scoped credential or
|
|
36
|
+
* dashboard authentication; project-scoped credentials receive a 403.
|
|
32
37
|
*/
|
|
33
38
|
update(idOrName, body, options) {
|
|
34
39
|
return this._client.patch(path `/telemetry/destinations/${idOrName}`, { body, ...options });
|
|
35
40
|
}
|
|
36
41
|
/**
|
|
37
|
-
* List OTLP export destinations in the
|
|
42
|
+
* List customer-visible OTLP export destinations in the authenticated
|
|
43
|
+
* organization. Project-scoped credentials can list these destinations for
|
|
44
|
+
* selection by workloads in their project. Non-dashboard reads return header
|
|
45
|
+
* values redacted.
|
|
38
46
|
*/
|
|
39
47
|
list(query = {}, options) {
|
|
40
48
|
return this._client.getAPIList('/telemetry/destinations', (OffsetPagination), {
|
|
@@ -48,6 +56,8 @@ export class Destinations extends APIResource {
|
|
|
48
56
|
* end or delete them first. It is refused the same way while a managed auth
|
|
49
57
|
* connection still selects it, because that connection re-resolves the destination
|
|
50
58
|
* on every login, and while a managed auth login using it is still in progress.
|
|
59
|
+
* Requires an organization-scoped credential or dashboard authentication;
|
|
60
|
+
* project-scoped credentials receive a 403.
|
|
51
61
|
*/
|
|
52
62
|
delete(idOrName, options) {
|
|
53
63
|
return this._client.delete(path `/telemetry/destinations/${idOrName}`, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"destinations.mjs","sourceRoot":"","sources":["../../src/resources/telemetry/destinations.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAElD,OAAO,EAAE,gBAAgB,EAA4C,kCAA8B;AACnG,OAAO,EAAE,YAAY,EAAE,mCAA+B;AAEtD,OAAO,EAAE,IAAI,EAAE,sCAAkC;AAEjD;;GAEG;AACH,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C
|
|
1
|
+
{"version":3,"file":"destinations.mjs","sourceRoot":"","sources":["../../src/resources/telemetry/destinations.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,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AC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Items, type AgentcardCheckoutAuthorization, type CardVaultItemSpec, type CardVaultItemState, type VaultCardAliases, type VaultItem, type VaultItemAction, type VaultItemEvent, type VaultPaymentMethod, type WalletVaultItemSpec, type WalletVaultItemState, type ItemListResponse, type ItemEventsResponse, type ItemRetrieveParams, type ItemUpdateParams, type ItemDeleteParams, type ItemEventsParams, type ItemPerformOperationParams, type ItemUpsertParams, } from "./items.mjs";
|
|
2
|
+
export { Vaults, type Vault, type VaultListParams, type VaultUpsertParams, type VaultsOffsetPagination, } from "./vaults.mjs";
|
|
3
|
+
//# sourceMappingURL=index.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/vaults/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,EACL,KAAK,8BAA8B,EACnC,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAC/B,KAAK,gBAAgB,GACtB,oBAAgB;AACjB,OAAO,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,GAC5B,qBAAiB"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { Items, type AgentcardCheckoutAuthorization, type CardVaultItemSpec, type CardVaultItemState, type VaultCardAliases, type VaultItem, type VaultItemAction, type VaultItemEvent, type VaultPaymentMethod, type WalletVaultItemSpec, type WalletVaultItemState, type ItemListResponse, type ItemEventsResponse, type ItemRetrieveParams, type ItemUpdateParams, type ItemDeleteParams, type ItemEventsParams, type ItemPerformOperationParams, type ItemUpsertParams, } from "./items.js";
|
|
2
|
+
export { Vaults, type Vault, type VaultListParams, type VaultUpsertParams, type VaultsOffsetPagination, } from "./vaults.js";
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/vaults/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,EACL,KAAK,8BAA8B,EACnC,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EACvB,KAAK,kBAAkB,EACvB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAC/B,KAAK,gBAAgB,GACtB,mBAAgB;AACjB,OAAO,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,sBAAsB,GAC5B,oBAAiB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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.Vaults = exports.Items = void 0;
|
|
5
|
+
var items_1 = require("./items.js");
|
|
6
|
+
Object.defineProperty(exports, "Items", { enumerable: true, get: function () { return items_1.Items; } });
|
|
7
|
+
var vaults_1 = require("./vaults.js");
|
|
8
|
+
Object.defineProperty(exports, "Vaults", { enumerable: true, get: function () { return vaults_1.Vaults; } });
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/vaults/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,oCAoBiB;AAnBf,8FAAA,KAAK,OAAA;AAoBP,sCAMkB;AALhB,gGAAA,MAAM,OAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/vaults/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,KAAK,GAmBN,oBAAgB;AACjB,OAAO,EACL,MAAM,GAKP,qBAAiB"}
|