@halo-dev/api-client 2.12.0 → 2.14.0
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/index.cjs +84 -80
- package/dist/index.d.ts +107 -107
- package/dist/index.mjs +84 -80
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -100,7 +100,7 @@ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, config
|
|
|
100
100
|
|
|
101
101
|
const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configuration) {
|
|
102
102
|
return {
|
|
103
|
-
searchAttachments: async (
|
|
103
|
+
searchAttachments: async (fieldSelector, keyword, labelSelector, page, size, sort, ungrouped, options = {}) => {
|
|
104
104
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments`;
|
|
105
105
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
106
106
|
let baseOptions;
|
|
@@ -116,14 +116,11 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
116
116
|
const localVarQueryParameter = {};
|
|
117
117
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
118
118
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
119
|
-
if (displayName !== void 0) {
|
|
120
|
-
localVarQueryParameter["displayName"] = displayName;
|
|
121
|
-
}
|
|
122
119
|
if (fieldSelector) {
|
|
123
120
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
124
121
|
}
|
|
125
|
-
if (
|
|
126
|
-
localVarQueryParameter["
|
|
122
|
+
if (keyword !== void 0) {
|
|
123
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
127
124
|
}
|
|
128
125
|
if (labelSelector) {
|
|
129
126
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
@@ -131,9 +128,6 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
131
128
|
if (page !== void 0) {
|
|
132
129
|
localVarQueryParameter["page"] = page;
|
|
133
130
|
}
|
|
134
|
-
if (policy !== void 0) {
|
|
135
|
-
localVarQueryParameter["policy"] = policy;
|
|
136
|
-
}
|
|
137
131
|
if (size !== void 0) {
|
|
138
132
|
localVarQueryParameter["size"] = size;
|
|
139
133
|
}
|
|
@@ -143,9 +137,6 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
143
137
|
if (ungrouped !== void 0) {
|
|
144
138
|
localVarQueryParameter["ungrouped"] = ungrouped;
|
|
145
139
|
}
|
|
146
|
-
if (uploadedBy !== void 0) {
|
|
147
|
-
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
148
|
-
}
|
|
149
140
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
150
141
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
151
142
|
localVarRequestOptions.headers = {
|
|
@@ -205,18 +196,15 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
205
196
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
206
197
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
207
198
|
return {
|
|
208
|
-
async searchAttachments(
|
|
199
|
+
async searchAttachments(fieldSelector, keyword, labelSelector, page, size, sort, ungrouped, options) {
|
|
209
200
|
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(
|
|
210
|
-
displayName,
|
|
211
201
|
fieldSelector,
|
|
212
|
-
|
|
202
|
+
keyword,
|
|
213
203
|
labelSelector,
|
|
214
204
|
page,
|
|
215
|
-
policy,
|
|
216
205
|
size,
|
|
217
206
|
sort,
|
|
218
207
|
ungrouped,
|
|
219
|
-
uploadedBy,
|
|
220
208
|
options
|
|
221
209
|
);
|
|
222
210
|
return createRequestFunction(
|
|
@@ -247,16 +235,13 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, ba
|
|
|
247
235
|
return {
|
|
248
236
|
searchAttachments(requestParameters = {}, options) {
|
|
249
237
|
return localVarFp.searchAttachments(
|
|
250
|
-
requestParameters.displayName,
|
|
251
238
|
requestParameters.fieldSelector,
|
|
252
|
-
requestParameters.
|
|
239
|
+
requestParameters.keyword,
|
|
253
240
|
requestParameters.labelSelector,
|
|
254
241
|
requestParameters.page,
|
|
255
|
-
requestParameters.policy,
|
|
256
242
|
requestParameters.size,
|
|
257
243
|
requestParameters.sort,
|
|
258
244
|
requestParameters.ungrouped,
|
|
259
|
-
requestParameters.uploadedBy,
|
|
260
245
|
options
|
|
261
246
|
).then((request) => request(axios, basePath));
|
|
262
247
|
},
|
|
@@ -273,16 +258,13 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, ba
|
|
|
273
258
|
class ApiConsoleHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
274
259
|
searchAttachments(requestParameters = {}, options) {
|
|
275
260
|
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(
|
|
276
|
-
requestParameters.displayName,
|
|
277
261
|
requestParameters.fieldSelector,
|
|
278
|
-
requestParameters.
|
|
262
|
+
requestParameters.keyword,
|
|
279
263
|
requestParameters.labelSelector,
|
|
280
264
|
requestParameters.page,
|
|
281
|
-
requestParameters.policy,
|
|
282
265
|
requestParameters.size,
|
|
283
266
|
requestParameters.sort,
|
|
284
267
|
requestParameters.ungrouped,
|
|
285
|
-
requestParameters.uploadedBy,
|
|
286
268
|
options
|
|
287
269
|
).then((request) => request(this.axios, this.basePath));
|
|
288
270
|
}
|
|
@@ -526,7 +508,7 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
526
508
|
options: localVarRequestOptions
|
|
527
509
|
};
|
|
528
510
|
},
|
|
529
|
-
listComments: async (
|
|
511
|
+
listComments: async (fieldSelector, keyword, labelSelector, ownerKind, ownerName, page, size, sort, options = {}) => {
|
|
530
512
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments`;
|
|
531
513
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
532
514
|
let baseOptions;
|
|
@@ -542,18 +524,9 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
542
524
|
const localVarQueryParameter = {};
|
|
543
525
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
544
526
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
545
|
-
if (allowNotification !== void 0) {
|
|
546
|
-
localVarQueryParameter["allowNotification"] = allowNotification;
|
|
547
|
-
}
|
|
548
|
-
if (approved !== void 0) {
|
|
549
|
-
localVarQueryParameter["approved"] = approved;
|
|
550
|
-
}
|
|
551
527
|
if (fieldSelector) {
|
|
552
528
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
553
529
|
}
|
|
554
|
-
if (hidden !== void 0) {
|
|
555
|
-
localVarQueryParameter["hidden"] = hidden;
|
|
556
|
-
}
|
|
557
530
|
if (keyword !== void 0) {
|
|
558
531
|
localVarQueryParameter["keyword"] = keyword;
|
|
559
532
|
}
|
|
@@ -575,15 +548,6 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
|
|
|
575
548
|
if (sort) {
|
|
576
549
|
localVarQueryParameter["sort"] = Array.from(sort);
|
|
577
550
|
}
|
|
578
|
-
if (subjectKind !== void 0) {
|
|
579
|
-
localVarQueryParameter["subjectKind"] = subjectKind;
|
|
580
|
-
}
|
|
581
|
-
if (subjectName !== void 0) {
|
|
582
|
-
localVarQueryParameter["subjectName"] = subjectName;
|
|
583
|
-
}
|
|
584
|
-
if (top !== void 0) {
|
|
585
|
-
localVarQueryParameter["top"] = top;
|
|
586
|
-
}
|
|
587
551
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
588
552
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
589
553
|
localVarRequestOptions.headers = {
|
|
@@ -626,12 +590,9 @@ const ApiConsoleHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
626
590
|
configuration
|
|
627
591
|
);
|
|
628
592
|
},
|
|
629
|
-
async listComments(
|
|
593
|
+
async listComments(fieldSelector, keyword, labelSelector, ownerKind, ownerName, page, size, sort, options) {
|
|
630
594
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(
|
|
631
|
-
allowNotification,
|
|
632
|
-
approved,
|
|
633
595
|
fieldSelector,
|
|
634
|
-
hidden,
|
|
635
596
|
keyword,
|
|
636
597
|
labelSelector,
|
|
637
598
|
ownerKind,
|
|
@@ -639,9 +600,6 @@ const ApiConsoleHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
|
639
600
|
page,
|
|
640
601
|
size,
|
|
641
602
|
sort,
|
|
642
|
-
subjectKind,
|
|
643
|
-
subjectName,
|
|
644
|
-
top,
|
|
645
603
|
options
|
|
646
604
|
);
|
|
647
605
|
return createRequestFunction(
|
|
@@ -668,10 +626,7 @@ const ApiConsoleHaloRunV1alpha1CommentApiFactory = function(configuration, baseP
|
|
|
668
626
|
},
|
|
669
627
|
listComments(requestParameters = {}, options) {
|
|
670
628
|
return localVarFp.listComments(
|
|
671
|
-
requestParameters.allowNotification,
|
|
672
|
-
requestParameters.approved,
|
|
673
629
|
requestParameters.fieldSelector,
|
|
674
|
-
requestParameters.hidden,
|
|
675
630
|
requestParameters.keyword,
|
|
676
631
|
requestParameters.labelSelector,
|
|
677
632
|
requestParameters.ownerKind,
|
|
@@ -679,9 +634,6 @@ const ApiConsoleHaloRunV1alpha1CommentApiFactory = function(configuration, baseP
|
|
|
679
634
|
requestParameters.page,
|
|
680
635
|
requestParameters.size,
|
|
681
636
|
requestParameters.sort,
|
|
682
|
-
requestParameters.subjectKind,
|
|
683
|
-
requestParameters.subjectName,
|
|
684
|
-
requestParameters.top,
|
|
685
637
|
options
|
|
686
638
|
).then((request) => request(axios, basePath));
|
|
687
639
|
}
|
|
@@ -700,10 +652,7 @@ class ApiConsoleHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
700
652
|
}
|
|
701
653
|
listComments(requestParameters = {}, options) {
|
|
702
654
|
return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).listComments(
|
|
703
|
-
requestParameters.allowNotification,
|
|
704
|
-
requestParameters.approved,
|
|
705
655
|
requestParameters.fieldSelector,
|
|
706
|
-
requestParameters.hidden,
|
|
707
656
|
requestParameters.keyword,
|
|
708
657
|
requestParameters.labelSelector,
|
|
709
658
|
requestParameters.ownerKind,
|
|
@@ -711,9 +660,6 @@ class ApiConsoleHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
711
660
|
requestParameters.page,
|
|
712
661
|
requestParameters.size,
|
|
713
662
|
requestParameters.sort,
|
|
714
|
-
requestParameters.subjectKind,
|
|
715
|
-
requestParameters.subjectName,
|
|
716
|
-
requestParameters.top,
|
|
717
663
|
options
|
|
718
664
|
).then((request) => request(this.axios, this.basePath));
|
|
719
665
|
}
|
|
@@ -2294,7 +2240,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
2294
2240
|
|
|
2295
2241
|
const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
|
|
2296
2242
|
return {
|
|
2297
|
-
listReplies: async (commentName, fieldSelector, labelSelector, page, size, options = {}) => {
|
|
2243
|
+
listReplies: async (commentName, fieldSelector, labelSelector, page, size, sort, options = {}) => {
|
|
2298
2244
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/replies`;
|
|
2299
2245
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2300
2246
|
let baseOptions;
|
|
@@ -2325,6 +2271,9 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
2325
2271
|
if (size !== void 0) {
|
|
2326
2272
|
localVarQueryParameter["size"] = size;
|
|
2327
2273
|
}
|
|
2274
|
+
if (sort) {
|
|
2275
|
+
localVarQueryParameter["sort"] = Array.from(sort);
|
|
2276
|
+
}
|
|
2328
2277
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2329
2278
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2330
2279
|
localVarRequestOptions.headers = {
|
|
@@ -2342,13 +2291,14 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
2342
2291
|
const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
2343
2292
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator(configuration);
|
|
2344
2293
|
return {
|
|
2345
|
-
async listReplies(commentName, fieldSelector, labelSelector, page, size, options) {
|
|
2294
|
+
async listReplies(commentName, fieldSelector, labelSelector, page, size, sort, options) {
|
|
2346
2295
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(
|
|
2347
2296
|
commentName,
|
|
2348
2297
|
fieldSelector,
|
|
2349
2298
|
labelSelector,
|
|
2350
2299
|
page,
|
|
2351
2300
|
size,
|
|
2301
|
+
sort,
|
|
2352
2302
|
options
|
|
2353
2303
|
);
|
|
2354
2304
|
return createRequestFunction(
|
|
@@ -2370,6 +2320,7 @@ const ApiConsoleHaloRunV1alpha1ReplyApiFactory = function(configuration, basePat
|
|
|
2370
2320
|
requestParameters.labelSelector,
|
|
2371
2321
|
requestParameters.page,
|
|
2372
2322
|
requestParameters.size,
|
|
2323
|
+
requestParameters.sort,
|
|
2373
2324
|
options
|
|
2374
2325
|
).then((request) => request(axios, basePath));
|
|
2375
2326
|
}
|
|
@@ -2383,6 +2334,7 @@ class ApiConsoleHaloRunV1alpha1ReplyApi extends BaseAPI {
|
|
|
2383
2334
|
requestParameters.labelSelector,
|
|
2384
2335
|
requestParameters.page,
|
|
2385
2336
|
requestParameters.size,
|
|
2337
|
+
requestParameters.sort,
|
|
2386
2338
|
options
|
|
2387
2339
|
).then((request) => request(this.axios, this.basePath));
|
|
2388
2340
|
}
|
|
@@ -6181,6 +6133,45 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
6181
6133
|
options: localVarRequestOptions
|
|
6182
6134
|
};
|
|
6183
6135
|
},
|
|
6136
|
+
sendRegisterVerifyEmail: async (registerVerifyEmailRequest, options = {}) => {
|
|
6137
|
+
assertParamExists(
|
|
6138
|
+
"sendRegisterVerifyEmail",
|
|
6139
|
+
"registerVerifyEmailRequest",
|
|
6140
|
+
registerVerifyEmailRequest
|
|
6141
|
+
);
|
|
6142
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/users/-/send-register-verify-email`;
|
|
6143
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6144
|
+
let baseOptions;
|
|
6145
|
+
if (configuration) {
|
|
6146
|
+
baseOptions = configuration.baseOptions;
|
|
6147
|
+
}
|
|
6148
|
+
const localVarRequestOptions = {
|
|
6149
|
+
method: "POST",
|
|
6150
|
+
...baseOptions,
|
|
6151
|
+
...options
|
|
6152
|
+
};
|
|
6153
|
+
const localVarHeaderParameter = {};
|
|
6154
|
+
const localVarQueryParameter = {};
|
|
6155
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
6156
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
6157
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
6158
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6159
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6160
|
+
localVarRequestOptions.headers = {
|
|
6161
|
+
...localVarHeaderParameter,
|
|
6162
|
+
...headersFromBaseOptions,
|
|
6163
|
+
...options.headers
|
|
6164
|
+
};
|
|
6165
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
6166
|
+
registerVerifyEmailRequest,
|
|
6167
|
+
localVarRequestOptions,
|
|
6168
|
+
configuration
|
|
6169
|
+
);
|
|
6170
|
+
return {
|
|
6171
|
+
url: toPathString(localVarUrlObj),
|
|
6172
|
+
options: localVarRequestOptions
|
|
6173
|
+
};
|
|
6174
|
+
},
|
|
6184
6175
|
signUp: async (signUpRequest, options = {}) => {
|
|
6185
6176
|
assertParamExists("signUp", "signUpRequest", signUpRequest);
|
|
6186
6177
|
const localVarPath = `/apis/api.halo.run/v1alpha1/users/-/signup`;
|
|
@@ -6246,6 +6237,18 @@ const ApiHaloRunV1alpha1UserApiFp = function(configuration) {
|
|
|
6246
6237
|
configuration
|
|
6247
6238
|
);
|
|
6248
6239
|
},
|
|
6240
|
+
async sendRegisterVerifyEmail(registerVerifyEmailRequest, options) {
|
|
6241
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sendRegisterVerifyEmail(
|
|
6242
|
+
registerVerifyEmailRequest,
|
|
6243
|
+
options
|
|
6244
|
+
);
|
|
6245
|
+
return createRequestFunction(
|
|
6246
|
+
localVarAxiosArgs,
|
|
6247
|
+
globalAxios__default,
|
|
6248
|
+
BASE_PATH,
|
|
6249
|
+
configuration
|
|
6250
|
+
);
|
|
6251
|
+
},
|
|
6249
6252
|
async signUp(signUpRequest, options) {
|
|
6250
6253
|
const localVarAxiosArgs = await localVarAxiosParamCreator.signUp(
|
|
6251
6254
|
signUpRequest,
|
|
@@ -6276,6 +6279,12 @@ const ApiHaloRunV1alpha1UserApiFactory = function(configuration, basePath, axios
|
|
|
6276
6279
|
options
|
|
6277
6280
|
).then((request) => request(axios, basePath));
|
|
6278
6281
|
},
|
|
6282
|
+
sendRegisterVerifyEmail(requestParameters, options) {
|
|
6283
|
+
return localVarFp.sendRegisterVerifyEmail(
|
|
6284
|
+
requestParameters.registerVerifyEmailRequest,
|
|
6285
|
+
options
|
|
6286
|
+
).then((request) => request(axios, basePath));
|
|
6287
|
+
},
|
|
6279
6288
|
signUp(requestParameters, options) {
|
|
6280
6289
|
return localVarFp.signUp(requestParameters.signUpRequest, options).then((request) => request(axios, basePath));
|
|
6281
6290
|
}
|
|
@@ -6295,6 +6304,12 @@ class ApiHaloRunV1alpha1UserApi extends BaseAPI {
|
|
|
6295
6304
|
options
|
|
6296
6305
|
).then((request) => request(this.axios, this.basePath));
|
|
6297
6306
|
}
|
|
6307
|
+
sendRegisterVerifyEmail(requestParameters, options) {
|
|
6308
|
+
return ApiHaloRunV1alpha1UserApiFp(this.configuration).sendRegisterVerifyEmail(
|
|
6309
|
+
requestParameters.registerVerifyEmailRequest,
|
|
6310
|
+
options
|
|
6311
|
+
).then((request) => request(this.axios, this.basePath));
|
|
6312
|
+
}
|
|
6298
6313
|
signUp(requestParameters, options) {
|
|
6299
6314
|
return ApiHaloRunV1alpha1UserApiFp(this.configuration).signUp(requestParameters.signUpRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6300
6315
|
}
|
|
@@ -6368,7 +6383,7 @@ const ApiNotificationHaloRunV1alpha1NotificationApiAxiosParamCreator = function(
|
|
|
6368
6383
|
options: localVarRequestOptions
|
|
6369
6384
|
};
|
|
6370
6385
|
},
|
|
6371
|
-
listUserNotifications: async (username, fieldSelector, keyword, labelSelector, page,
|
|
6386
|
+
listUserNotifications: async (username, fieldSelector, keyword, labelSelector, page, size, sort, options = {}) => {
|
|
6372
6387
|
assertParamExists("listUserNotifications", "username", username);
|
|
6373
6388
|
const localVarPath = `/apis/api.notification.halo.run/v1alpha1/userspaces/{username}/notifications`.replace(
|
|
6374
6389
|
`{${"username"}}`,
|
|
@@ -6400,18 +6415,12 @@ const ApiNotificationHaloRunV1alpha1NotificationApiAxiosParamCreator = function(
|
|
|
6400
6415
|
if (page !== void 0) {
|
|
6401
6416
|
localVarQueryParameter["page"] = page;
|
|
6402
6417
|
}
|
|
6403
|
-
if (reason !== void 0) {
|
|
6404
|
-
localVarQueryParameter["reason"] = reason;
|
|
6405
|
-
}
|
|
6406
6418
|
if (size !== void 0) {
|
|
6407
6419
|
localVarQueryParameter["size"] = size;
|
|
6408
6420
|
}
|
|
6409
6421
|
if (sort) {
|
|
6410
6422
|
localVarQueryParameter["sort"] = Array.from(sort);
|
|
6411
6423
|
}
|
|
6412
|
-
if (unRead !== void 0) {
|
|
6413
|
-
localVarQueryParameter["unRead"] = unRead;
|
|
6414
|
-
}
|
|
6415
6424
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6416
6425
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6417
6426
|
localVarRequestOptions.headers = {
|
|
@@ -6571,17 +6580,15 @@ const ApiNotificationHaloRunV1alpha1NotificationApiFp = function(configuration)
|
|
|
6571
6580
|
configuration
|
|
6572
6581
|
);
|
|
6573
6582
|
},
|
|
6574
|
-
async listUserNotifications(username, fieldSelector, keyword, labelSelector, page,
|
|
6583
|
+
async listUserNotifications(username, fieldSelector, keyword, labelSelector, page, size, sort, options) {
|
|
6575
6584
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listUserNotifications(
|
|
6576
6585
|
username,
|
|
6577
6586
|
fieldSelector,
|
|
6578
6587
|
keyword,
|
|
6579
6588
|
labelSelector,
|
|
6580
6589
|
page,
|
|
6581
|
-
reason,
|
|
6582
6590
|
size,
|
|
6583
6591
|
sort,
|
|
6584
|
-
unRead,
|
|
6585
6592
|
options
|
|
6586
6593
|
);
|
|
6587
6594
|
return createRequestFunction(
|
|
@@ -6652,10 +6659,8 @@ const ApiNotificationHaloRunV1alpha1NotificationApiFactory = function(configurat
|
|
|
6652
6659
|
requestParameters.keyword,
|
|
6653
6660
|
requestParameters.labelSelector,
|
|
6654
6661
|
requestParameters.page,
|
|
6655
|
-
requestParameters.reason,
|
|
6656
6662
|
requestParameters.size,
|
|
6657
6663
|
requestParameters.sort,
|
|
6658
|
-
requestParameters.unRead,
|
|
6659
6664
|
options
|
|
6660
6665
|
).then((request) => request(axios, basePath));
|
|
6661
6666
|
},
|
|
@@ -6700,10 +6705,8 @@ class ApiNotificationHaloRunV1alpha1NotificationApi extends BaseAPI {
|
|
|
6700
6705
|
requestParameters.keyword,
|
|
6701
6706
|
requestParameters.labelSelector,
|
|
6702
6707
|
requestParameters.page,
|
|
6703
|
-
requestParameters.reason,
|
|
6704
6708
|
requestParameters.size,
|
|
6705
6709
|
requestParameters.sort,
|
|
6706
|
-
requestParameters.unRead,
|
|
6707
6710
|
options
|
|
6708
6711
|
).then((request) => request(this.axios, this.basePath));
|
|
6709
6712
|
}
|
|
@@ -20425,7 +20428,8 @@ const PluginStatusLastProbeStateEnum = {
|
|
|
20425
20428
|
Resolved: "RESOLVED",
|
|
20426
20429
|
Started: "STARTED",
|
|
20427
20430
|
Stopped: "STOPPED",
|
|
20428
|
-
Failed: "FAILED"
|
|
20431
|
+
Failed: "FAILED",
|
|
20432
|
+
Unloaded: "UNLOADED"
|
|
20429
20433
|
};
|
|
20430
20434
|
const PluginStatusPhaseEnum = {
|
|
20431
20435
|
Pending: "PENDING",
|