@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.cjs
CHANGED
|
@@ -303,29 +303,6 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
303
303
|
options: localVarRequestOptions
|
|
304
304
|
};
|
|
305
305
|
},
|
|
306
|
-
draftSinglePage: async (singlePageRequest, options = {}) => {
|
|
307
|
-
assertParamExists("draftSinglePage", "singlePageRequest", singlePageRequest);
|
|
308
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages`;
|
|
309
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
310
|
-
let baseOptions;
|
|
311
|
-
if (configuration) {
|
|
312
|
-
baseOptions = configuration.baseOptions;
|
|
313
|
-
}
|
|
314
|
-
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
315
|
-
const localVarHeaderParameter = {};
|
|
316
|
-
const localVarQueryParameter = {};
|
|
317
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
318
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
319
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
320
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
321
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
322
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
323
|
-
localVarRequestOptions.data = serializeDataIfNeeded(singlePageRequest, localVarRequestOptions, configuration);
|
|
324
|
-
return {
|
|
325
|
-
url: toPathString(localVarUrlObj),
|
|
326
|
-
options: localVarRequestOptions
|
|
327
|
-
};
|
|
328
|
-
},
|
|
329
306
|
listPosts: async (contributors, categories, tags, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
330
307
|
const localVarPath = `/apis/api.halo.run/v1alpha1/posts`;
|
|
331
308
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -367,33 +344,19 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
367
344
|
options: localVarRequestOptions
|
|
368
345
|
};
|
|
369
346
|
},
|
|
370
|
-
|
|
371
|
-
|
|
347
|
+
publishPost: async (name, options = {}) => {
|
|
348
|
+
assertParamExists("publishPost", "name", name);
|
|
349
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/posts/{name}/publish`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
372
350
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
373
351
|
let baseOptions;
|
|
374
352
|
if (configuration) {
|
|
375
353
|
baseOptions = configuration.baseOptions;
|
|
376
354
|
}
|
|
377
|
-
const localVarRequestOptions = { method: "
|
|
355
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
378
356
|
const localVarHeaderParameter = {};
|
|
379
357
|
const localVarQueryParameter = {};
|
|
380
358
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
381
359
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
382
|
-
if (contributors) {
|
|
383
|
-
localVarQueryParameter["contributors"] = Array.from(contributors);
|
|
384
|
-
}
|
|
385
|
-
if (size !== void 0) {
|
|
386
|
-
localVarQueryParameter["size"] = size;
|
|
387
|
-
}
|
|
388
|
-
if (labelSelector) {
|
|
389
|
-
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
390
|
-
}
|
|
391
|
-
if (fieldSelector) {
|
|
392
|
-
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
393
|
-
}
|
|
394
|
-
if (page !== void 0) {
|
|
395
|
-
localVarQueryParameter["page"] = page;
|
|
396
|
-
}
|
|
397
360
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
398
361
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
399
362
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -402,9 +365,10 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
402
365
|
options: localVarRequestOptions
|
|
403
366
|
};
|
|
404
367
|
},
|
|
405
|
-
|
|
406
|
-
assertParamExists("
|
|
407
|
-
|
|
368
|
+
updateDraftPost: async (name, postRequest, options = {}) => {
|
|
369
|
+
assertParamExists("updateDraftPost", "name", name);
|
|
370
|
+
assertParamExists("updateDraftPost", "postRequest", postRequest);
|
|
371
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/posts/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
408
372
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
409
373
|
let baseOptions;
|
|
410
374
|
if (configuration) {
|
|
@@ -415,39 +379,134 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
415
379
|
const localVarQueryParameter = {};
|
|
416
380
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
417
381
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
382
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
418
383
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
419
384
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
420
385
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
386
|
+
localVarRequestOptions.data = serializeDataIfNeeded(postRequest, localVarRequestOptions, configuration);
|
|
421
387
|
return {
|
|
422
388
|
url: toPathString(localVarUrlObj),
|
|
423
389
|
options: localVarRequestOptions
|
|
424
390
|
};
|
|
391
|
+
}
|
|
392
|
+
};
|
|
393
|
+
};
|
|
394
|
+
const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
395
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1PostApiAxiosParamCreator(configuration);
|
|
396
|
+
return {
|
|
397
|
+
async draftPost(postRequest, options) {
|
|
398
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
399
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
425
400
|
},
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
401
|
+
async listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options) {
|
|
402
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options);
|
|
403
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
404
|
+
},
|
|
405
|
+
async publishPost(name, options) {
|
|
406
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.publishPost(name, options);
|
|
407
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
408
|
+
},
|
|
409
|
+
async updateDraftPost(name, postRequest, options) {
|
|
410
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDraftPost(name, postRequest, options);
|
|
411
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
412
|
+
}
|
|
413
|
+
};
|
|
414
|
+
};
|
|
415
|
+
const ApiHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
|
|
416
|
+
const localVarFp = ApiHaloRunV1alpha1PostApiFp(configuration);
|
|
417
|
+
return {
|
|
418
|
+
draftPost(postRequest, options) {
|
|
419
|
+
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
420
|
+
},
|
|
421
|
+
listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options) {
|
|
422
|
+
return localVarFp.listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
423
|
+
},
|
|
424
|
+
publishPost(name, options) {
|
|
425
|
+
return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
|
|
426
|
+
},
|
|
427
|
+
updateDraftPost(name, postRequest, options) {
|
|
428
|
+
return localVarFp.updateDraftPost(name, postRequest, options).then((request) => request(axios, basePath));
|
|
429
|
+
}
|
|
430
|
+
};
|
|
431
|
+
};
|
|
432
|
+
class ApiHaloRunV1alpha1PostApi extends BaseAPI {
|
|
433
|
+
draftPost(requestParameters, options) {
|
|
434
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
435
|
+
}
|
|
436
|
+
listPosts(requestParameters = {}, options) {
|
|
437
|
+
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));
|
|
438
|
+
}
|
|
439
|
+
publishPost(requestParameters, options) {
|
|
440
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
441
|
+
}
|
|
442
|
+
updateDraftPost(requestParameters, options) {
|
|
443
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).updateDraftPost(requestParameters.name, requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
const ApiHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configuration) {
|
|
448
|
+
return {
|
|
449
|
+
draftSinglePage: async (singlePageRequest, options = {}) => {
|
|
450
|
+
assertParamExists("draftSinglePage", "singlePageRequest", singlePageRequest);
|
|
451
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages`;
|
|
429
452
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
430
453
|
let baseOptions;
|
|
431
454
|
if (configuration) {
|
|
432
455
|
baseOptions = configuration.baseOptions;
|
|
433
456
|
}
|
|
434
|
-
const localVarRequestOptions = { method: "
|
|
457
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
435
458
|
const localVarHeaderParameter = {};
|
|
436
459
|
const localVarQueryParameter = {};
|
|
437
460
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
438
461
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
462
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
439
463
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
440
464
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
441
465
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
466
|
+
localVarRequestOptions.data = serializeDataIfNeeded(singlePageRequest, localVarRequestOptions, configuration);
|
|
442
467
|
return {
|
|
443
468
|
url: toPathString(localVarUrlObj),
|
|
444
469
|
options: localVarRequestOptions
|
|
445
470
|
};
|
|
446
471
|
},
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
472
|
+
listSinglePages: async (contributors, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
473
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages`;
|
|
474
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
475
|
+
let baseOptions;
|
|
476
|
+
if (configuration) {
|
|
477
|
+
baseOptions = configuration.baseOptions;
|
|
478
|
+
}
|
|
479
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
480
|
+
const localVarHeaderParameter = {};
|
|
481
|
+
const localVarQueryParameter = {};
|
|
482
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
483
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
484
|
+
if (contributors) {
|
|
485
|
+
localVarQueryParameter["contributors"] = Array.from(contributors);
|
|
486
|
+
}
|
|
487
|
+
if (size !== void 0) {
|
|
488
|
+
localVarQueryParameter["size"] = size;
|
|
489
|
+
}
|
|
490
|
+
if (labelSelector) {
|
|
491
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
492
|
+
}
|
|
493
|
+
if (fieldSelector) {
|
|
494
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
495
|
+
}
|
|
496
|
+
if (page !== void 0) {
|
|
497
|
+
localVarQueryParameter["page"] = page;
|
|
498
|
+
}
|
|
499
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
500
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
501
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
502
|
+
return {
|
|
503
|
+
url: toPathString(localVarUrlObj),
|
|
504
|
+
options: localVarRequestOptions
|
|
505
|
+
};
|
|
506
|
+
},
|
|
507
|
+
publishSinglePage: async (name, options = {}) => {
|
|
508
|
+
assertParamExists("publishSinglePage", "name", name);
|
|
509
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages/{name}/publish`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
451
510
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
452
511
|
let baseOptions;
|
|
453
512
|
if (configuration) {
|
|
@@ -458,11 +517,9 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
458
517
|
const localVarQueryParameter = {};
|
|
459
518
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
460
519
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
461
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
462
520
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
463
521
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
464
522
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
465
|
-
localVarRequestOptions.data = serializeDataIfNeeded(postRequest, localVarRequestOptions, configuration);
|
|
466
523
|
return {
|
|
467
524
|
url: toPathString(localVarUrlObj),
|
|
468
525
|
options: localVarRequestOptions
|
|
@@ -494,96 +551,56 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
494
551
|
}
|
|
495
552
|
};
|
|
496
553
|
};
|
|
497
|
-
const
|
|
498
|
-
const localVarAxiosParamCreator =
|
|
554
|
+
const ApiHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
555
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1SinglePageApiAxiosParamCreator(configuration);
|
|
499
556
|
return {
|
|
500
|
-
async draftPost(postRequest, options) {
|
|
501
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
502
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
503
|
-
},
|
|
504
557
|
async draftSinglePage(singlePageRequest, options) {
|
|
505
558
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
506
559
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
507
560
|
},
|
|
508
|
-
async listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options) {
|
|
509
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options);
|
|
510
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
511
|
-
},
|
|
512
561
|
async listSinglePages(contributors, size, labelSelector, fieldSelector, page, options) {
|
|
513
562
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributors, size, labelSelector, fieldSelector, page, options);
|
|
514
563
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
515
564
|
},
|
|
516
|
-
async publishPost(name, options) {
|
|
517
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.publishPost(name, options);
|
|
518
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
519
|
-
},
|
|
520
565
|
async publishSinglePage(name, options) {
|
|
521
566
|
const localVarAxiosArgs = await localVarAxiosParamCreator.publishSinglePage(name, options);
|
|
522
567
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
523
568
|
},
|
|
524
|
-
async updateDraftPost(name, postRequest, options) {
|
|
525
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDraftPost(name, postRequest, options);
|
|
526
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
527
|
-
},
|
|
528
569
|
async updateDraftSinglePage(name, singlePageRequest, options) {
|
|
529
570
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDraftSinglePage(name, singlePageRequest, options);
|
|
530
571
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
531
572
|
}
|
|
532
573
|
};
|
|
533
574
|
};
|
|
534
|
-
const
|
|
535
|
-
const localVarFp =
|
|
575
|
+
const ApiHaloRunV1alpha1SinglePageApiFactory = function(configuration, basePath, axios) {
|
|
576
|
+
const localVarFp = ApiHaloRunV1alpha1SinglePageApiFp(configuration);
|
|
536
577
|
return {
|
|
537
|
-
draftPost(postRequest, options) {
|
|
538
|
-
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
539
|
-
},
|
|
540
578
|
draftSinglePage(singlePageRequest, options) {
|
|
541
579
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
542
580
|
},
|
|
543
|
-
listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options) {
|
|
544
|
-
return localVarFp.listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
545
|
-
},
|
|
546
581
|
listSinglePages(contributors, size, labelSelector, fieldSelector, page, options) {
|
|
547
582
|
return localVarFp.listSinglePages(contributors, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
548
583
|
},
|
|
549
|
-
publishPost(name, options) {
|
|
550
|
-
return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
|
|
551
|
-
},
|
|
552
584
|
publishSinglePage(name, options) {
|
|
553
585
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
554
586
|
},
|
|
555
|
-
updateDraftPost(name, postRequest, options) {
|
|
556
|
-
return localVarFp.updateDraftPost(name, postRequest, options).then((request) => request(axios, basePath));
|
|
557
|
-
},
|
|
558
587
|
updateDraftSinglePage(name, singlePageRequest, options) {
|
|
559
588
|
return localVarFp.updateDraftSinglePage(name, singlePageRequest, options).then((request) => request(axios, basePath));
|
|
560
589
|
}
|
|
561
590
|
};
|
|
562
591
|
};
|
|
563
|
-
class
|
|
564
|
-
draftPost(requestParameters, options) {
|
|
565
|
-
return ApiHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
566
|
-
}
|
|
592
|
+
class ApiHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
567
593
|
draftSinglePage(requestParameters, options) {
|
|
568
|
-
return
|
|
569
|
-
}
|
|
570
|
-
listPosts(requestParameters = {}, options) {
|
|
571
|
-
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));
|
|
594
|
+
return ApiHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
572
595
|
}
|
|
573
596
|
listSinglePages(requestParameters = {}, options) {
|
|
574
|
-
return
|
|
575
|
-
}
|
|
576
|
-
publishPost(requestParameters, options) {
|
|
577
|
-
return ApiHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
597
|
+
return ApiHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.contributors, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
578
598
|
}
|
|
579
599
|
publishSinglePage(requestParameters, options) {
|
|
580
|
-
return
|
|
581
|
-
}
|
|
582
|
-
updateDraftPost(requestParameters, options) {
|
|
583
|
-
return ApiHaloRunV1alpha1PostApiFp(this.configuration).updateDraftPost(requestParameters.name, requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
600
|
+
return ApiHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
584
601
|
}
|
|
585
602
|
updateDraftSinglePage(requestParameters, options) {
|
|
586
|
-
return
|
|
603
|
+
return ApiHaloRunV1alpha1SinglePageApiFp(this.configuration).updateDraftSinglePage(requestParameters.name, requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
587
604
|
}
|
|
588
605
|
}
|
|
589
606
|
|
|
@@ -5032,6 +5049,10 @@ exports.ApiHaloRunV1alpha1PostApi = ApiHaloRunV1alpha1PostApi;
|
|
|
5032
5049
|
exports.ApiHaloRunV1alpha1PostApiAxiosParamCreator = ApiHaloRunV1alpha1PostApiAxiosParamCreator;
|
|
5033
5050
|
exports.ApiHaloRunV1alpha1PostApiFactory = ApiHaloRunV1alpha1PostApiFactory;
|
|
5034
5051
|
exports.ApiHaloRunV1alpha1PostApiFp = ApiHaloRunV1alpha1PostApiFp;
|
|
5052
|
+
exports.ApiHaloRunV1alpha1SinglePageApi = ApiHaloRunV1alpha1SinglePageApi;
|
|
5053
|
+
exports.ApiHaloRunV1alpha1SinglePageApiAxiosParamCreator = ApiHaloRunV1alpha1SinglePageApiAxiosParamCreator;
|
|
5054
|
+
exports.ApiHaloRunV1alpha1SinglePageApiFactory = ApiHaloRunV1alpha1SinglePageApiFactory;
|
|
5055
|
+
exports.ApiHaloRunV1alpha1SinglePageApiFp = ApiHaloRunV1alpha1SinglePageApiFp;
|
|
5035
5056
|
exports.ApiHaloRunV1alpha1ThemeApi = ApiHaloRunV1alpha1ThemeApi;
|
|
5036
5057
|
exports.ApiHaloRunV1alpha1ThemeApiAxiosParamCreator = ApiHaloRunV1alpha1ThemeApiAxiosParamCreator;
|
|
5037
5058
|
exports.ApiHaloRunV1alpha1ThemeApiFactory = ApiHaloRunV1alpha1ThemeApiFactory;
|