@studyfetch/sdk 1.6.0 → 1.8.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 +8 -88
- package/resources/v1/auth/auth.d.mts.map +1 -1
- package/resources/v1/auth/auth.d.ts +8 -88
- package/resources/v1/auth/auth.d.ts.map +1 -1
- package/resources/v1/auth/auth.js +5 -77
- package/resources/v1/auth/auth.js.map +1 -1
- package/resources/v1/auth/auth.mjs +6 -78
- 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/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 -9
- package/resources/v1/organizations/usage.d.mts.map +1 -1
- package/resources/v1/organizations/usage.d.ts +0 -9
- package/resources/v1/organizations/usage.d.ts.map +1 -1
- package/resources/v1/organizations/usage.js +0 -14
- package/resources/v1/organizations/usage.js.map +1 -1
- package/resources/v1/organizations/usage.mjs +0 -14
- 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 +9 -153
- 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/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 -18
- 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"}
|
package/resources/v1/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { Admin } from "./admin/index.mjs";
|
|
2
2
|
export { AudioRecaps, type AudioRecapCreateParams, type AudioRecapAskQuestionParams, } from "./audio-recaps/index.mjs";
|
|
3
|
-
export { Auth
|
|
3
|
+
export { Auth } from "./auth/index.mjs";
|
|
4
4
|
export { Chat, type ChatRetrieveSessionParams, type ChatSendMessageParams, type ChatStreamParams, } from "./chat/index.mjs";
|
|
5
5
|
export { Components, type ComponentCreateResponse, type ComponentRetrieveResponse, type ComponentUpdateResponse, type ComponentListResponse, type ComponentEmbedResponse, type ComponentCreateParams, type ComponentUpdateParams, type ComponentListParams, type ComponentEmbedParams, } from "./components.mjs";
|
|
6
6
|
export { Embed, type EmbedGetThemeParams, type EmbedVerifyParams } from "./embed/index.mjs";
|
|
@@ -8,10 +8,10 @@ export { Explainers, type ExplainerCreateParams, type ExplainerHandleWebhookPara
|
|
|
8
8
|
export { Flashcards, type FlashcardBatchProcessResponse, type FlashcardGetAlgorithmInfoResponse, type FlashcardGetTypesResponse, type FlashcardBatchProcessParams, type FlashcardGetAllParams, type FlashcardGetDueParams, type FlashcardGetStatsParams, type FlashcardRateParams, } from "./flashcards.mjs";
|
|
9
9
|
export { Folders, type FolderCreateParams, type FolderUpdateParams, type FolderListParams } from "./folders.mjs";
|
|
10
10
|
export { Materials, type MaterialCreateResponse, type MaterialRetrieveResponse, type MaterialListResponse, type MaterialCreateParams, type MaterialListParams, type MaterialGetDownloadURLParams, } from "./materials/index.mjs";
|
|
11
|
-
export { Organizations
|
|
11
|
+
export { Organizations } from "./organizations/index.mjs";
|
|
12
12
|
export { Scenarios, type ScenarioCreateParams, type ScenarioUpdateParams } from "./scenarios/index.mjs";
|
|
13
13
|
export { Tests, type TestCreateParams, type TestRetakeParams, type TestSubmitParams, type TestSubmitAnswerParams, } from "./tests/index.mjs";
|
|
14
14
|
export { Upload } from "./upload/index.mjs";
|
|
15
|
-
export { Usage, type UsageGetStatsParams, type UsageGetSummaryParams, type UsageListEventsParams,
|
|
15
|
+
export { Usage, type UsageGetStatsParams, type UsageGetSummaryParams, type UsageListEventsParams, } from "./usage.mjs";
|
|
16
16
|
export { V1 } from "./v1.mjs";
|
|
17
17
|
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE;OACT,EACL,WAAW,EACX,KAAK,sBAAsB,EAC3B,KAAK,2BAA2B,GACjC;OACM,
|
|
1
|
+
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/v1/index.ts"],"names":[],"mappings":"OAEO,EAAE,KAAK,EAAE;OACT,EACL,WAAW,EACX,KAAK,sBAAsB,EAC3B,KAAK,2BAA2B,GACjC;OACM,EAAE,IAAI,EAAE;OACR,EACL,IAAI,EACJ,KAAK,yBAAyB,EAC9B,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,GACtB;OACM,EACL,UAAU,EACV,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,mBAAmB,EACxB,KAAK,oBAAoB,GAC1B;OACM,EAAE,KAAK,EAAE,KAAK,mBAAmB,EAAE,KAAK,iBAAiB,EAAE;OAC3D,EAAE,UAAU,EAAE,KAAK,qBAAqB,EAAE,KAAK,4BAA4B,EAAE;OAC7E,EACL,UAAU,EACV,KAAK,6BAA6B,EAClC,KAAK,iCAAiC,EACtC,KAAK,yBAAyB,EAC9B,KAAK,2BAA2B,EAChC,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,GACzB;OACM,EAAE,OAAO,EAAE,KAAK,kBAAkB,EAAE,KAAK,kBAAkB,EAAE,KAAK,gBAAgB,EAAE;OACpF,EACL,SAAS,EACT,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,KAAK,4BAA4B,GAClC;OACM,EAAE,aAAa,EAAE;OACjB,EAAE,SAAS,EAAE,KAAK,oBAAoB,EAAE,KAAK,oBAAoB,EAAE;OACnE,EACL,KAAK,EACL,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,sBAAsB,GAC5B;OACM,EAAE,MAAM,EAAE;OACV,EACL,KAAK,EACL,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,GAC3B;OACM,EAAE,EAAE,EAAE"}
|