@halo-dev/api-client 0.0.11 → 0.0.12
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 +1647 -419
- package/dist/index.d.ts +3936 -1235
- package/dist/index.mjs +1606 -404
- package/package.json +3 -2
package/dist/index.mjs
CHANGED
|
@@ -67,6 +67,11 @@ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, config
|
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
69
|
|
|
70
|
+
const ConditionStatusEnum = {
|
|
71
|
+
True: "TRUE",
|
|
72
|
+
False: "FALSE",
|
|
73
|
+
Unknown: "UNKNOWN"
|
|
74
|
+
};
|
|
70
75
|
const PluginStatusPhaseEnum = {
|
|
71
76
|
Created: "CREATED",
|
|
72
77
|
Disabled: "DISABLED",
|
|
@@ -75,6 +80,159 @@ const PluginStatusPhaseEnum = {
|
|
|
75
80
|
Stopped: "STOPPED",
|
|
76
81
|
Failed: "FAILED"
|
|
77
82
|
};
|
|
83
|
+
const PostSpecVisibleEnum = {
|
|
84
|
+
Public: "PUBLIC",
|
|
85
|
+
Internal: "INTERNAL",
|
|
86
|
+
Private: "PRIVATE"
|
|
87
|
+
};
|
|
88
|
+
const ApiHaloRunV1alpha1ContentApiAxiosParamCreator = function(configuration) {
|
|
89
|
+
return {
|
|
90
|
+
draftSnapshotContent: async (contentRequest, options = {}) => {
|
|
91
|
+
assertParamExists("draftSnapshotContent", "contentRequest", contentRequest);
|
|
92
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/contents`;
|
|
93
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
94
|
+
let baseOptions;
|
|
95
|
+
if (configuration) {
|
|
96
|
+
baseOptions = configuration.baseOptions;
|
|
97
|
+
}
|
|
98
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
99
|
+
const localVarHeaderParameter = {};
|
|
100
|
+
const localVarQueryParameter = {};
|
|
101
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
102
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
103
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
104
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
105
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
106
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
107
|
+
localVarRequestOptions.data = serializeDataIfNeeded(contentRequest, localVarRequestOptions, configuration);
|
|
108
|
+
return {
|
|
109
|
+
url: toPathString(localVarUrlObj),
|
|
110
|
+
options: localVarRequestOptions
|
|
111
|
+
};
|
|
112
|
+
},
|
|
113
|
+
obtainSnapshotContent: async (snapshotName, options = {}) => {
|
|
114
|
+
assertParamExists("obtainSnapshotContent", "snapshotName", snapshotName);
|
|
115
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/contents/{snapshotName}`.replace(`{${"snapshotName"}}`, encodeURIComponent(String(snapshotName)));
|
|
116
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
117
|
+
let baseOptions;
|
|
118
|
+
if (configuration) {
|
|
119
|
+
baseOptions = configuration.baseOptions;
|
|
120
|
+
}
|
|
121
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
122
|
+
const localVarHeaderParameter = {};
|
|
123
|
+
const localVarQueryParameter = {};
|
|
124
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
125
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
126
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
127
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
128
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
129
|
+
return {
|
|
130
|
+
url: toPathString(localVarUrlObj),
|
|
131
|
+
options: localVarRequestOptions
|
|
132
|
+
};
|
|
133
|
+
},
|
|
134
|
+
publishSnapshotContent: async (snapshotName, subjectRef, options = {}) => {
|
|
135
|
+
assertParamExists("publishSnapshotContent", "snapshotName", snapshotName);
|
|
136
|
+
assertParamExists("publishSnapshotContent", "subjectRef", subjectRef);
|
|
137
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/contents/{snapshotName}/publish`.replace(`{${"snapshotName"}}`, encodeURIComponent(String(snapshotName)));
|
|
138
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
139
|
+
let baseOptions;
|
|
140
|
+
if (configuration) {
|
|
141
|
+
baseOptions = configuration.baseOptions;
|
|
142
|
+
}
|
|
143
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
144
|
+
const localVarHeaderParameter = {};
|
|
145
|
+
const localVarQueryParameter = {};
|
|
146
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
147
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
148
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
149
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
150
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
151
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
152
|
+
localVarRequestOptions.data = serializeDataIfNeeded(subjectRef, localVarRequestOptions, configuration);
|
|
153
|
+
return {
|
|
154
|
+
url: toPathString(localVarUrlObj),
|
|
155
|
+
options: localVarRequestOptions
|
|
156
|
+
};
|
|
157
|
+
},
|
|
158
|
+
updateSnapshotContent: async (snapshotName, contentRequest, options = {}) => {
|
|
159
|
+
assertParamExists("updateSnapshotContent", "snapshotName", snapshotName);
|
|
160
|
+
assertParamExists("updateSnapshotContent", "contentRequest", contentRequest);
|
|
161
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/contents/{snapshotName}`.replace(`{${"snapshotName"}}`, encodeURIComponent(String(snapshotName)));
|
|
162
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
163
|
+
let baseOptions;
|
|
164
|
+
if (configuration) {
|
|
165
|
+
baseOptions = configuration.baseOptions;
|
|
166
|
+
}
|
|
167
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
168
|
+
const localVarHeaderParameter = {};
|
|
169
|
+
const localVarQueryParameter = {};
|
|
170
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
171
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
172
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
173
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
174
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
175
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
176
|
+
localVarRequestOptions.data = serializeDataIfNeeded(contentRequest, localVarRequestOptions, configuration);
|
|
177
|
+
return {
|
|
178
|
+
url: toPathString(localVarUrlObj),
|
|
179
|
+
options: localVarRequestOptions
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
const ApiHaloRunV1alpha1ContentApiFp = function(configuration) {
|
|
185
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1ContentApiAxiosParamCreator(configuration);
|
|
186
|
+
return {
|
|
187
|
+
async draftSnapshotContent(contentRequest, options) {
|
|
188
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSnapshotContent(contentRequest, options);
|
|
189
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
190
|
+
},
|
|
191
|
+
async obtainSnapshotContent(snapshotName, options) {
|
|
192
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.obtainSnapshotContent(snapshotName, options);
|
|
193
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
194
|
+
},
|
|
195
|
+
async publishSnapshotContent(snapshotName, subjectRef, options) {
|
|
196
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.publishSnapshotContent(snapshotName, subjectRef, options);
|
|
197
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
198
|
+
},
|
|
199
|
+
async updateSnapshotContent(snapshotName, contentRequest, options) {
|
|
200
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSnapshotContent(snapshotName, contentRequest, options);
|
|
201
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
202
|
+
}
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
const ApiHaloRunV1alpha1ContentApiFactory = function(configuration, basePath, axios) {
|
|
206
|
+
const localVarFp = ApiHaloRunV1alpha1ContentApiFp(configuration);
|
|
207
|
+
return {
|
|
208
|
+
draftSnapshotContent(contentRequest, options) {
|
|
209
|
+
return localVarFp.draftSnapshotContent(contentRequest, options).then((request) => request(axios, basePath));
|
|
210
|
+
},
|
|
211
|
+
obtainSnapshotContent(snapshotName, options) {
|
|
212
|
+
return localVarFp.obtainSnapshotContent(snapshotName, options).then((request) => request(axios, basePath));
|
|
213
|
+
},
|
|
214
|
+
publishSnapshotContent(snapshotName, subjectRef, options) {
|
|
215
|
+
return localVarFp.publishSnapshotContent(snapshotName, subjectRef, options).then((request) => request(axios, basePath));
|
|
216
|
+
},
|
|
217
|
+
updateSnapshotContent(snapshotName, contentRequest, options) {
|
|
218
|
+
return localVarFp.updateSnapshotContent(snapshotName, contentRequest, options).then((request) => request(axios, basePath));
|
|
219
|
+
}
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
class ApiHaloRunV1alpha1ContentApi extends BaseAPI {
|
|
223
|
+
draftSnapshotContent(contentRequest, options) {
|
|
224
|
+
return ApiHaloRunV1alpha1ContentApiFp(this.configuration).draftSnapshotContent(contentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
225
|
+
}
|
|
226
|
+
obtainSnapshotContent(snapshotName, options) {
|
|
227
|
+
return ApiHaloRunV1alpha1ContentApiFp(this.configuration).obtainSnapshotContent(snapshotName, options).then((request) => request(this.axios, this.basePath));
|
|
228
|
+
}
|
|
229
|
+
publishSnapshotContent(snapshotName, subjectRef, options) {
|
|
230
|
+
return ApiHaloRunV1alpha1ContentApiFp(this.configuration).publishSnapshotContent(snapshotName, subjectRef, options).then((request) => request(this.axios, this.basePath));
|
|
231
|
+
}
|
|
232
|
+
updateSnapshotContent(snapshotName, contentRequest, options) {
|
|
233
|
+
return ApiHaloRunV1alpha1ContentApiFp(this.configuration).updateSnapshotContent(snapshotName, contentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
234
|
+
}
|
|
235
|
+
}
|
|
78
236
|
const ApiHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
79
237
|
return {
|
|
80
238
|
installPlugin: async (file, options = {}) => {
|
|
@@ -128,6 +286,171 @@ class ApiHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
128
286
|
return ApiHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(file, options).then((request) => request(this.axios, this.basePath));
|
|
129
287
|
}
|
|
130
288
|
}
|
|
289
|
+
const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
290
|
+
return {
|
|
291
|
+
draftPost: async (postRequest, options = {}) => {
|
|
292
|
+
assertParamExists("draftPost", "postRequest", postRequest);
|
|
293
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/posts`;
|
|
294
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
295
|
+
let baseOptions;
|
|
296
|
+
if (configuration) {
|
|
297
|
+
baseOptions = configuration.baseOptions;
|
|
298
|
+
}
|
|
299
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
300
|
+
const localVarHeaderParameter = {};
|
|
301
|
+
const localVarQueryParameter = {};
|
|
302
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
303
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
304
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
305
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
306
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
307
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
308
|
+
localVarRequestOptions.data = serializeDataIfNeeded(postRequest, localVarRequestOptions, configuration);
|
|
309
|
+
return {
|
|
310
|
+
url: toPathString(localVarUrlObj),
|
|
311
|
+
options: localVarRequestOptions
|
|
312
|
+
};
|
|
313
|
+
},
|
|
314
|
+
listPosts: async (page, size, labelSelector, fieldSelector, contributors, categories, tags, options = {}) => {
|
|
315
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/posts`;
|
|
316
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
317
|
+
let baseOptions;
|
|
318
|
+
if (configuration) {
|
|
319
|
+
baseOptions = configuration.baseOptions;
|
|
320
|
+
}
|
|
321
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
322
|
+
const localVarHeaderParameter = {};
|
|
323
|
+
const localVarQueryParameter = {};
|
|
324
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
325
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
326
|
+
if (page !== void 0) {
|
|
327
|
+
localVarQueryParameter["page"] = page;
|
|
328
|
+
}
|
|
329
|
+
if (size !== void 0) {
|
|
330
|
+
localVarQueryParameter["size"] = size;
|
|
331
|
+
}
|
|
332
|
+
if (labelSelector) {
|
|
333
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
334
|
+
}
|
|
335
|
+
if (fieldSelector) {
|
|
336
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
337
|
+
}
|
|
338
|
+
if (contributors) {
|
|
339
|
+
localVarQueryParameter["contributors"] = Array.from(contributors);
|
|
340
|
+
}
|
|
341
|
+
if (categories) {
|
|
342
|
+
localVarQueryParameter["categories"] = Array.from(categories);
|
|
343
|
+
}
|
|
344
|
+
if (tags) {
|
|
345
|
+
localVarQueryParameter["tags"] = Array.from(tags);
|
|
346
|
+
}
|
|
347
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
348
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
349
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
350
|
+
return {
|
|
351
|
+
url: toPathString(localVarUrlObj),
|
|
352
|
+
options: localVarRequestOptions
|
|
353
|
+
};
|
|
354
|
+
},
|
|
355
|
+
publishPost: async (name, options = {}) => {
|
|
356
|
+
assertParamExists("publishPost", "name", name);
|
|
357
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/posts/{name}/publish`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
358
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
359
|
+
let baseOptions;
|
|
360
|
+
if (configuration) {
|
|
361
|
+
baseOptions = configuration.baseOptions;
|
|
362
|
+
}
|
|
363
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
364
|
+
const localVarHeaderParameter = {};
|
|
365
|
+
const localVarQueryParameter = {};
|
|
366
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
367
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
368
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
369
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
370
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
371
|
+
return {
|
|
372
|
+
url: toPathString(localVarUrlObj),
|
|
373
|
+
options: localVarRequestOptions
|
|
374
|
+
};
|
|
375
|
+
},
|
|
376
|
+
updateDraftPost: async (name, postRequest, options = {}) => {
|
|
377
|
+
assertParamExists("updateDraftPost", "name", name);
|
|
378
|
+
assertParamExists("updateDraftPost", "postRequest", postRequest);
|
|
379
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/posts/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
380
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
381
|
+
let baseOptions;
|
|
382
|
+
if (configuration) {
|
|
383
|
+
baseOptions = configuration.baseOptions;
|
|
384
|
+
}
|
|
385
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
386
|
+
const localVarHeaderParameter = {};
|
|
387
|
+
const localVarQueryParameter = {};
|
|
388
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
389
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
390
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
391
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
392
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
393
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
394
|
+
localVarRequestOptions.data = serializeDataIfNeeded(postRequest, localVarRequestOptions, configuration);
|
|
395
|
+
return {
|
|
396
|
+
url: toPathString(localVarUrlObj),
|
|
397
|
+
options: localVarRequestOptions
|
|
398
|
+
};
|
|
399
|
+
}
|
|
400
|
+
};
|
|
401
|
+
};
|
|
402
|
+
const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
403
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1PostApiAxiosParamCreator(configuration);
|
|
404
|
+
return {
|
|
405
|
+
async draftPost(postRequest, options) {
|
|
406
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
407
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
408
|
+
},
|
|
409
|
+
async listPosts(page, size, labelSelector, fieldSelector, contributors, categories, tags, options) {
|
|
410
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(page, size, labelSelector, fieldSelector, contributors, categories, tags, options);
|
|
411
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
412
|
+
},
|
|
413
|
+
async publishPost(name, options) {
|
|
414
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.publishPost(name, options);
|
|
415
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
416
|
+
},
|
|
417
|
+
async updateDraftPost(name, postRequest, options) {
|
|
418
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDraftPost(name, postRequest, options);
|
|
419
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
420
|
+
}
|
|
421
|
+
};
|
|
422
|
+
};
|
|
423
|
+
const ApiHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
|
|
424
|
+
const localVarFp = ApiHaloRunV1alpha1PostApiFp(configuration);
|
|
425
|
+
return {
|
|
426
|
+
draftPost(postRequest, options) {
|
|
427
|
+
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
428
|
+
},
|
|
429
|
+
listPosts(page, size, labelSelector, fieldSelector, contributors, categories, tags, options) {
|
|
430
|
+
return localVarFp.listPosts(page, size, labelSelector, fieldSelector, contributors, categories, tags, options).then((request) => request(axios, basePath));
|
|
431
|
+
},
|
|
432
|
+
publishPost(name, options) {
|
|
433
|
+
return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
|
|
434
|
+
},
|
|
435
|
+
updateDraftPost(name, postRequest, options) {
|
|
436
|
+
return localVarFp.updateDraftPost(name, postRequest, options).then((request) => request(axios, basePath));
|
|
437
|
+
}
|
|
438
|
+
};
|
|
439
|
+
};
|
|
440
|
+
class ApiHaloRunV1alpha1PostApi extends BaseAPI {
|
|
441
|
+
draftPost(postRequest, options) {
|
|
442
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).draftPost(postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
443
|
+
}
|
|
444
|
+
listPosts(page, size, labelSelector, fieldSelector, contributors, categories, tags, options) {
|
|
445
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).listPosts(page, size, labelSelector, fieldSelector, contributors, categories, tags, options).then((request) => request(this.axios, this.basePath));
|
|
446
|
+
}
|
|
447
|
+
publishPost(name, options) {
|
|
448
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).publishPost(name, options).then((request) => request(this.axios, this.basePath));
|
|
449
|
+
}
|
|
450
|
+
updateDraftPost(name, postRequest, options) {
|
|
451
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).updateDraftPost(name, postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
452
|
+
}
|
|
453
|
+
}
|
|
131
454
|
const ApiHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
132
455
|
return {
|
|
133
456
|
installTheme: async (file, options = {}) => {
|
|
@@ -326,56 +649,10 @@ class ApiHaloRunV1alpha1UserApi extends BaseAPI {
|
|
|
326
649
|
return ApiHaloRunV1alpha1UserApiFp(this.configuration).grantPermission(name, grantRequest, options).then((request) => request(this.axios, this.basePath));
|
|
327
650
|
}
|
|
328
651
|
}
|
|
329
|
-
const
|
|
330
|
-
return {
|
|
331
|
-
hello: async (options = {}) => {
|
|
332
|
-
const localVarPath = `/apis/plugin.api.halo.run/v1alpha1/plugins/PluginTemplate/apples`;
|
|
333
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
334
|
-
let baseOptions;
|
|
335
|
-
if (configuration) {
|
|
336
|
-
baseOptions = configuration.baseOptions;
|
|
337
|
-
}
|
|
338
|
-
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
339
|
-
const localVarHeaderParameter = {};
|
|
340
|
-
const localVarQueryParameter = {};
|
|
341
|
-
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
342
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
343
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
344
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
345
|
-
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
346
|
-
return {
|
|
347
|
-
url: toPathString(localVarUrlObj),
|
|
348
|
-
options: localVarRequestOptions
|
|
349
|
-
};
|
|
350
|
-
}
|
|
351
|
-
};
|
|
352
|
-
};
|
|
353
|
-
const ApplesControllerApiFp = function(configuration) {
|
|
354
|
-
const localVarAxiosParamCreator = ApplesControllerApiAxiosParamCreator(configuration);
|
|
355
|
-
return {
|
|
356
|
-
async hello(options) {
|
|
357
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.hello(options);
|
|
358
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
359
|
-
}
|
|
360
|
-
};
|
|
361
|
-
};
|
|
362
|
-
const ApplesControllerApiFactory = function(configuration, basePath, axios) {
|
|
363
|
-
const localVarFp = ApplesControllerApiFp(configuration);
|
|
364
|
-
return {
|
|
365
|
-
hello(options) {
|
|
366
|
-
return localVarFp.hello(options).then((request) => request(axios, basePath));
|
|
367
|
-
}
|
|
368
|
-
};
|
|
369
|
-
};
|
|
370
|
-
class ApplesControllerApi extends BaseAPI {
|
|
371
|
-
hello(options) {
|
|
372
|
-
return ApplesControllerApiFp(this.configuration).hello(options).then((request) => request(this.axios, this.basePath));
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
652
|
+
const ContentHaloRunV1alpha1CategoryApiAxiosParamCreator = function(configuration) {
|
|
376
653
|
return {
|
|
377
|
-
|
|
378
|
-
const localVarPath = `/apis/
|
|
654
|
+
createcontentHaloRunV1alpha1Category: async (category, options = {}) => {
|
|
655
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/categories`;
|
|
379
656
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
380
657
|
let baseOptions;
|
|
381
658
|
if (configuration) {
|
|
@@ -390,15 +667,15 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
390
667
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
391
668
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
392
669
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
393
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
670
|
+
localVarRequestOptions.data = serializeDataIfNeeded(category, localVarRequestOptions, configuration);
|
|
394
671
|
return {
|
|
395
672
|
url: toPathString(localVarUrlObj),
|
|
396
673
|
options: localVarRequestOptions
|
|
397
674
|
};
|
|
398
675
|
},
|
|
399
|
-
|
|
400
|
-
assertParamExists("
|
|
401
|
-
const localVarPath = `/apis/
|
|
676
|
+
deletecontentHaloRunV1alpha1Category: async (name, options = {}) => {
|
|
677
|
+
assertParamExists("deletecontentHaloRunV1alpha1Category", "name", name);
|
|
678
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
402
679
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
403
680
|
let baseOptions;
|
|
404
681
|
if (configuration) {
|
|
@@ -417,9 +694,9 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
417
694
|
options: localVarRequestOptions
|
|
418
695
|
};
|
|
419
696
|
},
|
|
420
|
-
|
|
421
|
-
assertParamExists("
|
|
422
|
-
const localVarPath = `/apis/
|
|
697
|
+
getcontentHaloRunV1alpha1Category: async (name, options = {}) => {
|
|
698
|
+
assertParamExists("getcontentHaloRunV1alpha1Category", "name", name);
|
|
699
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
423
700
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
424
701
|
let baseOptions;
|
|
425
702
|
if (configuration) {
|
|
@@ -438,8 +715,8 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
438
715
|
options: localVarRequestOptions
|
|
439
716
|
};
|
|
440
717
|
},
|
|
441
|
-
|
|
442
|
-
const localVarPath = `/apis/
|
|
718
|
+
listcontentHaloRunV1alpha1Category: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
719
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/categories`;
|
|
443
720
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
444
721
|
let baseOptions;
|
|
445
722
|
if (configuration) {
|
|
@@ -470,9 +747,9 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
470
747
|
options: localVarRequestOptions
|
|
471
748
|
};
|
|
472
749
|
},
|
|
473
|
-
|
|
474
|
-
assertParamExists("
|
|
475
|
-
const localVarPath = `/apis/
|
|
750
|
+
updatecontentHaloRunV1alpha1Category: async (name, category, options = {}) => {
|
|
751
|
+
assertParamExists("updatecontentHaloRunV1alpha1Category", "name", name);
|
|
752
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
476
753
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
477
754
|
let baseOptions;
|
|
478
755
|
if (configuration) {
|
|
@@ -487,7 +764,7 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
487
764
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
488
765
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
489
766
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
490
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
767
|
+
localVarRequestOptions.data = serializeDataIfNeeded(category, localVarRequestOptions, configuration);
|
|
491
768
|
return {
|
|
492
769
|
url: toPathString(localVarUrlObj),
|
|
493
770
|
options: localVarRequestOptions
|
|
@@ -495,72 +772,72 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
495
772
|
}
|
|
496
773
|
};
|
|
497
774
|
};
|
|
498
|
-
const
|
|
499
|
-
const localVarAxiosParamCreator =
|
|
775
|
+
const ContentHaloRunV1alpha1CategoryApiFp = function(configuration) {
|
|
776
|
+
const localVarAxiosParamCreator = ContentHaloRunV1alpha1CategoryApiAxiosParamCreator(configuration);
|
|
500
777
|
return {
|
|
501
|
-
async
|
|
502
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
778
|
+
async createcontentHaloRunV1alpha1Category(category, options) {
|
|
779
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1Category(category, options);
|
|
503
780
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
504
781
|
},
|
|
505
|
-
async
|
|
506
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
782
|
+
async deletecontentHaloRunV1alpha1Category(name, options) {
|
|
783
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1Category(name, options);
|
|
507
784
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
508
785
|
},
|
|
509
|
-
async
|
|
510
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
786
|
+
async getcontentHaloRunV1alpha1Category(name, options) {
|
|
787
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1Category(name, options);
|
|
511
788
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
512
789
|
},
|
|
513
|
-
async
|
|
514
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
790
|
+
async listcontentHaloRunV1alpha1Category(page, size, labelSelector, fieldSelector, options) {
|
|
791
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Category(page, size, labelSelector, fieldSelector, options);
|
|
515
792
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
516
793
|
},
|
|
517
|
-
async
|
|
518
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
794
|
+
async updatecontentHaloRunV1alpha1Category(name, category, options) {
|
|
795
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Category(name, category, options);
|
|
519
796
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
520
797
|
}
|
|
521
798
|
};
|
|
522
799
|
};
|
|
523
|
-
const
|
|
524
|
-
const localVarFp =
|
|
800
|
+
const ContentHaloRunV1alpha1CategoryApiFactory = function(configuration, basePath, axios) {
|
|
801
|
+
const localVarFp = ContentHaloRunV1alpha1CategoryApiFp(configuration);
|
|
525
802
|
return {
|
|
526
|
-
|
|
527
|
-
return localVarFp.
|
|
803
|
+
createcontentHaloRunV1alpha1Category(category, options) {
|
|
804
|
+
return localVarFp.createcontentHaloRunV1alpha1Category(category, options).then((request) => request(axios, basePath));
|
|
528
805
|
},
|
|
529
|
-
|
|
530
|
-
return localVarFp.
|
|
806
|
+
deletecontentHaloRunV1alpha1Category(name, options) {
|
|
807
|
+
return localVarFp.deletecontentHaloRunV1alpha1Category(name, options).then((request) => request(axios, basePath));
|
|
531
808
|
},
|
|
532
|
-
|
|
533
|
-
return localVarFp.
|
|
809
|
+
getcontentHaloRunV1alpha1Category(name, options) {
|
|
810
|
+
return localVarFp.getcontentHaloRunV1alpha1Category(name, options).then((request) => request(axios, basePath));
|
|
534
811
|
},
|
|
535
|
-
|
|
536
|
-
return localVarFp.
|
|
812
|
+
listcontentHaloRunV1alpha1Category(page, size, labelSelector, fieldSelector, options) {
|
|
813
|
+
return localVarFp.listcontentHaloRunV1alpha1Category(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
537
814
|
},
|
|
538
|
-
|
|
539
|
-
return localVarFp.
|
|
815
|
+
updatecontentHaloRunV1alpha1Category(name, category, options) {
|
|
816
|
+
return localVarFp.updatecontentHaloRunV1alpha1Category(name, category, options).then((request) => request(axios, basePath));
|
|
540
817
|
}
|
|
541
818
|
};
|
|
542
819
|
};
|
|
543
|
-
class
|
|
544
|
-
|
|
545
|
-
return
|
|
820
|
+
class ContentHaloRunV1alpha1CategoryApi extends BaseAPI {
|
|
821
|
+
createcontentHaloRunV1alpha1Category(category, options) {
|
|
822
|
+
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).createcontentHaloRunV1alpha1Category(category, options).then((request) => request(this.axios, this.basePath));
|
|
546
823
|
}
|
|
547
|
-
|
|
548
|
-
return
|
|
824
|
+
deletecontentHaloRunV1alpha1Category(name, options) {
|
|
825
|
+
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).deletecontentHaloRunV1alpha1Category(name, options).then((request) => request(this.axios, this.basePath));
|
|
549
826
|
}
|
|
550
|
-
|
|
551
|
-
return
|
|
827
|
+
getcontentHaloRunV1alpha1Category(name, options) {
|
|
828
|
+
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).getcontentHaloRunV1alpha1Category(name, options).then((request) => request(this.axios, this.basePath));
|
|
552
829
|
}
|
|
553
|
-
|
|
554
|
-
return
|
|
830
|
+
listcontentHaloRunV1alpha1Category(page, size, labelSelector, fieldSelector, options) {
|
|
831
|
+
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).listcontentHaloRunV1alpha1Category(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
555
832
|
}
|
|
556
|
-
|
|
557
|
-
return
|
|
833
|
+
updatecontentHaloRunV1alpha1Category(name, category, options) {
|
|
834
|
+
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).updatecontentHaloRunV1alpha1Category(name, category, options).then((request) => request(this.axios, this.basePath));
|
|
558
835
|
}
|
|
559
836
|
}
|
|
560
|
-
const
|
|
837
|
+
const ContentHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
561
838
|
return {
|
|
562
|
-
|
|
563
|
-
const localVarPath = `/apis/
|
|
839
|
+
createcontentHaloRunV1alpha1Comment: async (comment, options = {}) => {
|
|
840
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/comments`;
|
|
564
841
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
565
842
|
let baseOptions;
|
|
566
843
|
if (configuration) {
|
|
@@ -575,15 +852,15 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
575
852
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
576
853
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
577
854
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
578
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
855
|
+
localVarRequestOptions.data = serializeDataIfNeeded(comment, localVarRequestOptions, configuration);
|
|
579
856
|
return {
|
|
580
857
|
url: toPathString(localVarUrlObj),
|
|
581
858
|
options: localVarRequestOptions
|
|
582
859
|
};
|
|
583
860
|
},
|
|
584
|
-
|
|
585
|
-
assertParamExists("
|
|
586
|
-
const localVarPath = `/apis/
|
|
861
|
+
deletecontentHaloRunV1alpha1Comment: async (name, options = {}) => {
|
|
862
|
+
assertParamExists("deletecontentHaloRunV1alpha1Comment", "name", name);
|
|
863
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
587
864
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
588
865
|
let baseOptions;
|
|
589
866
|
if (configuration) {
|
|
@@ -602,9 +879,9 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
602
879
|
options: localVarRequestOptions
|
|
603
880
|
};
|
|
604
881
|
},
|
|
605
|
-
|
|
606
|
-
assertParamExists("
|
|
607
|
-
const localVarPath = `/apis/
|
|
882
|
+
getcontentHaloRunV1alpha1Comment: async (name, options = {}) => {
|
|
883
|
+
assertParamExists("getcontentHaloRunV1alpha1Comment", "name", name);
|
|
884
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
608
885
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
609
886
|
let baseOptions;
|
|
610
887
|
if (configuration) {
|
|
@@ -623,8 +900,8 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
623
900
|
options: localVarRequestOptions
|
|
624
901
|
};
|
|
625
902
|
},
|
|
626
|
-
|
|
627
|
-
const localVarPath = `/apis/
|
|
903
|
+
listcontentHaloRunV1alpha1Comment: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
904
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/comments`;
|
|
628
905
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
629
906
|
let baseOptions;
|
|
630
907
|
if (configuration) {
|
|
@@ -655,9 +932,9 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
655
932
|
options: localVarRequestOptions
|
|
656
933
|
};
|
|
657
934
|
},
|
|
658
|
-
|
|
659
|
-
assertParamExists("
|
|
660
|
-
const localVarPath = `/apis/
|
|
935
|
+
updatecontentHaloRunV1alpha1Comment: async (name, comment, options = {}) => {
|
|
936
|
+
assertParamExists("updatecontentHaloRunV1alpha1Comment", "name", name);
|
|
937
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
661
938
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
662
939
|
let baseOptions;
|
|
663
940
|
if (configuration) {
|
|
@@ -672,7 +949,7 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
672
949
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
673
950
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
674
951
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
675
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
952
|
+
localVarRequestOptions.data = serializeDataIfNeeded(comment, localVarRequestOptions, configuration);
|
|
676
953
|
return {
|
|
677
954
|
url: toPathString(localVarUrlObj),
|
|
678
955
|
options: localVarRequestOptions
|
|
@@ -680,72 +957,72 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
680
957
|
}
|
|
681
958
|
};
|
|
682
959
|
};
|
|
683
|
-
const
|
|
684
|
-
const localVarAxiosParamCreator =
|
|
960
|
+
const ContentHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
961
|
+
const localVarAxiosParamCreator = ContentHaloRunV1alpha1CommentApiAxiosParamCreator(configuration);
|
|
685
962
|
return {
|
|
686
|
-
async
|
|
687
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
963
|
+
async createcontentHaloRunV1alpha1Comment(comment, options) {
|
|
964
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1Comment(comment, options);
|
|
688
965
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
689
966
|
},
|
|
690
|
-
async
|
|
691
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
967
|
+
async deletecontentHaloRunV1alpha1Comment(name, options) {
|
|
968
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1Comment(name, options);
|
|
692
969
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
693
970
|
},
|
|
694
|
-
async
|
|
695
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
971
|
+
async getcontentHaloRunV1alpha1Comment(name, options) {
|
|
972
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1Comment(name, options);
|
|
696
973
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
697
974
|
},
|
|
698
|
-
async
|
|
699
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
975
|
+
async listcontentHaloRunV1alpha1Comment(page, size, labelSelector, fieldSelector, options) {
|
|
976
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Comment(page, size, labelSelector, fieldSelector, options);
|
|
700
977
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
701
978
|
},
|
|
702
|
-
async
|
|
703
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
979
|
+
async updatecontentHaloRunV1alpha1Comment(name, comment, options) {
|
|
980
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Comment(name, comment, options);
|
|
704
981
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
705
982
|
}
|
|
706
983
|
};
|
|
707
984
|
};
|
|
708
|
-
const
|
|
709
|
-
const localVarFp =
|
|
985
|
+
const ContentHaloRunV1alpha1CommentApiFactory = function(configuration, basePath, axios) {
|
|
986
|
+
const localVarFp = ContentHaloRunV1alpha1CommentApiFp(configuration);
|
|
710
987
|
return {
|
|
711
|
-
|
|
712
|
-
return localVarFp.
|
|
988
|
+
createcontentHaloRunV1alpha1Comment(comment, options) {
|
|
989
|
+
return localVarFp.createcontentHaloRunV1alpha1Comment(comment, options).then((request) => request(axios, basePath));
|
|
713
990
|
},
|
|
714
|
-
|
|
715
|
-
return localVarFp.
|
|
991
|
+
deletecontentHaloRunV1alpha1Comment(name, options) {
|
|
992
|
+
return localVarFp.deletecontentHaloRunV1alpha1Comment(name, options).then((request) => request(axios, basePath));
|
|
716
993
|
},
|
|
717
|
-
|
|
718
|
-
return localVarFp.
|
|
994
|
+
getcontentHaloRunV1alpha1Comment(name, options) {
|
|
995
|
+
return localVarFp.getcontentHaloRunV1alpha1Comment(name, options).then((request) => request(axios, basePath));
|
|
719
996
|
},
|
|
720
|
-
|
|
721
|
-
return localVarFp.
|
|
997
|
+
listcontentHaloRunV1alpha1Comment(page, size, labelSelector, fieldSelector, options) {
|
|
998
|
+
return localVarFp.listcontentHaloRunV1alpha1Comment(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
722
999
|
},
|
|
723
|
-
|
|
724
|
-
return localVarFp.
|
|
1000
|
+
updatecontentHaloRunV1alpha1Comment(name, comment, options) {
|
|
1001
|
+
return localVarFp.updatecontentHaloRunV1alpha1Comment(name, comment, options).then((request) => request(axios, basePath));
|
|
725
1002
|
}
|
|
726
1003
|
};
|
|
727
1004
|
};
|
|
728
|
-
class
|
|
729
|
-
|
|
730
|
-
return
|
|
1005
|
+
class ContentHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
1006
|
+
createcontentHaloRunV1alpha1Comment(comment, options) {
|
|
1007
|
+
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).createcontentHaloRunV1alpha1Comment(comment, options).then((request) => request(this.axios, this.basePath));
|
|
731
1008
|
}
|
|
732
|
-
|
|
733
|
-
return
|
|
1009
|
+
deletecontentHaloRunV1alpha1Comment(name, options) {
|
|
1010
|
+
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).deletecontentHaloRunV1alpha1Comment(name, options).then((request) => request(this.axios, this.basePath));
|
|
734
1011
|
}
|
|
735
|
-
|
|
736
|
-
return
|
|
1012
|
+
getcontentHaloRunV1alpha1Comment(name, options) {
|
|
1013
|
+
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).getcontentHaloRunV1alpha1Comment(name, options).then((request) => request(this.axios, this.basePath));
|
|
737
1014
|
}
|
|
738
|
-
|
|
739
|
-
return
|
|
1015
|
+
listcontentHaloRunV1alpha1Comment(page, size, labelSelector, fieldSelector, options) {
|
|
1016
|
+
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).listcontentHaloRunV1alpha1Comment(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
740
1017
|
}
|
|
741
|
-
|
|
742
|
-
return
|
|
1018
|
+
updatecontentHaloRunV1alpha1Comment(name, comment, options) {
|
|
1019
|
+
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).updatecontentHaloRunV1alpha1Comment(name, comment, options).then((request) => request(this.axios, this.basePath));
|
|
743
1020
|
}
|
|
744
1021
|
}
|
|
745
|
-
const
|
|
1022
|
+
const ContentHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
746
1023
|
return {
|
|
747
|
-
|
|
748
|
-
const localVarPath = `/apis/
|
|
1024
|
+
createcontentHaloRunV1alpha1Post: async (post, options = {}) => {
|
|
1025
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/posts`;
|
|
749
1026
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
750
1027
|
let baseOptions;
|
|
751
1028
|
if (configuration) {
|
|
@@ -760,15 +1037,15 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
760
1037
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
761
1038
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
762
1039
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
763
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1040
|
+
localVarRequestOptions.data = serializeDataIfNeeded(post, localVarRequestOptions, configuration);
|
|
764
1041
|
return {
|
|
765
1042
|
url: toPathString(localVarUrlObj),
|
|
766
1043
|
options: localVarRequestOptions
|
|
767
1044
|
};
|
|
768
1045
|
},
|
|
769
|
-
|
|
770
|
-
assertParamExists("
|
|
771
|
-
const localVarPath = `/apis/
|
|
1046
|
+
deletecontentHaloRunV1alpha1Post: async (name, options = {}) => {
|
|
1047
|
+
assertParamExists("deletecontentHaloRunV1alpha1Post", "name", name);
|
|
1048
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
772
1049
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
773
1050
|
let baseOptions;
|
|
774
1051
|
if (configuration) {
|
|
@@ -787,9 +1064,9 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
787
1064
|
options: localVarRequestOptions
|
|
788
1065
|
};
|
|
789
1066
|
},
|
|
790
|
-
|
|
791
|
-
assertParamExists("
|
|
792
|
-
const localVarPath = `/apis/
|
|
1067
|
+
getcontentHaloRunV1alpha1Post: async (name, options = {}) => {
|
|
1068
|
+
assertParamExists("getcontentHaloRunV1alpha1Post", "name", name);
|
|
1069
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
793
1070
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
794
1071
|
let baseOptions;
|
|
795
1072
|
if (configuration) {
|
|
@@ -808,8 +1085,8 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
808
1085
|
options: localVarRequestOptions
|
|
809
1086
|
};
|
|
810
1087
|
},
|
|
811
|
-
|
|
812
|
-
const localVarPath = `/apis/
|
|
1088
|
+
listcontentHaloRunV1alpha1Post: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1089
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/posts`;
|
|
813
1090
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
814
1091
|
let baseOptions;
|
|
815
1092
|
if (configuration) {
|
|
@@ -840,9 +1117,9 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
840
1117
|
options: localVarRequestOptions
|
|
841
1118
|
};
|
|
842
1119
|
},
|
|
843
|
-
|
|
844
|
-
assertParamExists("
|
|
845
|
-
const localVarPath = `/apis/
|
|
1120
|
+
updatecontentHaloRunV1alpha1Post: async (name, post, options = {}) => {
|
|
1121
|
+
assertParamExists("updatecontentHaloRunV1alpha1Post", "name", name);
|
|
1122
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
846
1123
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
847
1124
|
let baseOptions;
|
|
848
1125
|
if (configuration) {
|
|
@@ -857,7 +1134,7 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
857
1134
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
858
1135
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
859
1136
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
860
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1137
|
+
localVarRequestOptions.data = serializeDataIfNeeded(post, localVarRequestOptions, configuration);
|
|
861
1138
|
return {
|
|
862
1139
|
url: toPathString(localVarUrlObj),
|
|
863
1140
|
options: localVarRequestOptions
|
|
@@ -865,72 +1142,72 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
865
1142
|
}
|
|
866
1143
|
};
|
|
867
1144
|
};
|
|
868
|
-
const
|
|
869
|
-
const localVarAxiosParamCreator =
|
|
1145
|
+
const ContentHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
1146
|
+
const localVarAxiosParamCreator = ContentHaloRunV1alpha1PostApiAxiosParamCreator(configuration);
|
|
870
1147
|
return {
|
|
871
|
-
async
|
|
872
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1148
|
+
async createcontentHaloRunV1alpha1Post(post, options) {
|
|
1149
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1Post(post, options);
|
|
873
1150
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
874
1151
|
},
|
|
875
|
-
async
|
|
876
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1152
|
+
async deletecontentHaloRunV1alpha1Post(name, options) {
|
|
1153
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1Post(name, options);
|
|
877
1154
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
878
1155
|
},
|
|
879
|
-
async
|
|
880
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1156
|
+
async getcontentHaloRunV1alpha1Post(name, options) {
|
|
1157
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1Post(name, options);
|
|
881
1158
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
882
1159
|
},
|
|
883
|
-
async
|
|
884
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1160
|
+
async listcontentHaloRunV1alpha1Post(page, size, labelSelector, fieldSelector, options) {
|
|
1161
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Post(page, size, labelSelector, fieldSelector, options);
|
|
885
1162
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
886
1163
|
},
|
|
887
|
-
async
|
|
888
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1164
|
+
async updatecontentHaloRunV1alpha1Post(name, post, options) {
|
|
1165
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Post(name, post, options);
|
|
889
1166
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
890
1167
|
}
|
|
891
1168
|
};
|
|
892
1169
|
};
|
|
893
|
-
const
|
|
894
|
-
const localVarFp =
|
|
1170
|
+
const ContentHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
|
|
1171
|
+
const localVarFp = ContentHaloRunV1alpha1PostApiFp(configuration);
|
|
895
1172
|
return {
|
|
896
|
-
|
|
897
|
-
return localVarFp.
|
|
1173
|
+
createcontentHaloRunV1alpha1Post(post, options) {
|
|
1174
|
+
return localVarFp.createcontentHaloRunV1alpha1Post(post, options).then((request) => request(axios, basePath));
|
|
898
1175
|
},
|
|
899
|
-
|
|
900
|
-
return localVarFp.
|
|
1176
|
+
deletecontentHaloRunV1alpha1Post(name, options) {
|
|
1177
|
+
return localVarFp.deletecontentHaloRunV1alpha1Post(name, options).then((request) => request(axios, basePath));
|
|
901
1178
|
},
|
|
902
|
-
|
|
903
|
-
return localVarFp.
|
|
1179
|
+
getcontentHaloRunV1alpha1Post(name, options) {
|
|
1180
|
+
return localVarFp.getcontentHaloRunV1alpha1Post(name, options).then((request) => request(axios, basePath));
|
|
904
1181
|
},
|
|
905
|
-
|
|
906
|
-
return localVarFp.
|
|
1182
|
+
listcontentHaloRunV1alpha1Post(page, size, labelSelector, fieldSelector, options) {
|
|
1183
|
+
return localVarFp.listcontentHaloRunV1alpha1Post(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
907
1184
|
},
|
|
908
|
-
|
|
909
|
-
return localVarFp.
|
|
1185
|
+
updatecontentHaloRunV1alpha1Post(name, post, options) {
|
|
1186
|
+
return localVarFp.updatecontentHaloRunV1alpha1Post(name, post, options).then((request) => request(axios, basePath));
|
|
910
1187
|
}
|
|
911
1188
|
};
|
|
912
1189
|
};
|
|
913
|
-
class
|
|
914
|
-
|
|
915
|
-
return
|
|
1190
|
+
class ContentHaloRunV1alpha1PostApi extends BaseAPI {
|
|
1191
|
+
createcontentHaloRunV1alpha1Post(post, options) {
|
|
1192
|
+
return ContentHaloRunV1alpha1PostApiFp(this.configuration).createcontentHaloRunV1alpha1Post(post, options).then((request) => request(this.axios, this.basePath));
|
|
916
1193
|
}
|
|
917
|
-
|
|
918
|
-
return
|
|
1194
|
+
deletecontentHaloRunV1alpha1Post(name, options) {
|
|
1195
|
+
return ContentHaloRunV1alpha1PostApiFp(this.configuration).deletecontentHaloRunV1alpha1Post(name, options).then((request) => request(this.axios, this.basePath));
|
|
919
1196
|
}
|
|
920
|
-
|
|
921
|
-
return
|
|
1197
|
+
getcontentHaloRunV1alpha1Post(name, options) {
|
|
1198
|
+
return ContentHaloRunV1alpha1PostApiFp(this.configuration).getcontentHaloRunV1alpha1Post(name, options).then((request) => request(this.axios, this.basePath));
|
|
922
1199
|
}
|
|
923
|
-
|
|
924
|
-
return
|
|
1200
|
+
listcontentHaloRunV1alpha1Post(page, size, labelSelector, fieldSelector, options) {
|
|
1201
|
+
return ContentHaloRunV1alpha1PostApiFp(this.configuration).listcontentHaloRunV1alpha1Post(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
925
1202
|
}
|
|
926
|
-
|
|
927
|
-
return
|
|
1203
|
+
updatecontentHaloRunV1alpha1Post(name, post, options) {
|
|
1204
|
+
return ContentHaloRunV1alpha1PostApiFp(this.configuration).updatecontentHaloRunV1alpha1Post(name, post, options).then((request) => request(this.axios, this.basePath));
|
|
928
1205
|
}
|
|
929
1206
|
}
|
|
930
|
-
const
|
|
1207
|
+
const ContentHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
|
|
931
1208
|
return {
|
|
932
|
-
|
|
933
|
-
const localVarPath = `/apis/
|
|
1209
|
+
createcontentHaloRunV1alpha1Reply: async (reply, options = {}) => {
|
|
1210
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/replies`;
|
|
934
1211
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
935
1212
|
let baseOptions;
|
|
936
1213
|
if (configuration) {
|
|
@@ -945,15 +1222,15 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
945
1222
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
946
1223
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
947
1224
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
948
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1225
|
+
localVarRequestOptions.data = serializeDataIfNeeded(reply, localVarRequestOptions, configuration);
|
|
949
1226
|
return {
|
|
950
1227
|
url: toPathString(localVarUrlObj),
|
|
951
1228
|
options: localVarRequestOptions
|
|
952
1229
|
};
|
|
953
1230
|
},
|
|
954
|
-
|
|
955
|
-
assertParamExists("
|
|
956
|
-
const localVarPath = `/apis/
|
|
1231
|
+
deletecontentHaloRunV1alpha1Reply: async (name, options = {}) => {
|
|
1232
|
+
assertParamExists("deletecontentHaloRunV1alpha1Reply", "name", name);
|
|
1233
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
957
1234
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
958
1235
|
let baseOptions;
|
|
959
1236
|
if (configuration) {
|
|
@@ -972,9 +1249,9 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
972
1249
|
options: localVarRequestOptions
|
|
973
1250
|
};
|
|
974
1251
|
},
|
|
975
|
-
|
|
976
|
-
assertParamExists("
|
|
977
|
-
const localVarPath = `/apis/
|
|
1252
|
+
getcontentHaloRunV1alpha1Reply: async (name, options = {}) => {
|
|
1253
|
+
assertParamExists("getcontentHaloRunV1alpha1Reply", "name", name);
|
|
1254
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
978
1255
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
979
1256
|
let baseOptions;
|
|
980
1257
|
if (configuration) {
|
|
@@ -993,8 +1270,8 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
993
1270
|
options: localVarRequestOptions
|
|
994
1271
|
};
|
|
995
1272
|
},
|
|
996
|
-
|
|
997
|
-
const localVarPath = `/apis/
|
|
1273
|
+
listcontentHaloRunV1alpha1Reply: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1274
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/replies`;
|
|
998
1275
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
999
1276
|
let baseOptions;
|
|
1000
1277
|
if (configuration) {
|
|
@@ -1025,9 +1302,9 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
1025
1302
|
options: localVarRequestOptions
|
|
1026
1303
|
};
|
|
1027
1304
|
},
|
|
1028
|
-
|
|
1029
|
-
assertParamExists("
|
|
1030
|
-
const localVarPath = `/apis/
|
|
1305
|
+
updatecontentHaloRunV1alpha1Reply: async (name, reply, options = {}) => {
|
|
1306
|
+
assertParamExists("updatecontentHaloRunV1alpha1Reply", "name", name);
|
|
1307
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1031
1308
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1032
1309
|
let baseOptions;
|
|
1033
1310
|
if (configuration) {
|
|
@@ -1042,7 +1319,7 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
1042
1319
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1043
1320
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1044
1321
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1045
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1322
|
+
localVarRequestOptions.data = serializeDataIfNeeded(reply, localVarRequestOptions, configuration);
|
|
1046
1323
|
return {
|
|
1047
1324
|
url: toPathString(localVarUrlObj),
|
|
1048
1325
|
options: localVarRequestOptions
|
|
@@ -1050,72 +1327,72 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
1050
1327
|
}
|
|
1051
1328
|
};
|
|
1052
1329
|
};
|
|
1053
|
-
const
|
|
1054
|
-
const localVarAxiosParamCreator =
|
|
1330
|
+
const ContentHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
1331
|
+
const localVarAxiosParamCreator = ContentHaloRunV1alpha1ReplyApiAxiosParamCreator(configuration);
|
|
1055
1332
|
return {
|
|
1056
|
-
async
|
|
1057
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1333
|
+
async createcontentHaloRunV1alpha1Reply(reply, options) {
|
|
1334
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1Reply(reply, options);
|
|
1058
1335
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1059
1336
|
},
|
|
1060
|
-
async
|
|
1061
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1337
|
+
async deletecontentHaloRunV1alpha1Reply(name, options) {
|
|
1338
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1Reply(name, options);
|
|
1062
1339
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1063
1340
|
},
|
|
1064
|
-
async
|
|
1065
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1341
|
+
async getcontentHaloRunV1alpha1Reply(name, options) {
|
|
1342
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1Reply(name, options);
|
|
1066
1343
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1067
1344
|
},
|
|
1068
|
-
async
|
|
1069
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1345
|
+
async listcontentHaloRunV1alpha1Reply(page, size, labelSelector, fieldSelector, options) {
|
|
1346
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Reply(page, size, labelSelector, fieldSelector, options);
|
|
1070
1347
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1071
1348
|
},
|
|
1072
|
-
async
|
|
1073
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1349
|
+
async updatecontentHaloRunV1alpha1Reply(name, reply, options) {
|
|
1350
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Reply(name, reply, options);
|
|
1074
1351
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1075
1352
|
}
|
|
1076
1353
|
};
|
|
1077
1354
|
};
|
|
1078
|
-
const
|
|
1079
|
-
const localVarFp =
|
|
1355
|
+
const ContentHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
|
|
1356
|
+
const localVarFp = ContentHaloRunV1alpha1ReplyApiFp(configuration);
|
|
1080
1357
|
return {
|
|
1081
|
-
|
|
1082
|
-
return localVarFp.
|
|
1358
|
+
createcontentHaloRunV1alpha1Reply(reply, options) {
|
|
1359
|
+
return localVarFp.createcontentHaloRunV1alpha1Reply(reply, options).then((request) => request(axios, basePath));
|
|
1083
1360
|
},
|
|
1084
|
-
|
|
1085
|
-
return localVarFp.
|
|
1361
|
+
deletecontentHaloRunV1alpha1Reply(name, options) {
|
|
1362
|
+
return localVarFp.deletecontentHaloRunV1alpha1Reply(name, options).then((request) => request(axios, basePath));
|
|
1086
1363
|
},
|
|
1087
|
-
|
|
1088
|
-
return localVarFp.
|
|
1364
|
+
getcontentHaloRunV1alpha1Reply(name, options) {
|
|
1365
|
+
return localVarFp.getcontentHaloRunV1alpha1Reply(name, options).then((request) => request(axios, basePath));
|
|
1089
1366
|
},
|
|
1090
|
-
|
|
1091
|
-
return localVarFp.
|
|
1367
|
+
listcontentHaloRunV1alpha1Reply(page, size, labelSelector, fieldSelector, options) {
|
|
1368
|
+
return localVarFp.listcontentHaloRunV1alpha1Reply(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1092
1369
|
},
|
|
1093
|
-
|
|
1094
|
-
return localVarFp.
|
|
1370
|
+
updatecontentHaloRunV1alpha1Reply(name, reply, options) {
|
|
1371
|
+
return localVarFp.updatecontentHaloRunV1alpha1Reply(name, reply, options).then((request) => request(axios, basePath));
|
|
1095
1372
|
}
|
|
1096
1373
|
};
|
|
1097
1374
|
};
|
|
1098
|
-
class
|
|
1099
|
-
|
|
1100
|
-
return
|
|
1375
|
+
class ContentHaloRunV1alpha1ReplyApi extends BaseAPI {
|
|
1376
|
+
createcontentHaloRunV1alpha1Reply(reply, options) {
|
|
1377
|
+
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).createcontentHaloRunV1alpha1Reply(reply, options).then((request) => request(this.axios, this.basePath));
|
|
1101
1378
|
}
|
|
1102
|
-
|
|
1103
|
-
return
|
|
1379
|
+
deletecontentHaloRunV1alpha1Reply(name, options) {
|
|
1380
|
+
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).deletecontentHaloRunV1alpha1Reply(name, options).then((request) => request(this.axios, this.basePath));
|
|
1104
1381
|
}
|
|
1105
|
-
|
|
1106
|
-
return
|
|
1382
|
+
getcontentHaloRunV1alpha1Reply(name, options) {
|
|
1383
|
+
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).getcontentHaloRunV1alpha1Reply(name, options).then((request) => request(this.axios, this.basePath));
|
|
1107
1384
|
}
|
|
1108
|
-
|
|
1109
|
-
return
|
|
1385
|
+
listcontentHaloRunV1alpha1Reply(page, size, labelSelector, fieldSelector, options) {
|
|
1386
|
+
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).listcontentHaloRunV1alpha1Reply(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1110
1387
|
}
|
|
1111
|
-
|
|
1112
|
-
return
|
|
1388
|
+
updatecontentHaloRunV1alpha1Reply(name, reply, options) {
|
|
1389
|
+
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).updatecontentHaloRunV1alpha1Reply(name, reply, options).then((request) => request(this.axios, this.basePath));
|
|
1113
1390
|
}
|
|
1114
1391
|
}
|
|
1115
|
-
const
|
|
1392
|
+
const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuration) {
|
|
1116
1393
|
return {
|
|
1117
|
-
|
|
1118
|
-
const localVarPath = `/apis/
|
|
1394
|
+
createcontentHaloRunV1alpha1Snapshot: async (snapshot, options = {}) => {
|
|
1395
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots`;
|
|
1119
1396
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1120
1397
|
let baseOptions;
|
|
1121
1398
|
if (configuration) {
|
|
@@ -1130,15 +1407,15 @@ const RunHaloTemplateV1alpha1AppleApiAxiosParamCreator = function(configuration)
|
|
|
1130
1407
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1131
1408
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1132
1409
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1133
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1410
|
+
localVarRequestOptions.data = serializeDataIfNeeded(snapshot, localVarRequestOptions, configuration);
|
|
1134
1411
|
return {
|
|
1135
1412
|
url: toPathString(localVarUrlObj),
|
|
1136
1413
|
options: localVarRequestOptions
|
|
1137
1414
|
};
|
|
1138
1415
|
},
|
|
1139
|
-
|
|
1140
|
-
assertParamExists("
|
|
1141
|
-
const localVarPath = `/apis/
|
|
1416
|
+
deletecontentHaloRunV1alpha1Snapshot: async (name, options = {}) => {
|
|
1417
|
+
assertParamExists("deletecontentHaloRunV1alpha1Snapshot", "name", name);
|
|
1418
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1142
1419
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1143
1420
|
let baseOptions;
|
|
1144
1421
|
if (configuration) {
|
|
@@ -1157,9 +1434,9 @@ const RunHaloTemplateV1alpha1AppleApiAxiosParamCreator = function(configuration)
|
|
|
1157
1434
|
options: localVarRequestOptions
|
|
1158
1435
|
};
|
|
1159
1436
|
},
|
|
1160
|
-
|
|
1161
|
-
assertParamExists("
|
|
1162
|
-
const localVarPath = `/apis/
|
|
1437
|
+
getcontentHaloRunV1alpha1Snapshot: async (name, options = {}) => {
|
|
1438
|
+
assertParamExists("getcontentHaloRunV1alpha1Snapshot", "name", name);
|
|
1439
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1163
1440
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1164
1441
|
let baseOptions;
|
|
1165
1442
|
if (configuration) {
|
|
@@ -1178,8 +1455,8 @@ const RunHaloTemplateV1alpha1AppleApiAxiosParamCreator = function(configuration)
|
|
|
1178
1455
|
options: localVarRequestOptions
|
|
1179
1456
|
};
|
|
1180
1457
|
},
|
|
1181
|
-
|
|
1182
|
-
const localVarPath = `/apis/
|
|
1458
|
+
listcontentHaloRunV1alpha1Snapshot: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1459
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots`;
|
|
1183
1460
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1184
1461
|
let baseOptions;
|
|
1185
1462
|
if (configuration) {
|
|
@@ -1210,9 +1487,9 @@ const RunHaloTemplateV1alpha1AppleApiAxiosParamCreator = function(configuration)
|
|
|
1210
1487
|
options: localVarRequestOptions
|
|
1211
1488
|
};
|
|
1212
1489
|
},
|
|
1213
|
-
|
|
1214
|
-
assertParamExists("
|
|
1215
|
-
const localVarPath = `/apis/
|
|
1490
|
+
updatecontentHaloRunV1alpha1Snapshot: async (name, snapshot, options = {}) => {
|
|
1491
|
+
assertParamExists("updatecontentHaloRunV1alpha1Snapshot", "name", name);
|
|
1492
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1216
1493
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1217
1494
|
let baseOptions;
|
|
1218
1495
|
if (configuration) {
|
|
@@ -1227,7 +1504,7 @@ const RunHaloTemplateV1alpha1AppleApiAxiosParamCreator = function(configuration)
|
|
|
1227
1504
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1228
1505
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1229
1506
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1230
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1507
|
+
localVarRequestOptions.data = serializeDataIfNeeded(snapshot, localVarRequestOptions, configuration);
|
|
1231
1508
|
return {
|
|
1232
1509
|
url: toPathString(localVarUrlObj),
|
|
1233
1510
|
options: localVarRequestOptions
|
|
@@ -1235,72 +1512,72 @@ const RunHaloTemplateV1alpha1AppleApiAxiosParamCreator = function(configuration)
|
|
|
1235
1512
|
}
|
|
1236
1513
|
};
|
|
1237
1514
|
};
|
|
1238
|
-
const
|
|
1239
|
-
const localVarAxiosParamCreator =
|
|
1515
|
+
const ContentHaloRunV1alpha1SnapshotApiFp = function(configuration) {
|
|
1516
|
+
const localVarAxiosParamCreator = ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator(configuration);
|
|
1240
1517
|
return {
|
|
1241
|
-
async
|
|
1242
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1518
|
+
async createcontentHaloRunV1alpha1Snapshot(snapshot, options) {
|
|
1519
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1Snapshot(snapshot, options);
|
|
1243
1520
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1244
1521
|
},
|
|
1245
|
-
async
|
|
1246
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1522
|
+
async deletecontentHaloRunV1alpha1Snapshot(name, options) {
|
|
1523
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1Snapshot(name, options);
|
|
1247
1524
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1248
1525
|
},
|
|
1249
|
-
async
|
|
1250
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1526
|
+
async getcontentHaloRunV1alpha1Snapshot(name, options) {
|
|
1527
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1Snapshot(name, options);
|
|
1251
1528
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1252
1529
|
},
|
|
1253
|
-
async
|
|
1254
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1530
|
+
async listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options) {
|
|
1531
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options);
|
|
1255
1532
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1256
1533
|
},
|
|
1257
|
-
async
|
|
1258
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1534
|
+
async updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options) {
|
|
1535
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options);
|
|
1259
1536
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1260
1537
|
}
|
|
1261
1538
|
};
|
|
1262
1539
|
};
|
|
1263
|
-
const
|
|
1264
|
-
const localVarFp =
|
|
1540
|
+
const ContentHaloRunV1alpha1SnapshotApiFactory = function(configuration, basePath, axios) {
|
|
1541
|
+
const localVarFp = ContentHaloRunV1alpha1SnapshotApiFp(configuration);
|
|
1265
1542
|
return {
|
|
1266
|
-
|
|
1267
|
-
return localVarFp.
|
|
1543
|
+
createcontentHaloRunV1alpha1Snapshot(snapshot, options) {
|
|
1544
|
+
return localVarFp.createcontentHaloRunV1alpha1Snapshot(snapshot, options).then((request) => request(axios, basePath));
|
|
1268
1545
|
},
|
|
1269
|
-
|
|
1270
|
-
return localVarFp.
|
|
1546
|
+
deletecontentHaloRunV1alpha1Snapshot(name, options) {
|
|
1547
|
+
return localVarFp.deletecontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(axios, basePath));
|
|
1271
1548
|
},
|
|
1272
|
-
|
|
1273
|
-
return localVarFp.
|
|
1549
|
+
getcontentHaloRunV1alpha1Snapshot(name, options) {
|
|
1550
|
+
return localVarFp.getcontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(axios, basePath));
|
|
1274
1551
|
},
|
|
1275
|
-
|
|
1276
|
-
return localVarFp.
|
|
1552
|
+
listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options) {
|
|
1553
|
+
return localVarFp.listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1277
1554
|
},
|
|
1278
|
-
|
|
1279
|
-
return localVarFp.
|
|
1555
|
+
updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options) {
|
|
1556
|
+
return localVarFp.updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options).then((request) => request(axios, basePath));
|
|
1280
1557
|
}
|
|
1281
1558
|
};
|
|
1282
1559
|
};
|
|
1283
|
-
class
|
|
1284
|
-
|
|
1285
|
-
return
|
|
1560
|
+
class ContentHaloRunV1alpha1SnapshotApi extends BaseAPI {
|
|
1561
|
+
createcontentHaloRunV1alpha1Snapshot(snapshot, options) {
|
|
1562
|
+
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).createcontentHaloRunV1alpha1Snapshot(snapshot, options).then((request) => request(this.axios, this.basePath));
|
|
1286
1563
|
}
|
|
1287
|
-
|
|
1288
|
-
return
|
|
1564
|
+
deletecontentHaloRunV1alpha1Snapshot(name, options) {
|
|
1565
|
+
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).deletecontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(this.axios, this.basePath));
|
|
1289
1566
|
}
|
|
1290
|
-
|
|
1291
|
-
return
|
|
1567
|
+
getcontentHaloRunV1alpha1Snapshot(name, options) {
|
|
1568
|
+
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).getcontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(this.axios, this.basePath));
|
|
1292
1569
|
}
|
|
1293
|
-
|
|
1294
|
-
return
|
|
1570
|
+
listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options) {
|
|
1571
|
+
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1295
1572
|
}
|
|
1296
|
-
|
|
1297
|
-
return
|
|
1573
|
+
updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options) {
|
|
1574
|
+
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options).then((request) => request(this.axios, this.basePath));
|
|
1298
1575
|
}
|
|
1299
1576
|
}
|
|
1300
|
-
const
|
|
1577
|
+
const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
|
|
1301
1578
|
return {
|
|
1302
|
-
|
|
1303
|
-
const localVarPath = `/apis/
|
|
1579
|
+
createcontentHaloRunV1alpha1Tag: async (tag, options = {}) => {
|
|
1580
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/tags`;
|
|
1304
1581
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1305
1582
|
let baseOptions;
|
|
1306
1583
|
if (configuration) {
|
|
@@ -1315,15 +1592,15 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
1315
1592
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1316
1593
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1317
1594
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1318
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1595
|
+
localVarRequestOptions.data = serializeDataIfNeeded(tag, localVarRequestOptions, configuration);
|
|
1319
1596
|
return {
|
|
1320
1597
|
url: toPathString(localVarUrlObj),
|
|
1321
1598
|
options: localVarRequestOptions
|
|
1322
1599
|
};
|
|
1323
1600
|
},
|
|
1324
|
-
|
|
1325
|
-
assertParamExists("
|
|
1326
|
-
const localVarPath = `/apis/
|
|
1601
|
+
deletecontentHaloRunV1alpha1Tag: async (name, options = {}) => {
|
|
1602
|
+
assertParamExists("deletecontentHaloRunV1alpha1Tag", "name", name);
|
|
1603
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1327
1604
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1328
1605
|
let baseOptions;
|
|
1329
1606
|
if (configuration) {
|
|
@@ -1342,9 +1619,9 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
1342
1619
|
options: localVarRequestOptions
|
|
1343
1620
|
};
|
|
1344
1621
|
},
|
|
1345
|
-
|
|
1346
|
-
assertParamExists("
|
|
1347
|
-
const localVarPath = `/apis/
|
|
1622
|
+
getcontentHaloRunV1alpha1Tag: async (name, options = {}) => {
|
|
1623
|
+
assertParamExists("getcontentHaloRunV1alpha1Tag", "name", name);
|
|
1624
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1348
1625
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1349
1626
|
let baseOptions;
|
|
1350
1627
|
if (configuration) {
|
|
@@ -1363,8 +1640,8 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
1363
1640
|
options: localVarRequestOptions
|
|
1364
1641
|
};
|
|
1365
1642
|
},
|
|
1366
|
-
|
|
1367
|
-
const localVarPath = `/apis/
|
|
1643
|
+
listcontentHaloRunV1alpha1Tag: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1644
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/tags`;
|
|
1368
1645
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1369
1646
|
let baseOptions;
|
|
1370
1647
|
if (configuration) {
|
|
@@ -1395,9 +1672,9 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
1395
1672
|
options: localVarRequestOptions
|
|
1396
1673
|
};
|
|
1397
1674
|
},
|
|
1398
|
-
|
|
1399
|
-
assertParamExists("
|
|
1400
|
-
const localVarPath = `/apis/
|
|
1675
|
+
updatecontentHaloRunV1alpha1Tag: async (name, tag, options = {}) => {
|
|
1676
|
+
assertParamExists("updatecontentHaloRunV1alpha1Tag", "name", name);
|
|
1677
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1401
1678
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1402
1679
|
let baseOptions;
|
|
1403
1680
|
if (configuration) {
|
|
@@ -1412,7 +1689,7 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
1412
1689
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1413
1690
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1414
1691
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1415
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1692
|
+
localVarRequestOptions.data = serializeDataIfNeeded(tag, localVarRequestOptions, configuration);
|
|
1416
1693
|
return {
|
|
1417
1694
|
url: toPathString(localVarUrlObj),
|
|
1418
1695
|
options: localVarRequestOptions
|
|
@@ -1420,72 +1697,72 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
1420
1697
|
}
|
|
1421
1698
|
};
|
|
1422
1699
|
};
|
|
1423
|
-
const
|
|
1424
|
-
const localVarAxiosParamCreator =
|
|
1700
|
+
const ContentHaloRunV1alpha1TagApiFp = function(configuration) {
|
|
1701
|
+
const localVarAxiosParamCreator = ContentHaloRunV1alpha1TagApiAxiosParamCreator(configuration);
|
|
1425
1702
|
return {
|
|
1426
|
-
async
|
|
1427
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1703
|
+
async createcontentHaloRunV1alpha1Tag(tag, options) {
|
|
1704
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1Tag(tag, options);
|
|
1428
1705
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1429
1706
|
},
|
|
1430
|
-
async
|
|
1431
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1707
|
+
async deletecontentHaloRunV1alpha1Tag(name, options) {
|
|
1708
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1Tag(name, options);
|
|
1432
1709
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1433
1710
|
},
|
|
1434
|
-
async
|
|
1435
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1711
|
+
async getcontentHaloRunV1alpha1Tag(name, options) {
|
|
1712
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1Tag(name, options);
|
|
1436
1713
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1437
1714
|
},
|
|
1438
|
-
async
|
|
1439
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1715
|
+
async listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options) {
|
|
1716
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options);
|
|
1440
1717
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1441
1718
|
},
|
|
1442
|
-
async
|
|
1443
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1719
|
+
async updatecontentHaloRunV1alpha1Tag(name, tag, options) {
|
|
1720
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Tag(name, tag, options);
|
|
1444
1721
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1445
1722
|
}
|
|
1446
1723
|
};
|
|
1447
1724
|
};
|
|
1448
|
-
const
|
|
1449
|
-
const localVarFp =
|
|
1725
|
+
const ContentHaloRunV1alpha1TagApiFactory = function(configuration, basePath, axios) {
|
|
1726
|
+
const localVarFp = ContentHaloRunV1alpha1TagApiFp(configuration);
|
|
1450
1727
|
return {
|
|
1451
|
-
|
|
1452
|
-
return localVarFp.
|
|
1728
|
+
createcontentHaloRunV1alpha1Tag(tag, options) {
|
|
1729
|
+
return localVarFp.createcontentHaloRunV1alpha1Tag(tag, options).then((request) => request(axios, basePath));
|
|
1453
1730
|
},
|
|
1454
|
-
|
|
1455
|
-
return localVarFp.
|
|
1731
|
+
deletecontentHaloRunV1alpha1Tag(name, options) {
|
|
1732
|
+
return localVarFp.deletecontentHaloRunV1alpha1Tag(name, options).then((request) => request(axios, basePath));
|
|
1456
1733
|
},
|
|
1457
|
-
|
|
1458
|
-
return localVarFp.
|
|
1734
|
+
getcontentHaloRunV1alpha1Tag(name, options) {
|
|
1735
|
+
return localVarFp.getcontentHaloRunV1alpha1Tag(name, options).then((request) => request(axios, basePath));
|
|
1459
1736
|
},
|
|
1460
|
-
|
|
1461
|
-
return localVarFp.
|
|
1737
|
+
listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options) {
|
|
1738
|
+
return localVarFp.listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1462
1739
|
},
|
|
1463
|
-
|
|
1464
|
-
return localVarFp.
|
|
1740
|
+
updatecontentHaloRunV1alpha1Tag(name, tag, options) {
|
|
1741
|
+
return localVarFp.updatecontentHaloRunV1alpha1Tag(name, tag, options).then((request) => request(axios, basePath));
|
|
1465
1742
|
}
|
|
1466
1743
|
};
|
|
1467
1744
|
};
|
|
1468
|
-
class
|
|
1469
|
-
|
|
1470
|
-
return
|
|
1745
|
+
class ContentHaloRunV1alpha1TagApi extends BaseAPI {
|
|
1746
|
+
createcontentHaloRunV1alpha1Tag(tag, options) {
|
|
1747
|
+
return ContentHaloRunV1alpha1TagApiFp(this.configuration).createcontentHaloRunV1alpha1Tag(tag, options).then((request) => request(this.axios, this.basePath));
|
|
1471
1748
|
}
|
|
1472
|
-
|
|
1473
|
-
return
|
|
1749
|
+
deletecontentHaloRunV1alpha1Tag(name, options) {
|
|
1750
|
+
return ContentHaloRunV1alpha1TagApiFp(this.configuration).deletecontentHaloRunV1alpha1Tag(name, options).then((request) => request(this.axios, this.basePath));
|
|
1474
1751
|
}
|
|
1475
|
-
|
|
1476
|
-
return
|
|
1752
|
+
getcontentHaloRunV1alpha1Tag(name, options) {
|
|
1753
|
+
return ContentHaloRunV1alpha1TagApiFp(this.configuration).getcontentHaloRunV1alpha1Tag(name, options).then((request) => request(this.axios, this.basePath));
|
|
1477
1754
|
}
|
|
1478
|
-
|
|
1479
|
-
return
|
|
1755
|
+
listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options) {
|
|
1756
|
+
return ContentHaloRunV1alpha1TagApiFp(this.configuration).listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1480
1757
|
}
|
|
1481
|
-
|
|
1482
|
-
return
|
|
1758
|
+
updatecontentHaloRunV1alpha1Tag(name, tag, options) {
|
|
1759
|
+
return ContentHaloRunV1alpha1TagApiFp(this.configuration).updatecontentHaloRunV1alpha1Tag(name, tag, options).then((request) => request(this.axios, this.basePath));
|
|
1483
1760
|
}
|
|
1484
1761
|
}
|
|
1485
|
-
const
|
|
1762
|
+
const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
1486
1763
|
return {
|
|
1487
|
-
|
|
1488
|
-
const localVarPath = `/
|
|
1764
|
+
createpluginHaloRunV1alpha1Plugin: async (plugin, options = {}) => {
|
|
1765
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins`;
|
|
1489
1766
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1490
1767
|
let baseOptions;
|
|
1491
1768
|
if (configuration) {
|
|
@@ -1500,15 +1777,15 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
1500
1777
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1501
1778
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1502
1779
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1503
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1780
|
+
localVarRequestOptions.data = serializeDataIfNeeded(plugin, localVarRequestOptions, configuration);
|
|
1504
1781
|
return {
|
|
1505
1782
|
url: toPathString(localVarUrlObj),
|
|
1506
1783
|
options: localVarRequestOptions
|
|
1507
1784
|
};
|
|
1508
1785
|
},
|
|
1509
|
-
|
|
1510
|
-
assertParamExists("
|
|
1511
|
-
const localVarPath = `/
|
|
1786
|
+
deletepluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
|
|
1787
|
+
assertParamExists("deletepluginHaloRunV1alpha1Plugin", "name", name);
|
|
1788
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1512
1789
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1513
1790
|
let baseOptions;
|
|
1514
1791
|
if (configuration) {
|
|
@@ -1527,9 +1804,9 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
1527
1804
|
options: localVarRequestOptions
|
|
1528
1805
|
};
|
|
1529
1806
|
},
|
|
1530
|
-
|
|
1531
|
-
assertParamExists("
|
|
1532
|
-
const localVarPath = `/
|
|
1807
|
+
getpluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
|
|
1808
|
+
assertParamExists("getpluginHaloRunV1alpha1Plugin", "name", name);
|
|
1809
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1533
1810
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1534
1811
|
let baseOptions;
|
|
1535
1812
|
if (configuration) {
|
|
@@ -1548,8 +1825,8 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
1548
1825
|
options: localVarRequestOptions
|
|
1549
1826
|
};
|
|
1550
1827
|
},
|
|
1551
|
-
|
|
1552
|
-
const localVarPath = `/
|
|
1828
|
+
listpluginHaloRunV1alpha1Plugin: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1829
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins`;
|
|
1553
1830
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1554
1831
|
let baseOptions;
|
|
1555
1832
|
if (configuration) {
|
|
@@ -1580,9 +1857,9 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
1580
1857
|
options: localVarRequestOptions
|
|
1581
1858
|
};
|
|
1582
1859
|
},
|
|
1583
|
-
|
|
1584
|
-
assertParamExists("
|
|
1585
|
-
const localVarPath = `/
|
|
1860
|
+
updatepluginHaloRunV1alpha1Plugin: async (name, plugin, options = {}) => {
|
|
1861
|
+
assertParamExists("updatepluginHaloRunV1alpha1Plugin", "name", name);
|
|
1862
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1586
1863
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1587
1864
|
let baseOptions;
|
|
1588
1865
|
if (configuration) {
|
|
@@ -1597,7 +1874,7 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
1597
1874
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1598
1875
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1599
1876
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1600
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
1877
|
+
localVarRequestOptions.data = serializeDataIfNeeded(plugin, localVarRequestOptions, configuration);
|
|
1601
1878
|
return {
|
|
1602
1879
|
url: toPathString(localVarUrlObj),
|
|
1603
1880
|
options: localVarRequestOptions
|
|
@@ -1605,66 +1882,991 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
1605
1882
|
}
|
|
1606
1883
|
};
|
|
1607
1884
|
};
|
|
1608
|
-
const
|
|
1609
|
-
const localVarAxiosParamCreator =
|
|
1885
|
+
const PluginHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
1886
|
+
const localVarAxiosParamCreator = PluginHaloRunV1alpha1PluginApiAxiosParamCreator(configuration);
|
|
1610
1887
|
return {
|
|
1611
|
-
async
|
|
1612
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1888
|
+
async createpluginHaloRunV1alpha1Plugin(plugin, options) {
|
|
1889
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1Plugin(plugin, options);
|
|
1613
1890
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1614
1891
|
},
|
|
1615
|
-
async
|
|
1616
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1892
|
+
async deletepluginHaloRunV1alpha1Plugin(name, options) {
|
|
1893
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletepluginHaloRunV1alpha1Plugin(name, options);
|
|
1617
1894
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1618
1895
|
},
|
|
1619
|
-
async
|
|
1620
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1896
|
+
async getpluginHaloRunV1alpha1Plugin(name, options) {
|
|
1897
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1Plugin(name, options);
|
|
1621
1898
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1622
1899
|
},
|
|
1623
|
-
async
|
|
1624
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1900
|
+
async listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
|
|
1901
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options);
|
|
1625
1902
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1626
1903
|
},
|
|
1627
|
-
async
|
|
1628
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
1904
|
+
async updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
|
|
1905
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1Plugin(name, plugin, options);
|
|
1629
1906
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1630
1907
|
}
|
|
1631
1908
|
};
|
|
1632
1909
|
};
|
|
1633
|
-
const
|
|
1634
|
-
const localVarFp =
|
|
1910
|
+
const PluginHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
|
|
1911
|
+
const localVarFp = PluginHaloRunV1alpha1PluginApiFp(configuration);
|
|
1635
1912
|
return {
|
|
1636
|
-
|
|
1637
|
-
return localVarFp.
|
|
1913
|
+
createpluginHaloRunV1alpha1Plugin(plugin, options) {
|
|
1914
|
+
return localVarFp.createpluginHaloRunV1alpha1Plugin(plugin, options).then((request) => request(axios, basePath));
|
|
1638
1915
|
},
|
|
1639
|
-
|
|
1640
|
-
return localVarFp.
|
|
1916
|
+
deletepluginHaloRunV1alpha1Plugin(name, options) {
|
|
1917
|
+
return localVarFp.deletepluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
|
|
1641
1918
|
},
|
|
1642
|
-
|
|
1643
|
-
return localVarFp.
|
|
1919
|
+
getpluginHaloRunV1alpha1Plugin(name, options) {
|
|
1920
|
+
return localVarFp.getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
|
|
1644
1921
|
},
|
|
1645
|
-
|
|
1646
|
-
return localVarFp.
|
|
1922
|
+
listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
|
|
1923
|
+
return localVarFp.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1647
1924
|
},
|
|
1648
|
-
|
|
1649
|
-
return localVarFp.
|
|
1925
|
+
updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
|
|
1926
|
+
return localVarFp.updatepluginHaloRunV1alpha1Plugin(name, plugin, options).then((request) => request(axios, basePath));
|
|
1650
1927
|
}
|
|
1651
1928
|
};
|
|
1652
1929
|
};
|
|
1653
|
-
class
|
|
1654
|
-
|
|
1655
|
-
return
|
|
1930
|
+
class PluginHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
1931
|
+
createpluginHaloRunV1alpha1Plugin(plugin, options) {
|
|
1932
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).createpluginHaloRunV1alpha1Plugin(plugin, options).then((request) => request(this.axios, this.basePath));
|
|
1656
1933
|
}
|
|
1657
|
-
|
|
1658
|
-
return
|
|
1934
|
+
deletepluginHaloRunV1alpha1Plugin(name, options) {
|
|
1935
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).deletepluginHaloRunV1alpha1Plugin(name, options).then((request) => request(this.axios, this.basePath));
|
|
1659
1936
|
}
|
|
1660
|
-
|
|
1661
|
-
return
|
|
1937
|
+
getpluginHaloRunV1alpha1Plugin(name, options) {
|
|
1938
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(this.axios, this.basePath));
|
|
1662
1939
|
}
|
|
1663
|
-
|
|
1664
|
-
return
|
|
1940
|
+
listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
|
|
1941
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1665
1942
|
}
|
|
1666
|
-
|
|
1667
|
-
return
|
|
1943
|
+
updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
|
|
1944
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).updatepluginHaloRunV1alpha1Plugin(name, plugin, options).then((request) => request(this.axios, this.basePath));
|
|
1945
|
+
}
|
|
1946
|
+
}
|
|
1947
|
+
const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configuration) {
|
|
1948
|
+
return {
|
|
1949
|
+
createpluginHaloRunV1alpha1ReverseProxy: async (reverseProxy, options = {}) => {
|
|
1950
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies`;
|
|
1951
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1952
|
+
let baseOptions;
|
|
1953
|
+
if (configuration) {
|
|
1954
|
+
baseOptions = configuration.baseOptions;
|
|
1955
|
+
}
|
|
1956
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1957
|
+
const localVarHeaderParameter = {};
|
|
1958
|
+
const localVarQueryParameter = {};
|
|
1959
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1960
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1961
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1962
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1963
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1964
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1965
|
+
localVarRequestOptions.data = serializeDataIfNeeded(reverseProxy, localVarRequestOptions, configuration);
|
|
1966
|
+
return {
|
|
1967
|
+
url: toPathString(localVarUrlObj),
|
|
1968
|
+
options: localVarRequestOptions
|
|
1969
|
+
};
|
|
1970
|
+
},
|
|
1971
|
+
deletepluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
|
|
1972
|
+
assertParamExists("deletepluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
1973
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1974
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1975
|
+
let baseOptions;
|
|
1976
|
+
if (configuration) {
|
|
1977
|
+
baseOptions = configuration.baseOptions;
|
|
1978
|
+
}
|
|
1979
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1980
|
+
const localVarHeaderParameter = {};
|
|
1981
|
+
const localVarQueryParameter = {};
|
|
1982
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1983
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1984
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1985
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1986
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1987
|
+
return {
|
|
1988
|
+
url: toPathString(localVarUrlObj),
|
|
1989
|
+
options: localVarRequestOptions
|
|
1990
|
+
};
|
|
1991
|
+
},
|
|
1992
|
+
getpluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
|
|
1993
|
+
assertParamExists("getpluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
1994
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1995
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1996
|
+
let baseOptions;
|
|
1997
|
+
if (configuration) {
|
|
1998
|
+
baseOptions = configuration.baseOptions;
|
|
1999
|
+
}
|
|
2000
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2001
|
+
const localVarHeaderParameter = {};
|
|
2002
|
+
const localVarQueryParameter = {};
|
|
2003
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2004
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2005
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2006
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2007
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2008
|
+
return {
|
|
2009
|
+
url: toPathString(localVarUrlObj),
|
|
2010
|
+
options: localVarRequestOptions
|
|
2011
|
+
};
|
|
2012
|
+
},
|
|
2013
|
+
listpluginHaloRunV1alpha1ReverseProxy: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2014
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies`;
|
|
2015
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2016
|
+
let baseOptions;
|
|
2017
|
+
if (configuration) {
|
|
2018
|
+
baseOptions = configuration.baseOptions;
|
|
2019
|
+
}
|
|
2020
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2021
|
+
const localVarHeaderParameter = {};
|
|
2022
|
+
const localVarQueryParameter = {};
|
|
2023
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2024
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2025
|
+
if (page !== void 0) {
|
|
2026
|
+
localVarQueryParameter["page"] = page;
|
|
2027
|
+
}
|
|
2028
|
+
if (size !== void 0) {
|
|
2029
|
+
localVarQueryParameter["size"] = size;
|
|
2030
|
+
}
|
|
2031
|
+
if (labelSelector) {
|
|
2032
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2033
|
+
}
|
|
2034
|
+
if (fieldSelector) {
|
|
2035
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2036
|
+
}
|
|
2037
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2038
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2039
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2040
|
+
return {
|
|
2041
|
+
url: toPathString(localVarUrlObj),
|
|
2042
|
+
options: localVarRequestOptions
|
|
2043
|
+
};
|
|
2044
|
+
},
|
|
2045
|
+
updatepluginHaloRunV1alpha1ReverseProxy: async (name, reverseProxy, options = {}) => {
|
|
2046
|
+
assertParamExists("updatepluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
2047
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2048
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2049
|
+
let baseOptions;
|
|
2050
|
+
if (configuration) {
|
|
2051
|
+
baseOptions = configuration.baseOptions;
|
|
2052
|
+
}
|
|
2053
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
2054
|
+
const localVarHeaderParameter = {};
|
|
2055
|
+
const localVarQueryParameter = {};
|
|
2056
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2057
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2058
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2059
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2060
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2061
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2062
|
+
localVarRequestOptions.data = serializeDataIfNeeded(reverseProxy, localVarRequestOptions, configuration);
|
|
2063
|
+
return {
|
|
2064
|
+
url: toPathString(localVarUrlObj),
|
|
2065
|
+
options: localVarRequestOptions
|
|
2066
|
+
};
|
|
2067
|
+
}
|
|
2068
|
+
};
|
|
2069
|
+
};
|
|
2070
|
+
const PluginHaloRunV1alpha1ReverseProxyApiFp = function(configuration) {
|
|
2071
|
+
const localVarAxiosParamCreator = PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator(configuration);
|
|
2072
|
+
return {
|
|
2073
|
+
async createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
|
|
2074
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options);
|
|
2075
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2076
|
+
},
|
|
2077
|
+
async deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
2078
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletepluginHaloRunV1alpha1ReverseProxy(name, options);
|
|
2079
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2080
|
+
},
|
|
2081
|
+
async getpluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
2082
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1ReverseProxy(name, options);
|
|
2083
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2084
|
+
},
|
|
2085
|
+
async listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
|
|
2086
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options);
|
|
2087
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2088
|
+
},
|
|
2089
|
+
async updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
|
|
2090
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options);
|
|
2091
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2092
|
+
}
|
|
2093
|
+
};
|
|
2094
|
+
};
|
|
2095
|
+
const PluginHaloRunV1alpha1ReverseProxyApiFactory = function(configuration, basePath, axios) {
|
|
2096
|
+
const localVarFp = PluginHaloRunV1alpha1ReverseProxyApiFp(configuration);
|
|
2097
|
+
return {
|
|
2098
|
+
createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
|
|
2099
|
+
return localVarFp.createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options).then((request) => request(axios, basePath));
|
|
2100
|
+
},
|
|
2101
|
+
deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
2102
|
+
return localVarFp.deletepluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
|
|
2103
|
+
},
|
|
2104
|
+
getpluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
2105
|
+
return localVarFp.getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
|
|
2106
|
+
},
|
|
2107
|
+
listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
|
|
2108
|
+
return localVarFp.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2109
|
+
},
|
|
2110
|
+
updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
|
|
2111
|
+
return localVarFp.updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options).then((request) => request(axios, basePath));
|
|
2112
|
+
}
|
|
2113
|
+
};
|
|
2114
|
+
};
|
|
2115
|
+
class PluginHaloRunV1alpha1ReverseProxyApi extends BaseAPI {
|
|
2116
|
+
createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
|
|
2117
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options).then((request) => request(this.axios, this.basePath));
|
|
2118
|
+
}
|
|
2119
|
+
deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
2120
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).deletepluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(this.axios, this.basePath));
|
|
2121
|
+
}
|
|
2122
|
+
getpluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
2123
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(this.axios, this.basePath));
|
|
2124
|
+
}
|
|
2125
|
+
listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
|
|
2126
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2127
|
+
}
|
|
2128
|
+
updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
|
|
2129
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options).then((request) => request(this.axios, this.basePath));
|
|
2130
|
+
}
|
|
2131
|
+
}
|
|
2132
|
+
const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
2133
|
+
return {
|
|
2134
|
+
createthemeHaloRunV1alpha1Theme: async (theme, options = {}) => {
|
|
2135
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes`;
|
|
2136
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2137
|
+
let baseOptions;
|
|
2138
|
+
if (configuration) {
|
|
2139
|
+
baseOptions = configuration.baseOptions;
|
|
2140
|
+
}
|
|
2141
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2142
|
+
const localVarHeaderParameter = {};
|
|
2143
|
+
const localVarQueryParameter = {};
|
|
2144
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2145
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2146
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2147
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2148
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2149
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2150
|
+
localVarRequestOptions.data = serializeDataIfNeeded(theme, localVarRequestOptions, configuration);
|
|
2151
|
+
return {
|
|
2152
|
+
url: toPathString(localVarUrlObj),
|
|
2153
|
+
options: localVarRequestOptions
|
|
2154
|
+
};
|
|
2155
|
+
},
|
|
2156
|
+
deletethemeHaloRunV1alpha1Theme: async (name, options = {}) => {
|
|
2157
|
+
assertParamExists("deletethemeHaloRunV1alpha1Theme", "name", name);
|
|
2158
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2159
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2160
|
+
let baseOptions;
|
|
2161
|
+
if (configuration) {
|
|
2162
|
+
baseOptions = configuration.baseOptions;
|
|
2163
|
+
}
|
|
2164
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
2165
|
+
const localVarHeaderParameter = {};
|
|
2166
|
+
const localVarQueryParameter = {};
|
|
2167
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2168
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2169
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2170
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2171
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2172
|
+
return {
|
|
2173
|
+
url: toPathString(localVarUrlObj),
|
|
2174
|
+
options: localVarRequestOptions
|
|
2175
|
+
};
|
|
2176
|
+
},
|
|
2177
|
+
getthemeHaloRunV1alpha1Theme: async (name, options = {}) => {
|
|
2178
|
+
assertParamExists("getthemeHaloRunV1alpha1Theme", "name", name);
|
|
2179
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2180
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2181
|
+
let baseOptions;
|
|
2182
|
+
if (configuration) {
|
|
2183
|
+
baseOptions = configuration.baseOptions;
|
|
2184
|
+
}
|
|
2185
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2186
|
+
const localVarHeaderParameter = {};
|
|
2187
|
+
const localVarQueryParameter = {};
|
|
2188
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2189
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2190
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2191
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2192
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2193
|
+
return {
|
|
2194
|
+
url: toPathString(localVarUrlObj),
|
|
2195
|
+
options: localVarRequestOptions
|
|
2196
|
+
};
|
|
2197
|
+
},
|
|
2198
|
+
listthemeHaloRunV1alpha1Theme: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2199
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes`;
|
|
2200
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2201
|
+
let baseOptions;
|
|
2202
|
+
if (configuration) {
|
|
2203
|
+
baseOptions = configuration.baseOptions;
|
|
2204
|
+
}
|
|
2205
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2206
|
+
const localVarHeaderParameter = {};
|
|
2207
|
+
const localVarQueryParameter = {};
|
|
2208
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2209
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2210
|
+
if (page !== void 0) {
|
|
2211
|
+
localVarQueryParameter["page"] = page;
|
|
2212
|
+
}
|
|
2213
|
+
if (size !== void 0) {
|
|
2214
|
+
localVarQueryParameter["size"] = size;
|
|
2215
|
+
}
|
|
2216
|
+
if (labelSelector) {
|
|
2217
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2218
|
+
}
|
|
2219
|
+
if (fieldSelector) {
|
|
2220
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2221
|
+
}
|
|
2222
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2223
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2224
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2225
|
+
return {
|
|
2226
|
+
url: toPathString(localVarUrlObj),
|
|
2227
|
+
options: localVarRequestOptions
|
|
2228
|
+
};
|
|
2229
|
+
},
|
|
2230
|
+
updatethemeHaloRunV1alpha1Theme: async (name, theme, options = {}) => {
|
|
2231
|
+
assertParamExists("updatethemeHaloRunV1alpha1Theme", "name", name);
|
|
2232
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2233
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2234
|
+
let baseOptions;
|
|
2235
|
+
if (configuration) {
|
|
2236
|
+
baseOptions = configuration.baseOptions;
|
|
2237
|
+
}
|
|
2238
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
2239
|
+
const localVarHeaderParameter = {};
|
|
2240
|
+
const localVarQueryParameter = {};
|
|
2241
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2242
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2243
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2244
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2245
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2246
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2247
|
+
localVarRequestOptions.data = serializeDataIfNeeded(theme, localVarRequestOptions, configuration);
|
|
2248
|
+
return {
|
|
2249
|
+
url: toPathString(localVarUrlObj),
|
|
2250
|
+
options: localVarRequestOptions
|
|
2251
|
+
};
|
|
2252
|
+
}
|
|
2253
|
+
};
|
|
2254
|
+
};
|
|
2255
|
+
const ThemeHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
2256
|
+
const localVarAxiosParamCreator = ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator(configuration);
|
|
2257
|
+
return {
|
|
2258
|
+
async createthemeHaloRunV1alpha1Theme(theme, options) {
|
|
2259
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createthemeHaloRunV1alpha1Theme(theme, options);
|
|
2260
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2261
|
+
},
|
|
2262
|
+
async deletethemeHaloRunV1alpha1Theme(name, options) {
|
|
2263
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletethemeHaloRunV1alpha1Theme(name, options);
|
|
2264
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2265
|
+
},
|
|
2266
|
+
async getthemeHaloRunV1alpha1Theme(name, options) {
|
|
2267
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getthemeHaloRunV1alpha1Theme(name, options);
|
|
2268
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2269
|
+
},
|
|
2270
|
+
async listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
2271
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options);
|
|
2272
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2273
|
+
},
|
|
2274
|
+
async updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
2275
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatethemeHaloRunV1alpha1Theme(name, theme, options);
|
|
2276
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2277
|
+
}
|
|
2278
|
+
};
|
|
2279
|
+
};
|
|
2280
|
+
const ThemeHaloRunV1alpha1ThemeApiFactory = function(configuration, basePath, axios) {
|
|
2281
|
+
const localVarFp = ThemeHaloRunV1alpha1ThemeApiFp(configuration);
|
|
2282
|
+
return {
|
|
2283
|
+
createthemeHaloRunV1alpha1Theme(theme, options) {
|
|
2284
|
+
return localVarFp.createthemeHaloRunV1alpha1Theme(theme, options).then((request) => request(axios, basePath));
|
|
2285
|
+
},
|
|
2286
|
+
deletethemeHaloRunV1alpha1Theme(name, options) {
|
|
2287
|
+
return localVarFp.deletethemeHaloRunV1alpha1Theme(name, options).then((request) => request(axios, basePath));
|
|
2288
|
+
},
|
|
2289
|
+
getthemeHaloRunV1alpha1Theme(name, options) {
|
|
2290
|
+
return localVarFp.getthemeHaloRunV1alpha1Theme(name, options).then((request) => request(axios, basePath));
|
|
2291
|
+
},
|
|
2292
|
+
listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
2293
|
+
return localVarFp.listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2294
|
+
},
|
|
2295
|
+
updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
2296
|
+
return localVarFp.updatethemeHaloRunV1alpha1Theme(name, theme, options).then((request) => request(axios, basePath));
|
|
2297
|
+
}
|
|
2298
|
+
};
|
|
2299
|
+
};
|
|
2300
|
+
class ThemeHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
2301
|
+
createthemeHaloRunV1alpha1Theme(theme, options) {
|
|
2302
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).createthemeHaloRunV1alpha1Theme(theme, options).then((request) => request(this.axios, this.basePath));
|
|
2303
|
+
}
|
|
2304
|
+
deletethemeHaloRunV1alpha1Theme(name, options) {
|
|
2305
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).deletethemeHaloRunV1alpha1Theme(name, options).then((request) => request(this.axios, this.basePath));
|
|
2306
|
+
}
|
|
2307
|
+
getthemeHaloRunV1alpha1Theme(name, options) {
|
|
2308
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).getthemeHaloRunV1alpha1Theme(name, options).then((request) => request(this.axios, this.basePath));
|
|
2309
|
+
}
|
|
2310
|
+
listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
2311
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2312
|
+
}
|
|
2313
|
+
updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
2314
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).updatethemeHaloRunV1alpha1Theme(name, theme, options).then((request) => request(this.axios, this.basePath));
|
|
2315
|
+
}
|
|
2316
|
+
}
|
|
2317
|
+
const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
2318
|
+
return {
|
|
2319
|
+
createv1alpha1ConfigMap: async (configMap, options = {}) => {
|
|
2320
|
+
const localVarPath = `/api/v1alpha1/configmaps`;
|
|
2321
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2322
|
+
let baseOptions;
|
|
2323
|
+
if (configuration) {
|
|
2324
|
+
baseOptions = configuration.baseOptions;
|
|
2325
|
+
}
|
|
2326
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2327
|
+
const localVarHeaderParameter = {};
|
|
2328
|
+
const localVarQueryParameter = {};
|
|
2329
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2330
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2331
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2332
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2333
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2334
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2335
|
+
localVarRequestOptions.data = serializeDataIfNeeded(configMap, localVarRequestOptions, configuration);
|
|
2336
|
+
return {
|
|
2337
|
+
url: toPathString(localVarUrlObj),
|
|
2338
|
+
options: localVarRequestOptions
|
|
2339
|
+
};
|
|
2340
|
+
},
|
|
2341
|
+
deletev1alpha1ConfigMap: async (name, options = {}) => {
|
|
2342
|
+
assertParamExists("deletev1alpha1ConfigMap", "name", name);
|
|
2343
|
+
const localVarPath = `/api/v1alpha1/configmaps/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2344
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2345
|
+
let baseOptions;
|
|
2346
|
+
if (configuration) {
|
|
2347
|
+
baseOptions = configuration.baseOptions;
|
|
2348
|
+
}
|
|
2349
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
2350
|
+
const localVarHeaderParameter = {};
|
|
2351
|
+
const localVarQueryParameter = {};
|
|
2352
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2353
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2354
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2355
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2356
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2357
|
+
return {
|
|
2358
|
+
url: toPathString(localVarUrlObj),
|
|
2359
|
+
options: localVarRequestOptions
|
|
2360
|
+
};
|
|
2361
|
+
},
|
|
2362
|
+
getv1alpha1ConfigMap: async (name, options = {}) => {
|
|
2363
|
+
assertParamExists("getv1alpha1ConfigMap", "name", name);
|
|
2364
|
+
const localVarPath = `/api/v1alpha1/configmaps/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2365
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2366
|
+
let baseOptions;
|
|
2367
|
+
if (configuration) {
|
|
2368
|
+
baseOptions = configuration.baseOptions;
|
|
2369
|
+
}
|
|
2370
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2371
|
+
const localVarHeaderParameter = {};
|
|
2372
|
+
const localVarQueryParameter = {};
|
|
2373
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2374
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2375
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2376
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2377
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2378
|
+
return {
|
|
2379
|
+
url: toPathString(localVarUrlObj),
|
|
2380
|
+
options: localVarRequestOptions
|
|
2381
|
+
};
|
|
2382
|
+
},
|
|
2383
|
+
listv1alpha1ConfigMap: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2384
|
+
const localVarPath = `/api/v1alpha1/configmaps`;
|
|
2385
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2386
|
+
let baseOptions;
|
|
2387
|
+
if (configuration) {
|
|
2388
|
+
baseOptions = configuration.baseOptions;
|
|
2389
|
+
}
|
|
2390
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2391
|
+
const localVarHeaderParameter = {};
|
|
2392
|
+
const localVarQueryParameter = {};
|
|
2393
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2394
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2395
|
+
if (page !== void 0) {
|
|
2396
|
+
localVarQueryParameter["page"] = page;
|
|
2397
|
+
}
|
|
2398
|
+
if (size !== void 0) {
|
|
2399
|
+
localVarQueryParameter["size"] = size;
|
|
2400
|
+
}
|
|
2401
|
+
if (labelSelector) {
|
|
2402
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2403
|
+
}
|
|
2404
|
+
if (fieldSelector) {
|
|
2405
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2406
|
+
}
|
|
2407
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2408
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2409
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2410
|
+
return {
|
|
2411
|
+
url: toPathString(localVarUrlObj),
|
|
2412
|
+
options: localVarRequestOptions
|
|
2413
|
+
};
|
|
2414
|
+
},
|
|
2415
|
+
updatev1alpha1ConfigMap: async (name, configMap, options = {}) => {
|
|
2416
|
+
assertParamExists("updatev1alpha1ConfigMap", "name", name);
|
|
2417
|
+
const localVarPath = `/api/v1alpha1/configmaps/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2418
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2419
|
+
let baseOptions;
|
|
2420
|
+
if (configuration) {
|
|
2421
|
+
baseOptions = configuration.baseOptions;
|
|
2422
|
+
}
|
|
2423
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
2424
|
+
const localVarHeaderParameter = {};
|
|
2425
|
+
const localVarQueryParameter = {};
|
|
2426
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2427
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2428
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2429
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2430
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2431
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2432
|
+
localVarRequestOptions.data = serializeDataIfNeeded(configMap, localVarRequestOptions, configuration);
|
|
2433
|
+
return {
|
|
2434
|
+
url: toPathString(localVarUrlObj),
|
|
2435
|
+
options: localVarRequestOptions
|
|
2436
|
+
};
|
|
2437
|
+
}
|
|
2438
|
+
};
|
|
2439
|
+
};
|
|
2440
|
+
const V1alpha1ConfigMapApiFp = function(configuration) {
|
|
2441
|
+
const localVarAxiosParamCreator = V1alpha1ConfigMapApiAxiosParamCreator(configuration);
|
|
2442
|
+
return {
|
|
2443
|
+
async createv1alpha1ConfigMap(configMap, options) {
|
|
2444
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1ConfigMap(configMap, options);
|
|
2445
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2446
|
+
},
|
|
2447
|
+
async deletev1alpha1ConfigMap(name, options) {
|
|
2448
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletev1alpha1ConfigMap(name, options);
|
|
2449
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2450
|
+
},
|
|
2451
|
+
async getv1alpha1ConfigMap(name, options) {
|
|
2452
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1ConfigMap(name, options);
|
|
2453
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2454
|
+
},
|
|
2455
|
+
async listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options) {
|
|
2456
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options);
|
|
2457
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2458
|
+
},
|
|
2459
|
+
async updatev1alpha1ConfigMap(name, configMap, options) {
|
|
2460
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1ConfigMap(name, configMap, options);
|
|
2461
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2462
|
+
}
|
|
2463
|
+
};
|
|
2464
|
+
};
|
|
2465
|
+
const V1alpha1ConfigMapApiFactory = function(configuration, basePath, axios) {
|
|
2466
|
+
const localVarFp = V1alpha1ConfigMapApiFp(configuration);
|
|
2467
|
+
return {
|
|
2468
|
+
createv1alpha1ConfigMap(configMap, options) {
|
|
2469
|
+
return localVarFp.createv1alpha1ConfigMap(configMap, options).then((request) => request(axios, basePath));
|
|
2470
|
+
},
|
|
2471
|
+
deletev1alpha1ConfigMap(name, options) {
|
|
2472
|
+
return localVarFp.deletev1alpha1ConfigMap(name, options).then((request) => request(axios, basePath));
|
|
2473
|
+
},
|
|
2474
|
+
getv1alpha1ConfigMap(name, options) {
|
|
2475
|
+
return localVarFp.getv1alpha1ConfigMap(name, options).then((request) => request(axios, basePath));
|
|
2476
|
+
},
|
|
2477
|
+
listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options) {
|
|
2478
|
+
return localVarFp.listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2479
|
+
},
|
|
2480
|
+
updatev1alpha1ConfigMap(name, configMap, options) {
|
|
2481
|
+
return localVarFp.updatev1alpha1ConfigMap(name, configMap, options).then((request) => request(axios, basePath));
|
|
2482
|
+
}
|
|
2483
|
+
};
|
|
2484
|
+
};
|
|
2485
|
+
class V1alpha1ConfigMapApi extends BaseAPI {
|
|
2486
|
+
createv1alpha1ConfigMap(configMap, options) {
|
|
2487
|
+
return V1alpha1ConfigMapApiFp(this.configuration).createv1alpha1ConfigMap(configMap, options).then((request) => request(this.axios, this.basePath));
|
|
2488
|
+
}
|
|
2489
|
+
deletev1alpha1ConfigMap(name, options) {
|
|
2490
|
+
return V1alpha1ConfigMapApiFp(this.configuration).deletev1alpha1ConfigMap(name, options).then((request) => request(this.axios, this.basePath));
|
|
2491
|
+
}
|
|
2492
|
+
getv1alpha1ConfigMap(name, options) {
|
|
2493
|
+
return V1alpha1ConfigMapApiFp(this.configuration).getv1alpha1ConfigMap(name, options).then((request) => request(this.axios, this.basePath));
|
|
2494
|
+
}
|
|
2495
|
+
listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options) {
|
|
2496
|
+
return V1alpha1ConfigMapApiFp(this.configuration).listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2497
|
+
}
|
|
2498
|
+
updatev1alpha1ConfigMap(name, configMap, options) {
|
|
2499
|
+
return V1alpha1ConfigMapApiFp(this.configuration).updatev1alpha1ConfigMap(name, configMap, options).then((request) => request(this.axios, this.basePath));
|
|
2500
|
+
}
|
|
2501
|
+
}
|
|
2502
|
+
const V1alpha1MenuApiAxiosParamCreator = function(configuration) {
|
|
2503
|
+
return {
|
|
2504
|
+
createv1alpha1Menu: async (menu, options = {}) => {
|
|
2505
|
+
const localVarPath = `/api/v1alpha1/menus`;
|
|
2506
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2507
|
+
let baseOptions;
|
|
2508
|
+
if (configuration) {
|
|
2509
|
+
baseOptions = configuration.baseOptions;
|
|
2510
|
+
}
|
|
2511
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2512
|
+
const localVarHeaderParameter = {};
|
|
2513
|
+
const localVarQueryParameter = {};
|
|
2514
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2515
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2516
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2517
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2518
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2519
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2520
|
+
localVarRequestOptions.data = serializeDataIfNeeded(menu, localVarRequestOptions, configuration);
|
|
2521
|
+
return {
|
|
2522
|
+
url: toPathString(localVarUrlObj),
|
|
2523
|
+
options: localVarRequestOptions
|
|
2524
|
+
};
|
|
2525
|
+
},
|
|
2526
|
+
deletev1alpha1Menu: async (name, options = {}) => {
|
|
2527
|
+
assertParamExists("deletev1alpha1Menu", "name", name);
|
|
2528
|
+
const localVarPath = `/api/v1alpha1/menus/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2529
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2530
|
+
let baseOptions;
|
|
2531
|
+
if (configuration) {
|
|
2532
|
+
baseOptions = configuration.baseOptions;
|
|
2533
|
+
}
|
|
2534
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
2535
|
+
const localVarHeaderParameter = {};
|
|
2536
|
+
const localVarQueryParameter = {};
|
|
2537
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2538
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2539
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2540
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2541
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2542
|
+
return {
|
|
2543
|
+
url: toPathString(localVarUrlObj),
|
|
2544
|
+
options: localVarRequestOptions
|
|
2545
|
+
};
|
|
2546
|
+
},
|
|
2547
|
+
getv1alpha1Menu: async (name, options = {}) => {
|
|
2548
|
+
assertParamExists("getv1alpha1Menu", "name", name);
|
|
2549
|
+
const localVarPath = `/api/v1alpha1/menus/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2550
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2551
|
+
let baseOptions;
|
|
2552
|
+
if (configuration) {
|
|
2553
|
+
baseOptions = configuration.baseOptions;
|
|
2554
|
+
}
|
|
2555
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2556
|
+
const localVarHeaderParameter = {};
|
|
2557
|
+
const localVarQueryParameter = {};
|
|
2558
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2559
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2560
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2561
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2562
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2563
|
+
return {
|
|
2564
|
+
url: toPathString(localVarUrlObj),
|
|
2565
|
+
options: localVarRequestOptions
|
|
2566
|
+
};
|
|
2567
|
+
},
|
|
2568
|
+
listv1alpha1Menu: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2569
|
+
const localVarPath = `/api/v1alpha1/menus`;
|
|
2570
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2571
|
+
let baseOptions;
|
|
2572
|
+
if (configuration) {
|
|
2573
|
+
baseOptions = configuration.baseOptions;
|
|
2574
|
+
}
|
|
2575
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2576
|
+
const localVarHeaderParameter = {};
|
|
2577
|
+
const localVarQueryParameter = {};
|
|
2578
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2579
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2580
|
+
if (page !== void 0) {
|
|
2581
|
+
localVarQueryParameter["page"] = page;
|
|
2582
|
+
}
|
|
2583
|
+
if (size !== void 0) {
|
|
2584
|
+
localVarQueryParameter["size"] = size;
|
|
2585
|
+
}
|
|
2586
|
+
if (labelSelector) {
|
|
2587
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2588
|
+
}
|
|
2589
|
+
if (fieldSelector) {
|
|
2590
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2591
|
+
}
|
|
2592
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2593
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2594
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2595
|
+
return {
|
|
2596
|
+
url: toPathString(localVarUrlObj),
|
|
2597
|
+
options: localVarRequestOptions
|
|
2598
|
+
};
|
|
2599
|
+
},
|
|
2600
|
+
updatev1alpha1Menu: async (name, menu, options = {}) => {
|
|
2601
|
+
assertParamExists("updatev1alpha1Menu", "name", name);
|
|
2602
|
+
const localVarPath = `/api/v1alpha1/menus/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2603
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2604
|
+
let baseOptions;
|
|
2605
|
+
if (configuration) {
|
|
2606
|
+
baseOptions = configuration.baseOptions;
|
|
2607
|
+
}
|
|
2608
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
2609
|
+
const localVarHeaderParameter = {};
|
|
2610
|
+
const localVarQueryParameter = {};
|
|
2611
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2612
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2613
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2614
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2615
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2616
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2617
|
+
localVarRequestOptions.data = serializeDataIfNeeded(menu, localVarRequestOptions, configuration);
|
|
2618
|
+
return {
|
|
2619
|
+
url: toPathString(localVarUrlObj),
|
|
2620
|
+
options: localVarRequestOptions
|
|
2621
|
+
};
|
|
2622
|
+
}
|
|
2623
|
+
};
|
|
2624
|
+
};
|
|
2625
|
+
const V1alpha1MenuApiFp = function(configuration) {
|
|
2626
|
+
const localVarAxiosParamCreator = V1alpha1MenuApiAxiosParamCreator(configuration);
|
|
2627
|
+
return {
|
|
2628
|
+
async createv1alpha1Menu(menu, options) {
|
|
2629
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1Menu(menu, options);
|
|
2630
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2631
|
+
},
|
|
2632
|
+
async deletev1alpha1Menu(name, options) {
|
|
2633
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletev1alpha1Menu(name, options);
|
|
2634
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2635
|
+
},
|
|
2636
|
+
async getv1alpha1Menu(name, options) {
|
|
2637
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1Menu(name, options);
|
|
2638
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2639
|
+
},
|
|
2640
|
+
async listv1alpha1Menu(page, size, labelSelector, fieldSelector, options) {
|
|
2641
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Menu(page, size, labelSelector, fieldSelector, options);
|
|
2642
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2643
|
+
},
|
|
2644
|
+
async updatev1alpha1Menu(name, menu, options) {
|
|
2645
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1Menu(name, menu, options);
|
|
2646
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2647
|
+
}
|
|
2648
|
+
};
|
|
2649
|
+
};
|
|
2650
|
+
const V1alpha1MenuApiFactory = function(configuration, basePath, axios) {
|
|
2651
|
+
const localVarFp = V1alpha1MenuApiFp(configuration);
|
|
2652
|
+
return {
|
|
2653
|
+
createv1alpha1Menu(menu, options) {
|
|
2654
|
+
return localVarFp.createv1alpha1Menu(menu, options).then((request) => request(axios, basePath));
|
|
2655
|
+
},
|
|
2656
|
+
deletev1alpha1Menu(name, options) {
|
|
2657
|
+
return localVarFp.deletev1alpha1Menu(name, options).then((request) => request(axios, basePath));
|
|
2658
|
+
},
|
|
2659
|
+
getv1alpha1Menu(name, options) {
|
|
2660
|
+
return localVarFp.getv1alpha1Menu(name, options).then((request) => request(axios, basePath));
|
|
2661
|
+
},
|
|
2662
|
+
listv1alpha1Menu(page, size, labelSelector, fieldSelector, options) {
|
|
2663
|
+
return localVarFp.listv1alpha1Menu(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2664
|
+
},
|
|
2665
|
+
updatev1alpha1Menu(name, menu, options) {
|
|
2666
|
+
return localVarFp.updatev1alpha1Menu(name, menu, options).then((request) => request(axios, basePath));
|
|
2667
|
+
}
|
|
2668
|
+
};
|
|
2669
|
+
};
|
|
2670
|
+
class V1alpha1MenuApi extends BaseAPI {
|
|
2671
|
+
createv1alpha1Menu(menu, options) {
|
|
2672
|
+
return V1alpha1MenuApiFp(this.configuration).createv1alpha1Menu(menu, options).then((request) => request(this.axios, this.basePath));
|
|
2673
|
+
}
|
|
2674
|
+
deletev1alpha1Menu(name, options) {
|
|
2675
|
+
return V1alpha1MenuApiFp(this.configuration).deletev1alpha1Menu(name, options).then((request) => request(this.axios, this.basePath));
|
|
2676
|
+
}
|
|
2677
|
+
getv1alpha1Menu(name, options) {
|
|
2678
|
+
return V1alpha1MenuApiFp(this.configuration).getv1alpha1Menu(name, options).then((request) => request(this.axios, this.basePath));
|
|
2679
|
+
}
|
|
2680
|
+
listv1alpha1Menu(page, size, labelSelector, fieldSelector, options) {
|
|
2681
|
+
return V1alpha1MenuApiFp(this.configuration).listv1alpha1Menu(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2682
|
+
}
|
|
2683
|
+
updatev1alpha1Menu(name, menu, options) {
|
|
2684
|
+
return V1alpha1MenuApiFp(this.configuration).updatev1alpha1Menu(name, menu, options).then((request) => request(this.axios, this.basePath));
|
|
2685
|
+
}
|
|
2686
|
+
}
|
|
2687
|
+
const V1alpha1MenuItemApiAxiosParamCreator = function(configuration) {
|
|
2688
|
+
return {
|
|
2689
|
+
createv1alpha1MenuItem: async (menuItem, options = {}) => {
|
|
2690
|
+
const localVarPath = `/api/v1alpha1/menuitems`;
|
|
2691
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2692
|
+
let baseOptions;
|
|
2693
|
+
if (configuration) {
|
|
2694
|
+
baseOptions = configuration.baseOptions;
|
|
2695
|
+
}
|
|
2696
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2697
|
+
const localVarHeaderParameter = {};
|
|
2698
|
+
const localVarQueryParameter = {};
|
|
2699
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2700
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2701
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2702
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2703
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2704
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2705
|
+
localVarRequestOptions.data = serializeDataIfNeeded(menuItem, localVarRequestOptions, configuration);
|
|
2706
|
+
return {
|
|
2707
|
+
url: toPathString(localVarUrlObj),
|
|
2708
|
+
options: localVarRequestOptions
|
|
2709
|
+
};
|
|
2710
|
+
},
|
|
2711
|
+
deletev1alpha1MenuItem: async (name, options = {}) => {
|
|
2712
|
+
assertParamExists("deletev1alpha1MenuItem", "name", name);
|
|
2713
|
+
const localVarPath = `/api/v1alpha1/menuitems/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2714
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2715
|
+
let baseOptions;
|
|
2716
|
+
if (configuration) {
|
|
2717
|
+
baseOptions = configuration.baseOptions;
|
|
2718
|
+
}
|
|
2719
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
2720
|
+
const localVarHeaderParameter = {};
|
|
2721
|
+
const localVarQueryParameter = {};
|
|
2722
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2723
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2724
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2725
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2726
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2727
|
+
return {
|
|
2728
|
+
url: toPathString(localVarUrlObj),
|
|
2729
|
+
options: localVarRequestOptions
|
|
2730
|
+
};
|
|
2731
|
+
},
|
|
2732
|
+
getv1alpha1MenuItem: async (name, options = {}) => {
|
|
2733
|
+
assertParamExists("getv1alpha1MenuItem", "name", name);
|
|
2734
|
+
const localVarPath = `/api/v1alpha1/menuitems/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2735
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2736
|
+
let baseOptions;
|
|
2737
|
+
if (configuration) {
|
|
2738
|
+
baseOptions = configuration.baseOptions;
|
|
2739
|
+
}
|
|
2740
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2741
|
+
const localVarHeaderParameter = {};
|
|
2742
|
+
const localVarQueryParameter = {};
|
|
2743
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2744
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2745
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2746
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2747
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2748
|
+
return {
|
|
2749
|
+
url: toPathString(localVarUrlObj),
|
|
2750
|
+
options: localVarRequestOptions
|
|
2751
|
+
};
|
|
2752
|
+
},
|
|
2753
|
+
listv1alpha1MenuItem: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2754
|
+
const localVarPath = `/api/v1alpha1/menuitems`;
|
|
2755
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2756
|
+
let baseOptions;
|
|
2757
|
+
if (configuration) {
|
|
2758
|
+
baseOptions = configuration.baseOptions;
|
|
2759
|
+
}
|
|
2760
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2761
|
+
const localVarHeaderParameter = {};
|
|
2762
|
+
const localVarQueryParameter = {};
|
|
2763
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2764
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2765
|
+
if (page !== void 0) {
|
|
2766
|
+
localVarQueryParameter["page"] = page;
|
|
2767
|
+
}
|
|
2768
|
+
if (size !== void 0) {
|
|
2769
|
+
localVarQueryParameter["size"] = size;
|
|
2770
|
+
}
|
|
2771
|
+
if (labelSelector) {
|
|
2772
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2773
|
+
}
|
|
2774
|
+
if (fieldSelector) {
|
|
2775
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2776
|
+
}
|
|
2777
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2778
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2779
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2780
|
+
return {
|
|
2781
|
+
url: toPathString(localVarUrlObj),
|
|
2782
|
+
options: localVarRequestOptions
|
|
2783
|
+
};
|
|
2784
|
+
},
|
|
2785
|
+
updatev1alpha1MenuItem: async (name, menuItem, options = {}) => {
|
|
2786
|
+
assertParamExists("updatev1alpha1MenuItem", "name", name);
|
|
2787
|
+
const localVarPath = `/api/v1alpha1/menuitems/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2788
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2789
|
+
let baseOptions;
|
|
2790
|
+
if (configuration) {
|
|
2791
|
+
baseOptions = configuration.baseOptions;
|
|
2792
|
+
}
|
|
2793
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
2794
|
+
const localVarHeaderParameter = {};
|
|
2795
|
+
const localVarQueryParameter = {};
|
|
2796
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2797
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2798
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2799
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2800
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2801
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2802
|
+
localVarRequestOptions.data = serializeDataIfNeeded(menuItem, localVarRequestOptions, configuration);
|
|
2803
|
+
return {
|
|
2804
|
+
url: toPathString(localVarUrlObj),
|
|
2805
|
+
options: localVarRequestOptions
|
|
2806
|
+
};
|
|
2807
|
+
}
|
|
2808
|
+
};
|
|
2809
|
+
};
|
|
2810
|
+
const V1alpha1MenuItemApiFp = function(configuration) {
|
|
2811
|
+
const localVarAxiosParamCreator = V1alpha1MenuItemApiAxiosParamCreator(configuration);
|
|
2812
|
+
return {
|
|
2813
|
+
async createv1alpha1MenuItem(menuItem, options) {
|
|
2814
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1MenuItem(menuItem, options);
|
|
2815
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2816
|
+
},
|
|
2817
|
+
async deletev1alpha1MenuItem(name, options) {
|
|
2818
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletev1alpha1MenuItem(name, options);
|
|
2819
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2820
|
+
},
|
|
2821
|
+
async getv1alpha1MenuItem(name, options) {
|
|
2822
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1MenuItem(name, options);
|
|
2823
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2824
|
+
},
|
|
2825
|
+
async listv1alpha1MenuItem(page, size, labelSelector, fieldSelector, options) {
|
|
2826
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1MenuItem(page, size, labelSelector, fieldSelector, options);
|
|
2827
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2828
|
+
},
|
|
2829
|
+
async updatev1alpha1MenuItem(name, menuItem, options) {
|
|
2830
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1MenuItem(name, menuItem, options);
|
|
2831
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2832
|
+
}
|
|
2833
|
+
};
|
|
2834
|
+
};
|
|
2835
|
+
const V1alpha1MenuItemApiFactory = function(configuration, basePath, axios) {
|
|
2836
|
+
const localVarFp = V1alpha1MenuItemApiFp(configuration);
|
|
2837
|
+
return {
|
|
2838
|
+
createv1alpha1MenuItem(menuItem, options) {
|
|
2839
|
+
return localVarFp.createv1alpha1MenuItem(menuItem, options).then((request) => request(axios, basePath));
|
|
2840
|
+
},
|
|
2841
|
+
deletev1alpha1MenuItem(name, options) {
|
|
2842
|
+
return localVarFp.deletev1alpha1MenuItem(name, options).then((request) => request(axios, basePath));
|
|
2843
|
+
},
|
|
2844
|
+
getv1alpha1MenuItem(name, options) {
|
|
2845
|
+
return localVarFp.getv1alpha1MenuItem(name, options).then((request) => request(axios, basePath));
|
|
2846
|
+
},
|
|
2847
|
+
listv1alpha1MenuItem(page, size, labelSelector, fieldSelector, options) {
|
|
2848
|
+
return localVarFp.listv1alpha1MenuItem(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2849
|
+
},
|
|
2850
|
+
updatev1alpha1MenuItem(name, menuItem, options) {
|
|
2851
|
+
return localVarFp.updatev1alpha1MenuItem(name, menuItem, options).then((request) => request(axios, basePath));
|
|
2852
|
+
}
|
|
2853
|
+
};
|
|
2854
|
+
};
|
|
2855
|
+
class V1alpha1MenuItemApi extends BaseAPI {
|
|
2856
|
+
createv1alpha1MenuItem(menuItem, options) {
|
|
2857
|
+
return V1alpha1MenuItemApiFp(this.configuration).createv1alpha1MenuItem(menuItem, options).then((request) => request(this.axios, this.basePath));
|
|
2858
|
+
}
|
|
2859
|
+
deletev1alpha1MenuItem(name, options) {
|
|
2860
|
+
return V1alpha1MenuItemApiFp(this.configuration).deletev1alpha1MenuItem(name, options).then((request) => request(this.axios, this.basePath));
|
|
2861
|
+
}
|
|
2862
|
+
getv1alpha1MenuItem(name, options) {
|
|
2863
|
+
return V1alpha1MenuItemApiFp(this.configuration).getv1alpha1MenuItem(name, options).then((request) => request(this.axios, this.basePath));
|
|
2864
|
+
}
|
|
2865
|
+
listv1alpha1MenuItem(page, size, labelSelector, fieldSelector, options) {
|
|
2866
|
+
return V1alpha1MenuItemApiFp(this.configuration).listv1alpha1MenuItem(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2867
|
+
}
|
|
2868
|
+
updatev1alpha1MenuItem(name, menuItem, options) {
|
|
2869
|
+
return V1alpha1MenuItemApiFp(this.configuration).updatev1alpha1MenuItem(name, menuItem, options).then((request) => request(this.axios, this.basePath));
|
|
1668
2870
|
}
|
|
1669
2871
|
}
|
|
1670
2872
|
const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration) {
|
|
@@ -2609,4 +3811,4 @@ class Configuration {
|
|
|
2609
3811
|
}
|
|
2610
3812
|
}
|
|
2611
3813
|
|
|
2612
|
-
export { ApiHaloRunV1alpha1PluginApi, ApiHaloRunV1alpha1PluginApiAxiosParamCreator, ApiHaloRunV1alpha1PluginApiFactory, ApiHaloRunV1alpha1PluginApiFp, ApiHaloRunV1alpha1ThemeApi, ApiHaloRunV1alpha1ThemeApiAxiosParamCreator, ApiHaloRunV1alpha1ThemeApiFactory, ApiHaloRunV1alpha1ThemeApiFp, ApiHaloRunV1alpha1UserApi, ApiHaloRunV1alpha1UserApiAxiosParamCreator, ApiHaloRunV1alpha1UserApiFactory, ApiHaloRunV1alpha1UserApiFp,
|
|
3814
|
+
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, ContentHaloRunV1alpha1SnapshotApi, ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator, ContentHaloRunV1alpha1SnapshotApiFactory, ContentHaloRunV1alpha1SnapshotApiFp, ContentHaloRunV1alpha1TagApi, ContentHaloRunV1alpha1TagApiAxiosParamCreator, ContentHaloRunV1alpha1TagApiFactory, ContentHaloRunV1alpha1TagApiFp, PluginHaloRunV1alpha1PluginApi, PluginHaloRunV1alpha1PluginApiAxiosParamCreator, PluginHaloRunV1alpha1PluginApiFactory, PluginHaloRunV1alpha1PluginApiFp, PluginHaloRunV1alpha1ReverseProxyApi, PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator, PluginHaloRunV1alpha1ReverseProxyApiFactory, PluginHaloRunV1alpha1ReverseProxyApiFp, PluginStatusPhaseEnum, PostSpecVisibleEnum, 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 };
|