rtc4js 1.0.0 → 1.0.1
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/package.json +1 -1
- package/.env +0 -7
- package/dist/index.d.ts +0 -20
- package/dist/index.js +0 -57
- package/dist/index.js.map +0 -1
- package/dist/rapid-table-connector.d.ts +0 -36
- package/dist/rapid-table-connector.js +0 -314
- package/dist/rapid-table-connector.js.map +0 -1
- package/dist/resource/delete-request.interface.d.ts +0 -6
- package/dist/resource/delete-request.interface.js +0 -15
- package/dist/resource/delete-request.interface.js.map +0 -1
- package/dist/resource/drive/drive-component-type.d.ts +0 -6
- package/dist/resource/drive/drive-component-type.js +0 -23
- package/dist/resource/drive/drive-component-type.js.map +0 -1
- package/dist/resource/drive/drive-count-request.d.ts +0 -30
- package/dist/resource/drive/drive-count-request.js +0 -75
- package/dist/resource/drive/drive-count-request.js.map +0 -1
- package/dist/resource/drive/drive-get-metadata-request.d.ts +0 -24
- package/dist/resource/drive/drive-get-metadata-request.js +0 -55
- package/dist/resource/drive/drive-get-metadata-request.js.map +0 -1
- package/dist/resource/drive/drive-get-object-request.d.ts +0 -17
- package/dist/resource/drive/drive-get-object-request.js +0 -68
- package/dist/resource/drive/drive-get-object-request.js.map +0 -1
- package/dist/resource/drive/drive-response.d.ts +0 -21
- package/dist/resource/drive/drive-response.js +0 -41
- package/dist/resource/drive/drive-response.js.map +0 -1
- package/dist/resource/drive/drive-search-request.d.ts +0 -32
- package/dist/resource/drive/drive-search-request.js +0 -91
- package/dist/resource/drive/drive-search-request.js.map +0 -1
- package/dist/resource/generate-id-request.interface.d.ts +0 -3
- package/dist/resource/generate-id-request.interface.js +0 -15
- package/dist/resource/generate-id-request.interface.js.map +0 -1
- package/dist/resource/get-object-response.d.ts +0 -8
- package/dist/resource/get-object-response.js +0 -25
- package/dist/resource/get-object-response.js.map +0 -1
- package/dist/resource/path-config.d.ts +0 -14
- package/dist/resource/path-config.js +0 -31
- package/dist/resource/path-config.js.map +0 -1
- package/dist/resource/put-object-request.interface.d.ts +0 -5
- package/dist/resource/put-object-request.interface.js +0 -3
- package/dist/resource/put-object-request.interface.js.map +0 -1
- package/dist/resource/report/report-bulk-get-request.d.ts +0 -26
- package/dist/resource/report/report-bulk-get-request.js +0 -67
- package/dist/resource/report/report-bulk-get-request.js.map +0 -1
- package/dist/resource/report/report-count-request.d.ts +0 -100
- package/dist/resource/report/report-count-request.js +0 -207
- package/dist/resource/report/report-count-request.js.map +0 -1
- package/dist/resource/report/report-create-request.d.ts +0 -24
- package/dist/resource/report/report-create-request.js +0 -67
- package/dist/resource/report/report-create-request.js.map +0 -1
- package/dist/resource/report/report-delete-object-request.d.ts +0 -24
- package/dist/resource/report/report-delete-object-request.js +0 -86
- package/dist/resource/report/report-delete-object-request.js.map +0 -1
- package/dist/resource/report/report-delete-request.d.ts +0 -23
- package/dist/resource/report/report-delete-request.js +0 -64
- package/dist/resource/report/report-delete-request.js.map +0 -1
- package/dist/resource/report/report-generate-id-request.d.ts +0 -17
- package/dist/resource/report/report-generate-id-request.js +0 -56
- package/dist/resource/report/report-generate-id-request.js.map +0 -1
- package/dist/resource/report/report-get-object-request.d.ts +0 -22
- package/dist/resource/report/report-get-object-request.js +0 -63
- package/dist/resource/report/report-get-object-request.js.map +0 -1
- package/dist/resource/report/report-get-request.d.ts +0 -26
- package/dist/resource/report/report-get-request.js +0 -61
- package/dist/resource/report/report-get-request.js.map +0 -1
- package/dist/resource/report/report-put-object-request.d.ts +0 -22
- package/dist/resource/report/report-put-object-request.js +0 -74
- package/dist/resource/report/report-put-object-request.js.map +0 -1
- package/dist/resource/report/report-request-model.d.ts +0 -13
- package/dist/resource/report/report-request-model.js +0 -27
- package/dist/resource/report/report-request-model.js.map +0 -1
- package/dist/resource/report/report-response.d.ts +0 -19
- package/dist/resource/report/report-response.js +0 -65
- package/dist/resource/report/report-response.js.map +0 -1
- package/dist/resource/report/report-search-request.d.ts +0 -128
- package/dist/resource/report/report-search-request.js +0 -260
- package/dist/resource/report/report-search-request.js.map +0 -1
- package/dist/resource/report/report-update-request.d.ts +0 -24
- package/dist/resource/report/report-update-request.js +0 -67
- package/dist/resource/report/report-update-request.js.map +0 -1
- package/dist/resource/request.interface.d.ts +0 -7
- package/dist/resource/request.interface.js +0 -15
- package/dist/resource/request.interface.js.map +0 -1
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { IRequest } from '../request.interface';
|
|
2
|
-
export declare class DriveGetMetadataRequest implements IRequest {
|
|
3
|
-
path: string;
|
|
4
|
-
query: {
|
|
5
|
-
[key: string]: string | number;
|
|
6
|
-
};
|
|
7
|
-
constructor(path: string, query: {
|
|
8
|
-
[key: string]: string | number;
|
|
9
|
-
});
|
|
10
|
-
getPath(): string;
|
|
11
|
-
getQuery(): {
|
|
12
|
-
[key: string]: string | number;
|
|
13
|
-
};
|
|
14
|
-
getBody(): string | null;
|
|
15
|
-
static builder(): Builder;
|
|
16
|
-
}
|
|
17
|
-
declare class Builder {
|
|
18
|
-
private _workspaceId;
|
|
19
|
-
private _objectId;
|
|
20
|
-
build(): DriveGetMetadataRequest;
|
|
21
|
-
workspaceId(workspaceId: string): Builder;
|
|
22
|
-
objectId(objectId: string): Builder;
|
|
23
|
-
}
|
|
24
|
-
export {};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright Rapid Table, Inc. or its affiliates. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the 'License').
|
|
6
|
-
* You may not use this file except in compliance with the License. A copy of the License is located at
|
|
7
|
-
*
|
|
8
|
-
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES OR
|
|
11
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
12
|
-
* and limitations under the License.
|
|
13
|
-
*/
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.DriveGetMetadataRequest = void 0;
|
|
16
|
-
const path_config_1 = require("../path-config");
|
|
17
|
-
class DriveGetMetadataRequest {
|
|
18
|
-
constructor(path, query) {
|
|
19
|
-
this.path = path;
|
|
20
|
-
this.query = query;
|
|
21
|
-
}
|
|
22
|
-
getPath() {
|
|
23
|
-
return this.path;
|
|
24
|
-
}
|
|
25
|
-
getQuery() {
|
|
26
|
-
return this.query;
|
|
27
|
-
}
|
|
28
|
-
getBody() {
|
|
29
|
-
return null;
|
|
30
|
-
}
|
|
31
|
-
static builder() {
|
|
32
|
-
return new Builder();
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
exports.DriveGetMetadataRequest = DriveGetMetadataRequest;
|
|
36
|
-
class Builder {
|
|
37
|
-
constructor() {
|
|
38
|
-
this._workspaceId = null;
|
|
39
|
-
this._objectId = null;
|
|
40
|
-
}
|
|
41
|
-
build() {
|
|
42
|
-
const path = path_config_1.PathConfig.ROOT + path_config_1.PathConfig.WORKSPACE + `/${this._workspaceId}` +
|
|
43
|
-
path_config_1.PathConfig.DRIVES + path_config_1.PathConfig.METADATA + `/${this._objectId}`;
|
|
44
|
-
return new DriveGetMetadataRequest(path, {});
|
|
45
|
-
}
|
|
46
|
-
workspaceId(workspaceId) {
|
|
47
|
-
this._workspaceId = workspaceId;
|
|
48
|
-
return this;
|
|
49
|
-
}
|
|
50
|
-
objectId(objectId) {
|
|
51
|
-
this._objectId = objectId;
|
|
52
|
-
return this;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
//# sourceMappingURL=drive-get-metadata-request.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"drive-get-metadata-request.js","sourceRoot":"","sources":["../../../src/resource/drive/drive-get-metadata-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAEH,gDAA4C;AAG5C,MAAa,uBAAuB;IAChC,YAAmB,IAAY,EAAS,KAAyC;QAA9D,SAAI,GAAJ,IAAI,CAAQ;QAAS,UAAK,GAAL,KAAK,CAAoC;IAAI,CAAC;IAE/E,OAAO;QACV,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,QAAQ;QACX,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,OAAO;QACV,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,MAAM,CAAC,OAAO;QACjB,OAAO,IAAI,OAAO,EAAE,CAAC;IACzB,CAAC;CAEJ;AAnBD,0DAmBC;AAED,MAAM,OAAO;IAAb;QACY,iBAAY,GAAkB,IAAI,CAAC;QACnC,cAAS,GAAkB,IAAI,CAAC;IAiB5C,CAAC;IAfU,KAAK;QACR,MAAM,IAAI,GAAG,wBAAU,CAAC,IAAI,GAAG,wBAAU,CAAC,SAAS,GAAG,IAAI,IAAI,CAAC,YAAY,EAAE;YACzE,wBAAU,CAAC,MAAM,GAAG,wBAAU,CAAC,QAAQ,GAAG,IAAI,IAAI,CAAC,SAAS,EAAE,CAAC;QACnE,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;IACjD,CAAC;IAEM,WAAW,CAAC,WAAmB;QAClC,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;QAChC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,QAAQ,CAAC,QAAgB;QAC5B,IAAI,CAAC,SAAS,GAAG,QAAQ,CAAC;QAC1B,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { IRequest } from '../request.interface';
|
|
2
|
-
export declare class DriveGetObjectRequest implements IRequest {
|
|
3
|
-
path: string;
|
|
4
|
-
constructor(path: string);
|
|
5
|
-
getPath(): string;
|
|
6
|
-
getQuery(): {
|
|
7
|
-
[key: string]: string | number;
|
|
8
|
-
};
|
|
9
|
-
getBody(): string | null;
|
|
10
|
-
static builder(): Builder;
|
|
11
|
-
}
|
|
12
|
-
declare class Builder {
|
|
13
|
-
private _path;
|
|
14
|
-
build(): DriveGetObjectRequest;
|
|
15
|
-
path(path: string): Builder;
|
|
16
|
-
}
|
|
17
|
-
export {};
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright Rapid Table, Inc. or its affiliates. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the 'License').
|
|
6
|
-
* You may not use this file except in compliance with the License. A copy of the License is located at
|
|
7
|
-
*
|
|
8
|
-
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES OR
|
|
11
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
12
|
-
* and limitations under the License.
|
|
13
|
-
*/
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.DriveGetObjectRequest = void 0;
|
|
16
|
-
const path_config_1 = require("../path-config");
|
|
17
|
-
class DriveGetObjectRequest {
|
|
18
|
-
constructor(path) {
|
|
19
|
-
this.path = path;
|
|
20
|
-
}
|
|
21
|
-
getPath() {
|
|
22
|
-
return this.path;
|
|
23
|
-
}
|
|
24
|
-
getQuery() {
|
|
25
|
-
return {};
|
|
26
|
-
}
|
|
27
|
-
getBody() {
|
|
28
|
-
return null;
|
|
29
|
-
}
|
|
30
|
-
static builder() {
|
|
31
|
-
return new Builder();
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
exports.DriveGetObjectRequest = DriveGetObjectRequest;
|
|
35
|
-
class Builder {
|
|
36
|
-
constructor() {
|
|
37
|
-
this._path = null;
|
|
38
|
-
}
|
|
39
|
-
build() {
|
|
40
|
-
if (!this._path) {
|
|
41
|
-
throw new Error('IllegalArgumentException');
|
|
42
|
-
}
|
|
43
|
-
return new DriveGetObjectRequest(this._path);
|
|
44
|
-
}
|
|
45
|
-
path(path) {
|
|
46
|
-
if (path !== null && typeof path === 'string') {
|
|
47
|
-
let matcher;
|
|
48
|
-
if ((matcher = path_config_1.PathConfig.REPORT_OBJECT_PATH_PATTERN.exec(path)) && matcher.groups) {
|
|
49
|
-
const workspaceId = matcher.groups.wid;
|
|
50
|
-
const projectId = matcher.groups.pid;
|
|
51
|
-
const reportId = matcher.groups.rid;
|
|
52
|
-
const objectId = matcher.groups.oid;
|
|
53
|
-
this._path = path_config_1.PathConfig.ROOT + path_config_1.PathConfig.WORKSPACE + `/${workspaceId}` +
|
|
54
|
-
path_config_1.PathConfig.PROJECTS + `/${projectId}` +
|
|
55
|
-
path_config_1.PathConfig.REPORTS + `/${reportId}` +
|
|
56
|
-
path_config_1.PathConfig.OBJECTS + `/${objectId}`;
|
|
57
|
-
}
|
|
58
|
-
else if ((matcher = path_config_1.PathConfig.DRIVE_OBJECT_PATH_PATTERN.exec(path)) && matcher.groups) {
|
|
59
|
-
const workspaceId = matcher.groups.wid;
|
|
60
|
-
const objectId = matcher.groups.oid;
|
|
61
|
-
this._path = path_config_1.PathConfig.ROOT + path_config_1.PathConfig.WORKSPACE + `/${workspaceId}` +
|
|
62
|
-
path_config_1.PathConfig.DRIVES + path_config_1.PathConfig.OBJECTS + `/${objectId}`;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
return this;
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
//# sourceMappingURL=drive-get-object-request.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"drive-get-object-request.js","sourceRoot":"","sources":["../../../src/resource/drive/drive-get-object-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAEH,gDAA4C;AAG5C,MAAa,qBAAqB;IAE9B,YAAmB,IAAY;QAAZ,SAAI,GAAJ,IAAI,CAAQ;IAC/B,CAAC;IAEM,OAAO;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3C;iBAAM,IAAI,CAAC,OAAO,GAAG,wBAAU,CAAC,yBAAyB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,IAAI,OAAO,CAAC,MAAM,EAAE;gBACtF,MAAM,WAAW,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC;gBACvC,MAAM,QAAQ,GAAG,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC;gBACpC,IAAI,CAAC,KAAK,GAAG,wBAAU,CAAC,IAAI,GAAG,wBAAU,CAAC,SAAS,GAAG,IAAI,WAAW,EAAE;oBACnE,wBAAU,CAAC,MAAM,GAAG,wBAAU,CAAC,OAAO,GAAG,IAAI,QAAQ,EAAE,CAAC;aAC/D;SACJ;QACD,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare class DriveResponse {
|
|
2
|
-
id: string;
|
|
3
|
-
path: string;
|
|
4
|
-
size: number;
|
|
5
|
-
tagIds: string[];
|
|
6
|
-
date: Date | null;
|
|
7
|
-
contentType: string;
|
|
8
|
-
name: string;
|
|
9
|
-
/**
|
|
10
|
-
* Drive Resource Response model
|
|
11
|
-
* @param id Drive asset ID
|
|
12
|
-
* @param path Drive asset path
|
|
13
|
-
* @param size Drive asset size
|
|
14
|
-
* @param tagIds Tag ID assigned to the asset
|
|
15
|
-
* @param date Drive asset update date
|
|
16
|
-
* @param contentType Drive asset content type
|
|
17
|
-
* @param name Drive asset name
|
|
18
|
-
*/
|
|
19
|
-
constructor(id: string, path?: string, size?: number, tagIds?: string[], date?: Date | null, contentType?: string, name?: string);
|
|
20
|
-
static of({ id, path, size, tagIds, date, contentType, name }: DriveResponse): DriveResponse;
|
|
21
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright Rapid Table, Inc. or its affiliates. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the 'License').
|
|
6
|
-
* You may not use this file except in compliance with the License. A copy of the License is located at
|
|
7
|
-
*
|
|
8
|
-
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES OR
|
|
11
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
12
|
-
* and limitations under the License.
|
|
13
|
-
*/
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.DriveResponse = void 0;
|
|
16
|
-
class DriveResponse {
|
|
17
|
-
/**
|
|
18
|
-
* Drive Resource Response model
|
|
19
|
-
* @param id Drive asset ID
|
|
20
|
-
* @param path Drive asset path
|
|
21
|
-
* @param size Drive asset size
|
|
22
|
-
* @param tagIds Tag ID assigned to the asset
|
|
23
|
-
* @param date Drive asset update date
|
|
24
|
-
* @param contentType Drive asset content type
|
|
25
|
-
* @param name Drive asset name
|
|
26
|
-
*/
|
|
27
|
-
constructor(id, path = '', size = NaN, tagIds = [], date = null, contentType = '', name = '') {
|
|
28
|
-
this.id = id;
|
|
29
|
-
this.path = path;
|
|
30
|
-
this.size = size;
|
|
31
|
-
this.tagIds = tagIds;
|
|
32
|
-
this.date = date;
|
|
33
|
-
this.contentType = contentType;
|
|
34
|
-
this.name = name;
|
|
35
|
-
}
|
|
36
|
-
static of({ id, path, size, tagIds, date, contentType, name }) {
|
|
37
|
-
return new DriveResponse(id, path, size, tagIds, date, contentType, name);
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
exports.DriveResponse = DriveResponse;
|
|
41
|
-
//# sourceMappingURL=drive-response.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"drive-response.js","sourceRoot":"","sources":["../../../src/resource/drive/drive-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAEH,MAAa,aAAa;IACtB;;;;;;;;;OASG;IACH,YAAmB,EAAU,EAClB,OAAe,EAAE,EACjB,OAAe,GAAG,EAClB,SAAmB,EAAE,EACrB,OAAoB,IAAI,EACxB,cAAsB,EAAE,EACxB,OAAe,EAAE;QANT,OAAE,GAAF,EAAE,CAAQ;QAClB,SAAI,GAAJ,IAAI,CAAa;QACjB,SAAI,GAAJ,IAAI,CAAc;QAClB,WAAM,GAAN,MAAM,CAAe;QACrB,SAAI,GAAJ,IAAI,CAAoB;QACxB,gBAAW,GAAX,WAAW,CAAa;QACxB,SAAI,GAAJ,IAAI,CAAa;IAAI,CAAC;IAE1B,MAAM,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,EAAiB;QAC/E,OAAO,IAAI,aAAa,CAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,WAAW,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;CACJ;AAtBD,sCAsBC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { IRequest } from '../request.interface';
|
|
2
|
-
import { DriveComponentType } from './drive-component-type';
|
|
3
|
-
export declare class DriveSearchRequest implements IRequest {
|
|
4
|
-
private path;
|
|
5
|
-
private query;
|
|
6
|
-
constructor(path: string, query: {
|
|
7
|
-
[key: string]: string | number;
|
|
8
|
-
});
|
|
9
|
-
getPath(): string;
|
|
10
|
-
getQuery(): {
|
|
11
|
-
[key: string]: string | number;
|
|
12
|
-
};
|
|
13
|
-
getBody(): string | null;
|
|
14
|
-
static builder(): Builder;
|
|
15
|
-
}
|
|
16
|
-
declare class Builder {
|
|
17
|
-
private _workspaceId;
|
|
18
|
-
private _componentType;
|
|
19
|
-
private _query;
|
|
20
|
-
private _tagIds;
|
|
21
|
-
private _page;
|
|
22
|
-
private _size;
|
|
23
|
-
constructor();
|
|
24
|
-
build(): DriveSearchRequest;
|
|
25
|
-
workspaceId(workspaceId: string): Builder;
|
|
26
|
-
componentType(componentType: DriveComponentType): Builder;
|
|
27
|
-
query(query: string): Builder;
|
|
28
|
-
tagIds(tagIds: string[]): Builder;
|
|
29
|
-
page(page: number): Builder;
|
|
30
|
-
size(size: number): Builder;
|
|
31
|
-
}
|
|
32
|
-
export {};
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright Rapid Table, Inc. or its affiliates. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the 'License').
|
|
6
|
-
* You may not use this file except in compliance with the License. A copy of the License is located at
|
|
7
|
-
*
|
|
8
|
-
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES OR
|
|
11
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
12
|
-
* and limitations under the License.
|
|
13
|
-
*/
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.DriveSearchRequest = void 0;
|
|
16
|
-
const path_config_1 = require("../path-config");
|
|
17
|
-
class DriveSearchRequest {
|
|
18
|
-
constructor(path, query) {
|
|
19
|
-
this.path = path;
|
|
20
|
-
this.query = query;
|
|
21
|
-
}
|
|
22
|
-
getPath() {
|
|
23
|
-
return this.path;
|
|
24
|
-
}
|
|
25
|
-
getQuery() {
|
|
26
|
-
return this.query;
|
|
27
|
-
}
|
|
28
|
-
getBody() {
|
|
29
|
-
return null;
|
|
30
|
-
}
|
|
31
|
-
static builder() {
|
|
32
|
-
return new Builder();
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
exports.DriveSearchRequest = DriveSearchRequest;
|
|
36
|
-
class Builder {
|
|
37
|
-
constructor() {
|
|
38
|
-
this._workspaceId = null;
|
|
39
|
-
this._componentType = null;
|
|
40
|
-
this._query = null;
|
|
41
|
-
this._tagIds = [];
|
|
42
|
-
this._page = null;
|
|
43
|
-
this._size = null;
|
|
44
|
-
}
|
|
45
|
-
build() {
|
|
46
|
-
const path = path_config_1.PathConfig.ROOT + path_config_1.PathConfig.WORKSPACE + `/${this._workspaceId}` +
|
|
47
|
-
path_config_1.PathConfig.DRIVES + path_config_1.PathConfig.SEARCH;
|
|
48
|
-
const params = {};
|
|
49
|
-
if (this._componentType) {
|
|
50
|
-
params['component'] = this._componentType;
|
|
51
|
-
}
|
|
52
|
-
if (this._query) {
|
|
53
|
-
params['query'] = this._query;
|
|
54
|
-
}
|
|
55
|
-
if (this._tagIds && this._tagIds.length) {
|
|
56
|
-
params['tagIds'] = this._tagIds.join(',');
|
|
57
|
-
}
|
|
58
|
-
if (this._page) {
|
|
59
|
-
params['page'] = this._page;
|
|
60
|
-
}
|
|
61
|
-
if (this._size) {
|
|
62
|
-
params['size'] = this._size;
|
|
63
|
-
}
|
|
64
|
-
return new DriveSearchRequest(path, params);
|
|
65
|
-
}
|
|
66
|
-
workspaceId(workspaceId) {
|
|
67
|
-
this._workspaceId = workspaceId;
|
|
68
|
-
return this;
|
|
69
|
-
}
|
|
70
|
-
componentType(componentType) {
|
|
71
|
-
this._componentType = componentType;
|
|
72
|
-
return this;
|
|
73
|
-
}
|
|
74
|
-
query(query) {
|
|
75
|
-
this._query = query;
|
|
76
|
-
return this;
|
|
77
|
-
}
|
|
78
|
-
tagIds(tagIds) {
|
|
79
|
-
this._tagIds = tagIds;
|
|
80
|
-
return this;
|
|
81
|
-
}
|
|
82
|
-
page(page) {
|
|
83
|
-
this._page = page;
|
|
84
|
-
return this;
|
|
85
|
-
}
|
|
86
|
-
size(size) {
|
|
87
|
-
this._size = size;
|
|
88
|
-
return this;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
//# sourceMappingURL=drive-search-request.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"drive-search-request.js","sourceRoot":"","sources":["../../../src/resource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,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;SAC7C;QACD,IAAI,IAAI,CAAC,KAAK,EAAE;YACZ,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;SAC/B;QACD,IAAI,IAAI,CAAC,KAAK,EAAE;YACZ,MAAM,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;SAC/B;QACD,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IAChD,CAAC;IAEM,WAAW,CAAC,WAAmB;QAClC,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;QAChC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,aAAa,CAAC,aAAiC;QAClD,IAAI,CAAC,cAAc,GAAG,aAAa,CAAC;QACpC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,KAAK,CAAC,KAAa;QACtB,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC;QACpB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,MAAM,CAAC,MAAgB;QAC1B,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,IAAI,CAAC,IAAY;QACpB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,IAAI,CAAC,IAAY;QACpB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,OAAO,IAAI,CAAC;IAChB,CAAC;CAEJ"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright Rapid Table, Inc. or its affiliates. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the 'License').
|
|
6
|
-
* You may not use this file except in compliance with the License. A copy of the License is located at
|
|
7
|
-
*
|
|
8
|
-
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES OR
|
|
11
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
12
|
-
* and limitations under the License.
|
|
13
|
-
*/
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
//# sourceMappingURL=generate-id-request.interface.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"generate-id-request.interface.js","sourceRoot":"","sources":["../../src/resource/generate-id-request.interface.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright Rapid Table, Inc. or its affiliates. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the 'License').
|
|
6
|
-
* You may not use this file except in compliance with the License. A copy of the License is located at
|
|
7
|
-
*
|
|
8
|
-
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES OR
|
|
11
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
12
|
-
* and limitations under the License.
|
|
13
|
-
*/
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.GetObjectResponse = void 0;
|
|
16
|
-
class GetObjectResponse {
|
|
17
|
-
constructor(fileName, contentType, contentLength, data) {
|
|
18
|
-
this.fileName = fileName;
|
|
19
|
-
this.contentType = contentType;
|
|
20
|
-
this.contentLength = contentLength;
|
|
21
|
-
this.data = data;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
exports.GetObjectResponse = GetObjectResponse;
|
|
25
|
-
//# sourceMappingURL=get-object-response.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-object-response.js","sourceRoot":"","sources":["../../src/resource/get-object-response.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAEH,MAAa,iBAAiB;IAC1B,YACW,QAAgB,EAChB,WAAmB,EACnB,aAAqB,EACrB,IAAY;QAHZ,aAAQ,GAAR,QAAQ,CAAQ;QAChB,gBAAW,GAAX,WAAW,CAAQ;QACnB,kBAAa,GAAb,aAAa,CAAQ;QACrB,SAAI,GAAJ,IAAI,CAAQ;IACnB,CAAC;CACR;AAPD,8CAOC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export declare class PathConfig {
|
|
2
|
-
static ROOT: string;
|
|
3
|
-
static PERMISSIONS: string;
|
|
4
|
-
static WORKSPACE: string;
|
|
5
|
-
static DRIVES: string;
|
|
6
|
-
static PROJECTS: string;
|
|
7
|
-
static REPORTS: string;
|
|
8
|
-
static OBJECTS: string;
|
|
9
|
-
static METADATA: string;
|
|
10
|
-
static SEARCH: string;
|
|
11
|
-
static COUNT: string;
|
|
12
|
-
static REPORT_OBJECT_PATH_PATTERN: RegExp;
|
|
13
|
-
static DRIVE_OBJECT_PATH_PATTERN: RegExp;
|
|
14
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright Rapid Table, Inc. or its affiliates. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the 'License').
|
|
6
|
-
* You may not use this file except in compliance with the License. A copy of the License is located at
|
|
7
|
-
*
|
|
8
|
-
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES OR
|
|
11
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
12
|
-
* and limitations under the License.
|
|
13
|
-
*/
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.PathConfig = void 0;
|
|
16
|
-
class PathConfig {
|
|
17
|
-
}
|
|
18
|
-
exports.PathConfig = PathConfig;
|
|
19
|
-
PathConfig.ROOT = '/restapi/v1';
|
|
20
|
-
PathConfig.PERMISSIONS = '/permissions';
|
|
21
|
-
PathConfig.WORKSPACE = '/workspace';
|
|
22
|
-
PathConfig.DRIVES = '/drives';
|
|
23
|
-
PathConfig.PROJECTS = '/projects';
|
|
24
|
-
PathConfig.REPORTS = '/reports';
|
|
25
|
-
PathConfig.OBJECTS = '/objects';
|
|
26
|
-
PathConfig.METADATA = '/metadata';
|
|
27
|
-
PathConfig.SEARCH = '/search';
|
|
28
|
-
PathConfig.COUNT = '/count';
|
|
29
|
-
PathConfig.REPORT_OBJECT_PATH_PATTERN = new RegExp(/^reports\/(?<wid>[a-z0-9_-]+?)\/(?<pid>[a-z0-9_-]+?)\/(?<rid>[a-z0-9_-]+?)\/objects\/(?<oid>[a-z0-9_-]+)/i);
|
|
30
|
-
PathConfig.DRIVE_OBJECT_PATH_PATTERN = new RegExp(/^drives\/(?<wid>[a-z0-9_-]+?)\/objects\/(?<oid>[a-z0-9_-]+)/i);
|
|
31
|
-
//# sourceMappingURL=path-config.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"path-config.js","sourceRoot":"","sources":["../../src/resource/path-config.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAEH,MAAa,UAAU;;AAAvB,gCAcC;AAbiB,eAAI,GAAW,aAAa,CAAC;AAC7B,sBAAW,GAAW,cAAc,CAAC;AACrC,oBAAS,GAAW,YAAY,CAAC;AACjC,iBAAM,GAAW,SAAS,CAAC;AAC3B,mBAAQ,GAAW,WAAW,CAAC;AAC/B,kBAAO,GAAW,UAAU,CAAC;AAC7B,kBAAO,GAAW,UAAU,CAAC;AAC7B,mBAAQ,GAAW,WAAW,CAAC;AAC/B,iBAAM,GAAW,SAAS,CAAC;AAC3B,gBAAK,GAAW,QAAQ,CAAC;AAEzB,qCAA0B,GAAG,IAAI,MAAM,CAAC,2GAA2G,CAAC,CAAC;AACrJ,oCAAyB,GAAG,IAAI,MAAM,CAAC,8DAA8D,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"put-object-request.interface.js","sourceRoot":"","sources":["../../src/resource/put-object-request.interface.ts"],"names":[],"mappings":""}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { IRequest } from '../request.interface';
|
|
2
|
-
export declare class ReportBulkGetRequest implements IRequest {
|
|
3
|
-
path: string;
|
|
4
|
-
query: {
|
|
5
|
-
[key: string]: string | number;
|
|
6
|
-
};
|
|
7
|
-
constructor(path: string, query: {
|
|
8
|
-
[key: string]: string | number;
|
|
9
|
-
});
|
|
10
|
-
getPath(): string;
|
|
11
|
-
getQuery(): {
|
|
12
|
-
[key: string]: string | number;
|
|
13
|
-
};
|
|
14
|
-
getBody(): string | null;
|
|
15
|
-
static builder(): Builder;
|
|
16
|
-
}
|
|
17
|
-
declare class Builder {
|
|
18
|
-
private _workspaceId;
|
|
19
|
-
private _projectId;
|
|
20
|
-
private _ids;
|
|
21
|
-
build(): ReportBulkGetRequest;
|
|
22
|
-
workspaceId(workspaceId: string): Builder;
|
|
23
|
-
projectId(projectId: string): Builder;
|
|
24
|
-
ids(...reportIds: string[]): Builder;
|
|
25
|
-
}
|
|
26
|
-
export {};
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright Rapid Table, Inc. or its affiliates. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the 'License').
|
|
6
|
-
* You may not use this file except in compliance with the License. A copy of the License is located at
|
|
7
|
-
*
|
|
8
|
-
* https://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
-
*
|
|
10
|
-
* or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES OR
|
|
11
|
-
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
|
|
12
|
-
* and limitations under the License.
|
|
13
|
-
*/
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.ReportBulkGetRequest = void 0;
|
|
16
|
-
const path_config_1 = require("../path-config");
|
|
17
|
-
class ReportBulkGetRequest {
|
|
18
|
-
constructor(path, query) {
|
|
19
|
-
this.path = path;
|
|
20
|
-
this.query = query;
|
|
21
|
-
}
|
|
22
|
-
getPath() {
|
|
23
|
-
return this.path;
|
|
24
|
-
}
|
|
25
|
-
getQuery() {
|
|
26
|
-
return this.query;
|
|
27
|
-
}
|
|
28
|
-
getBody() {
|
|
29
|
-
return null;
|
|
30
|
-
}
|
|
31
|
-
static builder() {
|
|
32
|
-
return new Builder();
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
exports.ReportBulkGetRequest = ReportBulkGetRequest;
|
|
36
|
-
class Builder {
|
|
37
|
-
constructor() {
|
|
38
|
-
this._workspaceId = null;
|
|
39
|
-
this._projectId = null;
|
|
40
|
-
this._ids = [];
|
|
41
|
-
}
|
|
42
|
-
build() {
|
|
43
|
-
const path = path_config_1.PathConfig.ROOT + path_config_1.PathConfig.WORKSPACE + `/${this._workspaceId}` +
|
|
44
|
-
path_config_1.PathConfig.PROJECTS + `/${this._projectId}` + path_config_1.PathConfig.REPORTS;
|
|
45
|
-
if (!this._ids.length) {
|
|
46
|
-
throw new Error('IllegalArgumentException');
|
|
47
|
-
}
|
|
48
|
-
if (this._ids.length > 100) {
|
|
49
|
-
throw new Error('IllegalArgumentException');
|
|
50
|
-
}
|
|
51
|
-
const params = { ids: this._ids.join(',') };
|
|
52
|
-
return new ReportBulkGetRequest(path, params);
|
|
53
|
-
}
|
|
54
|
-
workspaceId(workspaceId) {
|
|
55
|
-
this._workspaceId = workspaceId;
|
|
56
|
-
return this;
|
|
57
|
-
}
|
|
58
|
-
projectId(projectId) {
|
|
59
|
-
this._projectId = projectId;
|
|
60
|
-
return this;
|
|
61
|
-
}
|
|
62
|
-
ids(...reportIds) {
|
|
63
|
-
this._ids.push(...reportIds);
|
|
64
|
-
return this;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
//# sourceMappingURL=report-bulk-get-request.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"report-bulk-get-request.js","sourceRoot":"","sources":["../../../src/resource/report/report-bulk-get-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAEH,gDAA4C;AAG5C,MAAa,oBAAoB;IAE7B,YAAmB,IAAY,EAAS,KAAyC;QAA9D,SAAI,GAAJ,IAAI,CAAQ;QAAS,UAAK,GAAL,KAAK,CAAoC;IAAI,CAAC;IAE/E,OAAO;QACV,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,QAAQ;QACX,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,OAAO;QACV,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,MAAM,CAAC,OAAO;QACjB,OAAO,IAAI,OAAO,EAAE,CAAC;IACzB,CAAC;CACJ;AAnBD,oDAmBC;AAED,MAAM,OAAO;IAAb;QACY,iBAAY,GAAkB,IAAI,CAAC;QACnC,eAAU,GAAkB,IAAI,CAAC;QACjC,SAAI,GAAa,EAAE,CAAC;IA+BhC,CAAC;IA7BU,KAAK;QACR,MAAM,IAAI,GAAG,wBAAU,CAAC,IAAI,GAAG,wBAAU,CAAC,SAAS,GAAG,IAAI,IAAI,CAAC,YAAY,EAAE;YACzE,wBAAU,CAAC,QAAQ,GAAG,IAAI,IAAI,CAAC,UAAU,EAAE,GAAG,wBAAU,CAAC,OAAO,CAAC;QAErE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE;YACnB,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;SAC/C;QACD,IAAI,IAAI,CAAC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