@halo-dev/api-client 0.0.18 → 0.0.19
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 +124 -103
- package/dist/index.d.ts +232 -205
- package/dist/index.mjs +121 -104
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -295,29 +295,6 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
295
295
|
options: localVarRequestOptions
|
|
296
296
|
};
|
|
297
297
|
},
|
|
298
|
-
draftSinglePage: async (singlePageRequest, options = {}) => {
|
|
299
|
-
assertParamExists("draftSinglePage", "singlePageRequest", singlePageRequest);
|
|
300
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages`;
|
|
301
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
302
|
-
let baseOptions;
|
|
303
|
-
if (configuration) {
|
|
304
|
-
baseOptions = configuration.baseOptions;
|
|
305
|
-
}
|
|
306
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
307
|
-
const localVarHeaderParameter = {};
|
|
308
|
-
const localVarQueryParameter = {};
|
|
309
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
310
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
311
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
312
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
313
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
314
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
315
|
-
localVarRequestOptions.data = serializeDataIfNeeded(singlePageRequest, localVarRequestOptions, configuration);
|
|
316
|
-
return {
|
|
317
|
-
url: toPathString(localVarUrlObj),
|
|
318
|
-
options: localVarRequestOptions
|
|
319
|
-
};
|
|
320
|
-
},
|
|
321
298
|
listPosts: async (contributors, categories, tags, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
322
299
|
const localVarPath = `/apis/api.halo.run/v1alpha1/posts`;
|
|
323
300
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -359,33 +336,19 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
359
336
|
options: localVarRequestOptions
|
|
360
337
|
};
|
|
361
338
|
},
|
|
362
|
-
|
|
363
|
-
|
|
339
|
+
publishPost: async (name, options = {}) => {
|
|
340
|
+
assertParamExists("publishPost", "name", name);
|
|
341
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/posts/{name}/publish`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
364
342
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
365
343
|
let baseOptions;
|
|
366
344
|
if (configuration) {
|
|
367
345
|
baseOptions = configuration.baseOptions;
|
|
368
346
|
}
|
|
369
|
-
const localVarRequestOptions = { method: "
|
|
347
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
370
348
|
const localVarHeaderParameter = {};
|
|
371
349
|
const localVarQueryParameter = {};
|
|
372
350
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
373
351
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
374
|
-
if (contributors) {
|
|
375
|
-
localVarQueryParameter["contributors"] = Array.from(contributors);
|
|
376
|
-
}
|
|
377
|
-
if (size !== void 0) {
|
|
378
|
-
localVarQueryParameter["size"] = size;
|
|
379
|
-
}
|
|
380
|
-
if (labelSelector) {
|
|
381
|
-
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
382
|
-
}
|
|
383
|
-
if (fieldSelector) {
|
|
384
|
-
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
385
|
-
}
|
|
386
|
-
if (page !== void 0) {
|
|
387
|
-
localVarQueryParameter["page"] = page;
|
|
388
|
-
}
|
|
389
352
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
390
353
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
391
354
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -394,9 +357,10 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
394
357
|
options: localVarRequestOptions
|
|
395
358
|
};
|
|
396
359
|
},
|
|
397
|
-
|
|
398
|
-
assertParamExists("
|
|
399
|
-
|
|
360
|
+
updateDraftPost: async (name, postRequest, options = {}) => {
|
|
361
|
+
assertParamExists("updateDraftPost", "name", name);
|
|
362
|
+
assertParamExists("updateDraftPost", "postRequest", postRequest);
|
|
363
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/posts/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
400
364
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
401
365
|
let baseOptions;
|
|
402
366
|
if (configuration) {
|
|
@@ -407,39 +371,134 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
407
371
|
const localVarQueryParameter = {};
|
|
408
372
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
409
373
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
374
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
410
375
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
411
376
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
412
377
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
378
|
+
localVarRequestOptions.data = serializeDataIfNeeded(postRequest, localVarRequestOptions, configuration);
|
|
413
379
|
return {
|
|
414
380
|
url: toPathString(localVarUrlObj),
|
|
415
381
|
options: localVarRequestOptions
|
|
416
382
|
};
|
|
383
|
+
}
|
|
384
|
+
};
|
|
385
|
+
};
|
|
386
|
+
const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
387
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1PostApiAxiosParamCreator(configuration);
|
|
388
|
+
return {
|
|
389
|
+
async draftPost(postRequest, options) {
|
|
390
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
391
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
417
392
|
},
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
393
|
+
async listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options) {
|
|
394
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options);
|
|
395
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
396
|
+
},
|
|
397
|
+
async publishPost(name, options) {
|
|
398
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.publishPost(name, options);
|
|
399
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
400
|
+
},
|
|
401
|
+
async updateDraftPost(name, postRequest, options) {
|
|
402
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDraftPost(name, postRequest, options);
|
|
403
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
404
|
+
}
|
|
405
|
+
};
|
|
406
|
+
};
|
|
407
|
+
const ApiHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
|
|
408
|
+
const localVarFp = ApiHaloRunV1alpha1PostApiFp(configuration);
|
|
409
|
+
return {
|
|
410
|
+
draftPost(postRequest, options) {
|
|
411
|
+
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
412
|
+
},
|
|
413
|
+
listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options) {
|
|
414
|
+
return localVarFp.listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
415
|
+
},
|
|
416
|
+
publishPost(name, options) {
|
|
417
|
+
return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
|
|
418
|
+
},
|
|
419
|
+
updateDraftPost(name, postRequest, options) {
|
|
420
|
+
return localVarFp.updateDraftPost(name, postRequest, options).then((request) => request(axios, basePath));
|
|
421
|
+
}
|
|
422
|
+
};
|
|
423
|
+
};
|
|
424
|
+
class ApiHaloRunV1alpha1PostApi extends BaseAPI {
|
|
425
|
+
draftPost(requestParameters, options) {
|
|
426
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
427
|
+
}
|
|
428
|
+
listPosts(requestParameters = {}, options) {
|
|
429
|
+
return ApiHaloRunV1alpha1PostApiFp(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));
|
|
430
|
+
}
|
|
431
|
+
publishPost(requestParameters, options) {
|
|
432
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
433
|
+
}
|
|
434
|
+
updateDraftPost(requestParameters, options) {
|
|
435
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).updateDraftPost(requestParameters.name, requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
const ApiHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configuration) {
|
|
440
|
+
return {
|
|
441
|
+
draftSinglePage: async (singlePageRequest, options = {}) => {
|
|
442
|
+
assertParamExists("draftSinglePage", "singlePageRequest", singlePageRequest);
|
|
443
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages`;
|
|
421
444
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
422
445
|
let baseOptions;
|
|
423
446
|
if (configuration) {
|
|
424
447
|
baseOptions = configuration.baseOptions;
|
|
425
448
|
}
|
|
426
|
-
const localVarRequestOptions = { method: "
|
|
449
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
427
450
|
const localVarHeaderParameter = {};
|
|
428
451
|
const localVarQueryParameter = {};
|
|
429
452
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
430
453
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
454
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
431
455
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
432
456
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
433
457
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
458
|
+
localVarRequestOptions.data = serializeDataIfNeeded(singlePageRequest, localVarRequestOptions, configuration);
|
|
434
459
|
return {
|
|
435
460
|
url: toPathString(localVarUrlObj),
|
|
436
461
|
options: localVarRequestOptions
|
|
437
462
|
};
|
|
438
463
|
},
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
464
|
+
listSinglePages: async (contributors, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
465
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages`;
|
|
466
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
467
|
+
let baseOptions;
|
|
468
|
+
if (configuration) {
|
|
469
|
+
baseOptions = configuration.baseOptions;
|
|
470
|
+
}
|
|
471
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
472
|
+
const localVarHeaderParameter = {};
|
|
473
|
+
const localVarQueryParameter = {};
|
|
474
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
475
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
476
|
+
if (contributors) {
|
|
477
|
+
localVarQueryParameter["contributors"] = Array.from(contributors);
|
|
478
|
+
}
|
|
479
|
+
if (size !== void 0) {
|
|
480
|
+
localVarQueryParameter["size"] = size;
|
|
481
|
+
}
|
|
482
|
+
if (labelSelector) {
|
|
483
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
484
|
+
}
|
|
485
|
+
if (fieldSelector) {
|
|
486
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
487
|
+
}
|
|
488
|
+
if (page !== void 0) {
|
|
489
|
+
localVarQueryParameter["page"] = page;
|
|
490
|
+
}
|
|
491
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
492
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
493
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
494
|
+
return {
|
|
495
|
+
url: toPathString(localVarUrlObj),
|
|
496
|
+
options: localVarRequestOptions
|
|
497
|
+
};
|
|
498
|
+
},
|
|
499
|
+
publishSinglePage: async (name, options = {}) => {
|
|
500
|
+
assertParamExists("publishSinglePage", "name", name);
|
|
501
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages/{name}/publish`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
443
502
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
444
503
|
let baseOptions;
|
|
445
504
|
if (configuration) {
|
|
@@ -450,11 +509,9 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
450
509
|
const localVarQueryParameter = {};
|
|
451
510
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
452
511
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
453
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
454
512
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
455
513
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
456
514
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
457
|
-
localVarRequestOptions.data = serializeDataIfNeeded(postRequest, localVarRequestOptions, configuration);
|
|
458
515
|
return {
|
|
459
516
|
url: toPathString(localVarUrlObj),
|
|
460
517
|
options: localVarRequestOptions
|
|
@@ -486,96 +543,56 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
486
543
|
}
|
|
487
544
|
};
|
|
488
545
|
};
|
|
489
|
-
const
|
|
490
|
-
const localVarAxiosParamCreator =
|
|
546
|
+
const ApiHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
547
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1SinglePageApiAxiosParamCreator(configuration);
|
|
491
548
|
return {
|
|
492
|
-
async draftPost(postRequest, options) {
|
|
493
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
494
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
495
|
-
},
|
|
496
549
|
async draftSinglePage(singlePageRequest, options) {
|
|
497
550
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
498
551
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
499
552
|
},
|
|
500
|
-
async listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options) {
|
|
501
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options);
|
|
502
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
503
|
-
},
|
|
504
553
|
async listSinglePages(contributors, size, labelSelector, fieldSelector, page, options) {
|
|
505
554
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributors, size, labelSelector, fieldSelector, page, options);
|
|
506
555
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
507
556
|
},
|
|
508
|
-
async publishPost(name, options) {
|
|
509
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.publishPost(name, options);
|
|
510
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
511
|
-
},
|
|
512
557
|
async publishSinglePage(name, options) {
|
|
513
558
|
const localVarAxiosArgs = await localVarAxiosParamCreator.publishSinglePage(name, options);
|
|
514
559
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
515
560
|
},
|
|
516
|
-
async updateDraftPost(name, postRequest, options) {
|
|
517
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDraftPost(name, postRequest, options);
|
|
518
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
519
|
-
},
|
|
520
561
|
async updateDraftSinglePage(name, singlePageRequest, options) {
|
|
521
562
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDraftSinglePage(name, singlePageRequest, options);
|
|
522
563
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
523
564
|
}
|
|
524
565
|
};
|
|
525
566
|
};
|
|
526
|
-
const
|
|
527
|
-
const localVarFp =
|
|
567
|
+
const ApiHaloRunV1alpha1SinglePageApiFactory = function(configuration, basePath, axios) {
|
|
568
|
+
const localVarFp = ApiHaloRunV1alpha1SinglePageApiFp(configuration);
|
|
528
569
|
return {
|
|
529
|
-
draftPost(postRequest, options) {
|
|
530
|
-
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
531
|
-
},
|
|
532
570
|
draftSinglePage(singlePageRequest, options) {
|
|
533
571
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
534
572
|
},
|
|
535
|
-
listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options) {
|
|
536
|
-
return localVarFp.listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
537
|
-
},
|
|
538
573
|
listSinglePages(contributors, size, labelSelector, fieldSelector, page, options) {
|
|
539
574
|
return localVarFp.listSinglePages(contributors, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
540
575
|
},
|
|
541
|
-
publishPost(name, options) {
|
|
542
|
-
return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
|
|
543
|
-
},
|
|
544
576
|
publishSinglePage(name, options) {
|
|
545
577
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
546
578
|
},
|
|
547
|
-
updateDraftPost(name, postRequest, options) {
|
|
548
|
-
return localVarFp.updateDraftPost(name, postRequest, options).then((request) => request(axios, basePath));
|
|
549
|
-
},
|
|
550
579
|
updateDraftSinglePage(name, singlePageRequest, options) {
|
|
551
580
|
return localVarFp.updateDraftSinglePage(name, singlePageRequest, options).then((request) => request(axios, basePath));
|
|
552
581
|
}
|
|
553
582
|
};
|
|
554
583
|
};
|
|
555
|
-
class
|
|
556
|
-
draftPost(requestParameters, options) {
|
|
557
|
-
return ApiHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
558
|
-
}
|
|
584
|
+
class ApiHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
559
585
|
draftSinglePage(requestParameters, options) {
|
|
560
|
-
return
|
|
561
|
-
}
|
|
562
|
-
listPosts(requestParameters = {}, options) {
|
|
563
|
-
return ApiHaloRunV1alpha1PostApiFp(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));
|
|
586
|
+
return ApiHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
564
587
|
}
|
|
565
588
|
listSinglePages(requestParameters = {}, options) {
|
|
566
|
-
return
|
|
567
|
-
}
|
|
568
|
-
publishPost(requestParameters, options) {
|
|
569
|
-
return ApiHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
589
|
+
return ApiHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.contributors, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
570
590
|
}
|
|
571
591
|
publishSinglePage(requestParameters, options) {
|
|
572
|
-
return
|
|
573
|
-
}
|
|
574
|
-
updateDraftPost(requestParameters, options) {
|
|
575
|
-
return ApiHaloRunV1alpha1PostApiFp(this.configuration).updateDraftPost(requestParameters.name, requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
592
|
+
return ApiHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
576
593
|
}
|
|
577
594
|
updateDraftSinglePage(requestParameters, options) {
|
|
578
|
-
return
|
|
595
|
+
return ApiHaloRunV1alpha1SinglePageApiFp(this.configuration).updateDraftSinglePage(requestParameters.name, requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
579
596
|
}
|
|
580
597
|
}
|
|
581
598
|
|
|
@@ -5012,4 +5029,4 @@ const SinglePageSpecVisibleEnum = {
|
|
|
5012
5029
|
Private: "PRIVATE"
|
|
5013
5030
|
};
|
|
5014
5031
|
|
|
5015
|
-
export { ApiHaloRunV1alpha1ContentApi, ApiHaloRunV1alpha1ContentApiAxiosParamCreator, ApiHaloRunV1alpha1ContentApiFactory, ApiHaloRunV1alpha1ContentApiFp, ApiHaloRunV1alpha1PluginApi, ApiHaloRunV1alpha1PluginApiAxiosParamCreator, ApiHaloRunV1alpha1PluginApiFactory, ApiHaloRunV1alpha1PluginApiFp, ApiHaloRunV1alpha1PostApi, ApiHaloRunV1alpha1PostApiAxiosParamCreator, ApiHaloRunV1alpha1PostApiFactory, ApiHaloRunV1alpha1PostApiFp, ApiHaloRunV1alpha1ThemeApi, ApiHaloRunV1alpha1ThemeApiAxiosParamCreator, ApiHaloRunV1alpha1ThemeApiFactory, ApiHaloRunV1alpha1ThemeApiFp, ApiHaloRunV1alpha1UserApi, ApiHaloRunV1alpha1UserApiAxiosParamCreator, ApiHaloRunV1alpha1UserApiFactory, ApiHaloRunV1alpha1UserApiFp, ConditionStatusEnum, Configuration, ContentHaloRunV1alpha1CategoryApi, ContentHaloRunV1alpha1CategoryApiAxiosParamCreator, ContentHaloRunV1alpha1CategoryApiFactory, ContentHaloRunV1alpha1CategoryApiFp, ContentHaloRunV1alpha1CommentApi, ContentHaloRunV1alpha1CommentApiAxiosParamCreator, ContentHaloRunV1alpha1CommentApiFactory, ContentHaloRunV1alpha1CommentApiFp, ContentHaloRunV1alpha1PostApi, ContentHaloRunV1alpha1PostApiAxiosParamCreator, ContentHaloRunV1alpha1PostApiFactory, ContentHaloRunV1alpha1PostApiFp, ContentHaloRunV1alpha1ReplyApi, ContentHaloRunV1alpha1ReplyApiAxiosParamCreator, ContentHaloRunV1alpha1ReplyApiFactory, ContentHaloRunV1alpha1ReplyApiFp, ContentHaloRunV1alpha1SinglePageApi, ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator, ContentHaloRunV1alpha1SinglePageApiFactory, ContentHaloRunV1alpha1SinglePageApiFp, ContentHaloRunV1alpha1SnapshotApi, ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator, ContentHaloRunV1alpha1SnapshotApiFactory, ContentHaloRunV1alpha1SnapshotApiFp, ContentHaloRunV1alpha1TagApi, ContentHaloRunV1alpha1TagApiAxiosParamCreator, ContentHaloRunV1alpha1TagApiFactory, ContentHaloRunV1alpha1TagApiFp, PluginHaloRunV1alpha1PluginApi, PluginHaloRunV1alpha1PluginApiAxiosParamCreator, PluginHaloRunV1alpha1PluginApiFactory, PluginHaloRunV1alpha1PluginApiFp, PluginHaloRunV1alpha1ReverseProxyApi, PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator, PluginHaloRunV1alpha1ReverseProxyApiFactory, PluginHaloRunV1alpha1ReverseProxyApiFp, PluginStatusPhaseEnum, PostSpecVisibleEnum, SinglePageSpecVisibleEnum, StorageHaloRunV1alpha1AttachmentApi, StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator, StorageHaloRunV1alpha1AttachmentApiFactory, StorageHaloRunV1alpha1AttachmentApiFp, StorageHaloRunV1alpha1GroupApi, StorageHaloRunV1alpha1GroupApiAxiosParamCreator, StorageHaloRunV1alpha1GroupApiFactory, StorageHaloRunV1alpha1GroupApiFp, StorageHaloRunV1alpha1PolicyApi, StorageHaloRunV1alpha1PolicyApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyApiFactory, StorageHaloRunV1alpha1PolicyApiFp, StorageHaloRunV1alpha1PolicyTemplateApi, StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyTemplateApiFactory, StorageHaloRunV1alpha1PolicyTemplateApiFp, ThemeHaloRunV1alpha1ThemeApi, ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator, ThemeHaloRunV1alpha1ThemeApiFactory, ThemeHaloRunV1alpha1ThemeApiFp, V1alpha1ConfigMapApi, V1alpha1ConfigMapApiAxiosParamCreator, V1alpha1ConfigMapApiFactory, V1alpha1ConfigMapApiFp, V1alpha1MenuApi, V1alpha1MenuApiAxiosParamCreator, V1alpha1MenuApiFactory, V1alpha1MenuApiFp, V1alpha1MenuItemApi, V1alpha1MenuItemApiAxiosParamCreator, V1alpha1MenuItemApiFactory, V1alpha1MenuItemApiFp, V1alpha1PersonalAccessTokenApi, V1alpha1PersonalAccessTokenApiAxiosParamCreator, V1alpha1PersonalAccessTokenApiFactory, V1alpha1PersonalAccessTokenApiFp, V1alpha1RoleApi, V1alpha1RoleApiAxiosParamCreator, V1alpha1RoleApiFactory, V1alpha1RoleApiFp, V1alpha1RoleBindingApi, V1alpha1RoleBindingApiAxiosParamCreator, V1alpha1RoleBindingApiFactory, V1alpha1RoleBindingApiFp, V1alpha1SettingApi, V1alpha1SettingApiAxiosParamCreator, V1alpha1SettingApiFactory, V1alpha1SettingApiFp, V1alpha1UserApi, V1alpha1UserApiAxiosParamCreator, V1alpha1UserApiFactory, V1alpha1UserApiFp };
|
|
5032
|
+
export { ApiHaloRunV1alpha1ContentApi, ApiHaloRunV1alpha1ContentApiAxiosParamCreator, ApiHaloRunV1alpha1ContentApiFactory, ApiHaloRunV1alpha1ContentApiFp, ApiHaloRunV1alpha1PluginApi, ApiHaloRunV1alpha1PluginApiAxiosParamCreator, ApiHaloRunV1alpha1PluginApiFactory, ApiHaloRunV1alpha1PluginApiFp, ApiHaloRunV1alpha1PostApi, ApiHaloRunV1alpha1PostApiAxiosParamCreator, ApiHaloRunV1alpha1PostApiFactory, ApiHaloRunV1alpha1PostApiFp, ApiHaloRunV1alpha1SinglePageApi, ApiHaloRunV1alpha1SinglePageApiAxiosParamCreator, ApiHaloRunV1alpha1SinglePageApiFactory, ApiHaloRunV1alpha1SinglePageApiFp, ApiHaloRunV1alpha1ThemeApi, ApiHaloRunV1alpha1ThemeApiAxiosParamCreator, ApiHaloRunV1alpha1ThemeApiFactory, ApiHaloRunV1alpha1ThemeApiFp, ApiHaloRunV1alpha1UserApi, ApiHaloRunV1alpha1UserApiAxiosParamCreator, ApiHaloRunV1alpha1UserApiFactory, ApiHaloRunV1alpha1UserApiFp, ConditionStatusEnum, Configuration, ContentHaloRunV1alpha1CategoryApi, ContentHaloRunV1alpha1CategoryApiAxiosParamCreator, ContentHaloRunV1alpha1CategoryApiFactory, ContentHaloRunV1alpha1CategoryApiFp, ContentHaloRunV1alpha1CommentApi, ContentHaloRunV1alpha1CommentApiAxiosParamCreator, ContentHaloRunV1alpha1CommentApiFactory, ContentHaloRunV1alpha1CommentApiFp, ContentHaloRunV1alpha1PostApi, ContentHaloRunV1alpha1PostApiAxiosParamCreator, ContentHaloRunV1alpha1PostApiFactory, ContentHaloRunV1alpha1PostApiFp, ContentHaloRunV1alpha1ReplyApi, ContentHaloRunV1alpha1ReplyApiAxiosParamCreator, ContentHaloRunV1alpha1ReplyApiFactory, ContentHaloRunV1alpha1ReplyApiFp, ContentHaloRunV1alpha1SinglePageApi, ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator, ContentHaloRunV1alpha1SinglePageApiFactory, ContentHaloRunV1alpha1SinglePageApiFp, ContentHaloRunV1alpha1SnapshotApi, ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator, ContentHaloRunV1alpha1SnapshotApiFactory, ContentHaloRunV1alpha1SnapshotApiFp, ContentHaloRunV1alpha1TagApi, ContentHaloRunV1alpha1TagApiAxiosParamCreator, ContentHaloRunV1alpha1TagApiFactory, ContentHaloRunV1alpha1TagApiFp, PluginHaloRunV1alpha1PluginApi, PluginHaloRunV1alpha1PluginApiAxiosParamCreator, PluginHaloRunV1alpha1PluginApiFactory, PluginHaloRunV1alpha1PluginApiFp, PluginHaloRunV1alpha1ReverseProxyApi, PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator, PluginHaloRunV1alpha1ReverseProxyApiFactory, PluginHaloRunV1alpha1ReverseProxyApiFp, PluginStatusPhaseEnum, PostSpecVisibleEnum, SinglePageSpecVisibleEnum, StorageHaloRunV1alpha1AttachmentApi, StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator, StorageHaloRunV1alpha1AttachmentApiFactory, StorageHaloRunV1alpha1AttachmentApiFp, StorageHaloRunV1alpha1GroupApi, StorageHaloRunV1alpha1GroupApiAxiosParamCreator, StorageHaloRunV1alpha1GroupApiFactory, StorageHaloRunV1alpha1GroupApiFp, StorageHaloRunV1alpha1PolicyApi, StorageHaloRunV1alpha1PolicyApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyApiFactory, StorageHaloRunV1alpha1PolicyApiFp, StorageHaloRunV1alpha1PolicyTemplateApi, StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyTemplateApiFactory, StorageHaloRunV1alpha1PolicyTemplateApiFp, ThemeHaloRunV1alpha1ThemeApi, ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator, ThemeHaloRunV1alpha1ThemeApiFactory, ThemeHaloRunV1alpha1ThemeApiFp, V1alpha1ConfigMapApi, V1alpha1ConfigMapApiAxiosParamCreator, V1alpha1ConfigMapApiFactory, V1alpha1ConfigMapApiFp, V1alpha1MenuApi, V1alpha1MenuApiAxiosParamCreator, V1alpha1MenuApiFactory, V1alpha1MenuApiFp, V1alpha1MenuItemApi, V1alpha1MenuItemApiAxiosParamCreator, V1alpha1MenuItemApiFactory, V1alpha1MenuItemApiFp, V1alpha1PersonalAccessTokenApi, V1alpha1PersonalAccessTokenApiAxiosParamCreator, V1alpha1PersonalAccessTokenApiFactory, V1alpha1PersonalAccessTokenApiFp, V1alpha1RoleApi, V1alpha1RoleApiAxiosParamCreator, V1alpha1RoleApiFactory, V1alpha1RoleApiFp, V1alpha1RoleBindingApi, V1alpha1RoleBindingApiAxiosParamCreator, V1alpha1RoleBindingApiFactory, V1alpha1RoleBindingApiFp, V1alpha1SettingApi, V1alpha1SettingApiAxiosParamCreator, V1alpha1SettingApiFactory, V1alpha1SettingApiFp, V1alpha1UserApi, V1alpha1UserApiAxiosParamCreator, V1alpha1UserApiFactory, V1alpha1UserApiFp };
|