@studyfetch/sdk 1.7.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +0 -1
- package/package.json +1 -1
- package/resources/v1/auth/auth.d.mts +4 -93
- package/resources/v1/auth/auth.d.mts.map +1 -1
- package/resources/v1/auth/auth.d.ts +4 -93
- package/resources/v1/auth/auth.d.ts.map +1 -1
- package/resources/v1/auth/auth.js +0 -86
- package/resources/v1/auth/auth.js.map +1 -1
- package/resources/v1/auth/auth.mjs +1 -87
- package/resources/v1/auth/auth.mjs.map +1 -1
- package/resources/v1/auth/index.d.mts +3 -3
- package/resources/v1/auth/index.d.mts.map +1 -1
- package/resources/v1/auth/index.d.ts +3 -3
- package/resources/v1/auth/index.d.ts.map +1 -1
- package/resources/v1/auth/index.js.map +1 -1
- package/resources/v1/auth/index.mjs +3 -3
- package/resources/v1/auth/index.mjs.map +1 -1
- package/resources/v1/auth/login.d.mts +0 -65
- package/resources/v1/auth/login.d.mts.map +1 -1
- package/resources/v1/auth/login.d.ts +0 -65
- package/resources/v1/auth/login.d.ts.map +1 -1
- package/resources/v1/auth/login.js +0 -49
- package/resources/v1/auth/login.js.map +1 -1
- package/resources/v1/auth/login.mjs +0 -49
- package/resources/v1/auth/login.mjs.map +1 -1
- package/resources/v1/auth/number-2fa.d.mts +1 -53
- package/resources/v1/auth/number-2fa.d.mts.map +1 -1
- package/resources/v1/auth/number-2fa.d.ts +1 -53
- package/resources/v1/auth/number-2fa.d.ts.map +1 -1
- package/resources/v1/auth/number-2fa.js +0 -57
- package/resources/v1/auth/number-2fa.js.map +1 -1
- package/resources/v1/auth/number-2fa.mjs +0 -57
- package/resources/v1/auth/number-2fa.mjs.map +1 -1
- package/resources/v1/auth/organization-invites.d.mts +0 -9
- package/resources/v1/auth/organization-invites.d.mts.map +1 -1
- package/resources/v1/auth/organization-invites.d.ts +0 -9
- package/resources/v1/auth/organization-invites.d.ts.map +1 -1
- package/resources/v1/auth/organization-invites.js +0 -14
- package/resources/v1/auth/organization-invites.js.map +1 -1
- package/resources/v1/auth/organization-invites.mjs +0 -14
- package/resources/v1/auth/organization-invites.mjs.map +1 -1
- package/resources/v1/chat/chat.d.mts +2 -2
- package/resources/v1/chat/chat.d.mts.map +1 -1
- package/resources/v1/chat/chat.d.ts +2 -2
- package/resources/v1/chat/chat.d.ts.map +1 -1
- package/resources/v1/components.d.mts +2 -2
- package/resources/v1/components.d.mts.map +1 -1
- package/resources/v1/components.d.ts +2 -2
- package/resources/v1/components.d.ts.map +1 -1
- package/resources/v1/flashcards.d.mts +6 -6
- package/resources/v1/flashcards.d.mts.map +1 -1
- package/resources/v1/flashcards.d.ts +6 -6
- package/resources/v1/flashcards.d.ts.map +1 -1
- package/resources/v1/flashcards.js +1 -1
- package/resources/v1/flashcards.mjs +1 -1
- package/resources/v1/index.d.mts +3 -3
- package/resources/v1/index.d.mts.map +1 -1
- package/resources/v1/index.d.ts +3 -3
- package/resources/v1/index.d.ts.map +1 -1
- package/resources/v1/index.js.map +1 -1
- package/resources/v1/index.mjs +1 -1
- package/resources/v1/index.mjs.map +1 -1
- package/resources/v1/organizations/api-keys.d.mts +0 -23
- package/resources/v1/organizations/api-keys.d.mts.map +1 -1
- package/resources/v1/organizations/api-keys.d.ts +0 -23
- package/resources/v1/organizations/api-keys.d.ts.map +1 -1
- package/resources/v1/organizations/api-keys.js +0 -38
- package/resources/v1/organizations/api-keys.js.map +1 -1
- package/resources/v1/organizations/api-keys.mjs +0 -38
- package/resources/v1/organizations/api-keys.mjs.map +1 -1
- package/resources/v1/organizations/index.d.mts +3 -3
- package/resources/v1/organizations/index.d.mts.map +1 -1
- package/resources/v1/organizations/index.d.ts +3 -3
- package/resources/v1/organizations/index.d.ts.map +1 -1
- package/resources/v1/organizations/index.js.map +1 -1
- package/resources/v1/organizations/index.mjs +1 -1
- package/resources/v1/organizations/index.mjs.map +1 -1
- package/resources/v1/organizations/logo/logo.d.mts +0 -9
- package/resources/v1/organizations/logo/logo.d.mts.map +1 -1
- package/resources/v1/organizations/logo/logo.d.ts +0 -9
- package/resources/v1/organizations/logo/logo.d.ts.map +1 -1
- package/resources/v1/organizations/logo/logo.js +0 -13
- package/resources/v1/organizations/logo/logo.js.map +1 -1
- package/resources/v1/organizations/logo/logo.mjs +0 -13
- package/resources/v1/organizations/logo/logo.mjs.map +1 -1
- package/resources/v1/organizations/logo/upload.d.mts +0 -16
- package/resources/v1/organizations/logo/upload.d.mts.map +1 -1
- package/resources/v1/organizations/logo/upload.d.ts +0 -16
- package/resources/v1/organizations/logo/upload.d.ts.map +1 -1
- package/resources/v1/organizations/logo/upload.js +0 -25
- package/resources/v1/organizations/logo/upload.js.map +1 -1
- package/resources/v1/organizations/logo/upload.mjs +0 -25
- package/resources/v1/organizations/logo/upload.mjs.map +1 -1
- package/resources/v1/organizations/organizations.d.mts +4 -23
- package/resources/v1/organizations/organizations.d.mts.map +1 -1
- package/resources/v1/organizations/organizations.d.ts +4 -23
- package/resources/v1/organizations/organizations.d.ts.map +1 -1
- package/resources/v1/organizations/organizations.js +0 -27
- package/resources/v1/organizations/organizations.js.map +1 -1
- package/resources/v1/organizations/organizations.mjs +1 -28
- package/resources/v1/organizations/organizations.mjs.map +1 -1
- package/resources/v1/organizations/profile/index.d.mts +2 -2
- package/resources/v1/organizations/profile/index.d.mts.map +1 -1
- package/resources/v1/organizations/profile/index.d.ts +2 -2
- package/resources/v1/organizations/profile/index.d.ts.map +1 -1
- package/resources/v1/organizations/profile/index.js.map +1 -1
- package/resources/v1/organizations/profile/index.mjs +1 -1
- package/resources/v1/organizations/profile/index.mjs.map +1 -1
- package/resources/v1/organizations/profile/models.d.mts +0 -9
- package/resources/v1/organizations/profile/models.d.mts.map +1 -1
- package/resources/v1/organizations/profile/models.d.ts +0 -9
- package/resources/v1/organizations/profile/models.d.ts.map +1 -1
- package/resources/v1/organizations/profile/models.js +0 -13
- package/resources/v1/organizations/profile/models.js.map +1 -1
- package/resources/v1/organizations/profile/models.mjs +0 -13
- package/resources/v1/organizations/profile/models.mjs.map +1 -1
- package/resources/v1/organizations/profile/profile.d.mts +2 -22
- package/resources/v1/organizations/profile/profile.d.mts.map +1 -1
- package/resources/v1/organizations/profile/profile.d.ts +2 -22
- package/resources/v1/organizations/profile/profile.d.ts.map +1 -1
- package/resources/v1/organizations/profile/profile.js +0 -26
- package/resources/v1/organizations/profile/profile.js.map +1 -1
- package/resources/v1/organizations/profile/profile.mjs +0 -26
- package/resources/v1/organizations/profile/profile.mjs.map +1 -1
- package/resources/v1/organizations/profile/team.d.mts +0 -57
- package/resources/v1/organizations/profile/team.d.mts.map +1 -1
- package/resources/v1/organizations/profile/team.d.ts +0 -57
- package/resources/v1/organizations/profile/team.d.ts.map +1 -1
- package/resources/v1/organizations/profile/team.js +0 -80
- package/resources/v1/organizations/profile/team.js.map +1 -1
- package/resources/v1/organizations/profile/team.mjs +0 -80
- package/resources/v1/organizations/profile/team.mjs.map +1 -1
- package/resources/v1/organizations/team/index.d.mts +2 -2
- package/resources/v1/organizations/team/index.d.mts.map +1 -1
- package/resources/v1/organizations/team/index.d.ts +2 -2
- package/resources/v1/organizations/team/index.d.ts.map +1 -1
- package/resources/v1/organizations/team/index.js.map +1 -1
- package/resources/v1/organizations/team/index.mjs +1 -1
- package/resources/v1/organizations/team/index.mjs.map +1 -1
- package/resources/v1/organizations/team/invite.d.mts +0 -23
- package/resources/v1/organizations/team/invite.d.mts.map +1 -1
- package/resources/v1/organizations/team/invite.d.ts +0 -23
- package/resources/v1/organizations/team/invite.d.ts.map +1 -1
- package/resources/v1/organizations/team/invite.js +0 -29
- package/resources/v1/organizations/team/invite.js.map +1 -1
- package/resources/v1/organizations/team/invite.mjs +0 -29
- package/resources/v1/organizations/team/invite.mjs.map +1 -1
- package/resources/v1/organizations/team/team.d.mts +2 -64
- package/resources/v1/organizations/team/team.d.mts.map +1 -1
- package/resources/v1/organizations/team/team.d.ts +2 -64
- package/resources/v1/organizations/team/team.d.ts.map +1 -1
- package/resources/v1/organizations/team/team.js +0 -85
- package/resources/v1/organizations/team/team.js.map +1 -1
- package/resources/v1/organizations/team/team.mjs +0 -85
- package/resources/v1/organizations/team/team.mjs.map +1 -1
- package/resources/v1/organizations/theme.d.mts +0 -16
- package/resources/v1/organizations/theme.d.mts.map +1 -1
- package/resources/v1/organizations/theme.d.ts +0 -16
- package/resources/v1/organizations/theme.d.ts.map +1 -1
- package/resources/v1/organizations/theme.js +0 -25
- package/resources/v1/organizations/theme.js.map +1 -1
- package/resources/v1/organizations/theme.mjs +0 -25
- package/resources/v1/organizations/theme.mjs.map +1 -1
- package/resources/v1/organizations/usage.d.mts +0 -16
- package/resources/v1/organizations/usage.d.mts.map +1 -1
- package/resources/v1/organizations/usage.d.ts +0 -16
- package/resources/v1/organizations/usage.d.ts.map +1 -1
- package/resources/v1/organizations/usage.js +0 -26
- package/resources/v1/organizations/usage.js.map +1 -1
- package/resources/v1/organizations/usage.mjs +0 -26
- package/resources/v1/organizations/usage.mjs.map +1 -1
- package/resources/v1/usage.d.mts +1 -169
- package/resources/v1/usage.d.mts.map +1 -1
- package/resources/v1/usage.d.ts +1 -169
- package/resources/v1/usage.d.ts.map +1 -1
- package/resources/v1/usage.js +0 -45
- package/resources/v1/usage.js.map +1 -1
- package/resources/v1/usage.mjs +0 -45
- package/resources/v1/usage.mjs.map +1 -1
- package/resources/v1/v1.d.mts +6 -6
- package/resources/v1/v1.d.mts.map +1 -1
- package/resources/v1/v1.d.ts +6 -6
- package/resources/v1/v1.d.ts.map +1 -1
- package/resources/v1/v1.js.map +1 -1
- package/resources/v1/v1.mjs +2 -2
- package/resources/v1/v1.mjs.map +1 -1
- package/src/resources/v1/auth/auth.ts +4 -163
- package/src/resources/v1/auth/index.ts +3 -20
- package/src/resources/v1/auth/login.ts +1 -99
- package/src/resources/v1/auth/number-2fa.ts +1 -91
- package/src/resources/v1/auth/organization-invites.ts +1 -18
- package/src/resources/v1/chat/chat.ts +2 -2
- package/src/resources/v1/components.ts +2 -2
- package/src/resources/v1/flashcards.ts +6 -6
- package/src/resources/v1/index.ts +2 -10
- package/src/resources/v1/organizations/api-keys.ts +1 -44
- package/src/resources/v1/organizations/index.ts +3 -9
- package/src/resources/v1/organizations/logo/logo.ts +0 -16
- package/src/resources/v1/organizations/logo/upload.ts +1 -30
- package/src/resources/v1/organizations/organizations.ts +4 -55
- package/src/resources/v1/organizations/profile/index.ts +2 -8
- package/src/resources/v1/organizations/profile/models.ts +1 -17
- package/src/resources/v1/organizations/profile/profile.ts +2 -47
- package/src/resources/v1/organizations/profile/team.ts +1 -106
- package/src/resources/v1/organizations/team/index.ts +2 -8
- package/src/resources/v1/organizations/team/invite.ts +1 -40
- package/src/resources/v1/organizations/team/team.ts +2 -116
- package/src/resources/v1/organizations/theme.ts +1 -30
- package/src/resources/v1/organizations/usage.ts +1 -31
- package/src/resources/v1/usage.ts +0 -272
- package/src/resources/v1/v1.ts +5 -26
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1,69 +1,4 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.js";
|
|
2
|
-
import { APIPromise } from "../../../core/api-promise.js";
|
|
3
|
-
import { RequestOptions } from "../../../internal/request-options.js";
|
|
4
2
|
export declare class Login extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* @example
|
|
7
|
-
* ```ts
|
|
8
|
-
* await client.v1.auth.login.authenticate({
|
|
9
|
-
* email: 'user@example.com',
|
|
10
|
-
* password: 'password123',
|
|
11
|
-
* });
|
|
12
|
-
* ```
|
|
13
|
-
*/
|
|
14
|
-
authenticate(body: LoginAuthenticateParams, options?: RequestOptions): APIPromise<void>;
|
|
15
|
-
/**
|
|
16
|
-
* @example
|
|
17
|
-
* ```ts
|
|
18
|
-
* await client.v1.auth.login.verify2fa({
|
|
19
|
-
* code: '123456',
|
|
20
|
-
* email: 'user@example.com',
|
|
21
|
-
* });
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
verify2fa(body: LoginVerify2faParams, options?: RequestOptions): APIPromise<void>;
|
|
25
|
-
/**
|
|
26
|
-
* @example
|
|
27
|
-
* ```ts
|
|
28
|
-
* await client.v1.auth.login.verifyBackupCode({
|
|
29
|
-
* backupCode: 'ABCD-EFGH-IJKL',
|
|
30
|
-
* email: 'user@example.com',
|
|
31
|
-
* });
|
|
32
|
-
* ```
|
|
33
|
-
*/
|
|
34
|
-
verifyBackupCode(body: LoginVerifyBackupCodeParams, options?: RequestOptions): APIPromise<void>;
|
|
35
|
-
}
|
|
36
|
-
export interface LoginAuthenticateParams {
|
|
37
|
-
/**
|
|
38
|
-
* User email address
|
|
39
|
-
*/
|
|
40
|
-
email: string;
|
|
41
|
-
/**
|
|
42
|
-
* User password
|
|
43
|
-
*/
|
|
44
|
-
password: string;
|
|
45
|
-
}
|
|
46
|
-
export interface LoginVerify2faParams {
|
|
47
|
-
/**
|
|
48
|
-
* 6-digit verification code
|
|
49
|
-
*/
|
|
50
|
-
code: string;
|
|
51
|
-
/**
|
|
52
|
-
* User email address
|
|
53
|
-
*/
|
|
54
|
-
email: string;
|
|
55
|
-
}
|
|
56
|
-
export interface LoginVerifyBackupCodeParams {
|
|
57
|
-
/**
|
|
58
|
-
* Backup code
|
|
59
|
-
*/
|
|
60
|
-
backupCode: string;
|
|
61
|
-
/**
|
|
62
|
-
* User email address
|
|
63
|
-
*/
|
|
64
|
-
email: string;
|
|
65
|
-
}
|
|
66
|
-
export declare namespace Login {
|
|
67
|
-
export { type LoginAuthenticateParams as LoginAuthenticateParams, type LoginVerify2faParams as LoginVerify2faParams, type LoginVerifyBackupCodeParams as LoginVerifyBackupCodeParams, };
|
|
68
3
|
}
|
|
69
4
|
//# sourceMappingURL=login.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/auth/login.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"login.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/auth/login.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;AAEtB,qBAAa,KAAM,SAAQ,WAAW;CAAG"}
|
|
@@ -3,56 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.Login = void 0;
|
|
5
5
|
const resource_1 = require("../../../core/resource.js");
|
|
6
|
-
const headers_1 = require("../../../internal/headers.js");
|
|
7
6
|
class Login extends resource_1.APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* @example
|
|
10
|
-
* ```ts
|
|
11
|
-
* await client.v1.auth.login.authenticate({
|
|
12
|
-
* email: 'user@example.com',
|
|
13
|
-
* password: 'password123',
|
|
14
|
-
* });
|
|
15
|
-
* ```
|
|
16
|
-
*/
|
|
17
|
-
authenticate(body, options) {
|
|
18
|
-
return this._client.post('/api/v1/auth/login', {
|
|
19
|
-
body,
|
|
20
|
-
...options,
|
|
21
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* @example
|
|
26
|
-
* ```ts
|
|
27
|
-
* await client.v1.auth.login.verify2fa({
|
|
28
|
-
* code: '123456',
|
|
29
|
-
* email: 'user@example.com',
|
|
30
|
-
* });
|
|
31
|
-
* ```
|
|
32
|
-
*/
|
|
33
|
-
verify2fa(body, options) {
|
|
34
|
-
return this._client.post('/api/v1/auth/login/verify-2fa', {
|
|
35
|
-
body,
|
|
36
|
-
...options,
|
|
37
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* @example
|
|
42
|
-
* ```ts
|
|
43
|
-
* await client.v1.auth.login.verifyBackupCode({
|
|
44
|
-
* backupCode: 'ABCD-EFGH-IJKL',
|
|
45
|
-
* email: 'user@example.com',
|
|
46
|
-
* });
|
|
47
|
-
* ```
|
|
48
|
-
*/
|
|
49
|
-
verifyBackupCode(body, options) {
|
|
50
|
-
return this._client.post('/api/v1/auth/login/verify-backup-code', {
|
|
51
|
-
body,
|
|
52
|
-
...options,
|
|
53
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
7
|
}
|
|
57
8
|
exports.Login = Login;
|
|
58
9
|
//# sourceMappingURL=login.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.js","sourceRoot":"","sources":["../../../src/resources/v1/auth/login.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,
|
|
1
|
+
{"version":3,"file":"login.js","sourceRoot":"","sources":["../../../src/resources/v1/auth/login.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,MAAa,KAAM,SAAQ,sBAAW;CAAG;AAAzC,sBAAyC"}
|
|
@@ -1,54 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
-
import { buildHeaders } from "../../../internal/headers.mjs";
|
|
4
3
|
export class Login extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* @example
|
|
7
|
-
* ```ts
|
|
8
|
-
* await client.v1.auth.login.authenticate({
|
|
9
|
-
* email: 'user@example.com',
|
|
10
|
-
* password: 'password123',
|
|
11
|
-
* });
|
|
12
|
-
* ```
|
|
13
|
-
*/
|
|
14
|
-
authenticate(body, options) {
|
|
15
|
-
return this._client.post('/api/v1/auth/login', {
|
|
16
|
-
body,
|
|
17
|
-
...options,
|
|
18
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* @example
|
|
23
|
-
* ```ts
|
|
24
|
-
* await client.v1.auth.login.verify2fa({
|
|
25
|
-
* code: '123456',
|
|
26
|
-
* email: 'user@example.com',
|
|
27
|
-
* });
|
|
28
|
-
* ```
|
|
29
|
-
*/
|
|
30
|
-
verify2fa(body, options) {
|
|
31
|
-
return this._client.post('/api/v1/auth/login/verify-2fa', {
|
|
32
|
-
body,
|
|
33
|
-
...options,
|
|
34
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* @example
|
|
39
|
-
* ```ts
|
|
40
|
-
* await client.v1.auth.login.verifyBackupCode({
|
|
41
|
-
* backupCode: 'ABCD-EFGH-IJKL',
|
|
42
|
-
* email: 'user@example.com',
|
|
43
|
-
* });
|
|
44
|
-
* ```
|
|
45
|
-
*/
|
|
46
|
-
verifyBackupCode(body, options) {
|
|
47
|
-
return this._client.post('/api/v1/auth/login/verify-backup-code', {
|
|
48
|
-
body,
|
|
49
|
-
...options,
|
|
50
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
4
|
}
|
|
54
5
|
//# sourceMappingURL=login.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login.mjs","sourceRoot":"","sources":["../../../src/resources/v1/auth/login.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"login.mjs","sourceRoot":"","sources":["../../../src/resources/v1/auth/login.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAEtB,MAAM,OAAO,KAAM,SAAQ,WAAW;CAAG"}
|
|
@@ -2,40 +2,6 @@ import { APIResource } from "../../../core/resource.mjs";
|
|
|
2
2
|
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
3
3
|
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
4
4
|
export declare class Number2fa extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* @example
|
|
7
|
-
* ```ts
|
|
8
|
-
* await client.v1.auth.number2fa.disable({
|
|
9
|
-
* password: 'password123',
|
|
10
|
-
* });
|
|
11
|
-
* ```
|
|
12
|
-
*/
|
|
13
|
-
disable(body: Number2faDisableParams, options?: RequestOptions): APIPromise<void>;
|
|
14
|
-
/**
|
|
15
|
-
* @example
|
|
16
|
-
* ```ts
|
|
17
|
-
* await client.v1.auth.number2fa.enable({
|
|
18
|
-
* password: 'password123',
|
|
19
|
-
* });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
enable(body: Number2faEnableParams, options?: RequestOptions): APIPromise<void>;
|
|
23
|
-
/**
|
|
24
|
-
* @example
|
|
25
|
-
* ```ts
|
|
26
|
-
* await client.v1.auth.number2fa.getStatus();
|
|
27
|
-
* ```
|
|
28
|
-
*/
|
|
29
|
-
getStatus(options?: RequestOptions): APIPromise<void>;
|
|
30
|
-
/**
|
|
31
|
-
* @example
|
|
32
|
-
* ```ts
|
|
33
|
-
* await client.v1.auth.number2fa.regenerateBackupCodes({
|
|
34
|
-
* password: 'password123',
|
|
35
|
-
* });
|
|
36
|
-
* ```
|
|
37
|
-
*/
|
|
38
|
-
regenerateBackupCodes(body: Number2faRegenerateBackupCodesParams, options?: RequestOptions): APIPromise<void>;
|
|
39
5
|
/**
|
|
40
6
|
* @example
|
|
41
7
|
* ```ts
|
|
@@ -46,24 +12,6 @@ export declare class Number2fa extends APIResource {
|
|
|
46
12
|
*/
|
|
47
13
|
sendCode(body: Number2faSendCodeParams, options?: RequestOptions): APIPromise<void>;
|
|
48
14
|
}
|
|
49
|
-
export interface Number2faDisableParams {
|
|
50
|
-
/**
|
|
51
|
-
* User password for verification
|
|
52
|
-
*/
|
|
53
|
-
password: string;
|
|
54
|
-
}
|
|
55
|
-
export interface Number2faEnableParams {
|
|
56
|
-
/**
|
|
57
|
-
* User password for verification
|
|
58
|
-
*/
|
|
59
|
-
password: string;
|
|
60
|
-
}
|
|
61
|
-
export interface Number2faRegenerateBackupCodesParams {
|
|
62
|
-
/**
|
|
63
|
-
* User password for verification
|
|
64
|
-
*/
|
|
65
|
-
password: string;
|
|
66
|
-
}
|
|
67
15
|
export interface Number2faSendCodeParams {
|
|
68
16
|
/**
|
|
69
17
|
* Email to send verification code
|
|
@@ -71,6 +19,6 @@ export interface Number2faSendCodeParams {
|
|
|
71
19
|
email: string;
|
|
72
20
|
}
|
|
73
21
|
export declare namespace Number2fa {
|
|
74
|
-
export { type
|
|
22
|
+
export { type Number2faSendCodeParams as Number2faSendCodeParams };
|
|
75
23
|
}
|
|
76
24
|
//# sourceMappingURL=number-2fa.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"number-2fa.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/auth/number-2fa.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;OAOG;IACH,
|
|
1
|
+
{"version":3,"file":"number-2fa.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/auth/number-2fa.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;OAOG;IACH,QAAQ,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAOpF;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EAAE,KAAK,uBAAuB,IAAI,uBAAuB,EAAE,CAAC;CACpE"}
|
|
@@ -2,40 +2,6 @@ import { APIResource } from "../../../core/resource.js";
|
|
|
2
2
|
import { APIPromise } from "../../../core/api-promise.js";
|
|
3
3
|
import { RequestOptions } from "../../../internal/request-options.js";
|
|
4
4
|
export declare class Number2fa extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* @example
|
|
7
|
-
* ```ts
|
|
8
|
-
* await client.v1.auth.number2fa.disable({
|
|
9
|
-
* password: 'password123',
|
|
10
|
-
* });
|
|
11
|
-
* ```
|
|
12
|
-
*/
|
|
13
|
-
disable(body: Number2faDisableParams, options?: RequestOptions): APIPromise<void>;
|
|
14
|
-
/**
|
|
15
|
-
* @example
|
|
16
|
-
* ```ts
|
|
17
|
-
* await client.v1.auth.number2fa.enable({
|
|
18
|
-
* password: 'password123',
|
|
19
|
-
* });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
enable(body: Number2faEnableParams, options?: RequestOptions): APIPromise<void>;
|
|
23
|
-
/**
|
|
24
|
-
* @example
|
|
25
|
-
* ```ts
|
|
26
|
-
* await client.v1.auth.number2fa.getStatus();
|
|
27
|
-
* ```
|
|
28
|
-
*/
|
|
29
|
-
getStatus(options?: RequestOptions): APIPromise<void>;
|
|
30
|
-
/**
|
|
31
|
-
* @example
|
|
32
|
-
* ```ts
|
|
33
|
-
* await client.v1.auth.number2fa.regenerateBackupCodes({
|
|
34
|
-
* password: 'password123',
|
|
35
|
-
* });
|
|
36
|
-
* ```
|
|
37
|
-
*/
|
|
38
|
-
regenerateBackupCodes(body: Number2faRegenerateBackupCodesParams, options?: RequestOptions): APIPromise<void>;
|
|
39
5
|
/**
|
|
40
6
|
* @example
|
|
41
7
|
* ```ts
|
|
@@ -46,24 +12,6 @@ export declare class Number2fa extends APIResource {
|
|
|
46
12
|
*/
|
|
47
13
|
sendCode(body: Number2faSendCodeParams, options?: RequestOptions): APIPromise<void>;
|
|
48
14
|
}
|
|
49
|
-
export interface Number2faDisableParams {
|
|
50
|
-
/**
|
|
51
|
-
* User password for verification
|
|
52
|
-
*/
|
|
53
|
-
password: string;
|
|
54
|
-
}
|
|
55
|
-
export interface Number2faEnableParams {
|
|
56
|
-
/**
|
|
57
|
-
* User password for verification
|
|
58
|
-
*/
|
|
59
|
-
password: string;
|
|
60
|
-
}
|
|
61
|
-
export interface Number2faRegenerateBackupCodesParams {
|
|
62
|
-
/**
|
|
63
|
-
* User password for verification
|
|
64
|
-
*/
|
|
65
|
-
password: string;
|
|
66
|
-
}
|
|
67
15
|
export interface Number2faSendCodeParams {
|
|
68
16
|
/**
|
|
69
17
|
* Email to send verification code
|
|
@@ -71,6 +19,6 @@ export interface Number2faSendCodeParams {
|
|
|
71
19
|
email: string;
|
|
72
20
|
}
|
|
73
21
|
export declare namespace Number2fa {
|
|
74
|
-
export { type
|
|
22
|
+
export { type Number2faSendCodeParams as Number2faSendCodeParams };
|
|
75
23
|
}
|
|
76
24
|
//# sourceMappingURL=number-2fa.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"number-2fa.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/auth/number-2fa.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;OAOG;IACH,
|
|
1
|
+
{"version":3,"file":"number-2fa.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/auth/number-2fa.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAEzB,qBAAa,SAAU,SAAQ,WAAW;IACxC;;;;;;;OAOG;IACH,QAAQ,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAOpF;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,CAAC,OAAO,WAAW,SAAS,CAAC;IACjC,OAAO,EAAE,KAAK,uBAAuB,IAAI,uBAAuB,EAAE,CAAC;CACpE"}
|
|
@@ -5,63 +5,6 @@ exports.Number2fa = void 0;
|
|
|
5
5
|
const resource_1 = require("../../../core/resource.js");
|
|
6
6
|
const headers_1 = require("../../../internal/headers.js");
|
|
7
7
|
class Number2fa extends resource_1.APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* @example
|
|
10
|
-
* ```ts
|
|
11
|
-
* await client.v1.auth.number2fa.disable({
|
|
12
|
-
* password: 'password123',
|
|
13
|
-
* });
|
|
14
|
-
* ```
|
|
15
|
-
*/
|
|
16
|
-
disable(body, options) {
|
|
17
|
-
return this._client.post('/api/v1/auth/2fa/disable', {
|
|
18
|
-
body,
|
|
19
|
-
...options,
|
|
20
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
21
|
-
});
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* @example
|
|
25
|
-
* ```ts
|
|
26
|
-
* await client.v1.auth.number2fa.enable({
|
|
27
|
-
* password: 'password123',
|
|
28
|
-
* });
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
31
|
-
enable(body, options) {
|
|
32
|
-
return this._client.post('/api/v1/auth/2fa/enable', {
|
|
33
|
-
body,
|
|
34
|
-
...options,
|
|
35
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
/**
|
|
39
|
-
* @example
|
|
40
|
-
* ```ts
|
|
41
|
-
* await client.v1.auth.number2fa.getStatus();
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
|
-
getStatus(options) {
|
|
45
|
-
return this._client.get('/api/v1/auth/2fa/status', {
|
|
46
|
-
...options,
|
|
47
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
48
|
-
});
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* @example
|
|
52
|
-
* ```ts
|
|
53
|
-
* await client.v1.auth.number2fa.regenerateBackupCodes({
|
|
54
|
-
* password: 'password123',
|
|
55
|
-
* });
|
|
56
|
-
* ```
|
|
57
|
-
*/
|
|
58
|
-
regenerateBackupCodes(body, options) {
|
|
59
|
-
return this._client.post('/api/v1/auth/2fa/regenerate-backup-codes', {
|
|
60
|
-
body,
|
|
61
|
-
...options,
|
|
62
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
8
|
/**
|
|
66
9
|
* @example
|
|
67
10
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"number-2fa.js","sourceRoot":"","sources":["../../../src/resources/v1/auth/number-2fa.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,0DAAyD;AAGzD,MAAa,SAAU,SAAQ,sBAAW;IACxC;;;;;;;OAOG;IACH,
|
|
1
|
+
{"version":3,"file":"number-2fa.js","sourceRoot":"","sources":["../../../src/resources/v1/auth/number-2fa.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,0DAAyD;AAGzD,MAAa,SAAU,SAAQ,sBAAW;IACxC;;;;;;;OAOG;IACH,QAAQ,CAAC,IAA6B,EAAE,OAAwB;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE;YACrD,IAAI;YACJ,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;AAhBD,8BAgBC"}
|
|
@@ -2,63 +2,6 @@
|
|
|
2
2
|
import { APIResource } from "../../../core/resource.mjs";
|
|
3
3
|
import { buildHeaders } from "../../../internal/headers.mjs";
|
|
4
4
|
export class Number2fa extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* @example
|
|
7
|
-
* ```ts
|
|
8
|
-
* await client.v1.auth.number2fa.disable({
|
|
9
|
-
* password: 'password123',
|
|
10
|
-
* });
|
|
11
|
-
* ```
|
|
12
|
-
*/
|
|
13
|
-
disable(body, options) {
|
|
14
|
-
return this._client.post('/api/v1/auth/2fa/disable', {
|
|
15
|
-
body,
|
|
16
|
-
...options,
|
|
17
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* @example
|
|
22
|
-
* ```ts
|
|
23
|
-
* await client.v1.auth.number2fa.enable({
|
|
24
|
-
* password: 'password123',
|
|
25
|
-
* });
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
enable(body, options) {
|
|
29
|
-
return this._client.post('/api/v1/auth/2fa/enable', {
|
|
30
|
-
body,
|
|
31
|
-
...options,
|
|
32
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* @example
|
|
37
|
-
* ```ts
|
|
38
|
-
* await client.v1.auth.number2fa.getStatus();
|
|
39
|
-
* ```
|
|
40
|
-
*/
|
|
41
|
-
getStatus(options) {
|
|
42
|
-
return this._client.get('/api/v1/auth/2fa/status', {
|
|
43
|
-
...options,
|
|
44
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* @example
|
|
49
|
-
* ```ts
|
|
50
|
-
* await client.v1.auth.number2fa.regenerateBackupCodes({
|
|
51
|
-
* password: 'password123',
|
|
52
|
-
* });
|
|
53
|
-
* ```
|
|
54
|
-
*/
|
|
55
|
-
regenerateBackupCodes(body, options) {
|
|
56
|
-
return this._client.post('/api/v1/auth/2fa/regenerate-backup-codes', {
|
|
57
|
-
body,
|
|
58
|
-
...options,
|
|
59
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
5
|
/**
|
|
63
6
|
* @example
|
|
64
7
|
* ```ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"number-2fa.mjs","sourceRoot":"","sources":["../../../src/resources/v1/auth/number-2fa.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;AAGvB,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;;;;;;OAOG;IACH,
|
|
1
|
+
{"version":3,"file":"number-2fa.mjs","sourceRoot":"","sources":["../../../src/resources/v1/auth/number-2fa.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,EAAE,YAAY,EAAE;AAGvB,MAAM,OAAO,SAAU,SAAQ,WAAW;IACxC;;;;;;;OAOG;IACH,QAAQ,CAAC,IAA6B,EAAE,OAAwB;QAC9D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,4BAA4B,EAAE;YACrD,IAAI;YACJ,GAAG,OAAO;YACV,OAAO,EAAE,YAAY,CAAC,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;SAC7D,CAAC,CAAC;IACL,CAAC;CACF"}
|
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.mjs";
|
|
2
|
-
import { APIPromise } from "../../../core/api-promise.mjs";
|
|
3
|
-
import { RequestOptions } from "../../../internal/request-options.mjs";
|
|
4
2
|
export declare class OrganizationInvites extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* @example
|
|
7
|
-
* ```ts
|
|
8
|
-
* await client.v1.auth.organizationInvites.preview('token');
|
|
9
|
-
* ```
|
|
10
|
-
*/
|
|
11
|
-
preview(token: string, options?: RequestOptions): APIPromise<void>;
|
|
12
3
|
}
|
|
13
4
|
//# sourceMappingURL=organization-invites.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization-invites.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/auth/organization-invites.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"organization-invites.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/auth/organization-invites.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;AAEtB,qBAAa,mBAAoB,SAAQ,WAAW;CAAG"}
|
|
@@ -1,13 +1,4 @@
|
|
|
1
1
|
import { APIResource } from "../../../core/resource.js";
|
|
2
|
-
import { APIPromise } from "../../../core/api-promise.js";
|
|
3
|
-
import { RequestOptions } from "../../../internal/request-options.js";
|
|
4
2
|
export declare class OrganizationInvites extends APIResource {
|
|
5
|
-
/**
|
|
6
|
-
* @example
|
|
7
|
-
* ```ts
|
|
8
|
-
* await client.v1.auth.organizationInvites.preview('token');
|
|
9
|
-
* ```
|
|
10
|
-
*/
|
|
11
|
-
preview(token: string, options?: RequestOptions): APIPromise<void>;
|
|
12
3
|
}
|
|
13
4
|
//# sourceMappingURL=organization-invites.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization-invites.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/auth/organization-invites.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"organization-invites.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/auth/organization-invites.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;AAEtB,qBAAa,mBAAoB,SAAQ,WAAW;CAAG"}
|
|
@@ -3,21 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.OrganizationInvites = void 0;
|
|
5
5
|
const resource_1 = require("../../../core/resource.js");
|
|
6
|
-
const headers_1 = require("../../../internal/headers.js");
|
|
7
|
-
const path_1 = require("../../../internal/utils/path.js");
|
|
8
6
|
class OrganizationInvites extends resource_1.APIResource {
|
|
9
|
-
/**
|
|
10
|
-
* @example
|
|
11
|
-
* ```ts
|
|
12
|
-
* await client.v1.auth.organizationInvites.preview('token');
|
|
13
|
-
* ```
|
|
14
|
-
*/
|
|
15
|
-
preview(token, options) {
|
|
16
|
-
return this._client.get((0, path_1.path) `/api/v1/auth/organization-invites/preview/${token}`, {
|
|
17
|
-
...options,
|
|
18
|
-
headers: (0, headers_1.buildHeaders)([{ Accept: '*/*' }, options?.headers]),
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
7
|
}
|
|
22
8
|
exports.OrganizationInvites = OrganizationInvites;
|
|
23
9
|
//# sourceMappingURL=organization-invites.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization-invites.js","sourceRoot":"","sources":["../../../src/resources/v1/auth/organization-invites.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,
|
|
1
|
+
{"version":3,"file":"organization-invites.js","sourceRoot":"","sources":["../../../src/resources/v1/auth/organization-invites.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,wDAAqD;AAErD,MAAa,mBAAoB,SAAQ,sBAAW;CAAG;AAAvD,kDAAuD"}
|
|
@@ -1,19 +1,5 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
import { APIResource } from "../../../core/resource.mjs";
|
|
3
|
-
import { buildHeaders } from "../../../internal/headers.mjs";
|
|
4
|
-
import { path } from "../../../internal/utils/path.mjs";
|
|
5
3
|
export class OrganizationInvites extends APIResource {
|
|
6
|
-
/**
|
|
7
|
-
* @example
|
|
8
|
-
* ```ts
|
|
9
|
-
* await client.v1.auth.organizationInvites.preview('token');
|
|
10
|
-
* ```
|
|
11
|
-
*/
|
|
12
|
-
preview(token, options) {
|
|
13
|
-
return this._client.get(path `/api/v1/auth/organization-invites/preview/${token}`, {
|
|
14
|
-
...options,
|
|
15
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
4
|
}
|
|
19
5
|
//# sourceMappingURL=organization-invites.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization-invites.mjs","sourceRoot":"","sources":["../../../src/resources/v1/auth/organization-invites.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"organization-invites.mjs","sourceRoot":"","sources":["../../../src/resources/v1/auth/organization-invites.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAEtB,MAAM,OAAO,mBAAoB,SAAQ,WAAW;CAAG"}
|
|
@@ -73,9 +73,9 @@ export interface ChatSendMessageParams {
|
|
|
73
73
|
*/
|
|
74
74
|
context?: unknown;
|
|
75
75
|
/**
|
|
76
|
-
* Body param: Group
|
|
76
|
+
* Body param: Group IDs for collaboration
|
|
77
77
|
*/
|
|
78
|
-
|
|
78
|
+
groupIds?: Array<string>;
|
|
79
79
|
/**
|
|
80
80
|
* Body param: Session ID for conversation continuity
|
|
81
81
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat.d.mts","sourceRoot":"","sources":["../../../src/resources/v1/chat/chat.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EAAE,qBAAqB,EAAE,QAAQ,EAAE;OACnC,KAAK,OAAO;OACZ,EAAE,IAAI,EAAE;OACR,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,IAAK,SAAQ,WAAW;IACnC,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;IACxE,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;IAEpD;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C;QACvB,UAAiB,KAAK;YACpB;;eAEG;YACH,MAAM,CAAC,EAAE,MAAM,CAAC;YAEhB;;eAEG;YACH,OAAO,CAAC,EAAE,MAAM,CAAC;YAEjB;;eAEG;YACH,QAAQ,CAAC,EAAE,MAAM,CAAC;YAElB;;eAEG;YACH,GAAG,CAAC,EAAE,MAAM,CAAC;SACd;KACF;CACF;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAE3C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,yBAAiB,gBAAgB,CAAC;IAChC,UAAiB,OAAO;QACtB,OAAO,CAAC,EAAE,MAAM,CAAC;QAEjB,IAAI,CAAC,EAAE,MAAM,GAAG,WAAW,GAAG,QAAQ,CAAC;KACxC;CACF;AAKD,MAAM,CAAC,OAAO,WAAW,IAAI,CAAC;IAC5B,OAAO,EACL,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,gBAAgB,IAAI,gBAAgB,GAC1C,CAAC;IAEF,OAAO,EAAE,QAAQ,IAAI,QAAQ,EAAE,KAAK,qBAAqB,IAAI,qBAAqB,EAAE,CAAC;IAErF,OAAO,EAAE,IAAI,IAAI,IAAI,EAAE,CAAC;CACzB"}
|
|
@@ -73,9 +73,9 @@ export interface ChatSendMessageParams {
|
|
|
73
73
|
*/
|
|
74
74
|
context?: unknown;
|
|
75
75
|
/**
|
|
76
|
-
* Body param: Group
|
|
76
|
+
* Body param: Group IDs for collaboration
|
|
77
77
|
*/
|
|
78
|
-
|
|
78
|
+
groupIds?: Array<string>;
|
|
79
79
|
/**
|
|
80
80
|
* Body param: Session ID for conversation continuity
|
|
81
81
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat.d.ts","sourceRoot":"","sources":["../../../src/resources/v1/chat/chat.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EAAE,qBAAqB,EAAE,QAAQ,EAAE;OACnC,KAAK,OAAO;OACZ,EAAE,IAAI,EAAE;OACR,EAAE,UAAU,EAAE;OAEd,EAAE,cAAc,EAAE;AAGzB,qBAAa,IAAK,SAAQ,WAAW;IACnC,QAAQ,EAAE,WAAW,CAAC,QAAQ,CAA0C;IACxE,IAAI,EAAE,OAAO,CAAC,IAAI,CAAkC;IAEpD;;;;;OAKG;IACH,UAAU,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOtD;;;;;;;OAOG;IACH,eAAe,CACb,SAAS,EAAE,MAAM,EACjB,KAAK,EAAE,yBAAyB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,IAAI,CAAC;IAQnB;;;;;OAKG;IACH,aAAa,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAOzD;;;;;;;;;OASG;IACH,WAAW,CAAC,MAAM,EAAE,qBAAqB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;IAStF;;;;;;;OAOG;IACH,MAAM,CAAC,MAAM,EAAE,gBAAgB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,IAAI,CAAC;CAW7E;AAED,MAAM,WAAW,yBAAyB;IACxC,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,OAAO,EAAE,qBAAqB,CAAC,OAAO,CAAC;IAEvC;;OAEG;IACH,gBAAgB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