@tembo-io/sdk 0.0.2 → 0.0.4
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 +19 -1
- package/LICENSE +1 -1
- package/README.md +41 -36
- package/client.d.mts +18 -15
- package/client.d.mts.map +1 -1
- package/client.d.ts +18 -15
- package/client.d.ts.map +1 -1
- package/client.js +41 -38
- package/client.js.map +1 -1
- package/client.mjs +40 -37
- package/client.mjs.map +1 -1
- package/core/api-promise.d.mts +2 -2
- package/core/api-promise.d.mts.map +1 -1
- package/core/api-promise.d.ts +2 -2
- package/core/api-promise.d.ts.map +1 -1
- package/core/api-promise.js.map +1 -1
- package/core/api-promise.mjs.map +1 -1
- package/core/error.d.mts +2 -2
- package/core/error.d.mts.map +1 -1
- package/core/error.d.ts +2 -2
- package/core/error.d.ts.map +1 -1
- package/core/error.js +4 -4
- package/core/error.js.map +1 -1
- package/core/error.mjs +2 -2
- package/core/error.mjs.map +1 -1
- package/core/resource.d.mts +3 -3
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts +3 -3
- package/core/resource.d.ts.map +1 -1
- package/core/resource.js.map +1 -1
- package/core/resource.mjs.map +1 -1
- package/index.d.mts +3 -3
- package/index.d.mts.map +1 -1
- package/index.d.ts +3 -3
- package/index.d.ts.map +1 -1
- package/index.js +4 -4
- package/index.js.map +1 -1
- package/index.mjs +3 -3
- package/index.mjs.map +1 -1
- package/internal/parse.d.mts +2 -2
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts +2 -2
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs.map +1 -1
- package/internal/shims.js +1 -1
- package/internal/shims.js.map +1 -1
- package/internal/shims.mjs +1 -1
- package/internal/shims.mjs.map +1 -1
- package/internal/uploads.d.mts +4 -4
- package/internal/uploads.d.mts.map +1 -1
- package/internal/uploads.d.ts +4 -4
- package/internal/uploads.d.ts.map +1 -1
- package/internal/uploads.js.map +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/base64.js +2 -2
- package/internal/utils/base64.js.map +1 -1
- package/internal/utils/base64.mjs +3 -3
- package/internal/utils/base64.mjs.map +1 -1
- package/internal/utils/log.d.mts +3 -3
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts +3 -3
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.js +1 -1
- package/internal/utils/path.js.map +1 -1
- package/internal/utils/path.mjs +2 -2
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/values.js +5 -5
- package/internal/utils/values.js.map +1 -1
- package/internal/utils/values.mjs +6 -6
- package/internal/utils/values.mjs.map +1 -1
- package/package.json +3 -3
- package/resources/index.d.mts +3 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -1
- package/resources/index.mjs.map +1 -1
- package/resources/me.d.mts +23 -0
- package/resources/me.d.mts.map +1 -0
- package/resources/me.d.ts +23 -0
- package/resources/me.d.ts.map +1 -0
- package/resources/me.js +15 -0
- package/resources/me.js.map +1 -0
- package/resources/me.mjs +11 -0
- package/resources/me.mjs.map +1 -0
- package/resources/repository.d.mts +79 -1
- package/resources/repository.d.mts.map +1 -1
- package/resources/repository.d.ts +79 -1
- package/resources/repository.d.ts.map +1 -1
- package/resources/repository.js +1 -5
- package/resources/repository.js.map +1 -1
- package/resources/repository.mjs +1 -5
- package/resources/repository.mjs.map +1 -1
- package/resources/task.d.mts +111 -5
- package/resources/task.d.mts.map +1 -1
- package/resources/task.d.ts +111 -5
- package/resources/task.d.ts.map +1 -1
- package/resources/task.js +21 -17
- package/resources/task.js.map +1 -1
- package/resources/task.mjs +21 -17
- package/resources/task.mjs.map +1 -1
- package/src/client.ts +41 -25
- package/src/core/api-promise.ts +4 -4
- package/src/core/error.ts +2 -2
- package/src/core/resource.ts +3 -3
- package/src/index.ts +3 -3
- package/src/internal/parse.ts +2 -2
- package/src/internal/shims.ts +1 -1
- package/src/internal/uploads.ts +5 -5
- package/src/internal/utils/base64.ts +3 -3
- package/src/internal/utils/log.ts +3 -3
- package/src/internal/utils/path.ts +2 -2
- package/src/internal/utils/values.ts +6 -6
- package/src/resources/index.ts +11 -2
- package/src/resources/me.ts +30 -0
- package/src/resources/repository.ts +94 -6
- package/src/resources/task.ts +161 -21
- 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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TemboError } from '../../core/error';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Percent-encode everything that isn't safe to have in a path without encoding safe chars.
|
|
@@ -72,7 +72,7 @@ export const createPathTagFunction = (pathEncoder = encodeURIPath) =>
|
|
|
72
72
|
return acc + spaces + arrows;
|
|
73
73
|
}, '');
|
|
74
74
|
|
|
75
|
-
throw new
|
|
75
|
+
throw new TemboError(
|
|
76
76
|
`Path parameters result in path with invalid segments:\n${invalidSegments
|
|
77
77
|
.map((e) => e.error)
|
|
78
78
|
.join('\n')}\n${path}\n${underline}`,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { TemboError } from '../../core/error';
|
|
4
4
|
|
|
5
5
|
// https://url.spec.whatwg.org/#url-scheme-string
|
|
6
6
|
const startsWithSchemeRegexp = /^[a-z][a-z0-9+.-]*:/i;
|
|
@@ -39,7 +39,7 @@ export function isObj(obj: unknown): obj is Record<string, unknown> {
|
|
|
39
39
|
|
|
40
40
|
export const ensurePresent = <T>(value: T | null | undefined): T => {
|
|
41
41
|
if (value == null) {
|
|
42
|
-
throw new
|
|
42
|
+
throw new TemboError(`Expected a value to be given but received ${value} instead.`);
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
return value;
|
|
@@ -47,10 +47,10 @@ export const ensurePresent = <T>(value: T | null | undefined): T => {
|
|
|
47
47
|
|
|
48
48
|
export const validatePositiveInteger = (name: string, n: unknown): number => {
|
|
49
49
|
if (typeof n !== 'number' || !Number.isInteger(n)) {
|
|
50
|
-
throw new
|
|
50
|
+
throw new TemboError(`${name} must be an integer`);
|
|
51
51
|
}
|
|
52
52
|
if (n < 0) {
|
|
53
|
-
throw new
|
|
53
|
+
throw new TemboError(`${name} must be a positive integer`);
|
|
54
54
|
}
|
|
55
55
|
return n;
|
|
56
56
|
};
|
|
@@ -59,14 +59,14 @@ export const coerceInteger = (value: unknown): number => {
|
|
|
59
59
|
if (typeof value === 'number') return Math.round(value);
|
|
60
60
|
if (typeof value === 'string') return parseInt(value, 10);
|
|
61
61
|
|
|
62
|
-
throw new
|
|
62
|
+
throw new TemboError(`Could not coerce ${value} (type: ${typeof value}) into a number`);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
65
|
export const coerceFloat = (value: unknown): number => {
|
|
66
66
|
if (typeof value === 'number') return value;
|
|
67
67
|
if (typeof value === 'string') return parseFloat(value);
|
|
68
68
|
|
|
69
|
-
throw new
|
|
69
|
+
throw new TemboError(`Could not coerce ${value} (type: ${typeof value}) into a number`);
|
|
70
70
|
};
|
|
71
71
|
|
|
72
72
|
export const coerceBoolean = (value: unknown): boolean => {
|
package/src/resources/index.ts
CHANGED
|
@@ -1,4 +1,13 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
3
|
+
export { Me, type MeRetrieveResponse } from './me';
|
|
4
|
+
export { Repository, type RepositoryListResponse } from './repository';
|
|
5
|
+
export {
|
|
6
|
+
Task,
|
|
7
|
+
type TaskCreateResponse,
|
|
8
|
+
type TaskListResponse,
|
|
9
|
+
type TaskSearchResponse,
|
|
10
|
+
type TaskCreateParams,
|
|
11
|
+
type TaskListParams,
|
|
12
|
+
type TaskSearchParams,
|
|
13
|
+
} from './task';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import { APIPromise } from '../core/api-promise';
|
|
5
|
+
import { RequestOptions } from '../internal/request-options';
|
|
6
|
+
|
|
7
|
+
export class Me extends APIResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get information about the current authenticated user
|
|
10
|
+
*/
|
|
11
|
+
retrieve(options?: RequestOptions): APIPromise<MeRetrieveResponse> {
|
|
12
|
+
return this._client.get('/me', options);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export interface MeRetrieveResponse {
|
|
17
|
+
/**
|
|
18
|
+
* Organization ID for the authenticated user
|
|
19
|
+
*/
|
|
20
|
+
orgId: string | null;
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* User ID for the authenticated user
|
|
24
|
+
*/
|
|
25
|
+
userId: string | null;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export declare namespace Me {
|
|
29
|
+
export { type MeRetrieveResponse as MeRetrieveResponse };
|
|
30
|
+
}
|
|
@@ -2,17 +2,105 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../core/resource';
|
|
4
4
|
import { APIPromise } from '../core/api-promise';
|
|
5
|
-
import { buildHeaders } from '../internal/headers';
|
|
6
5
|
import { RequestOptions } from '../internal/request-options';
|
|
7
6
|
|
|
8
7
|
export class Repository extends APIResource {
|
|
9
8
|
/**
|
|
10
9
|
* Gets a list of enabled code repositories for the organization
|
|
11
10
|
*/
|
|
12
|
-
list(options?: RequestOptions): APIPromise<
|
|
13
|
-
return this._client.get('/repository/list',
|
|
14
|
-
...options,
|
|
15
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
16
|
-
});
|
|
11
|
+
list(options?: RequestOptions): APIPromise<RepositoryListResponse> {
|
|
12
|
+
return this._client.get('/repository/list', options);
|
|
17
13
|
}
|
|
18
14
|
}
|
|
15
|
+
|
|
16
|
+
export interface RepositoryListResponse {
|
|
17
|
+
/**
|
|
18
|
+
* Array of enabled code repositories for the organization
|
|
19
|
+
*/
|
|
20
|
+
codeRepositories: Array<RepositoryListResponse.CodeRepository>;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export namespace RepositoryListResponse {
|
|
24
|
+
export interface CodeRepository {
|
|
25
|
+
/**
|
|
26
|
+
* Unique identifier for the code repository
|
|
27
|
+
*/
|
|
28
|
+
id: string;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Timestamp when the repository record was created
|
|
32
|
+
*/
|
|
33
|
+
createdAt: string;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Timestamp when the repository was enabled
|
|
37
|
+
*/
|
|
38
|
+
enabledAt: string;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Name of the repository
|
|
42
|
+
*/
|
|
43
|
+
name: string;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Organization ID that owns this repository
|
|
47
|
+
*/
|
|
48
|
+
organizationId: string;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Timestamp when the repository record was last updated
|
|
52
|
+
*/
|
|
53
|
+
updatedAt: string;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Default branch name
|
|
57
|
+
*/
|
|
58
|
+
branch?: string;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Repository description
|
|
62
|
+
*/
|
|
63
|
+
description?: string;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Associated integration details
|
|
67
|
+
*/
|
|
68
|
+
integration?: CodeRepository.Integration;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Repository URL
|
|
72
|
+
*/
|
|
73
|
+
url?: string;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export namespace CodeRepository {
|
|
77
|
+
/**
|
|
78
|
+
* Associated integration details
|
|
79
|
+
*/
|
|
80
|
+
export interface Integration {
|
|
81
|
+
/**
|
|
82
|
+
* Unique identifier for the integration
|
|
83
|
+
*/
|
|
84
|
+
id: string;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Integration configuration settings
|
|
88
|
+
*/
|
|
89
|
+
configuration: { [key: string]: unknown };
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Name of the integration
|
|
93
|
+
*/
|
|
94
|
+
name: string;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Type of integration (e.g., github, gitlab)
|
|
98
|
+
*/
|
|
99
|
+
type: string;
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export declare namespace Repository {
|
|
105
|
+
export { type RepositoryListResponse as RepositoryListResponse };
|
|
106
|
+
}
|
package/src/resources/task.ts
CHANGED
|
@@ -2,76 +2,216 @@
|
|
|
2
2
|
|
|
3
3
|
import { APIResource } from '../core/resource';
|
|
4
4
|
import { APIPromise } from '../core/api-promise';
|
|
5
|
-
import { buildHeaders } from '../internal/headers';
|
|
6
5
|
import { RequestOptions } from '../internal/request-options';
|
|
7
6
|
|
|
8
7
|
export class Task extends APIResource {
|
|
9
8
|
/**
|
|
10
9
|
* Create a user-supplied task
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* ```ts
|
|
13
|
+
* const task = await client.task.create();
|
|
14
|
+
* ```
|
|
11
15
|
*/
|
|
12
|
-
create(
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
});
|
|
16
|
+
create(
|
|
17
|
+
body: TaskCreateParams | null | undefined = {},
|
|
18
|
+
options?: RequestOptions,
|
|
19
|
+
): APIPromise<TaskCreateResponse> {
|
|
20
|
+
return this._client.post('/task/create', { body, ...options });
|
|
18
21
|
}
|
|
19
22
|
|
|
20
23
|
/**
|
|
21
24
|
* Gets a paginated list of issues for the organization
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```ts
|
|
28
|
+
* const tasks = await client.task.list();
|
|
29
|
+
* ```
|
|
22
30
|
*/
|
|
23
|
-
list(
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
});
|
|
31
|
+
list(
|
|
32
|
+
query: TaskListParams | null | undefined = {},
|
|
33
|
+
options?: RequestOptions,
|
|
34
|
+
): APIPromise<TaskListResponse> {
|
|
35
|
+
return this._client.get('/task/list', { query, ...options });
|
|
29
36
|
}
|
|
30
37
|
|
|
31
38
|
/**
|
|
32
39
|
* Search issues for the organization with pagination
|
|
40
|
+
*
|
|
41
|
+
* @example
|
|
42
|
+
* ```ts
|
|
43
|
+
* const response = await client.task.search({
|
|
44
|
+
* q: 'authentication bug',
|
|
45
|
+
* });
|
|
46
|
+
* ```
|
|
33
47
|
*/
|
|
34
|
-
search(query: TaskSearchParams, options?: RequestOptions): APIPromise<
|
|
35
|
-
return this._client.get('/task/search', {
|
|
36
|
-
query,
|
|
37
|
-
...options,
|
|
38
|
-
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
39
|
-
});
|
|
48
|
+
search(query: TaskSearchParams, options?: RequestOptions): APIPromise<TaskSearchResponse> {
|
|
49
|
+
return this._client.get('/task/search', { query, ...options });
|
|
40
50
|
}
|
|
41
51
|
}
|
|
42
52
|
|
|
43
|
-
export interface
|
|
44
|
-
|
|
53
|
+
export interface TaskCreateResponse {
|
|
54
|
+
id: string;
|
|
55
|
+
|
|
56
|
+
createdAt: string;
|
|
57
|
+
|
|
58
|
+
description: string;
|
|
59
|
+
|
|
60
|
+
organizationId: string;
|
|
61
|
+
|
|
62
|
+
status: string;
|
|
63
|
+
|
|
64
|
+
title: string;
|
|
65
|
+
|
|
66
|
+
updatedAt: string;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export interface TaskListResponse {
|
|
70
|
+
issues: Array<TaskListResponse.Issue>;
|
|
71
|
+
|
|
72
|
+
meta: TaskListResponse.Meta;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export namespace TaskListResponse {
|
|
76
|
+
export interface Issue {
|
|
77
|
+
id: string;
|
|
78
|
+
|
|
79
|
+
createdAt: string;
|
|
80
|
+
|
|
81
|
+
description: string;
|
|
82
|
+
|
|
83
|
+
organizationId: string;
|
|
84
|
+
|
|
85
|
+
status: string;
|
|
86
|
+
|
|
87
|
+
title: string;
|
|
88
|
+
|
|
89
|
+
updatedAt: string;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export interface Meta {
|
|
93
|
+
currentPage: number;
|
|
94
|
+
|
|
95
|
+
hasNext: boolean;
|
|
96
|
+
|
|
97
|
+
hasPrevious: boolean;
|
|
98
|
+
|
|
99
|
+
pageSize: number;
|
|
100
|
+
|
|
101
|
+
totalCount: number;
|
|
102
|
+
|
|
103
|
+
totalPages: number;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
export interface TaskSearchResponse {
|
|
108
|
+
issues: Array<TaskSearchResponse.Issue>;
|
|
109
|
+
|
|
110
|
+
meta: TaskSearchResponse.Meta;
|
|
111
|
+
|
|
112
|
+
query: string;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
export namespace TaskSearchResponse {
|
|
116
|
+
export interface Issue {
|
|
117
|
+
id: string;
|
|
118
|
+
|
|
119
|
+
createdAt: string;
|
|
120
|
+
|
|
121
|
+
description: string;
|
|
122
|
+
|
|
123
|
+
organizationId: string;
|
|
124
|
+
|
|
125
|
+
status: string;
|
|
45
126
|
|
|
127
|
+
title: string;
|
|
128
|
+
|
|
129
|
+
updatedAt: string;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export interface Meta {
|
|
133
|
+
currentPage: number;
|
|
134
|
+
|
|
135
|
+
hasNext: boolean;
|
|
136
|
+
|
|
137
|
+
hasPrevious: boolean;
|
|
138
|
+
|
|
139
|
+
pageSize: number;
|
|
140
|
+
|
|
141
|
+
totalCount: number;
|
|
142
|
+
|
|
143
|
+
totalPages: number;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
export interface TaskCreateParams {
|
|
148
|
+
/**
|
|
149
|
+
* Specific agent to assign this task to
|
|
150
|
+
*/
|
|
46
151
|
agent?: string;
|
|
47
152
|
|
|
153
|
+
/**
|
|
154
|
+
* Specific git branch to target for this task
|
|
155
|
+
*/
|
|
48
156
|
branch?: string | null;
|
|
49
157
|
|
|
50
158
|
codeRepoIds?: Array<string>;
|
|
51
159
|
|
|
160
|
+
/**
|
|
161
|
+
* Detailed description of the task (alternative to prompt)
|
|
162
|
+
*/
|
|
52
163
|
description?: string;
|
|
53
164
|
|
|
165
|
+
/**
|
|
166
|
+
* Brief description of the task to be performed
|
|
167
|
+
*/
|
|
54
168
|
prompt?: string;
|
|
55
169
|
|
|
170
|
+
/**
|
|
171
|
+
* Whether to immediately queue the task for processing
|
|
172
|
+
*/
|
|
56
173
|
queueRightAway?: boolean;
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Array of code repository urls that this task relates to
|
|
177
|
+
*/
|
|
178
|
+
repositories?: Array<string>;
|
|
57
179
|
}
|
|
58
180
|
|
|
59
181
|
export interface TaskListParams {
|
|
182
|
+
/**
|
|
183
|
+
* Number of items to return per page (max 100)
|
|
184
|
+
*/
|
|
60
185
|
limit?: number;
|
|
61
186
|
|
|
187
|
+
/**
|
|
188
|
+
* Page number to retrieve (starts from 1)
|
|
189
|
+
*/
|
|
62
190
|
page?: number;
|
|
63
191
|
}
|
|
64
192
|
|
|
65
193
|
export interface TaskSearchParams {
|
|
194
|
+
/**
|
|
195
|
+
* Search query to find issues by title or description
|
|
196
|
+
*/
|
|
66
197
|
q: string;
|
|
67
198
|
|
|
199
|
+
/**
|
|
200
|
+
* Number of items to return per page (max 100)
|
|
201
|
+
*/
|
|
68
202
|
limit?: number;
|
|
69
203
|
|
|
204
|
+
/**
|
|
205
|
+
* Page number to retrieve (starts from 1)
|
|
206
|
+
*/
|
|
70
207
|
page?: number;
|
|
71
208
|
}
|
|
72
209
|
|
|
73
210
|
export declare namespace Task {
|
|
74
211
|
export {
|
|
212
|
+
type TaskCreateResponse as TaskCreateResponse,
|
|
213
|
+
type TaskListResponse as TaskListResponse,
|
|
214
|
+
type TaskSearchResponse as TaskSearchResponse,
|
|
75
215
|
type TaskCreateParams as TaskCreateParams,
|
|
76
216
|
type TaskListParams as TaskListParams,
|
|
77
217
|
type TaskSearchParams as TaskSearchParams,
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.0.
|
|
1
|
+
export const VERSION = '0.0.4'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.0.
|
|
1
|
+
export declare const VERSION = "0.0.4";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.0.
|
|
1
|
+
export declare const VERSION = "0.0.4";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.0.
|
|
1
|
+
export const VERSION = '0.0.4'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|