@rightbrain/brain-api-client 0.0.1-dev.156.b1e4d8a → 0.0.1-dev.158.ec54beb
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +15 -7
- package/dist/api.d.ts +8 -4
- package/dist/api.js +14 -7
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -48073,13 +48073,14 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
48073
48073
|
* @param {string} projectId The unique identifier of the project.
|
|
48074
48074
|
* @param {string | null} [name] Filter tasks by name (case-insensitive partial match).
|
|
48075
48075
|
* @param {string | null} [tagId] Filter tasks by tag ID.
|
|
48076
|
+
* @param {boolean} [createdByMe] Filter tasks to those created by the current user.
|
|
48076
48077
|
* @param {boolean | null} [includeTests] Include test revisions
|
|
48077
48078
|
* @param {string | null} [cursor] Pagination cursor for the next page of results.
|
|
48078
48079
|
* @param {number} [pageLimit] Maximum number of tasks to return per page.
|
|
48079
48080
|
* @param {*} [options] Override http request option.
|
|
48080
48081
|
* @throws {RequiredError}
|
|
48081
48082
|
*/
|
|
48082
|
-
listTasks: async (orgId: string, projectId: string, name?: string | null, tagId?: string | null, includeTests?: boolean | null, cursor?: string | null, pageLimit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
48083
|
+
listTasks: async (orgId: string, projectId: string, name?: string | null, tagId?: string | null, createdByMe?: boolean, includeTests?: boolean | null, cursor?: string | null, pageLimit?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
48083
48084
|
// verify required parameter 'orgId' is not null or undefined
|
|
48084
48085
|
assertParamExists('listTasks', 'orgId', orgId)
|
|
48085
48086
|
// verify required parameter 'projectId' is not null or undefined
|
|
@@ -48110,6 +48111,10 @@ export const TasksApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
48110
48111
|
localVarQueryParameter['tag_id'] = tagId;
|
|
48111
48112
|
}
|
|
48112
48113
|
|
|
48114
|
+
if (createdByMe !== undefined) {
|
|
48115
|
+
localVarQueryParameter['created_by_me'] = createdByMe;
|
|
48116
|
+
}
|
|
48117
|
+
|
|
48113
48118
|
if (includeTests !== undefined) {
|
|
48114
48119
|
localVarQueryParameter['include_tests'] = includeTests;
|
|
48115
48120
|
}
|
|
@@ -48890,14 +48895,15 @@ export const TasksApiFp = function(configuration?: Configuration) {
|
|
|
48890
48895
|
* @param {string} projectId The unique identifier of the project.
|
|
48891
48896
|
* @param {string | null} [name] Filter tasks by name (case-insensitive partial match).
|
|
48892
48897
|
* @param {string | null} [tagId] Filter tasks by tag ID.
|
|
48898
|
+
* @param {boolean} [createdByMe] Filter tasks to those created by the current user.
|
|
48893
48899
|
* @param {boolean | null} [includeTests] Include test revisions
|
|
48894
48900
|
* @param {string | null} [cursor] Pagination cursor for the next page of results.
|
|
48895
48901
|
* @param {number} [pageLimit] Maximum number of tasks to return per page.
|
|
48896
48902
|
* @param {*} [options] Override http request option.
|
|
48897
48903
|
* @throws {RequiredError}
|
|
48898
48904
|
*/
|
|
48899
|
-
async listTasks(orgId: string, projectId: string, name?: string | null, tagId?: string | null, includeTests?: boolean | null, cursor?: string | null, pageLimit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedTaskResultSet>> {
|
|
48900
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listTasks(orgId, projectId, name, tagId, includeTests, cursor, pageLimit, options);
|
|
48905
|
+
async listTasks(orgId: string, projectId: string, name?: string | null, tagId?: string | null, createdByMe?: boolean, includeTests?: boolean | null, cursor?: string | null, pageLimit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedTaskResultSet>> {
|
|
48906
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listTasks(orgId, projectId, name, tagId, createdByMe, includeTests, cursor, pageLimit, options);
|
|
48901
48907
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
48902
48908
|
const localVarOperationServerBasePath = operationServerMap['TasksApi.listTasks']?.[localVarOperationServerIndex]?.url;
|
|
48903
48909
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -49330,14 +49336,15 @@ export const TasksApiFactory = function (configuration?: Configuration, basePath
|
|
|
49330
49336
|
* @param {string} projectId The unique identifier of the project.
|
|
49331
49337
|
* @param {string | null} [name] Filter tasks by name (case-insensitive partial match).
|
|
49332
49338
|
* @param {string | null} [tagId] Filter tasks by tag ID.
|
|
49339
|
+
* @param {boolean} [createdByMe] Filter tasks to those created by the current user.
|
|
49333
49340
|
* @param {boolean | null} [includeTests] Include test revisions
|
|
49334
49341
|
* @param {string | null} [cursor] Pagination cursor for the next page of results.
|
|
49335
49342
|
* @param {number} [pageLimit] Maximum number of tasks to return per page.
|
|
49336
49343
|
* @param {*} [options] Override http request option.
|
|
49337
49344
|
* @throws {RequiredError}
|
|
49338
49345
|
*/
|
|
49339
|
-
listTasks(orgId: string, projectId: string, name?: string | null, tagId?: string | null, includeTests?: boolean | null, cursor?: string | null, pageLimit?: number, options?: any): AxiosPromise<PaginatedTaskResultSet> {
|
|
49340
|
-
return localVarFp.listTasks(orgId, projectId, name, tagId, includeTests, cursor, pageLimit, options).then((request) => request(axios, basePath));
|
|
49346
|
+
listTasks(orgId: string, projectId: string, name?: string | null, tagId?: string | null, createdByMe?: boolean, includeTests?: boolean | null, cursor?: string | null, pageLimit?: number, options?: any): AxiosPromise<PaginatedTaskResultSet> {
|
|
49347
|
+
return localVarFp.listTasks(orgId, projectId, name, tagId, createdByMe, includeTests, cursor, pageLimit, options).then((request) => request(axios, basePath));
|
|
49341
49348
|
},
|
|
49342
49349
|
/**
|
|
49343
49350
|
* Revoke a task share by deactivating it. This endpoint sets the share\'s active status to false, preventing further cloning. The share link will no longer work for cloning, but the record is preserved for analytics. Revoking a share: - Sets active = false - Prevents cloning through the share link - Preserves share record and view count - Cannot be undone (create a new share instead) Requires edit permission on the task.
|
|
@@ -49788,6 +49795,7 @@ export class TasksApi extends BaseAPI {
|
|
|
49788
49795
|
* @param {string} projectId The unique identifier of the project.
|
|
49789
49796
|
* @param {string | null} [name] Filter tasks by name (case-insensitive partial match).
|
|
49790
49797
|
* @param {string | null} [tagId] Filter tasks by tag ID.
|
|
49798
|
+
* @param {boolean} [createdByMe] Filter tasks to those created by the current user.
|
|
49791
49799
|
* @param {boolean | null} [includeTests] Include test revisions
|
|
49792
49800
|
* @param {string | null} [cursor] Pagination cursor for the next page of results.
|
|
49793
49801
|
* @param {number} [pageLimit] Maximum number of tasks to return per page.
|
|
@@ -49795,8 +49803,8 @@ export class TasksApi extends BaseAPI {
|
|
|
49795
49803
|
* @throws {RequiredError}
|
|
49796
49804
|
* @memberof TasksApi
|
|
49797
49805
|
*/
|
|
49798
|
-
public listTasks(orgId: string, projectId: string, name?: string | null, tagId?: string | null, includeTests?: boolean | null, cursor?: string | null, pageLimit?: number, options?: RawAxiosRequestConfig) {
|
|
49799
|
-
return TasksApiFp(this.configuration).listTasks(orgId, projectId, name, tagId, includeTests, cursor, pageLimit, options).then((request) => request(this.axios, this.basePath));
|
|
49806
|
+
public listTasks(orgId: string, projectId: string, name?: string | null, tagId?: string | null, createdByMe?: boolean, includeTests?: boolean | null, cursor?: string | null, pageLimit?: number, options?: RawAxiosRequestConfig) {
|
|
49807
|
+
return TasksApiFp(this.configuration).listTasks(orgId, projectId, name, tagId, createdByMe, includeTests, cursor, pageLimit, options).then((request) => request(this.axios, this.basePath));
|
|
49800
49808
|
}
|
|
49801
49809
|
|
|
49802
49810
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -32463,13 +32463,14 @@ export declare const TasksApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
32463
32463
|
* @param {string} projectId The unique identifier of the project.
|
|
32464
32464
|
* @param {string | null} [name] Filter tasks by name (case-insensitive partial match).
|
|
32465
32465
|
* @param {string | null} [tagId] Filter tasks by tag ID.
|
|
32466
|
+
* @param {boolean} [createdByMe] Filter tasks to those created by the current user.
|
|
32466
32467
|
* @param {boolean | null} [includeTests] Include test revisions
|
|
32467
32468
|
* @param {string | null} [cursor] Pagination cursor for the next page of results.
|
|
32468
32469
|
* @param {number} [pageLimit] Maximum number of tasks to return per page.
|
|
32469
32470
|
* @param {*} [options] Override http request option.
|
|
32470
32471
|
* @throws {RequiredError}
|
|
32471
32472
|
*/
|
|
32472
|
-
listTasks: (orgId: string, projectId: string, name?: string | null, tagId?: string | null, includeTests?: boolean | null, cursor?: string | null, pageLimit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32473
|
+
listTasks: (orgId: string, projectId: string, name?: string | null, tagId?: string | null, createdByMe?: boolean, includeTests?: boolean | null, cursor?: string | null, pageLimit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
32473
32474
|
/**
|
|
32474
32475
|
* Revoke a task share by deactivating it. This endpoint sets the share\'s active status to false, preventing further cloning. The share link will no longer work for cloning, but the record is preserved for analytics. Revoking a share: - Sets active = false - Prevents cloning through the share link - Preserves share record and view count - Cannot be undone (create a new share instead) Requires edit permission on the task.
|
|
32475
32476
|
* @summary Revoke Task Share
|
|
@@ -32817,13 +32818,14 @@ export declare const TasksApiFp: (configuration?: Configuration) => {
|
|
|
32817
32818
|
* @param {string} projectId The unique identifier of the project.
|
|
32818
32819
|
* @param {string | null} [name] Filter tasks by name (case-insensitive partial match).
|
|
32819
32820
|
* @param {string | null} [tagId] Filter tasks by tag ID.
|
|
32821
|
+
* @param {boolean} [createdByMe] Filter tasks to those created by the current user.
|
|
32820
32822
|
* @param {boolean | null} [includeTests] Include test revisions
|
|
32821
32823
|
* @param {string | null} [cursor] Pagination cursor for the next page of results.
|
|
32822
32824
|
* @param {number} [pageLimit] Maximum number of tasks to return per page.
|
|
32823
32825
|
* @param {*} [options] Override http request option.
|
|
32824
32826
|
* @throws {RequiredError}
|
|
32825
32827
|
*/
|
|
32826
|
-
listTasks(orgId: string, projectId: string, name?: string | null, tagId?: string | null, includeTests?: boolean | null, cursor?: string | null, pageLimit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedTaskResultSet>>;
|
|
32828
|
+
listTasks(orgId: string, projectId: string, name?: string | null, tagId?: string | null, createdByMe?: boolean, includeTests?: boolean | null, cursor?: string | null, pageLimit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaginatedTaskResultSet>>;
|
|
32827
32829
|
/**
|
|
32828
32830
|
* Revoke a task share by deactivating it. This endpoint sets the share\'s active status to false, preventing further cloning. The share link will no longer work for cloning, but the record is preserved for analytics. Revoking a share: - Sets active = false - Prevents cloning through the share link - Preserves share record and view count - Cannot be undone (create a new share instead) Requires edit permission on the task.
|
|
32829
32831
|
* @summary Revoke Task Share
|
|
@@ -33171,13 +33173,14 @@ export declare const TasksApiFactory: (configuration?: Configuration, basePath?:
|
|
|
33171
33173
|
* @param {string} projectId The unique identifier of the project.
|
|
33172
33174
|
* @param {string | null} [name] Filter tasks by name (case-insensitive partial match).
|
|
33173
33175
|
* @param {string | null} [tagId] Filter tasks by tag ID.
|
|
33176
|
+
* @param {boolean} [createdByMe] Filter tasks to those created by the current user.
|
|
33174
33177
|
* @param {boolean | null} [includeTests] Include test revisions
|
|
33175
33178
|
* @param {string | null} [cursor] Pagination cursor for the next page of results.
|
|
33176
33179
|
* @param {number} [pageLimit] Maximum number of tasks to return per page.
|
|
33177
33180
|
* @param {*} [options] Override http request option.
|
|
33178
33181
|
* @throws {RequiredError}
|
|
33179
33182
|
*/
|
|
33180
|
-
listTasks(orgId: string, projectId: string, name?: string | null, tagId?: string | null, includeTests?: boolean | null, cursor?: string | null, pageLimit?: number, options?: any): AxiosPromise<PaginatedTaskResultSet>;
|
|
33183
|
+
listTasks(orgId: string, projectId: string, name?: string | null, tagId?: string | null, createdByMe?: boolean, includeTests?: boolean | null, cursor?: string | null, pageLimit?: number, options?: any): AxiosPromise<PaginatedTaskResultSet>;
|
|
33181
33184
|
/**
|
|
33182
33185
|
* Revoke a task share by deactivating it. This endpoint sets the share\'s active status to false, preventing further cloning. The share link will no longer work for cloning, but the record is preserved for analytics. Revoking a share: - Sets active = false - Prevents cloning through the share link - Preserves share record and view count - Cannot be undone (create a new share instead) Requires edit permission on the task.
|
|
33183
33186
|
* @summary Revoke Task Share
|
|
@@ -33548,6 +33551,7 @@ export declare class TasksApi extends BaseAPI {
|
|
|
33548
33551
|
* @param {string} projectId The unique identifier of the project.
|
|
33549
33552
|
* @param {string | null} [name] Filter tasks by name (case-insensitive partial match).
|
|
33550
33553
|
* @param {string | null} [tagId] Filter tasks by tag ID.
|
|
33554
|
+
* @param {boolean} [createdByMe] Filter tasks to those created by the current user.
|
|
33551
33555
|
* @param {boolean | null} [includeTests] Include test revisions
|
|
33552
33556
|
* @param {string | null} [cursor] Pagination cursor for the next page of results.
|
|
33553
33557
|
* @param {number} [pageLimit] Maximum number of tasks to return per page.
|
|
@@ -33555,7 +33559,7 @@ export declare class TasksApi extends BaseAPI {
|
|
|
33555
33559
|
* @throws {RequiredError}
|
|
33556
33560
|
* @memberof TasksApi
|
|
33557
33561
|
*/
|
|
33558
|
-
listTasks(orgId: string, projectId: string, name?: string | null, tagId?: string | null, includeTests?: boolean | null, cursor?: string | null, pageLimit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedTaskResultSet, any, {}>>;
|
|
33562
|
+
listTasks(orgId: string, projectId: string, name?: string | null, tagId?: string | null, createdByMe?: boolean, includeTests?: boolean | null, cursor?: string | null, pageLimit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaginatedTaskResultSet, any, {}>>;
|
|
33559
33563
|
/**
|
|
33560
33564
|
* Revoke a task share by deactivating it. This endpoint sets the share\'s active status to false, preventing further cloning. The share link will no longer work for cloning, but the record is preserved for analytics. Revoking a share: - Sets active = false - Prevents cloning through the share link - Preserves share record and view count - Cannot be undone (create a new share instead) Requires edit permission on the task.
|
|
33561
33565
|
* @summary Revoke Task Share
|
package/dist/api.js
CHANGED
|
@@ -36087,13 +36087,14 @@ var TasksApiAxiosParamCreator = function (configuration) {
|
|
|
36087
36087
|
* @param {string} projectId The unique identifier of the project.
|
|
36088
36088
|
* @param {string | null} [name] Filter tasks by name (case-insensitive partial match).
|
|
36089
36089
|
* @param {string | null} [tagId] Filter tasks by tag ID.
|
|
36090
|
+
* @param {boolean} [createdByMe] Filter tasks to those created by the current user.
|
|
36090
36091
|
* @param {boolean | null} [includeTests] Include test revisions
|
|
36091
36092
|
* @param {string | null} [cursor] Pagination cursor for the next page of results.
|
|
36092
36093
|
* @param {number} [pageLimit] Maximum number of tasks to return per page.
|
|
36093
36094
|
* @param {*} [options] Override http request option.
|
|
36094
36095
|
* @throws {RequiredError}
|
|
36095
36096
|
*/
|
|
36096
|
-
listTasks: function (orgId, projectId, name, tagId, includeTests, cursor, pageLimit, options) {
|
|
36097
|
+
listTasks: function (orgId, projectId, name, tagId, createdByMe, includeTests, cursor, pageLimit, options) {
|
|
36097
36098
|
if (options === void 0) { options = {}; }
|
|
36098
36099
|
return __awaiter(_this, void 0, void 0, function () {
|
|
36099
36100
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -36127,6 +36128,9 @@ var TasksApiAxiosParamCreator = function (configuration) {
|
|
|
36127
36128
|
if (tagId !== undefined) {
|
|
36128
36129
|
localVarQueryParameter['tag_id'] = tagId;
|
|
36129
36130
|
}
|
|
36131
|
+
if (createdByMe !== undefined) {
|
|
36132
|
+
localVarQueryParameter['created_by_me'] = createdByMe;
|
|
36133
|
+
}
|
|
36130
36134
|
if (includeTests !== undefined) {
|
|
36131
36135
|
localVarQueryParameter['include_tests'] = includeTests;
|
|
36132
36136
|
}
|
|
@@ -37140,19 +37144,20 @@ var TasksApiFp = function (configuration) {
|
|
|
37140
37144
|
* @param {string} projectId The unique identifier of the project.
|
|
37141
37145
|
* @param {string | null} [name] Filter tasks by name (case-insensitive partial match).
|
|
37142
37146
|
* @param {string | null} [tagId] Filter tasks by tag ID.
|
|
37147
|
+
* @param {boolean} [createdByMe] Filter tasks to those created by the current user.
|
|
37143
37148
|
* @param {boolean | null} [includeTests] Include test revisions
|
|
37144
37149
|
* @param {string | null} [cursor] Pagination cursor for the next page of results.
|
|
37145
37150
|
* @param {number} [pageLimit] Maximum number of tasks to return per page.
|
|
37146
37151
|
* @param {*} [options] Override http request option.
|
|
37147
37152
|
* @throws {RequiredError}
|
|
37148
37153
|
*/
|
|
37149
|
-
listTasks: function (orgId, projectId, name, tagId, includeTests, cursor, pageLimit, options) {
|
|
37154
|
+
listTasks: function (orgId, projectId, name, tagId, createdByMe, includeTests, cursor, pageLimit, options) {
|
|
37150
37155
|
var _a, _b, _c;
|
|
37151
37156
|
return __awaiter(this, void 0, void 0, function () {
|
|
37152
37157
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
37153
37158
|
return __generator(this, function (_d) {
|
|
37154
37159
|
switch (_d.label) {
|
|
37155
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTasks(orgId, projectId, name, tagId, includeTests, cursor, pageLimit, options)];
|
|
37160
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listTasks(orgId, projectId, name, tagId, createdByMe, includeTests, cursor, pageLimit, options)];
|
|
37156
37161
|
case 1:
|
|
37157
37162
|
localVarAxiosArgs = _d.sent();
|
|
37158
37163
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
@@ -37660,14 +37665,15 @@ var TasksApiFactory = function (configuration, basePath, axios) {
|
|
|
37660
37665
|
* @param {string} projectId The unique identifier of the project.
|
|
37661
37666
|
* @param {string | null} [name] Filter tasks by name (case-insensitive partial match).
|
|
37662
37667
|
* @param {string | null} [tagId] Filter tasks by tag ID.
|
|
37668
|
+
* @param {boolean} [createdByMe] Filter tasks to those created by the current user.
|
|
37663
37669
|
* @param {boolean | null} [includeTests] Include test revisions
|
|
37664
37670
|
* @param {string | null} [cursor] Pagination cursor for the next page of results.
|
|
37665
37671
|
* @param {number} [pageLimit] Maximum number of tasks to return per page.
|
|
37666
37672
|
* @param {*} [options] Override http request option.
|
|
37667
37673
|
* @throws {RequiredError}
|
|
37668
37674
|
*/
|
|
37669
|
-
listTasks: function (orgId, projectId, name, tagId, includeTests, cursor, pageLimit, options) {
|
|
37670
|
-
return localVarFp.listTasks(orgId, projectId, name, tagId, includeTests, cursor, pageLimit, options).then(function (request) { return request(axios, basePath); });
|
|
37675
|
+
listTasks: function (orgId, projectId, name, tagId, createdByMe, includeTests, cursor, pageLimit, options) {
|
|
37676
|
+
return localVarFp.listTasks(orgId, projectId, name, tagId, createdByMe, includeTests, cursor, pageLimit, options).then(function (request) { return request(axios, basePath); });
|
|
37671
37677
|
},
|
|
37672
37678
|
/**
|
|
37673
37679
|
* Revoke a task share by deactivating it. This endpoint sets the share\'s active status to false, preventing further cloning. The share link will no longer work for cloning, but the record is preserved for analytics. Revoking a share: - Sets active = false - Prevents cloning through the share link - Preserves share record and view count - Cannot be undone (create a new share instead) Requires edit permission on the task.
|
|
@@ -38122,6 +38128,7 @@ var TasksApi = /** @class */ (function (_super) {
|
|
|
38122
38128
|
* @param {string} projectId The unique identifier of the project.
|
|
38123
38129
|
* @param {string | null} [name] Filter tasks by name (case-insensitive partial match).
|
|
38124
38130
|
* @param {string | null} [tagId] Filter tasks by tag ID.
|
|
38131
|
+
* @param {boolean} [createdByMe] Filter tasks to those created by the current user.
|
|
38125
38132
|
* @param {boolean | null} [includeTests] Include test revisions
|
|
38126
38133
|
* @param {string | null} [cursor] Pagination cursor for the next page of results.
|
|
38127
38134
|
* @param {number} [pageLimit] Maximum number of tasks to return per page.
|
|
@@ -38129,9 +38136,9 @@ var TasksApi = /** @class */ (function (_super) {
|
|
|
38129
38136
|
* @throws {RequiredError}
|
|
38130
38137
|
* @memberof TasksApi
|
|
38131
38138
|
*/
|
|
38132
|
-
TasksApi.prototype.listTasks = function (orgId, projectId, name, tagId, includeTests, cursor, pageLimit, options) {
|
|
38139
|
+
TasksApi.prototype.listTasks = function (orgId, projectId, name, tagId, createdByMe, includeTests, cursor, pageLimit, options) {
|
|
38133
38140
|
var _this = this;
|
|
38134
|
-
return (0, exports.TasksApiFp)(this.configuration).listTasks(orgId, projectId, name, tagId, includeTests, cursor, pageLimit, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
38141
|
+
return (0, exports.TasksApiFp)(this.configuration).listTasks(orgId, projectId, name, tagId, createdByMe, includeTests, cursor, pageLimit, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
38135
38142
|
};
|
|
38136
38143
|
/**
|
|
38137
38144
|
* Revoke a task share by deactivating it. This endpoint sets the share\'s active status to false, preventing further cloning. The share link will no longer work for cloning, but the record is preserved for analytics. Revoking a share: - Sets active = false - Prevents cloning through the share link - Preserves share record and view count - Cannot be undone (create a new share instead) Requires edit permission on the task.
|