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