@tembo-io/sdk 0.16.0 → 0.17.1
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/api.md +52 -45
- package/dist/cjs/client.d.ts +2 -2
- package/dist/cjs/client.d.ts.map +1 -1
- package/dist/cjs/client.js.map +1 -1
- package/dist/cjs/internal/headers.d.ts +12 -0
- package/dist/cjs/internal/headers.d.ts.map +1 -1
- package/dist/cjs/internal/headers.js +40 -1
- package/dist/cjs/internal/headers.js.map +1 -1
- package/dist/cjs/resources/artifacts.d.ts +4 -0
- package/dist/cjs/resources/artifacts.d.ts.map +1 -1
- package/dist/cjs/resources/billing.d.ts +42 -7
- package/dist/cjs/resources/billing.d.ts.map +1 -1
- package/dist/cjs/resources/billing.js +1 -1
- package/dist/cjs/resources/index.d.ts +1 -1
- package/dist/cjs/resources/index.d.ts.map +1 -1
- package/dist/cjs/resources/index.js.map +1 -1
- package/dist/cjs/resources/models.d.ts +6 -6
- package/dist/cjs/resources/models.d.ts.map +1 -1
- package/dist/cjs/resources/models.js +1 -1
- package/dist/cjs/resources/models.js.map +1 -1
- package/dist/cjs/resources/organizations/index.d.ts +1 -1
- package/dist/cjs/resources/organizations/index.d.ts.map +1 -1
- package/dist/cjs/resources/organizations/organizations.d.ts +2 -2
- package/dist/cjs/resources/organizations/organizations.d.ts.map +1 -1
- package/dist/cjs/resources/organizations/organizations.js.map +1 -1
- package/dist/cjs/resources/organizations/settings.d.ts +9 -1
- package/dist/cjs/resources/organizations/settings.d.ts.map +1 -1
- package/dist/cjs/resources/organizations/settings.js +1 -1
- package/dist/cjs/resources/organizations/subscriptions.d.ts +1 -32
- package/dist/cjs/resources/organizations/subscriptions.d.ts.map +1 -1
- package/dist/cjs/resources/organizations/subscriptions.js +0 -22
- package/dist/cjs/resources/organizations/subscriptions.js.map +1 -1
- package/dist/cjs/resources/projects/builds.d.ts +2 -4
- package/dist/cjs/resources/projects/builds.d.ts.map +1 -1
- package/dist/cjs/resources/projects/projects.d.ts +589 -33
- package/dist/cjs/resources/projects/projects.d.ts.map +1 -1
- package/dist/cjs/resources/projects/projects.js +5 -2
- package/dist/cjs/resources/projects/projects.js.map +1 -1
- package/dist/cjs/resources/projects/snapshots.d.ts +15 -6
- package/dist/cjs/resources/projects/snapshots.d.ts.map +1 -1
- package/dist/cjs/resources/runtimes.d.ts +2 -2
- package/dist/cjs/resources/runtimes.d.ts.map +1 -1
- package/dist/cjs/resources/sessions/sessions.d.ts +29 -2
- package/dist/cjs/resources/sessions/sessions.d.ts.map +1 -1
- package/dist/cjs/resources/sessions/sessions.js +2 -2
- package/dist/cjs/resources/sessions/sessions.js.map +1 -1
- package/dist/cjs/resources/users/environment-variables.d.ts +132 -0
- package/dist/cjs/resources/users/environment-variables.d.ts.map +1 -0
- package/dist/cjs/resources/users/environment-variables.js +66 -0
- package/dist/cjs/resources/users/environment-variables.js.map +1 -0
- package/dist/cjs/resources/users/index.d.ts +4 -2
- package/dist/cjs/resources/users/index.d.ts.map +1 -1
- package/dist/cjs/resources/users/index.js +3 -1
- package/dist/cjs/resources/users/index.js.map +1 -1
- package/dist/cjs/resources/users/subscriptions.d.ts +1 -32
- package/dist/cjs/resources/users/subscriptions.d.ts.map +1 -1
- package/dist/cjs/resources/users/subscriptions.js +0 -19
- package/dist/cjs/resources/users/subscriptions.js.map +1 -1
- package/dist/cjs/resources/users/users.d.ts +7 -53
- package/dist/cjs/resources/users/users.d.ts.map +1 -1
- package/dist/cjs/resources/users/users.js +4 -16
- package/dist/cjs/resources/users/users.js.map +1 -1
- package/dist/cjs/resources.d.ts +1 -1
- package/dist/cjs/resources.d.ts.map +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/client.d.ts +2 -2
- package/dist/esm/client.d.ts.map +1 -1
- package/dist/esm/client.js +1 -1
- package/dist/esm/client.js.map +1 -1
- package/dist/esm/internal/headers.d.ts +12 -0
- package/dist/esm/internal/headers.d.ts.map +1 -1
- package/dist/esm/internal/headers.js +36 -0
- package/dist/esm/internal/headers.js.map +1 -1
- package/dist/esm/resources/artifacts.d.ts +4 -0
- package/dist/esm/resources/artifacts.d.ts.map +1 -1
- package/dist/esm/resources/billing.d.ts +42 -7
- package/dist/esm/resources/billing.d.ts.map +1 -1
- package/dist/esm/resources/billing.js +1 -1
- package/dist/esm/resources/index.d.ts +1 -1
- package/dist/esm/resources/index.d.ts.map +1 -1
- package/dist/esm/resources/index.js.map +1 -1
- package/dist/esm/resources/models.d.ts +6 -6
- package/dist/esm/resources/models.d.ts.map +1 -1
- package/dist/esm/resources/models.js +1 -1
- package/dist/esm/resources/models.js.map +1 -1
- package/dist/esm/resources/organizations/index.d.ts +1 -1
- package/dist/esm/resources/organizations/index.d.ts.map +1 -1
- package/dist/esm/resources/organizations/organizations.d.ts +2 -2
- package/dist/esm/resources/organizations/organizations.d.ts.map +1 -1
- package/dist/esm/resources/organizations/organizations.js +1 -1
- package/dist/esm/resources/organizations/organizations.js.map +1 -1
- package/dist/esm/resources/organizations/settings.d.ts +9 -1
- package/dist/esm/resources/organizations/settings.d.ts.map +1 -1
- package/dist/esm/resources/organizations/settings.js +1 -1
- package/dist/esm/resources/organizations/subscriptions.d.ts +1 -32
- package/dist/esm/resources/organizations/subscriptions.d.ts.map +1 -1
- package/dist/esm/resources/organizations/subscriptions.js +0 -22
- package/dist/esm/resources/organizations/subscriptions.js.map +1 -1
- package/dist/esm/resources/projects/builds.d.ts +2 -4
- package/dist/esm/resources/projects/builds.d.ts.map +1 -1
- package/dist/esm/resources/projects/projects.d.ts +589 -33
- package/dist/esm/resources/projects/projects.d.ts.map +1 -1
- package/dist/esm/resources/projects/projects.js +5 -2
- package/dist/esm/resources/projects/projects.js.map +1 -1
- package/dist/esm/resources/projects/snapshots.d.ts +15 -6
- package/dist/esm/resources/projects/snapshots.d.ts.map +1 -1
- package/dist/esm/resources/runtimes.d.ts +2 -2
- package/dist/esm/resources/runtimes.d.ts.map +1 -1
- package/dist/esm/resources/sessions/sessions.d.ts +29 -2
- package/dist/esm/resources/sessions/sessions.d.ts.map +1 -1
- package/dist/esm/resources/sessions/sessions.js +2 -2
- package/dist/esm/resources/sessions/sessions.js.map +1 -1
- package/dist/esm/resources/users/environment-variables.d.ts +132 -0
- package/dist/esm/resources/users/environment-variables.d.ts.map +1 -0
- package/dist/esm/resources/users/environment-variables.js +62 -0
- package/dist/esm/resources/users/environment-variables.js.map +1 -0
- package/dist/esm/resources/users/index.d.ts +4 -2
- package/dist/esm/resources/users/index.d.ts.map +1 -1
- package/dist/esm/resources/users/index.js +1 -0
- package/dist/esm/resources/users/index.js.map +1 -1
- package/dist/esm/resources/users/subscriptions.d.ts +1 -32
- package/dist/esm/resources/users/subscriptions.d.ts.map +1 -1
- package/dist/esm/resources/users/subscriptions.js +0 -19
- package/dist/esm/resources/users/subscriptions.js.map +1 -1
- package/dist/esm/resources/users/users.d.ts +7 -53
- package/dist/esm/resources/users/users.d.ts.map +1 -1
- package/dist/esm/resources/users/users.js +5 -17
- package/dist/esm/resources/users/users.js.map +1 -1
- package/dist/esm/resources.d.ts +1 -1
- package/dist/esm/resources.d.ts.map +1 -1
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { APIResource } from '../../resource';
|
|
2
|
+
import { APIPromise } from '../../api-promise';
|
|
3
|
+
import type { RequestOptions } from '../../internal/request-options';
|
|
4
|
+
export declare class EnvironmentVariables extends APIResource {
|
|
5
|
+
/**
|
|
6
|
+
* List your personal environment variables in the current organization. Values are never returned.
|
|
7
|
+
*
|
|
8
|
+
* @param {string} userID
|
|
9
|
+
* @param {RequestOptions} [options] - Options to apply to the request, such as headers and an abort signal.
|
|
10
|
+
* @returns {APIPromise<EnvironmentVariableListResponse>} List personal environment variables
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const environmentVariable = await client.users.environmentVariables.list('userId');
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
list(userID: string, options?: RequestOptions): APIPromise<EnvironmentVariableListResponse>;
|
|
18
|
+
/**
|
|
19
|
+
* Store an encrypted environment variable that is injected into every session you start in the current organization.
|
|
20
|
+
*
|
|
21
|
+
* @param {string} userID
|
|
22
|
+
* @param {EnvironmentVariableCreateParams} body - The request body to send.
|
|
23
|
+
* @param {RequestOptions} [options] - Options to apply to the request, such as headers and an abort signal.
|
|
24
|
+
* @returns {APIPromise<EnvironmentVariableCreateResponse>} Create a personal environment variable
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```ts
|
|
28
|
+
* const environmentVariable = await client.users.environmentVariables.create('userId', {
|
|
29
|
+
* key: 'x',
|
|
30
|
+
* value: 'x',
|
|
31
|
+
* });
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
create(userID: string, body: EnvironmentVariableCreateParams, options?: RequestOptions): APIPromise<EnvironmentVariableCreateResponse>;
|
|
35
|
+
/**
|
|
36
|
+
* Permanently delete a personal environment variable. Sessions started afterwards no longer receive it.
|
|
37
|
+
*
|
|
38
|
+
* @param {string} environmentVariableID
|
|
39
|
+
* @param {EnvironmentVariableDeleteParams} params - The parameters to send with the request.
|
|
40
|
+
* @param {RequestOptions} [options] - Options to apply to the request, such as headers and an abort signal.
|
|
41
|
+
* @returns {APIPromise<EnvironmentVariableDeleteResponse>} Delete a personal environment variable
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```ts
|
|
45
|
+
* const environmentVariable = await client.users.environmentVariables.delete(
|
|
46
|
+
* '7c9e6679-7425-40de-944b-e07fc1f90ae7',
|
|
47
|
+
* {
|
|
48
|
+
* userId: 'userId',
|
|
49
|
+
* },
|
|
50
|
+
* );
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
delete(environmentVariableID: string, params: EnvironmentVariableDeleteParams, options?: RequestOptions): APIPromise<EnvironmentVariableDeleteResponse>;
|
|
54
|
+
}
|
|
55
|
+
export interface EnvironmentVariableListResponse {
|
|
56
|
+
items: Array<EnvironmentVariableListResponse.Item>;
|
|
57
|
+
}
|
|
58
|
+
export declare namespace EnvironmentVariableListResponse {
|
|
59
|
+
interface Item {
|
|
60
|
+
/**
|
|
61
|
+
* @format date-time
|
|
62
|
+
*/
|
|
63
|
+
createdAt: string;
|
|
64
|
+
/**
|
|
65
|
+
* @format uuid
|
|
66
|
+
*/
|
|
67
|
+
id: string;
|
|
68
|
+
/**
|
|
69
|
+
* @minLength 1
|
|
70
|
+
* @maxLength 255
|
|
71
|
+
* @pattern ^[A-Za-z_][A-Za-z0-9_]*$
|
|
72
|
+
*/
|
|
73
|
+
key: string;
|
|
74
|
+
/**
|
|
75
|
+
* @format date-time
|
|
76
|
+
*/
|
|
77
|
+
updatedAt: string;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
export interface EnvironmentVariableCreateParams {
|
|
81
|
+
/**
|
|
82
|
+
* Environment variable name, e.g. GITHUB_TOKEN.
|
|
83
|
+
* @minLength 1
|
|
84
|
+
* @maxLength 255
|
|
85
|
+
* @pattern ^[A-Za-z_][A-Za-z0-9_]*$
|
|
86
|
+
*/
|
|
87
|
+
key: string;
|
|
88
|
+
/**
|
|
89
|
+
* Plaintext value to encrypt and store. List operations never return it.
|
|
90
|
+
* @minLength 1
|
|
91
|
+
* @maxLength 10000
|
|
92
|
+
*/
|
|
93
|
+
value: string;
|
|
94
|
+
}
|
|
95
|
+
export interface EnvironmentVariableCreateResponse {
|
|
96
|
+
/**
|
|
97
|
+
* @format date-time
|
|
98
|
+
*/
|
|
99
|
+
createdAt: string;
|
|
100
|
+
/**
|
|
101
|
+
* @format uuid
|
|
102
|
+
*/
|
|
103
|
+
id: string;
|
|
104
|
+
/**
|
|
105
|
+
* @minLength 1
|
|
106
|
+
* @maxLength 255
|
|
107
|
+
* @pattern ^[A-Za-z_][A-Za-z0-9_]*$
|
|
108
|
+
*/
|
|
109
|
+
key: string;
|
|
110
|
+
/**
|
|
111
|
+
* @format date-time
|
|
112
|
+
*/
|
|
113
|
+
updatedAt: string;
|
|
114
|
+
}
|
|
115
|
+
export interface EnvironmentVariableDeleteParams {
|
|
116
|
+
/**
|
|
117
|
+
* @minLength 1
|
|
118
|
+
* @maxLength 255
|
|
119
|
+
*/
|
|
120
|
+
userId: string;
|
|
121
|
+
}
|
|
122
|
+
export interface EnvironmentVariableDeleteResponse {
|
|
123
|
+
deleted: true;
|
|
124
|
+
/**
|
|
125
|
+
* @format uuid
|
|
126
|
+
*/
|
|
127
|
+
id: string;
|
|
128
|
+
}
|
|
129
|
+
export declare namespace EnvironmentVariables {
|
|
130
|
+
export { type EnvironmentVariableListResponse as EnvironmentVariableListResponse, type EnvironmentVariableCreateResponse as EnvironmentVariableCreateResponse, type EnvironmentVariableDeleteResponse as EnvironmentVariableDeleteResponse, type EnvironmentVariableCreateParams as EnvironmentVariableCreateParams, type EnvironmentVariableDeleteParams as EnvironmentVariableDeleteParams, };
|
|
131
|
+
}
|
|
132
|
+
//# sourceMappingURL=environment-variables.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environment-variables.d.ts","sourceRoot":"","sources":["../../../../src/resources/users/environment-variables.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAGrE,qBAAa,oBAAqB,SAAQ,WAAW;IACnD;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,+BAA+B,CAAC;IAI3F;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CACJ,MAAM,EAAE,MAAM,EACd,IAAI,EAAE,+BAA+B,EACrC,OAAO,CA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AA+B,EACvE,KAAK,+BAA+B,IAAI,+BAA+B,GACxE,CAAC;CACH"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// File generated from our OpenAPI spec by Scalar. See README.md for details.
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.EnvironmentVariables = void 0;
|
|
5
|
+
const resource_1 = require("../../resource");
|
|
6
|
+
const path_1 = require("../../internal/utils/path");
|
|
7
|
+
class EnvironmentVariables extends resource_1.APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* List your personal environment variables in the current organization. Values are never returned.
|
|
10
|
+
*
|
|
11
|
+
* @param {string} userID
|
|
12
|
+
* @param {RequestOptions} [options] - Options to apply to the request, such as headers and an abort signal.
|
|
13
|
+
* @returns {APIPromise<EnvironmentVariableListResponse>} List personal environment variables
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```ts
|
|
17
|
+
* const environmentVariable = await client.users.environmentVariables.list('userId');
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
list(userID, options) {
|
|
21
|
+
return this._client.get((0, path_1.path) `/v1/users/${userID}/environment-variables`, options);
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Store an encrypted environment variable that is injected into every session you start in the current organization.
|
|
25
|
+
*
|
|
26
|
+
* @param {string} userID
|
|
27
|
+
* @param {EnvironmentVariableCreateParams} body - The request body to send.
|
|
28
|
+
* @param {RequestOptions} [options] - Options to apply to the request, such as headers and an abort signal.
|
|
29
|
+
* @returns {APIPromise<EnvironmentVariableCreateResponse>} Create a personal environment variable
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ```ts
|
|
33
|
+
* const environmentVariable = await client.users.environmentVariables.create('userId', {
|
|
34
|
+
* key: 'x',
|
|
35
|
+
* value: 'x',
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
create(userID, body, options) {
|
|
40
|
+
return this._client.post((0, path_1.path) `/v1/users/${userID}/environment-variables`, { body, ...options });
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Permanently delete a personal environment variable. Sessions started afterwards no longer receive it.
|
|
44
|
+
*
|
|
45
|
+
* @param {string} environmentVariableID
|
|
46
|
+
* @param {EnvironmentVariableDeleteParams} params - The parameters to send with the request.
|
|
47
|
+
* @param {RequestOptions} [options] - Options to apply to the request, such as headers and an abort signal.
|
|
48
|
+
* @returns {APIPromise<EnvironmentVariableDeleteResponse>} Delete a personal environment variable
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```ts
|
|
52
|
+
* const environmentVariable = await client.users.environmentVariables.delete(
|
|
53
|
+
* '7c9e6679-7425-40de-944b-e07fc1f90ae7',
|
|
54
|
+
* {
|
|
55
|
+
* userId: 'userId',
|
|
56
|
+
* },
|
|
57
|
+
* );
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
delete(environmentVariableID, params, options) {
|
|
61
|
+
const { userId } = params;
|
|
62
|
+
return this._client.delete((0, path_1.path) `/v1/users/${userId}/environment-variables/${environmentVariableID}`, options);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.EnvironmentVariables = EnvironmentVariables;
|
|
66
|
+
//# sourceMappingURL=environment-variables.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"environment-variables.js","sourceRoot":"","sources":["../../../../src/resources/users/environment-variables.ts"],"names":[],"mappings":";AAAA,6EAA6E;;;AAE7E,6CAA6C;AAG7C,oDAAiE;AAEjE,MAAa,oBAAqB,SAAQ,sBAAW;IACnD;;;;;;;;;;;OAWG;IACH,IAAI,CAAC,MAAc,EAAE,OAAwB;QAC3C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAY,EAAA,aAAa,MAAM,wBAAwB,EAAE,OAAO,CAAC,CAAC;IAC5F,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,MAAM,CACJ,MAAc,EACd,IAAqC,EACrC,OAAwB;QAExB,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,IAAA,WAAY,EAAA,aAAa,MAAM,wBAAwB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1G,CAAC;IAED;;;;;;;;;;;;;;;;;OAiBG;IACH,MAAM,CACJ,qBAA6B,EAC7B,MAAuC,EACvC,OAAwB;QAExB,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,CAAC;QAC1B,OAAO,IAAI,CAAC,OAAO,CAAC,MAAM,CACxB,IAAA,WAAY,EAAA,aAAa,MAAM,0BAA0B,qBAAqB,EAAE,EAChF,OAAO,CACR,CAAC;IACJ,CAAC;CACF;AAtED,oDAsEC"}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
export { Users } from './users';
|
|
2
|
-
export type { UserMeResponse, UserRetrieveResponse
|
|
2
|
+
export type { UserMeResponse, UserRetrieveResponse } from './users';
|
|
3
3
|
export { Settings } from './settings';
|
|
4
4
|
export type { SettingRetrieveResponse, SettingUpdateParams, SettingUpdateResponse } from './settings';
|
|
5
5
|
export { ConnectedAccounts } from './connected-accounts';
|
|
6
6
|
export type { ConnectedAccountListParams, ConnectedAccountListResponse, ConnectedAccountRetrieveParams, ConnectedAccountRetrieveResponse, } from './connected-accounts';
|
|
7
7
|
export { Subscriptions } from './subscriptions';
|
|
8
|
-
export type { SubscriptionRetrieveResponse
|
|
8
|
+
export type { SubscriptionRetrieveResponse } from './subscriptions';
|
|
9
|
+
export { EnvironmentVariables } from './environment-variables';
|
|
10
|
+
export type { EnvironmentVariableListResponse, EnvironmentVariableCreateParams, EnvironmentVariableCreateResponse, EnvironmentVariableDeleteParams, EnvironmentVariableDeleteResponse, } from './environment-variables';
|
|
9
11
|
export { ProfilePicture } from './profile-picture';
|
|
10
12
|
export type { ProfilePictureUpdateParams, ProfilePictureUpdateResponse, ProfilePictureDeleteResponse, } from './profile-picture';
|
|
11
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/resources/users/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,cAAc,EAAE,oBAAoB,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/resources/users/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAChC,YAAY,EAAE,cAAc,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AACpE,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,YAAY,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACtG,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,YAAY,EACV,0BAA0B,EAC1B,4BAA4B,EAC5B,8BAA8B,EAC9B,gCAAgC,GACjC,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,4BAA4B,EAAE,MAAM,iBAAiB,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAC/D,YAAY,EACV,+BAA+B,EAC/B,+BAA+B,EAC/B,iCAAiC,EACjC,+BAA+B,EAC/B,iCAAiC,GAClC,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,YAAY,EACV,0BAA0B,EAC1B,4BAA4B,EAC5B,4BAA4B,GAC7B,MAAM,mBAAmB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// File generated from our OpenAPI spec by Scalar. See README.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.ProfilePicture = exports.Subscriptions = exports.ConnectedAccounts = exports.Settings = exports.Users = void 0;
|
|
4
|
+
exports.ProfilePicture = exports.EnvironmentVariables = exports.Subscriptions = exports.ConnectedAccounts = exports.Settings = exports.Users = void 0;
|
|
5
5
|
var users_1 = require("./users");
|
|
6
6
|
Object.defineProperty(exports, "Users", { enumerable: true, get: function () { return users_1.Users; } });
|
|
7
7
|
var settings_1 = require("./settings");
|
|
@@ -10,6 +10,8 @@ var connected_accounts_1 = require("./connected-accounts");
|
|
|
10
10
|
Object.defineProperty(exports, "ConnectedAccounts", { enumerable: true, get: function () { return connected_accounts_1.ConnectedAccounts; } });
|
|
11
11
|
var subscriptions_1 = require("./subscriptions");
|
|
12
12
|
Object.defineProperty(exports, "Subscriptions", { enumerable: true, get: function () { return subscriptions_1.Subscriptions; } });
|
|
13
|
+
var environment_variables_1 = require("./environment-variables");
|
|
14
|
+
Object.defineProperty(exports, "EnvironmentVariables", { enumerable: true, get: function () { return environment_variables_1.EnvironmentVariables; } });
|
|
13
15
|
var profile_picture_1 = require("./profile-picture");
|
|
14
16
|
Object.defineProperty(exports, "ProfilePicture", { enumerable: true, get: function () { return profile_picture_1.ProfilePicture; } });
|
|
15
17
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/users/index.ts"],"names":[],"mappings":";AAAA,6EAA6E;;;AAE7E,iCAAgC;AAAvB,8FAAA,KAAK,OAAA;AAEd,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AAEjB,2DAAyD;AAAhD,uHAAA,iBAAiB,OAAA;AAO1B,iDAAgD;AAAvC,8GAAA,aAAa,OAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/resources/users/index.ts"],"names":[],"mappings":";AAAA,6EAA6E;;;AAE7E,iCAAgC;AAAvB,8FAAA,KAAK,OAAA;AAEd,uCAAsC;AAA7B,oGAAA,QAAQ,OAAA;AAEjB,2DAAyD;AAAhD,uHAAA,iBAAiB,OAAA;AAO1B,iDAAgD;AAAvC,8GAAA,aAAa,OAAA;AAEtB,iEAA+D;AAAtD,6HAAA,oBAAoB,OAAA;AAQ7B,qDAAmD;AAA1C,iHAAA,cAAc,OAAA"}
|
|
@@ -15,23 +15,6 @@ export declare class Subscriptions extends APIResource {
|
|
|
15
15
|
* ```
|
|
16
16
|
*/
|
|
17
17
|
retrieve(userID: string, options?: RequestOptions): APIPromise<SubscriptionRetrieveResponse>;
|
|
18
|
-
/**
|
|
19
|
-
* Redeem an earned ChatGPT rate-limit reset.
|
|
20
|
-
*
|
|
21
|
-
* @param {string} userID
|
|
22
|
-
* @param {SubscriptionResetParams} body - The request body to send.
|
|
23
|
-
* @param {RequestOptions} [options] - Options to apply to the request, such as headers and an abort signal.
|
|
24
|
-
* @returns {APIPromise<SubscriptionResetResponse>} Reset user subscription usage
|
|
25
|
-
*
|
|
26
|
-
* @example
|
|
27
|
-
* ```ts
|
|
28
|
-
* const subscription = await client.users.subscriptions.reset('userId', {
|
|
29
|
-
* idempotencyKey: '7c9e6679-7425-40de-944b-e07fc1f90ae7',
|
|
30
|
-
* provider: 'chatgpt',
|
|
31
|
-
* });
|
|
32
|
-
* ```
|
|
33
|
-
*/
|
|
34
|
-
reset(userID: string, body: SubscriptionResetParams, options?: RequestOptions): APIPromise<SubscriptionResetResponse>;
|
|
35
18
|
}
|
|
36
19
|
export interface SubscriptionRetrieveResponse {
|
|
37
20
|
chatgpt: SubscriptionRetrieveResponse.Chatgpt;
|
|
@@ -280,21 +263,7 @@ export declare namespace SubscriptionRetrieveResponse {
|
|
|
280
263
|
connected: boolean;
|
|
281
264
|
}
|
|
282
265
|
}
|
|
283
|
-
export interface SubscriptionResetParams {
|
|
284
|
-
/**
|
|
285
|
-
* Unique UUID for this reset attempt. Reuse the same UUID when retrying to avoid redeeming another reset credit.
|
|
286
|
-
* @format uuid
|
|
287
|
-
*/
|
|
288
|
-
idempotencyKey: string;
|
|
289
|
-
/**
|
|
290
|
-
* Subscription provider whose rate-limit reset credit to redeem. Currently only chatgpt is supported.
|
|
291
|
-
*/
|
|
292
|
-
provider: 'chatgpt';
|
|
293
|
-
}
|
|
294
|
-
export interface SubscriptionResetResponse {
|
|
295
|
-
outcome: 'reset' | 'alreadyRedeemed' | 'nothingToReset' | 'noCredit';
|
|
296
|
-
}
|
|
297
266
|
export declare namespace Subscriptions {
|
|
298
|
-
export { type SubscriptionRetrieveResponse as SubscriptionRetrieveResponse
|
|
267
|
+
export { type SubscriptionRetrieveResponse as SubscriptionRetrieveResponse };
|
|
299
268
|
}
|
|
300
269
|
//# sourceMappingURL=subscriptions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptions.d.ts","sourceRoot":"","sources":["../../../../src/resources/users/subscriptions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAGrE,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"subscriptions.d.ts","sourceRoot":"","sources":["../../../../src/resources/users/subscriptions.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAGrE,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;;;;;;;OAWG;IACH,QAAQ,CAA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AAM,EAAE,IAAI,CAAC;gBACb;;;mBAGG;gBACH,gBAAgB,EAAE,MAAM,CAAC;gBACzB;;mBAEG;gBACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;aACzB;YAED,UAAiB,UAAU;gBACzB,GAAG,EAAE,kBAAkB,CAAC;gBACxB,KAAK,EAAE,uBAAuB,CAAC;gBAC/B,MAAM,EAAE,IAAI,CAAC;gBACb;;;mBAGG;gBACH,gBAAgB,EAAE,MAAM,CAAC;gBACzB;;mBAEG;gBACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;aACzB;YAED,UAAiB,UAAU;gBACzB,GAAG,EAAE,kBAAkB,CAAC;gBACxB,KAAK,EAAE,uBAAuB,CAAC;gBAC/B,MAAM,EAAE,IAAI,CAAC;gBACb;;;mBAGG;gBACH,gBAAgB,EAAE,MAAM,CAAC;gBACzB;;mBAEG;gBACH,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;aACzB;SACF;QAED,UAAiB,UAAU;YACzB,IAAI,EAAE,mBAAmB,GAAG,aAAa,GAAG,aAAa,CAAC;YAC1D,OAAO,EAAE,MAAM,CAAC;YAChB,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;SAC3B;KACF;IAED,UAAiB,SAAS;QACxB,SAAS,EAAE,OAAO,CAAC;KACpB;CACF;AACD,MAAM,CAAC,OAAO,WAAW,aAAa,CAAC;IACrC,OAAO,EAAE,KAAK,4BAA4B,IAAI,4BAA4B,EAAE,CAAC;CAC9E"}
|
|
@@ -20,25 +20,6 @@ class Subscriptions extends resource_1.APIResource {
|
|
|
20
20
|
retrieve(userID, options) {
|
|
21
21
|
return this._client.get((0, path_1.path) `/v1/users/${userID}/subscriptions`, options);
|
|
22
22
|
}
|
|
23
|
-
/**
|
|
24
|
-
* Redeem an earned ChatGPT rate-limit reset.
|
|
25
|
-
*
|
|
26
|
-
* @param {string} userID
|
|
27
|
-
* @param {SubscriptionResetParams} body - The request body to send.
|
|
28
|
-
* @param {RequestOptions} [options] - Options to apply to the request, such as headers and an abort signal.
|
|
29
|
-
* @returns {APIPromise<SubscriptionResetResponse>} Reset user subscription usage
|
|
30
|
-
*
|
|
31
|
-
* @example
|
|
32
|
-
* ```ts
|
|
33
|
-
* const subscription = await client.users.subscriptions.reset('userId', {
|
|
34
|
-
* idempotencyKey: '7c9e6679-7425-40de-944b-e07fc1f90ae7',
|
|
35
|
-
* provider: 'chatgpt',
|
|
36
|
-
* });
|
|
37
|
-
* ```
|
|
38
|
-
*/
|
|
39
|
-
reset(userID, body, options) {
|
|
40
|
-
return this._client.post((0, path_1.path) `/v1/users/${userID}/subscriptions/reset`, { body, ...options });
|
|
41
|
-
}
|
|
42
23
|
}
|
|
43
24
|
exports.Subscriptions = Subscriptions;
|
|
44
25
|
//# sourceMappingURL=subscriptions.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscriptions.js","sourceRoot":"","sources":["../../../../src/resources/users/subscriptions.ts"],"names":[],"mappings":";AAAA,6EAA6E;;;AAE7E,6CAA6C;AAG7C,oDAAiE;AAEjE,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,MAAc,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAY,EAAA,aAAa,MAAM,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;
|
|
1
|
+
{"version":3,"file":"subscriptions.js","sourceRoot":"","sources":["../../../../src/resources/users/subscriptions.ts"],"names":[],"mappings":";AAAA,6EAA6E;;;AAE7E,6CAA6C;AAG7C,oDAAiE;AAEjE,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,MAAc,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAY,EAAA,aAAa,MAAM,gBAAgB,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;CACF;AAhBD,sCAgBC"}
|
|
@@ -6,13 +6,16 @@ import { Settings, type SettingRetrieveResponse, type SettingUpdateResponse, typ
|
|
|
6
6
|
import * as ConnectedAccountsAPI from './connected-accounts';
|
|
7
7
|
import { ConnectedAccounts, type ConnectedAccountListResponse, type ConnectedAccountRetrieveResponse, type ConnectedAccountListParams, type ConnectedAccountRetrieveParams } from './connected-accounts';
|
|
8
8
|
import * as SubscriptionsAPI from './subscriptions';
|
|
9
|
-
import { Subscriptions, type SubscriptionRetrieveResponse
|
|
9
|
+
import { Subscriptions, type SubscriptionRetrieveResponse } from './subscriptions';
|
|
10
|
+
import * as EnvironmentVariablesAPI from './environment-variables';
|
|
11
|
+
import { EnvironmentVariables, type EnvironmentVariableListResponse, type EnvironmentVariableCreateResponse, type EnvironmentVariableDeleteResponse, type EnvironmentVariableCreateParams, type EnvironmentVariableDeleteParams } from './environment-variables';
|
|
10
12
|
import * as ProfilePictureAPI from './profile-picture';
|
|
11
13
|
import { ProfilePicture, type ProfilePictureUpdateResponse, type ProfilePictureDeleteResponse, type ProfilePictureUpdateParams } from './profile-picture';
|
|
12
14
|
export declare class Users extends APIResource {
|
|
13
15
|
settings: SettingsAPI.Settings;
|
|
14
16
|
connectedAccounts: ConnectedAccountsAPI.ConnectedAccounts;
|
|
15
17
|
subscriptions: SubscriptionsAPI.Subscriptions;
|
|
18
|
+
environmentVariables: EnvironmentVariablesAPI.EnvironmentVariables;
|
|
16
19
|
profilePicture: ProfilePictureAPI.ProfilePicture;
|
|
17
20
|
/**
|
|
18
21
|
* Retrieve the authenticated user.
|
|
@@ -39,20 +42,6 @@ export declare class Users extends APIResource {
|
|
|
39
42
|
* ```
|
|
40
43
|
*/
|
|
41
44
|
retrieve(userID: string, options?: RequestOptions): APIPromise<UserRetrieveResponse>;
|
|
42
|
-
/**
|
|
43
|
-
* Queue permanent deletion of your user account.
|
|
44
|
-
*
|
|
45
|
-
* @param {string} userID
|
|
46
|
-
* @param {UserDeleteParams} body - The request body to send.
|
|
47
|
-
* @param {RequestOptions} [options] - Options to apply to the request, such as headers and an abort signal.
|
|
48
|
-
* @returns {APIPromise<UserDeleteResponse>} Delete a user
|
|
49
|
-
*
|
|
50
|
-
* @example
|
|
51
|
-
* ```ts
|
|
52
|
-
* const user = await client.users.delete('userId', {});
|
|
53
|
-
* ```
|
|
54
|
-
*/
|
|
55
|
-
delete(userID: string, body: UserDeleteParams, options?: RequestOptions): APIPromise<UserDeleteResponse>;
|
|
56
45
|
}
|
|
57
46
|
export interface UserMeResponse {
|
|
58
47
|
/**
|
|
@@ -92,47 +81,12 @@ export interface UserRetrieveResponse {
|
|
|
92
81
|
*/
|
|
93
82
|
updatedAt: string;
|
|
94
83
|
}
|
|
95
|
-
export interface UserDeleteParams {
|
|
96
|
-
/**
|
|
97
|
-
* Optional account-deletion feedback. Account deletion is queued regardless of whether feedback is supplied.
|
|
98
|
-
*/
|
|
99
|
-
deletionQuestionnaire?: UserDeleteParams.DeletionQuestionnaire;
|
|
100
|
-
}
|
|
101
|
-
export declare namespace UserDeleteParams {
|
|
102
|
-
interface DeletionQuestionnaire {
|
|
103
|
-
/**
|
|
104
|
-
* @maxItems 20
|
|
105
|
-
*/
|
|
106
|
-
reasons: Array<string>;
|
|
107
|
-
/**
|
|
108
|
-
* @format date-time
|
|
109
|
-
*/
|
|
110
|
-
submittedAt: string;
|
|
111
|
-
/**
|
|
112
|
-
* @minLength 1
|
|
113
|
-
* @maxLength 2000
|
|
114
|
-
*/
|
|
115
|
-
otherReason?: string;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
export interface UserDeleteResponse {
|
|
119
|
-
/**
|
|
120
|
-
* @minLength 1
|
|
121
|
-
* @maxLength 255
|
|
122
|
-
*/
|
|
123
|
-
deletionJobId: string;
|
|
124
|
-
deletionQueued: true;
|
|
125
|
-
/**
|
|
126
|
-
* @minLength 1
|
|
127
|
-
* @maxLength 255
|
|
128
|
-
*/
|
|
129
|
-
id: string;
|
|
130
|
-
}
|
|
131
84
|
export declare namespace Users {
|
|
132
|
-
export { type UserMeResponse as UserMeResponse, type UserRetrieveResponse as UserRetrieveResponse
|
|
85
|
+
export { type UserMeResponse as UserMeResponse, type UserRetrieveResponse as UserRetrieveResponse };
|
|
133
86
|
export { Settings as Settings, type SettingRetrieveResponse as SettingRetrieveResponse, type SettingUpdateResponse as SettingUpdateResponse, type SettingUpdateParams as SettingUpdateParams, };
|
|
134
87
|
export { ConnectedAccounts as ConnectedAccounts, type ConnectedAccountListResponse as ConnectedAccountListResponse, type ConnectedAccountRetrieveResponse as ConnectedAccountRetrieveResponse, type ConnectedAccountListParams as ConnectedAccountListParams, type ConnectedAccountRetrieveParams as ConnectedAccountRetrieveParams, };
|
|
135
|
-
export { Subscriptions as Subscriptions, type SubscriptionRetrieveResponse as SubscriptionRetrieveResponse,
|
|
88
|
+
export { Subscriptions as Subscriptions, type SubscriptionRetrieveResponse as SubscriptionRetrieveResponse, };
|
|
89
|
+
export { EnvironmentVariables as EnvironmentVariables, type EnvironmentVariableListResponse as EnvironmentVariableListResponse, type EnvironmentVariableCreateResponse as EnvironmentVariableCreateResponse, type EnvironmentVariableDeleteResponse as EnvironmentVariableDeleteResponse, type EnvironmentVariableCreateParams as EnvironmentVariableCreateParams, type EnvironmentVariableDeleteParams as EnvironmentVariableDeleteParams, };
|
|
136
90
|
export { ProfilePicture as ProfilePicture, type ProfilePictureUpdateResponse as ProfilePictureUpdateResponse, type ProfilePictureDeleteResponse as ProfilePictureDeleteResponse, type ProfilePictureUpdateParams as ProfilePictureUpdateParams, };
|
|
137
91
|
}
|
|
138
92
|
//# sourceMappingURL=users.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.d.ts","sourceRoot":"","sources":["../../../../src/resources/users/users.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC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;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB;AAOD,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B,OAAO,EAAE,KAAK,cAAc,IAAI,cAAc,EAAE,KAAK,oBAAoB,IAAI,oBAAoB,EAAE,CAAC;IAEpG,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mBAAmB,IAAI,mBAAmB,GAChD,CAAC;IAEF,OAAO,EACL,iBAAiB,IAAI,iBAAiB,EACtC,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,8BAA8B,IAAI,8BAA8B,GACtE,CAAC;IAEF,OAAO,EACL,aAAa,IAAI,aAAa,EAC9B,KAAK,4BAA4B,IAAI,4BAA4B,GAClE,CAAC;IAEF,OAAO,EACL,oBAAoB,IAAI,oBAAoB,EAC5C,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,KAAK,+BAA+B,IAAI,+BAA+B,EACvE,KAAK,+BAA+B,IAAI,+BAA+B,GACxE,CAAC;IAEF,OAAO,EACL,cAAc,IAAI,cAAc,EAChC,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -43,12 +43,15 @@ const ConnectedAccountsAPI = __importStar(require("./connected-accounts"));
|
|
|
43
43
|
const connected_accounts_1 = require("./connected-accounts");
|
|
44
44
|
const SubscriptionsAPI = __importStar(require("./subscriptions"));
|
|
45
45
|
const subscriptions_1 = require("./subscriptions");
|
|
46
|
+
const EnvironmentVariablesAPI = __importStar(require("./environment-variables"));
|
|
47
|
+
const environment_variables_1 = require("./environment-variables");
|
|
46
48
|
const ProfilePictureAPI = __importStar(require("./profile-picture"));
|
|
47
49
|
const profile_picture_1 = require("./profile-picture");
|
|
48
50
|
class Users extends resource_1.APIResource {
|
|
49
51
|
settings = new SettingsAPI.Settings(this._client);
|
|
50
52
|
connectedAccounts = new ConnectedAccountsAPI.ConnectedAccounts(this._client);
|
|
51
53
|
subscriptions = new SubscriptionsAPI.Subscriptions(this._client);
|
|
54
|
+
environmentVariables = new EnvironmentVariablesAPI.EnvironmentVariables(this._client);
|
|
52
55
|
profilePicture = new ProfilePictureAPI.ProfilePicture(this._client);
|
|
53
56
|
/**
|
|
54
57
|
* Retrieve the authenticated user.
|
|
@@ -79,26 +82,11 @@ class Users extends resource_1.APIResource {
|
|
|
79
82
|
retrieve(userID, options) {
|
|
80
83
|
return this._client.get((0, path_1.path) `/v1/users/${userID}`, options);
|
|
81
84
|
}
|
|
82
|
-
/**
|
|
83
|
-
* Queue permanent deletion of your user account.
|
|
84
|
-
*
|
|
85
|
-
* @param {string} userID
|
|
86
|
-
* @param {UserDeleteParams} body - The request body to send.
|
|
87
|
-
* @param {RequestOptions} [options] - Options to apply to the request, such as headers and an abort signal.
|
|
88
|
-
* @returns {APIPromise<UserDeleteResponse>} Delete a user
|
|
89
|
-
*
|
|
90
|
-
* @example
|
|
91
|
-
* ```ts
|
|
92
|
-
* const user = await client.users.delete('userId', {});
|
|
93
|
-
* ```
|
|
94
|
-
*/
|
|
95
|
-
delete(userID, body, options) {
|
|
96
|
-
return this._client.delete((0, path_1.path) `/v1/users/${userID}`, { body, ...options });
|
|
97
|
-
}
|
|
98
85
|
}
|
|
99
86
|
exports.Users = Users;
|
|
100
87
|
Users.Settings = settings_1.Settings;
|
|
101
88
|
Users.ConnectedAccounts = connected_accounts_1.ConnectedAccounts;
|
|
102
89
|
Users.Subscriptions = subscriptions_1.Subscriptions;
|
|
90
|
+
Users.EnvironmentVariables = environment_variables_1.EnvironmentVariables;
|
|
103
91
|
Users.ProfilePicture = profile_picture_1.ProfilePicture;
|
|
104
92
|
//# sourceMappingURL=users.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.js","sourceRoot":"","sources":["../../../../src/resources/users/users.ts"],"names":[],"mappings":";AAAA,6EAA6E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE7E,6CAA6C;AAG7C,oDAAiE;AACjE,wDAA0C;AAC1C,yCAKoB;AACpB,2EAA6D;AAC7D,6DAM8B;AAC9B,kEAAoD;AACpD,
|
|
1
|
+
{"version":3,"file":"users.js","sourceRoot":"","sources":["../../../../src/resources/users/users.ts"],"names":[],"mappings":";AAAA,6EAA6E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAE7E,6CAA6C;AAG7C,oDAAiE;AACjE,wDAA0C;AAC1C,yCAKoB;AACpB,2EAA6D;AAC7D,6DAM8B;AAC9B,kEAAoD;AACpD,mDAAmF;AACnF,iFAAmE;AACnE,mEAOiC;AACjC,qEAAuD;AACvD,uDAK2B;AAE3B,MAAa,KAAM,SAAQ,sBAAW;IACpC,QAAQ,GAAyB,IAAI,WAAW,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACxE,iBAAiB,GAA2C,IAAI,oBAAoB,CAAC,iBAAiB,CACpG,IAAI,CAAC,OAAO,CACb,CAAC;IACF,aAAa,GAAmC,IAAI,gBAAgB,CAAC,aAAa,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACjG,oBAAoB,GAClB,IAAI,uBAAuB,CAAC,oBAAoB,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IACjE,cAAc,GAAqC,IAAI,iBAAiB,CAAC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAEtG;;;;;;;;;;OAUG;IACH,EAAE,CAAC,OAAwB;QACzB,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,cAAc,EAAE,OAAO,CAAC,CAAC;IACnD,CAAC;IAED;;;;;;;;;;;OAWG;IACH,QAAQ,CAAC,MAAc,EAAE,OAAwB;QAC/C,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,IAAA,WAAY,EAAA,aAAa,MAAM,EAAE,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;CACF;AAxCD,sBAwCC;AAyCD,KAAK,CAAC,QAAQ,GAAG,mBAAQ,CAAC;AAC1B,KAAK,CAAC,iBAAiB,GAAG,sCAAiB,CAAC;AAC5C,KAAK,CAAC,aAAa,GAAG,6BAAa,CAAC;AACpC,KAAK,CAAC,oBAAoB,GAAG,4CAAoB,CAAC;AAClD,KAAK,CAAC,cAAc,GAAG,gCAAc,CAAC"}
|
package/dist/cjs/resources.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { APIKeys, Skills, Insights, Organizations, McpConnections, Artifacts, Messages, Models, Runtimes, Users, Sessions, Projects, Pins, PullRequests, Agents, Repositories, Integrations, Billing, Live, } from './resources/index';
|
|
2
|
-
export type { APIKeyListParams, APIKeyListResponse, APIKeyCreateParams, APIKeyCreateResponse, APIKeyRetrieveResponse, APIKeyUpdateParams, APIKeyUpdateResponse, APIKeyDeleteResponse, SkillListParams, SkillListResponse, SkillCreateParams, SkillCreateResponse, SkillRetrieveResponse, SkillUpdateParams, SkillUpdateResponse, SkillDeleteResponse, InsightRetrieveParams, InsightRetrieveResponse, InsightUpdateParams, InsightUpdateResponse, InsightListMembersParams, InsightListMembersResponse, InsightListRepositoriesParams, InsightListRepositoriesResponse, OrganizationCreateParams, OrganizationCreateResponse, OrganizationRetrieveResponse, OrganizationUpdateParams, OrganizationUpdateResponse, OrganizationDeleteResponse, McpConnectionListParams, McpConnectionListResponse, McpConnectionCreateParams, McpConnectionCreateResponse, McpConnectionRetrieveResponse, McpConnectionUpdateParams, McpConnectionUpdateResponse, McpConnectionDeleteResponse, McpConnectionAuthorizeResponse, McpConnectionTestResponse, ArtifactListParams, ArtifactListResponse, ArtifactCreateParams, ArtifactCreateResponse, ArtifactRetrieveResponse, ArtifactDeleteResponse, TipTapDocument, TipTapNode, TipTapImageNode, TipTapMentionNode, TipTapHeadingNode, TipTapOrderedListNode, TipTapTaskItemNode, TipTapCodeBlockNode, TipTapContentNode, TipTapLinkMark, TipTapMark, TipTapImageAttributes, TipTapMentionAttributes, TipTapExtensionAttributes, MessageListParams, MessageListResponse, MessageCreateParams, MessageCreateResponse, MessageRetrieveResponse, MessageUpdateParams, MessageUpdateResponse, MessageDeleteResponse, ModelListParams, ModelListResponse, ModelUpdateParams, ModelUpdateResponse, RuntimeListParams, RuntimeListResponse, UserMeResponse, UserRetrieveResponse,
|
|
2
|
+
export type { APIKeyListParams, APIKeyListResponse, APIKeyCreateParams, APIKeyCreateResponse, APIKeyRetrieveResponse, APIKeyUpdateParams, APIKeyUpdateResponse, APIKeyDeleteResponse, SkillListParams, SkillListResponse, SkillCreateParams, SkillCreateResponse, SkillRetrieveResponse, SkillUpdateParams, SkillUpdateResponse, SkillDeleteResponse, InsightRetrieveParams, InsightRetrieveResponse, InsightUpdateParams, InsightUpdateResponse, InsightListMembersParams, InsightListMembersResponse, InsightListRepositoriesParams, InsightListRepositoriesResponse, OrganizationCreateParams, OrganizationCreateResponse, OrganizationRetrieveResponse, OrganizationUpdateParams, OrganizationUpdateResponse, OrganizationDeleteResponse, McpConnectionListParams, McpConnectionListResponse, McpConnectionCreateParams, McpConnectionCreateResponse, McpConnectionRetrieveResponse, McpConnectionUpdateParams, McpConnectionUpdateResponse, McpConnectionDeleteResponse, McpConnectionAuthorizeResponse, McpConnectionTestResponse, ArtifactListParams, ArtifactListResponse, ArtifactCreateParams, ArtifactCreateResponse, ArtifactRetrieveResponse, ArtifactDeleteResponse, TipTapDocument, TipTapNode, TipTapImageNode, TipTapMentionNode, TipTapHeadingNode, TipTapOrderedListNode, TipTapTaskItemNode, TipTapCodeBlockNode, TipTapContentNode, TipTapLinkMark, TipTapMark, TipTapImageAttributes, TipTapMentionAttributes, TipTapExtensionAttributes, MessageListParams, MessageListResponse, MessageCreateParams, MessageCreateResponse, MessageRetrieveResponse, MessageUpdateParams, MessageUpdateResponse, MessageDeleteResponse, ModelListParams, ModelListResponse, ModelUpdateParams, ModelUpdateResponse, RuntimeListParams, RuntimeListResponse, UserMeResponse, UserRetrieveResponse, SessionEventData, SessionDocumentNode, SessionListParams, SessionListResponse, SessionCreateParams, SessionCreateResponse, SessionRetrieveResponse, SessionUpdateParams, SessionUpdateResponse, SessionDeleteResponse, SessionForkParams, SessionForkResponse, SessionStopParams, SessionStopResponse, SessionListEventsParams, SessionListEventsResponse, ProjectUpdateDefaultsParams, ProjectUpdateDefaultsResponse, ProjectListParams, ProjectListResponse, ProjectCreateParams, ProjectCreateResponse, ProjectRetrieveResponse, ProjectUpdateParams, ProjectUpdateResponse, ProjectDeleteResponse, ProjectDuplicateResponse, PinListParams, PinListResponse, PinCreateParams, PinCreateResponse, PinUpdateParams, PinUpdateResponse, PinDeleteParams, PinDeleteResponse, PullRequestListParams, PullRequestListResponse, PullRequestRetrieveResponse, AgentOptionsInput, AgentState, AgentListParams, AgentListResponse, AgentCreateParams, AgentCreateResponse, AgentRetrieveResponse, AgentUpdateParams, AgentUpdateResponse, AgentDeleteResponse, RepositoryListParams, RepositoryListResponse, RepositoryRetrieveResponse, RepositoryUpdateParams, RepositoryUpdateResponse, IntegrationListParams, IntegrationListResponse, IntegrationCreateParams, IntegrationCreateResponse, IntegrationRetrieveResponse, IntegrationUpdateParams, IntegrationUpdateResponse, IntegrationDeleteResponse, IntegrationAuthorizeParams, IntegrationAuthorizeResponse, IntegrationTestResponse, IntegrationSyncParams, IntegrationSyncResponse, IntegrationSyncAllParams, IntegrationSyncAllResponse, IntegrationRetrieveSyncStatusParams, IntegrationRetrieveSyncStatusResponse, IntegrationRetrieveRateLimitResponse, IntegrationListSentryEnvironmentsParams, IntegrationListSentryEnvironmentsResponse, IntegrationListSlackChannelsParams, IntegrationListSlackChannelsResponse, BillingRetrieveResponse, BillingListUsageParams, BillingListUsageResponse, LiveAuthorizeResponse, LiveConnectParams, } from './resources/index';
|
|
3
3
|
//# sourceMappingURL=resources.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resources.d.ts","sourceRoot":"","sources":["../../src/resources.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,OAAO,EACP,MAAM,EACN,QAAQ,EACR,aAAa,EACb,cAAc,EACd,SAAS,EACT,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,IAAI,EACJ,YAAY,EACZ,MAAM,EACN,YAAY,EACZ,YAAY,EACZ,OAAO,EACP,IAAI,GACL,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EACV,gBAAgB,EAChB,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,EACpB,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EACvB,mBAAmB,EACnB,qBAAqB,EACrB,wBAAwB,EACxB,0BAA0B,EAC1B,6BAA6B,EAC7B,+BAA+B,EAC/B,wBAAwB,EACxB,0BAA0B,EAC1B,4BAA4B,EAC5B,wBAAwB,EACxB,0BAA0B,EAC1B,0BAA0B,EAC1B,uBAAuB,EACvB,yBAAyB,EACzB,yBAAyB,EACzB,2BAA2B,EAC3B,6BAA6B,EAC7B,yBAAyB,EACzB,2BAA2B,EAC3B,2BAA2B,EAC3B,8BAA8B,EAC9B,yBAAyB,EACzB,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,EACpB,sBAAsB,EACtB,wBAAwB,EACxB,sBAAsB,EACtB,cAAc,EACd,UAAU,EACV,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,qBAAqB,EACrB,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,cAAc,EACd,UAAU,EACV,qBAAqB,EACrB,uBAAuB,EACvB,yBAAyB,EACzB,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EACvB,mBAAmB,EACnB,qBAAqB,EACrB,qBAAqB,EACrB,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACnB,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,EACd,oBAAoB,EACpB,gBAAgB,EAChB,
|
|
1
|
+
{"version":3,"file":"resources.d.ts","sourceRoot":"","sources":["../../src/resources.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,OAAO,EACP,MAAM,EACN,QAAQ,EACR,aAAa,EACb,cAAc,EACd,SAAS,EACT,QAAQ,EACR,MAAM,EACN,QAAQ,EACR,KAAK,EACL,QAAQ,EACR,QAAQ,EACR,IAAI,EACJ,YAAY,EACZ,MAAM,EACN,YAAY,EACZ,YAAY,EACZ,OAAO,EACP,IAAI,GACL,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EACV,gBAAgB,EAChB,kBAAkB,EAClB,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,EACtB,kBAAkB,EAClB,oBAAoB,EACpB,oBAAoB,EACpB,eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,qBAAqB,EACrB,uBAAuB,EACvB,mBAAmB,EACnB,qBAAqB,EACrB,wBAAwB,EACxB,0BAA0B,EAC1B,6BAA6B,EAC7B,+BAA+B,EAC/B,wBAAwB,EACxB,0BAA0B,EAC1B,4BAA4B,EAC5B,wBAAwB,EACxB,0BA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eAAe,EACf,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACnB,qBAAqB,EACrB,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,oBAAoB,EACpB,sBAAsB,EACtB,0BAA0B,EAC1B,sBAAsB,EACtB,wBAAwB,EACxB,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,yBAAyB,EACzB,2BAA2B,EAC3B,uBAAuB,EACvB,yBAAyB,EACzB,yBAAyB,EACzB,0BAA0B,EAC1B,4BAA4B,EAC5B,uBAAuB,EACvB,qBAAqB,EACrB,uBAAuB,EACvB,wBAAwB,EACxB,0BAA0B,EAC1B,mCAAmC,EACnC,qCAAqC,EACrC,oCAAoC,EACpC,uCAAuC,EACvC,yCAAyC,EACzC,kCAAkC,EAClC,oCAAoC,EACpC,uBAAuB,EACvB,sBAAsB,EACtB,wBAAwB,EACxB,qBAAqB,EACrB,iBAAiB,GAClB,MAAM,mBAAmB,CAAC"}
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.17.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/dist/cjs/version.js
CHANGED
|
@@ -2,5 +2,5 @@
|
|
|
2
2
|
// File generated from our OpenAPI spec by Scalar. See README.md for details.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.VERSION = void 0;
|
|
5
|
-
exports.VERSION = '0.
|
|
5
|
+
exports.VERSION = '0.17.1'; // x-release-please-version
|
|
6
6
|
//# sourceMappingURL=version.js.map
|
package/dist/esm/client.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ import { Artifacts, type ArtifactListResponse, type ArtifactCreateResponse, type
|
|
|
18
18
|
import { Messages, type TipTapDocument, type TipTapNode, type TipTapImageNode, type TipTapMentionNode, type TipTapHeadingNode, type TipTapOrderedListNode, type TipTapTaskItemNode, type TipTapCodeBlockNode, type TipTapContentNode, type TipTapLinkMark, type TipTapMark, type TipTapImageAttributes, type TipTapMentionAttributes, type TipTapExtensionAttributes, type MessageListResponse, type MessageCreateResponse, type MessageRetrieveResponse, type MessageUpdateResponse, type MessageDeleteResponse, type MessageListParams, type MessageCreateParams, type MessageUpdateParams } from './resources/messages.js';
|
|
19
19
|
import { Models, type ModelListResponse, type ModelUpdateResponse, type ModelListParams, type ModelUpdateParams } from './resources/models.js';
|
|
20
20
|
import { Runtimes, type RuntimeListResponse, type RuntimeListParams } from './resources/runtimes.js';
|
|
21
|
-
import { Users, type UserMeResponse, type UserRetrieveResponse
|
|
21
|
+
import { Users, type UserMeResponse, type UserRetrieveResponse } from './resources/users/users.js';
|
|
22
22
|
import { Sessions, type SessionEventData, type SessionDocumentNode, type SessionListResponse, type SessionCreateResponse, type SessionRetrieveResponse, type SessionUpdateResponse, type SessionDeleteResponse, type SessionForkResponse, type SessionStopResponse, type SessionListEventsResponse, type SessionListParams, type SessionCreateParams, type SessionUpdateParams, type SessionForkParams, type SessionStopParams, type SessionListEventsParams } from './resources/sessions/sessions.js';
|
|
23
23
|
import { Projects, type ProjectUpdateDefaultsResponse, type ProjectListResponse, type ProjectCreateResponse, type ProjectRetrieveResponse, type ProjectUpdateResponse, type ProjectDeleteResponse, type ProjectDuplicateResponse, type ProjectUpdateDefaultsParams, type ProjectListParams, type ProjectCreateParams, type ProjectUpdateParams } from './resources/projects/projects.js';
|
|
24
24
|
import { Pins, type PinListResponse, type PinCreateResponse, type PinUpdateResponse, type PinDeleteResponse, type PinListParams, type PinCreateParams, type PinUpdateParams, type PinDeleteParams } from './resources/pins.js';
|
|
@@ -224,7 +224,7 @@ export declare namespace Tembo {
|
|
|
224
224
|
export { Messages as Messages, type TipTapDocument as TipTapDocument, type TipTapNode as TipTapNode, type TipTapImageNode as TipTapImageNode, type TipTapMentionNode as TipTapMentionNode, type TipTapHeadingNode as TipTapHeadingNode, type TipTapOrderedListNode as TipTapOrderedListNode, type TipTapTaskItemNode as TipTapTaskItemNode, type TipTapCodeBlockNode as TipTapCodeBlockNode, type TipTapContentNode as TipTapContentNode, type TipTapLinkMark as TipTapLinkMark, type TipTapMark as TipTapMark, type TipTapImageAttributes as TipTapImageAttributes, type TipTapMentionAttributes as TipTapMentionAttributes, type TipTapExtensionAttributes as TipTapExtensionAttributes, type MessageListResponse as MessageListResponse, type MessageCreateResponse as MessageCreateResponse, type MessageRetrieveResponse as MessageRetrieveResponse, type MessageUpdateResponse as MessageUpdateResponse, type MessageDeleteResponse as MessageDeleteResponse, type MessageListParams as MessageListParams, type MessageCreateParams as MessageCreateParams, type MessageUpdateParams as MessageUpdateParams, };
|
|
225
225
|
export { Models as Models, type ModelListResponse as ModelListResponse, type ModelUpdateResponse as ModelUpdateResponse, type ModelListParams as ModelListParams, type ModelUpdateParams as ModelUpdateParams, };
|
|
226
226
|
export { Runtimes as Runtimes, type RuntimeListResponse as RuntimeListResponse, type RuntimeListParams as RuntimeListParams, };
|
|
227
|
-
export { Users as Users, type UserMeResponse as UserMeResponse, type UserRetrieveResponse as UserRetrieveResponse,
|
|
227
|
+
export { Users as Users, type UserMeResponse as UserMeResponse, type UserRetrieveResponse as UserRetrieveResponse, };
|
|
228
228
|
export { Sessions as Sessions, type SessionEventData as SessionEventData, type SessionDocumentNode as SessionDocumentNode, type SessionListResponse as SessionListResponse, type SessionCreateResponse as SessionCreateResponse, type SessionRetrieveResponse as SessionRetrieveResponse, type SessionUpdateResponse as SessionUpdateResponse, type SessionDeleteResponse as SessionDeleteResponse, type SessionForkResponse as SessionForkResponse, type SessionStopResponse as SessionStopResponse, type SessionListEventsResponse as SessionListEventsResponse, type SessionListParams as SessionListParams, type SessionCreateParams as SessionCreateParams, type SessionUpdateParams as SessionUpdateParams, type SessionForkParams as SessionForkParams, type SessionStopParams as SessionStopParams, type SessionListEventsParams as SessionListEventsParams, };
|
|
229
229
|
export { Projects as Projects, type ProjectUpdateDefaultsResponse as ProjectUpdateDefaultsResponse, type ProjectListResponse as ProjectListResponse, type ProjectCreateResponse as ProjectCreateResponse, type ProjectRetrieveResponse as ProjectRetrieveResponse, type ProjectUpdateResponse as ProjectUpdateResponse, type ProjectDeleteResponse as ProjectDeleteResponse, type ProjectDuplicateResponse as ProjectDuplicateResponse, type ProjectUpdateDefaultsParams as ProjectUpdateDefaultsParams, type ProjectListParams as ProjectListParams, type ProjectCreateParams as ProjectCreateParams, type ProjectUpdateParams as ProjectUpdateParams, };
|
|
230
230
|
export { Pins as Pins, type PinListResponse as PinListResponse, type PinCreateResponse as PinCreateResponse, type PinUpdateResponse as PinUpdateResponse, type PinDeleteResponse as PinDeleteResponse, type PinListParams as PinListParams, type PinCreateParams as PinCreateParams, type PinUpdateParams as PinUpdateParams, type PinDeleteParams as PinDeleteParams, };
|