fusio-sdk 3.0.4 → 3.0.5
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/dist/src/generated/backend/ActionTag.d.ts +2 -2
- package/dist/src/generated/backend/ActionTag.js +10 -4
- package/dist/src/generated/backend/AppTag.d.ts +2 -2
- package/dist/src/generated/backend/AppTag.js +19 -4
- package/dist/src/generated/backend/AuditTag.d.ts +1 -1
- package/dist/src/generated/backend/AuditTag.js +13 -2
- package/dist/src/generated/backend/CategoryTag.d.ts +1 -1
- package/dist/src/generated/backend/CategoryTag.js +6 -2
- package/dist/src/generated/backend/ConfigTag.d.ts +1 -1
- package/dist/src/generated/backend/ConfigTag.js +6 -2
- package/dist/src/generated/backend/ConnectionTag.d.ts +2 -2
- package/dist/src/generated/backend/ConnectionTag.js +10 -4
- package/dist/src/generated/backend/CronjobTag.d.ts +1 -1
- package/dist/src/generated/backend/CronjobTag.js +6 -2
- package/dist/src/generated/backend/EventTag.d.ts +2 -2
- package/dist/src/generated/backend/EventTag.js +13 -4
- package/dist/src/generated/backend/LogTag.d.ts +2 -2
- package/dist/src/generated/backend/LogTag.js +23 -4
- package/dist/src/generated/backend/OperationTag.d.ts +1 -1
- package/dist/src/generated/backend/OperationTag.js +7 -2
- package/dist/src/generated/backend/PageTag.d.ts +1 -1
- package/dist/src/generated/backend/PageTag.js +6 -2
- package/dist/src/generated/backend/PlanTag.d.ts +1 -1
- package/dist/src/generated/backend/PlanTag.js +6 -2
- package/dist/src/generated/backend/RateTag.d.ts +1 -1
- package/dist/src/generated/backend/RateTag.js +6 -2
- package/dist/src/generated/backend/RoleTag.d.ts +1 -1
- package/dist/src/generated/backend/RoleTag.js +6 -2
- package/dist/src/generated/backend/SchemaTag.d.ts +1 -1
- package/dist/src/generated/backend/SchemaTag.js +7 -2
- package/dist/src/generated/backend/ScopeTag.d.ts +1 -1
- package/dist/src/generated/backend/ScopeTag.js +7 -2
- package/dist/src/generated/backend/StatisticTag.d.ts +10 -10
- package/dist/src/generated/backend/StatisticTag.js +170 -20
- package/dist/src/generated/backend/TransactionTag.d.ts +1 -1
- package/dist/src/generated/backend/TransactionTag.js +13 -2
- package/dist/src/generated/backend/TrashTag.d.ts +1 -1
- package/dist/src/generated/backend/TrashTag.js +6 -2
- package/dist/src/generated/backend/UserTag.d.ts +1 -1
- package/dist/src/generated/backend/UserTag.js +6 -2
- package/dist/src/generated/consumer/AppTag.d.ts +1 -1
- package/dist/src/generated/consumer/AppTag.js +6 -2
- package/dist/src/generated/consumer/EventTag.d.ts +1 -1
- package/dist/src/generated/consumer/EventTag.js +6 -2
- package/dist/src/generated/consumer/GrantTag.d.ts +1 -1
- package/dist/src/generated/consumer/GrantTag.js +6 -2
- package/dist/src/generated/consumer/LogTag.d.ts +1 -1
- package/dist/src/generated/consumer/LogTag.js +6 -2
- package/dist/src/generated/consumer/PageTag.d.ts +1 -1
- package/dist/src/generated/consumer/PageTag.js +6 -2
- package/dist/src/generated/consumer/PlanTag.d.ts +1 -1
- package/dist/src/generated/consumer/PlanTag.js +6 -2
- package/dist/src/generated/consumer/ScopeTag.d.ts +1 -1
- package/dist/src/generated/consumer/ScopeTag.js +6 -2
- package/dist/src/generated/consumer/SubscriptionTag.d.ts +1 -1
- package/dist/src/generated/consumer/SubscriptionTag.js +6 -2
- package/dist/src/generated/consumer/TransactionTag.d.ts +1 -1
- package/dist/src/generated/consumer/TransactionTag.js +6 -2
- package/package.json +1 -1
|
@@ -37,7 +37,7 @@ export declare class ActionTag extends TagAbstract {
|
|
|
37
37
|
* @returns {Promise<FormContainer>}
|
|
38
38
|
* @throws {ClientException}
|
|
39
39
|
*/
|
|
40
|
-
getForm(): Promise<FormContainer>;
|
|
40
|
+
getForm(_class?: string): Promise<FormContainer>;
|
|
41
41
|
/**
|
|
42
42
|
* @returns {Promise<ActionIndex>}
|
|
43
43
|
* @throws {ClientException}
|
|
@@ -52,5 +52,5 @@ export declare class ActionTag extends TagAbstract {
|
|
|
52
52
|
* @returns {Promise<ActionCollection>}
|
|
53
53
|
* @throws {ClientException}
|
|
54
54
|
*/
|
|
55
|
-
getAll(): Promise<ActionCollection>;
|
|
55
|
+
getAll(startIndex?: number, count?: number, categoryId?: number): Promise<ActionCollection>;
|
|
56
56
|
}
|
|
@@ -120,12 +120,14 @@ export class ActionTag extends TagAbstract {
|
|
|
120
120
|
* @returns {Promise<FormContainer>}
|
|
121
121
|
* @throws {ClientException}
|
|
122
122
|
*/
|
|
123
|
-
async getForm() {
|
|
123
|
+
async getForm(_class) {
|
|
124
124
|
const url = this.parser.url('/backend/action/form', {});
|
|
125
125
|
let params = {
|
|
126
126
|
url: url,
|
|
127
127
|
method: 'GET',
|
|
128
|
-
params: this.parser.query({
|
|
128
|
+
params: this.parser.query({
|
|
129
|
+
'class': _class,
|
|
130
|
+
}),
|
|
129
131
|
};
|
|
130
132
|
try {
|
|
131
133
|
const response = await this.httpClient.request(params);
|
|
@@ -196,12 +198,16 @@ export class ActionTag extends TagAbstract {
|
|
|
196
198
|
* @returns {Promise<ActionCollection>}
|
|
197
199
|
* @throws {ClientException}
|
|
198
200
|
*/
|
|
199
|
-
async getAll() {
|
|
201
|
+
async getAll(startIndex, count, categoryId) {
|
|
200
202
|
const url = this.parser.url('/backend/action', {});
|
|
201
203
|
let params = {
|
|
202
204
|
url: url,
|
|
203
205
|
method: 'GET',
|
|
204
|
-
params: this.parser.query({
|
|
206
|
+
params: this.parser.query({
|
|
207
|
+
'startIndex': startIndex,
|
|
208
|
+
'count': count,
|
|
209
|
+
'categoryId': categoryId,
|
|
210
|
+
}),
|
|
205
211
|
};
|
|
206
212
|
try {
|
|
207
213
|
const response = await this.httpClient.request(params);
|
|
@@ -40,7 +40,7 @@ export declare class AppTag extends TagAbstract {
|
|
|
40
40
|
* @returns {Promise<AppCollection>}
|
|
41
41
|
* @throws {ClientException}
|
|
42
42
|
*/
|
|
43
|
-
getAll(): Promise<AppCollection>;
|
|
43
|
+
getAll(startIndex?: number, count?: number, search?: string): Promise<AppCollection>;
|
|
44
44
|
/**
|
|
45
45
|
* @returns {Promise<AppToken>}
|
|
46
46
|
* @throws {ClientException}
|
|
@@ -50,5 +50,5 @@ export declare class AppTag extends TagAbstract {
|
|
|
50
50
|
* @returns {Promise<AppTokenCollection>}
|
|
51
51
|
* @throws {ClientException}
|
|
52
52
|
*/
|
|
53
|
-
getAllTokens(): Promise<AppTokenCollection>;
|
|
53
|
+
getAllTokens(startIndex?: number, count?: number, search?: string, from?: string, to?: string, appId?: number, userId?: number, status?: number, scope?: string, ip?: string): Promise<AppTokenCollection>;
|
|
54
54
|
}
|
|
@@ -146,12 +146,16 @@ export class AppTag extends TagAbstract {
|
|
|
146
146
|
* @returns {Promise<AppCollection>}
|
|
147
147
|
* @throws {ClientException}
|
|
148
148
|
*/
|
|
149
|
-
async getAll() {
|
|
149
|
+
async getAll(startIndex, count, search) {
|
|
150
150
|
const url = this.parser.url('/backend/app', {});
|
|
151
151
|
let params = {
|
|
152
152
|
url: url,
|
|
153
153
|
method: 'GET',
|
|
154
|
-
params: this.parser.query({
|
|
154
|
+
params: this.parser.query({
|
|
155
|
+
'startIndex': startIndex,
|
|
156
|
+
'count': count,
|
|
157
|
+
'search': search,
|
|
158
|
+
}),
|
|
155
159
|
};
|
|
156
160
|
try {
|
|
157
161
|
const response = await this.httpClient.request(params);
|
|
@@ -198,12 +202,23 @@ export class AppTag extends TagAbstract {
|
|
|
198
202
|
* @returns {Promise<AppTokenCollection>}
|
|
199
203
|
* @throws {ClientException}
|
|
200
204
|
*/
|
|
201
|
-
async getAllTokens() {
|
|
205
|
+
async getAllTokens(startIndex, count, search, from, to, appId, userId, status, scope, ip) {
|
|
202
206
|
const url = this.parser.url('/backend/app/token', {});
|
|
203
207
|
let params = {
|
|
204
208
|
url: url,
|
|
205
209
|
method: 'GET',
|
|
206
|
-
params: this.parser.query({
|
|
210
|
+
params: this.parser.query({
|
|
211
|
+
'startIndex': startIndex,
|
|
212
|
+
'count': count,
|
|
213
|
+
'search': search,
|
|
214
|
+
'from': from,
|
|
215
|
+
'to': to,
|
|
216
|
+
'appId': appId,
|
|
217
|
+
'userId': userId,
|
|
218
|
+
'status': status,
|
|
219
|
+
'scope': scope,
|
|
220
|
+
'ip': ip,
|
|
221
|
+
}),
|
|
207
222
|
};
|
|
208
223
|
try {
|
|
209
224
|
const response = await this.httpClient.request(params);
|
|
@@ -15,5 +15,5 @@ export declare class AuditTag extends TagAbstract {
|
|
|
15
15
|
* @returns {Promise<AuditCollection>}
|
|
16
16
|
* @throws {ClientException}
|
|
17
17
|
*/
|
|
18
|
-
getAll(): Promise<AuditCollection>;
|
|
18
|
+
getAll(startIndex?: number, count?: number, search?: string, from?: string, to?: string, appId?: number, userId?: number, event?: string, ip?: string, message?: string): Promise<AuditCollection>;
|
|
19
19
|
}
|
|
@@ -37,12 +37,23 @@ export class AuditTag extends TagAbstract {
|
|
|
37
37
|
* @returns {Promise<AuditCollection>}
|
|
38
38
|
* @throws {ClientException}
|
|
39
39
|
*/
|
|
40
|
-
async getAll() {
|
|
40
|
+
async getAll(startIndex, count, search, from, to, appId, userId, event, ip, message) {
|
|
41
41
|
const url = this.parser.url('/backend/audit', {});
|
|
42
42
|
let params = {
|
|
43
43
|
url: url,
|
|
44
44
|
method: 'GET',
|
|
45
|
-
params: this.parser.query({
|
|
45
|
+
params: this.parser.query({
|
|
46
|
+
'startIndex': startIndex,
|
|
47
|
+
'count': count,
|
|
48
|
+
'search': search,
|
|
49
|
+
'from': from,
|
|
50
|
+
'to': to,
|
|
51
|
+
'appId': appId,
|
|
52
|
+
'userId': userId,
|
|
53
|
+
'event': event,
|
|
54
|
+
'ip': ip,
|
|
55
|
+
'message': message,
|
|
56
|
+
}),
|
|
46
57
|
};
|
|
47
58
|
try {
|
|
48
59
|
const response = await this.httpClient.request(params);
|
|
@@ -33,5 +33,5 @@ export declare class CategoryTag extends TagAbstract {
|
|
|
33
33
|
* @returns {Promise<CategoryCollection>}
|
|
34
34
|
* @throws {ClientException}
|
|
35
35
|
*/
|
|
36
|
-
getAll(): Promise<CategoryCollection>;
|
|
36
|
+
getAll(startIndex?: number, count?: number, search?: string): Promise<CategoryCollection>;
|
|
37
37
|
}
|
|
@@ -118,12 +118,16 @@ export class CategoryTag extends TagAbstract {
|
|
|
118
118
|
* @returns {Promise<CategoryCollection>}
|
|
119
119
|
* @throws {ClientException}
|
|
120
120
|
*/
|
|
121
|
-
async getAll() {
|
|
121
|
+
async getAll(startIndex, count, search) {
|
|
122
122
|
const url = this.parser.url('/backend/category', {});
|
|
123
123
|
let params = {
|
|
124
124
|
url: url,
|
|
125
125
|
method: 'GET',
|
|
126
|
-
params: this.parser.query({
|
|
126
|
+
params: this.parser.query({
|
|
127
|
+
'startIndex': startIndex,
|
|
128
|
+
'count': count,
|
|
129
|
+
'search': search,
|
|
130
|
+
}),
|
|
127
131
|
};
|
|
128
132
|
try {
|
|
129
133
|
const response = await this.httpClient.request(params);
|
|
@@ -22,5 +22,5 @@ export declare class ConfigTag extends TagAbstract {
|
|
|
22
22
|
* @returns {Promise<ConfigCollection>}
|
|
23
23
|
* @throws {ClientException}
|
|
24
24
|
*/
|
|
25
|
-
getAll(): Promise<ConfigCollection>;
|
|
25
|
+
getAll(startIndex?: number, count?: number, search?: string): Promise<ConfigCollection>;
|
|
26
26
|
}
|
|
@@ -65,12 +65,16 @@ export class ConfigTag extends TagAbstract {
|
|
|
65
65
|
* @returns {Promise<ConfigCollection>}
|
|
66
66
|
* @throws {ClientException}
|
|
67
67
|
*/
|
|
68
|
-
async getAll() {
|
|
68
|
+
async getAll(startIndex, count, search) {
|
|
69
69
|
const url = this.parser.url('/backend/config', {});
|
|
70
70
|
let params = {
|
|
71
71
|
url: url,
|
|
72
72
|
method: 'GET',
|
|
73
|
-
params: this.parser.query({
|
|
73
|
+
params: this.parser.query({
|
|
74
|
+
'startIndex': startIndex,
|
|
75
|
+
'count': count,
|
|
76
|
+
'search': search,
|
|
77
|
+
}),
|
|
74
78
|
};
|
|
75
79
|
try {
|
|
76
80
|
const response = await this.httpClient.request(params);
|
|
@@ -47,7 +47,7 @@ export declare class ConnectionTag extends TagAbstract {
|
|
|
47
47
|
* @returns {Promise<FormContainer>}
|
|
48
48
|
* @throws {ClientException}
|
|
49
49
|
*/
|
|
50
|
-
getForm(): Promise<FormContainer>;
|
|
50
|
+
getForm(_class?: string): Promise<FormContainer>;
|
|
51
51
|
/**
|
|
52
52
|
* @returns {Promise<ConnectionIndex>}
|
|
53
53
|
* @throws {ClientException}
|
|
@@ -62,5 +62,5 @@ export declare class ConnectionTag extends TagAbstract {
|
|
|
62
62
|
* @returns {Promise<ConnectionCollection>}
|
|
63
63
|
* @throws {ClientException}
|
|
64
64
|
*/
|
|
65
|
-
getAll(): Promise<ConnectionCollection>;
|
|
65
|
+
getAll(startIndex?: number, count?: number, search?: string): Promise<ConnectionCollection>;
|
|
66
66
|
}
|
|
@@ -174,12 +174,14 @@ export class ConnectionTag extends TagAbstract {
|
|
|
174
174
|
* @returns {Promise<FormContainer>}
|
|
175
175
|
* @throws {ClientException}
|
|
176
176
|
*/
|
|
177
|
-
async getForm() {
|
|
177
|
+
async getForm(_class) {
|
|
178
178
|
const url = this.parser.url('/backend/connection/form', {});
|
|
179
179
|
let params = {
|
|
180
180
|
url: url,
|
|
181
181
|
method: 'GET',
|
|
182
|
-
params: this.parser.query({
|
|
182
|
+
params: this.parser.query({
|
|
183
|
+
'class': _class,
|
|
184
|
+
}),
|
|
183
185
|
};
|
|
184
186
|
try {
|
|
185
187
|
const response = await this.httpClient.request(params);
|
|
@@ -250,12 +252,16 @@ export class ConnectionTag extends TagAbstract {
|
|
|
250
252
|
* @returns {Promise<ConnectionCollection>}
|
|
251
253
|
* @throws {ClientException}
|
|
252
254
|
*/
|
|
253
|
-
async getAll() {
|
|
255
|
+
async getAll(startIndex, count, search) {
|
|
254
256
|
const url = this.parser.url('/backend/connection', {});
|
|
255
257
|
let params = {
|
|
256
258
|
url: url,
|
|
257
259
|
method: 'GET',
|
|
258
|
-
params: this.parser.query({
|
|
260
|
+
params: this.parser.query({
|
|
261
|
+
'startIndex': startIndex,
|
|
262
|
+
'count': count,
|
|
263
|
+
'search': search,
|
|
264
|
+
}),
|
|
259
265
|
};
|
|
260
266
|
try {
|
|
261
267
|
const response = await this.httpClient.request(params);
|
|
@@ -33,5 +33,5 @@ export declare class CronjobTag extends TagAbstract {
|
|
|
33
33
|
* @returns {Promise<CronjobCollection>}
|
|
34
34
|
* @throws {ClientException}
|
|
35
35
|
*/
|
|
36
|
-
getAll(): Promise<CronjobCollection>;
|
|
36
|
+
getAll(startIndex?: number, count?: number, search?: string): Promise<CronjobCollection>;
|
|
37
37
|
}
|
|
@@ -118,12 +118,16 @@ export class CronjobTag extends TagAbstract {
|
|
|
118
118
|
* @returns {Promise<CronjobCollection>}
|
|
119
119
|
* @throws {ClientException}
|
|
120
120
|
*/
|
|
121
|
-
async getAll() {
|
|
121
|
+
async getAll(startIndex, count, search) {
|
|
122
122
|
const url = this.parser.url('/backend/cronjob', {});
|
|
123
123
|
let params = {
|
|
124
124
|
url: url,
|
|
125
125
|
method: 'GET',
|
|
126
|
-
params: this.parser.query({
|
|
126
|
+
params: this.parser.query({
|
|
127
|
+
'startIndex': startIndex,
|
|
128
|
+
'count': count,
|
|
129
|
+
'search': search,
|
|
130
|
+
}),
|
|
127
131
|
};
|
|
128
132
|
try {
|
|
129
133
|
const response = await this.httpClient.request(params);
|
|
@@ -37,7 +37,7 @@ export declare class EventTag extends TagAbstract {
|
|
|
37
37
|
* @returns {Promise<EventCollection>}
|
|
38
38
|
* @throws {ClientException}
|
|
39
39
|
*/
|
|
40
|
-
getAll(): Promise<EventCollection>;
|
|
40
|
+
getAll(categoryId?: number, startIndex?: number, count?: number, search?: string): Promise<EventCollection>;
|
|
41
41
|
/**
|
|
42
42
|
* @returns {Promise<Message>}
|
|
43
43
|
* @throws {ClientException}
|
|
@@ -62,5 +62,5 @@ export declare class EventTag extends TagAbstract {
|
|
|
62
62
|
* @returns {Promise<EventSubscriptionCollection>}
|
|
63
63
|
* @throws {ClientException}
|
|
64
64
|
*/
|
|
65
|
-
getAllSubscriptions(): Promise<EventSubscriptionCollection>;
|
|
65
|
+
getAllSubscriptions(startIndex?: number, count?: number, search?: string): Promise<EventSubscriptionCollection>;
|
|
66
66
|
}
|
|
@@ -118,12 +118,17 @@ export class EventTag extends TagAbstract {
|
|
|
118
118
|
* @returns {Promise<EventCollection>}
|
|
119
119
|
* @throws {ClientException}
|
|
120
120
|
*/
|
|
121
|
-
async getAll() {
|
|
121
|
+
async getAll(categoryId, startIndex, count, search) {
|
|
122
122
|
const url = this.parser.url('/backend/event', {});
|
|
123
123
|
let params = {
|
|
124
124
|
url: url,
|
|
125
125
|
method: 'GET',
|
|
126
|
-
params: this.parser.query({
|
|
126
|
+
params: this.parser.query({
|
|
127
|
+
'categoryId': categoryId,
|
|
128
|
+
'startIndex': startIndex,
|
|
129
|
+
'count': count,
|
|
130
|
+
'search': search,
|
|
131
|
+
}),
|
|
127
132
|
};
|
|
128
133
|
try {
|
|
129
134
|
const response = await this.httpClient.request(params);
|
|
@@ -251,12 +256,16 @@ export class EventTag extends TagAbstract {
|
|
|
251
256
|
* @returns {Promise<EventSubscriptionCollection>}
|
|
252
257
|
* @throws {ClientException}
|
|
253
258
|
*/
|
|
254
|
-
async getAllSubscriptions() {
|
|
259
|
+
async getAllSubscriptions(startIndex, count, search) {
|
|
255
260
|
const url = this.parser.url('/backend/event/subscription', {});
|
|
256
261
|
let params = {
|
|
257
262
|
url: url,
|
|
258
263
|
method: 'GET',
|
|
259
|
-
params: this.parser.query({
|
|
264
|
+
params: this.parser.query({
|
|
265
|
+
'startIndex': startIndex,
|
|
266
|
+
'count': count,
|
|
267
|
+
'search': search,
|
|
268
|
+
}),
|
|
260
269
|
};
|
|
261
270
|
try {
|
|
262
271
|
const response = await this.httpClient.request(params);
|
|
@@ -17,7 +17,7 @@ export declare class LogTag extends TagAbstract {
|
|
|
17
17
|
* @returns {Promise<LogCollection>}
|
|
18
18
|
* @throws {ClientException}
|
|
19
19
|
*/
|
|
20
|
-
getAll(): Promise<LogCollection>;
|
|
20
|
+
getAll(startIndex?: number, count?: number, search?: string, from?: string, to?: string, routeId?: number, appId?: number, userId?: number, ip?: string, userAgent?: string, method?: string, path?: string, header?: string, body?: string): Promise<LogCollection>;
|
|
21
21
|
/**
|
|
22
22
|
* @returns {Promise<LogError>}
|
|
23
23
|
* @throws {ClientException}
|
|
@@ -27,5 +27,5 @@ export declare class LogTag extends TagAbstract {
|
|
|
27
27
|
* @returns {Promise<LogErrorCollection>}
|
|
28
28
|
* @throws {ClientException}
|
|
29
29
|
*/
|
|
30
|
-
getAllErrors(): Promise<LogErrorCollection>;
|
|
30
|
+
getAllErrors(startIndex?: number, count?: number, search?: string): Promise<LogErrorCollection>;
|
|
31
31
|
}
|
|
@@ -37,12 +37,27 @@ export class LogTag extends TagAbstract {
|
|
|
37
37
|
* @returns {Promise<LogCollection>}
|
|
38
38
|
* @throws {ClientException}
|
|
39
39
|
*/
|
|
40
|
-
async getAll() {
|
|
40
|
+
async getAll(startIndex, count, search, from, to, routeId, appId, userId, ip, userAgent, method, path, header, body) {
|
|
41
41
|
const url = this.parser.url('/backend/log', {});
|
|
42
42
|
let params = {
|
|
43
43
|
url: url,
|
|
44
44
|
method: 'GET',
|
|
45
|
-
params: this.parser.query({
|
|
45
|
+
params: this.parser.query({
|
|
46
|
+
'startIndex': startIndex,
|
|
47
|
+
'count': count,
|
|
48
|
+
'search': search,
|
|
49
|
+
'from': from,
|
|
50
|
+
'to': to,
|
|
51
|
+
'routeId': routeId,
|
|
52
|
+
'appId': appId,
|
|
53
|
+
'userId': userId,
|
|
54
|
+
'ip': ip,
|
|
55
|
+
'userAgent': userAgent,
|
|
56
|
+
'method': method,
|
|
57
|
+
'path': path,
|
|
58
|
+
'header': header,
|
|
59
|
+
'body': body,
|
|
60
|
+
}),
|
|
46
61
|
};
|
|
47
62
|
try {
|
|
48
63
|
const response = await this.httpClient.request(params);
|
|
@@ -89,12 +104,16 @@ export class LogTag extends TagAbstract {
|
|
|
89
104
|
* @returns {Promise<LogErrorCollection>}
|
|
90
105
|
* @throws {ClientException}
|
|
91
106
|
*/
|
|
92
|
-
async getAllErrors() {
|
|
107
|
+
async getAllErrors(startIndex, count, search) {
|
|
93
108
|
const url = this.parser.url('/backend/log/error', {});
|
|
94
109
|
let params = {
|
|
95
110
|
url: url,
|
|
96
111
|
method: 'GET',
|
|
97
|
-
params: this.parser.query({
|
|
112
|
+
params: this.parser.query({
|
|
113
|
+
'startIndex': startIndex,
|
|
114
|
+
'count': count,
|
|
115
|
+
'search': search,
|
|
116
|
+
}),
|
|
98
117
|
};
|
|
99
118
|
try {
|
|
100
119
|
const response = await this.httpClient.request(params);
|
|
@@ -33,5 +33,5 @@ export declare class OperationTag extends TagAbstract {
|
|
|
33
33
|
* @returns {Promise<OperationCollection>}
|
|
34
34
|
* @throws {ClientException}
|
|
35
35
|
*/
|
|
36
|
-
getAll(): Promise<OperationCollection>;
|
|
36
|
+
getAll(categoryId?: number, startIndex?: number, count?: number, search?: string): Promise<OperationCollection>;
|
|
37
37
|
}
|
|
@@ -118,12 +118,17 @@ export class OperationTag extends TagAbstract {
|
|
|
118
118
|
* @returns {Promise<OperationCollection>}
|
|
119
119
|
* @throws {ClientException}
|
|
120
120
|
*/
|
|
121
|
-
async getAll() {
|
|
121
|
+
async getAll(categoryId, startIndex, count, search) {
|
|
122
122
|
const url = this.parser.url('/backend/operation', {});
|
|
123
123
|
let params = {
|
|
124
124
|
url: url,
|
|
125
125
|
method: 'GET',
|
|
126
|
-
params: this.parser.query({
|
|
126
|
+
params: this.parser.query({
|
|
127
|
+
'categoryId': categoryId,
|
|
128
|
+
'startIndex': startIndex,
|
|
129
|
+
'count': count,
|
|
130
|
+
'search': search,
|
|
131
|
+
}),
|
|
127
132
|
};
|
|
128
133
|
try {
|
|
129
134
|
const response = await this.httpClient.request(params);
|
|
@@ -118,12 +118,16 @@ export class PageTag extends TagAbstract {
|
|
|
118
118
|
* @returns {Promise<PageCollection>}
|
|
119
119
|
* @throws {ClientException}
|
|
120
120
|
*/
|
|
121
|
-
async getAll() {
|
|
121
|
+
async getAll(startIndex, count, search) {
|
|
122
122
|
const url = this.parser.url('/backend/page', {});
|
|
123
123
|
let params = {
|
|
124
124
|
url: url,
|
|
125
125
|
method: 'GET',
|
|
126
|
-
params: this.parser.query({
|
|
126
|
+
params: this.parser.query({
|
|
127
|
+
'startIndex': startIndex,
|
|
128
|
+
'count': count,
|
|
129
|
+
'search': search,
|
|
130
|
+
}),
|
|
127
131
|
};
|
|
128
132
|
try {
|
|
129
133
|
const response = await this.httpClient.request(params);
|
|
@@ -118,12 +118,16 @@ export class PlanTag extends TagAbstract {
|
|
|
118
118
|
* @returns {Promise<PlanCollection>}
|
|
119
119
|
* @throws {ClientException}
|
|
120
120
|
*/
|
|
121
|
-
async getAll() {
|
|
121
|
+
async getAll(startIndex, count, search) {
|
|
122
122
|
const url = this.parser.url('/backend/plan', {});
|
|
123
123
|
let params = {
|
|
124
124
|
url: url,
|
|
125
125
|
method: 'GET',
|
|
126
|
-
params: this.parser.query({
|
|
126
|
+
params: this.parser.query({
|
|
127
|
+
'startIndex': startIndex,
|
|
128
|
+
'count': count,
|
|
129
|
+
'search': search,
|
|
130
|
+
}),
|
|
127
131
|
};
|
|
128
132
|
try {
|
|
129
133
|
const response = await this.httpClient.request(params);
|
|
@@ -118,12 +118,16 @@ export class RateTag extends TagAbstract {
|
|
|
118
118
|
* @returns {Promise<RateCollection>}
|
|
119
119
|
* @throws {ClientException}
|
|
120
120
|
*/
|
|
121
|
-
async getAll() {
|
|
121
|
+
async getAll(startIndex, count, search) {
|
|
122
122
|
const url = this.parser.url('/backend/rate', {});
|
|
123
123
|
let params = {
|
|
124
124
|
url: url,
|
|
125
125
|
method: 'GET',
|
|
126
|
-
params: this.parser.query({
|
|
126
|
+
params: this.parser.query({
|
|
127
|
+
'startIndex': startIndex,
|
|
128
|
+
'count': count,
|
|
129
|
+
'search': search,
|
|
130
|
+
}),
|
|
127
131
|
};
|
|
128
132
|
try {
|
|
129
133
|
const response = await this.httpClient.request(params);
|
|
@@ -118,12 +118,16 @@ export class RoleTag extends TagAbstract {
|
|
|
118
118
|
* @returns {Promise<RoleCollection>}
|
|
119
119
|
* @throws {ClientException}
|
|
120
120
|
*/
|
|
121
|
-
async getAll() {
|
|
121
|
+
async getAll(startIndex, count, search) {
|
|
122
122
|
const url = this.parser.url('/backend/role', {});
|
|
123
123
|
let params = {
|
|
124
124
|
url: url,
|
|
125
125
|
method: 'GET',
|
|
126
|
-
params: this.parser.query({
|
|
126
|
+
params: this.parser.query({
|
|
127
|
+
'startIndex': startIndex,
|
|
128
|
+
'count': count,
|
|
129
|
+
'search': search,
|
|
130
|
+
}),
|
|
127
131
|
};
|
|
128
132
|
try {
|
|
129
133
|
const response = await this.httpClient.request(params);
|
|
@@ -45,5 +45,5 @@ export declare class SchemaTag extends TagAbstract {
|
|
|
45
45
|
* @returns {Promise<SchemaCollection>}
|
|
46
46
|
* @throws {ClientException}
|
|
47
47
|
*/
|
|
48
|
-
getAll(): Promise<SchemaCollection>;
|
|
48
|
+
getAll(categoryId?: number, startIndex?: number, count?: number, search?: string): Promise<SchemaCollection>;
|
|
49
49
|
}
|
|
@@ -173,12 +173,17 @@ export class SchemaTag extends TagAbstract {
|
|
|
173
173
|
* @returns {Promise<SchemaCollection>}
|
|
174
174
|
* @throws {ClientException}
|
|
175
175
|
*/
|
|
176
|
-
async getAll() {
|
|
176
|
+
async getAll(categoryId, startIndex, count, search) {
|
|
177
177
|
const url = this.parser.url('/backend/schema', {});
|
|
178
178
|
let params = {
|
|
179
179
|
url: url,
|
|
180
180
|
method: 'GET',
|
|
181
|
-
params: this.parser.query({
|
|
181
|
+
params: this.parser.query({
|
|
182
|
+
'categoryId': categoryId,
|
|
183
|
+
'startIndex': startIndex,
|
|
184
|
+
'count': count,
|
|
185
|
+
'search': search,
|
|
186
|
+
}),
|
|
182
187
|
};
|
|
183
188
|
try {
|
|
184
189
|
const response = await this.httpClient.request(params);
|
|
@@ -39,5 +39,5 @@ export declare class ScopeTag extends TagAbstract {
|
|
|
39
39
|
* @returns {Promise<ScopeCollection>}
|
|
40
40
|
* @throws {ClientException}
|
|
41
41
|
*/
|
|
42
|
-
getAll(): Promise<ScopeCollection>;
|
|
42
|
+
getAll(categoryId?: number, startIndex?: number, count?: number, search?: string): Promise<ScopeCollection>;
|
|
43
43
|
}
|
|
@@ -143,12 +143,17 @@ export class ScopeTag extends TagAbstract {
|
|
|
143
143
|
* @returns {Promise<ScopeCollection>}
|
|
144
144
|
* @throws {ClientException}
|
|
145
145
|
*/
|
|
146
|
-
async getAll() {
|
|
146
|
+
async getAll(categoryId, startIndex, count, search) {
|
|
147
147
|
const url = this.parser.url('/backend/scope', {});
|
|
148
148
|
let params = {
|
|
149
149
|
url: url,
|
|
150
150
|
method: 'GET',
|
|
151
|
-
params: this.parser.query({
|
|
151
|
+
params: this.parser.query({
|
|
152
|
+
'categoryId': categoryId,
|
|
153
|
+
'startIndex': startIndex,
|
|
154
|
+
'count': count,
|
|
155
|
+
'search': search,
|
|
156
|
+
}),
|
|
152
157
|
};
|
|
153
158
|
try {
|
|
154
159
|
const response = await this.httpClient.request(params);
|