@onkernel/sdk 0.88.0 → 0.91.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 (127) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/client.d.mts +9 -3
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +9 -3
  5. package/client.d.ts.map +1 -1
  6. package/client.js +9 -1
  7. package/client.js.map +1 -1
  8. package/client.mjs +9 -1
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/auth/connections.d.mts +42 -0
  12. package/resources/auth/connections.d.mts.map +1 -1
  13. package/resources/auth/connections.d.ts +42 -0
  14. package/resources/auth/connections.d.ts.map +1 -1
  15. package/resources/browser-pools.d.mts +44 -0
  16. package/resources/browser-pools.d.mts.map +1 -1
  17. package/resources/browser-pools.d.ts +44 -0
  18. package/resources/browser-pools.d.ts.map +1 -1
  19. package/resources/browsers/browsers.d.mts +109 -1
  20. package/resources/browsers/browsers.d.mts.map +1 -1
  21. package/resources/browsers/browsers.d.ts +109 -1
  22. package/resources/browsers/browsers.d.ts.map +1 -1
  23. package/resources/browsers/browsers.js.map +1 -1
  24. package/resources/browsers/browsers.mjs.map +1 -1
  25. package/resources/browsers/index.d.mts +1 -1
  26. package/resources/browsers/index.d.mts.map +1 -1
  27. package/resources/browsers/index.d.ts +1 -1
  28. package/resources/browsers/index.d.ts.map +1 -1
  29. package/resources/browsers/index.js.map +1 -1
  30. package/resources/browsers/index.mjs.map +1 -1
  31. package/resources/browsers/telemetry.d.mts +1 -1
  32. package/resources/browsers/telemetry.d.ts +1 -1
  33. package/resources/browsers/telemetry.js +1 -1
  34. package/resources/browsers/telemetry.mjs +1 -1
  35. package/resources/credential-providers.d.mts +8 -4
  36. package/resources/credential-providers.d.mts.map +1 -1
  37. package/resources/credential-providers.d.ts +8 -4
  38. package/resources/credential-providers.d.ts.map +1 -1
  39. package/resources/index.d.mts +2 -1
  40. package/resources/index.d.mts.map +1 -1
  41. package/resources/index.d.ts +2 -1
  42. package/resources/index.d.ts.map +1 -1
  43. package/resources/index.js +3 -1
  44. package/resources/index.js.map +1 -1
  45. package/resources/index.mjs +1 -0
  46. package/resources/index.mjs.map +1 -1
  47. package/resources/invocations.d.mts +13 -0
  48. package/resources/invocations.d.mts.map +1 -1
  49. package/resources/invocations.d.ts +13 -0
  50. package/resources/invocations.d.ts.map +1 -1
  51. package/resources/organization/limits.d.mts +18 -3
  52. package/resources/organization/limits.d.mts.map +1 -1
  53. package/resources/organization/limits.d.ts +18 -3
  54. package/resources/organization/limits.d.ts.map +1 -1
  55. package/resources/organization/limits.js +1 -3
  56. package/resources/organization/limits.js.map +1 -1
  57. package/resources/organization/limits.mjs +1 -3
  58. package/resources/organization/limits.mjs.map +1 -1
  59. package/resources/projects/limits.d.mts +4 -4
  60. package/resources/projects/limits.d.mts.map +1 -1
  61. package/resources/projects/limits.d.ts +4 -4
  62. package/resources/projects/limits.d.ts.map +1 -1
  63. package/resources/projects/limits.js +6 -6
  64. package/resources/projects/limits.js.map +1 -1
  65. package/resources/projects/limits.mjs +6 -6
  66. package/resources/projects/limits.mjs.map +1 -1
  67. package/resources/projects/projects.d.mts +12 -10
  68. package/resources/projects/projects.d.mts.map +1 -1
  69. package/resources/projects/projects.d.ts +12 -10
  70. package/resources/projects/projects.d.ts.map +1 -1
  71. package/resources/projects/projects.js +11 -9
  72. package/resources/projects/projects.js.map +1 -1
  73. package/resources/projects/projects.mjs +11 -9
  74. package/resources/projects/projects.mjs.map +1 -1
  75. package/resources/telemetry/destinations.d.mts +138 -0
  76. package/resources/telemetry/destinations.d.mts.map +1 -0
  77. package/resources/telemetry/destinations.d.ts +138 -0
  78. package/resources/telemetry/destinations.d.ts.map +1 -0
  79. package/resources/telemetry/destinations.js +63 -0
  80. package/resources/telemetry/destinations.js.map +1 -0
  81. package/resources/telemetry/destinations.mjs +59 -0
  82. package/resources/telemetry/destinations.mjs.map +1 -0
  83. package/resources/telemetry/index.d.mts +3 -0
  84. package/resources/telemetry/index.d.mts.map +1 -0
  85. package/resources/telemetry/index.d.ts +3 -0
  86. package/resources/telemetry/index.d.ts.map +1 -0
  87. package/resources/telemetry/index.js +9 -0
  88. package/resources/telemetry/index.js.map +1 -0
  89. package/resources/telemetry/index.mjs +4 -0
  90. package/resources/telemetry/index.mjs.map +1 -0
  91. package/resources/telemetry/telemetry.d.mts +10 -0
  92. package/resources/telemetry/telemetry.d.mts.map +1 -0
  93. package/resources/telemetry/telemetry.d.ts +10 -0
  94. package/resources/telemetry/telemetry.d.ts.map +1 -0
  95. package/resources/telemetry/telemetry.js +17 -0
  96. package/resources/telemetry/telemetry.js.map +1 -0
  97. package/resources/telemetry/telemetry.mjs +12 -0
  98. package/resources/telemetry/telemetry.mjs.map +1 -0
  99. package/resources/telemetry.d.mts +2 -0
  100. package/resources/telemetry.d.mts.map +1 -0
  101. package/resources/telemetry.d.ts +2 -0
  102. package/resources/telemetry.d.ts.map +1 -0
  103. package/resources/telemetry.js +6 -0
  104. package/resources/telemetry.js.map +1 -0
  105. package/resources/telemetry.mjs +3 -0
  106. package/resources/telemetry.mjs.map +1 -0
  107. package/src/client.ts +20 -0
  108. package/src/resources/auth/connections.ts +72 -0
  109. package/src/resources/browser-pools.ts +53 -0
  110. package/src/resources/browsers/browsers.ts +130 -0
  111. package/src/resources/browsers/index.ts +3 -0
  112. package/src/resources/browsers/telemetry.ts +1 -1
  113. package/src/resources/credential-providers.ts +8 -4
  114. package/src/resources/index.ts +4 -0
  115. package/src/resources/invocations.ts +16 -0
  116. package/src/resources/organization/limits.ts +21 -3
  117. package/src/resources/projects/limits.ts +6 -6
  118. package/src/resources/projects/projects.ts +15 -13
  119. package/src/resources/telemetry/destinations.ts +188 -0
  120. package/src/resources/telemetry/index.ts +11 -0
  121. package/src/resources/telemetry/telemetry.ts +29 -0
  122. package/src/resources/telemetry.ts +3 -0
  123. package/src/version.ts +1 -1
  124. package/version.d.mts +1 -1
  125. package/version.d.ts +1 -1
  126. package/version.js +1 -1
  127. package/version.mjs +1 -1
