rtc4js 0.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.
Files changed (82) hide show
  1. package/.editorconfig +16 -0
  2. package/.env +7 -0
  3. package/dist/index.d.ts +19 -0
  4. package/dist/index.js +55 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/rapid-table-connector.d.ts +35 -0
  7. package/dist/rapid-table-connector.js +295 -0
  8. package/dist/rapid-table-connector.js.map +1 -0
  9. package/dist/resource/delete-request.interface.d.ts +6 -0
  10. package/dist/resource/delete-request.interface.js +15 -0
  11. package/dist/resource/delete-request.interface.js.map +1 -0
  12. package/dist/resource/drive/drive-component-type.d.ts +6 -0
  13. package/dist/resource/drive/drive-component-type.js +23 -0
  14. package/dist/resource/drive/drive-component-type.js.map +1 -0
  15. package/dist/resource/drive/drive-count-request.d.ts +30 -0
  16. package/dist/resource/drive/drive-count-request.js +75 -0
  17. package/dist/resource/drive/drive-count-request.js.map +1 -0
  18. package/dist/resource/drive/drive-get-metadata-request.d.ts +24 -0
  19. package/dist/resource/drive/drive-get-metadata-request.js +55 -0
  20. package/dist/resource/drive/drive-get-metadata-request.js.map +1 -0
  21. package/dist/resource/drive/drive-get-object-request.d.ts +17 -0
  22. package/dist/resource/drive/drive-get-object-request.js +68 -0
  23. package/dist/resource/drive/drive-get-object-request.js.map +1 -0
  24. package/dist/resource/drive/drive-response.d.ts +21 -0
  25. package/dist/resource/drive/drive-response.js +41 -0
  26. package/dist/resource/drive/drive-response.js.map +1 -0
  27. package/dist/resource/drive/drive-search-request.d.ts +32 -0
  28. package/dist/resource/drive/drive-search-request.js +91 -0
  29. package/dist/resource/drive/drive-search-request.js.map +1 -0
  30. package/dist/resource/generate-id-request.interface.d.ts +3 -0
  31. package/dist/resource/generate-id-request.interface.js +15 -0
  32. package/dist/resource/generate-id-request.interface.js.map +1 -0
  33. package/dist/resource/get-object-response.d.ts +8 -0
  34. package/dist/resource/get-object-response.js +25 -0
  35. package/dist/resource/get-object-response.js.map +1 -0
  36. package/dist/resource/path-config.d.ts +14 -0
  37. package/dist/resource/path-config.js +31 -0
  38. package/dist/resource/path-config.js.map +1 -0
  39. package/dist/resource/put-object-request.interface.d.ts +5 -0
  40. package/dist/resource/put-object-request.interface.js +3 -0
  41. package/dist/resource/put-object-request.interface.js.map +1 -0
  42. package/dist/resource/report/report-count-request.d.ts +100 -0
  43. package/dist/resource/report/report-count-request.js +207 -0
  44. package/dist/resource/report/report-count-request.js.map +1 -0
  45. package/dist/resource/report/report-create-request.d.ts +24 -0
  46. package/dist/resource/report/report-create-request.js +67 -0
  47. package/dist/resource/report/report-create-request.js.map +1 -0
  48. package/dist/resource/report/report-delete-object-request.d.ts +24 -0
  49. package/dist/resource/report/report-delete-object-request.js +86 -0
  50. package/dist/resource/report/report-delete-object-request.js.map +1 -0
  51. package/dist/resource/report/report-delete-request.d.ts +23 -0
  52. package/dist/resource/report/report-delete-request.js +64 -0
  53. package/dist/resource/report/report-delete-request.js.map +1 -0
  54. package/dist/resource/report/report-generate-id-request.d.ts +17 -0
  55. package/dist/resource/report/report-generate-id-request.js +56 -0
  56. package/dist/resource/report/report-generate-id-request.js.map +1 -0
  57. package/dist/resource/report/report-get-object-request.d.ts +22 -0
  58. package/dist/resource/report/report-get-object-request.js +63 -0
  59. package/dist/resource/report/report-get-object-request.js.map +1 -0
  60. package/dist/resource/report/report-get-request.d.ts +26 -0
  61. package/dist/resource/report/report-get-request.js +61 -0
  62. package/dist/resource/report/report-get-request.js.map +1 -0
  63. package/dist/resource/report/report-put-object-request.d.ts +22 -0
  64. package/dist/resource/report/report-put-object-request.js +74 -0
  65. package/dist/resource/report/report-put-object-request.js.map +1 -0
  66. package/dist/resource/report/report-request-model.d.ts +13 -0
  67. package/dist/resource/report/report-request-model.js +27 -0
  68. package/dist/resource/report/report-request-model.js.map +1 -0
  69. package/dist/resource/report/report-response.d.ts +19 -0
  70. package/dist/resource/report/report-response.js +65 -0
  71. package/dist/resource/report/report-response.js.map +1 -0
  72. package/dist/resource/report/report-search-request.d.ts +128 -0
  73. package/dist/resource/report/report-search-request.js +260 -0
  74. package/dist/resource/report/report-search-request.js.map +1 -0
  75. package/dist/resource/report/report-update-request.d.ts +24 -0
  76. package/dist/resource/report/report-update-request.js +67 -0
  77. package/dist/resource/report/report-update-request.js.map +1 -0
  78. package/dist/resource/request.interface.d.ts +7 -0
  79. package/dist/resource/request.interface.js +15 -0
  80. package/dist/resource/request.interface.js.map +1 -0
  81. package/jest.config.ts +11 -0
  82. package/package.json +30 -0
