@valtown/sdk 0.23.0 → 0.25.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 +63 -0
- package/LICENSE +1 -1
- package/README.md +29 -1
- package/_shims/node-types.d.ts +1 -1
- package/core.d.ts +10 -8
- package/core.d.ts.map +1 -1
- package/core.js +41 -20
- package/core.js.map +1 -1
- package/core.mjs +38 -18
- package/core.mjs.map +1 -1
- package/error.d.ts +18 -24
- package/error.d.ts.map +1 -1
- package/error.js +1 -31
- package/error.js.map +1 -1
- package/error.mjs +1 -31
- package/error.mjs.map +1 -1
- package/index.d.mts +28 -33
- package/index.d.ts +28 -33
- package/index.d.ts.map +1 -1
- package/index.js +36 -17
- package/index.js.map +1 -1
- package/index.mjs +20 -16
- package/index.mjs.map +1 -1
- package/package.json +2 -2
- package/resources/alias/alias.d.ts +2 -1
- package/resources/alias/alias.d.ts.map +1 -1
- package/resources/alias/alias.js +2 -3
- package/resources/alias/alias.js.map +1 -1
- package/resources/alias/alias.mjs +2 -3
- package/resources/alias/alias.mjs.map +1 -1
- package/resources/alias/username/index.d.ts +1 -1
- package/resources/alias/username/index.d.ts.map +1 -1
- package/resources/alias/username/index.js.map +1 -1
- package/resources/alias/username/index.mjs.map +1 -1
- package/resources/alias/username/username.d.ts +2 -2
- package/resources/alias/username/username.d.ts.map +1 -1
- package/resources/alias/username/username.js +2 -3
- package/resources/alias/username/username.js.map +1 -1
- package/resources/alias/username/username.mjs +2 -3
- package/resources/alias/username/username.mjs.map +1 -1
- package/resources/alias/username/val-name.d.ts +2 -2
- package/resources/alias/username/val-name.d.ts.map +1 -1
- package/resources/alias/username/val-name.js +0 -2
- package/resources/alias/username/val-name.js.map +1 -1
- package/resources/alias/username/val-name.mjs +0 -2
- package/resources/alias/username/val-name.mjs.map +1 -1
- package/resources/blobs.d.ts +1 -4
- package/resources/blobs.d.ts.map +1 -1
- package/resources/blobs.js +0 -2
- package/resources/blobs.js.map +1 -1
- package/resources/blobs.mjs +0 -2
- package/resources/blobs.mjs.map +1 -1
- package/resources/emails.d.ts +1 -3
- package/resources/emails.d.ts.map +1 -1
- package/resources/emails.js +0 -2
- package/resources/emails.js.map +1 -1
- package/resources/emails.mjs +0 -2
- package/resources/emails.mjs.map +1 -1
- package/resources/index.d.ts +4 -4
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/me/comments.d.ts +1 -4
- package/resources/me/comments.d.ts.map +1 -1
- package/resources/me/comments.js +1 -27
- package/resources/me/comments.js.map +1 -1
- package/resources/me/comments.mjs +1 -4
- package/resources/me/comments.mjs.map +1 -1
- package/resources/me/index.d.ts +4 -4
- package/resources/me/index.d.ts.map +1 -1
- package/resources/me/index.js.map +1 -1
- package/resources/me/index.mjs.map +1 -1
- package/resources/me/likes.d.ts +1 -2
- package/resources/me/likes.d.ts.map +1 -1
- package/resources/me/likes.js +0 -2
- package/resources/me/likes.js.map +1 -1
- package/resources/me/likes.mjs +0 -2
- package/resources/me/likes.mjs.map +1 -1
- package/resources/me/me.d.ts +8 -12
- package/resources/me/me.d.ts.map +1 -1
- package/resources/me/me.js +10 -8
- package/resources/me/me.js.map +1 -1
- package/resources/me/me.mjs +10 -8
- package/resources/me/me.mjs.map +1 -1
- package/resources/me/profile.d.ts +1 -2
- package/resources/me/profile.d.ts.map +1 -1
- package/resources/me/profile.js +0 -2
- package/resources/me/profile.js.map +1 -1
- package/resources/me/profile.mjs +0 -2
- package/resources/me/profile.mjs.map +1 -1
- package/resources/me/references.d.ts +1 -4
- package/resources/me/references.d.ts.map +1 -1
- package/resources/me/references.js +1 -27
- package/resources/me/references.js.map +1 -1
- package/resources/me/references.mjs +1 -4
- package/resources/me/references.mjs.map +1 -1
- package/resources/search/index.d.ts +1 -1
- package/resources/search/index.d.ts.map +1 -1
- package/resources/search/index.js.map +1 -1
- package/resources/search/index.mjs.map +1 -1
- package/resources/search/search.d.ts +2 -2
- package/resources/search/search.d.ts.map +1 -1
- package/resources/search/search.js +2 -3
- package/resources/search/search.js.map +1 -1
- package/resources/search/search.mjs +2 -3
- package/resources/search/search.mjs.map +1 -1
- package/resources/search/vals.d.ts +1 -2
- package/resources/search/vals.d.ts.map +1 -1
- package/resources/search/vals.js +0 -2
- package/resources/search/vals.js.map +1 -1
- package/resources/search/vals.mjs +0 -2
- package/resources/search/vals.mjs.map +1 -1
- package/resources/shared.d.ts +1 -0
- package/resources/shared.d.ts.map +1 -1
- package/resources/shared.js.map +1 -1
- package/resources/shared.mjs.map +1 -1
- package/resources/sqlite.d.ts +1 -4
- package/resources/sqlite.d.ts.map +1 -1
- package/resources/sqlite.js +0 -2
- package/resources/sqlite.js.map +1 -1
- package/resources/sqlite.mjs +0 -2
- package/resources/sqlite.mjs.map +1 -1
- package/resources/users/index.d.ts +1 -1
- package/resources/users/index.d.ts.map +1 -1
- package/resources/users/index.js.map +1 -1
- package/resources/users/index.mjs.map +1 -1
- package/resources/users/users.d.ts +2 -2
- package/resources/users/users.d.ts.map +1 -1
- package/resources/users/users.js +2 -3
- package/resources/users/users.js.map +1 -1
- package/resources/users/users.mjs +2 -3
- package/resources/users/users.mjs.map +1 -1
- package/resources/users/vals.d.ts +1 -2
- package/resources/users/vals.d.ts.map +1 -1
- package/resources/users/vals.js +0 -2
- package/resources/users/vals.js.map +1 -1
- package/resources/users/vals.mjs +0 -2
- package/resources/users/vals.mjs.map +1 -1
- package/resources/vals/index.d.ts +2 -2
- package/resources/vals/index.d.ts.map +1 -1
- package/resources/vals/index.js.map +1 -1
- package/resources/vals/index.mjs.map +1 -1
- package/resources/vals/vals.d.ts +5 -13
- package/resources/vals/vals.d.ts.map +1 -1
- package/resources/vals/vals.js +3 -4
- package/resources/vals/vals.js.map +1 -1
- package/resources/vals/vals.mjs +3 -4
- package/resources/vals/vals.mjs.map +1 -1
- package/resources/vals/versions.d.ts +2 -7
- package/resources/vals/versions.d.ts.map +1 -1
- package/resources/vals/versions.js +1 -27
- package/resources/vals/versions.js.map +1 -1
- package/resources/vals/versions.mjs +1 -4
- package/resources/vals/versions.mjs.map +1 -1
- package/shims/node.d.ts +1 -0
- package/shims/node.d.ts.map +1 -1
- package/src/_shims/node-types.d.ts +1 -1
- package/src/core.ts +57 -27
- package/src/error.ts +25 -41
- package/src/index.ts +80 -49
- package/src/resources/alias/alias.ts +5 -2
- package/src/resources/alias/username/index.ts +1 -1
- package/src/resources/alias/username/username.ts +5 -3
- package/src/resources/alias/username/val-name.ts +4 -3
- package/src/resources/blobs.ts +6 -5
- package/src/resources/emails.ts +2 -4
- package/src/resources/index.ts +7 -7
- package/src/resources/me/comments.ts +8 -5
- package/src/resources/me/index.ts +6 -6
- package/src/resources/me/likes.ts +2 -3
- package/src/resources/me/me.ts +39 -13
- package/src/resources/me/profile.ts +2 -3
- package/src/resources/me/references.ts +8 -5
- package/src/resources/search/index.ts +1 -1
- package/src/resources/search/search.ts +5 -3
- package/src/resources/search/vals.ts +2 -3
- package/src/resources/shared.ts +2 -0
- package/src/resources/sqlite.ts +6 -5
- package/src/resources/users/index.ts +1 -1
- package/src/resources/users/users.ts +5 -3
- package/src/resources/users/vals.ts +2 -3
- package/src/resources/vals/index.ts +8 -8
- package/src/resources/vals/vals.ts +29 -14
- package/src/resources/vals/versions.ts +11 -8
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../resource';
|
|
4
4
|
import * as Core from '../../core';
|
|
5
|
-
import * as CommentsAPI from './comments';
|
|
6
5
|
import { PageCursorURL, type PageCursorURLParams } from '../../pagination';
|
|
7
6
|
|
|
8
7
|
export class Comments extends APIResource {
|
|
@@ -98,8 +97,12 @@ export interface CommentListParams extends PageCursorURLParams {
|
|
|
98
97
|
until?: string;
|
|
99
98
|
}
|
|
100
99
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
export
|
|
100
|
+
Comments.CommentListResponsesPageCursorURL = CommentListResponsesPageCursorURL;
|
|
101
|
+
|
|
102
|
+
export declare namespace Comments {
|
|
103
|
+
export {
|
|
104
|
+
type CommentListResponse as CommentListResponse,
|
|
105
|
+
CommentListResponsesPageCursorURL as CommentListResponsesPageCursorURL,
|
|
106
|
+
type CommentListParams as CommentListParams,
|
|
107
|
+
};
|
|
105
108
|
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
export {
|
|
4
|
-
CommentListResponse,
|
|
5
|
-
CommentListParams,
|
|
6
4
|
CommentListResponsesPageCursorURL,
|
|
7
5
|
Comments,
|
|
6
|
+
type CommentListResponse,
|
|
7
|
+
type CommentListParams,
|
|
8
8
|
} from './comments';
|
|
9
|
-
export {
|
|
9
|
+
export { Likes, type LikeListParams } from './likes';
|
|
10
10
|
export { Me } from './me';
|
|
11
|
-
export {
|
|
11
|
+
export { Profile, type ProfileRetrieveResponse } from './profile';
|
|
12
12
|
export {
|
|
13
|
-
ReferenceListResponse,
|
|
14
|
-
ReferenceListParams,
|
|
15
13
|
ReferenceListResponsesPageCursorURL,
|
|
16
14
|
References,
|
|
15
|
+
type ReferenceListResponse,
|
|
16
|
+
type ReferenceListParams,
|
|
17
17
|
} from './references';
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../resource';
|
|
4
4
|
import * as Core from '../../core';
|
|
5
|
-
import * as LikesAPI from './likes';
|
|
6
5
|
import * as Shared from '../shared';
|
|
7
6
|
import { BasicValsPageCursorURL } from '../shared';
|
|
8
7
|
import { type PageCursorURLParams } from '../../pagination';
|
|
@@ -21,8 +20,8 @@ export class Likes extends APIResource {
|
|
|
21
20
|
|
|
22
21
|
export interface LikeListParams extends PageCursorURLParams {}
|
|
23
22
|
|
|
24
|
-
export namespace Likes {
|
|
25
|
-
export
|
|
23
|
+
export declare namespace Likes {
|
|
24
|
+
export { type LikeListParams as LikeListParams };
|
|
26
25
|
}
|
|
27
26
|
|
|
28
27
|
export { BasicValsPageCursorURL };
|
package/src/resources/me/me.ts
CHANGED
|
@@ -2,9 +2,23 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../resource';
|
|
4
4
|
import * as CommentsAPI from './comments';
|
|
5
|
+
import {
|
|
6
|
+
CommentListParams,
|
|
7
|
+
CommentListResponse,
|
|
8
|
+
CommentListResponsesPageCursorURL,
|
|
9
|
+
Comments,
|
|
10
|
+
} from './comments';
|
|
5
11
|
import * as LikesAPI from './likes';
|
|
12
|
+
import { LikeListParams, Likes } from './likes';
|
|
6
13
|
import * as ProfileAPI from './profile';
|
|
14
|
+
import { Profile, ProfileRetrieveResponse } from './profile';
|
|
7
15
|
import * as ReferencesAPI from './references';
|
|
16
|
+
import {
|
|
17
|
+
ReferenceListParams,
|
|
18
|
+
ReferenceListResponse,
|
|
19
|
+
ReferenceListResponsesPageCursorURL,
|
|
20
|
+
References,
|
|
21
|
+
} from './references';
|
|
8
22
|
|
|
9
23
|
/**
|
|
10
24
|
* Methods to get information about your own profile and resources
|
|
@@ -16,17 +30,29 @@ export class Me extends APIResource {
|
|
|
16
30
|
references: ReferencesAPI.References = new ReferencesAPI.References(this._client);
|
|
17
31
|
}
|
|
18
32
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
export
|
|
28
|
-
|
|
29
|
-
export
|
|
30
|
-
|
|
31
|
-
export
|
|
33
|
+
Me.Profile = Profile;
|
|
34
|
+
Me.Likes = Likes;
|
|
35
|
+
Me.Comments = Comments;
|
|
36
|
+
Me.CommentListResponsesPageCursorURL = CommentListResponsesPageCursorURL;
|
|
37
|
+
Me.References = References;
|
|
38
|
+
Me.ReferenceListResponsesPageCursorURL = ReferenceListResponsesPageCursorURL;
|
|
39
|
+
|
|
40
|
+
export declare namespace Me {
|
|
41
|
+
export { Profile as Profile, type ProfileRetrieveResponse as ProfileRetrieveResponse };
|
|
42
|
+
|
|
43
|
+
export { Likes as Likes, type LikeListParams as LikeListParams };
|
|
44
|
+
|
|
45
|
+
export {
|
|
46
|
+
Comments as Comments,
|
|
47
|
+
type CommentListResponse as CommentListResponse,
|
|
48
|
+
CommentListResponsesPageCursorURL as CommentListResponsesPageCursorURL,
|
|
49
|
+
type CommentListParams as CommentListParams,
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export {
|
|
53
|
+
References as References,
|
|
54
|
+
type ReferenceListResponse as ReferenceListResponse,
|
|
55
|
+
ReferenceListResponsesPageCursorURL as ReferenceListResponsesPageCursorURL,
|
|
56
|
+
type ReferenceListParams as ReferenceListParams,
|
|
57
|
+
};
|
|
32
58
|
}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../resource';
|
|
4
4
|
import * as Core from '../../core';
|
|
5
|
-
import * as ProfileAPI from './profile';
|
|
6
5
|
|
|
7
6
|
export class Profile extends APIResource {
|
|
8
7
|
/**
|
|
@@ -64,6 +63,6 @@ export namespace ProfileRetrieveResponse {
|
|
|
64
63
|
}
|
|
65
64
|
}
|
|
66
65
|
|
|
67
|
-
export namespace Profile {
|
|
68
|
-
export
|
|
66
|
+
export declare namespace Profile {
|
|
67
|
+
export { type ProfileRetrieveResponse as ProfileRetrieveResponse };
|
|
69
68
|
}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../resource';
|
|
4
4
|
import * as Core from '../../core';
|
|
5
|
-
import * as ReferencesAPI from './references';
|
|
6
5
|
import { PageCursorURL, type PageCursorURLParams } from '../../pagination';
|
|
7
6
|
|
|
8
7
|
export class References extends APIResource {
|
|
@@ -104,8 +103,12 @@ export interface ReferenceListParams extends PageCursorURLParams {
|
|
|
104
103
|
until?: string;
|
|
105
104
|
}
|
|
106
105
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
export
|
|
106
|
+
References.ReferenceListResponsesPageCursorURL = ReferenceListResponsesPageCursorURL;
|
|
107
|
+
|
|
108
|
+
export declare namespace References {
|
|
109
|
+
export {
|
|
110
|
+
type ReferenceListResponse as ReferenceListResponse,
|
|
111
|
+
ReferenceListResponsesPageCursorURL as ReferenceListResponsesPageCursorURL,
|
|
112
|
+
type ReferenceListParams as ReferenceListParams,
|
|
113
|
+
};
|
|
111
114
|
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../resource';
|
|
4
4
|
import * as ValsAPI from './vals';
|
|
5
|
+
import { ValListParams, Vals } from './vals';
|
|
5
6
|
|
|
6
7
|
/**
|
|
7
8
|
* Search endpoint for vals
|
|
@@ -10,7 +11,8 @@ export class Search extends APIResource {
|
|
|
10
11
|
vals: ValsAPI.Vals = new ValsAPI.Vals(this._client);
|
|
11
12
|
}
|
|
12
13
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
Search.Vals = Vals;
|
|
15
|
+
|
|
16
|
+
export declare namespace Search {
|
|
17
|
+
export { Vals as Vals, type ValListParams as ValListParams };
|
|
16
18
|
}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../resource';
|
|
4
4
|
import * as Core from '../../core';
|
|
5
|
-
import * as ValsAPI from './vals';
|
|
6
5
|
import * as Shared from '../shared';
|
|
7
6
|
import { BasicValsPageCursorURL } from '../shared';
|
|
8
7
|
import { type PageCursorURLParams } from '../../pagination';
|
|
@@ -26,8 +25,8 @@ export interface ValListParams extends PageCursorURLParams {
|
|
|
26
25
|
query: string;
|
|
27
26
|
}
|
|
28
27
|
|
|
29
|
-
export namespace Vals {
|
|
30
|
-
export
|
|
28
|
+
export declare namespace Vals {
|
|
29
|
+
export { type ValListParams as ValListParams };
|
|
31
30
|
}
|
|
32
31
|
|
|
33
32
|
export { BasicValsPageCursorURL };
|
package/src/resources/shared.ts
CHANGED
package/src/resources/sqlite.ts
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../resource';
|
|
4
4
|
import * as Core from '../core';
|
|
5
|
-
import * as SqliteAPI from './sqlite';
|
|
6
5
|
import * as Shared from './shared';
|
|
7
6
|
|
|
8
7
|
/**
|
|
@@ -78,8 +77,10 @@ export namespace SqliteExecuteParams {
|
|
|
78
77
|
}
|
|
79
78
|
}
|
|
80
79
|
|
|
81
|
-
export namespace Sqlite {
|
|
82
|
-
export
|
|
83
|
-
|
|
84
|
-
|
|
80
|
+
export declare namespace Sqlite {
|
|
81
|
+
export {
|
|
82
|
+
type SqliteBatchResponse as SqliteBatchResponse,
|
|
83
|
+
type SqliteBatchParams as SqliteBatchParams,
|
|
84
|
+
type SqliteExecuteParams as SqliteExecuteParams,
|
|
85
|
+
};
|
|
85
86
|
}
|
|
@@ -4,6 +4,7 @@ import { APIResource } from '../../resource';
|
|
|
4
4
|
import * as Core from '../../core';
|
|
5
5
|
import * as Shared from '../shared';
|
|
6
6
|
import * as ValsAPI from './vals';
|
|
7
|
+
import { ValListParams, Vals } from './vals';
|
|
7
8
|
|
|
8
9
|
/**
|
|
9
10
|
* Access public user information and list other people’s vals
|
|
@@ -19,7 +20,8 @@ export class Users extends APIResource {
|
|
|
19
20
|
}
|
|
20
21
|
}
|
|
21
22
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
Users.Vals = Vals;
|
|
24
|
+
|
|
25
|
+
export declare namespace Users {
|
|
26
|
+
export { Vals as Vals, type ValListParams as ValListParams };
|
|
25
27
|
}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../resource';
|
|
4
4
|
import * as Core from '../../core';
|
|
5
|
-
import * as ValsAPI from './vals';
|
|
6
5
|
import * as Shared from '../shared';
|
|
7
6
|
import { BasicValsPageCursorURL } from '../shared';
|
|
8
7
|
import { type PageCursorURLParams } from '../../pagination';
|
|
@@ -22,8 +21,8 @@ export class Vals extends APIResource {
|
|
|
22
21
|
|
|
23
22
|
export interface ValListParams extends PageCursorURLParams {}
|
|
24
23
|
|
|
25
|
-
export namespace Vals {
|
|
26
|
-
export
|
|
24
|
+
export declare namespace Vals {
|
|
25
|
+
export { type ValListParams as ValListParams };
|
|
27
26
|
}
|
|
28
27
|
|
|
29
28
|
export { BasicValsPageCursorURL };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
export {
|
|
4
|
-
ValCancelEvaluationResponse,
|
|
5
|
-
ValCreateParams,
|
|
6
|
-
ValUpdateParams,
|
|
7
|
-
ValCreateOrUpdateParams,
|
|
8
4
|
Vals,
|
|
5
|
+
type ValCancelEvaluationResponse,
|
|
6
|
+
type ValCreateParams,
|
|
7
|
+
type ValUpdateParams,
|
|
8
|
+
type ValCreateOrUpdateParams,
|
|
9
9
|
} from './vals';
|
|
10
10
|
export {
|
|
11
|
-
VersionListResponse,
|
|
12
|
-
VersionCreateParams,
|
|
13
|
-
VersionRetrieveParams,
|
|
14
|
-
VersionListParams,
|
|
15
11
|
VersionListResponsesPageCursorURL,
|
|
16
12
|
Versions,
|
|
13
|
+
type VersionListResponse,
|
|
14
|
+
type VersionCreateParams,
|
|
15
|
+
type VersionRetrieveParams,
|
|
16
|
+
type VersionListParams,
|
|
17
17
|
} from './versions';
|
|
@@ -3,9 +3,16 @@
|
|
|
3
3
|
import { APIResource } from '../../resource';
|
|
4
4
|
import { isRequestOptions } from '../../core';
|
|
5
5
|
import * as Core from '../../core';
|
|
6
|
-
import * as ValsAPI from './vals';
|
|
7
6
|
import * as Shared from '../shared';
|
|
8
7
|
import * as VersionsAPI from './versions';
|
|
8
|
+
import {
|
|
9
|
+
VersionCreateParams,
|
|
10
|
+
VersionListParams,
|
|
11
|
+
VersionListResponse,
|
|
12
|
+
VersionListResponsesPageCursorURL,
|
|
13
|
+
VersionRetrieveParams,
|
|
14
|
+
Versions,
|
|
15
|
+
} from './versions';
|
|
9
16
|
|
|
10
17
|
/**
|
|
11
18
|
* Vals are runnable JavaScript, TypeScript, and JSX modules
|
|
@@ -117,7 +124,7 @@ export interface ValCreateParams {
|
|
|
117
124
|
* The type of the val you want to create. Note that this does not include interval
|
|
118
125
|
* vals, because they cannot be created through the API yet.
|
|
119
126
|
*/
|
|
120
|
-
type?: '
|
|
127
|
+
type?: 'httpnext' | 'http' | 'script' | 'email';
|
|
121
128
|
}
|
|
122
129
|
|
|
123
130
|
export interface ValUpdateParams {
|
|
@@ -141,7 +148,7 @@ export interface ValUpdateParams {
|
|
|
141
148
|
* The type of the val you want to update. Note that this does not include interval
|
|
142
149
|
* vals, because they cannot be created through the API yet.
|
|
143
150
|
*/
|
|
144
|
-
type?: '
|
|
151
|
+
type?: 'httpnext' | 'http' | 'script' | 'email';
|
|
145
152
|
}
|
|
146
153
|
|
|
147
154
|
export interface ValCreateOrUpdateParams {
|
|
@@ -156,15 +163,23 @@ export interface ValCreateOrUpdateParams {
|
|
|
156
163
|
name: string;
|
|
157
164
|
}
|
|
158
165
|
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
export
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
166
|
+
Vals.Versions = Versions;
|
|
167
|
+
Vals.VersionListResponsesPageCursorURL = VersionListResponsesPageCursorURL;
|
|
168
|
+
|
|
169
|
+
export declare namespace Vals {
|
|
170
|
+
export {
|
|
171
|
+
type ValCancelEvaluationResponse as ValCancelEvaluationResponse,
|
|
172
|
+
type ValCreateParams as ValCreateParams,
|
|
173
|
+
type ValUpdateParams as ValUpdateParams,
|
|
174
|
+
type ValCreateOrUpdateParams as ValCreateOrUpdateParams,
|
|
175
|
+
};
|
|
176
|
+
|
|
177
|
+
export {
|
|
178
|
+
Versions as Versions,
|
|
179
|
+
type VersionListResponse as VersionListResponse,
|
|
180
|
+
VersionListResponsesPageCursorURL as VersionListResponsesPageCursorURL,
|
|
181
|
+
type VersionCreateParams as VersionCreateParams,
|
|
182
|
+
type VersionRetrieveParams as VersionRetrieveParams,
|
|
183
|
+
type VersionListParams as VersionListParams,
|
|
184
|
+
};
|
|
170
185
|
}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../../resource';
|
|
4
4
|
import * as Core from '../../core';
|
|
5
|
-
import * as VersionsAPI from './versions';
|
|
6
5
|
import * as Shared from '../shared';
|
|
7
6
|
import { PageCursorURL, type PageCursorURLParams } from '../../pagination';
|
|
8
7
|
|
|
@@ -97,7 +96,7 @@ export interface VersionCreateParams {
|
|
|
97
96
|
* The type of the val you want to create. Note that this does not include interval
|
|
98
97
|
* vals, because they cannot be created through the API yet.
|
|
99
98
|
*/
|
|
100
|
-
type?: '
|
|
99
|
+
type?: 'httpnext' | 'http' | 'script' | 'email';
|
|
101
100
|
}
|
|
102
101
|
|
|
103
102
|
export interface VersionRetrieveParams {
|
|
@@ -114,10 +113,14 @@ export interface VersionRetrieveParams {
|
|
|
114
113
|
|
|
115
114
|
export interface VersionListParams extends PageCursorURLParams {}
|
|
116
115
|
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
export
|
|
121
|
-
|
|
122
|
-
|
|
116
|
+
Versions.VersionListResponsesPageCursorURL = VersionListResponsesPageCursorURL;
|
|
117
|
+
|
|
118
|
+
export declare namespace Versions {
|
|
119
|
+
export {
|
|
120
|
+
type VersionListResponse as VersionListResponse,
|
|
121
|
+
VersionListResponsesPageCursorURL as VersionListResponsesPageCursorURL,
|
|
122
|
+
type VersionCreateParams as VersionCreateParams,
|
|
123
|
+
type VersionRetrieveParams as VersionRetrieveParams,
|
|
124
|
+
type VersionListParams as VersionListParams,
|
|
125
|
+
};
|
|
123
126
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.25.0'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.25.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.25.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|