@@ -0,0 +1,138 @@
1
+ import { APIResource } from "../../core/resource.mjs";
2
+ import { APIPromise } from "../../core/api-promise.mjs";
3
+ import { OffsetPagination, type OffsetPaginationParams, PagePromise } from "../../core/pagination.mjs";
4
+ import { RequestOptions } from "../../internal/request-options.mjs";
5
+ /**
6
+ * Stream live telemetry events from a browser session, and manage the destinations sessions export them to.
7
+ */
8
+ export declare class Destinations extends APIResource {
9
+ /**
10
+ * Create an OTLP export destination in the resolved project. Names must be unique
11
+ * within the project.
12
+ */
13
+ create(body: DestinationCreateParams, options?: RequestOptions): APIPromise<OtlpDestination>;
14
+ /**
15
+ * Retrieve a single OTLP destination in the resolved project by its ID or name.
16
+ */
17
+ retrieve(idOrName: string, options?: RequestOptions): APIPromise<OtlpDestination>;
18
+ /**
19
+ * Update an OTLP destination. Sessions already exporting to it pick up the new
20
+ * values without restarting, which makes this the way to rotate credentials
21
+ * without interrupting export.
22
+ *
23
+ * Names must be unique within the project. Renaming is refused with a 409 while a
24
+ * managed auth connection selects this destination by name, since that connection
25
+ * resolves the name on every login. Every other field, including `headers`, stays
26
+ * editable.
27
+ */
28
+ update(idOrName: string, body: DestinationUpdateParams, options?: RequestOptions): APIPromise<OtlpDestination>;
29
+ /**
30
+ * List OTLP export destinations in the resolved project.
31
+ */
32
+ list(query?: DestinationListParams | null | undefined, options?: RequestOptions): PagePromise<OtlpDestinationsOffsetPagination, OtlpDestination>;
33
+ /**
34
+ * Delete an OTLP destination. Sessions bound to it are still exporting, so the
35
+ * delete is refused with a 409 while any exist; either wait for those sessions to
36
+ * end or delete them first. It is refused the same way while a managed auth
37
+ * connection still selects it, because that connection re-resolves the destination
38
+ * on every login, and while a managed auth login using it is still in progress.
39
+ */
40
+ delete(idOrName: string, options?: RequestOptions): APIPromise<void>;
41
+ }
42
+ export type OtlpDestinationsOffsetPagination = OffsetPagination<OtlpDestination>;
43
+ /**
44
+ * An OTLP endpoint to export browser session telemetry to. Reference one from
45
+ * `telemetry.export.otlp.destination` when creating a browser to export that
46
+ * session's captured telemetry to it.
47
+ */
48
+ export interface OtlpDestination {
49
+ id: string;
50
+ created_at: string;
51
+ /**
52
+ * OTLP/HTTP endpoint telemetry is sent to.
53
+ */
54
+ endpoint: string;
55
+ /**
56
+ * Headers sent with each export request. Names are returned in canonical form
57
+ * (`Authorization`, not `authorization`). Values are returned redacted as empty
58
+ * strings, so the keys are visible but the credentials are not.
59
+ */
60
+ headers: {
61
+ [key: string]: string;
62
+ };
63
+ /**
64
+ * Unique within the project. Usable in place of the ID when selecting a
65
+ * destination, so it cannot be shaped like an ID.
66
+ */
67
+ name: string;
68
+ updated_at: string;
69
+ description?: string;
70
+ }
71
+ export interface DestinationCreateParams {
72
+ /**
73
+ * Base endpoint of the OTLP/HTTP collector, without a signal path. Kernel appends
74
+ * the signal path itself, so pass `https://api.honeycomb.io` rather than
75
+ * `https://api.honeycomb.io/v1/logs`. If your provider's docs give you a
76
+ * signal-specific URL, drop the trailing `/v1/logs`, `/v1/traces`, or
77
+ * `/v1/metrics` — an endpoint that already carries one is rejected.
78
+ *
79
+ * Must be http or https, must resolve to a public address, and must carry no query
80
+ * string or fragment. Examples: `https://api.honeycomb.io`,
81
+ * `https://otlp-gateway-prod-us-east-0.grafana.net/otlp`,
82
+ * `https://otlp.datadoghq.com` (Datadog's OTLP intake for US1, not its logs
83
+ * intake).
84
+ */
85
+ endpoint: string;
86
+ /**
87
+ * Unique within the project.
88
+ */
89
+ name: string;
90
+ description?: string;
91
+ /**
92
+ * Headers sent with each export request, typically an ingestion key. Encrypted at
93
+ * rest and returned redacted. Names and values must be valid HTTP header tokens,
94
+ * and the names and values together cannot exceed 8192 bytes. Names are matched
95
+ * case-insensitively and stored canonicalized, so supplying two spellings of one
96
+ * header is rejected.
97
+ */
98
+ headers?: {
99
+ [key: string]: string;
100
+ };
101
+ }
102
+ export interface DestinationUpdateParams {
103
+ description?: string;
104
+ /**
105
+ * Base endpoint of the OTLP/HTTP collector, without a signal path. Same rules as
106
+ * on create.
107
+ */
108
+ endpoint?: string;
109
+ /**
110
+ * Edits stored headers key by key rather than replacing the map. A string value
111
+ * adds or replaces that header, `null` deletes it, and any key you omit is left as
112
+ * it is. Names are matched case-insensitively, so `authorization` replaces a
113
+ * stored `Authorization` rather than adding a second entry. This is the credential
114
+ * rotation path; sessions already exporting pick up the new values without
115
+ * restarting. Names and values must be valid HTTP header tokens, and the names and
116
+ * values together cannot exceed 8192 bytes.
117
+ */
118
+ headers?: {
119
+ [key: string]: string | null;
120
+ };
121
+ name?: string;
122
+ }
123
+ export interface DestinationListParams extends OffsetPaginationParams {
124
+ /**
125
+ * Exact-match filter on destination name using the database collation. In
126
+ * production, matching is case- and accent-insensitive.
127
+ */
128
+ name?: string;
129
+ /**
130
+ * Case-insensitive substring match against destination name or endpoint. IDs match
131
+ * by exact value.
132
+ */
133
+ query?: string;
134
+ }
135
+ export declare namespace Destinations {
136
+ export { type OtlpDestination as OtlpDestination, type OtlpDestinationsOffsetPagination as OtlpDestinationsOffsetPagination, type DestinationCreateParams as DestinationCreateParams, type DestinationUpdateParams as DestinationUpdateParams, type DestinationListParams as DestinationListParams, };
137
+ }
138
+ //# sourceMappingURL=destinations.d.mts.map
@@ -0,0 +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;;;OAGG;IACH,MAAM,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;IAI5F;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;IAIjF;;;;;;;;;OASG;IACH,MAAM,CACJ,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC;IAI9B;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,gCAAgC,EAAE,eAAe,CAAC;IAOjE;;;;;;OAMG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAMrE;AAED,MAAM,MAAM,gCAAgC,GAAG,gBAAgB,CAAC,eAAe,CAAC,CAAC;AAEjF;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IAEX,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,OAAO,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAEnC;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb,UAAU,EAAE,MAAM,CAAC;IAEnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,uBAAuB;IACtC;;;;;;;;;;;;OAYG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CACrC;AAED,MAAM,WAAW,uBAAuB;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;;;;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"}
@@ -0,0 +1,138 @@
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
+ /**
6
+ * Stream live telemetry events from a browser session, and manage the destinations sessions export them to.
7
+ */
8
+ export declare class Destinations extends APIResource {
9
+ /**
10
+ * Create an OTLP export destination in the resolved project. Names must be unique
11
+ * within the project.
12
+ */
13
+ create(body: DestinationCreateParams, options?: RequestOptions): APIPromise<OtlpDestination>;
14
+ /**
15
+ * Retrieve a single OTLP destination in the resolved project by its ID or name.
16
+ */
17
+ retrieve(idOrName: string, options?: RequestOptions): APIPromise<OtlpDestination>;
18
+ /**
19
+ * Update an OTLP destination. Sessions already exporting to it pick up the new
20
+ * values without restarting, which makes this the way to rotate credentials
21
+ * without interrupting export.
22
+ *
23
+ * Names must be unique within the project. Renaming is refused with a 409 while a
24
+ * managed auth connection selects this destination by name, since that connection
25
+ * resolves the name on every login. Every other field, including `headers`, stays
26
+ * editable.
27
+ */
28
+ update(idOrName: string, body: DestinationUpdateParams, options?: RequestOptions): APIPromise<OtlpDestination>;
29
+ /**
30
+ * List OTLP export destinations in the resolved project.
31
+ */
32
+ list(query?: DestinationListParams | null | undefined, options?: RequestOptions): PagePromise<OtlpDestinationsOffsetPagination, OtlpDestination>;
33
+ /**
34
+ * Delete an OTLP destination. Sessions bound to it are still exporting, so the
35
+ * delete is refused with a 409 while any exist; either wait for those sessions to
36
+ * end or delete them first. It is refused the same way while a managed auth
37
+ * connection still selects it, because that connection re-resolves the destination
38
+ * on every login, and while a managed auth login using it is still in progress.
39
+ */
40
+ delete(idOrName: string, options?: RequestOptions): APIPromise<void>;
41
+ }
42
+ export type OtlpDestinationsOffsetPagination = OffsetPagination<OtlpDestination>;
43
+ /**
44
+ * An OTLP endpoint to export browser session telemetry to. Reference one from
45
+ * `telemetry.export.otlp.destination` when creating a browser to export that
46
+ * session's captured telemetry to it.
47
+ */
48
+ export interface OtlpDestination {
49
+ id: string;
50
+ created_at: string;
51
+ /**
52
+ * OTLP/HTTP endpoint telemetry is sent to.
53
+ */
54
+ endpoint: string;
55
+ /**
56
+ * Headers sent with each export request. Names are returned in canonical form
57
+ * (`Authorization`, not `authorization`). Values are returned redacted as empty
58
+ * strings, so the keys are visible but the credentials are not.
59
+ */
60
+ headers: {
61
+ [key: string]: string;
62
+ };
63
+ /**
64
+ * Unique within the project. Usable in place of the ID when selecting a
65
+ * destination, so it cannot be shaped like an ID.
66
+ */
67
+ name: string;
68
+ updated_at: string;
69
+ description?: string;
70
+ }
71
+ export interface DestinationCreateParams {
72
+ /**
73
+ * Base endpoint of the OTLP/HTTP collector, without a signal path. Kernel appends
74
+ * the signal path itself, so pass `https://api.honeycomb.io` rather than
75
+ * `https://api.honeycomb.io/v1/logs`. If your provider's docs give you a
76
+ * signal-specific URL, drop the trailing `/v1/logs`, `/v1/traces`, or
77
+ * `/v1/metrics` — an endpoint that already carries one is rejected.
78
+ *
79
+ * Must be http or https, must resolve to a public address, and must carry no query
80
+ * string or fragment. Examples: `https://api.honeycomb.io`,
81
+ * `https://otlp-gateway-prod-us-east-0.grafana.net/otlp`,
82
+ * `https://otlp.datadoghq.com` (Datadog's OTLP intake for US1, not its logs
83
+ * intake).
84
+ */
85
+ endpoint: string;
86
+ /**
87
+ * Unique within the project.
88
+ */
89
+ name: string;
90
+ description?: string;
91
+ /**
92
+ * Headers sent with each export request, typically an ingestion key. Encrypted at
93
+ * rest and returned redacted. Names and values must be valid HTTP header tokens,
94
+ * and the names and values together cannot exceed 8192 bytes. Names are matched
95
+ * case-insensitively and stored canonicalized, so supplying two spellings of one
96
+ * header is rejected.
97
+ */
98
+ headers?: {
99
+ [key: string]: string;
100
+ };
101
+ }
102
+ export interface DestinationUpdateParams {
103
+ description?: string;
104
+ /**
105
+ * Base endpoint of the OTLP/HTTP collector, without a signal path. Same rules as
106
+ * on create.
107
+ */
108
+ endpoint?: string;
109
+ /**
110
+ * Edits stored headers key by key rather than replacing the map. A string value
111
+ * adds or replaces that header, `null` deletes it, and any key you omit is left as
112
+ * it is. Names are matched case-insensitively, so `authorization` replaces a
113
+ * stored `Authorization` rather than adding a second entry. This is the credential
114
+ * rotation path; sessions already exporting pick up the new values without
115
+ * restarting. Names and values must be valid HTTP header tokens, and the names and
116
+ * values together cannot exceed 8192 bytes.
117
+ */
118
+ headers?: {
119
+ [key: string]: string | null;
120
+ };
121
+ name?: string;
122
+ }
123
+ export interface DestinationListParams extends OffsetPaginationParams {
124
+ /**
125
+ * Exact-match filter on destination name using the database collation. In
126
+ * production, matching is case- and accent-insensitive.
127
+ */
128
+ name?: string;
129
+ /**
130
+ * Case-insensitive substring match against destination name or endpoint. IDs match
131
+ * by exact value.
132
+ */
133
+ query?: string;
134
+ }
135
+ export declare namespace Destinations {
136
+ export { type OtlpDestination as OtlpDestination, type OtlpDestinationsOffsetPagination as OtlpDestinationsOffsetPagination, type DestinationCreateParams as DestinationCreateParams, type DestinationUpdateParams as DestinationUpdateParams, type DestinationListParams as DestinationListParams, };
137
+ }
138
+ //# sourceMappingURL=destinations.d.ts.map
@@ -0,0 +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;;;OAGG;IACH,MAAM,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;IAI5F;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,eAAe,CAAC;IAIjF;;;;;;;;;OASG;IACH,MAAM,CACJ,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,uBAAuB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,eAAe,CAAC;IAI9B;;OAEG;IACH,IAAI,CACF,KAAK,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACpD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,gCAAgC,EAAE,eAAe,CAAC;IAOjE;;;;;;OAMG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAMrE;AAED,MAAM,MAAM,gCAAgC,GAAG,gBAAgB,CAAC,eAAe,CAAC,CAAC;AAEjF;;;;GAIG;AACH,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,MAAM,CAAC;IAEX,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;;OAIG;IACH,OAAO,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IAEnC;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb,UAAU,EAAE,MAAM,CAAC;IAEnB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,uBAAuB;IACtC;;;;;;;;;;;;OAYG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;;;;OAMG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CACrC;AAED,MAAM,WAAW,uBAAuB;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;;;;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"}
@@ -0,0 +1,63 @@
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.Destinations = 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
+ /**
10
+ * Stream live telemetry events from a browser session, and manage the destinations sessions export them to.
11
+ */
12
+ class Destinations extends resource_1.APIResource {
13
+ /**
14
+ * Create an OTLP export destination in the resolved project. Names must be unique
15
+ * within the project.
16
+ */
17
+ create(body, options) {
18
+ return this._client.post('/telemetry/destinations', { body, ...options });
19
+ }
20
+ /**
21
+ * Retrieve a single OTLP destination in the resolved project by its ID or name.
22
+ */
23
+ retrieve(idOrName, options) {
24
+ return this._client.get((0, path_1.path) `/telemetry/destinations/${idOrName}`, options);
25
+ }
26
+ /**
27
+ * Update an OTLP destination. Sessions already exporting to it pick up the new
28
+ * values without restarting, which makes this the way to rotate credentials
29
+ * without interrupting export.
30
+ *
31
+ * Names must be unique within the project. Renaming is refused with a 409 while a
32
+ * managed auth connection selects this destination by name, since that connection
33
+ * resolves the name on every login. Every other field, including `headers`, stays
34
+ * editable.
35
+ */
36
+ update(idOrName, body, options) {
37
+ return this._client.patch((0, path_1.path) `/telemetry/destinations/${idOrName}`, { body, ...options });
38
+ }
39
+ /**
40
+ * List OTLP export destinations in the resolved project.
41
+ */
42
+ list(query = {}, options) {
43
+ return this._client.getAPIList('/telemetry/destinations', (pagination_1.OffsetPagination), {
44
+ query,
45
+ ...options,
46
+ });
47
+ }
48
+ /**
49
+ * Delete an OTLP destination. Sessions bound to it are still exporting, so the
50
+ * delete is refused with a 409 while any exist; either wait for those sessions to
51
+ * end or delete them first. It is refused the same way while a managed auth
52
+ * connection still selects it, because that connection re-resolves the destination
53
+ * on every login, and while a managed auth login using it is still in progress.
54
+ */
55
+ delete(idOrName, options) {
56
+ return this._client.delete((0, path_1.path) `/telemetry/destinations/${idOrName}`, {
57
+ ...options,
58
+ headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
59
+ });
60
+ }
61
+ }
62
+ exports.Destinations = Destinations;
63
+ //# sourceMappingURL=destinations.js.map
@@ -0,0 +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;;;OAGG;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;;OAEG;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;;;;;;;;;OASG;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;;OAEG;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;;;;;;OAMG;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;AA5DD,oCA4DC"}
@@ -0,0 +1,59 @@
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
+ /**
7
+ * Stream live telemetry events from a browser session, and manage the destinations sessions export them to.
8
+ */
9
+ export class Destinations extends APIResource {
10
+ /**
11
+ * Create an OTLP export destination in the resolved project. Names must be unique
12
+ * within the project.
13
+ */
14
+ create(body, options) {
15
+ return this._client.post('/telemetry/destinations', { body, ...options });
16
+ }
17
+ /**
18
+ * Retrieve a single OTLP destination in the resolved project by its ID or name.
19
+ */
20
+ retrieve(idOrName, options) {
21
+ return this._client.get(path `/telemetry/destinations/${idOrName}`, options);
22
+ }
23
+ /**
24
+ * Update an OTLP destination. Sessions already exporting to it pick up the new
25
+ * values without restarting, which makes this the way to rotate credentials
26
+ * without interrupting export.
27
+ *
28
+ * Names must be unique within the project. Renaming is refused with a 409 while a
29
+ * managed auth connection selects this destination by name, since that connection
30
+ * resolves the name on every login. Every other field, including `headers`, stays
31
+ * editable.
32
+ */
33
+ update(idOrName, body, options) {
34
+ return this._client.patch(path `/telemetry/destinations/${idOrName}`, { body, ...options });
35
+ }
36
+ /**
37
+ * List OTLP export destinations in the resolved project.
38
+ */
39
+ list(query = {}, options) {
40
+ return this._client.getAPIList('/telemetry/destinations', (OffsetPagination), {
41
+ query,
42
+ ...options,
43
+ });
44
+ }
45
+ /**
46
+ * Delete an OTLP destination. Sessions bound to it are still exporting, so the
47
+ * delete is refused with a 409 while any exist; either wait for those sessions to
48
+ * end or delete them first. It is refused the same way while a managed auth
49
+ * connection still selects it, because that connection re-resolves the destination
50
+ * on every login, and while a managed auth login using it is still in progress.
51
+ */
52
+ delete(idOrName, options) {
53
+ return this._client.delete(path `/telemetry/destinations/${idOrName}`, {
54
+ ...options,
55
+ headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
56
+ });
57
+ }
58
+ }
59
+ //# sourceMappingURL=destinations.mjs.map
@@ -0,0 +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;;;OAGG;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;;OAEG;IACH,QAAQ,CAAC,QAAgB,EAAE,OAAwB;QACjD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAI,CAAA,2BAA2B,QAAQ,EAAE,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CACJ,QAAgB,EAChB,IAA6B,EAC7B,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,IAAI,CAAA,2BAA2B,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;OAEG;IACH,IAAI,CACF,QAAkD,EAAE,EACpD,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,yBAAyB,EAAE,CAAA,gBAAiC,CAAA,EAAE;YAC3F,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;IAED;;;;;;OAMG;IACH,MAAM,CAAC,QAAgB,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,IAAI,CAAA,2BAA2B,QAAQ,EAAE,EAAE;YACpE,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"}
@@ -0,0 +1,3 @@
1
+ export { Destinations, type OtlpDestination, type DestinationCreateParams, type DestinationUpdateParams, type DestinationListParams, type OtlpDestinationsOffsetPagination, } from "./destinations.mjs";
2
+ export { Telemetry } from "./telemetry.mjs";
3
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/telemetry/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,YAAY,EACZ,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,gCAAgC,GACtC,2BAAuB;AACxB,OAAO,EAAE,SAAS,EAAE,wBAAoB"}
@@ -0,0 +1,3 @@
1
+ export { Destinations, type OtlpDestination, type DestinationCreateParams, type DestinationUpdateParams, type DestinationListParams, type OtlpDestinationsOffsetPagination, } from "./destinations.js";
2
+ export { Telemetry } from "./telemetry.js";
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/telemetry/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,YAAY,EACZ,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAC5B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,gCAAgC,GACtC,0BAAuB;AACxB,OAAO,EAAE,SAAS,EAAE,uBAAoB"}
@@ -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.Telemetry = exports.Destinations = void 0;
5
+ var destinations_1 = require("./destinations.js");
6
+ Object.defineProperty(exports, "Destinations", { enumerable: true, get: function () { return destinations_1.Destinations; } });
7
+ var telemetry_1 = require("./telemetry.js");
8
+ Object.defineProperty(exports, "Telemetry", { enumerable: true, get: function () { return telemetry_1.Telemetry; } });
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/telemetry/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,kDAOwB;AANtB,4GAAA,YAAY,OAAA;AAOd,4CAAwC;AAA/B,sGAAA,SAAS,OAAA"}
@@ -0,0 +1,4 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export { Destinations, } from "./destinations.mjs";
3
+ export { Telemetry } from "./telemetry.mjs";
4
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/telemetry/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,YAAY,GAMb,2BAAuB;AACxB,OAAO,EAAE,SAAS,EAAE,wBAAoB"}
@@ -0,0 +1,10 @@
1
+ import { APIResource } from "../../core/resource.mjs";
2
+ import * as DestinationsAPI from "./destinations.mjs";
3
+ import { DestinationCreateParams, DestinationListParams, DestinationUpdateParams, Destinations, OtlpDestination, OtlpDestinationsOffsetPagination } from "./destinations.mjs";
4
+ export declare class Telemetry extends APIResource {
5
+ destinations: DestinationsAPI.Destinations;
6
+ }
7
+ export declare namespace Telemetry {
8
+ export { Destinations as Destinations, type OtlpDestination as OtlpDestination, type OtlpDestinationsOffsetPagination as OtlpDestinationsOffsetPagination, type DestinationCreateParams as DestinationCreateParams, type DestinationUpdateParams as DestinationUpdateParams, type DestinationListParams as DestinationListParams, };
9
+ }
10
+ //# sourceMappingURL=telemetry.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"telemetry.d.mts","sourceRoot":"","sources":["../../src/resources/telemetry/telemetry.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,eAAe,2BAAuB;AAClD,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACrB,uBAAuB,EACvB,YAAY,EACZ,eAAe,EACf,gCAAgC,EACjC,2BAAuB;AAExB,qBAAa,SAAU,SAAQ,WAAW;IACxC,YAAY,EAAE,eAAe,CAAC,YAAY,CAAkD;CAC7F;AAID,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,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"}
@@ -0,0 +1,10 @@
1
+ import { APIResource } from "../../core/resource.js";
2
+ import * as DestinationsAPI from "./destinations.js";
3
+ import { DestinationCreateParams, DestinationListParams, DestinationUpdateParams, Destinations, OtlpDestination, OtlpDestinationsOffsetPagination } from "./destinations.js";
4
+ export declare class Telemetry extends APIResource {
5
+ destinations: DestinationsAPI.Destinations;
6
+ }
7
+ export declare namespace Telemetry {
8
+ export { Destinations as Destinations, type OtlpDestination as OtlpDestination, type OtlpDestinationsOffsetPagination as OtlpDestinationsOffsetPagination, type DestinationCreateParams as DestinationCreateParams, type DestinationUpdateParams as DestinationUpdateParams, type DestinationListParams as DestinationListParams, };
9
+ }
10
+ //# sourceMappingURL=telemetry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"telemetry.d.ts","sourceRoot":"","sources":["../../src/resources/telemetry/telemetry.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,KAAK,eAAe,0BAAuB;AAClD,OAAO,EACL,uBAAuB,EACvB,qBAAqB,EACrB,uBAAuB,EACvB,YAAY,EACZ,eAAe,EACf,gCAAgC,EACjC,0BAAuB;AAExB,qBAAa,SAAU,SAAQ,WAAW;IACxC,YAAY,EAAE,eAAe,CAAC,YAAY,CAAkD;CAC7F;AAID,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EACL,YAAY,IAAI,YAAY,EAC5B,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"}
@@ -0,0 +1,17 @@
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.Telemetry = void 0;
5
+ const tslib_1 = require("../../internal/tslib.js");
6
+ const resource_1 = require("../../core/resource.js");
7
+ const DestinationsAPI = tslib_1.__importStar(require("./destinations.js"));
8
+ const destinations_1 = require("./destinations.js");
9
+ class Telemetry extends resource_1.APIResource {
10
+ constructor() {
11
+ super(...arguments);
12
+ this.destinations = new DestinationsAPI.Destinations(this._client);
13
+ }
14
+ }
15
+ exports.Telemetry = Telemetry;
16
+ Telemetry.Destinations = destinations_1.Destinations;
17
+ //# sourceMappingURL=telemetry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"telemetry.js","sourceRoot":"","sources":["../../src/resources/telemetry/telemetry.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,qDAAkD;AAClD,2EAAkD;AAClD,oDAOwB;AAExB,MAAa,SAAU,SAAQ,sBAAW;IAA1C;;QACE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC9F,CAAC;CAAA;AAFD,8BAEC;AAED,SAAS,CAAC,YAAY,GAAG,2BAAY,CAAC"}
@@ -0,0 +1,12 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ import { APIResource } from "../../core/resource.mjs";
3
+ import * as DestinationsAPI from "./destinations.mjs";
4
+ import { Destinations, } from "./destinations.mjs";
5
+ export class Telemetry extends APIResource {
6
+ constructor() {
7
+ super(...arguments);
8
+ this.destinations = new DestinationsAPI.Destinations(this._client);
9
+ }
10
+ }
11
+ Telemetry.Destinations = Destinations;
12
+ //# sourceMappingURL=telemetry.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"telemetry.mjs","sourceRoot":"","sources":["../../src/resources/telemetry/telemetry.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,KAAK,eAAe,2BAAuB;AAClD,OAAO,EAIL,YAAY,GAGb,2BAAuB;AAExB,MAAM,OAAO,SAAU,SAAQ,WAAW;IAA1C;;QACE,iBAAY,GAAiC,IAAI,eAAe,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAC9F,CAAC;CAAA;AAED,SAAS,CAAC,YAAY,GAAG,YAAY,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from "./telemetry/index.mjs";
2
+ //# sourceMappingURL=telemetry.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"telemetry.d.mts","sourceRoot":"","sources":["../src/resources/telemetry.ts"],"names":[],"mappings":"AAEA,sCAAkC"}
@@ -0,0 +1,2 @@
1
+ export * from "./telemetry/index.js";
2
+ //# sourceMappingURL=telemetry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"telemetry.d.ts","sourceRoot":"","sources":["../src/resources/telemetry.ts"],"names":[],"mappings":"AAEA,qCAAkC"}
@@ -0,0 +1,6 @@
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
+ const tslib_1 = require("../internal/tslib.js");
5
+ tslib_1.__exportStar(require("./telemetry/index.js"), exports);
6
+ //# sourceMappingURL=telemetry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"telemetry.js","sourceRoot":"","sources":["../src/resources/telemetry.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,+DAAkC"}
@@ -0,0 +1,3 @@
1
+ // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+ export * from "./telemetry/index.mjs";
3
+ //# sourceMappingURL=telemetry.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"telemetry.mjs","sourceRoot":"","sources":["../src/resources/telemetry.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,sCAAkC"}