@@ -0,0 +1,207 @@
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.ReportCountRequest = void 0;
16
+ const path_config_1 = require("../path-config");
17
+ class ReportCountRequest {
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.ReportCountRequest = ReportCountRequest;
36
+ class Builder {
37
+ constructor() {
38
+ this._workspaceId = null;
39
+ this._projectId = null;
40
+ this._query = null;
41
+ this._emp = null;
42
+ this._noemp = null;
43
+ this._includes = [];
44
+ this._eq = null;
45
+ this._neq = null;
46
+ this._lt = null;
47
+ this._lte = null;
48
+ this._gt = null;
49
+ this._gte = null;
50
+ this._term = null;
51
+ }
52
+ build() {
53
+ const path = path_config_1.PathConfig.ROOT + path_config_1.PathConfig.WORKSPACE + `/${this._workspaceId}` +
54
+ path_config_1.PathConfig.PROJECTS + `/${this._projectId}` + path_config_1.PathConfig.REPORTS +
55
+ path_config_1.PathConfig.COUNT;
56
+ const params = {};
57
+ if (this._query) {
58
+ params['query'] = this._query;
59
+ }
60
+ if (this._emp) {
61
+ params['emp'] = this._emp;
62
+ }
63
+ if (this._noemp) {
64
+ params['noemp'] = this._noemp;
65
+ }
66
+ if (this._includes && this._includes.length > 0) {
67
+ params['includes'] = this._includes.join(';');
68
+ }
69
+ if (this._eq) {
70
+ params['eq'] = this._eq;
71
+ }
72
+ if (this._neq) {
73
+ params['neq'] = this._neq;
74
+ }
75
+ if (this._lt) {
76
+ params['lt'] = this._lt;
77
+ }
78
+ if (this._lte) {
79
+ params['lte'] = this._lte;
80
+ }
81
+ if (this._gt) {
82
+ params['gt'] = this._gt;
83
+ }
84
+ if (this._gte) {
85
+ params['gte'] = this._gte;
86
+ }
87
+ if (this._term) {
88
+ params['term'] = this._term;
89
+ }
90
+ return new ReportCountRequest(path, params);
91
+ }
92
+ workspaceId(workspaceId) {
93
+ this._workspaceId = workspaceId;
94
+ return this;
95
+ }
96
+ projectId(projectId) {
97
+ this._projectId = projectId;
98
+ return this;
99
+ }
100
+ /**
101
+ * Search string.
102
+ * query=searchText
103
+ */
104
+ query(query) {
105
+ this._query = query;
106
+ return this;
107
+ }
108
+ /**
109
+ * Word search (blank fields only).
110
+ * emp=fieldId
111
+ */
112
+ emp(fieldId) {
113
+ this._emp = fieldId;
114
+ return this;
115
+ }
116
+ /**
117
+ * Word search (non-blank fields only).
118
+ * noemp=fieldId
119
+ */
120
+ noemp(fieldId) {
121
+ this._noemp = fieldId;
122
+ return this;
123
+ }
124
+ /**
125
+ * Word search (specific keyword).
126
+ * includes=fieldId1:searchText1;fieldId2:searchText2
127
+ * - For example, the arguments are as follows
128
+ * 'fieldId1:searchText1', 'fieldId2:searchText2',...
129
+ */
130
+ includes(...includes) {
131
+ this._includes = includes;
132
+ return this;
133
+ }
134
+ /**
135
+ * Numeric value (equals).
136
+ * eq=fieldId:123
137
+ */
138
+ eq(fieldId, value) {
139
+ this._eq = `${fieldId}:${value}`;
140
+ return this;
141
+ }
142
+ /**
143
+ * Numeric value (not equal).
144
+ * eq=fieldId:123
145
+ */
146
+ neq(fieldId, value) {
147
+ this._neq = `${fieldId}:${value}`;
148
+ return this;
149
+ }
150
+ /**
151
+ * Numeric value (less than).
152
+ * eq=fieldId:123
153
+ */
154
+ lt(fieldId, value) {
155
+ this._lt = `${fieldId}:${value}`;
156
+ return this;
157
+ }
158
+ /**
159
+ * Numeric value (less than or equal to).
160
+ * eq=fieldId:123
161
+ */
162
+ lte(fieldId, value) {
163
+ this._lte = `${fieldId}:${value}`;
164
+ return this;
165
+ }
166
+ /**
167
+ * Numeric value (greater than).
168
+ * eq=fieldId:123
169
+ */
170
+ gt(fieldId, value) {
171
+ this._gt = `${fieldId}:${value}`;
172
+ return this;
173
+ }
174
+ /**
175
+ * Numeric value (grater than or equal to).
176
+ * eq=fieldId:123
177
+ */
178
+ gte(fieldId, value) {
179
+ this._gte = `${fieldId}:${value}`;
180
+ return this;
181
+ }
182
+ /**
183
+ * Date type period search (range).
184
+ * yyyy-MM-dd
185
+ */
186
+ term(fieldId, from, to) {
187
+ this._term = `${fieldId}:${from},${to}`;
188
+ return this;
189
+ }
190
+ /**
191
+ * Date type period search (from).
192
+ * yyyy-MM-dd
193
+ */
194
+ termFrom(fieldId, from) {
195
+ this._term = `${fieldId}:${from},`;
196
+ return this;
197
+ }
198
+ /**
199
+ * Date type period search (to).
200
+ * yyyy-MM-dd
201
+ */
202
+ termTo(fieldId, to) {
203
+ this._term = `${fieldId}:,${to}`;
204
+ return this;
205
+ }
206
+ }
207
+ //# sourceMappingURL=report-count-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"report-count-request.js","sourceRoot":"","sources":["../../../src/resource/report/report-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QAClC,OAAO,IAAI,CAAC;IAChB,CAAC;IAED;;;OAGG;IACI,EAAE,CAAC,OAAe,EAAE,KAAa;QACpC,IAAI,CAAC,GAAG,GAAG,GAAG,OAAO,IAAI,KAAK,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAED;;;OAGG;IACI,GAAG,CAAC,OAAe,EAAE,KAAa;QACrC,IAAI,CAAC,IAAI,GAAG,GAAG,OAAO,IAAI,KAAK,EAAE,CAAC;QAClC,OAAO,IAAI,CAAC;IAChB,CAAC;IAED;;;OAGG;IACI,IAAI,CAAC,OAAe,EAAE,IAAY,EAAE,EAAU;QACjD,IAAI,CAAC,KAAK,GAAG,GAAG,OAAO,IAAI,IAAI,IAAI,EAAE,EAAE,CAAC;QACxC,OAAO,IAAI,CAAC;IAChB,CAAC;IAED;;;OAGG;IACI,QAAQ,CAAC,OAAe,EAAE,IAAY;QACzC,IAAI,CAAC,KAAK,GAAG,GAAG,OAAO,IAAI,IAAI,GAAG,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IAED;;;OAGG;IACI,MAAM,CAAC,OAAe,EAAE,EAAU;QACrC,IAAI,CAAC,KAAK,GAAG,GAAG,OAAO,KAAK,EAAE,EAAE,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ"}
@@ -0,0 +1,24 @@
1
+ import { IRequest } from '../request.interface';
2
+ export declare class ReportCreateRequest implements IRequest {
3
+ path: string;
4
+ body: string | null;
5
+ constructor(path: string, body: string | null);
6
+ getPath(): string;
7
+ getQuery(): {
8
+ [key: string]: string | number;
9
+ };
10
+ getBody(): string | null;
11
+ static builder(): Builder;
12
+ }
13
+ declare class Builder {
14
+ private _workspaceId;
15
+ private _projectId;
16
+ private _reports;
17
+ build(): ReportCreateRequest;
18
+ workspaceId(workspaceId: string): Builder;
19
+ projectId(projectId: string): Builder;
20
+ append(fields: {
21
+ [key: string]: unknown;
22
+ }): Builder;
23
+ }
24
+ export {};
@@ -0,0 +1,67 @@
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.ReportCreateRequest = void 0;
16
+ const path_config_1 = require("../path-config");
17
+ const report_request_model_1 = require("./report-request-model");
18
+ class ReportCreateRequest {
19
+ constructor(path, body) {
20
+ this.path = path;
21
+ this.body = body;
22
+ }
23
+ getPath() {
24
+ return this.path;
25
+ }
26
+ getQuery() {
27
+ return {};
28
+ }
29
+ getBody() {
30
+ return this.body;
31
+ }
32
+ static builder() {
33
+ return new Builder();
34
+ }
35
+ }
36
+ exports.ReportCreateRequest = ReportCreateRequest;
37
+ class Builder {
38
+ constructor() {
39
+ this._workspaceId = null;
40
+ this._projectId = null;
41
+ this._reports = [];
42
+ }
43
+ build() {
44
+ const path = path_config_1.PathConfig.ROOT + path_config_1.PathConfig.WORKSPACE + `/${this._workspaceId}` +
45
+ path_config_1.PathConfig.PROJECTS + `/${this._projectId}` + path_config_1.PathConfig.REPORTS;
46
+ if (!this._reports || !this._reports.length) {
47
+ throw new Error('IllegalArgumentException');
48
+ }
49
+ if (this._reports.length > 100) {
50
+ throw new Error('IllegalArgumentException');
51
+ }
52
+ return new ReportCreateRequest(path, JSON.stringify(this._reports));
53
+ }
54
+ workspaceId(workspaceId) {
55
+ this._workspaceId = workspaceId;
56
+ return this;
57
+ }
58
+ projectId(projectId) {
59
+ this._projectId = projectId;
60
+ return this;
61
+ }
62
+ append(fields) {
63
+ this._reports.push(new report_request_model_1.ReportRequestModel(null, null, fields));
64
+ return this;
65
+ }
66
+ }
67
+ //# sourceMappingURL=report-create-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"report-create-request.js","sourceRoot":"","sources":["../../../src/resource/report/report-create-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAEH,gDAA4C;AAE5C,iEAA4D;AAE5D,MAAa,mBAAmB;IAC5B,YAAmB,IAAY,EAAS,IAAmB;QAAxC,SAAI,GAAJ,IAAI,CAAQ;QAAS,SAAI,GAAJ,IAAI,CAAe;IAAI,CAAC;IAEzD,OAAO;QACV,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,QAAQ;QACX,OAAO,EAAE,CAAC;IACd,CAAC;IAEM,OAAO;QACV,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,MAAM,CAAC,OAAO;QACjB,OAAO,IAAI,OAAO,EAAE,CAAC;IACzB,CAAC;CAEJ;AAnBD,kDAmBC;AAED,MAAM,OAAO;IAAb;QACY,iBAAY,GAAkB,IAAI,CAAC;QACnC,eAAU,GAAkB,IAAI,CAAC;QACjC,aAAQ,GAAyB,EAAE,CAAC;IA+BhD,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,QAAQ,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,MAAM,EAAE;YACzC,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;SAC/C;QACD,IAAI,IAAI,CAAC,QAAQ,CAAC,MAAM,GAAG,GAAG,EAAE;YAC5B,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;SAC/C;QAED,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC;IACxE,CAAC;IAEM,WAAW,CAAC,WAAmB;QAClC,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;QAChC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,SAAS,CAAC,SAAiB;QAC9B,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAC5B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,MAAM,CAAC,MAAkC;QAC5C,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,yCAAkB,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC;QAC/D,OAAO,IAAI,CAAC;IAChB,CAAC;CAEJ"}
@@ -0,0 +1,24 @@
1
+ import { IDeleteRequest } from '../delete-request.interface';
2
+ export declare class ReportDeleteObjectRequest implements IDeleteRequest {
3
+ path: string;
4
+ constructor(path: string);
5
+ getPath(): string;
6
+ getQuery(): {
7
+ [key: string]: string | number;
8
+ };
9
+ static builder(): Builder;
10
+ }
11
+ declare class Builder {
12
+ private _workspaceId;
13
+ private _projectId;
14
+ private _reportId;
15
+ private _objectId;
16
+ private _target;
17
+ build(): ReportDeleteObjectRequest;
18
+ workspaceId(workspaceId: string): Builder;
19
+ projectId(projectId: string): Builder;
20
+ reportId(reportId: string): Builder;
21
+ objectId(objectId: string): Builder;
22
+ target(target: string): Builder;
23
+ }
24
+ export {};
@@ -0,0 +1,86 @@
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.ReportDeleteObjectRequest = void 0;
16
+ const path_config_1 = require("../path-config");
17
+ class ReportDeleteObjectRequest {
18
+ constructor(path) {
19
+ this.path = path;
20
+ this.path = path;
21
+ }
22
+ getPath() {
23
+ return this.path;
24
+ }
25
+ getQuery() {
26
+ return {};
27
+ }
28
+ static builder() {
29
+ return new Builder();
30
+ }
31
+ }
32
+ exports.ReportDeleteObjectRequest = ReportDeleteObjectRequest;
33
+ class Builder {
34
+ constructor() {
35
+ this._workspaceId = null;
36
+ this._projectId = null;
37
+ this._reportId = null;
38
+ this._objectId = null;
39
+ this._target = null;
40
+ }
41
+ build() {
42
+ if (this._target) {
43
+ const matcher = path_config_1.PathConfig.REPORT_OBJECT_PATH_PATTERN.exec(this._target);
44
+ if (!matcher) {
45
+ throw new Error('IllegalArgumentException');
46
+ }
47
+ const workspaceId = matcher.groups?.wid;
48
+ const projectId = matcher.groups?.pid;
49
+ const reportId = matcher.groups?.rid;
50
+ const objectId = matcher.groups?.oid;
51
+ const path = path_config_1.PathConfig.ROOT + path_config_1.PathConfig.WORKSPACE + `/${workspaceId}` +
52
+ path_config_1.PathConfig.PROJECTS + `/${projectId}` +
53
+ path_config_1.PathConfig.REPORTS + `/${reportId}` +
54
+ path_config_1.PathConfig.OBJECTS + `/${objectId}`;
55
+ return new ReportDeleteObjectRequest(path);
56
+ }
57
+ else {
58
+ const path = path_config_1.PathConfig.ROOT + path_config_1.PathConfig.WORKSPACE + `/${this._workspaceId}` +
59
+ path_config_1.PathConfig.PROJECTS + `/${this._projectId}` +
60
+ path_config_1.PathConfig.REPORTS + `/${this._reportId}` +
61
+ path_config_1.PathConfig.OBJECTS + `/${this._objectId}`;
62
+ return new ReportDeleteObjectRequest(path);
63
+ }
64
+ }
65
+ workspaceId(workspaceId) {
66
+ this._workspaceId = workspaceId;
67
+ return this;
68
+ }
69
+ projectId(projectId) {
70
+ this._projectId = projectId;
71
+ return this;
72
+ }
73
+ reportId(reportId) {
74
+ this._reportId = reportId;
75
+ return this;
76
+ }
77
+ objectId(objectId) {
78
+ this._objectId = objectId;
79
+ return this;
80
+ }
81
+ target(target) {
82
+ this._target = target;
83
+ return this;
84
+ }
85
+ }
86
+ //# sourceMappingURL=report-delete-object-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"report-delete-object-request.js","sourceRoot":"","sources":["../../../src/resource/report/report-delete-object-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAGH,gDAA4C;AAE5C,MAAa,yBAAyB;IAElC,YAAmB,IAAY;QAAZ,SAAI,GAAJ,IAAI,CAAQ;QAC3B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;IAEM,OAAO;QACV,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,QAAQ;QACX,OAAO,EAAE,CAAC;IACd,CAAC;IAEM,MAAM,CAAC,OAAO;QACjB,OAAO,IAAI,OAAO,EAAE,CAAC;IACzB,CAAC;CAEJ;AAlBD,8DAkBC;AAED,MAAM,OAAO;IAAb;QACY,iBAAY,GAAkB,IAAI,CAAC;QACnC,eAAU,GAAkB,IAAI,CAAC;QACjC,cAAS,GAAkB,IAAI,CAAC;QAChC,cAAS,GAAkB,IAAI,CAAC;QAChC,YAAO,GAAkB,IAAI,CAAC;IAqD1C,CAAC;IAnDU,KAAK;QACR,IAAI,IAAI,CAAC,OAAO,EAAE;YACd,MAAM,OAAO,GAAG,wBAAU,CAAC,0BAA0B,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;YACzE,IAAI,CAAC,OAAO,EAAE;gBACV,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;aAC/C;YAED,MAAM,WAAW,GAAG,OAAO,CAAC,MAAM,EAAE,GAAG,CAAC;YACxC,MAAM,SAAS,GAAG,OAAO,CAAC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AAO,IAAI,CAAC;IAChB,CAAC;IAEM,MAAM,CAAC,MAAc;QACxB,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ"}
@@ -0,0 +1,23 @@
1
+ import { IDeleteRequest } from '../delete-request.interface';
2
+ export declare class ReportDeleteRequest implements IDeleteRequest {
3
+ private path;
4
+ private query;
5
+ constructor(path: string, query: {
6
+ [key: string]: string | number;
7
+ });
8
+ getPath(): string;
9
+ getQuery(): {
10
+ [key: string]: string | number;
11
+ };
12
+ static builder(): Builder;
13
+ }
14
+ declare class Builder {
15
+ private _workspaceId;
16
+ private _projectId;
17
+ private _ids;
18
+ build(): ReportDeleteRequest;
19
+ workspaceId(workspaceId: string): Builder;
20
+ projectId(projectId: string): Builder;
21
+ ids(...reportIds: string[]): Builder;
22
+ }
23
+ export {};
@@ -0,0 +1,64 @@
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.ReportDeleteRequest = void 0;
16
+ const path_config_1 = require("../path-config");
17
+ class ReportDeleteRequest {
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
+ static builder() {
29
+ return new Builder();
30
+ }
31
+ }
32
+ exports.ReportDeleteRequest = ReportDeleteRequest;
33
+ class Builder {
34
+ constructor() {
35
+ this._workspaceId = null;
36
+ this._projectId = null;
37
+ this._ids = [];
38
+ }
39
+ build() {
40
+ const path = path_config_1.PathConfig.ROOT + path_config_1.PathConfig.WORKSPACE + `/${this._workspaceId}` +
41
+ path_config_1.PathConfig.PROJECTS + `/${this._projectId}` + path_config_1.PathConfig.REPORTS;
42
+ if (!this._ids.length) {
43
+ throw new Error('IllegalArgumentException');
44
+ }
45
+ if (this._ids.length > 100) {
46
+ throw new Error('IllegalArgumentException');
47
+ }
48
+ const params = { ids: this._ids.join(',') };
49
+ return new ReportDeleteRequest(path, params);
50
+ }
51
+ workspaceId(workspaceId) {
52
+ this._workspaceId = workspaceId;
53
+ return this;
54
+ }
55
+ projectId(projectId) {
56
+ this._projectId = projectId;
57
+ return this;
58
+ }
59
+ ids(...reportIds) {
60
+ this._ids.push(...reportIds);
61
+ return this;
62
+ }
63
+ }
64
+ //# sourceMappingURL=report-delete-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"report-delete-request.js","sourceRoot":"","sources":["../../../src/resource/report/report-delete-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAGH,gDAA4C;AAE5C,MAAa,mBAAmB;IAE5B,YAAoB,IAAY,EAAU,KAAyC;QAA/D,SAAI,GAAJ,IAAI,CAAQ;QAAU,UAAK,GAAL,KAAK,CAAoC;IACnF,CAAC;IAEM,OAAO;QACV,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,QAAQ;QACX,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IAEM,MAAM,CAAC,OAAO;QACjB,OAAO,IAAI,OAAO,EAAE,CAAC;IACzB,CAAC;CAEJ;AAjBD,kDAiBC;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,IAAI,CAAC,MAAM,GAAG,GAAG,EAAE;YACxB,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAC;SAC/C;QAED,MAAM,MAAM,GAAG,EAAE,GAAG,EAAE,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;QAC5C,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;IACjD,CAAC;IAEM,WAAW,CAAC,WAAmB;QAClC,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;QAChC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,SAAS,CAAC,SAAiB;QAC9B,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAC5B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,GAAG,CAAC,GAAG,SAAmB;QAC7B,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,SAAS,CAAC,CAAC;QAC7B,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ"}
@@ -0,0 +1,17 @@
1
+ import { IGenerateIdRequest } from '../generate-id-request.interface';
2
+ export declare class ReportGenerateIdRequest implements IGenerateIdRequest {
3
+ path: string;
4
+ constructor(path: string);
5
+ getPath(): string;
6
+ getQuery(): string | null;
7
+ getBody(): string | null;
8
+ static builder(): Builder;
9
+ }
10
+ declare class Builder {
11
+ private _workspaceId;
12
+ private _projectId;
13
+ build(): ReportGenerateIdRequest;
14
+ workspaceId(workspaceId: string): Builder;
15
+ projectId(projectId: string): Builder;
16
+ }
17
+ export {};
@@ -0,0 +1,56 @@
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.ReportGenerateIdRequest = void 0;
16
+ const path_config_1 = require("../path-config");
17
+ class ReportGenerateIdRequest {
18
+ constructor(path) {
19
+ this.path = path;
20
+ this.path = path;
21
+ }
22
+ getPath() {
23
+ return this.path;
24
+ }
25
+ getQuery() {
26
+ return null;
27
+ }
28
+ getBody() {
29
+ return null;
30
+ }
31
+ static builder() {
32
+ return new Builder();
33
+ }
34
+ }
35
+ exports.ReportGenerateIdRequest = ReportGenerateIdRequest;
36
+ class Builder {
37
+ constructor() {
38
+ this._workspaceId = null;
39
+ this._projectId = null;
40
+ }
41
+ build() {
42
+ const path = path_config_1.PathConfig.ROOT + path_config_1.PathConfig.WORKSPACE + `/${this._workspaceId}` +
43
+ path_config_1.PathConfig.PROJECTS + `/${this._projectId}` +
44
+ path_config_1.PathConfig.REPORTS + '/generateId';
45
+ return new ReportGenerateIdRequest(path);
46
+ }
47
+ workspaceId(workspaceId) {
48
+ this._workspaceId = workspaceId;
49
+ return this;
50
+ }
51
+ projectId(projectId) {
52
+ this._projectId = projectId;
53
+ return this;
54
+ }
55
+ }
56
+ //# sourceMappingURL=report-generate-id-request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"report-generate-id-request.js","sourceRoot":"","sources":["../../../src/resource/report/report-generate-id-request.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;GAWG;;;AAGH,gDAA4C;AAE5C,MAAa,uBAAuB;IAEhC,YAAmB,IAAY;QAAZ,SAAI,GAAJ,IAAI,CAAQ;QAC3B,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;IAEM,OAAO;QACV,OAAO,IAAI,CAAC,IAAI,CAAC;IACrB,CAAC;IAEM,QAAQ;QACX,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,OAAO;QACV,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,MAAM,CAAC,OAAO;QACjB,OAAO,IAAI,OAAO,EAAE,CAAC;IACzB,CAAC;CAEJ;AAtBD,0DAsBC;AAED,MAAM,OAAO;IAAb;QACY,iBAAY,GAAkB,IAAI,CAAC;QACnC,eAAU,GAAkB,IAAI,CAAC;IAoB7C,CAAC;IAlBU,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;YAC3C,wBAAU,CAAC,OAAO,GAAG,aAAa,CAAC;QAEvC,OAAO,IAAI,uBAAuB,CAAC,IAAI,CAAC,CAAC;IAC7C,CAAC;IAEM,WAAW,CAAC,WAAmB;QAClC,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;QAChC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,SAAS,CAAC,SAAiB;QAC9B,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAC5B,OAAO,IAAI,CAAC;IAChB,CAAC;CAEJ"}
@@ -0,0 +1,22 @@
1
+ import { IRequest } from '../request.interface';
2
+ export declare class ReportGetObjectRequest 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 _path;
19
+ build(): ReportGetObjectRequest;
20
+ target(value: unknown): Builder;
21
+ }
22
+ export {};