@halo-dev/api-client 0.0.21 → 0.0.23

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 CHANGED
@@ -75,11 +75,11 @@ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, config
75
75
  };
76
76
  };
77
77
 
78
- const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
78
+ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
79
79
  return {
80
80
  createComment: async (commentRequest, options = {}) => {
81
81
  assertParamExists("createComment", "commentRequest", commentRequest);
82
- const localVarPath = `/apis/api.halo.run/v1alpha1/comments`;
82
+ const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments`;
83
83
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
84
84
  let baseOptions;
85
85
  if (configuration) {
@@ -103,7 +103,7 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
103
103
  createReply: async (name, replyRequest, options = {}) => {
104
104
  assertParamExists("createReply", "name", name);
105
105
  assertParamExists("createReply", "replyRequest", replyRequest);
106
- const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}/reply`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
106
+ const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments/{name}/reply`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
107
107
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
108
108
  let baseOptions;
109
109
  if (configuration) {
@@ -124,8 +124,8 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
124
124
  options: localVarRequestOptions
125
125
  };
126
126
  },
127
- listComments: async (sort, keyword, hidden, top, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, sortOrder, size, page, labelSelector, fieldSelector, options = {}) => {
128
- const localVarPath = `/apis/api.halo.run/v1alpha1/comments`;
127
+ listComments: async (sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, options = {}) => {
128
+ const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments`;
129
129
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
130
130
  let baseOptions;
131
131
  if (configuration) {
@@ -139,14 +139,8 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
139
139
  if (sort !== void 0) {
140
140
  localVarQueryParameter["sort"] = sort;
141
141
  }
142
- if (keyword !== void 0) {
143
- localVarQueryParameter["keyword"] = keyword;
144
- }
145
- if (hidden !== void 0) {
146
- localVarQueryParameter["hidden"] = hidden;
147
- }
148
- if (top !== void 0) {
149
- localVarQueryParameter["top"] = top;
142
+ if (sortOrder !== void 0) {
143
+ localVarQueryParameter["sortOrder"] = sortOrder;
150
144
  }
151
145
  if (approved !== void 0) {
152
146
  localVarQueryParameter["approved"] = approved;
@@ -166,21 +160,27 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
166
160
  if (subjectName !== void 0) {
167
161
  localVarQueryParameter["subjectName"] = subjectName;
168
162
  }
169
- if (sortOrder !== void 0) {
170
- localVarQueryParameter["sortOrder"] = sortOrder;
163
+ if (keyword !== void 0) {
164
+ localVarQueryParameter["keyword"] = keyword;
165
+ }
166
+ if (hidden !== void 0) {
167
+ localVarQueryParameter["hidden"] = hidden;
168
+ }
169
+ if (top !== void 0) {
170
+ localVarQueryParameter["top"] = top;
171
171
  }
172
172
  if (size !== void 0) {
173
173
  localVarQueryParameter["size"] = size;
174
174
  }
175
- if (page !== void 0) {
176
- localVarQueryParameter["page"] = page;
177
- }
178
175
  if (labelSelector) {
179
176
  localVarQueryParameter["labelSelector"] = labelSelector;
180
177
  }
181
178
  if (fieldSelector) {
182
179
  localVarQueryParameter["fieldSelector"] = fieldSelector;
183
180
  }
181
+ if (page !== void 0) {
182
+ localVarQueryParameter["page"] = page;
183
+ }
184
184
  setSearchParams(localVarUrlObj, localVarQueryParameter);
185
185
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
186
186
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -191,8 +191,8 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
191
191
  }
192
192
  };
193
193
  };
194
- const ApiHaloRunV1alpha1CommentApiFp = function(configuration) {
195
- const localVarAxiosParamCreator = ApiHaloRunV1alpha1CommentApiAxiosParamCreator(configuration);
194
+ const ApiConsoleHaloRunV1alpha1CommentApiFp = function(configuration) {
195
+ const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator(configuration);
196
196
  return {
197
197
  async createComment(commentRequest, options) {
198
198
  const localVarAxiosArgs = await localVarAxiosParamCreator.createComment(commentRequest, options);
@@ -202,14 +202,14 @@ const ApiHaloRunV1alpha1CommentApiFp = function(configuration) {
202
202
  const localVarAxiosArgs = await localVarAxiosParamCreator.createReply(name, replyRequest, options);
203
203
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
204
204
  },
205
- async listComments(sort, keyword, hidden, top, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, sortOrder, size, page, labelSelector, fieldSelector, options) {
206
- const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, keyword, hidden, top, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, sortOrder, size, page, labelSelector, fieldSelector, options);
205
+ async listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, options) {
206
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, options);
207
207
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
208
208
  }
209
209
  };
210
210
  };
211
- const ApiHaloRunV1alpha1CommentApiFactory = function(configuration, basePath, axios) {
212
- const localVarFp = ApiHaloRunV1alpha1CommentApiFp(configuration);
211
+ const ApiConsoleHaloRunV1alpha1CommentApiFactory = function(configuration, basePath, axios) {
212
+ const localVarFp = ApiConsoleHaloRunV1alpha1CommentApiFp(configuration);
213
213
  return {
214
214
  createComment(commentRequest, options) {
215
215
  return localVarFp.createComment(commentRequest, options).then((request) => request(axios, basePath));
@@ -217,28 +217,28 @@ const ApiHaloRunV1alpha1CommentApiFactory = function(configuration, basePath, ax
217
217
  createReply(name, replyRequest, options) {
218
218
  return localVarFp.createReply(name, replyRequest, options).then((request) => request(axios, basePath));
219
219
  },
220
- listComments(sort, keyword, hidden, top, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, sortOrder, size, page, labelSelector, fieldSelector, options) {
221
- return localVarFp.listComments(sort, keyword, hidden, top, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, sortOrder, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
220
+ listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, options) {
221
+ return localVarFp.listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
222
222
  }
223
223
  };
224
224
  };
225
- class ApiHaloRunV1alpha1CommentApi extends BaseAPI {
225
+ class ApiConsoleHaloRunV1alpha1CommentApi extends BaseAPI {
226
226
  createComment(requestParameters, options) {
227
- return ApiHaloRunV1alpha1CommentApiFp(this.configuration).createComment(requestParameters.commentRequest, options).then((request) => request(this.axios, this.basePath));
227
+ return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).createComment(requestParameters.commentRequest, options).then((request) => request(this.axios, this.basePath));
228
228
  }
229
229
  createReply(requestParameters, options) {
230
- return ApiHaloRunV1alpha1CommentApiFp(this.configuration).createReply(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(this.axios, this.basePath));
230
+ return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).createReply(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(this.axios, this.basePath));
231
231
  }
232
232
  listComments(requestParameters = {}, options) {
233
- return ApiHaloRunV1alpha1CommentApiFp(this.configuration).listComments(requestParameters.sort, requestParameters.keyword, requestParameters.hidden, requestParameters.top, requestParameters.approved, requestParameters.allowNotification, requestParameters.ownerKind, requestParameters.ownerName, requestParameters.subjectKind, requestParameters.subjectName, requestParameters.sortOrder, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
233
+ return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).listComments(requestParameters.sort, requestParameters.sortOrder, requestParameters.approved, requestParameters.allowNotification, requestParameters.ownerKind, requestParameters.ownerName, requestParameters.subjectKind, requestParameters.subjectName, requestParameters.keyword, requestParameters.hidden, requestParameters.top, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
234
234
  }
235
235
  }
236
236
 
237
- const ApiHaloRunV1alpha1ContentApiAxiosParamCreator = function(configuration) {
237
+ const ApiConsoleHaloRunV1alpha1ContentApiAxiosParamCreator = function(configuration) {
238
238
  return {
239
239
  draftSnapshotContent: async (contentRequest, options = {}) => {
240
240
  assertParamExists("draftSnapshotContent", "contentRequest", contentRequest);
241
- const localVarPath = `/apis/api.halo.run/v1alpha1/contents`;
241
+ const localVarPath = `/apis/api.console.halo.run/v1alpha1/contents`;
242
242
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
243
243
  let baseOptions;
244
244
  if (configuration) {
@@ -261,7 +261,7 @@ const ApiHaloRunV1alpha1ContentApiAxiosParamCreator = function(configuration) {
261
261
  },
262
262
  obtainSnapshotContent: async (snapshotName, options = {}) => {
263
263
  assertParamExists("obtainSnapshotContent", "snapshotName", snapshotName);
264
- const localVarPath = `/apis/api.halo.run/v1alpha1/contents/{snapshotName}`.replace(`{${"snapshotName"}}`, encodeURIComponent(String(snapshotName)));
264
+ const localVarPath = `/apis/api.console.halo.run/v1alpha1/contents/{snapshotName}`.replace(`{${"snapshotName"}}`, encodeURIComponent(String(snapshotName)));
265
265
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
266
266
  let baseOptions;
267
267
  if (configuration) {
@@ -283,7 +283,7 @@ const ApiHaloRunV1alpha1ContentApiAxiosParamCreator = function(configuration) {
283
283
  publishSnapshotContent: async (snapshotName, subjectRef, options = {}) => {
284
284
  assertParamExists("publishSnapshotContent", "snapshotName", snapshotName);
285
285
  assertParamExists("publishSnapshotContent", "subjectRef", subjectRef);
286
- const localVarPath = `/apis/api.halo.run/v1alpha1/contents/{snapshotName}/publish`.replace(`{${"snapshotName"}}`, encodeURIComponent(String(snapshotName)));
286
+ const localVarPath = `/apis/api.console.halo.run/v1alpha1/contents/{snapshotName}/publish`.replace(`{${"snapshotName"}}`, encodeURIComponent(String(snapshotName)));
287
287
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
288
288
  let baseOptions;
289
289
  if (configuration) {
@@ -307,7 +307,7 @@ const ApiHaloRunV1alpha1ContentApiAxiosParamCreator = function(configuration) {
307
307
  updateSnapshotContent: async (snapshotName, contentRequest, options = {}) => {
308
308
  assertParamExists("updateSnapshotContent", "snapshotName", snapshotName);
309
309
  assertParamExists("updateSnapshotContent", "contentRequest", contentRequest);
310
- const localVarPath = `/apis/api.halo.run/v1alpha1/contents/{snapshotName}`.replace(`{${"snapshotName"}}`, encodeURIComponent(String(snapshotName)));
310
+ const localVarPath = `/apis/api.console.halo.run/v1alpha1/contents/{snapshotName}`.replace(`{${"snapshotName"}}`, encodeURIComponent(String(snapshotName)));
311
311
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
312
312
  let baseOptions;
313
313
  if (configuration) {
@@ -330,8 +330,8 @@ const ApiHaloRunV1alpha1ContentApiAxiosParamCreator = function(configuration) {
330
330
  }
331
331
  };
332
332
  };
333
- const ApiHaloRunV1alpha1ContentApiFp = function(configuration) {
334
- const localVarAxiosParamCreator = ApiHaloRunV1alpha1ContentApiAxiosParamCreator(configuration);
333
+ const ApiConsoleHaloRunV1alpha1ContentApiFp = function(configuration) {
334
+ const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ContentApiAxiosParamCreator(configuration);
335
335
  return {
336
336
  async draftSnapshotContent(contentRequest, options) {
337
337
  const localVarAxiosArgs = await localVarAxiosParamCreator.draftSnapshotContent(contentRequest, options);
@@ -351,8 +351,8 @@ const ApiHaloRunV1alpha1ContentApiFp = function(configuration) {
351
351
  }
352
352
  };
353
353
  };
354
- const ApiHaloRunV1alpha1ContentApiFactory = function(configuration, basePath, axios) {
355
- const localVarFp = ApiHaloRunV1alpha1ContentApiFp(configuration);
354
+ const ApiConsoleHaloRunV1alpha1ContentApiFactory = function(configuration, basePath, axios) {
355
+ const localVarFp = ApiConsoleHaloRunV1alpha1ContentApiFp(configuration);
356
356
  return {
357
357
  draftSnapshotContent(contentRequest, options) {
358
358
  return localVarFp.draftSnapshotContent(contentRequest, options).then((request) => request(axios, basePath));
@@ -368,26 +368,26 @@ const ApiHaloRunV1alpha1ContentApiFactory = function(configuration, basePath, ax
368
368
  }
369
369
  };
370
370
  };
371
- class ApiHaloRunV1alpha1ContentApi extends BaseAPI {
371
+ class ApiConsoleHaloRunV1alpha1ContentApi extends BaseAPI {
372
372
  draftSnapshotContent(requestParameters, options) {
373
- return ApiHaloRunV1alpha1ContentApiFp(this.configuration).draftSnapshotContent(requestParameters.contentRequest, options).then((request) => request(this.axios, this.basePath));
373
+ return ApiConsoleHaloRunV1alpha1ContentApiFp(this.configuration).draftSnapshotContent(requestParameters.contentRequest, options).then((request) => request(this.axios, this.basePath));
374
374
  }
375
375
  obtainSnapshotContent(requestParameters, options) {
376
- return ApiHaloRunV1alpha1ContentApiFp(this.configuration).obtainSnapshotContent(requestParameters.snapshotName, options).then((request) => request(this.axios, this.basePath));
376
+ return ApiConsoleHaloRunV1alpha1ContentApiFp(this.configuration).obtainSnapshotContent(requestParameters.snapshotName, options).then((request) => request(this.axios, this.basePath));
377
377
  }
378
378
  publishSnapshotContent(requestParameters, options) {
379
- return ApiHaloRunV1alpha1ContentApiFp(this.configuration).publishSnapshotContent(requestParameters.snapshotName, requestParameters.subjectRef, options).then((request) => request(this.axios, this.basePath));
379
+ return ApiConsoleHaloRunV1alpha1ContentApiFp(this.configuration).publishSnapshotContent(requestParameters.snapshotName, requestParameters.subjectRef, options).then((request) => request(this.axios, this.basePath));
380
380
  }
381
381
  updateSnapshotContent(requestParameters, options) {
382
- return ApiHaloRunV1alpha1ContentApiFp(this.configuration).updateSnapshotContent(requestParameters.snapshotName, requestParameters.contentRequest, options).then((request) => request(this.axios, this.basePath));
382
+ return ApiConsoleHaloRunV1alpha1ContentApiFp(this.configuration).updateSnapshotContent(requestParameters.snapshotName, requestParameters.contentRequest, options).then((request) => request(this.axios, this.basePath));
383
383
  }
384
384
  }
385
385
 
386
- const ApiHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
386
+ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
387
387
  return {
388
388
  installPlugin: async (file, options = {}) => {
389
389
  assertParamExists("installPlugin", "file", file);
390
- const localVarPath = `/apis/api.halo.run/v1alpha1/plugins/install`;
390
+ const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/install`;
391
391
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
392
392
  let baseOptions;
393
393
  if (configuration) {
@@ -414,8 +414,8 @@ const ApiHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
414
414
  }
415
415
  };
416
416
  };
417
- const ApiHaloRunV1alpha1PluginApiFp = function(configuration) {
418
- const localVarAxiosParamCreator = ApiHaloRunV1alpha1PluginApiAxiosParamCreator(configuration);
417
+ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
418
+ const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator(configuration);
419
419
  return {
420
420
  async installPlugin(file, options) {
421
421
  const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
@@ -423,25 +423,25 @@ const ApiHaloRunV1alpha1PluginApiFp = function(configuration) {
423
423
  }
424
424
  };
425
425
  };
426
- const ApiHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
427
- const localVarFp = ApiHaloRunV1alpha1PluginApiFp(configuration);
426
+ const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
427
+ const localVarFp = ApiConsoleHaloRunV1alpha1PluginApiFp(configuration);
428
428
  return {
429
429
  installPlugin(file, options) {
430
430
  return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
431
431
  }
432
432
  };
433
433
  };
434
- class ApiHaloRunV1alpha1PluginApi extends BaseAPI {
434
+ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
435
435
  installPlugin(requestParameters, options) {
436
- return ApiHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
436
+ return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
437
437
  }
438
438
  }
439
439
 
440
- const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
440
+ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
441
441
  return {
442
442
  draftPost: async (postRequest, options = {}) => {
443
443
  assertParamExists("draftPost", "postRequest", postRequest);
444
- const localVarPath = `/apis/api.halo.run/v1alpha1/posts`;
444
+ const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
445
445
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
446
446
  let baseOptions;
447
447
  if (configuration) {
@@ -462,8 +462,8 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
462
462
  options: localVarRequestOptions
463
463
  };
464
464
  },
465
- listPosts: async (tags, categories, contributors, size, page, labelSelector, fieldSelector, options = {}) => {
466
- const localVarPath = `/apis/api.halo.run/v1alpha1/posts`;
465
+ listPosts: async (contributors, categories, tags, size, labelSelector, fieldSelector, page, options = {}) => {
466
+ const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
467
467
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
468
468
  let baseOptions;
469
469
  if (configuration) {
@@ -474,27 +474,27 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
474
474
  const localVarQueryParameter = {};
475
475
  setBasicAuthToObject(localVarRequestOptions, configuration);
476
476
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
477
- if (tags) {
478
- localVarQueryParameter["tags"] = Array.from(tags);
477
+ if (contributors) {
478
+ localVarQueryParameter["contributors"] = Array.from(contributors);
479
479
  }
480
480
  if (categories) {
481
481
  localVarQueryParameter["categories"] = Array.from(categories);
482
482
  }
483
- if (contributors) {
484
- localVarQueryParameter["contributors"] = Array.from(contributors);
483
+ if (tags) {
484
+ localVarQueryParameter["tags"] = Array.from(tags);
485
485
  }
486
486
  if (size !== void 0) {
487
487
  localVarQueryParameter["size"] = size;
488
488
  }
489
- if (page !== void 0) {
490
- localVarQueryParameter["page"] = page;
491
- }
492
489
  if (labelSelector) {
493
490
  localVarQueryParameter["labelSelector"] = labelSelector;
494
491
  }
495
492
  if (fieldSelector) {
496
493
  localVarQueryParameter["fieldSelector"] = fieldSelector;
497
494
  }
495
+ if (page !== void 0) {
496
+ localVarQueryParameter["page"] = page;
497
+ }
498
498
  setSearchParams(localVarUrlObj, localVarQueryParameter);
499
499
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
500
500
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -505,7 +505,7 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
505
505
  },
506
506
  publishPost: async (name, options = {}) => {
507
507
  assertParamExists("publishPost", "name", name);
508
- const localVarPath = `/apis/api.halo.run/v1alpha1/posts/{name}/publish`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
508
+ const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/publish`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
509
509
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
510
510
  let baseOptions;
511
511
  if (configuration) {
@@ -527,7 +527,7 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
527
527
  updateDraftPost: async (name, postRequest, options = {}) => {
528
528
  assertParamExists("updateDraftPost", "name", name);
529
529
  assertParamExists("updateDraftPost", "postRequest", postRequest);
530
- const localVarPath = `/apis/api.halo.run/v1alpha1/posts/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
530
+ const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
531
531
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
532
532
  let baseOptions;
533
533
  if (configuration) {
@@ -550,15 +550,15 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
550
550
  }
551
551
  };
552
552
  };
553
- const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
554
- const localVarAxiosParamCreator = ApiHaloRunV1alpha1PostApiAxiosParamCreator(configuration);
553
+ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
554
+ const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator(configuration);
555
555
  return {
556
556
  async draftPost(postRequest, options) {
557
557
  const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
558
558
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
559
559
  },
560
- async listPosts(tags, categories, contributors, size, page, labelSelector, fieldSelector, options) {
561
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(tags, categories, contributors, size, page, labelSelector, fieldSelector, options);
560
+ async listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options) {
561
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options);
562
562
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
563
563
  },
564
564
  async publishPost(name, options) {
@@ -571,14 +571,14 @@ const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
571
571
  }
572
572
  };
573
573
  };
574
- const ApiHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
575
- const localVarFp = ApiHaloRunV1alpha1PostApiFp(configuration);
574
+ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
575
+ const localVarFp = ApiConsoleHaloRunV1alpha1PostApiFp(configuration);
576
576
  return {
577
577
  draftPost(postRequest, options) {
578
578
  return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
579
579
  },
580
- listPosts(tags, categories, contributors, size, page, labelSelector, fieldSelector, options) {
581
- return localVarFp.listPosts(tags, categories, contributors, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
580
+ listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options) {
581
+ return localVarFp.listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
582
582
  },
583
583
  publishPost(name, options) {
584
584
  return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
@@ -588,26 +588,88 @@ const ApiHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios
588
588
  }
589
589
  };
590
590
  };
591
- class ApiHaloRunV1alpha1PostApi extends BaseAPI {
591
+ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
592
592
  draftPost(requestParameters, options) {
593
- return ApiHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
593
+ return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
594
594
  }
595
595
  listPosts(requestParameters = {}, options) {
596
- return ApiHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.tags, requestParameters.categories, requestParameters.contributors, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
596
+ return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.contributors, requestParameters.categories, requestParameters.tags, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
597
597
  }
598
598
  publishPost(requestParameters, options) {
599
- return ApiHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
599
+ return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
600
600
  }
601
601
  updateDraftPost(requestParameters, options) {
602
- return ApiHaloRunV1alpha1PostApiFp(this.configuration).updateDraftPost(requestParameters.name, requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
602
+ return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).updateDraftPost(requestParameters.name, requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
603
603
  }
604
604
  }
605
605
 
606
- const ApiHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configuration) {
606
+ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
607
+ return {
608
+ listReplies: async (commentName, size, labelSelector, fieldSelector, page, options = {}) => {
609
+ const localVarPath = `/apis/api.console.halo.run/v1alpha1/replies`;
610
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
611
+ let baseOptions;
612
+ if (configuration) {
613
+ baseOptions = configuration.baseOptions;
614
+ }
615
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
616
+ const localVarHeaderParameter = {};
617
+ const localVarQueryParameter = {};
618
+ setBasicAuthToObject(localVarRequestOptions, configuration);
619
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
620
+ if (commentName !== void 0) {
621
+ localVarQueryParameter["commentName"] = commentName;
622
+ }
623
+ if (size !== void 0) {
624
+ localVarQueryParameter["size"] = size;
625
+ }
626
+ if (labelSelector) {
627
+ localVarQueryParameter["labelSelector"] = labelSelector;
628
+ }
629
+ if (fieldSelector) {
630
+ localVarQueryParameter["fieldSelector"] = fieldSelector;
631
+ }
632
+ if (page !== void 0) {
633
+ localVarQueryParameter["page"] = page;
634
+ }
635
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
636
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
637
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
638
+ return {
639
+ url: toPathString(localVarUrlObj),
640
+ options: localVarRequestOptions
641
+ };
642
+ }
643
+ };
644
+ };
645
+ const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
646
+ const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator(configuration);
647
+ return {
648
+ async listReplies(commentName, size, labelSelector, fieldSelector, page, options) {
649
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, labelSelector, fieldSelector, page, options);
650
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
651
+ }
652
+ };
653
+ };
654
+ const ApiConsoleHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
655
+ const localVarFp = ApiConsoleHaloRunV1alpha1ReplyApiFp(configuration);
656
+ return {
657
+ listReplies(commentName, size, labelSelector, fieldSelector, page, options) {
658
+ return localVarFp.listReplies(commentName, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
659
+ }
660
+ };
661
+ };
662
+ class ApiConsoleHaloRunV1alpha1ReplyApi extends BaseAPI {
663
+ listReplies(requestParameters = {}, options) {
664
+ return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
665
+ }
666
+ }
667
+
668
+ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configuration) {
607
669
  return {
608
670
  draftSinglePage: async (singlePageRequest, options = {}) => {
609
671
  assertParamExists("draftSinglePage", "singlePageRequest", singlePageRequest);
610
- const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages`;
672
+ const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
611
673
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
612
674
  let baseOptions;
613
675
  if (configuration) {
@@ -628,8 +690,8 @@ const ApiHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configuration)
628
690
  options: localVarRequestOptions
629
691
  };
630
692
  },
631
- listSinglePages: async (contributors, size, page, labelSelector, fieldSelector, options = {}) => {
632
- const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages`;
693
+ listSinglePages: async (contributors, size, labelSelector, fieldSelector, page, options = {}) => {
694
+ const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
633
695
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
634
696
  let baseOptions;
635
697
  if (configuration) {
@@ -646,15 +708,15 @@ const ApiHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configuration)
646
708
  if (size !== void 0) {
647
709
  localVarQueryParameter["size"] = size;
648
710
  }
649
- if (page !== void 0) {
650
- localVarQueryParameter["page"] = page;
651
- }
652
711
  if (labelSelector) {
653
712
  localVarQueryParameter["labelSelector"] = labelSelector;
654
713
  }
655
714
  if (fieldSelector) {
656
715
  localVarQueryParameter["fieldSelector"] = fieldSelector;
657
716
  }
717
+ if (page !== void 0) {
718
+ localVarQueryParameter["page"] = page;
719
+ }
658
720
  setSearchParams(localVarUrlObj, localVarQueryParameter);
659
721
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
660
722
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -665,7 +727,7 @@ const ApiHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configuration)
665
727
  },
666
728
  publishSinglePage: async (name, options = {}) => {
667
729
  assertParamExists("publishSinglePage", "name", name);
668
- const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages/{name}/publish`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
730
+ const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}/publish`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
669
731
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
670
732
  let baseOptions;
671
733
  if (configuration) {
@@ -687,7 +749,7 @@ const ApiHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configuration)
687
749
  updateDraftSinglePage: async (name, singlePageRequest, options = {}) => {
688
750
  assertParamExists("updateDraftSinglePage", "name", name);
689
751
  assertParamExists("updateDraftSinglePage", "singlePageRequest", singlePageRequest);
690
- const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
752
+ const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
691
753
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
692
754
  let baseOptions;
693
755
  if (configuration) {
@@ -710,15 +772,15 @@ const ApiHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configuration)
710
772
  }
711
773
  };
712
774
  };
713
- const ApiHaloRunV1alpha1SinglePageApiFp = function(configuration) {
714
- const localVarAxiosParamCreator = ApiHaloRunV1alpha1SinglePageApiAxiosParamCreator(configuration);
775
+ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
776
+ const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator(configuration);
715
777
  return {
716
778
  async draftSinglePage(singlePageRequest, options) {
717
779
  const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
718
780
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
719
781
  },
720
- async listSinglePages(contributors, size, page, labelSelector, fieldSelector, options) {
721
- const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributors, size, page, labelSelector, fieldSelector, options);
782
+ async listSinglePages(contributors, size, labelSelector, fieldSelector, page, options) {
783
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributors, size, labelSelector, fieldSelector, page, options);
722
784
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
723
785
  },
724
786
  async publishSinglePage(name, options) {
@@ -731,14 +793,14 @@ const ApiHaloRunV1alpha1SinglePageApiFp = function(configuration) {
731
793
  }
732
794
  };
733
795
  };
734
- const ApiHaloRunV1alpha1SinglePageApiFactory = function(configuration, basePath, axios) {
735
- const localVarFp = ApiHaloRunV1alpha1SinglePageApiFp(configuration);
796
+ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, basePath, axios) {
797
+ const localVarFp = ApiConsoleHaloRunV1alpha1SinglePageApiFp(configuration);
736
798
  return {
737
799
  draftSinglePage(singlePageRequest, options) {
738
800
  return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
739
801
  },
740
- listSinglePages(contributors, size, page, labelSelector, fieldSelector, options) {
741
- return localVarFp.listSinglePages(contributors, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
802
+ listSinglePages(contributors, size, labelSelector, fieldSelector, page, options) {
803
+ return localVarFp.listSinglePages(contributors, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
742
804
  },
743
805
  publishSinglePage(name, options) {
744
806
  return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
@@ -748,26 +810,26 @@ const ApiHaloRunV1alpha1SinglePageApiFactory = function(configuration, basePath,
748
810
  }
749
811
  };
750
812
  };
751
- class ApiHaloRunV1alpha1SinglePageApi extends BaseAPI {
813
+ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
752
814
  draftSinglePage(requestParameters, options) {
753
- return ApiHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
815
+ return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
754
816
  }
755
817
  listSinglePages(requestParameters = {}, options) {
756
- return ApiHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.contributors, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
818
+ return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.contributors, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
757
819
  }
758
820
  publishSinglePage(requestParameters, options) {
759
- return ApiHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
821
+ return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
760
822
  }
761
823
  updateDraftSinglePage(requestParameters, options) {
762
- return ApiHaloRunV1alpha1SinglePageApiFp(this.configuration).updateDraftSinglePage(requestParameters.name, requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
824
+ return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).updateDraftSinglePage(requestParameters.name, requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
763
825
  }
764
826
  }
765
827
 
766
- const ApiHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
828
+ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
767
829
  return {
768
830
  installTheme: async (file, options = {}) => {
769
831
  assertParamExists("installTheme", "file", file);
770
- const localVarPath = `/apis/api.halo.run/v1alpha1/themes/install`;
832
+ const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/install`;
771
833
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
772
834
  let baseOptions;
773
835
  if (configuration) {
@@ -794,8 +856,8 @@ const ApiHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
794
856
  }
795
857
  };
796
858
  };
797
- const ApiHaloRunV1alpha1ThemeApiFp = function(configuration) {
798
- const localVarAxiosParamCreator = ApiHaloRunV1alpha1ThemeApiAxiosParamCreator(configuration);
859
+ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
860
+ const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator(configuration);
799
861
  return {
800
862
  async installTheme(file, options) {
801
863
  const localVarAxiosArgs = await localVarAxiosParamCreator.installTheme(file, options);
@@ -803,26 +865,26 @@ const ApiHaloRunV1alpha1ThemeApiFp = function(configuration) {
803
865
  }
804
866
  };
805
867
  };
806
- const ApiHaloRunV1alpha1ThemeApiFactory = function(configuration, basePath, axios) {
807
- const localVarFp = ApiHaloRunV1alpha1ThemeApiFp(configuration);
868
+ const ApiConsoleHaloRunV1alpha1ThemeApiFactory = function(configuration, basePath, axios) {
869
+ const localVarFp = ApiConsoleHaloRunV1alpha1ThemeApiFp(configuration);
808
870
  return {
809
871
  installTheme(file, options) {
810
872
  return localVarFp.installTheme(file, options).then((request) => request(axios, basePath));
811
873
  }
812
874
  };
813
875
  };
814
- class ApiHaloRunV1alpha1ThemeApi extends BaseAPI {
876
+ class ApiConsoleHaloRunV1alpha1ThemeApi extends BaseAPI {
815
877
  installTheme(requestParameters, options) {
816
- return ApiHaloRunV1alpha1ThemeApiFp(this.configuration).installTheme(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
878
+ return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).installTheme(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
817
879
  }
818
880
  }
819
881
 
820
- const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
882
+ const ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
821
883
  return {
822
884
  changePassword: async (name, changePasswordRequest, options = {}) => {
823
885
  assertParamExists("changePassword", "name", name);
824
886
  assertParamExists("changePassword", "changePasswordRequest", changePasswordRequest);
825
- const localVarPath = `/apis/api.halo.run/v1alpha1/users/{name}/password`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
887
+ const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}/password`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
826
888
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
827
889
  let baseOptions;
828
890
  if (configuration) {
@@ -844,7 +906,7 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
844
906
  };
845
907
  },
846
908
  getCurrentUserDetail: async (options = {}) => {
847
- const localVarPath = `/apis/api.halo.run/v1alpha1/users/-`;
909
+ const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/-`;
848
910
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
849
911
  let baseOptions;
850
912
  if (configuration) {
@@ -865,7 +927,7 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
865
927
  },
866
928
  getPermissions: async (name, options = {}) => {
867
929
  assertParamExists("getPermissions", "name", name);
868
- const localVarPath = `/apis/api.halo.run/v1alpha1/users/{name}/permissions`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
930
+ const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}/permissions`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
869
931
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
870
932
  let baseOptions;
871
933
  if (configuration) {
@@ -887,7 +949,7 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
887
949
  grantPermission: async (name, grantRequest, options = {}) => {
888
950
  assertParamExists("grantPermission", "name", name);
889
951
  assertParamExists("grantPermission", "grantRequest", grantRequest);
890
- const localVarPath = `/apis/api.halo.run/v1alpha1/users/{name}/permissions`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
952
+ const localVarPath = `/apis/api.console.halo.run/v1alpha1/users/{name}/permissions`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
891
953
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
892
954
  let baseOptions;
893
955
  if (configuration) {
@@ -910,8 +972,8 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
910
972
  }
911
973
  };
912
974
  };
913
- const ApiHaloRunV1alpha1UserApiFp = function(configuration) {
914
- const localVarAxiosParamCreator = ApiHaloRunV1alpha1UserApiAxiosParamCreator(configuration);
975
+ const ApiConsoleHaloRunV1alpha1UserApiFp = function(configuration) {
976
+ const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator(configuration);
915
977
  return {
916
978
  async changePassword(name, changePasswordRequest, options) {
917
979
  const localVarAxiosArgs = await localVarAxiosParamCreator.changePassword(name, changePasswordRequest, options);
@@ -931,8 +993,8 @@ const ApiHaloRunV1alpha1UserApiFp = function(configuration) {
931
993
  }
932
994
  };
933
995
  };
934
- const ApiHaloRunV1alpha1UserApiFactory = function(configuration, basePath, axios) {
935
- const localVarFp = ApiHaloRunV1alpha1UserApiFp(configuration);
996
+ const ApiConsoleHaloRunV1alpha1UserApiFactory = function(configuration, basePath, axios) {
997
+ const localVarFp = ApiConsoleHaloRunV1alpha1UserApiFp(configuration);
936
998
  return {
937
999
  changePassword(name, changePasswordRequest, options) {
938
1000
  return localVarFp.changePassword(name, changePasswordRequest, options).then((request) => request(axios, basePath));
@@ -948,18 +1010,18 @@ const ApiHaloRunV1alpha1UserApiFactory = function(configuration, basePath, axios
948
1010
  }
949
1011
  };
950
1012
  };
951
- class ApiHaloRunV1alpha1UserApi extends BaseAPI {
1013
+ class ApiConsoleHaloRunV1alpha1UserApi extends BaseAPI {
952
1014
  changePassword(requestParameters, options) {
953
- return ApiHaloRunV1alpha1UserApiFp(this.configuration).changePassword(requestParameters.name, requestParameters.changePasswordRequest, options).then((request) => request(this.axios, this.basePath));
1015
+ return ApiConsoleHaloRunV1alpha1UserApiFp(this.configuration).changePassword(requestParameters.name, requestParameters.changePasswordRequest, options).then((request) => request(this.axios, this.basePath));
954
1016
  }
955
1017
  getCurrentUserDetail(options) {
956
- return ApiHaloRunV1alpha1UserApiFp(this.configuration).getCurrentUserDetail(options).then((request) => request(this.axios, this.basePath));
1018
+ return ApiConsoleHaloRunV1alpha1UserApiFp(this.configuration).getCurrentUserDetail(options).then((request) => request(this.axios, this.basePath));
957
1019
  }
958
1020
  getPermissions(requestParameters, options) {
959
- return ApiHaloRunV1alpha1UserApiFp(this.configuration).getPermissions(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
1021
+ return ApiConsoleHaloRunV1alpha1UserApiFp(this.configuration).getPermissions(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
960
1022
  }
961
1023
  grantPermission(requestParameters, options) {
962
- return ApiHaloRunV1alpha1UserApiFp(this.configuration).grantPermission(requestParameters.name, requestParameters.grantRequest, options).then((request) => request(this.axios, this.basePath));
1024
+ return ApiConsoleHaloRunV1alpha1UserApiFp(this.configuration).grantPermission(requestParameters.name, requestParameters.grantRequest, options).then((request) => request(this.axios, this.basePath));
963
1025
  }
964
1026
  }
965
1027
 
@@ -2735,8 +2797,8 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
2735
2797
  options: localVarRequestOptions
2736
2798
  };
2737
2799
  },
2738
- searchAttachments: async (policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options = {}) => {
2739
- const localVarPath = `/apis/api.halo.run/v1alpha1/attachments`;
2800
+ searchAttachments: async (policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options = {}) => {
2801
+ const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments`;
2740
2802
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2741
2803
  let baseOptions;
2742
2804
  if (configuration) {
@@ -2753,24 +2815,24 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
2753
2815
  if (displayName !== void 0) {
2754
2816
  localVarQueryParameter["displayName"] = displayName;
2755
2817
  }
2756
- if (group !== void 0) {
2757
- localVarQueryParameter["group"] = group;
2758
- }
2759
2818
  if (uploadedBy !== void 0) {
2760
2819
  localVarQueryParameter["uploadedBy"] = uploadedBy;
2761
2820
  }
2821
+ if (group !== void 0) {
2822
+ localVarQueryParameter["group"] = group;
2823
+ }
2762
2824
  if (size !== void 0) {
2763
2825
  localVarQueryParameter["size"] = size;
2764
2826
  }
2765
- if (page !== void 0) {
2766
- localVarQueryParameter["page"] = page;
2767
- }
2768
2827
  if (labelSelector) {
2769
2828
  localVarQueryParameter["labelSelector"] = labelSelector;
2770
2829
  }
2771
2830
  if (fieldSelector) {
2772
2831
  localVarQueryParameter["fieldSelector"] = fieldSelector;
2773
2832
  }
2833
+ if (page !== void 0) {
2834
+ localVarQueryParameter["page"] = page;
2835
+ }
2774
2836
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2775
2837
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2776
2838
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -2805,7 +2867,7 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
2805
2867
  uploadAttachment: async (file, policyName, groupName, options = {}) => {
2806
2868
  assertParamExists("uploadAttachment", "file", file);
2807
2869
  assertParamExists("uploadAttachment", "policyName", policyName);
2808
- const localVarPath = `/apis/api.halo.run/v1alpha1/attachments/upload`;
2870
+ const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments/upload`;
2809
2871
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2810
2872
  let baseOptions;
2811
2873
  if (configuration) {
@@ -2857,8 +2919,8 @@ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
2857
2919
  const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options);
2858
2920
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2859
2921
  },
2860
- async searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
2861
- const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options);
2922
+ async searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
2923
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options);
2862
2924
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2863
2925
  },
2864
2926
  async updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
@@ -2886,8 +2948,8 @@ const StorageHaloRunV1alpha1AttachmentApiFactory = function(configuration, baseP
2886
2948
  liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
2887
2949
  return localVarFp.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
2888
2950
  },
2889
- searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
2890
- return localVarFp.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
2951
+ searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
2952
+ return localVarFp.searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
2891
2953
  },
2892
2954
  updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
2893
2955
  return localVarFp.updatestorageHaloRunV1alpha1Attachment(name, attachment, options).then((request) => request(axios, basePath));
@@ -2911,7 +2973,7 @@ class StorageHaloRunV1alpha1AttachmentApi extends BaseAPI {
2911
2973
  return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
2912
2974
  }
2913
2975
  searchAttachments(requestParameters = {}, options) {
2914
- return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.displayName, requestParameters.group, requestParameters.uploadedBy, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
2976
+ return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.displayName, requestParameters.uploadedBy, requestParameters.group, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
2915
2977
  }
2916
2978
  updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
2917
2979
  return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).updatestorageHaloRunV1alpha1Attachment(requestParameters.name, requestParameters.attachment, options).then((request) => request(this.axios, this.basePath));
@@ -5169,6 +5231,12 @@ class Configuration {
5169
5231
  }
5170
5232
  }
5171
5233
 
5234
+ const CompactPostVisibleEnum = {
5235
+ Public: "PUBLIC",
5236
+ Internal: "INTERNAL",
5237
+ Private: "PRIVATE"
5238
+ };
5239
+
5172
5240
  const ConditionStatusEnum = {
5173
5241
  True: "TRUE",
5174
5242
  False: "FALSE",
@@ -5196,34 +5264,39 @@ const SinglePageSpecVisibleEnum = {
5196
5264
  Private: "PRIVATE"
5197
5265
  };
5198
5266
 
5199
- exports.ApiHaloRunV1alpha1CommentApi = ApiHaloRunV1alpha1CommentApi;
5200
- exports.ApiHaloRunV1alpha1CommentApiAxiosParamCreator = ApiHaloRunV1alpha1CommentApiAxiosParamCreator;
5201
- exports.ApiHaloRunV1alpha1CommentApiFactory = ApiHaloRunV1alpha1CommentApiFactory;
5202
- exports.ApiHaloRunV1alpha1CommentApiFp = ApiHaloRunV1alpha1CommentApiFp;
5203
- exports.ApiHaloRunV1alpha1ContentApi = ApiHaloRunV1alpha1ContentApi;
5204
- exports.ApiHaloRunV1alpha1ContentApiAxiosParamCreator = ApiHaloRunV1alpha1ContentApiAxiosParamCreator;
5205
- exports.ApiHaloRunV1alpha1ContentApiFactory = ApiHaloRunV1alpha1ContentApiFactory;
5206
- exports.ApiHaloRunV1alpha1ContentApiFp = ApiHaloRunV1alpha1ContentApiFp;
5207
- exports.ApiHaloRunV1alpha1PluginApi = ApiHaloRunV1alpha1PluginApi;
5208
- exports.ApiHaloRunV1alpha1PluginApiAxiosParamCreator = ApiHaloRunV1alpha1PluginApiAxiosParamCreator;
5209
- exports.ApiHaloRunV1alpha1PluginApiFactory = ApiHaloRunV1alpha1PluginApiFactory;
5210
- exports.ApiHaloRunV1alpha1PluginApiFp = ApiHaloRunV1alpha1PluginApiFp;
5211
- exports.ApiHaloRunV1alpha1PostApi = ApiHaloRunV1alpha1PostApi;
5212
- exports.ApiHaloRunV1alpha1PostApiAxiosParamCreator = ApiHaloRunV1alpha1PostApiAxiosParamCreator;
5213
- exports.ApiHaloRunV1alpha1PostApiFactory = ApiHaloRunV1alpha1PostApiFactory;
5214
- exports.ApiHaloRunV1alpha1PostApiFp = ApiHaloRunV1alpha1PostApiFp;
5215
- exports.ApiHaloRunV1alpha1SinglePageApi = ApiHaloRunV1alpha1SinglePageApi;
5216
- exports.ApiHaloRunV1alpha1SinglePageApiAxiosParamCreator = ApiHaloRunV1alpha1SinglePageApiAxiosParamCreator;
5217
- exports.ApiHaloRunV1alpha1SinglePageApiFactory = ApiHaloRunV1alpha1SinglePageApiFactory;
5218
- exports.ApiHaloRunV1alpha1SinglePageApiFp = ApiHaloRunV1alpha1SinglePageApiFp;
5219
- exports.ApiHaloRunV1alpha1ThemeApi = ApiHaloRunV1alpha1ThemeApi;
5220
- exports.ApiHaloRunV1alpha1ThemeApiAxiosParamCreator = ApiHaloRunV1alpha1ThemeApiAxiosParamCreator;
5221
- exports.ApiHaloRunV1alpha1ThemeApiFactory = ApiHaloRunV1alpha1ThemeApiFactory;
5222
- exports.ApiHaloRunV1alpha1ThemeApiFp = ApiHaloRunV1alpha1ThemeApiFp;
5223
- exports.ApiHaloRunV1alpha1UserApi = ApiHaloRunV1alpha1UserApi;
5224
- exports.ApiHaloRunV1alpha1UserApiAxiosParamCreator = ApiHaloRunV1alpha1UserApiAxiosParamCreator;
5225
- exports.ApiHaloRunV1alpha1UserApiFactory = ApiHaloRunV1alpha1UserApiFactory;
5226
- exports.ApiHaloRunV1alpha1UserApiFp = ApiHaloRunV1alpha1UserApiFp;
5267
+ exports.ApiConsoleHaloRunV1alpha1CommentApi = ApiConsoleHaloRunV1alpha1CommentApi;
5268
+ exports.ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator;
5269
+ exports.ApiConsoleHaloRunV1alpha1CommentApiFactory = ApiConsoleHaloRunV1alpha1CommentApiFactory;
5270
+ exports.ApiConsoleHaloRunV1alpha1CommentApiFp = ApiConsoleHaloRunV1alpha1CommentApiFp;
5271
+ exports.ApiConsoleHaloRunV1alpha1ContentApi = ApiConsoleHaloRunV1alpha1ContentApi;
5272
+ exports.ApiConsoleHaloRunV1alpha1ContentApiAxiosParamCreator = ApiConsoleHaloRunV1alpha1ContentApiAxiosParamCreator;
5273
+ exports.ApiConsoleHaloRunV1alpha1ContentApiFactory = ApiConsoleHaloRunV1alpha1ContentApiFactory;
5274
+ exports.ApiConsoleHaloRunV1alpha1ContentApiFp = ApiConsoleHaloRunV1alpha1ContentApiFp;
5275
+ exports.ApiConsoleHaloRunV1alpha1PluginApi = ApiConsoleHaloRunV1alpha1PluginApi;
5276
+ exports.ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator;
5277
+ exports.ApiConsoleHaloRunV1alpha1PluginApiFactory = ApiConsoleHaloRunV1alpha1PluginApiFactory;
5278
+ exports.ApiConsoleHaloRunV1alpha1PluginApiFp = ApiConsoleHaloRunV1alpha1PluginApiFp;
5279
+ exports.ApiConsoleHaloRunV1alpha1PostApi = ApiConsoleHaloRunV1alpha1PostApi;
5280
+ exports.ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator;
5281
+ exports.ApiConsoleHaloRunV1alpha1PostApiFactory = ApiConsoleHaloRunV1alpha1PostApiFactory;
5282
+ exports.ApiConsoleHaloRunV1alpha1PostApiFp = ApiConsoleHaloRunV1alpha1PostApiFp;
5283
+ exports.ApiConsoleHaloRunV1alpha1ReplyApi = ApiConsoleHaloRunV1alpha1ReplyApi;
5284
+ exports.ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator;
5285
+ exports.ApiConsoleHaloRunV1alpha1ReplyApiFactory = ApiConsoleHaloRunV1alpha1ReplyApiFactory;
5286
+ exports.ApiConsoleHaloRunV1alpha1ReplyApiFp = ApiConsoleHaloRunV1alpha1ReplyApiFp;
5287
+ exports.ApiConsoleHaloRunV1alpha1SinglePageApi = ApiConsoleHaloRunV1alpha1SinglePageApi;
5288
+ exports.ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator;
5289
+ exports.ApiConsoleHaloRunV1alpha1SinglePageApiFactory = ApiConsoleHaloRunV1alpha1SinglePageApiFactory;
5290
+ exports.ApiConsoleHaloRunV1alpha1SinglePageApiFp = ApiConsoleHaloRunV1alpha1SinglePageApiFp;
5291
+ exports.ApiConsoleHaloRunV1alpha1ThemeApi = ApiConsoleHaloRunV1alpha1ThemeApi;
5292
+ exports.ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator;
5293
+ exports.ApiConsoleHaloRunV1alpha1ThemeApiFactory = ApiConsoleHaloRunV1alpha1ThemeApiFactory;
5294
+ exports.ApiConsoleHaloRunV1alpha1ThemeApiFp = ApiConsoleHaloRunV1alpha1ThemeApiFp;
5295
+ exports.ApiConsoleHaloRunV1alpha1UserApi = ApiConsoleHaloRunV1alpha1UserApi;
5296
+ exports.ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator = ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator;
5297
+ exports.ApiConsoleHaloRunV1alpha1UserApiFactory = ApiConsoleHaloRunV1alpha1UserApiFactory;
5298
+ exports.ApiConsoleHaloRunV1alpha1UserApiFp = ApiConsoleHaloRunV1alpha1UserApiFp;
5299
+ exports.CompactPostVisibleEnum = CompactPostVisibleEnum;
5227
5300
  exports.ConditionStatusEnum = ConditionStatusEnum;
5228
5301
  exports.Configuration = Configuration;
5229
5302
  exports.ContentHaloRunV1alpha1CategoryApi = ContentHaloRunV1alpha1CategoryApi;