@halo-dev/api-client 0.0.11 → 0.0.14
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/README.md +37 -0
- package/dist/index.cjs +3017 -567
- package/dist/index.d.ts +9883 -1600
- package/dist/index.mjs +2955 -552
- package/package.json +10 -10
package/dist/index.mjs
CHANGED
|
@@ -67,14 +67,155 @@ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, config
|
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
69
|
|
|
70
|
-
const
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
70
|
+
const ApiHaloRunV1alpha1ContentApiAxiosParamCreator = function(configuration) {
|
|
71
|
+
return {
|
|
72
|
+
draftSnapshotContent: async (contentRequest, options = {}) => {
|
|
73
|
+
assertParamExists("draftSnapshotContent", "contentRequest", contentRequest);
|
|
74
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/contents`;
|
|
75
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
76
|
+
let baseOptions;
|
|
77
|
+
if (configuration) {
|
|
78
|
+
baseOptions = configuration.baseOptions;
|
|
79
|
+
}
|
|
80
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
81
|
+
const localVarHeaderParameter = {};
|
|
82
|
+
const localVarQueryParameter = {};
|
|
83
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
84
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
85
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
86
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
87
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
88
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
89
|
+
localVarRequestOptions.data = serializeDataIfNeeded(contentRequest, localVarRequestOptions, configuration);
|
|
90
|
+
return {
|
|
91
|
+
url: toPathString(localVarUrlObj),
|
|
92
|
+
options: localVarRequestOptions
|
|
93
|
+
};
|
|
94
|
+
},
|
|
95
|
+
obtainSnapshotContent: async (snapshotName, options = {}) => {
|
|
96
|
+
assertParamExists("obtainSnapshotContent", "snapshotName", snapshotName);
|
|
97
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/contents/{snapshotName}`.replace(`{${"snapshotName"}}`, encodeURIComponent(String(snapshotName)));
|
|
98
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
99
|
+
let baseOptions;
|
|
100
|
+
if (configuration) {
|
|
101
|
+
baseOptions = configuration.baseOptions;
|
|
102
|
+
}
|
|
103
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
104
|
+
const localVarHeaderParameter = {};
|
|
105
|
+
const localVarQueryParameter = {};
|
|
106
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
107
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
108
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
109
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
110
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
111
|
+
return {
|
|
112
|
+
url: toPathString(localVarUrlObj),
|
|
113
|
+
options: localVarRequestOptions
|
|
114
|
+
};
|
|
115
|
+
},
|
|
116
|
+
publishSnapshotContent: async (snapshotName, subjectRef, options = {}) => {
|
|
117
|
+
assertParamExists("publishSnapshotContent", "snapshotName", snapshotName);
|
|
118
|
+
assertParamExists("publishSnapshotContent", "subjectRef", subjectRef);
|
|
119
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/contents/{snapshotName}/publish`.replace(`{${"snapshotName"}}`, encodeURIComponent(String(snapshotName)));
|
|
120
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
121
|
+
let baseOptions;
|
|
122
|
+
if (configuration) {
|
|
123
|
+
baseOptions = configuration.baseOptions;
|
|
124
|
+
}
|
|
125
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
126
|
+
const localVarHeaderParameter = {};
|
|
127
|
+
const localVarQueryParameter = {};
|
|
128
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
129
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
130
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
131
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
132
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
133
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
134
|
+
localVarRequestOptions.data = serializeDataIfNeeded(subjectRef, localVarRequestOptions, configuration);
|
|
135
|
+
return {
|
|
136
|
+
url: toPathString(localVarUrlObj),
|
|
137
|
+
options: localVarRequestOptions
|
|
138
|
+
};
|
|
139
|
+
},
|
|
140
|
+
updateSnapshotContent: async (snapshotName, contentRequest, options = {}) => {
|
|
141
|
+
assertParamExists("updateSnapshotContent", "snapshotName", snapshotName);
|
|
142
|
+
assertParamExists("updateSnapshotContent", "contentRequest", contentRequest);
|
|
143
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/contents/{snapshotName}`.replace(`{${"snapshotName"}}`, encodeURIComponent(String(snapshotName)));
|
|
144
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
145
|
+
let baseOptions;
|
|
146
|
+
if (configuration) {
|
|
147
|
+
baseOptions = configuration.baseOptions;
|
|
148
|
+
}
|
|
149
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
150
|
+
const localVarHeaderParameter = {};
|
|
151
|
+
const localVarQueryParameter = {};
|
|
152
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
153
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
154
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
155
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
156
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
157
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
158
|
+
localVarRequestOptions.data = serializeDataIfNeeded(contentRequest, localVarRequestOptions, configuration);
|
|
159
|
+
return {
|
|
160
|
+
url: toPathString(localVarUrlObj),
|
|
161
|
+
options: localVarRequestOptions
|
|
162
|
+
};
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
const ApiHaloRunV1alpha1ContentApiFp = function(configuration) {
|
|
167
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1ContentApiAxiosParamCreator(configuration);
|
|
168
|
+
return {
|
|
169
|
+
async draftSnapshotContent(contentRequest, options) {
|
|
170
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSnapshotContent(contentRequest, options);
|
|
171
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
172
|
+
},
|
|
173
|
+
async obtainSnapshotContent(snapshotName, options) {
|
|
174
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.obtainSnapshotContent(snapshotName, options);
|
|
175
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
176
|
+
},
|
|
177
|
+
async publishSnapshotContent(snapshotName, subjectRef, options) {
|
|
178
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.publishSnapshotContent(snapshotName, subjectRef, options);
|
|
179
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
180
|
+
},
|
|
181
|
+
async updateSnapshotContent(snapshotName, contentRequest, options) {
|
|
182
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSnapshotContent(snapshotName, contentRequest, options);
|
|
183
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
184
|
+
}
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
const ApiHaloRunV1alpha1ContentApiFactory = function(configuration, basePath, axios) {
|
|
188
|
+
const localVarFp = ApiHaloRunV1alpha1ContentApiFp(configuration);
|
|
189
|
+
return {
|
|
190
|
+
draftSnapshotContent(contentRequest, options) {
|
|
191
|
+
return localVarFp.draftSnapshotContent(contentRequest, options).then((request) => request(axios, basePath));
|
|
192
|
+
},
|
|
193
|
+
obtainSnapshotContent(snapshotName, options) {
|
|
194
|
+
return localVarFp.obtainSnapshotContent(snapshotName, options).then((request) => request(axios, basePath));
|
|
195
|
+
},
|
|
196
|
+
publishSnapshotContent(snapshotName, subjectRef, options) {
|
|
197
|
+
return localVarFp.publishSnapshotContent(snapshotName, subjectRef, options).then((request) => request(axios, basePath));
|
|
198
|
+
},
|
|
199
|
+
updateSnapshotContent(snapshotName, contentRequest, options) {
|
|
200
|
+
return localVarFp.updateSnapshotContent(snapshotName, contentRequest, options).then((request) => request(axios, basePath));
|
|
201
|
+
}
|
|
202
|
+
};
|
|
77
203
|
};
|
|
204
|
+
class ApiHaloRunV1alpha1ContentApi extends BaseAPI {
|
|
205
|
+
draftSnapshotContent(requestParameters, options) {
|
|
206
|
+
return ApiHaloRunV1alpha1ContentApiFp(this.configuration).draftSnapshotContent(requestParameters.contentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
207
|
+
}
|
|
208
|
+
obtainSnapshotContent(requestParameters, options) {
|
|
209
|
+
return ApiHaloRunV1alpha1ContentApiFp(this.configuration).obtainSnapshotContent(requestParameters.snapshotName, options).then((request) => request(this.axios, this.basePath));
|
|
210
|
+
}
|
|
211
|
+
publishSnapshotContent(requestParameters, options) {
|
|
212
|
+
return ApiHaloRunV1alpha1ContentApiFp(this.configuration).publishSnapshotContent(requestParameters.snapshotName, requestParameters.subjectRef, options).then((request) => request(this.axios, this.basePath));
|
|
213
|
+
}
|
|
214
|
+
updateSnapshotContent(requestParameters, options) {
|
|
215
|
+
return ApiHaloRunV1alpha1ContentApiFp(this.configuration).updateSnapshotContent(requestParameters.snapshotName, requestParameters.contentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
78
219
|
const ApiHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
79
220
|
return {
|
|
80
221
|
installPlugin: async (file, options = {}) => {
|
|
@@ -98,7 +239,2150 @@ const ApiHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
|
98
239
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
99
240
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
100
241
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
101
|
-
localVarRequestOptions.data = localVarFormParams;
|
|
242
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
243
|
+
return {
|
|
244
|
+
url: toPathString(localVarUrlObj),
|
|
245
|
+
options: localVarRequestOptions
|
|
246
|
+
};
|
|
247
|
+
}
|
|
248
|
+
};
|
|
249
|
+
};
|
|
250
|
+
const ApiHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
251
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1PluginApiAxiosParamCreator(configuration);
|
|
252
|
+
return {
|
|
253
|
+
async installPlugin(file, options) {
|
|
254
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
255
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
256
|
+
}
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
const ApiHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
|
|
260
|
+
const localVarFp = ApiHaloRunV1alpha1PluginApiFp(configuration);
|
|
261
|
+
return {
|
|
262
|
+
installPlugin(file, options) {
|
|
263
|
+
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
264
|
+
}
|
|
265
|
+
};
|
|
266
|
+
};
|
|
267
|
+
class ApiHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
268
|
+
installPlugin(requestParameters, options) {
|
|
269
|
+
return ApiHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
274
|
+
return {
|
|
275
|
+
draftPost: async (postRequest, options = {}) => {
|
|
276
|
+
assertParamExists("draftPost", "postRequest", postRequest);
|
|
277
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/posts`;
|
|
278
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
279
|
+
let baseOptions;
|
|
280
|
+
if (configuration) {
|
|
281
|
+
baseOptions = configuration.baseOptions;
|
|
282
|
+
}
|
|
283
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
284
|
+
const localVarHeaderParameter = {};
|
|
285
|
+
const localVarQueryParameter = {};
|
|
286
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
287
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
288
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
289
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
290
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
291
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
292
|
+
localVarRequestOptions.data = serializeDataIfNeeded(postRequest, localVarRequestOptions, configuration);
|
|
293
|
+
return {
|
|
294
|
+
url: toPathString(localVarUrlObj),
|
|
295
|
+
options: localVarRequestOptions
|
|
296
|
+
};
|
|
297
|
+
},
|
|
298
|
+
draftSinglePage: async (singlePageRequest, options = {}) => {
|
|
299
|
+
assertParamExists("draftSinglePage", "singlePageRequest", singlePageRequest);
|
|
300
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages`;
|
|
301
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
302
|
+
let baseOptions;
|
|
303
|
+
if (configuration) {
|
|
304
|
+
baseOptions = configuration.baseOptions;
|
|
305
|
+
}
|
|
306
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
307
|
+
const localVarHeaderParameter = {};
|
|
308
|
+
const localVarQueryParameter = {};
|
|
309
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
310
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
311
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
312
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
313
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
314
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
315
|
+
localVarRequestOptions.data = serializeDataIfNeeded(singlePageRequest, localVarRequestOptions, configuration);
|
|
316
|
+
return {
|
|
317
|
+
url: toPathString(localVarUrlObj),
|
|
318
|
+
options: localVarRequestOptions
|
|
319
|
+
};
|
|
320
|
+
},
|
|
321
|
+
listPosts: async (contributors, categories, tags, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
322
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/posts`;
|
|
323
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
324
|
+
let baseOptions;
|
|
325
|
+
if (configuration) {
|
|
326
|
+
baseOptions = configuration.baseOptions;
|
|
327
|
+
}
|
|
328
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
329
|
+
const localVarHeaderParameter = {};
|
|
330
|
+
const localVarQueryParameter = {};
|
|
331
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
332
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
333
|
+
if (contributors) {
|
|
334
|
+
localVarQueryParameter["contributors"] = Array.from(contributors);
|
|
335
|
+
}
|
|
336
|
+
if (categories) {
|
|
337
|
+
localVarQueryParameter["categories"] = Array.from(categories);
|
|
338
|
+
}
|
|
339
|
+
if (tags) {
|
|
340
|
+
localVarQueryParameter["tags"] = Array.from(tags);
|
|
341
|
+
}
|
|
342
|
+
if (size !== void 0) {
|
|
343
|
+
localVarQueryParameter["size"] = size;
|
|
344
|
+
}
|
|
345
|
+
if (labelSelector) {
|
|
346
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
347
|
+
}
|
|
348
|
+
if (fieldSelector) {
|
|
349
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
350
|
+
}
|
|
351
|
+
if (page !== void 0) {
|
|
352
|
+
localVarQueryParameter["page"] = page;
|
|
353
|
+
}
|
|
354
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
355
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
356
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
357
|
+
return {
|
|
358
|
+
url: toPathString(localVarUrlObj),
|
|
359
|
+
options: localVarRequestOptions
|
|
360
|
+
};
|
|
361
|
+
},
|
|
362
|
+
listSinglePages: async (contributors, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
363
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages`;
|
|
364
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
365
|
+
let baseOptions;
|
|
366
|
+
if (configuration) {
|
|
367
|
+
baseOptions = configuration.baseOptions;
|
|
368
|
+
}
|
|
369
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
370
|
+
const localVarHeaderParameter = {};
|
|
371
|
+
const localVarQueryParameter = {};
|
|
372
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
373
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
374
|
+
if (contributors) {
|
|
375
|
+
localVarQueryParameter["contributors"] = Array.from(contributors);
|
|
376
|
+
}
|
|
377
|
+
if (size !== void 0) {
|
|
378
|
+
localVarQueryParameter["size"] = size;
|
|
379
|
+
}
|
|
380
|
+
if (labelSelector) {
|
|
381
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
382
|
+
}
|
|
383
|
+
if (fieldSelector) {
|
|
384
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
385
|
+
}
|
|
386
|
+
if (page !== void 0) {
|
|
387
|
+
localVarQueryParameter["page"] = page;
|
|
388
|
+
}
|
|
389
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
390
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
391
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
392
|
+
return {
|
|
393
|
+
url: toPathString(localVarUrlObj),
|
|
394
|
+
options: localVarRequestOptions
|
|
395
|
+
};
|
|
396
|
+
},
|
|
397
|
+
publishPost: async (name, options = {}) => {
|
|
398
|
+
assertParamExists("publishPost", "name", name);
|
|
399
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/posts/{name}/publish`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
400
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
401
|
+
let baseOptions;
|
|
402
|
+
if (configuration) {
|
|
403
|
+
baseOptions = configuration.baseOptions;
|
|
404
|
+
}
|
|
405
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
406
|
+
const localVarHeaderParameter = {};
|
|
407
|
+
const localVarQueryParameter = {};
|
|
408
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
409
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
410
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
411
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
412
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
413
|
+
return {
|
|
414
|
+
url: toPathString(localVarUrlObj),
|
|
415
|
+
options: localVarRequestOptions
|
|
416
|
+
};
|
|
417
|
+
},
|
|
418
|
+
publishSinglePage: async (name, options = {}) => {
|
|
419
|
+
assertParamExists("publishSinglePage", "name", name);
|
|
420
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages/{name}/publish`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
421
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
422
|
+
let baseOptions;
|
|
423
|
+
if (configuration) {
|
|
424
|
+
baseOptions = configuration.baseOptions;
|
|
425
|
+
}
|
|
426
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
427
|
+
const localVarHeaderParameter = {};
|
|
428
|
+
const localVarQueryParameter = {};
|
|
429
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
430
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
431
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
432
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
433
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
434
|
+
return {
|
|
435
|
+
url: toPathString(localVarUrlObj),
|
|
436
|
+
options: localVarRequestOptions
|
|
437
|
+
};
|
|
438
|
+
},
|
|
439
|
+
updateDraftPost: async (name, postRequest, options = {}) => {
|
|
440
|
+
assertParamExists("updateDraftPost", "name", name);
|
|
441
|
+
assertParamExists("updateDraftPost", "postRequest", postRequest);
|
|
442
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/posts/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
443
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
444
|
+
let baseOptions;
|
|
445
|
+
if (configuration) {
|
|
446
|
+
baseOptions = configuration.baseOptions;
|
|
447
|
+
}
|
|
448
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
449
|
+
const localVarHeaderParameter = {};
|
|
450
|
+
const localVarQueryParameter = {};
|
|
451
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
452
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
453
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
454
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
455
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
456
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
457
|
+
localVarRequestOptions.data = serializeDataIfNeeded(postRequest, localVarRequestOptions, configuration);
|
|
458
|
+
return {
|
|
459
|
+
url: toPathString(localVarUrlObj),
|
|
460
|
+
options: localVarRequestOptions
|
|
461
|
+
};
|
|
462
|
+
},
|
|
463
|
+
updateDraftSinglePage: async (name, singlePageRequest, options = {}) => {
|
|
464
|
+
assertParamExists("updateDraftSinglePage", "name", name);
|
|
465
|
+
assertParamExists("updateDraftSinglePage", "singlePageRequest", singlePageRequest);
|
|
466
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
467
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
468
|
+
let baseOptions;
|
|
469
|
+
if (configuration) {
|
|
470
|
+
baseOptions = configuration.baseOptions;
|
|
471
|
+
}
|
|
472
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
473
|
+
const localVarHeaderParameter = {};
|
|
474
|
+
const localVarQueryParameter = {};
|
|
475
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
476
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
477
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
478
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
479
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
480
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
481
|
+
localVarRequestOptions.data = serializeDataIfNeeded(singlePageRequest, localVarRequestOptions, configuration);
|
|
482
|
+
return {
|
|
483
|
+
url: toPathString(localVarUrlObj),
|
|
484
|
+
options: localVarRequestOptions
|
|
485
|
+
};
|
|
486
|
+
}
|
|
487
|
+
};
|
|
488
|
+
};
|
|
489
|
+
const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
490
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1PostApiAxiosParamCreator(configuration);
|
|
491
|
+
return {
|
|
492
|
+
async draftPost(postRequest, options) {
|
|
493
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
494
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
495
|
+
},
|
|
496
|
+
async draftSinglePage(singlePageRequest, options) {
|
|
497
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
498
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
499
|
+
},
|
|
500
|
+
async listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options) {
|
|
501
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options);
|
|
502
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
503
|
+
},
|
|
504
|
+
async listSinglePages(contributors, size, labelSelector, fieldSelector, page, options) {
|
|
505
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributors, size, labelSelector, fieldSelector, page, options);
|
|
506
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
507
|
+
},
|
|
508
|
+
async publishPost(name, options) {
|
|
509
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.publishPost(name, options);
|
|
510
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
511
|
+
},
|
|
512
|
+
async publishSinglePage(name, options) {
|
|
513
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.publishSinglePage(name, options);
|
|
514
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
515
|
+
},
|
|
516
|
+
async updateDraftPost(name, postRequest, options) {
|
|
517
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDraftPost(name, postRequest, options);
|
|
518
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
519
|
+
},
|
|
520
|
+
async updateDraftSinglePage(name, singlePageRequest, options) {
|
|
521
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDraftSinglePage(name, singlePageRequest, options);
|
|
522
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
523
|
+
}
|
|
524
|
+
};
|
|
525
|
+
};
|
|
526
|
+
const ApiHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
|
|
527
|
+
const localVarFp = ApiHaloRunV1alpha1PostApiFp(configuration);
|
|
528
|
+
return {
|
|
529
|
+
draftPost(postRequest, options) {
|
|
530
|
+
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
531
|
+
},
|
|
532
|
+
draftSinglePage(singlePageRequest, options) {
|
|
533
|
+
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
534
|
+
},
|
|
535
|
+
listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options) {
|
|
536
|
+
return localVarFp.listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
537
|
+
},
|
|
538
|
+
listSinglePages(contributors, size, labelSelector, fieldSelector, page, options) {
|
|
539
|
+
return localVarFp.listSinglePages(contributors, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
540
|
+
},
|
|
541
|
+
publishPost(name, options) {
|
|
542
|
+
return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
|
|
543
|
+
},
|
|
544
|
+
publishSinglePage(name, options) {
|
|
545
|
+
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
546
|
+
},
|
|
547
|
+
updateDraftPost(name, postRequest, options) {
|
|
548
|
+
return localVarFp.updateDraftPost(name, postRequest, options).then((request) => request(axios, basePath));
|
|
549
|
+
},
|
|
550
|
+
updateDraftSinglePage(name, singlePageRequest, options) {
|
|
551
|
+
return localVarFp.updateDraftSinglePage(name, singlePageRequest, options).then((request) => request(axios, basePath));
|
|
552
|
+
}
|
|
553
|
+
};
|
|
554
|
+
};
|
|
555
|
+
class ApiHaloRunV1alpha1PostApi extends BaseAPI {
|
|
556
|
+
draftPost(requestParameters, options) {
|
|
557
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
558
|
+
}
|
|
559
|
+
draftSinglePage(requestParameters, options) {
|
|
560
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
561
|
+
}
|
|
562
|
+
listPosts(requestParameters = {}, options) {
|
|
563
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.contributors, requestParameters.categories, requestParameters.tags, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
564
|
+
}
|
|
565
|
+
listSinglePages(requestParameters = {}, options) {
|
|
566
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).listSinglePages(requestParameters.contributors, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
567
|
+
}
|
|
568
|
+
publishPost(requestParameters, options) {
|
|
569
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
570
|
+
}
|
|
571
|
+
publishSinglePage(requestParameters, options) {
|
|
572
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
573
|
+
}
|
|
574
|
+
updateDraftPost(requestParameters, options) {
|
|
575
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).updateDraftPost(requestParameters.name, requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
576
|
+
}
|
|
577
|
+
updateDraftSinglePage(requestParameters, options) {
|
|
578
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).updateDraftSinglePage(requestParameters.name, requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
const ApiHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
583
|
+
return {
|
|
584
|
+
installTheme: async (file, options = {}) => {
|
|
585
|
+
assertParamExists("installTheme", "file", file);
|
|
586
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/themes/install`;
|
|
587
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
588
|
+
let baseOptions;
|
|
589
|
+
if (configuration) {
|
|
590
|
+
baseOptions = configuration.baseOptions;
|
|
591
|
+
}
|
|
592
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
593
|
+
const localVarHeaderParameter = {};
|
|
594
|
+
const localVarQueryParameter = {};
|
|
595
|
+
const localVarFormParams = new (configuration && configuration.formDataCtor || FormData)();
|
|
596
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
597
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
598
|
+
if (file !== void 0) {
|
|
599
|
+
localVarFormParams.append("file", file);
|
|
600
|
+
}
|
|
601
|
+
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
602
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
603
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
604
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
605
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
606
|
+
return {
|
|
607
|
+
url: toPathString(localVarUrlObj),
|
|
608
|
+
options: localVarRequestOptions
|
|
609
|
+
};
|
|
610
|
+
}
|
|
611
|
+
};
|
|
612
|
+
};
|
|
613
|
+
const ApiHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
614
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1ThemeApiAxiosParamCreator(configuration);
|
|
615
|
+
return {
|
|
616
|
+
async installTheme(file, options) {
|
|
617
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.installTheme(file, options);
|
|
618
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
619
|
+
}
|
|
620
|
+
};
|
|
621
|
+
};
|
|
622
|
+
const ApiHaloRunV1alpha1ThemeApiFactory = function(configuration, basePath, axios) {
|
|
623
|
+
const localVarFp = ApiHaloRunV1alpha1ThemeApiFp(configuration);
|
|
624
|
+
return {
|
|
625
|
+
installTheme(file, options) {
|
|
626
|
+
return localVarFp.installTheme(file, options).then((request) => request(axios, basePath));
|
|
627
|
+
}
|
|
628
|
+
};
|
|
629
|
+
};
|
|
630
|
+
class ApiHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
631
|
+
installTheme(requestParameters, options) {
|
|
632
|
+
return ApiHaloRunV1alpha1ThemeApiFp(this.configuration).installTheme(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
637
|
+
return {
|
|
638
|
+
changePassword: async (name, changePasswordRequest, options = {}) => {
|
|
639
|
+
assertParamExists("changePassword", "name", name);
|
|
640
|
+
assertParamExists("changePassword", "changePasswordRequest", changePasswordRequest);
|
|
641
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/users/{name}/password`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
642
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
643
|
+
let baseOptions;
|
|
644
|
+
if (configuration) {
|
|
645
|
+
baseOptions = configuration.baseOptions;
|
|
646
|
+
}
|
|
647
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
648
|
+
const localVarHeaderParameter = {};
|
|
649
|
+
const localVarQueryParameter = {};
|
|
650
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
651
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
652
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
653
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
654
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
655
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
656
|
+
localVarRequestOptions.data = serializeDataIfNeeded(changePasswordRequest, localVarRequestOptions, configuration);
|
|
657
|
+
return {
|
|
658
|
+
url: toPathString(localVarUrlObj),
|
|
659
|
+
options: localVarRequestOptions
|
|
660
|
+
};
|
|
661
|
+
},
|
|
662
|
+
getCurrentUserDetail: async (options = {}) => {
|
|
663
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/users/-`;
|
|
664
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
665
|
+
let baseOptions;
|
|
666
|
+
if (configuration) {
|
|
667
|
+
baseOptions = configuration.baseOptions;
|
|
668
|
+
}
|
|
669
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
670
|
+
const localVarHeaderParameter = {};
|
|
671
|
+
const localVarQueryParameter = {};
|
|
672
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
673
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
674
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
675
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
676
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
677
|
+
return {
|
|
678
|
+
url: toPathString(localVarUrlObj),
|
|
679
|
+
options: localVarRequestOptions
|
|
680
|
+
};
|
|
681
|
+
},
|
|
682
|
+
getPermissions: async (name, options = {}) => {
|
|
683
|
+
assertParamExists("getPermissions", "name", name);
|
|
684
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/users/{name}/permissions`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
685
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
686
|
+
let baseOptions;
|
|
687
|
+
if (configuration) {
|
|
688
|
+
baseOptions = configuration.baseOptions;
|
|
689
|
+
}
|
|
690
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
691
|
+
const localVarHeaderParameter = {};
|
|
692
|
+
const localVarQueryParameter = {};
|
|
693
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
694
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
695
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
696
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
697
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
698
|
+
return {
|
|
699
|
+
url: toPathString(localVarUrlObj),
|
|
700
|
+
options: localVarRequestOptions
|
|
701
|
+
};
|
|
702
|
+
},
|
|
703
|
+
grantPermission: async (name, grantRequest, options = {}) => {
|
|
704
|
+
assertParamExists("grantPermission", "name", name);
|
|
705
|
+
assertParamExists("grantPermission", "grantRequest", grantRequest);
|
|
706
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/users/{name}/permissions`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
707
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
708
|
+
let baseOptions;
|
|
709
|
+
if (configuration) {
|
|
710
|
+
baseOptions = configuration.baseOptions;
|
|
711
|
+
}
|
|
712
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
713
|
+
const localVarHeaderParameter = {};
|
|
714
|
+
const localVarQueryParameter = {};
|
|
715
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
716
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
717
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
718
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
719
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
720
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
721
|
+
localVarRequestOptions.data = serializeDataIfNeeded(grantRequest, localVarRequestOptions, configuration);
|
|
722
|
+
return {
|
|
723
|
+
url: toPathString(localVarUrlObj),
|
|
724
|
+
options: localVarRequestOptions
|
|
725
|
+
};
|
|
726
|
+
}
|
|
727
|
+
};
|
|
728
|
+
};
|
|
729
|
+
const ApiHaloRunV1alpha1UserApiFp = function(configuration) {
|
|
730
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1UserApiAxiosParamCreator(configuration);
|
|
731
|
+
return {
|
|
732
|
+
async changePassword(name, changePasswordRequest, options) {
|
|
733
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.changePassword(name, changePasswordRequest, options);
|
|
734
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
735
|
+
},
|
|
736
|
+
async getCurrentUserDetail(options) {
|
|
737
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getCurrentUserDetail(options);
|
|
738
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
739
|
+
},
|
|
740
|
+
async getPermissions(name, options) {
|
|
741
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPermissions(name, options);
|
|
742
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
743
|
+
},
|
|
744
|
+
async grantPermission(name, grantRequest, options) {
|
|
745
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.grantPermission(name, grantRequest, options);
|
|
746
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
747
|
+
}
|
|
748
|
+
};
|
|
749
|
+
};
|
|
750
|
+
const ApiHaloRunV1alpha1UserApiFactory = function(configuration, basePath, axios) {
|
|
751
|
+
const localVarFp = ApiHaloRunV1alpha1UserApiFp(configuration);
|
|
752
|
+
return {
|
|
753
|
+
changePassword(name, changePasswordRequest, options) {
|
|
754
|
+
return localVarFp.changePassword(name, changePasswordRequest, options).then((request) => request(axios, basePath));
|
|
755
|
+
},
|
|
756
|
+
getCurrentUserDetail(options) {
|
|
757
|
+
return localVarFp.getCurrentUserDetail(options).then((request) => request(axios, basePath));
|
|
758
|
+
},
|
|
759
|
+
getPermissions(name, options) {
|
|
760
|
+
return localVarFp.getPermissions(name, options).then((request) => request(axios, basePath));
|
|
761
|
+
},
|
|
762
|
+
grantPermission(name, grantRequest, options) {
|
|
763
|
+
return localVarFp.grantPermission(name, grantRequest, options).then((request) => request(axios, basePath));
|
|
764
|
+
}
|
|
765
|
+
};
|
|
766
|
+
};
|
|
767
|
+
class ApiHaloRunV1alpha1UserApi extends BaseAPI {
|
|
768
|
+
changePassword(requestParameters, options) {
|
|
769
|
+
return ApiHaloRunV1alpha1UserApiFp(this.configuration).changePassword(requestParameters.name, requestParameters.changePasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
770
|
+
}
|
|
771
|
+
getCurrentUserDetail(options) {
|
|
772
|
+
return ApiHaloRunV1alpha1UserApiFp(this.configuration).getCurrentUserDetail(options).then((request) => request(this.axios, this.basePath));
|
|
773
|
+
}
|
|
774
|
+
getPermissions(requestParameters, options) {
|
|
775
|
+
return ApiHaloRunV1alpha1UserApiFp(this.configuration).getPermissions(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
776
|
+
}
|
|
777
|
+
grantPermission(requestParameters, options) {
|
|
778
|
+
return ApiHaloRunV1alpha1UserApiFp(this.configuration).grantPermission(requestParameters.name, requestParameters.grantRequest, options).then((request) => request(this.axios, this.basePath));
|
|
779
|
+
}
|
|
780
|
+
}
|
|
781
|
+
|
|
782
|
+
const ContentHaloRunV1alpha1CategoryApiAxiosParamCreator = function(configuration) {
|
|
783
|
+
return {
|
|
784
|
+
createcontentHaloRunV1alpha1Category: async (category, options = {}) => {
|
|
785
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/categories`;
|
|
786
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
787
|
+
let baseOptions;
|
|
788
|
+
if (configuration) {
|
|
789
|
+
baseOptions = configuration.baseOptions;
|
|
790
|
+
}
|
|
791
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
792
|
+
const localVarHeaderParameter = {};
|
|
793
|
+
const localVarQueryParameter = {};
|
|
794
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
795
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
796
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
797
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
798
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
799
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
800
|
+
localVarRequestOptions.data = serializeDataIfNeeded(category, localVarRequestOptions, configuration);
|
|
801
|
+
return {
|
|
802
|
+
url: toPathString(localVarUrlObj),
|
|
803
|
+
options: localVarRequestOptions
|
|
804
|
+
};
|
|
805
|
+
},
|
|
806
|
+
deletecontentHaloRunV1alpha1Category: async (name, options = {}) => {
|
|
807
|
+
assertParamExists("deletecontentHaloRunV1alpha1Category", "name", name);
|
|
808
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
809
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
810
|
+
let baseOptions;
|
|
811
|
+
if (configuration) {
|
|
812
|
+
baseOptions = configuration.baseOptions;
|
|
813
|
+
}
|
|
814
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
815
|
+
const localVarHeaderParameter = {};
|
|
816
|
+
const localVarQueryParameter = {};
|
|
817
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
818
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
819
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
820
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
821
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
822
|
+
return {
|
|
823
|
+
url: toPathString(localVarUrlObj),
|
|
824
|
+
options: localVarRequestOptions
|
|
825
|
+
};
|
|
826
|
+
},
|
|
827
|
+
getcontentHaloRunV1alpha1Category: async (name, options = {}) => {
|
|
828
|
+
assertParamExists("getcontentHaloRunV1alpha1Category", "name", name);
|
|
829
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
830
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
831
|
+
let baseOptions;
|
|
832
|
+
if (configuration) {
|
|
833
|
+
baseOptions = configuration.baseOptions;
|
|
834
|
+
}
|
|
835
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
836
|
+
const localVarHeaderParameter = {};
|
|
837
|
+
const localVarQueryParameter = {};
|
|
838
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
839
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
840
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
841
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
842
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
843
|
+
return {
|
|
844
|
+
url: toPathString(localVarUrlObj),
|
|
845
|
+
options: localVarRequestOptions
|
|
846
|
+
};
|
|
847
|
+
},
|
|
848
|
+
listcontentHaloRunV1alpha1Category: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
849
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/categories`;
|
|
850
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
851
|
+
let baseOptions;
|
|
852
|
+
if (configuration) {
|
|
853
|
+
baseOptions = configuration.baseOptions;
|
|
854
|
+
}
|
|
855
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
856
|
+
const localVarHeaderParameter = {};
|
|
857
|
+
const localVarQueryParameter = {};
|
|
858
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
859
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
860
|
+
if (page !== void 0) {
|
|
861
|
+
localVarQueryParameter["page"] = page;
|
|
862
|
+
}
|
|
863
|
+
if (size !== void 0) {
|
|
864
|
+
localVarQueryParameter["size"] = size;
|
|
865
|
+
}
|
|
866
|
+
if (labelSelector) {
|
|
867
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
868
|
+
}
|
|
869
|
+
if (fieldSelector) {
|
|
870
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
871
|
+
}
|
|
872
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
873
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
874
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
875
|
+
return {
|
|
876
|
+
url: toPathString(localVarUrlObj),
|
|
877
|
+
options: localVarRequestOptions
|
|
878
|
+
};
|
|
879
|
+
},
|
|
880
|
+
updatecontentHaloRunV1alpha1Category: async (name, category, options = {}) => {
|
|
881
|
+
assertParamExists("updatecontentHaloRunV1alpha1Category", "name", name);
|
|
882
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/categories/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
883
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
884
|
+
let baseOptions;
|
|
885
|
+
if (configuration) {
|
|
886
|
+
baseOptions = configuration.baseOptions;
|
|
887
|
+
}
|
|
888
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
889
|
+
const localVarHeaderParameter = {};
|
|
890
|
+
const localVarQueryParameter = {};
|
|
891
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
892
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
893
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
894
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
895
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
896
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
897
|
+
localVarRequestOptions.data = serializeDataIfNeeded(category, localVarRequestOptions, configuration);
|
|
898
|
+
return {
|
|
899
|
+
url: toPathString(localVarUrlObj),
|
|
900
|
+
options: localVarRequestOptions
|
|
901
|
+
};
|
|
902
|
+
}
|
|
903
|
+
};
|
|
904
|
+
};
|
|
905
|
+
const ContentHaloRunV1alpha1CategoryApiFp = function(configuration) {
|
|
906
|
+
const localVarAxiosParamCreator = ContentHaloRunV1alpha1CategoryApiAxiosParamCreator(configuration);
|
|
907
|
+
return {
|
|
908
|
+
async createcontentHaloRunV1alpha1Category(category, options) {
|
|
909
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1Category(category, options);
|
|
910
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
911
|
+
},
|
|
912
|
+
async deletecontentHaloRunV1alpha1Category(name, options) {
|
|
913
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1Category(name, options);
|
|
914
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
915
|
+
},
|
|
916
|
+
async getcontentHaloRunV1alpha1Category(name, options) {
|
|
917
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1Category(name, options);
|
|
918
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
919
|
+
},
|
|
920
|
+
async listcontentHaloRunV1alpha1Category(page, size, labelSelector, fieldSelector, options) {
|
|
921
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Category(page, size, labelSelector, fieldSelector, options);
|
|
922
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
923
|
+
},
|
|
924
|
+
async updatecontentHaloRunV1alpha1Category(name, category, options) {
|
|
925
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Category(name, category, options);
|
|
926
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
927
|
+
}
|
|
928
|
+
};
|
|
929
|
+
};
|
|
930
|
+
const ContentHaloRunV1alpha1CategoryApiFactory = function(configuration, basePath, axios) {
|
|
931
|
+
const localVarFp = ContentHaloRunV1alpha1CategoryApiFp(configuration);
|
|
932
|
+
return {
|
|
933
|
+
createcontentHaloRunV1alpha1Category(category, options) {
|
|
934
|
+
return localVarFp.createcontentHaloRunV1alpha1Category(category, options).then((request) => request(axios, basePath));
|
|
935
|
+
},
|
|
936
|
+
deletecontentHaloRunV1alpha1Category(name, options) {
|
|
937
|
+
return localVarFp.deletecontentHaloRunV1alpha1Category(name, options).then((request) => request(axios, basePath));
|
|
938
|
+
},
|
|
939
|
+
getcontentHaloRunV1alpha1Category(name, options) {
|
|
940
|
+
return localVarFp.getcontentHaloRunV1alpha1Category(name, options).then((request) => request(axios, basePath));
|
|
941
|
+
},
|
|
942
|
+
listcontentHaloRunV1alpha1Category(page, size, labelSelector, fieldSelector, options) {
|
|
943
|
+
return localVarFp.listcontentHaloRunV1alpha1Category(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
944
|
+
},
|
|
945
|
+
updatecontentHaloRunV1alpha1Category(name, category, options) {
|
|
946
|
+
return localVarFp.updatecontentHaloRunV1alpha1Category(name, category, options).then((request) => request(axios, basePath));
|
|
947
|
+
}
|
|
948
|
+
};
|
|
949
|
+
};
|
|
950
|
+
class ContentHaloRunV1alpha1CategoryApi extends BaseAPI {
|
|
951
|
+
createcontentHaloRunV1alpha1Category(requestParameters = {}, options) {
|
|
952
|
+
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).createcontentHaloRunV1alpha1Category(requestParameters.category, options).then((request) => request(this.axios, this.basePath));
|
|
953
|
+
}
|
|
954
|
+
deletecontentHaloRunV1alpha1Category(requestParameters, options) {
|
|
955
|
+
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).deletecontentHaloRunV1alpha1Category(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
956
|
+
}
|
|
957
|
+
getcontentHaloRunV1alpha1Category(requestParameters, options) {
|
|
958
|
+
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).getcontentHaloRunV1alpha1Category(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
959
|
+
}
|
|
960
|
+
listcontentHaloRunV1alpha1Category(requestParameters = {}, options) {
|
|
961
|
+
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).listcontentHaloRunV1alpha1Category(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
962
|
+
}
|
|
963
|
+
updatecontentHaloRunV1alpha1Category(requestParameters, options) {
|
|
964
|
+
return ContentHaloRunV1alpha1CategoryApiFp(this.configuration).updatecontentHaloRunV1alpha1Category(requestParameters.name, requestParameters.category, options).then((request) => request(this.axios, this.basePath));
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
const ContentHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
969
|
+
return {
|
|
970
|
+
createcontentHaloRunV1alpha1Comment: async (comment, options = {}) => {
|
|
971
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/comments`;
|
|
972
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
973
|
+
let baseOptions;
|
|
974
|
+
if (configuration) {
|
|
975
|
+
baseOptions = configuration.baseOptions;
|
|
976
|
+
}
|
|
977
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
978
|
+
const localVarHeaderParameter = {};
|
|
979
|
+
const localVarQueryParameter = {};
|
|
980
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
981
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
982
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
983
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
984
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
985
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
986
|
+
localVarRequestOptions.data = serializeDataIfNeeded(comment, localVarRequestOptions, configuration);
|
|
987
|
+
return {
|
|
988
|
+
url: toPathString(localVarUrlObj),
|
|
989
|
+
options: localVarRequestOptions
|
|
990
|
+
};
|
|
991
|
+
},
|
|
992
|
+
deletecontentHaloRunV1alpha1Comment: async (name, options = {}) => {
|
|
993
|
+
assertParamExists("deletecontentHaloRunV1alpha1Comment", "name", name);
|
|
994
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
995
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
996
|
+
let baseOptions;
|
|
997
|
+
if (configuration) {
|
|
998
|
+
baseOptions = configuration.baseOptions;
|
|
999
|
+
}
|
|
1000
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1001
|
+
const localVarHeaderParameter = {};
|
|
1002
|
+
const localVarQueryParameter = {};
|
|
1003
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1004
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1005
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1006
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1007
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1008
|
+
return {
|
|
1009
|
+
url: toPathString(localVarUrlObj),
|
|
1010
|
+
options: localVarRequestOptions
|
|
1011
|
+
};
|
|
1012
|
+
},
|
|
1013
|
+
getcontentHaloRunV1alpha1Comment: async (name, options = {}) => {
|
|
1014
|
+
assertParamExists("getcontentHaloRunV1alpha1Comment", "name", name);
|
|
1015
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1016
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1017
|
+
let baseOptions;
|
|
1018
|
+
if (configuration) {
|
|
1019
|
+
baseOptions = configuration.baseOptions;
|
|
1020
|
+
}
|
|
1021
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1022
|
+
const localVarHeaderParameter = {};
|
|
1023
|
+
const localVarQueryParameter = {};
|
|
1024
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1025
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1026
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1027
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1028
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1029
|
+
return {
|
|
1030
|
+
url: toPathString(localVarUrlObj),
|
|
1031
|
+
options: localVarRequestOptions
|
|
1032
|
+
};
|
|
1033
|
+
},
|
|
1034
|
+
listcontentHaloRunV1alpha1Comment: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1035
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/comments`;
|
|
1036
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1037
|
+
let baseOptions;
|
|
1038
|
+
if (configuration) {
|
|
1039
|
+
baseOptions = configuration.baseOptions;
|
|
1040
|
+
}
|
|
1041
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1042
|
+
const localVarHeaderParameter = {};
|
|
1043
|
+
const localVarQueryParameter = {};
|
|
1044
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1045
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1046
|
+
if (page !== void 0) {
|
|
1047
|
+
localVarQueryParameter["page"] = page;
|
|
1048
|
+
}
|
|
1049
|
+
if (size !== void 0) {
|
|
1050
|
+
localVarQueryParameter["size"] = size;
|
|
1051
|
+
}
|
|
1052
|
+
if (labelSelector) {
|
|
1053
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1054
|
+
}
|
|
1055
|
+
if (fieldSelector) {
|
|
1056
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1057
|
+
}
|
|
1058
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1059
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1060
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1061
|
+
return {
|
|
1062
|
+
url: toPathString(localVarUrlObj),
|
|
1063
|
+
options: localVarRequestOptions
|
|
1064
|
+
};
|
|
1065
|
+
},
|
|
1066
|
+
updatecontentHaloRunV1alpha1Comment: async (name, comment, options = {}) => {
|
|
1067
|
+
assertParamExists("updatecontentHaloRunV1alpha1Comment", "name", name);
|
|
1068
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/comments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1069
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1070
|
+
let baseOptions;
|
|
1071
|
+
if (configuration) {
|
|
1072
|
+
baseOptions = configuration.baseOptions;
|
|
1073
|
+
}
|
|
1074
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1075
|
+
const localVarHeaderParameter = {};
|
|
1076
|
+
const localVarQueryParameter = {};
|
|
1077
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1078
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1079
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1080
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1081
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1082
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1083
|
+
localVarRequestOptions.data = serializeDataIfNeeded(comment, localVarRequestOptions, configuration);
|
|
1084
|
+
return {
|
|
1085
|
+
url: toPathString(localVarUrlObj),
|
|
1086
|
+
options: localVarRequestOptions
|
|
1087
|
+
};
|
|
1088
|
+
}
|
|
1089
|
+
};
|
|
1090
|
+
};
|
|
1091
|
+
const ContentHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
1092
|
+
const localVarAxiosParamCreator = ContentHaloRunV1alpha1CommentApiAxiosParamCreator(configuration);
|
|
1093
|
+
return {
|
|
1094
|
+
async createcontentHaloRunV1alpha1Comment(comment, options) {
|
|
1095
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1Comment(comment, options);
|
|
1096
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1097
|
+
},
|
|
1098
|
+
async deletecontentHaloRunV1alpha1Comment(name, options) {
|
|
1099
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1Comment(name, options);
|
|
1100
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1101
|
+
},
|
|
1102
|
+
async getcontentHaloRunV1alpha1Comment(name, options) {
|
|
1103
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1Comment(name, options);
|
|
1104
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1105
|
+
},
|
|
1106
|
+
async listcontentHaloRunV1alpha1Comment(page, size, labelSelector, fieldSelector, options) {
|
|
1107
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Comment(page, size, labelSelector, fieldSelector, options);
|
|
1108
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1109
|
+
},
|
|
1110
|
+
async updatecontentHaloRunV1alpha1Comment(name, comment, options) {
|
|
1111
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Comment(name, comment, options);
|
|
1112
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1113
|
+
}
|
|
1114
|
+
};
|
|
1115
|
+
};
|
|
1116
|
+
const ContentHaloRunV1alpha1CommentApiFactory = function(configuration, basePath, axios) {
|
|
1117
|
+
const localVarFp = ContentHaloRunV1alpha1CommentApiFp(configuration);
|
|
1118
|
+
return {
|
|
1119
|
+
createcontentHaloRunV1alpha1Comment(comment, options) {
|
|
1120
|
+
return localVarFp.createcontentHaloRunV1alpha1Comment(comment, options).then((request) => request(axios, basePath));
|
|
1121
|
+
},
|
|
1122
|
+
deletecontentHaloRunV1alpha1Comment(name, options) {
|
|
1123
|
+
return localVarFp.deletecontentHaloRunV1alpha1Comment(name, options).then((request) => request(axios, basePath));
|
|
1124
|
+
},
|
|
1125
|
+
getcontentHaloRunV1alpha1Comment(name, options) {
|
|
1126
|
+
return localVarFp.getcontentHaloRunV1alpha1Comment(name, options).then((request) => request(axios, basePath));
|
|
1127
|
+
},
|
|
1128
|
+
listcontentHaloRunV1alpha1Comment(page, size, labelSelector, fieldSelector, options) {
|
|
1129
|
+
return localVarFp.listcontentHaloRunV1alpha1Comment(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1130
|
+
},
|
|
1131
|
+
updatecontentHaloRunV1alpha1Comment(name, comment, options) {
|
|
1132
|
+
return localVarFp.updatecontentHaloRunV1alpha1Comment(name, comment, options).then((request) => request(axios, basePath));
|
|
1133
|
+
}
|
|
1134
|
+
};
|
|
1135
|
+
};
|
|
1136
|
+
class ContentHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
1137
|
+
createcontentHaloRunV1alpha1Comment(requestParameters = {}, options) {
|
|
1138
|
+
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).createcontentHaloRunV1alpha1Comment(requestParameters.comment, options).then((request) => request(this.axios, this.basePath));
|
|
1139
|
+
}
|
|
1140
|
+
deletecontentHaloRunV1alpha1Comment(requestParameters, options) {
|
|
1141
|
+
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).deletecontentHaloRunV1alpha1Comment(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1142
|
+
}
|
|
1143
|
+
getcontentHaloRunV1alpha1Comment(requestParameters, options) {
|
|
1144
|
+
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).getcontentHaloRunV1alpha1Comment(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1145
|
+
}
|
|
1146
|
+
listcontentHaloRunV1alpha1Comment(requestParameters = {}, options) {
|
|
1147
|
+
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).listcontentHaloRunV1alpha1Comment(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1148
|
+
}
|
|
1149
|
+
updatecontentHaloRunV1alpha1Comment(requestParameters, options) {
|
|
1150
|
+
return ContentHaloRunV1alpha1CommentApiFp(this.configuration).updatecontentHaloRunV1alpha1Comment(requestParameters.name, requestParameters.comment, options).then((request) => request(this.axios, this.basePath));
|
|
1151
|
+
}
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
const ContentHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
1155
|
+
return {
|
|
1156
|
+
createcontentHaloRunV1alpha1Post: async (post, options = {}) => {
|
|
1157
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/posts`;
|
|
1158
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1159
|
+
let baseOptions;
|
|
1160
|
+
if (configuration) {
|
|
1161
|
+
baseOptions = configuration.baseOptions;
|
|
1162
|
+
}
|
|
1163
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1164
|
+
const localVarHeaderParameter = {};
|
|
1165
|
+
const localVarQueryParameter = {};
|
|
1166
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1167
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1168
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1169
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1170
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1171
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1172
|
+
localVarRequestOptions.data = serializeDataIfNeeded(post, localVarRequestOptions, configuration);
|
|
1173
|
+
return {
|
|
1174
|
+
url: toPathString(localVarUrlObj),
|
|
1175
|
+
options: localVarRequestOptions
|
|
1176
|
+
};
|
|
1177
|
+
},
|
|
1178
|
+
deletecontentHaloRunV1alpha1Post: async (name, options = {}) => {
|
|
1179
|
+
assertParamExists("deletecontentHaloRunV1alpha1Post", "name", name);
|
|
1180
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1181
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1182
|
+
let baseOptions;
|
|
1183
|
+
if (configuration) {
|
|
1184
|
+
baseOptions = configuration.baseOptions;
|
|
1185
|
+
}
|
|
1186
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1187
|
+
const localVarHeaderParameter = {};
|
|
1188
|
+
const localVarQueryParameter = {};
|
|
1189
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1190
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1191
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1192
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1193
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1194
|
+
return {
|
|
1195
|
+
url: toPathString(localVarUrlObj),
|
|
1196
|
+
options: localVarRequestOptions
|
|
1197
|
+
};
|
|
1198
|
+
},
|
|
1199
|
+
getcontentHaloRunV1alpha1Post: async (name, options = {}) => {
|
|
1200
|
+
assertParamExists("getcontentHaloRunV1alpha1Post", "name", name);
|
|
1201
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1202
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1203
|
+
let baseOptions;
|
|
1204
|
+
if (configuration) {
|
|
1205
|
+
baseOptions = configuration.baseOptions;
|
|
1206
|
+
}
|
|
1207
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1208
|
+
const localVarHeaderParameter = {};
|
|
1209
|
+
const localVarQueryParameter = {};
|
|
1210
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1211
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1212
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1213
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1214
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1215
|
+
return {
|
|
1216
|
+
url: toPathString(localVarUrlObj),
|
|
1217
|
+
options: localVarRequestOptions
|
|
1218
|
+
};
|
|
1219
|
+
},
|
|
1220
|
+
listcontentHaloRunV1alpha1Post: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1221
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/posts`;
|
|
1222
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1223
|
+
let baseOptions;
|
|
1224
|
+
if (configuration) {
|
|
1225
|
+
baseOptions = configuration.baseOptions;
|
|
1226
|
+
}
|
|
1227
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1228
|
+
const localVarHeaderParameter = {};
|
|
1229
|
+
const localVarQueryParameter = {};
|
|
1230
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1231
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1232
|
+
if (page !== void 0) {
|
|
1233
|
+
localVarQueryParameter["page"] = page;
|
|
1234
|
+
}
|
|
1235
|
+
if (size !== void 0) {
|
|
1236
|
+
localVarQueryParameter["size"] = size;
|
|
1237
|
+
}
|
|
1238
|
+
if (labelSelector) {
|
|
1239
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1240
|
+
}
|
|
1241
|
+
if (fieldSelector) {
|
|
1242
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1243
|
+
}
|
|
1244
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1245
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1246
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1247
|
+
return {
|
|
1248
|
+
url: toPathString(localVarUrlObj),
|
|
1249
|
+
options: localVarRequestOptions
|
|
1250
|
+
};
|
|
1251
|
+
},
|
|
1252
|
+
updatecontentHaloRunV1alpha1Post: async (name, post, options = {}) => {
|
|
1253
|
+
assertParamExists("updatecontentHaloRunV1alpha1Post", "name", name);
|
|
1254
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/posts/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1255
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1256
|
+
let baseOptions;
|
|
1257
|
+
if (configuration) {
|
|
1258
|
+
baseOptions = configuration.baseOptions;
|
|
1259
|
+
}
|
|
1260
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1261
|
+
const localVarHeaderParameter = {};
|
|
1262
|
+
const localVarQueryParameter = {};
|
|
1263
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1264
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1265
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1266
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1267
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1268
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1269
|
+
localVarRequestOptions.data = serializeDataIfNeeded(post, localVarRequestOptions, configuration);
|
|
1270
|
+
return {
|
|
1271
|
+
url: toPathString(localVarUrlObj),
|
|
1272
|
+
options: localVarRequestOptions
|
|
1273
|
+
};
|
|
1274
|
+
}
|
|
1275
|
+
};
|
|
1276
|
+
};
|
|
1277
|
+
const ContentHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
1278
|
+
const localVarAxiosParamCreator = ContentHaloRunV1alpha1PostApiAxiosParamCreator(configuration);
|
|
1279
|
+
return {
|
|
1280
|
+
async createcontentHaloRunV1alpha1Post(post, options) {
|
|
1281
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1Post(post, options);
|
|
1282
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1283
|
+
},
|
|
1284
|
+
async deletecontentHaloRunV1alpha1Post(name, options) {
|
|
1285
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1Post(name, options);
|
|
1286
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1287
|
+
},
|
|
1288
|
+
async getcontentHaloRunV1alpha1Post(name, options) {
|
|
1289
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1Post(name, options);
|
|
1290
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1291
|
+
},
|
|
1292
|
+
async listcontentHaloRunV1alpha1Post(page, size, labelSelector, fieldSelector, options) {
|
|
1293
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Post(page, size, labelSelector, fieldSelector, options);
|
|
1294
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1295
|
+
},
|
|
1296
|
+
async updatecontentHaloRunV1alpha1Post(name, post, options) {
|
|
1297
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Post(name, post, options);
|
|
1298
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1299
|
+
}
|
|
1300
|
+
};
|
|
1301
|
+
};
|
|
1302
|
+
const ContentHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
|
|
1303
|
+
const localVarFp = ContentHaloRunV1alpha1PostApiFp(configuration);
|
|
1304
|
+
return {
|
|
1305
|
+
createcontentHaloRunV1alpha1Post(post, options) {
|
|
1306
|
+
return localVarFp.createcontentHaloRunV1alpha1Post(post, options).then((request) => request(axios, basePath));
|
|
1307
|
+
},
|
|
1308
|
+
deletecontentHaloRunV1alpha1Post(name, options) {
|
|
1309
|
+
return localVarFp.deletecontentHaloRunV1alpha1Post(name, options).then((request) => request(axios, basePath));
|
|
1310
|
+
},
|
|
1311
|
+
getcontentHaloRunV1alpha1Post(name, options) {
|
|
1312
|
+
return localVarFp.getcontentHaloRunV1alpha1Post(name, options).then((request) => request(axios, basePath));
|
|
1313
|
+
},
|
|
1314
|
+
listcontentHaloRunV1alpha1Post(page, size, labelSelector, fieldSelector, options) {
|
|
1315
|
+
return localVarFp.listcontentHaloRunV1alpha1Post(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1316
|
+
},
|
|
1317
|
+
updatecontentHaloRunV1alpha1Post(name, post, options) {
|
|
1318
|
+
return localVarFp.updatecontentHaloRunV1alpha1Post(name, post, options).then((request) => request(axios, basePath));
|
|
1319
|
+
}
|
|
1320
|
+
};
|
|
1321
|
+
};
|
|
1322
|
+
class ContentHaloRunV1alpha1PostApi extends BaseAPI {
|
|
1323
|
+
createcontentHaloRunV1alpha1Post(requestParameters = {}, options) {
|
|
1324
|
+
return ContentHaloRunV1alpha1PostApiFp(this.configuration).createcontentHaloRunV1alpha1Post(requestParameters.post, options).then((request) => request(this.axios, this.basePath));
|
|
1325
|
+
}
|
|
1326
|
+
deletecontentHaloRunV1alpha1Post(requestParameters, options) {
|
|
1327
|
+
return ContentHaloRunV1alpha1PostApiFp(this.configuration).deletecontentHaloRunV1alpha1Post(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1328
|
+
}
|
|
1329
|
+
getcontentHaloRunV1alpha1Post(requestParameters, options) {
|
|
1330
|
+
return ContentHaloRunV1alpha1PostApiFp(this.configuration).getcontentHaloRunV1alpha1Post(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1331
|
+
}
|
|
1332
|
+
listcontentHaloRunV1alpha1Post(requestParameters = {}, options) {
|
|
1333
|
+
return ContentHaloRunV1alpha1PostApiFp(this.configuration).listcontentHaloRunV1alpha1Post(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1334
|
+
}
|
|
1335
|
+
updatecontentHaloRunV1alpha1Post(requestParameters, options) {
|
|
1336
|
+
return ContentHaloRunV1alpha1PostApiFp(this.configuration).updatecontentHaloRunV1alpha1Post(requestParameters.name, requestParameters.post, options).then((request) => request(this.axios, this.basePath));
|
|
1337
|
+
}
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
const ContentHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
|
|
1341
|
+
return {
|
|
1342
|
+
createcontentHaloRunV1alpha1Reply: async (reply, options = {}) => {
|
|
1343
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/replies`;
|
|
1344
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1345
|
+
let baseOptions;
|
|
1346
|
+
if (configuration) {
|
|
1347
|
+
baseOptions = configuration.baseOptions;
|
|
1348
|
+
}
|
|
1349
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1350
|
+
const localVarHeaderParameter = {};
|
|
1351
|
+
const localVarQueryParameter = {};
|
|
1352
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1353
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1354
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1355
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1356
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1357
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1358
|
+
localVarRequestOptions.data = serializeDataIfNeeded(reply, localVarRequestOptions, configuration);
|
|
1359
|
+
return {
|
|
1360
|
+
url: toPathString(localVarUrlObj),
|
|
1361
|
+
options: localVarRequestOptions
|
|
1362
|
+
};
|
|
1363
|
+
},
|
|
1364
|
+
deletecontentHaloRunV1alpha1Reply: async (name, options = {}) => {
|
|
1365
|
+
assertParamExists("deletecontentHaloRunV1alpha1Reply", "name", name);
|
|
1366
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1367
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1368
|
+
let baseOptions;
|
|
1369
|
+
if (configuration) {
|
|
1370
|
+
baseOptions = configuration.baseOptions;
|
|
1371
|
+
}
|
|
1372
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1373
|
+
const localVarHeaderParameter = {};
|
|
1374
|
+
const localVarQueryParameter = {};
|
|
1375
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1376
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1377
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1378
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1379
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1380
|
+
return {
|
|
1381
|
+
url: toPathString(localVarUrlObj),
|
|
1382
|
+
options: localVarRequestOptions
|
|
1383
|
+
};
|
|
1384
|
+
},
|
|
1385
|
+
getcontentHaloRunV1alpha1Reply: async (name, options = {}) => {
|
|
1386
|
+
assertParamExists("getcontentHaloRunV1alpha1Reply", "name", name);
|
|
1387
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1388
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1389
|
+
let baseOptions;
|
|
1390
|
+
if (configuration) {
|
|
1391
|
+
baseOptions = configuration.baseOptions;
|
|
1392
|
+
}
|
|
1393
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1394
|
+
const localVarHeaderParameter = {};
|
|
1395
|
+
const localVarQueryParameter = {};
|
|
1396
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1397
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1398
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1399
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1400
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1401
|
+
return {
|
|
1402
|
+
url: toPathString(localVarUrlObj),
|
|
1403
|
+
options: localVarRequestOptions
|
|
1404
|
+
};
|
|
1405
|
+
},
|
|
1406
|
+
listcontentHaloRunV1alpha1Reply: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1407
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/replies`;
|
|
1408
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1409
|
+
let baseOptions;
|
|
1410
|
+
if (configuration) {
|
|
1411
|
+
baseOptions = configuration.baseOptions;
|
|
1412
|
+
}
|
|
1413
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1414
|
+
const localVarHeaderParameter = {};
|
|
1415
|
+
const localVarQueryParameter = {};
|
|
1416
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1417
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1418
|
+
if (page !== void 0) {
|
|
1419
|
+
localVarQueryParameter["page"] = page;
|
|
1420
|
+
}
|
|
1421
|
+
if (size !== void 0) {
|
|
1422
|
+
localVarQueryParameter["size"] = size;
|
|
1423
|
+
}
|
|
1424
|
+
if (labelSelector) {
|
|
1425
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1426
|
+
}
|
|
1427
|
+
if (fieldSelector) {
|
|
1428
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1429
|
+
}
|
|
1430
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1431
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1432
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1433
|
+
return {
|
|
1434
|
+
url: toPathString(localVarUrlObj),
|
|
1435
|
+
options: localVarRequestOptions
|
|
1436
|
+
};
|
|
1437
|
+
},
|
|
1438
|
+
updatecontentHaloRunV1alpha1Reply: async (name, reply, options = {}) => {
|
|
1439
|
+
assertParamExists("updatecontentHaloRunV1alpha1Reply", "name", name);
|
|
1440
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/replies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1441
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1442
|
+
let baseOptions;
|
|
1443
|
+
if (configuration) {
|
|
1444
|
+
baseOptions = configuration.baseOptions;
|
|
1445
|
+
}
|
|
1446
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1447
|
+
const localVarHeaderParameter = {};
|
|
1448
|
+
const localVarQueryParameter = {};
|
|
1449
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1450
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1451
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1452
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1453
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1454
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1455
|
+
localVarRequestOptions.data = serializeDataIfNeeded(reply, localVarRequestOptions, configuration);
|
|
1456
|
+
return {
|
|
1457
|
+
url: toPathString(localVarUrlObj),
|
|
1458
|
+
options: localVarRequestOptions
|
|
1459
|
+
};
|
|
1460
|
+
}
|
|
1461
|
+
};
|
|
1462
|
+
};
|
|
1463
|
+
const ContentHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
1464
|
+
const localVarAxiosParamCreator = ContentHaloRunV1alpha1ReplyApiAxiosParamCreator(configuration);
|
|
1465
|
+
return {
|
|
1466
|
+
async createcontentHaloRunV1alpha1Reply(reply, options) {
|
|
1467
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1Reply(reply, options);
|
|
1468
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1469
|
+
},
|
|
1470
|
+
async deletecontentHaloRunV1alpha1Reply(name, options) {
|
|
1471
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1Reply(name, options);
|
|
1472
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1473
|
+
},
|
|
1474
|
+
async getcontentHaloRunV1alpha1Reply(name, options) {
|
|
1475
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1Reply(name, options);
|
|
1476
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1477
|
+
},
|
|
1478
|
+
async listcontentHaloRunV1alpha1Reply(page, size, labelSelector, fieldSelector, options) {
|
|
1479
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Reply(page, size, labelSelector, fieldSelector, options);
|
|
1480
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1481
|
+
},
|
|
1482
|
+
async updatecontentHaloRunV1alpha1Reply(name, reply, options) {
|
|
1483
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Reply(name, reply, options);
|
|
1484
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1485
|
+
}
|
|
1486
|
+
};
|
|
1487
|
+
};
|
|
1488
|
+
const ContentHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
|
|
1489
|
+
const localVarFp = ContentHaloRunV1alpha1ReplyApiFp(configuration);
|
|
1490
|
+
return {
|
|
1491
|
+
createcontentHaloRunV1alpha1Reply(reply, options) {
|
|
1492
|
+
return localVarFp.createcontentHaloRunV1alpha1Reply(reply, options).then((request) => request(axios, basePath));
|
|
1493
|
+
},
|
|
1494
|
+
deletecontentHaloRunV1alpha1Reply(name, options) {
|
|
1495
|
+
return localVarFp.deletecontentHaloRunV1alpha1Reply(name, options).then((request) => request(axios, basePath));
|
|
1496
|
+
},
|
|
1497
|
+
getcontentHaloRunV1alpha1Reply(name, options) {
|
|
1498
|
+
return localVarFp.getcontentHaloRunV1alpha1Reply(name, options).then((request) => request(axios, basePath));
|
|
1499
|
+
},
|
|
1500
|
+
listcontentHaloRunV1alpha1Reply(page, size, labelSelector, fieldSelector, options) {
|
|
1501
|
+
return localVarFp.listcontentHaloRunV1alpha1Reply(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1502
|
+
},
|
|
1503
|
+
updatecontentHaloRunV1alpha1Reply(name, reply, options) {
|
|
1504
|
+
return localVarFp.updatecontentHaloRunV1alpha1Reply(name, reply, options).then((request) => request(axios, basePath));
|
|
1505
|
+
}
|
|
1506
|
+
};
|
|
1507
|
+
};
|
|
1508
|
+
class ContentHaloRunV1alpha1ReplyApi extends BaseAPI {
|
|
1509
|
+
createcontentHaloRunV1alpha1Reply(requestParameters = {}, options) {
|
|
1510
|
+
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).createcontentHaloRunV1alpha1Reply(requestParameters.reply, options).then((request) => request(this.axios, this.basePath));
|
|
1511
|
+
}
|
|
1512
|
+
deletecontentHaloRunV1alpha1Reply(requestParameters, options) {
|
|
1513
|
+
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).deletecontentHaloRunV1alpha1Reply(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1514
|
+
}
|
|
1515
|
+
getcontentHaloRunV1alpha1Reply(requestParameters, options) {
|
|
1516
|
+
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).getcontentHaloRunV1alpha1Reply(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1517
|
+
}
|
|
1518
|
+
listcontentHaloRunV1alpha1Reply(requestParameters = {}, options) {
|
|
1519
|
+
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).listcontentHaloRunV1alpha1Reply(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1520
|
+
}
|
|
1521
|
+
updatecontentHaloRunV1alpha1Reply(requestParameters, options) {
|
|
1522
|
+
return ContentHaloRunV1alpha1ReplyApiFp(this.configuration).updatecontentHaloRunV1alpha1Reply(requestParameters.name, requestParameters.reply, options).then((request) => request(this.axios, this.basePath));
|
|
1523
|
+
}
|
|
1524
|
+
}
|
|
1525
|
+
|
|
1526
|
+
const ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configuration) {
|
|
1527
|
+
return {
|
|
1528
|
+
createcontentHaloRunV1alpha1SinglePage: async (singlePage, options = {}) => {
|
|
1529
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages`;
|
|
1530
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1531
|
+
let baseOptions;
|
|
1532
|
+
if (configuration) {
|
|
1533
|
+
baseOptions = configuration.baseOptions;
|
|
1534
|
+
}
|
|
1535
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1536
|
+
const localVarHeaderParameter = {};
|
|
1537
|
+
const localVarQueryParameter = {};
|
|
1538
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1539
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1540
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1541
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1542
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1543
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1544
|
+
localVarRequestOptions.data = serializeDataIfNeeded(singlePage, localVarRequestOptions, configuration);
|
|
1545
|
+
return {
|
|
1546
|
+
url: toPathString(localVarUrlObj),
|
|
1547
|
+
options: localVarRequestOptions
|
|
1548
|
+
};
|
|
1549
|
+
},
|
|
1550
|
+
deletecontentHaloRunV1alpha1SinglePage: async (name, options = {}) => {
|
|
1551
|
+
assertParamExists("deletecontentHaloRunV1alpha1SinglePage", "name", name);
|
|
1552
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1553
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1554
|
+
let baseOptions;
|
|
1555
|
+
if (configuration) {
|
|
1556
|
+
baseOptions = configuration.baseOptions;
|
|
1557
|
+
}
|
|
1558
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1559
|
+
const localVarHeaderParameter = {};
|
|
1560
|
+
const localVarQueryParameter = {};
|
|
1561
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1562
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1563
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1564
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1565
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1566
|
+
return {
|
|
1567
|
+
url: toPathString(localVarUrlObj),
|
|
1568
|
+
options: localVarRequestOptions
|
|
1569
|
+
};
|
|
1570
|
+
},
|
|
1571
|
+
getcontentHaloRunV1alpha1SinglePage: async (name, options = {}) => {
|
|
1572
|
+
assertParamExists("getcontentHaloRunV1alpha1SinglePage", "name", name);
|
|
1573
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1574
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1575
|
+
let baseOptions;
|
|
1576
|
+
if (configuration) {
|
|
1577
|
+
baseOptions = configuration.baseOptions;
|
|
1578
|
+
}
|
|
1579
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1580
|
+
const localVarHeaderParameter = {};
|
|
1581
|
+
const localVarQueryParameter = {};
|
|
1582
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1583
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1584
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1585
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1586
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1587
|
+
return {
|
|
1588
|
+
url: toPathString(localVarUrlObj),
|
|
1589
|
+
options: localVarRequestOptions
|
|
1590
|
+
};
|
|
1591
|
+
},
|
|
1592
|
+
listcontentHaloRunV1alpha1SinglePage: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1593
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages`;
|
|
1594
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1595
|
+
let baseOptions;
|
|
1596
|
+
if (configuration) {
|
|
1597
|
+
baseOptions = configuration.baseOptions;
|
|
1598
|
+
}
|
|
1599
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1600
|
+
const localVarHeaderParameter = {};
|
|
1601
|
+
const localVarQueryParameter = {};
|
|
1602
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1603
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1604
|
+
if (page !== void 0) {
|
|
1605
|
+
localVarQueryParameter["page"] = page;
|
|
1606
|
+
}
|
|
1607
|
+
if (size !== void 0) {
|
|
1608
|
+
localVarQueryParameter["size"] = size;
|
|
1609
|
+
}
|
|
1610
|
+
if (labelSelector) {
|
|
1611
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1612
|
+
}
|
|
1613
|
+
if (fieldSelector) {
|
|
1614
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1615
|
+
}
|
|
1616
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1617
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1618
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1619
|
+
return {
|
|
1620
|
+
url: toPathString(localVarUrlObj),
|
|
1621
|
+
options: localVarRequestOptions
|
|
1622
|
+
};
|
|
1623
|
+
},
|
|
1624
|
+
updatecontentHaloRunV1alpha1SinglePage: async (name, singlePage, options = {}) => {
|
|
1625
|
+
assertParamExists("updatecontentHaloRunV1alpha1SinglePage", "name", name);
|
|
1626
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1627
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1628
|
+
let baseOptions;
|
|
1629
|
+
if (configuration) {
|
|
1630
|
+
baseOptions = configuration.baseOptions;
|
|
1631
|
+
}
|
|
1632
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1633
|
+
const localVarHeaderParameter = {};
|
|
1634
|
+
const localVarQueryParameter = {};
|
|
1635
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1636
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1637
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1638
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1639
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1640
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1641
|
+
localVarRequestOptions.data = serializeDataIfNeeded(singlePage, localVarRequestOptions, configuration);
|
|
1642
|
+
return {
|
|
1643
|
+
url: toPathString(localVarUrlObj),
|
|
1644
|
+
options: localVarRequestOptions
|
|
1645
|
+
};
|
|
1646
|
+
}
|
|
1647
|
+
};
|
|
1648
|
+
};
|
|
1649
|
+
const ContentHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
1650
|
+
const localVarAxiosParamCreator = ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator(configuration);
|
|
1651
|
+
return {
|
|
1652
|
+
async createcontentHaloRunV1alpha1SinglePage(singlePage, options) {
|
|
1653
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1SinglePage(singlePage, options);
|
|
1654
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1655
|
+
},
|
|
1656
|
+
async deletecontentHaloRunV1alpha1SinglePage(name, options) {
|
|
1657
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1SinglePage(name, options);
|
|
1658
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1659
|
+
},
|
|
1660
|
+
async getcontentHaloRunV1alpha1SinglePage(name, options) {
|
|
1661
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1SinglePage(name, options);
|
|
1662
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1663
|
+
},
|
|
1664
|
+
async listcontentHaloRunV1alpha1SinglePage(page, size, labelSelector, fieldSelector, options) {
|
|
1665
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1SinglePage(page, size, labelSelector, fieldSelector, options);
|
|
1666
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1667
|
+
},
|
|
1668
|
+
async updatecontentHaloRunV1alpha1SinglePage(name, singlePage, options) {
|
|
1669
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1SinglePage(name, singlePage, options);
|
|
1670
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1671
|
+
}
|
|
1672
|
+
};
|
|
1673
|
+
};
|
|
1674
|
+
const ContentHaloRunV1alpha1SinglePageApiFactory = function(configuration, basePath, axios) {
|
|
1675
|
+
const localVarFp = ContentHaloRunV1alpha1SinglePageApiFp(configuration);
|
|
1676
|
+
return {
|
|
1677
|
+
createcontentHaloRunV1alpha1SinglePage(singlePage, options) {
|
|
1678
|
+
return localVarFp.createcontentHaloRunV1alpha1SinglePage(singlePage, options).then((request) => request(axios, basePath));
|
|
1679
|
+
},
|
|
1680
|
+
deletecontentHaloRunV1alpha1SinglePage(name, options) {
|
|
1681
|
+
return localVarFp.deletecontentHaloRunV1alpha1SinglePage(name, options).then((request) => request(axios, basePath));
|
|
1682
|
+
},
|
|
1683
|
+
getcontentHaloRunV1alpha1SinglePage(name, options) {
|
|
1684
|
+
return localVarFp.getcontentHaloRunV1alpha1SinglePage(name, options).then((request) => request(axios, basePath));
|
|
1685
|
+
},
|
|
1686
|
+
listcontentHaloRunV1alpha1SinglePage(page, size, labelSelector, fieldSelector, options) {
|
|
1687
|
+
return localVarFp.listcontentHaloRunV1alpha1SinglePage(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1688
|
+
},
|
|
1689
|
+
updatecontentHaloRunV1alpha1SinglePage(name, singlePage, options) {
|
|
1690
|
+
return localVarFp.updatecontentHaloRunV1alpha1SinglePage(name, singlePage, options).then((request) => request(axios, basePath));
|
|
1691
|
+
}
|
|
1692
|
+
};
|
|
1693
|
+
};
|
|
1694
|
+
class ContentHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
1695
|
+
createcontentHaloRunV1alpha1SinglePage(requestParameters = {}, options) {
|
|
1696
|
+
return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).createcontentHaloRunV1alpha1SinglePage(requestParameters.singlePage, options).then((request) => request(this.axios, this.basePath));
|
|
1697
|
+
}
|
|
1698
|
+
deletecontentHaloRunV1alpha1SinglePage(requestParameters, options) {
|
|
1699
|
+
return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).deletecontentHaloRunV1alpha1SinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1700
|
+
}
|
|
1701
|
+
getcontentHaloRunV1alpha1SinglePage(requestParameters, options) {
|
|
1702
|
+
return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).getcontentHaloRunV1alpha1SinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1703
|
+
}
|
|
1704
|
+
listcontentHaloRunV1alpha1SinglePage(requestParameters = {}, options) {
|
|
1705
|
+
return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).listcontentHaloRunV1alpha1SinglePage(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1706
|
+
}
|
|
1707
|
+
updatecontentHaloRunV1alpha1SinglePage(requestParameters, options) {
|
|
1708
|
+
return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).updatecontentHaloRunV1alpha1SinglePage(requestParameters.name, requestParameters.singlePage, options).then((request) => request(this.axios, this.basePath));
|
|
1709
|
+
}
|
|
1710
|
+
}
|
|
1711
|
+
|
|
1712
|
+
const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuration) {
|
|
1713
|
+
return {
|
|
1714
|
+
createcontentHaloRunV1alpha1Snapshot: async (snapshot, options = {}) => {
|
|
1715
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots`;
|
|
1716
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1717
|
+
let baseOptions;
|
|
1718
|
+
if (configuration) {
|
|
1719
|
+
baseOptions = configuration.baseOptions;
|
|
1720
|
+
}
|
|
1721
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1722
|
+
const localVarHeaderParameter = {};
|
|
1723
|
+
const localVarQueryParameter = {};
|
|
1724
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1725
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1726
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1727
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1728
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1729
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1730
|
+
localVarRequestOptions.data = serializeDataIfNeeded(snapshot, localVarRequestOptions, configuration);
|
|
1731
|
+
return {
|
|
1732
|
+
url: toPathString(localVarUrlObj),
|
|
1733
|
+
options: localVarRequestOptions
|
|
1734
|
+
};
|
|
1735
|
+
},
|
|
1736
|
+
deletecontentHaloRunV1alpha1Snapshot: async (name, options = {}) => {
|
|
1737
|
+
assertParamExists("deletecontentHaloRunV1alpha1Snapshot", "name", name);
|
|
1738
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1739
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1740
|
+
let baseOptions;
|
|
1741
|
+
if (configuration) {
|
|
1742
|
+
baseOptions = configuration.baseOptions;
|
|
1743
|
+
}
|
|
1744
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1745
|
+
const localVarHeaderParameter = {};
|
|
1746
|
+
const localVarQueryParameter = {};
|
|
1747
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1748
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1749
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1750
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1751
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1752
|
+
return {
|
|
1753
|
+
url: toPathString(localVarUrlObj),
|
|
1754
|
+
options: localVarRequestOptions
|
|
1755
|
+
};
|
|
1756
|
+
},
|
|
1757
|
+
getcontentHaloRunV1alpha1Snapshot: async (name, options = {}) => {
|
|
1758
|
+
assertParamExists("getcontentHaloRunV1alpha1Snapshot", "name", name);
|
|
1759
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1760
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1761
|
+
let baseOptions;
|
|
1762
|
+
if (configuration) {
|
|
1763
|
+
baseOptions = configuration.baseOptions;
|
|
1764
|
+
}
|
|
1765
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1766
|
+
const localVarHeaderParameter = {};
|
|
1767
|
+
const localVarQueryParameter = {};
|
|
1768
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1769
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1770
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1771
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1772
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1773
|
+
return {
|
|
1774
|
+
url: toPathString(localVarUrlObj),
|
|
1775
|
+
options: localVarRequestOptions
|
|
1776
|
+
};
|
|
1777
|
+
},
|
|
1778
|
+
listcontentHaloRunV1alpha1Snapshot: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1779
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots`;
|
|
1780
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1781
|
+
let baseOptions;
|
|
1782
|
+
if (configuration) {
|
|
1783
|
+
baseOptions = configuration.baseOptions;
|
|
1784
|
+
}
|
|
1785
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1786
|
+
const localVarHeaderParameter = {};
|
|
1787
|
+
const localVarQueryParameter = {};
|
|
1788
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1789
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1790
|
+
if (page !== void 0) {
|
|
1791
|
+
localVarQueryParameter["page"] = page;
|
|
1792
|
+
}
|
|
1793
|
+
if (size !== void 0) {
|
|
1794
|
+
localVarQueryParameter["size"] = size;
|
|
1795
|
+
}
|
|
1796
|
+
if (labelSelector) {
|
|
1797
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1798
|
+
}
|
|
1799
|
+
if (fieldSelector) {
|
|
1800
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1801
|
+
}
|
|
1802
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1803
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1804
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1805
|
+
return {
|
|
1806
|
+
url: toPathString(localVarUrlObj),
|
|
1807
|
+
options: localVarRequestOptions
|
|
1808
|
+
};
|
|
1809
|
+
},
|
|
1810
|
+
updatecontentHaloRunV1alpha1Snapshot: async (name, snapshot, options = {}) => {
|
|
1811
|
+
assertParamExists("updatecontentHaloRunV1alpha1Snapshot", "name", name);
|
|
1812
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1813
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1814
|
+
let baseOptions;
|
|
1815
|
+
if (configuration) {
|
|
1816
|
+
baseOptions = configuration.baseOptions;
|
|
1817
|
+
}
|
|
1818
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1819
|
+
const localVarHeaderParameter = {};
|
|
1820
|
+
const localVarQueryParameter = {};
|
|
1821
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1822
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1823
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1824
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1825
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1826
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1827
|
+
localVarRequestOptions.data = serializeDataIfNeeded(snapshot, localVarRequestOptions, configuration);
|
|
1828
|
+
return {
|
|
1829
|
+
url: toPathString(localVarUrlObj),
|
|
1830
|
+
options: localVarRequestOptions
|
|
1831
|
+
};
|
|
1832
|
+
}
|
|
1833
|
+
};
|
|
1834
|
+
};
|
|
1835
|
+
const ContentHaloRunV1alpha1SnapshotApiFp = function(configuration) {
|
|
1836
|
+
const localVarAxiosParamCreator = ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator(configuration);
|
|
1837
|
+
return {
|
|
1838
|
+
async createcontentHaloRunV1alpha1Snapshot(snapshot, options) {
|
|
1839
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1Snapshot(snapshot, options);
|
|
1840
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1841
|
+
},
|
|
1842
|
+
async deletecontentHaloRunV1alpha1Snapshot(name, options) {
|
|
1843
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1Snapshot(name, options);
|
|
1844
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1845
|
+
},
|
|
1846
|
+
async getcontentHaloRunV1alpha1Snapshot(name, options) {
|
|
1847
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1Snapshot(name, options);
|
|
1848
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1849
|
+
},
|
|
1850
|
+
async listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options) {
|
|
1851
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options);
|
|
1852
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1853
|
+
},
|
|
1854
|
+
async updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options) {
|
|
1855
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options);
|
|
1856
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1857
|
+
}
|
|
1858
|
+
};
|
|
1859
|
+
};
|
|
1860
|
+
const ContentHaloRunV1alpha1SnapshotApiFactory = function(configuration, basePath, axios) {
|
|
1861
|
+
const localVarFp = ContentHaloRunV1alpha1SnapshotApiFp(configuration);
|
|
1862
|
+
return {
|
|
1863
|
+
createcontentHaloRunV1alpha1Snapshot(snapshot, options) {
|
|
1864
|
+
return localVarFp.createcontentHaloRunV1alpha1Snapshot(snapshot, options).then((request) => request(axios, basePath));
|
|
1865
|
+
},
|
|
1866
|
+
deletecontentHaloRunV1alpha1Snapshot(name, options) {
|
|
1867
|
+
return localVarFp.deletecontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(axios, basePath));
|
|
1868
|
+
},
|
|
1869
|
+
getcontentHaloRunV1alpha1Snapshot(name, options) {
|
|
1870
|
+
return localVarFp.getcontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(axios, basePath));
|
|
1871
|
+
},
|
|
1872
|
+
listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options) {
|
|
1873
|
+
return localVarFp.listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1874
|
+
},
|
|
1875
|
+
updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options) {
|
|
1876
|
+
return localVarFp.updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options).then((request) => request(axios, basePath));
|
|
1877
|
+
}
|
|
1878
|
+
};
|
|
1879
|
+
};
|
|
1880
|
+
class ContentHaloRunV1alpha1SnapshotApi extends BaseAPI {
|
|
1881
|
+
createcontentHaloRunV1alpha1Snapshot(requestParameters = {}, options) {
|
|
1882
|
+
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).createcontentHaloRunV1alpha1Snapshot(requestParameters.snapshot, options).then((request) => request(this.axios, this.basePath));
|
|
1883
|
+
}
|
|
1884
|
+
deletecontentHaloRunV1alpha1Snapshot(requestParameters, options) {
|
|
1885
|
+
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).deletecontentHaloRunV1alpha1Snapshot(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1886
|
+
}
|
|
1887
|
+
getcontentHaloRunV1alpha1Snapshot(requestParameters, options) {
|
|
1888
|
+
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).getcontentHaloRunV1alpha1Snapshot(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1889
|
+
}
|
|
1890
|
+
listcontentHaloRunV1alpha1Snapshot(requestParameters = {}, options) {
|
|
1891
|
+
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).listcontentHaloRunV1alpha1Snapshot(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1892
|
+
}
|
|
1893
|
+
updatecontentHaloRunV1alpha1Snapshot(requestParameters, options) {
|
|
1894
|
+
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).updatecontentHaloRunV1alpha1Snapshot(requestParameters.name, requestParameters.snapshot, options).then((request) => request(this.axios, this.basePath));
|
|
1895
|
+
}
|
|
1896
|
+
}
|
|
1897
|
+
|
|
1898
|
+
const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
|
|
1899
|
+
return {
|
|
1900
|
+
createcontentHaloRunV1alpha1Tag: async (tag, options = {}) => {
|
|
1901
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/tags`;
|
|
1902
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1903
|
+
let baseOptions;
|
|
1904
|
+
if (configuration) {
|
|
1905
|
+
baseOptions = configuration.baseOptions;
|
|
1906
|
+
}
|
|
1907
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1908
|
+
const localVarHeaderParameter = {};
|
|
1909
|
+
const localVarQueryParameter = {};
|
|
1910
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1911
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1912
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1913
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1914
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1915
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1916
|
+
localVarRequestOptions.data = serializeDataIfNeeded(tag, localVarRequestOptions, configuration);
|
|
1917
|
+
return {
|
|
1918
|
+
url: toPathString(localVarUrlObj),
|
|
1919
|
+
options: localVarRequestOptions
|
|
1920
|
+
};
|
|
1921
|
+
},
|
|
1922
|
+
deletecontentHaloRunV1alpha1Tag: async (name, options = {}) => {
|
|
1923
|
+
assertParamExists("deletecontentHaloRunV1alpha1Tag", "name", name);
|
|
1924
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1925
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1926
|
+
let baseOptions;
|
|
1927
|
+
if (configuration) {
|
|
1928
|
+
baseOptions = configuration.baseOptions;
|
|
1929
|
+
}
|
|
1930
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1931
|
+
const localVarHeaderParameter = {};
|
|
1932
|
+
const localVarQueryParameter = {};
|
|
1933
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1934
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1935
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1936
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1937
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1938
|
+
return {
|
|
1939
|
+
url: toPathString(localVarUrlObj),
|
|
1940
|
+
options: localVarRequestOptions
|
|
1941
|
+
};
|
|
1942
|
+
},
|
|
1943
|
+
getcontentHaloRunV1alpha1Tag: async (name, options = {}) => {
|
|
1944
|
+
assertParamExists("getcontentHaloRunV1alpha1Tag", "name", name);
|
|
1945
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1946
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1947
|
+
let baseOptions;
|
|
1948
|
+
if (configuration) {
|
|
1949
|
+
baseOptions = configuration.baseOptions;
|
|
1950
|
+
}
|
|
1951
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1952
|
+
const localVarHeaderParameter = {};
|
|
1953
|
+
const localVarQueryParameter = {};
|
|
1954
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1955
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1956
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1957
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1958
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1959
|
+
return {
|
|
1960
|
+
url: toPathString(localVarUrlObj),
|
|
1961
|
+
options: localVarRequestOptions
|
|
1962
|
+
};
|
|
1963
|
+
},
|
|
1964
|
+
listcontentHaloRunV1alpha1Tag: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1965
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/tags`;
|
|
1966
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1967
|
+
let baseOptions;
|
|
1968
|
+
if (configuration) {
|
|
1969
|
+
baseOptions = configuration.baseOptions;
|
|
1970
|
+
}
|
|
1971
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1972
|
+
const localVarHeaderParameter = {};
|
|
1973
|
+
const localVarQueryParameter = {};
|
|
1974
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1975
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1976
|
+
if (page !== void 0) {
|
|
1977
|
+
localVarQueryParameter["page"] = page;
|
|
1978
|
+
}
|
|
1979
|
+
if (size !== void 0) {
|
|
1980
|
+
localVarQueryParameter["size"] = size;
|
|
1981
|
+
}
|
|
1982
|
+
if (labelSelector) {
|
|
1983
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1984
|
+
}
|
|
1985
|
+
if (fieldSelector) {
|
|
1986
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1987
|
+
}
|
|
1988
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1989
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1990
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1991
|
+
return {
|
|
1992
|
+
url: toPathString(localVarUrlObj),
|
|
1993
|
+
options: localVarRequestOptions
|
|
1994
|
+
};
|
|
1995
|
+
},
|
|
1996
|
+
updatecontentHaloRunV1alpha1Tag: async (name, tag, options = {}) => {
|
|
1997
|
+
assertParamExists("updatecontentHaloRunV1alpha1Tag", "name", name);
|
|
1998
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1999
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2000
|
+
let baseOptions;
|
|
2001
|
+
if (configuration) {
|
|
2002
|
+
baseOptions = configuration.baseOptions;
|
|
2003
|
+
}
|
|
2004
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
2005
|
+
const localVarHeaderParameter = {};
|
|
2006
|
+
const localVarQueryParameter = {};
|
|
2007
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2008
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2009
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2010
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2011
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2012
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2013
|
+
localVarRequestOptions.data = serializeDataIfNeeded(tag, localVarRequestOptions, configuration);
|
|
2014
|
+
return {
|
|
2015
|
+
url: toPathString(localVarUrlObj),
|
|
2016
|
+
options: localVarRequestOptions
|
|
2017
|
+
};
|
|
2018
|
+
}
|
|
2019
|
+
};
|
|
2020
|
+
};
|
|
2021
|
+
const ContentHaloRunV1alpha1TagApiFp = function(configuration) {
|
|
2022
|
+
const localVarAxiosParamCreator = ContentHaloRunV1alpha1TagApiAxiosParamCreator(configuration);
|
|
2023
|
+
return {
|
|
2024
|
+
async createcontentHaloRunV1alpha1Tag(tag, options) {
|
|
2025
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1Tag(tag, options);
|
|
2026
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2027
|
+
},
|
|
2028
|
+
async deletecontentHaloRunV1alpha1Tag(name, options) {
|
|
2029
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1Tag(name, options);
|
|
2030
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2031
|
+
},
|
|
2032
|
+
async getcontentHaloRunV1alpha1Tag(name, options) {
|
|
2033
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1Tag(name, options);
|
|
2034
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2035
|
+
},
|
|
2036
|
+
async listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options) {
|
|
2037
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options);
|
|
2038
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2039
|
+
},
|
|
2040
|
+
async updatecontentHaloRunV1alpha1Tag(name, tag, options) {
|
|
2041
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Tag(name, tag, options);
|
|
2042
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2043
|
+
}
|
|
2044
|
+
};
|
|
2045
|
+
};
|
|
2046
|
+
const ContentHaloRunV1alpha1TagApiFactory = function(configuration, basePath, axios) {
|
|
2047
|
+
const localVarFp = ContentHaloRunV1alpha1TagApiFp(configuration);
|
|
2048
|
+
return {
|
|
2049
|
+
createcontentHaloRunV1alpha1Tag(tag, options) {
|
|
2050
|
+
return localVarFp.createcontentHaloRunV1alpha1Tag(tag, options).then((request) => request(axios, basePath));
|
|
2051
|
+
},
|
|
2052
|
+
deletecontentHaloRunV1alpha1Tag(name, options) {
|
|
2053
|
+
return localVarFp.deletecontentHaloRunV1alpha1Tag(name, options).then((request) => request(axios, basePath));
|
|
2054
|
+
},
|
|
2055
|
+
getcontentHaloRunV1alpha1Tag(name, options) {
|
|
2056
|
+
return localVarFp.getcontentHaloRunV1alpha1Tag(name, options).then((request) => request(axios, basePath));
|
|
2057
|
+
},
|
|
2058
|
+
listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options) {
|
|
2059
|
+
return localVarFp.listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2060
|
+
},
|
|
2061
|
+
updatecontentHaloRunV1alpha1Tag(name, tag, options) {
|
|
2062
|
+
return localVarFp.updatecontentHaloRunV1alpha1Tag(name, tag, options).then((request) => request(axios, basePath));
|
|
2063
|
+
}
|
|
2064
|
+
};
|
|
2065
|
+
};
|
|
2066
|
+
class ContentHaloRunV1alpha1TagApi extends BaseAPI {
|
|
2067
|
+
createcontentHaloRunV1alpha1Tag(requestParameters = {}, options) {
|
|
2068
|
+
return ContentHaloRunV1alpha1TagApiFp(this.configuration).createcontentHaloRunV1alpha1Tag(requestParameters.tag, options).then((request) => request(this.axios, this.basePath));
|
|
2069
|
+
}
|
|
2070
|
+
deletecontentHaloRunV1alpha1Tag(requestParameters, options) {
|
|
2071
|
+
return ContentHaloRunV1alpha1TagApiFp(this.configuration).deletecontentHaloRunV1alpha1Tag(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2072
|
+
}
|
|
2073
|
+
getcontentHaloRunV1alpha1Tag(requestParameters, options) {
|
|
2074
|
+
return ContentHaloRunV1alpha1TagApiFp(this.configuration).getcontentHaloRunV1alpha1Tag(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2075
|
+
}
|
|
2076
|
+
listcontentHaloRunV1alpha1Tag(requestParameters = {}, options) {
|
|
2077
|
+
return ContentHaloRunV1alpha1TagApiFp(this.configuration).listcontentHaloRunV1alpha1Tag(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2078
|
+
}
|
|
2079
|
+
updatecontentHaloRunV1alpha1Tag(requestParameters, options) {
|
|
2080
|
+
return ContentHaloRunV1alpha1TagApiFp(this.configuration).updatecontentHaloRunV1alpha1Tag(requestParameters.name, requestParameters.tag, options).then((request) => request(this.axios, this.basePath));
|
|
2081
|
+
}
|
|
2082
|
+
}
|
|
2083
|
+
|
|
2084
|
+
const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
2085
|
+
return {
|
|
2086
|
+
createpluginHaloRunV1alpha1Plugin: async (plugin, options = {}) => {
|
|
2087
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins`;
|
|
2088
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2089
|
+
let baseOptions;
|
|
2090
|
+
if (configuration) {
|
|
2091
|
+
baseOptions = configuration.baseOptions;
|
|
2092
|
+
}
|
|
2093
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2094
|
+
const localVarHeaderParameter = {};
|
|
2095
|
+
const localVarQueryParameter = {};
|
|
2096
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2097
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2098
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2099
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2100
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2101
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2102
|
+
localVarRequestOptions.data = serializeDataIfNeeded(plugin, localVarRequestOptions, configuration);
|
|
2103
|
+
return {
|
|
2104
|
+
url: toPathString(localVarUrlObj),
|
|
2105
|
+
options: localVarRequestOptions
|
|
2106
|
+
};
|
|
2107
|
+
},
|
|
2108
|
+
deletepluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
|
|
2109
|
+
assertParamExists("deletepluginHaloRunV1alpha1Plugin", "name", name);
|
|
2110
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2111
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2112
|
+
let baseOptions;
|
|
2113
|
+
if (configuration) {
|
|
2114
|
+
baseOptions = configuration.baseOptions;
|
|
2115
|
+
}
|
|
2116
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
2117
|
+
const localVarHeaderParameter = {};
|
|
2118
|
+
const localVarQueryParameter = {};
|
|
2119
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2120
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2121
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2122
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2123
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2124
|
+
return {
|
|
2125
|
+
url: toPathString(localVarUrlObj),
|
|
2126
|
+
options: localVarRequestOptions
|
|
2127
|
+
};
|
|
2128
|
+
},
|
|
2129
|
+
getpluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
|
|
2130
|
+
assertParamExists("getpluginHaloRunV1alpha1Plugin", "name", name);
|
|
2131
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2132
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2133
|
+
let baseOptions;
|
|
2134
|
+
if (configuration) {
|
|
2135
|
+
baseOptions = configuration.baseOptions;
|
|
2136
|
+
}
|
|
2137
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2138
|
+
const localVarHeaderParameter = {};
|
|
2139
|
+
const localVarQueryParameter = {};
|
|
2140
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2141
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2142
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2143
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2144
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2145
|
+
return {
|
|
2146
|
+
url: toPathString(localVarUrlObj),
|
|
2147
|
+
options: localVarRequestOptions
|
|
2148
|
+
};
|
|
2149
|
+
},
|
|
2150
|
+
listpluginHaloRunV1alpha1Plugin: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2151
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins`;
|
|
2152
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2153
|
+
let baseOptions;
|
|
2154
|
+
if (configuration) {
|
|
2155
|
+
baseOptions = configuration.baseOptions;
|
|
2156
|
+
}
|
|
2157
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2158
|
+
const localVarHeaderParameter = {};
|
|
2159
|
+
const localVarQueryParameter = {};
|
|
2160
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2161
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2162
|
+
if (page !== void 0) {
|
|
2163
|
+
localVarQueryParameter["page"] = page;
|
|
2164
|
+
}
|
|
2165
|
+
if (size !== void 0) {
|
|
2166
|
+
localVarQueryParameter["size"] = size;
|
|
2167
|
+
}
|
|
2168
|
+
if (labelSelector) {
|
|
2169
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2170
|
+
}
|
|
2171
|
+
if (fieldSelector) {
|
|
2172
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2173
|
+
}
|
|
2174
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2175
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2176
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2177
|
+
return {
|
|
2178
|
+
url: toPathString(localVarUrlObj),
|
|
2179
|
+
options: localVarRequestOptions
|
|
2180
|
+
};
|
|
2181
|
+
},
|
|
2182
|
+
updatepluginHaloRunV1alpha1Plugin: async (name, plugin, options = {}) => {
|
|
2183
|
+
assertParamExists("updatepluginHaloRunV1alpha1Plugin", "name", name);
|
|
2184
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2185
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2186
|
+
let baseOptions;
|
|
2187
|
+
if (configuration) {
|
|
2188
|
+
baseOptions = configuration.baseOptions;
|
|
2189
|
+
}
|
|
2190
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
2191
|
+
const localVarHeaderParameter = {};
|
|
2192
|
+
const localVarQueryParameter = {};
|
|
2193
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2194
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2195
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2196
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2197
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2198
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2199
|
+
localVarRequestOptions.data = serializeDataIfNeeded(plugin, localVarRequestOptions, configuration);
|
|
2200
|
+
return {
|
|
2201
|
+
url: toPathString(localVarUrlObj),
|
|
2202
|
+
options: localVarRequestOptions
|
|
2203
|
+
};
|
|
2204
|
+
}
|
|
2205
|
+
};
|
|
2206
|
+
};
|
|
2207
|
+
const PluginHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
2208
|
+
const localVarAxiosParamCreator = PluginHaloRunV1alpha1PluginApiAxiosParamCreator(configuration);
|
|
2209
|
+
return {
|
|
2210
|
+
async createpluginHaloRunV1alpha1Plugin(plugin, options) {
|
|
2211
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1Plugin(plugin, options);
|
|
2212
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2213
|
+
},
|
|
2214
|
+
async deletepluginHaloRunV1alpha1Plugin(name, options) {
|
|
2215
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletepluginHaloRunV1alpha1Plugin(name, options);
|
|
2216
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2217
|
+
},
|
|
2218
|
+
async getpluginHaloRunV1alpha1Plugin(name, options) {
|
|
2219
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1Plugin(name, options);
|
|
2220
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2221
|
+
},
|
|
2222
|
+
async listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
|
|
2223
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options);
|
|
2224
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2225
|
+
},
|
|
2226
|
+
async updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
|
|
2227
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1Plugin(name, plugin, options);
|
|
2228
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2229
|
+
}
|
|
2230
|
+
};
|
|
2231
|
+
};
|
|
2232
|
+
const PluginHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
|
|
2233
|
+
const localVarFp = PluginHaloRunV1alpha1PluginApiFp(configuration);
|
|
2234
|
+
return {
|
|
2235
|
+
createpluginHaloRunV1alpha1Plugin(plugin, options) {
|
|
2236
|
+
return localVarFp.createpluginHaloRunV1alpha1Plugin(plugin, options).then((request) => request(axios, basePath));
|
|
2237
|
+
},
|
|
2238
|
+
deletepluginHaloRunV1alpha1Plugin(name, options) {
|
|
2239
|
+
return localVarFp.deletepluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
|
|
2240
|
+
},
|
|
2241
|
+
getpluginHaloRunV1alpha1Plugin(name, options) {
|
|
2242
|
+
return localVarFp.getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
|
|
2243
|
+
},
|
|
2244
|
+
listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
|
|
2245
|
+
return localVarFp.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2246
|
+
},
|
|
2247
|
+
updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
|
|
2248
|
+
return localVarFp.updatepluginHaloRunV1alpha1Plugin(name, plugin, options).then((request) => request(axios, basePath));
|
|
2249
|
+
}
|
|
2250
|
+
};
|
|
2251
|
+
};
|
|
2252
|
+
class PluginHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
2253
|
+
createpluginHaloRunV1alpha1Plugin(requestParameters = {}, options) {
|
|
2254
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).createpluginHaloRunV1alpha1Plugin(requestParameters.plugin, options).then((request) => request(this.axios, this.basePath));
|
|
2255
|
+
}
|
|
2256
|
+
deletepluginHaloRunV1alpha1Plugin(requestParameters, options) {
|
|
2257
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).deletepluginHaloRunV1alpha1Plugin(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2258
|
+
}
|
|
2259
|
+
getpluginHaloRunV1alpha1Plugin(requestParameters, options) {
|
|
2260
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).getpluginHaloRunV1alpha1Plugin(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2261
|
+
}
|
|
2262
|
+
listpluginHaloRunV1alpha1Plugin(requestParameters = {}, options) {
|
|
2263
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2264
|
+
}
|
|
2265
|
+
updatepluginHaloRunV1alpha1Plugin(requestParameters, options) {
|
|
2266
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).updatepluginHaloRunV1alpha1Plugin(requestParameters.name, requestParameters.plugin, options).then((request) => request(this.axios, this.basePath));
|
|
2267
|
+
}
|
|
2268
|
+
}
|
|
2269
|
+
|
|
2270
|
+
const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configuration) {
|
|
2271
|
+
return {
|
|
2272
|
+
createpluginHaloRunV1alpha1ReverseProxy: async (reverseProxy, options = {}) => {
|
|
2273
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies`;
|
|
2274
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2275
|
+
let baseOptions;
|
|
2276
|
+
if (configuration) {
|
|
2277
|
+
baseOptions = configuration.baseOptions;
|
|
2278
|
+
}
|
|
2279
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2280
|
+
const localVarHeaderParameter = {};
|
|
2281
|
+
const localVarQueryParameter = {};
|
|
2282
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2283
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2284
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2285
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2286
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2287
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2288
|
+
localVarRequestOptions.data = serializeDataIfNeeded(reverseProxy, localVarRequestOptions, configuration);
|
|
2289
|
+
return {
|
|
2290
|
+
url: toPathString(localVarUrlObj),
|
|
2291
|
+
options: localVarRequestOptions
|
|
2292
|
+
};
|
|
2293
|
+
},
|
|
2294
|
+
deletepluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
|
|
2295
|
+
assertParamExists("deletepluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
2296
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2297
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2298
|
+
let baseOptions;
|
|
2299
|
+
if (configuration) {
|
|
2300
|
+
baseOptions = configuration.baseOptions;
|
|
2301
|
+
}
|
|
2302
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
2303
|
+
const localVarHeaderParameter = {};
|
|
2304
|
+
const localVarQueryParameter = {};
|
|
2305
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2306
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2307
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2308
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2309
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2310
|
+
return {
|
|
2311
|
+
url: toPathString(localVarUrlObj),
|
|
2312
|
+
options: localVarRequestOptions
|
|
2313
|
+
};
|
|
2314
|
+
},
|
|
2315
|
+
getpluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
|
|
2316
|
+
assertParamExists("getpluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
2317
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2318
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2319
|
+
let baseOptions;
|
|
2320
|
+
if (configuration) {
|
|
2321
|
+
baseOptions = configuration.baseOptions;
|
|
2322
|
+
}
|
|
2323
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2324
|
+
const localVarHeaderParameter = {};
|
|
2325
|
+
const localVarQueryParameter = {};
|
|
2326
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2327
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2328
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2329
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2330
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2331
|
+
return {
|
|
2332
|
+
url: toPathString(localVarUrlObj),
|
|
2333
|
+
options: localVarRequestOptions
|
|
2334
|
+
};
|
|
2335
|
+
},
|
|
2336
|
+
listpluginHaloRunV1alpha1ReverseProxy: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2337
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies`;
|
|
2338
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2339
|
+
let baseOptions;
|
|
2340
|
+
if (configuration) {
|
|
2341
|
+
baseOptions = configuration.baseOptions;
|
|
2342
|
+
}
|
|
2343
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2344
|
+
const localVarHeaderParameter = {};
|
|
2345
|
+
const localVarQueryParameter = {};
|
|
2346
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2347
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2348
|
+
if (page !== void 0) {
|
|
2349
|
+
localVarQueryParameter["page"] = page;
|
|
2350
|
+
}
|
|
2351
|
+
if (size !== void 0) {
|
|
2352
|
+
localVarQueryParameter["size"] = size;
|
|
2353
|
+
}
|
|
2354
|
+
if (labelSelector) {
|
|
2355
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2356
|
+
}
|
|
2357
|
+
if (fieldSelector) {
|
|
2358
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2359
|
+
}
|
|
2360
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2361
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2362
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2363
|
+
return {
|
|
2364
|
+
url: toPathString(localVarUrlObj),
|
|
2365
|
+
options: localVarRequestOptions
|
|
2366
|
+
};
|
|
2367
|
+
},
|
|
2368
|
+
updatepluginHaloRunV1alpha1ReverseProxy: async (name, reverseProxy, options = {}) => {
|
|
2369
|
+
assertParamExists("updatepluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
2370
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2371
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2372
|
+
let baseOptions;
|
|
2373
|
+
if (configuration) {
|
|
2374
|
+
baseOptions = configuration.baseOptions;
|
|
2375
|
+
}
|
|
2376
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
2377
|
+
const localVarHeaderParameter = {};
|
|
2378
|
+
const localVarQueryParameter = {};
|
|
2379
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2380
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2381
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2382
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2383
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2384
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2385
|
+
localVarRequestOptions.data = serializeDataIfNeeded(reverseProxy, localVarRequestOptions, configuration);
|
|
102
2386
|
return {
|
|
103
2387
|
url: toPathString(localVarUrlObj),
|
|
104
2388
|
options: localVarRequestOptions
|
|
@@ -106,33 +2390,73 @@ const ApiHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
|
106
2390
|
}
|
|
107
2391
|
};
|
|
108
2392
|
};
|
|
109
|
-
const
|
|
110
|
-
const localVarAxiosParamCreator =
|
|
2393
|
+
const PluginHaloRunV1alpha1ReverseProxyApiFp = function(configuration) {
|
|
2394
|
+
const localVarAxiosParamCreator = PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator(configuration);
|
|
111
2395
|
return {
|
|
112
|
-
async
|
|
113
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2396
|
+
async createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
|
|
2397
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options);
|
|
2398
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2399
|
+
},
|
|
2400
|
+
async deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
2401
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletepluginHaloRunV1alpha1ReverseProxy(name, options);
|
|
2402
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2403
|
+
},
|
|
2404
|
+
async getpluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
2405
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1ReverseProxy(name, options);
|
|
2406
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2407
|
+
},
|
|
2408
|
+
async listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
|
|
2409
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options);
|
|
2410
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2411
|
+
},
|
|
2412
|
+
async updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
|
|
2413
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options);
|
|
114
2414
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
115
2415
|
}
|
|
116
2416
|
};
|
|
117
2417
|
};
|
|
118
|
-
const
|
|
119
|
-
const localVarFp =
|
|
2418
|
+
const PluginHaloRunV1alpha1ReverseProxyApiFactory = function(configuration, basePath, axios) {
|
|
2419
|
+
const localVarFp = PluginHaloRunV1alpha1ReverseProxyApiFp(configuration);
|
|
120
2420
|
return {
|
|
121
|
-
|
|
122
|
-
return localVarFp.
|
|
2421
|
+
createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
|
|
2422
|
+
return localVarFp.createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options).then((request) => request(axios, basePath));
|
|
2423
|
+
},
|
|
2424
|
+
deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
2425
|
+
return localVarFp.deletepluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
|
|
2426
|
+
},
|
|
2427
|
+
getpluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
2428
|
+
return localVarFp.getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
|
|
2429
|
+
},
|
|
2430
|
+
listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
|
|
2431
|
+
return localVarFp.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2432
|
+
},
|
|
2433
|
+
updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
|
|
2434
|
+
return localVarFp.updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options).then((request) => request(axios, basePath));
|
|
123
2435
|
}
|
|
124
2436
|
};
|
|
125
2437
|
};
|
|
126
|
-
class
|
|
127
|
-
|
|
128
|
-
return
|
|
2438
|
+
class PluginHaloRunV1alpha1ReverseProxyApi extends BaseAPI {
|
|
2439
|
+
createpluginHaloRunV1alpha1ReverseProxy(requestParameters = {}, options) {
|
|
2440
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).createpluginHaloRunV1alpha1ReverseProxy(requestParameters.reverseProxy, options).then((request) => request(this.axios, this.basePath));
|
|
2441
|
+
}
|
|
2442
|
+
deletepluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
|
|
2443
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).deletepluginHaloRunV1alpha1ReverseProxy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2444
|
+
}
|
|
2445
|
+
getpluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
|
|
2446
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).getpluginHaloRunV1alpha1ReverseProxy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2447
|
+
}
|
|
2448
|
+
listpluginHaloRunV1alpha1ReverseProxy(requestParameters = {}, options) {
|
|
2449
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2450
|
+
}
|
|
2451
|
+
updatepluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
|
|
2452
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).updatepluginHaloRunV1alpha1ReverseProxy(requestParameters.name, requestParameters.reverseProxy, options).then((request) => request(this.axios, this.basePath));
|
|
129
2453
|
}
|
|
130
2454
|
}
|
|
131
|
-
|
|
2455
|
+
|
|
2456
|
+
const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configuration) {
|
|
132
2457
|
return {
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/themes/install`;
|
|
2458
|
+
createstorageHaloRunV1alpha1Attachment: async (attachment, options = {}) => {
|
|
2459
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments`;
|
|
136
2460
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
137
2461
|
let baseOptions;
|
|
138
2462
|
if (configuration) {
|
|
@@ -141,74 +2465,62 @@ const ApiHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
141
2465
|
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
142
2466
|
const localVarHeaderParameter = {};
|
|
143
2467
|
const localVarQueryParameter = {};
|
|
144
|
-
const localVarFormParams = new (configuration && configuration.formDataCtor || FormData)();
|
|
145
2468
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
146
2469
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
147
|
-
|
|
148
|
-
|
|
2470
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2471
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2472
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2473
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2474
|
+
localVarRequestOptions.data = serializeDataIfNeeded(attachment, localVarRequestOptions, configuration);
|
|
2475
|
+
return {
|
|
2476
|
+
url: toPathString(localVarUrlObj),
|
|
2477
|
+
options: localVarRequestOptions
|
|
2478
|
+
};
|
|
2479
|
+
},
|
|
2480
|
+
deletestorageHaloRunV1alpha1Attachment: async (name, options = {}) => {
|
|
2481
|
+
assertParamExists("deletestorageHaloRunV1alpha1Attachment", "name", name);
|
|
2482
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2483
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2484
|
+
let baseOptions;
|
|
2485
|
+
if (configuration) {
|
|
2486
|
+
baseOptions = configuration.baseOptions;
|
|
149
2487
|
}
|
|
150
|
-
|
|
2488
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
2489
|
+
const localVarHeaderParameter = {};
|
|
2490
|
+
const localVarQueryParameter = {};
|
|
2491
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2492
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
151
2493
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
152
2494
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
153
2495
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
154
|
-
localVarRequestOptions.data = localVarFormParams;
|
|
155
2496
|
return {
|
|
156
2497
|
url: toPathString(localVarUrlObj),
|
|
157
2498
|
options: localVarRequestOptions
|
|
158
2499
|
};
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
const
|
|
163
|
-
const localVarAxiosParamCreator = ApiHaloRunV1alpha1ThemeApiAxiosParamCreator(configuration);
|
|
164
|
-
return {
|
|
165
|
-
async installTheme(file, options) {
|
|
166
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.installTheme(file, options);
|
|
167
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
168
|
-
}
|
|
169
|
-
};
|
|
170
|
-
};
|
|
171
|
-
const ApiHaloRunV1alpha1ThemeApiFactory = function(configuration, basePath, axios) {
|
|
172
|
-
const localVarFp = ApiHaloRunV1alpha1ThemeApiFp(configuration);
|
|
173
|
-
return {
|
|
174
|
-
installTheme(file, options) {
|
|
175
|
-
return localVarFp.installTheme(file, options).then((request) => request(axios, basePath));
|
|
176
|
-
}
|
|
177
|
-
};
|
|
178
|
-
};
|
|
179
|
-
class ApiHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
180
|
-
installTheme(file, options) {
|
|
181
|
-
return ApiHaloRunV1alpha1ThemeApiFp(this.configuration).installTheme(file, options).then((request) => request(this.axios, this.basePath));
|
|
182
|
-
}
|
|
183
|
-
}
|
|
184
|
-
const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
185
|
-
return {
|
|
186
|
-
changePassword: async (name, changePasswordRequest, options = {}) => {
|
|
187
|
-
assertParamExists("changePassword", "name", name);
|
|
188
|
-
assertParamExists("changePassword", "changePasswordRequest", changePasswordRequest);
|
|
189
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/users/{name}/password`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2500
|
+
},
|
|
2501
|
+
getstorageHaloRunV1alpha1Attachment: async (name, options = {}) => {
|
|
2502
|
+
assertParamExists("getstorageHaloRunV1alpha1Attachment", "name", name);
|
|
2503
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
190
2504
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
191
2505
|
let baseOptions;
|
|
192
2506
|
if (configuration) {
|
|
193
2507
|
baseOptions = configuration.baseOptions;
|
|
194
2508
|
}
|
|
195
|
-
const localVarRequestOptions = { method: "
|
|
2509
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
196
2510
|
const localVarHeaderParameter = {};
|
|
197
2511
|
const localVarQueryParameter = {};
|
|
198
2512
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
199
2513
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
200
|
-
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
201
2514
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
202
2515
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
203
2516
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
204
|
-
localVarRequestOptions.data = serializeDataIfNeeded(changePasswordRequest, localVarRequestOptions, configuration);
|
|
205
2517
|
return {
|
|
206
2518
|
url: toPathString(localVarUrlObj),
|
|
207
2519
|
options: localVarRequestOptions
|
|
208
2520
|
};
|
|
209
2521
|
},
|
|
210
|
-
|
|
211
|
-
const localVarPath = `/apis/
|
|
2522
|
+
liststorageHaloRunV1alpha1Attachment: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2523
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments`;
|
|
212
2524
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
213
2525
|
let baseOptions;
|
|
214
2526
|
if (configuration) {
|
|
@@ -219,6 +2531,18 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
219
2531
|
const localVarQueryParameter = {};
|
|
220
2532
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
221
2533
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2534
|
+
if (page !== void 0) {
|
|
2535
|
+
localVarQueryParameter["page"] = page;
|
|
2536
|
+
}
|
|
2537
|
+
if (size !== void 0) {
|
|
2538
|
+
localVarQueryParameter["size"] = size;
|
|
2539
|
+
}
|
|
2540
|
+
if (labelSelector) {
|
|
2541
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2542
|
+
}
|
|
2543
|
+
if (fieldSelector) {
|
|
2544
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2545
|
+
}
|
|
222
2546
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
223
2547
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
224
2548
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -227,9 +2551,8 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
227
2551
|
options: localVarRequestOptions
|
|
228
2552
|
};
|
|
229
2553
|
},
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/users/{name}/permissions`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2554
|
+
searchAttachments: async (policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
2555
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/attachments`;
|
|
233
2556
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
234
2557
|
let baseOptions;
|
|
235
2558
|
if (configuration) {
|
|
@@ -240,6 +2563,30 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
240
2563
|
const localVarQueryParameter = {};
|
|
241
2564
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
242
2565
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2566
|
+
if (policy !== void 0) {
|
|
2567
|
+
localVarQueryParameter["policy"] = policy;
|
|
2568
|
+
}
|
|
2569
|
+
if (displayName !== void 0) {
|
|
2570
|
+
localVarQueryParameter["displayName"] = displayName;
|
|
2571
|
+
}
|
|
2572
|
+
if (uploadedBy !== void 0) {
|
|
2573
|
+
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
2574
|
+
}
|
|
2575
|
+
if (group !== void 0) {
|
|
2576
|
+
localVarQueryParameter["group"] = group;
|
|
2577
|
+
}
|
|
2578
|
+
if (size !== void 0) {
|
|
2579
|
+
localVarQueryParameter["size"] = size;
|
|
2580
|
+
}
|
|
2581
|
+
if (labelSelector) {
|
|
2582
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2583
|
+
}
|
|
2584
|
+
if (fieldSelector) {
|
|
2585
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2586
|
+
}
|
|
2587
|
+
if (page !== void 0) {
|
|
2588
|
+
localVarQueryParameter["page"] = page;
|
|
2589
|
+
}
|
|
243
2590
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
244
2591
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
245
2592
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -248,16 +2595,15 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
248
2595
|
options: localVarRequestOptions
|
|
249
2596
|
};
|
|
250
2597
|
},
|
|
251
|
-
|
|
252
|
-
assertParamExists("
|
|
253
|
-
|
|
254
|
-
const localVarPath = `/apis/api.halo.run/v1alpha1/users/{name}/permissions`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2598
|
+
updatestorageHaloRunV1alpha1Attachment: async (name, attachment, options = {}) => {
|
|
2599
|
+
assertParamExists("updatestorageHaloRunV1alpha1Attachment", "name", name);
|
|
2600
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
255
2601
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
256
2602
|
let baseOptions;
|
|
257
2603
|
if (configuration) {
|
|
258
2604
|
baseOptions = configuration.baseOptions;
|
|
259
2605
|
}
|
|
260
|
-
const localVarRequestOptions = { method: "
|
|
2606
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
261
2607
|
const localVarHeaderParameter = {};
|
|
262
2608
|
const localVarQueryParameter = {};
|
|
263
2609
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
@@ -266,83 +2612,41 @@ const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
|
266
2612
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
267
2613
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
268
2614
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
269
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2615
|
+
localVarRequestOptions.data = serializeDataIfNeeded(attachment, localVarRequestOptions, configuration);
|
|
270
2616
|
return {
|
|
271
2617
|
url: toPathString(localVarUrlObj),
|
|
272
2618
|
options: localVarRequestOptions
|
|
273
2619
|
};
|
|
274
|
-
}
|
|
275
|
-
};
|
|
276
|
-
};
|
|
277
|
-
const ApiHaloRunV1alpha1UserApiFp = function(configuration) {
|
|
278
|
-
const localVarAxiosParamCreator = ApiHaloRunV1alpha1UserApiAxiosParamCreator(configuration);
|
|
279
|
-
return {
|
|
280
|
-
async changePassword(name, changePasswordRequest, options) {
|
|
281
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.changePassword(name, changePasswordRequest, options);
|
|
282
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
283
|
-
},
|
|
284
|
-
async getCurrentUserDetail(options) {
|
|
285
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getCurrentUserDetail(options);
|
|
286
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
287
|
-
},
|
|
288
|
-
async getPermissions(name, options) {
|
|
289
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getPermissions(name, options);
|
|
290
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
291
|
-
},
|
|
292
|
-
async grantPermission(name, grantRequest, options) {
|
|
293
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.grantPermission(name, grantRequest, options);
|
|
294
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
295
|
-
}
|
|
296
|
-
};
|
|
297
|
-
};
|
|
298
|
-
const ApiHaloRunV1alpha1UserApiFactory = function(configuration, basePath, axios) {
|
|
299
|
-
const localVarFp = ApiHaloRunV1alpha1UserApiFp(configuration);
|
|
300
|
-
return {
|
|
301
|
-
changePassword(name, changePasswordRequest, options) {
|
|
302
|
-
return localVarFp.changePassword(name, changePasswordRequest, options).then((request) => request(axios, basePath));
|
|
303
|
-
},
|
|
304
|
-
getCurrentUserDetail(options) {
|
|
305
|
-
return localVarFp.getCurrentUserDetail(options).then((request) => request(axios, basePath));
|
|
306
|
-
},
|
|
307
|
-
getPermissions(name, options) {
|
|
308
|
-
return localVarFp.getPermissions(name, options).then((request) => request(axios, basePath));
|
|
309
2620
|
},
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
};
|
|
315
|
-
class ApiHaloRunV1alpha1UserApi extends BaseAPI {
|
|
316
|
-
changePassword(name, changePasswordRequest, options) {
|
|
317
|
-
return ApiHaloRunV1alpha1UserApiFp(this.configuration).changePassword(name, changePasswordRequest, options).then((request) => request(this.axios, this.basePath));
|
|
318
|
-
}
|
|
319
|
-
getCurrentUserDetail(options) {
|
|
320
|
-
return ApiHaloRunV1alpha1UserApiFp(this.configuration).getCurrentUserDetail(options).then((request) => request(this.axios, this.basePath));
|
|
321
|
-
}
|
|
322
|
-
getPermissions(name, options) {
|
|
323
|
-
return ApiHaloRunV1alpha1UserApiFp(this.configuration).getPermissions(name, options).then((request) => request(this.axios, this.basePath));
|
|
324
|
-
}
|
|
325
|
-
grantPermission(name, grantRequest, options) {
|
|
326
|
-
return ApiHaloRunV1alpha1UserApiFp(this.configuration).grantPermission(name, grantRequest, options).then((request) => request(this.axios, this.basePath));
|
|
327
|
-
}
|
|
328
|
-
}
|
|
329
|
-
const ApplesControllerApiAxiosParamCreator = function(configuration) {
|
|
330
|
-
return {
|
|
331
|
-
hello: async (options = {}) => {
|
|
332
|
-
const localVarPath = `/apis/plugin.api.halo.run/v1alpha1/plugins/PluginTemplate/apples`;
|
|
2621
|
+
uploadAttachment: async (file, policyName, groupName, options = {}) => {
|
|
2622
|
+
assertParamExists("uploadAttachment", "file", file);
|
|
2623
|
+
assertParamExists("uploadAttachment", "policyName", policyName);
|
|
2624
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/attachments/upload`;
|
|
333
2625
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
334
2626
|
let baseOptions;
|
|
335
2627
|
if (configuration) {
|
|
336
2628
|
baseOptions = configuration.baseOptions;
|
|
337
2629
|
}
|
|
338
|
-
const localVarRequestOptions = { method: "
|
|
2630
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
339
2631
|
const localVarHeaderParameter = {};
|
|
340
2632
|
const localVarQueryParameter = {};
|
|
2633
|
+
const localVarFormParams = new (configuration && configuration.formDataCtor || FormData)();
|
|
341
2634
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
342
2635
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2636
|
+
if (file !== void 0) {
|
|
2637
|
+
localVarFormParams.append("file", file);
|
|
2638
|
+
}
|
|
2639
|
+
if (policyName !== void 0) {
|
|
2640
|
+
localVarFormParams.append("policyName", policyName);
|
|
2641
|
+
}
|
|
2642
|
+
if (groupName !== void 0) {
|
|
2643
|
+
localVarFormParams.append("groupName", groupName);
|
|
2644
|
+
}
|
|
2645
|
+
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
343
2646
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
344
2647
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
345
2648
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2649
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
346
2650
|
return {
|
|
347
2651
|
url: toPathString(localVarUrlObj),
|
|
348
2652
|
options: localVarRequestOptions
|
|
@@ -350,32 +2654,93 @@ const ApplesControllerApiAxiosParamCreator = function(configuration) {
|
|
|
350
2654
|
}
|
|
351
2655
|
};
|
|
352
2656
|
};
|
|
353
|
-
const
|
|
354
|
-
const localVarAxiosParamCreator =
|
|
2657
|
+
const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
2658
|
+
const localVarAxiosParamCreator = StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
355
2659
|
return {
|
|
356
|
-
async
|
|
357
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2660
|
+
async createstorageHaloRunV1alpha1Attachment(attachment, options) {
|
|
2661
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Attachment(attachment, options);
|
|
2662
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2663
|
+
},
|
|
2664
|
+
async deletestorageHaloRunV1alpha1Attachment(name, options) {
|
|
2665
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1Attachment(name, options);
|
|
2666
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2667
|
+
},
|
|
2668
|
+
async getstorageHaloRunV1alpha1Attachment(name, options) {
|
|
2669
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1Attachment(name, options);
|
|
2670
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2671
|
+
},
|
|
2672
|
+
async liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
|
|
2673
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options);
|
|
2674
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2675
|
+
},
|
|
2676
|
+
async searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
|
|
2677
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options);
|
|
2678
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2679
|
+
},
|
|
2680
|
+
async updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
2681
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Attachment(name, attachment, options);
|
|
2682
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
2683
|
+
},
|
|
2684
|
+
async uploadAttachment(file, policyName, groupName, options) {
|
|
2685
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadAttachment(file, policyName, groupName, options);
|
|
358
2686
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
359
2687
|
}
|
|
360
2688
|
};
|
|
361
2689
|
};
|
|
362
|
-
const
|
|
363
|
-
const localVarFp =
|
|
2690
|
+
const StorageHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
2691
|
+
const localVarFp = StorageHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
364
2692
|
return {
|
|
365
|
-
|
|
366
|
-
return localVarFp.
|
|
2693
|
+
createstorageHaloRunV1alpha1Attachment(attachment, options) {
|
|
2694
|
+
return localVarFp.createstorageHaloRunV1alpha1Attachment(attachment, options).then((request) => request(axios, basePath));
|
|
2695
|
+
},
|
|
2696
|
+
deletestorageHaloRunV1alpha1Attachment(name, options) {
|
|
2697
|
+
return localVarFp.deletestorageHaloRunV1alpha1Attachment(name, options).then((request) => request(axios, basePath));
|
|
2698
|
+
},
|
|
2699
|
+
getstorageHaloRunV1alpha1Attachment(name, options) {
|
|
2700
|
+
return localVarFp.getstorageHaloRunV1alpha1Attachment(name, options).then((request) => request(axios, basePath));
|
|
2701
|
+
},
|
|
2702
|
+
liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
|
|
2703
|
+
return localVarFp.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2704
|
+
},
|
|
2705
|
+
searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
|
|
2706
|
+
return localVarFp.searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
2707
|
+
},
|
|
2708
|
+
updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
2709
|
+
return localVarFp.updatestorageHaloRunV1alpha1Attachment(name, attachment, options).then((request) => request(axios, basePath));
|
|
2710
|
+
},
|
|
2711
|
+
uploadAttachment(file, policyName, groupName, options) {
|
|
2712
|
+
return localVarFp.uploadAttachment(file, policyName, groupName, options).then((request) => request(axios, basePath));
|
|
367
2713
|
}
|
|
368
2714
|
};
|
|
369
2715
|
};
|
|
370
|
-
class
|
|
371
|
-
|
|
372
|
-
return
|
|
2716
|
+
class StorageHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
2717
|
+
createstorageHaloRunV1alpha1Attachment(requestParameters = {}, options) {
|
|
2718
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).createstorageHaloRunV1alpha1Attachment(requestParameters.attachment, options).then((request) => request(this.axios, this.basePath));
|
|
2719
|
+
}
|
|
2720
|
+
deletestorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
2721
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).deletestorageHaloRunV1alpha1Attachment(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2722
|
+
}
|
|
2723
|
+
getstorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
2724
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).getstorageHaloRunV1alpha1Attachment(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2725
|
+
}
|
|
2726
|
+
liststorageHaloRunV1alpha1Attachment(requestParameters = {}, options) {
|
|
2727
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2728
|
+
}
|
|
2729
|
+
searchAttachments(requestParameters = {}, options) {
|
|
2730
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.displayName, requestParameters.uploadedBy, requestParameters.group, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
2731
|
+
}
|
|
2732
|
+
updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
2733
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).updatestorageHaloRunV1alpha1Attachment(requestParameters.name, requestParameters.attachment, options).then((request) => request(this.axios, this.basePath));
|
|
2734
|
+
}
|
|
2735
|
+
uploadAttachment(requestParameters, options) {
|
|
2736
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
373
2737
|
}
|
|
374
2738
|
}
|
|
375
|
-
|
|
2739
|
+
|
|
2740
|
+
const StorageHaloRunV1alpha1GroupApiAxiosParamCreator = function(configuration) {
|
|
376
2741
|
return {
|
|
377
|
-
|
|
378
|
-
const localVarPath = `/apis/
|
|
2742
|
+
createstorageHaloRunV1alpha1Group: async (group, options = {}) => {
|
|
2743
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups`;
|
|
379
2744
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
380
2745
|
let baseOptions;
|
|
381
2746
|
if (configuration) {
|
|
@@ -390,15 +2755,15 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
390
2755
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
391
2756
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
392
2757
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
393
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2758
|
+
localVarRequestOptions.data = serializeDataIfNeeded(group, localVarRequestOptions, configuration);
|
|
394
2759
|
return {
|
|
395
2760
|
url: toPathString(localVarUrlObj),
|
|
396
2761
|
options: localVarRequestOptions
|
|
397
2762
|
};
|
|
398
2763
|
},
|
|
399
|
-
|
|
400
|
-
assertParamExists("
|
|
401
|
-
const localVarPath = `/apis/
|
|
2764
|
+
deletestorageHaloRunV1alpha1Group: async (name, options = {}) => {
|
|
2765
|
+
assertParamExists("deletestorageHaloRunV1alpha1Group", "name", name);
|
|
2766
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
402
2767
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
403
2768
|
let baseOptions;
|
|
404
2769
|
if (configuration) {
|
|
@@ -417,9 +2782,9 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
417
2782
|
options: localVarRequestOptions
|
|
418
2783
|
};
|
|
419
2784
|
},
|
|
420
|
-
|
|
421
|
-
assertParamExists("
|
|
422
|
-
const localVarPath = `/apis/
|
|
2785
|
+
getstorageHaloRunV1alpha1Group: async (name, options = {}) => {
|
|
2786
|
+
assertParamExists("getstorageHaloRunV1alpha1Group", "name", name);
|
|
2787
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
423
2788
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
424
2789
|
let baseOptions;
|
|
425
2790
|
if (configuration) {
|
|
@@ -438,8 +2803,8 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
438
2803
|
options: localVarRequestOptions
|
|
439
2804
|
};
|
|
440
2805
|
},
|
|
441
|
-
|
|
442
|
-
const localVarPath = `/apis/
|
|
2806
|
+
liststorageHaloRunV1alpha1Group: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2807
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups`;
|
|
443
2808
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
444
2809
|
let baseOptions;
|
|
445
2810
|
if (configuration) {
|
|
@@ -470,9 +2835,9 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
470
2835
|
options: localVarRequestOptions
|
|
471
2836
|
};
|
|
472
2837
|
},
|
|
473
|
-
|
|
474
|
-
assertParamExists("
|
|
475
|
-
const localVarPath = `/apis/
|
|
2838
|
+
updatestorageHaloRunV1alpha1Group: async (name, group, options = {}) => {
|
|
2839
|
+
assertParamExists("updatestorageHaloRunV1alpha1Group", "name", name);
|
|
2840
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
476
2841
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
477
2842
|
let baseOptions;
|
|
478
2843
|
if (configuration) {
|
|
@@ -487,7 +2852,7 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
487
2852
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
488
2853
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
489
2854
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
490
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2855
|
+
localVarRequestOptions.data = serializeDataIfNeeded(group, localVarRequestOptions, configuration);
|
|
491
2856
|
return {
|
|
492
2857
|
url: toPathString(localVarUrlObj),
|
|
493
2858
|
options: localVarRequestOptions
|
|
@@ -495,72 +2860,73 @@ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
|
495
2860
|
}
|
|
496
2861
|
};
|
|
497
2862
|
};
|
|
498
|
-
const
|
|
499
|
-
const localVarAxiosParamCreator =
|
|
2863
|
+
const StorageHaloRunV1alpha1GroupApiFp = function(configuration) {
|
|
2864
|
+
const localVarAxiosParamCreator = StorageHaloRunV1alpha1GroupApiAxiosParamCreator(configuration);
|
|
500
2865
|
return {
|
|
501
|
-
async
|
|
502
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2866
|
+
async createstorageHaloRunV1alpha1Group(group, options) {
|
|
2867
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Group(group, options);
|
|
503
2868
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
504
2869
|
},
|
|
505
|
-
async
|
|
506
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2870
|
+
async deletestorageHaloRunV1alpha1Group(name, options) {
|
|
2871
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1Group(name, options);
|
|
507
2872
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
508
2873
|
},
|
|
509
|
-
async
|
|
510
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2874
|
+
async getstorageHaloRunV1alpha1Group(name, options) {
|
|
2875
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1Group(name, options);
|
|
511
2876
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
512
2877
|
},
|
|
513
|
-
async
|
|
514
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2878
|
+
async liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options) {
|
|
2879
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options);
|
|
515
2880
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
516
2881
|
},
|
|
517
|
-
async
|
|
518
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2882
|
+
async updatestorageHaloRunV1alpha1Group(name, group, options) {
|
|
2883
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Group(name, group, options);
|
|
519
2884
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
520
2885
|
}
|
|
521
2886
|
};
|
|
522
2887
|
};
|
|
523
|
-
const
|
|
524
|
-
const localVarFp =
|
|
2888
|
+
const StorageHaloRunV1alpha1GroupApiFactory = function(configuration, basePath, axios) {
|
|
2889
|
+
const localVarFp = StorageHaloRunV1alpha1GroupApiFp(configuration);
|
|
525
2890
|
return {
|
|
526
|
-
|
|
527
|
-
return localVarFp.
|
|
2891
|
+
createstorageHaloRunV1alpha1Group(group, options) {
|
|
2892
|
+
return localVarFp.createstorageHaloRunV1alpha1Group(group, options).then((request) => request(axios, basePath));
|
|
528
2893
|
},
|
|
529
|
-
|
|
530
|
-
return localVarFp.
|
|
2894
|
+
deletestorageHaloRunV1alpha1Group(name, options) {
|
|
2895
|
+
return localVarFp.deletestorageHaloRunV1alpha1Group(name, options).then((request) => request(axios, basePath));
|
|
531
2896
|
},
|
|
532
|
-
|
|
533
|
-
return localVarFp.
|
|
2897
|
+
getstorageHaloRunV1alpha1Group(name, options) {
|
|
2898
|
+
return localVarFp.getstorageHaloRunV1alpha1Group(name, options).then((request) => request(axios, basePath));
|
|
534
2899
|
},
|
|
535
|
-
|
|
536
|
-
return localVarFp.
|
|
2900
|
+
liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options) {
|
|
2901
|
+
return localVarFp.liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
537
2902
|
},
|
|
538
|
-
|
|
539
|
-
return localVarFp.
|
|
2903
|
+
updatestorageHaloRunV1alpha1Group(name, group, options) {
|
|
2904
|
+
return localVarFp.updatestorageHaloRunV1alpha1Group(name, group, options).then((request) => request(axios, basePath));
|
|
540
2905
|
}
|
|
541
2906
|
};
|
|
542
2907
|
};
|
|
543
|
-
class
|
|
544
|
-
|
|
545
|
-
return
|
|
2908
|
+
class StorageHaloRunV1alpha1GroupApi extends BaseAPI {
|
|
2909
|
+
createstorageHaloRunV1alpha1Group(requestParameters = {}, options) {
|
|
2910
|
+
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).createstorageHaloRunV1alpha1Group(requestParameters.group, options).then((request) => request(this.axios, this.basePath));
|
|
546
2911
|
}
|
|
547
|
-
|
|
548
|
-
return
|
|
2912
|
+
deletestorageHaloRunV1alpha1Group(requestParameters, options) {
|
|
2913
|
+
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).deletestorageHaloRunV1alpha1Group(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
549
2914
|
}
|
|
550
|
-
|
|
551
|
-
return
|
|
2915
|
+
getstorageHaloRunV1alpha1Group(requestParameters, options) {
|
|
2916
|
+
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).getstorageHaloRunV1alpha1Group(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
552
2917
|
}
|
|
553
|
-
|
|
554
|
-
return
|
|
2918
|
+
liststorageHaloRunV1alpha1Group(requestParameters = {}, options) {
|
|
2919
|
+
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).liststorageHaloRunV1alpha1Group(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
555
2920
|
}
|
|
556
|
-
|
|
557
|
-
return
|
|
2921
|
+
updatestorageHaloRunV1alpha1Group(requestParameters, options) {
|
|
2922
|
+
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).updatestorageHaloRunV1alpha1Group(requestParameters.name, requestParameters.group, options).then((request) => request(this.axios, this.basePath));
|
|
558
2923
|
}
|
|
559
2924
|
}
|
|
560
|
-
|
|
2925
|
+
|
|
2926
|
+
const StorageHaloRunV1alpha1PolicyApiAxiosParamCreator = function(configuration) {
|
|
561
2927
|
return {
|
|
562
|
-
|
|
563
|
-
const localVarPath = `/apis/
|
|
2928
|
+
createstorageHaloRunV1alpha1Policy: async (policy, options = {}) => {
|
|
2929
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies`;
|
|
564
2930
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
565
2931
|
let baseOptions;
|
|
566
2932
|
if (configuration) {
|
|
@@ -575,15 +2941,15 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
575
2941
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
576
2942
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
577
2943
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
578
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2944
|
+
localVarRequestOptions.data = serializeDataIfNeeded(policy, localVarRequestOptions, configuration);
|
|
579
2945
|
return {
|
|
580
2946
|
url: toPathString(localVarUrlObj),
|
|
581
2947
|
options: localVarRequestOptions
|
|
582
2948
|
};
|
|
583
2949
|
},
|
|
584
|
-
|
|
585
|
-
assertParamExists("
|
|
586
|
-
const localVarPath = `/apis/
|
|
2950
|
+
deletestorageHaloRunV1alpha1Policy: async (name, options = {}) => {
|
|
2951
|
+
assertParamExists("deletestorageHaloRunV1alpha1Policy", "name", name);
|
|
2952
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
587
2953
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
588
2954
|
let baseOptions;
|
|
589
2955
|
if (configuration) {
|
|
@@ -602,9 +2968,9 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
602
2968
|
options: localVarRequestOptions
|
|
603
2969
|
};
|
|
604
2970
|
},
|
|
605
|
-
|
|
606
|
-
assertParamExists("
|
|
607
|
-
const localVarPath = `/apis/
|
|
2971
|
+
getstorageHaloRunV1alpha1Policy: async (name, options = {}) => {
|
|
2972
|
+
assertParamExists("getstorageHaloRunV1alpha1Policy", "name", name);
|
|
2973
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
608
2974
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
609
2975
|
let baseOptions;
|
|
610
2976
|
if (configuration) {
|
|
@@ -623,8 +2989,8 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
623
2989
|
options: localVarRequestOptions
|
|
624
2990
|
};
|
|
625
2991
|
},
|
|
626
|
-
|
|
627
|
-
const localVarPath = `/apis/
|
|
2992
|
+
liststorageHaloRunV1alpha1Policy: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2993
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies`;
|
|
628
2994
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
629
2995
|
let baseOptions;
|
|
630
2996
|
if (configuration) {
|
|
@@ -655,9 +3021,9 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
655
3021
|
options: localVarRequestOptions
|
|
656
3022
|
};
|
|
657
3023
|
},
|
|
658
|
-
|
|
659
|
-
assertParamExists("
|
|
660
|
-
const localVarPath = `/apis/
|
|
3024
|
+
updatestorageHaloRunV1alpha1Policy: async (name, policy, options = {}) => {
|
|
3025
|
+
assertParamExists("updatestorageHaloRunV1alpha1Policy", "name", name);
|
|
3026
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
661
3027
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
662
3028
|
let baseOptions;
|
|
663
3029
|
if (configuration) {
|
|
@@ -672,7 +3038,7 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
672
3038
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
673
3039
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
674
3040
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
675
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3041
|
+
localVarRequestOptions.data = serializeDataIfNeeded(policy, localVarRequestOptions, configuration);
|
|
676
3042
|
return {
|
|
677
3043
|
url: toPathString(localVarUrlObj),
|
|
678
3044
|
options: localVarRequestOptions
|
|
@@ -680,72 +3046,73 @@ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration)
|
|
|
680
3046
|
}
|
|
681
3047
|
};
|
|
682
3048
|
};
|
|
683
|
-
const
|
|
684
|
-
const localVarAxiosParamCreator =
|
|
3049
|
+
const StorageHaloRunV1alpha1PolicyApiFp = function(configuration) {
|
|
3050
|
+
const localVarAxiosParamCreator = StorageHaloRunV1alpha1PolicyApiAxiosParamCreator(configuration);
|
|
685
3051
|
return {
|
|
686
|
-
async
|
|
687
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3052
|
+
async createstorageHaloRunV1alpha1Policy(policy, options) {
|
|
3053
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Policy(policy, options);
|
|
688
3054
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
689
3055
|
},
|
|
690
|
-
async
|
|
691
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3056
|
+
async deletestorageHaloRunV1alpha1Policy(name, options) {
|
|
3057
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1Policy(name, options);
|
|
692
3058
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
693
3059
|
},
|
|
694
|
-
async
|
|
695
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3060
|
+
async getstorageHaloRunV1alpha1Policy(name, options) {
|
|
3061
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1Policy(name, options);
|
|
696
3062
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
697
3063
|
},
|
|
698
|
-
async
|
|
699
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3064
|
+
async liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options) {
|
|
3065
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options);
|
|
700
3066
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
701
3067
|
},
|
|
702
|
-
async
|
|
703
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3068
|
+
async updatestorageHaloRunV1alpha1Policy(name, policy, options) {
|
|
3069
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Policy(name, policy, options);
|
|
704
3070
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
705
3071
|
}
|
|
706
3072
|
};
|
|
707
3073
|
};
|
|
708
|
-
const
|
|
709
|
-
const localVarFp =
|
|
3074
|
+
const StorageHaloRunV1alpha1PolicyApiFactory = function(configuration, basePath, axios) {
|
|
3075
|
+
const localVarFp = StorageHaloRunV1alpha1PolicyApiFp(configuration);
|
|
710
3076
|
return {
|
|
711
|
-
|
|
712
|
-
return localVarFp.
|
|
3077
|
+
createstorageHaloRunV1alpha1Policy(policy, options) {
|
|
3078
|
+
return localVarFp.createstorageHaloRunV1alpha1Policy(policy, options).then((request) => request(axios, basePath));
|
|
713
3079
|
},
|
|
714
|
-
|
|
715
|
-
return localVarFp.
|
|
3080
|
+
deletestorageHaloRunV1alpha1Policy(name, options) {
|
|
3081
|
+
return localVarFp.deletestorageHaloRunV1alpha1Policy(name, options).then((request) => request(axios, basePath));
|
|
716
3082
|
},
|
|
717
|
-
|
|
718
|
-
return localVarFp.
|
|
3083
|
+
getstorageHaloRunV1alpha1Policy(name, options) {
|
|
3084
|
+
return localVarFp.getstorageHaloRunV1alpha1Policy(name, options).then((request) => request(axios, basePath));
|
|
719
3085
|
},
|
|
720
|
-
|
|
721
|
-
return localVarFp.
|
|
3086
|
+
liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options) {
|
|
3087
|
+
return localVarFp.liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
722
3088
|
},
|
|
723
|
-
|
|
724
|
-
return localVarFp.
|
|
3089
|
+
updatestorageHaloRunV1alpha1Policy(name, policy, options) {
|
|
3090
|
+
return localVarFp.updatestorageHaloRunV1alpha1Policy(name, policy, options).then((request) => request(axios, basePath));
|
|
725
3091
|
}
|
|
726
3092
|
};
|
|
727
3093
|
};
|
|
728
|
-
class
|
|
729
|
-
|
|
730
|
-
return
|
|
3094
|
+
class StorageHaloRunV1alpha1PolicyApi extends BaseAPI {
|
|
3095
|
+
createstorageHaloRunV1alpha1Policy(requestParameters = {}, options) {
|
|
3096
|
+
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).createstorageHaloRunV1alpha1Policy(requestParameters.policy, options).then((request) => request(this.axios, this.basePath));
|
|
731
3097
|
}
|
|
732
|
-
|
|
733
|
-
return
|
|
3098
|
+
deletestorageHaloRunV1alpha1Policy(requestParameters, options) {
|
|
3099
|
+
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).deletestorageHaloRunV1alpha1Policy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
734
3100
|
}
|
|
735
|
-
|
|
736
|
-
return
|
|
3101
|
+
getstorageHaloRunV1alpha1Policy(requestParameters, options) {
|
|
3102
|
+
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).getstorageHaloRunV1alpha1Policy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
737
3103
|
}
|
|
738
|
-
|
|
739
|
-
return
|
|
3104
|
+
liststorageHaloRunV1alpha1Policy(requestParameters = {}, options) {
|
|
3105
|
+
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).liststorageHaloRunV1alpha1Policy(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
740
3106
|
}
|
|
741
|
-
|
|
742
|
-
return
|
|
3107
|
+
updatestorageHaloRunV1alpha1Policy(requestParameters, options) {
|
|
3108
|
+
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).updatestorageHaloRunV1alpha1Policy(requestParameters.name, requestParameters.policy, options).then((request) => request(this.axios, this.basePath));
|
|
743
3109
|
}
|
|
744
3110
|
}
|
|
745
|
-
|
|
3111
|
+
|
|
3112
|
+
const StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator = function(configuration) {
|
|
746
3113
|
return {
|
|
747
|
-
|
|
748
|
-
const localVarPath = `/apis/
|
|
3114
|
+
createstorageHaloRunV1alpha1PolicyTemplate: async (policyTemplate, options = {}) => {
|
|
3115
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates`;
|
|
749
3116
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
750
3117
|
let baseOptions;
|
|
751
3118
|
if (configuration) {
|
|
@@ -760,15 +3127,15 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
760
3127
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
761
3128
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
762
3129
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
763
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3130
|
+
localVarRequestOptions.data = serializeDataIfNeeded(policyTemplate, localVarRequestOptions, configuration);
|
|
764
3131
|
return {
|
|
765
3132
|
url: toPathString(localVarUrlObj),
|
|
766
3133
|
options: localVarRequestOptions
|
|
767
3134
|
};
|
|
768
3135
|
},
|
|
769
|
-
|
|
770
|
-
assertParamExists("
|
|
771
|
-
const localVarPath = `/apis/
|
|
3136
|
+
deletestorageHaloRunV1alpha1PolicyTemplate: async (name, options = {}) => {
|
|
3137
|
+
assertParamExists("deletestorageHaloRunV1alpha1PolicyTemplate", "name", name);
|
|
3138
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
772
3139
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
773
3140
|
let baseOptions;
|
|
774
3141
|
if (configuration) {
|
|
@@ -787,9 +3154,9 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
787
3154
|
options: localVarRequestOptions
|
|
788
3155
|
};
|
|
789
3156
|
},
|
|
790
|
-
|
|
791
|
-
assertParamExists("
|
|
792
|
-
const localVarPath = `/apis/
|
|
3157
|
+
getstorageHaloRunV1alpha1PolicyTemplate: async (name, options = {}) => {
|
|
3158
|
+
assertParamExists("getstorageHaloRunV1alpha1PolicyTemplate", "name", name);
|
|
3159
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
793
3160
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
794
3161
|
let baseOptions;
|
|
795
3162
|
if (configuration) {
|
|
@@ -808,8 +3175,8 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
808
3175
|
options: localVarRequestOptions
|
|
809
3176
|
};
|
|
810
3177
|
},
|
|
811
|
-
|
|
812
|
-
const localVarPath = `/apis/
|
|
3178
|
+
liststorageHaloRunV1alpha1PolicyTemplate: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
3179
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates`;
|
|
813
3180
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
814
3181
|
let baseOptions;
|
|
815
3182
|
if (configuration) {
|
|
@@ -839,10 +3206,10 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
839
3206
|
url: toPathString(localVarUrlObj),
|
|
840
3207
|
options: localVarRequestOptions
|
|
841
3208
|
};
|
|
842
|
-
},
|
|
843
|
-
|
|
844
|
-
assertParamExists("
|
|
845
|
-
const localVarPath = `/apis/
|
|
3209
|
+
},
|
|
3210
|
+
updatestorageHaloRunV1alpha1PolicyTemplate: async (name, policyTemplate, options = {}) => {
|
|
3211
|
+
assertParamExists("updatestorageHaloRunV1alpha1PolicyTemplate", "name", name);
|
|
3212
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
846
3213
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
847
3214
|
let baseOptions;
|
|
848
3215
|
if (configuration) {
|
|
@@ -857,7 +3224,7 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
857
3224
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
858
3225
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
859
3226
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
860
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3227
|
+
localVarRequestOptions.data = serializeDataIfNeeded(policyTemplate, localVarRequestOptions, configuration);
|
|
861
3228
|
return {
|
|
862
3229
|
url: toPathString(localVarUrlObj),
|
|
863
3230
|
options: localVarRequestOptions
|
|
@@ -865,72 +3232,73 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
865
3232
|
}
|
|
866
3233
|
};
|
|
867
3234
|
};
|
|
868
|
-
const
|
|
869
|
-
const localVarAxiosParamCreator =
|
|
3235
|
+
const StorageHaloRunV1alpha1PolicyTemplateApiFp = function(configuration) {
|
|
3236
|
+
const localVarAxiosParamCreator = StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator(configuration);
|
|
870
3237
|
return {
|
|
871
|
-
async
|
|
872
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3238
|
+
async createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options) {
|
|
3239
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options);
|
|
873
3240
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
874
3241
|
},
|
|
875
|
-
async
|
|
876
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3242
|
+
async deletestorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
3243
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1PolicyTemplate(name, options);
|
|
877
3244
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
878
3245
|
},
|
|
879
|
-
async
|
|
880
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3246
|
+
async getstorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
3247
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1PolicyTemplate(name, options);
|
|
881
3248
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
882
3249
|
},
|
|
883
|
-
async
|
|
884
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3250
|
+
async liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options) {
|
|
3251
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options);
|
|
885
3252
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
886
3253
|
},
|
|
887
|
-
async
|
|
888
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3254
|
+
async updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options) {
|
|
3255
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options);
|
|
889
3256
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
890
3257
|
}
|
|
891
3258
|
};
|
|
892
3259
|
};
|
|
893
|
-
const
|
|
894
|
-
const localVarFp =
|
|
3260
|
+
const StorageHaloRunV1alpha1PolicyTemplateApiFactory = function(configuration, basePath, axios) {
|
|
3261
|
+
const localVarFp = StorageHaloRunV1alpha1PolicyTemplateApiFp(configuration);
|
|
895
3262
|
return {
|
|
896
|
-
|
|
897
|
-
return localVarFp.
|
|
3263
|
+
createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options) {
|
|
3264
|
+
return localVarFp.createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options).then((request) => request(axios, basePath));
|
|
898
3265
|
},
|
|
899
|
-
|
|
900
|
-
return localVarFp.
|
|
3266
|
+
deletestorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
3267
|
+
return localVarFp.deletestorageHaloRunV1alpha1PolicyTemplate(name, options).then((request) => request(axios, basePath));
|
|
901
3268
|
},
|
|
902
|
-
|
|
903
|
-
return localVarFp.
|
|
3269
|
+
getstorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
3270
|
+
return localVarFp.getstorageHaloRunV1alpha1PolicyTemplate(name, options).then((request) => request(axios, basePath));
|
|
904
3271
|
},
|
|
905
|
-
|
|
906
|
-
return localVarFp.
|
|
3272
|
+
liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options) {
|
|
3273
|
+
return localVarFp.liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
907
3274
|
},
|
|
908
|
-
|
|
909
|
-
return localVarFp.
|
|
3275
|
+
updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options) {
|
|
3276
|
+
return localVarFp.updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options).then((request) => request(axios, basePath));
|
|
910
3277
|
}
|
|
911
3278
|
};
|
|
912
3279
|
};
|
|
913
|
-
class
|
|
914
|
-
|
|
915
|
-
return
|
|
3280
|
+
class StorageHaloRunV1alpha1PolicyTemplateApi extends BaseAPI {
|
|
3281
|
+
createstorageHaloRunV1alpha1PolicyTemplate(requestParameters = {}, options) {
|
|
3282
|
+
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).createstorageHaloRunV1alpha1PolicyTemplate(requestParameters.policyTemplate, options).then((request) => request(this.axios, this.basePath));
|
|
916
3283
|
}
|
|
917
|
-
|
|
918
|
-
return
|
|
3284
|
+
deletestorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
|
|
3285
|
+
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).deletestorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
919
3286
|
}
|
|
920
|
-
|
|
921
|
-
return
|
|
3287
|
+
getstorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
|
|
3288
|
+
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).getstorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
922
3289
|
}
|
|
923
|
-
|
|
924
|
-
return
|
|
3290
|
+
liststorageHaloRunV1alpha1PolicyTemplate(requestParameters = {}, options) {
|
|
3291
|
+
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).liststorageHaloRunV1alpha1PolicyTemplate(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
925
3292
|
}
|
|
926
|
-
|
|
927
|
-
return
|
|
3293
|
+
updatestorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
|
|
3294
|
+
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).updatestorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, requestParameters.policyTemplate, options).then((request) => request(this.axios, this.basePath));
|
|
928
3295
|
}
|
|
929
3296
|
}
|
|
930
|
-
|
|
3297
|
+
|
|
3298
|
+
const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
931
3299
|
return {
|
|
932
|
-
|
|
933
|
-
const localVarPath = `/apis/
|
|
3300
|
+
createthemeHaloRunV1alpha1Theme: async (theme, options = {}) => {
|
|
3301
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes`;
|
|
934
3302
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
935
3303
|
let baseOptions;
|
|
936
3304
|
if (configuration) {
|
|
@@ -945,15 +3313,15 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
945
3313
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
946
3314
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
947
3315
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
948
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3316
|
+
localVarRequestOptions.data = serializeDataIfNeeded(theme, localVarRequestOptions, configuration);
|
|
949
3317
|
return {
|
|
950
3318
|
url: toPathString(localVarUrlObj),
|
|
951
3319
|
options: localVarRequestOptions
|
|
952
3320
|
};
|
|
953
3321
|
},
|
|
954
|
-
|
|
955
|
-
assertParamExists("
|
|
956
|
-
const localVarPath = `/apis/
|
|
3322
|
+
deletethemeHaloRunV1alpha1Theme: async (name, options = {}) => {
|
|
3323
|
+
assertParamExists("deletethemeHaloRunV1alpha1Theme", "name", name);
|
|
3324
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
957
3325
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
958
3326
|
let baseOptions;
|
|
959
3327
|
if (configuration) {
|
|
@@ -972,9 +3340,9 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
972
3340
|
options: localVarRequestOptions
|
|
973
3341
|
};
|
|
974
3342
|
},
|
|
975
|
-
|
|
976
|
-
assertParamExists("
|
|
977
|
-
const localVarPath = `/apis/
|
|
3343
|
+
getthemeHaloRunV1alpha1Theme: async (name, options = {}) => {
|
|
3344
|
+
assertParamExists("getthemeHaloRunV1alpha1Theme", "name", name);
|
|
3345
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
978
3346
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
979
3347
|
let baseOptions;
|
|
980
3348
|
if (configuration) {
|
|
@@ -993,8 +3361,8 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
993
3361
|
options: localVarRequestOptions
|
|
994
3362
|
};
|
|
995
3363
|
},
|
|
996
|
-
|
|
997
|
-
const localVarPath = `/apis/
|
|
3364
|
+
listthemeHaloRunV1alpha1Theme: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
3365
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes`;
|
|
998
3366
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
999
3367
|
let baseOptions;
|
|
1000
3368
|
if (configuration) {
|
|
@@ -1025,9 +3393,9 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
1025
3393
|
options: localVarRequestOptions
|
|
1026
3394
|
};
|
|
1027
3395
|
},
|
|
1028
|
-
|
|
1029
|
-
assertParamExists("
|
|
1030
|
-
const localVarPath = `/apis/
|
|
3396
|
+
updatethemeHaloRunV1alpha1Theme: async (name, theme, options = {}) => {
|
|
3397
|
+
assertParamExists("updatethemeHaloRunV1alpha1Theme", "name", name);
|
|
3398
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1031
3399
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1032
3400
|
let baseOptions;
|
|
1033
3401
|
if (configuration) {
|
|
@@ -1042,7 +3410,7 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
1042
3410
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1043
3411
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1044
3412
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1045
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3413
|
+
localVarRequestOptions.data = serializeDataIfNeeded(theme, localVarRequestOptions, configuration);
|
|
1046
3414
|
return {
|
|
1047
3415
|
url: toPathString(localVarUrlObj),
|
|
1048
3416
|
options: localVarRequestOptions
|
|
@@ -1050,72 +3418,73 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
1050
3418
|
}
|
|
1051
3419
|
};
|
|
1052
3420
|
};
|
|
1053
|
-
const
|
|
1054
|
-
const localVarAxiosParamCreator =
|
|
3421
|
+
const ThemeHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
3422
|
+
const localVarAxiosParamCreator = ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator(configuration);
|
|
1055
3423
|
return {
|
|
1056
|
-
async
|
|
1057
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3424
|
+
async createthemeHaloRunV1alpha1Theme(theme, options) {
|
|
3425
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createthemeHaloRunV1alpha1Theme(theme, options);
|
|
1058
3426
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1059
3427
|
},
|
|
1060
|
-
async
|
|
1061
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3428
|
+
async deletethemeHaloRunV1alpha1Theme(name, options) {
|
|
3429
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletethemeHaloRunV1alpha1Theme(name, options);
|
|
1062
3430
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1063
3431
|
},
|
|
1064
|
-
async
|
|
1065
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3432
|
+
async getthemeHaloRunV1alpha1Theme(name, options) {
|
|
3433
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getthemeHaloRunV1alpha1Theme(name, options);
|
|
1066
3434
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1067
3435
|
},
|
|
1068
|
-
async
|
|
1069
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3436
|
+
async listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
3437
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options);
|
|
1070
3438
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1071
3439
|
},
|
|
1072
|
-
async
|
|
1073
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3440
|
+
async updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
3441
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatethemeHaloRunV1alpha1Theme(name, theme, options);
|
|
1074
3442
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1075
3443
|
}
|
|
1076
3444
|
};
|
|
1077
3445
|
};
|
|
1078
|
-
const
|
|
1079
|
-
const localVarFp =
|
|
3446
|
+
const ThemeHaloRunV1alpha1ThemeApiFactory = function(configuration, basePath, axios) {
|
|
3447
|
+
const localVarFp = ThemeHaloRunV1alpha1ThemeApiFp(configuration);
|
|
1080
3448
|
return {
|
|
1081
|
-
|
|
1082
|
-
return localVarFp.
|
|
3449
|
+
createthemeHaloRunV1alpha1Theme(theme, options) {
|
|
3450
|
+
return localVarFp.createthemeHaloRunV1alpha1Theme(theme, options).then((request) => request(axios, basePath));
|
|
1083
3451
|
},
|
|
1084
|
-
|
|
1085
|
-
return localVarFp.
|
|
3452
|
+
deletethemeHaloRunV1alpha1Theme(name, options) {
|
|
3453
|
+
return localVarFp.deletethemeHaloRunV1alpha1Theme(name, options).then((request) => request(axios, basePath));
|
|
1086
3454
|
},
|
|
1087
|
-
|
|
1088
|
-
return localVarFp.
|
|
3455
|
+
getthemeHaloRunV1alpha1Theme(name, options) {
|
|
3456
|
+
return localVarFp.getthemeHaloRunV1alpha1Theme(name, options).then((request) => request(axios, basePath));
|
|
1089
3457
|
},
|
|
1090
|
-
|
|
1091
|
-
return localVarFp.
|
|
3458
|
+
listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
3459
|
+
return localVarFp.listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1092
3460
|
},
|
|
1093
|
-
|
|
1094
|
-
return localVarFp.
|
|
3461
|
+
updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
3462
|
+
return localVarFp.updatethemeHaloRunV1alpha1Theme(name, theme, options).then((request) => request(axios, basePath));
|
|
1095
3463
|
}
|
|
1096
3464
|
};
|
|
1097
3465
|
};
|
|
1098
|
-
class
|
|
1099
|
-
|
|
1100
|
-
return
|
|
3466
|
+
class ThemeHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
3467
|
+
createthemeHaloRunV1alpha1Theme(requestParameters = {}, options) {
|
|
3468
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).createthemeHaloRunV1alpha1Theme(requestParameters.theme, options).then((request) => request(this.axios, this.basePath));
|
|
1101
3469
|
}
|
|
1102
|
-
|
|
1103
|
-
return
|
|
3470
|
+
deletethemeHaloRunV1alpha1Theme(requestParameters, options) {
|
|
3471
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).deletethemeHaloRunV1alpha1Theme(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1104
3472
|
}
|
|
1105
|
-
|
|
1106
|
-
return
|
|
3473
|
+
getthemeHaloRunV1alpha1Theme(requestParameters, options) {
|
|
3474
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).getthemeHaloRunV1alpha1Theme(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1107
3475
|
}
|
|
1108
|
-
|
|
1109
|
-
return
|
|
3476
|
+
listthemeHaloRunV1alpha1Theme(requestParameters = {}, options) {
|
|
3477
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).listthemeHaloRunV1alpha1Theme(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1110
3478
|
}
|
|
1111
|
-
|
|
1112
|
-
return
|
|
3479
|
+
updatethemeHaloRunV1alpha1Theme(requestParameters, options) {
|
|
3480
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).updatethemeHaloRunV1alpha1Theme(requestParameters.name, requestParameters.theme, options).then((request) => request(this.axios, this.basePath));
|
|
1113
3481
|
}
|
|
1114
3482
|
}
|
|
1115
|
-
|
|
3483
|
+
|
|
3484
|
+
const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
1116
3485
|
return {
|
|
1117
|
-
|
|
1118
|
-
const localVarPath = `/
|
|
3486
|
+
createv1alpha1ConfigMap: async (configMap, options = {}) => {
|
|
3487
|
+
const localVarPath = `/api/v1alpha1/configmaps`;
|
|
1119
3488
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1120
3489
|
let baseOptions;
|
|
1121
3490
|
if (configuration) {
|
|
@@ -1130,15 +3499,15 @@ const RunHaloTemplateV1alpha1AppleApiAxiosParamCreator = function(configuration)
|
|
|
1130
3499
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1131
3500
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1132
3501
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1133
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3502
|
+
localVarRequestOptions.data = serializeDataIfNeeded(configMap, localVarRequestOptions, configuration);
|
|
1134
3503
|
return {
|
|
1135
3504
|
url: toPathString(localVarUrlObj),
|
|
1136
3505
|
options: localVarRequestOptions
|
|
1137
3506
|
};
|
|
1138
3507
|
},
|
|
1139
|
-
|
|
1140
|
-
assertParamExists("
|
|
1141
|
-
const localVarPath = `/
|
|
3508
|
+
deletev1alpha1ConfigMap: async (name, options = {}) => {
|
|
3509
|
+
assertParamExists("deletev1alpha1ConfigMap", "name", name);
|
|
3510
|
+
const localVarPath = `/api/v1alpha1/configmaps/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1142
3511
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1143
3512
|
let baseOptions;
|
|
1144
3513
|
if (configuration) {
|
|
@@ -1157,9 +3526,9 @@ const RunHaloTemplateV1alpha1AppleApiAxiosParamCreator = function(configuration)
|
|
|
1157
3526
|
options: localVarRequestOptions
|
|
1158
3527
|
};
|
|
1159
3528
|
},
|
|
1160
|
-
|
|
1161
|
-
assertParamExists("
|
|
1162
|
-
const localVarPath = `/
|
|
3529
|
+
getv1alpha1ConfigMap: async (name, options = {}) => {
|
|
3530
|
+
assertParamExists("getv1alpha1ConfigMap", "name", name);
|
|
3531
|
+
const localVarPath = `/api/v1alpha1/configmaps/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1163
3532
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1164
3533
|
let baseOptions;
|
|
1165
3534
|
if (configuration) {
|
|
@@ -1178,8 +3547,8 @@ const RunHaloTemplateV1alpha1AppleApiAxiosParamCreator = function(configuration)
|
|
|
1178
3547
|
options: localVarRequestOptions
|
|
1179
3548
|
};
|
|
1180
3549
|
},
|
|
1181
|
-
|
|
1182
|
-
const localVarPath = `/
|
|
3550
|
+
listv1alpha1ConfigMap: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
3551
|
+
const localVarPath = `/api/v1alpha1/configmaps`;
|
|
1183
3552
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1184
3553
|
let baseOptions;
|
|
1185
3554
|
if (configuration) {
|
|
@@ -1210,9 +3579,9 @@ const RunHaloTemplateV1alpha1AppleApiAxiosParamCreator = function(configuration)
|
|
|
1210
3579
|
options: localVarRequestOptions
|
|
1211
3580
|
};
|
|
1212
3581
|
},
|
|
1213
|
-
|
|
1214
|
-
assertParamExists("
|
|
1215
|
-
const localVarPath = `/
|
|
3582
|
+
updatev1alpha1ConfigMap: async (name, configMap, options = {}) => {
|
|
3583
|
+
assertParamExists("updatev1alpha1ConfigMap", "name", name);
|
|
3584
|
+
const localVarPath = `/api/v1alpha1/configmaps/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1216
3585
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1217
3586
|
let baseOptions;
|
|
1218
3587
|
if (configuration) {
|
|
@@ -1227,7 +3596,7 @@ const RunHaloTemplateV1alpha1AppleApiAxiosParamCreator = function(configuration)
|
|
|
1227
3596
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1228
3597
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1229
3598
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1230
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3599
|
+
localVarRequestOptions.data = serializeDataIfNeeded(configMap, localVarRequestOptions, configuration);
|
|
1231
3600
|
return {
|
|
1232
3601
|
url: toPathString(localVarUrlObj),
|
|
1233
3602
|
options: localVarRequestOptions
|
|
@@ -1235,72 +3604,73 @@ const RunHaloTemplateV1alpha1AppleApiAxiosParamCreator = function(configuration)
|
|
|
1235
3604
|
}
|
|
1236
3605
|
};
|
|
1237
3606
|
};
|
|
1238
|
-
const
|
|
1239
|
-
const localVarAxiosParamCreator =
|
|
3607
|
+
const V1alpha1ConfigMapApiFp = function(configuration) {
|
|
3608
|
+
const localVarAxiosParamCreator = V1alpha1ConfigMapApiAxiosParamCreator(configuration);
|
|
1240
3609
|
return {
|
|
1241
|
-
async
|
|
1242
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3610
|
+
async createv1alpha1ConfigMap(configMap, options) {
|
|
3611
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1ConfigMap(configMap, options);
|
|
1243
3612
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1244
3613
|
},
|
|
1245
|
-
async
|
|
1246
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3614
|
+
async deletev1alpha1ConfigMap(name, options) {
|
|
3615
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletev1alpha1ConfigMap(name, options);
|
|
1247
3616
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1248
3617
|
},
|
|
1249
|
-
async
|
|
1250
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3618
|
+
async getv1alpha1ConfigMap(name, options) {
|
|
3619
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1ConfigMap(name, options);
|
|
1251
3620
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1252
3621
|
},
|
|
1253
|
-
async
|
|
1254
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3622
|
+
async listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options) {
|
|
3623
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options);
|
|
1255
3624
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1256
3625
|
},
|
|
1257
|
-
async
|
|
1258
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3626
|
+
async updatev1alpha1ConfigMap(name, configMap, options) {
|
|
3627
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1ConfigMap(name, configMap, options);
|
|
1259
3628
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1260
3629
|
}
|
|
1261
3630
|
};
|
|
1262
3631
|
};
|
|
1263
|
-
const
|
|
1264
|
-
const localVarFp =
|
|
3632
|
+
const V1alpha1ConfigMapApiFactory = function(configuration, basePath, axios) {
|
|
3633
|
+
const localVarFp = V1alpha1ConfigMapApiFp(configuration);
|
|
1265
3634
|
return {
|
|
1266
|
-
|
|
1267
|
-
return localVarFp.
|
|
3635
|
+
createv1alpha1ConfigMap(configMap, options) {
|
|
3636
|
+
return localVarFp.createv1alpha1ConfigMap(configMap, options).then((request) => request(axios, basePath));
|
|
1268
3637
|
},
|
|
1269
|
-
|
|
1270
|
-
return localVarFp.
|
|
3638
|
+
deletev1alpha1ConfigMap(name, options) {
|
|
3639
|
+
return localVarFp.deletev1alpha1ConfigMap(name, options).then((request) => request(axios, basePath));
|
|
1271
3640
|
},
|
|
1272
|
-
|
|
1273
|
-
return localVarFp.
|
|
3641
|
+
getv1alpha1ConfigMap(name, options) {
|
|
3642
|
+
return localVarFp.getv1alpha1ConfigMap(name, options).then((request) => request(axios, basePath));
|
|
1274
3643
|
},
|
|
1275
|
-
|
|
1276
|
-
return localVarFp.
|
|
3644
|
+
listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options) {
|
|
3645
|
+
return localVarFp.listv1alpha1ConfigMap(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1277
3646
|
},
|
|
1278
|
-
|
|
1279
|
-
return localVarFp.
|
|
3647
|
+
updatev1alpha1ConfigMap(name, configMap, options) {
|
|
3648
|
+
return localVarFp.updatev1alpha1ConfigMap(name, configMap, options).then((request) => request(axios, basePath));
|
|
1280
3649
|
}
|
|
1281
3650
|
};
|
|
1282
3651
|
};
|
|
1283
|
-
class
|
|
1284
|
-
|
|
1285
|
-
return
|
|
3652
|
+
class V1alpha1ConfigMapApi extends BaseAPI {
|
|
3653
|
+
createv1alpha1ConfigMap(requestParameters = {}, options) {
|
|
3654
|
+
return V1alpha1ConfigMapApiFp(this.configuration).createv1alpha1ConfigMap(requestParameters.configMap, options).then((request) => request(this.axios, this.basePath));
|
|
1286
3655
|
}
|
|
1287
|
-
|
|
1288
|
-
return
|
|
3656
|
+
deletev1alpha1ConfigMap(requestParameters, options) {
|
|
3657
|
+
return V1alpha1ConfigMapApiFp(this.configuration).deletev1alpha1ConfigMap(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1289
3658
|
}
|
|
1290
|
-
|
|
1291
|
-
return
|
|
3659
|
+
getv1alpha1ConfigMap(requestParameters, options) {
|
|
3660
|
+
return V1alpha1ConfigMapApiFp(this.configuration).getv1alpha1ConfigMap(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1292
3661
|
}
|
|
1293
|
-
|
|
1294
|
-
return
|
|
3662
|
+
listv1alpha1ConfigMap(requestParameters = {}, options) {
|
|
3663
|
+
return V1alpha1ConfigMapApiFp(this.configuration).listv1alpha1ConfigMap(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1295
3664
|
}
|
|
1296
|
-
|
|
1297
|
-
return
|
|
3665
|
+
updatev1alpha1ConfigMap(requestParameters, options) {
|
|
3666
|
+
return V1alpha1ConfigMapApiFp(this.configuration).updatev1alpha1ConfigMap(requestParameters.name, requestParameters.configMap, options).then((request) => request(this.axios, this.basePath));
|
|
1298
3667
|
}
|
|
1299
3668
|
}
|
|
1300
|
-
|
|
3669
|
+
|
|
3670
|
+
const V1alpha1MenuApiAxiosParamCreator = function(configuration) {
|
|
1301
3671
|
return {
|
|
1302
|
-
|
|
1303
|
-
const localVarPath = `/
|
|
3672
|
+
createv1alpha1Menu: async (menu, options = {}) => {
|
|
3673
|
+
const localVarPath = `/api/v1alpha1/menus`;
|
|
1304
3674
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1305
3675
|
let baseOptions;
|
|
1306
3676
|
if (configuration) {
|
|
@@ -1315,15 +3685,15 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
1315
3685
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1316
3686
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1317
3687
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1318
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3688
|
+
localVarRequestOptions.data = serializeDataIfNeeded(menu, localVarRequestOptions, configuration);
|
|
1319
3689
|
return {
|
|
1320
3690
|
url: toPathString(localVarUrlObj),
|
|
1321
3691
|
options: localVarRequestOptions
|
|
1322
3692
|
};
|
|
1323
3693
|
},
|
|
1324
|
-
|
|
1325
|
-
assertParamExists("
|
|
1326
|
-
const localVarPath = `/
|
|
3694
|
+
deletev1alpha1Menu: async (name, options = {}) => {
|
|
3695
|
+
assertParamExists("deletev1alpha1Menu", "name", name);
|
|
3696
|
+
const localVarPath = `/api/v1alpha1/menus/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1327
3697
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1328
3698
|
let baseOptions;
|
|
1329
3699
|
if (configuration) {
|
|
@@ -1342,9 +3712,9 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
1342
3712
|
options: localVarRequestOptions
|
|
1343
3713
|
};
|
|
1344
3714
|
},
|
|
1345
|
-
|
|
1346
|
-
assertParamExists("
|
|
1347
|
-
const localVarPath = `/
|
|
3715
|
+
getv1alpha1Menu: async (name, options = {}) => {
|
|
3716
|
+
assertParamExists("getv1alpha1Menu", "name", name);
|
|
3717
|
+
const localVarPath = `/api/v1alpha1/menus/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1348
3718
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1349
3719
|
let baseOptions;
|
|
1350
3720
|
if (configuration) {
|
|
@@ -1363,8 +3733,8 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
1363
3733
|
options: localVarRequestOptions
|
|
1364
3734
|
};
|
|
1365
3735
|
},
|
|
1366
|
-
|
|
1367
|
-
const localVarPath = `/
|
|
3736
|
+
listv1alpha1Menu: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
3737
|
+
const localVarPath = `/api/v1alpha1/menus`;
|
|
1368
3738
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1369
3739
|
let baseOptions;
|
|
1370
3740
|
if (configuration) {
|
|
@@ -1395,9 +3765,9 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
1395
3765
|
options: localVarRequestOptions
|
|
1396
3766
|
};
|
|
1397
3767
|
},
|
|
1398
|
-
|
|
1399
|
-
assertParamExists("
|
|
1400
|
-
const localVarPath = `/
|
|
3768
|
+
updatev1alpha1Menu: async (name, menu, options = {}) => {
|
|
3769
|
+
assertParamExists("updatev1alpha1Menu", "name", name);
|
|
3770
|
+
const localVarPath = `/api/v1alpha1/menus/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1401
3771
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1402
3772
|
let baseOptions;
|
|
1403
3773
|
if (configuration) {
|
|
@@ -1412,7 +3782,7 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
1412
3782
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1413
3783
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1414
3784
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1415
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3785
|
+
localVarRequestOptions.data = serializeDataIfNeeded(menu, localVarRequestOptions, configuration);
|
|
1416
3786
|
return {
|
|
1417
3787
|
url: toPathString(localVarUrlObj),
|
|
1418
3788
|
options: localVarRequestOptions
|
|
@@ -1420,72 +3790,73 @@ const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
|
1420
3790
|
}
|
|
1421
3791
|
};
|
|
1422
3792
|
};
|
|
1423
|
-
const
|
|
1424
|
-
const localVarAxiosParamCreator =
|
|
3793
|
+
const V1alpha1MenuApiFp = function(configuration) {
|
|
3794
|
+
const localVarAxiosParamCreator = V1alpha1MenuApiAxiosParamCreator(configuration);
|
|
1425
3795
|
return {
|
|
1426
|
-
async
|
|
1427
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3796
|
+
async createv1alpha1Menu(menu, options) {
|
|
3797
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1Menu(menu, options);
|
|
1428
3798
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1429
3799
|
},
|
|
1430
|
-
async
|
|
1431
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3800
|
+
async deletev1alpha1Menu(name, options) {
|
|
3801
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletev1alpha1Menu(name, options);
|
|
1432
3802
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1433
3803
|
},
|
|
1434
|
-
async
|
|
1435
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3804
|
+
async getv1alpha1Menu(name, options) {
|
|
3805
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1Menu(name, options);
|
|
1436
3806
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1437
3807
|
},
|
|
1438
|
-
async
|
|
1439
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3808
|
+
async listv1alpha1Menu(page, size, labelSelector, fieldSelector, options) {
|
|
3809
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1Menu(page, size, labelSelector, fieldSelector, options);
|
|
1440
3810
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1441
3811
|
},
|
|
1442
|
-
async
|
|
1443
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3812
|
+
async updatev1alpha1Menu(name, menu, options) {
|
|
3813
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1Menu(name, menu, options);
|
|
1444
3814
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1445
3815
|
}
|
|
1446
3816
|
};
|
|
1447
3817
|
};
|
|
1448
|
-
const
|
|
1449
|
-
const localVarFp =
|
|
3818
|
+
const V1alpha1MenuApiFactory = function(configuration, basePath, axios) {
|
|
3819
|
+
const localVarFp = V1alpha1MenuApiFp(configuration);
|
|
1450
3820
|
return {
|
|
1451
|
-
|
|
1452
|
-
return localVarFp.
|
|
3821
|
+
createv1alpha1Menu(menu, options) {
|
|
3822
|
+
return localVarFp.createv1alpha1Menu(menu, options).then((request) => request(axios, basePath));
|
|
1453
3823
|
},
|
|
1454
|
-
|
|
1455
|
-
return localVarFp.
|
|
3824
|
+
deletev1alpha1Menu(name, options) {
|
|
3825
|
+
return localVarFp.deletev1alpha1Menu(name, options).then((request) => request(axios, basePath));
|
|
1456
3826
|
},
|
|
1457
|
-
|
|
1458
|
-
return localVarFp.
|
|
3827
|
+
getv1alpha1Menu(name, options) {
|
|
3828
|
+
return localVarFp.getv1alpha1Menu(name, options).then((request) => request(axios, basePath));
|
|
1459
3829
|
},
|
|
1460
|
-
|
|
1461
|
-
return localVarFp.
|
|
3830
|
+
listv1alpha1Menu(page, size, labelSelector, fieldSelector, options) {
|
|
3831
|
+
return localVarFp.listv1alpha1Menu(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1462
3832
|
},
|
|
1463
|
-
|
|
1464
|
-
return localVarFp.
|
|
3833
|
+
updatev1alpha1Menu(name, menu, options) {
|
|
3834
|
+
return localVarFp.updatev1alpha1Menu(name, menu, options).then((request) => request(axios, basePath));
|
|
1465
3835
|
}
|
|
1466
3836
|
};
|
|
1467
3837
|
};
|
|
1468
|
-
class
|
|
1469
|
-
|
|
1470
|
-
return
|
|
3838
|
+
class V1alpha1MenuApi extends BaseAPI {
|
|
3839
|
+
createv1alpha1Menu(requestParameters = {}, options) {
|
|
3840
|
+
return V1alpha1MenuApiFp(this.configuration).createv1alpha1Menu(requestParameters.menu, options).then((request) => request(this.axios, this.basePath));
|
|
1471
3841
|
}
|
|
1472
|
-
|
|
1473
|
-
return
|
|
3842
|
+
deletev1alpha1Menu(requestParameters, options) {
|
|
3843
|
+
return V1alpha1MenuApiFp(this.configuration).deletev1alpha1Menu(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1474
3844
|
}
|
|
1475
|
-
|
|
1476
|
-
return
|
|
3845
|
+
getv1alpha1Menu(requestParameters, options) {
|
|
3846
|
+
return V1alpha1MenuApiFp(this.configuration).getv1alpha1Menu(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1477
3847
|
}
|
|
1478
|
-
|
|
1479
|
-
return
|
|
3848
|
+
listv1alpha1Menu(requestParameters = {}, options) {
|
|
3849
|
+
return V1alpha1MenuApiFp(this.configuration).listv1alpha1Menu(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1480
3850
|
}
|
|
1481
|
-
|
|
1482
|
-
return
|
|
3851
|
+
updatev1alpha1Menu(requestParameters, options) {
|
|
3852
|
+
return V1alpha1MenuApiFp(this.configuration).updatev1alpha1Menu(requestParameters.name, requestParameters.menu, options).then((request) => request(this.axios, this.basePath));
|
|
1483
3853
|
}
|
|
1484
3854
|
}
|
|
1485
|
-
|
|
3855
|
+
|
|
3856
|
+
const V1alpha1MenuItemApiAxiosParamCreator = function(configuration) {
|
|
1486
3857
|
return {
|
|
1487
|
-
|
|
1488
|
-
const localVarPath = `/api/v1alpha1/
|
|
3858
|
+
createv1alpha1MenuItem: async (menuItem, options = {}) => {
|
|
3859
|
+
const localVarPath = `/api/v1alpha1/menuitems`;
|
|
1489
3860
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1490
3861
|
let baseOptions;
|
|
1491
3862
|
if (configuration) {
|
|
@@ -1500,15 +3871,15 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
1500
3871
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1501
3872
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1502
3873
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1503
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3874
|
+
localVarRequestOptions.data = serializeDataIfNeeded(menuItem, localVarRequestOptions, configuration);
|
|
1504
3875
|
return {
|
|
1505
3876
|
url: toPathString(localVarUrlObj),
|
|
1506
3877
|
options: localVarRequestOptions
|
|
1507
3878
|
};
|
|
1508
3879
|
},
|
|
1509
|
-
|
|
1510
|
-
assertParamExists("
|
|
1511
|
-
const localVarPath = `/api/v1alpha1/
|
|
3880
|
+
deletev1alpha1MenuItem: async (name, options = {}) => {
|
|
3881
|
+
assertParamExists("deletev1alpha1MenuItem", "name", name);
|
|
3882
|
+
const localVarPath = `/api/v1alpha1/menuitems/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1512
3883
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1513
3884
|
let baseOptions;
|
|
1514
3885
|
if (configuration) {
|
|
@@ -1527,9 +3898,9 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
1527
3898
|
options: localVarRequestOptions
|
|
1528
3899
|
};
|
|
1529
3900
|
},
|
|
1530
|
-
|
|
1531
|
-
assertParamExists("
|
|
1532
|
-
const localVarPath = `/api/v1alpha1/
|
|
3901
|
+
getv1alpha1MenuItem: async (name, options = {}) => {
|
|
3902
|
+
assertParamExists("getv1alpha1MenuItem", "name", name);
|
|
3903
|
+
const localVarPath = `/api/v1alpha1/menuitems/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1533
3904
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1534
3905
|
let baseOptions;
|
|
1535
3906
|
if (configuration) {
|
|
@@ -1548,8 +3919,8 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
1548
3919
|
options: localVarRequestOptions
|
|
1549
3920
|
};
|
|
1550
3921
|
},
|
|
1551
|
-
|
|
1552
|
-
const localVarPath = `/api/v1alpha1/
|
|
3922
|
+
listv1alpha1MenuItem: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
3923
|
+
const localVarPath = `/api/v1alpha1/menuitems`;
|
|
1553
3924
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1554
3925
|
let baseOptions;
|
|
1555
3926
|
if (configuration) {
|
|
@@ -1580,9 +3951,9 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
1580
3951
|
options: localVarRequestOptions
|
|
1581
3952
|
};
|
|
1582
3953
|
},
|
|
1583
|
-
|
|
1584
|
-
assertParamExists("
|
|
1585
|
-
const localVarPath = `/api/v1alpha1/
|
|
3954
|
+
updatev1alpha1MenuItem: async (name, menuItem, options = {}) => {
|
|
3955
|
+
assertParamExists("updatev1alpha1MenuItem", "name", name);
|
|
3956
|
+
const localVarPath = `/api/v1alpha1/menuitems/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1586
3957
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1587
3958
|
let baseOptions;
|
|
1588
3959
|
if (configuration) {
|
|
@@ -1597,7 +3968,7 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
1597
3968
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1598
3969
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1599
3970
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1600
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3971
|
+
localVarRequestOptions.data = serializeDataIfNeeded(menuItem, localVarRequestOptions, configuration);
|
|
1601
3972
|
return {
|
|
1602
3973
|
url: toPathString(localVarUrlObj),
|
|
1603
3974
|
options: localVarRequestOptions
|
|
@@ -1605,68 +3976,69 @@ const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
|
1605
3976
|
}
|
|
1606
3977
|
};
|
|
1607
3978
|
};
|
|
1608
|
-
const
|
|
1609
|
-
const localVarAxiosParamCreator =
|
|
3979
|
+
const V1alpha1MenuItemApiFp = function(configuration) {
|
|
3980
|
+
const localVarAxiosParamCreator = V1alpha1MenuItemApiAxiosParamCreator(configuration);
|
|
1610
3981
|
return {
|
|
1611
|
-
async
|
|
1612
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3982
|
+
async createv1alpha1MenuItem(menuItem, options) {
|
|
3983
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1MenuItem(menuItem, options);
|
|
1613
3984
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1614
3985
|
},
|
|
1615
|
-
async
|
|
1616
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3986
|
+
async deletev1alpha1MenuItem(name, options) {
|
|
3987
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletev1alpha1MenuItem(name, options);
|
|
1617
3988
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1618
3989
|
},
|
|
1619
|
-
async
|
|
1620
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3990
|
+
async getv1alpha1MenuItem(name, options) {
|
|
3991
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1MenuItem(name, options);
|
|
1621
3992
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1622
3993
|
},
|
|
1623
|
-
async
|
|
1624
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3994
|
+
async listv1alpha1MenuItem(page, size, labelSelector, fieldSelector, options) {
|
|
3995
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1MenuItem(page, size, labelSelector, fieldSelector, options);
|
|
1625
3996
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1626
3997
|
},
|
|
1627
|
-
async
|
|
1628
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3998
|
+
async updatev1alpha1MenuItem(name, menuItem, options) {
|
|
3999
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1MenuItem(name, menuItem, options);
|
|
1629
4000
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1630
4001
|
}
|
|
1631
4002
|
};
|
|
1632
4003
|
};
|
|
1633
|
-
const
|
|
1634
|
-
const localVarFp =
|
|
4004
|
+
const V1alpha1MenuItemApiFactory = function(configuration, basePath, axios) {
|
|
4005
|
+
const localVarFp = V1alpha1MenuItemApiFp(configuration);
|
|
1635
4006
|
return {
|
|
1636
|
-
|
|
1637
|
-
return localVarFp.
|
|
4007
|
+
createv1alpha1MenuItem(menuItem, options) {
|
|
4008
|
+
return localVarFp.createv1alpha1MenuItem(menuItem, options).then((request) => request(axios, basePath));
|
|
1638
4009
|
},
|
|
1639
|
-
|
|
1640
|
-
return localVarFp.
|
|
4010
|
+
deletev1alpha1MenuItem(name, options) {
|
|
4011
|
+
return localVarFp.deletev1alpha1MenuItem(name, options).then((request) => request(axios, basePath));
|
|
1641
4012
|
},
|
|
1642
|
-
|
|
1643
|
-
return localVarFp.
|
|
4013
|
+
getv1alpha1MenuItem(name, options) {
|
|
4014
|
+
return localVarFp.getv1alpha1MenuItem(name, options).then((request) => request(axios, basePath));
|
|
1644
4015
|
},
|
|
1645
|
-
|
|
1646
|
-
return localVarFp.
|
|
4016
|
+
listv1alpha1MenuItem(page, size, labelSelector, fieldSelector, options) {
|
|
4017
|
+
return localVarFp.listv1alpha1MenuItem(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1647
4018
|
},
|
|
1648
|
-
|
|
1649
|
-
return localVarFp.
|
|
4019
|
+
updatev1alpha1MenuItem(name, menuItem, options) {
|
|
4020
|
+
return localVarFp.updatev1alpha1MenuItem(name, menuItem, options).then((request) => request(axios, basePath));
|
|
1650
4021
|
}
|
|
1651
4022
|
};
|
|
1652
4023
|
};
|
|
1653
|
-
class
|
|
1654
|
-
|
|
1655
|
-
return
|
|
4024
|
+
class V1alpha1MenuItemApi extends BaseAPI {
|
|
4025
|
+
createv1alpha1MenuItem(requestParameters = {}, options) {
|
|
4026
|
+
return V1alpha1MenuItemApiFp(this.configuration).createv1alpha1MenuItem(requestParameters.menuItem, options).then((request) => request(this.axios, this.basePath));
|
|
1656
4027
|
}
|
|
1657
|
-
|
|
1658
|
-
return
|
|
4028
|
+
deletev1alpha1MenuItem(requestParameters, options) {
|
|
4029
|
+
return V1alpha1MenuItemApiFp(this.configuration).deletev1alpha1MenuItem(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1659
4030
|
}
|
|
1660
|
-
|
|
1661
|
-
return
|
|
4031
|
+
getv1alpha1MenuItem(requestParameters, options) {
|
|
4032
|
+
return V1alpha1MenuItemApiFp(this.configuration).getv1alpha1MenuItem(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1662
4033
|
}
|
|
1663
|
-
|
|
1664
|
-
return
|
|
4034
|
+
listv1alpha1MenuItem(requestParameters = {}, options) {
|
|
4035
|
+
return V1alpha1MenuItemApiFp(this.configuration).listv1alpha1MenuItem(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1665
4036
|
}
|
|
1666
|
-
|
|
1667
|
-
return
|
|
4037
|
+
updatev1alpha1MenuItem(requestParameters, options) {
|
|
4038
|
+
return V1alpha1MenuItemApiFp(this.configuration).updatev1alpha1MenuItem(requestParameters.name, requestParameters.menuItem, options).then((request) => request(this.axios, this.basePath));
|
|
1668
4039
|
}
|
|
1669
4040
|
}
|
|
4041
|
+
|
|
1670
4042
|
const V1alpha1PersonalAccessTokenApiAxiosParamCreator = function(configuration) {
|
|
1671
4043
|
return {
|
|
1672
4044
|
createv1alpha1PersonalAccessToken: async (personalAccessToken, options = {}) => {
|
|
@@ -1836,22 +4208,23 @@ const V1alpha1PersonalAccessTokenApiFactory = function(configuration, basePath,
|
|
|
1836
4208
|
};
|
|
1837
4209
|
};
|
|
1838
4210
|
class V1alpha1PersonalAccessTokenApi extends BaseAPI {
|
|
1839
|
-
createv1alpha1PersonalAccessToken(
|
|
1840
|
-
return V1alpha1PersonalAccessTokenApiFp(this.configuration).createv1alpha1PersonalAccessToken(personalAccessToken, options).then((request) => request(this.axios, this.basePath));
|
|
4211
|
+
createv1alpha1PersonalAccessToken(requestParameters = {}, options) {
|
|
4212
|
+
return V1alpha1PersonalAccessTokenApiFp(this.configuration).createv1alpha1PersonalAccessToken(requestParameters.personalAccessToken, options).then((request) => request(this.axios, this.basePath));
|
|
1841
4213
|
}
|
|
1842
|
-
deletev1alpha1PersonalAccessToken(
|
|
1843
|
-
return V1alpha1PersonalAccessTokenApiFp(this.configuration).deletev1alpha1PersonalAccessToken(name, options).then((request) => request(this.axios, this.basePath));
|
|
4214
|
+
deletev1alpha1PersonalAccessToken(requestParameters, options) {
|
|
4215
|
+
return V1alpha1PersonalAccessTokenApiFp(this.configuration).deletev1alpha1PersonalAccessToken(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1844
4216
|
}
|
|
1845
|
-
getv1alpha1PersonalAccessToken(
|
|
1846
|
-
return V1alpha1PersonalAccessTokenApiFp(this.configuration).getv1alpha1PersonalAccessToken(name, options).then((request) => request(this.axios, this.basePath));
|
|
4217
|
+
getv1alpha1PersonalAccessToken(requestParameters, options) {
|
|
4218
|
+
return V1alpha1PersonalAccessTokenApiFp(this.configuration).getv1alpha1PersonalAccessToken(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1847
4219
|
}
|
|
1848
|
-
listv1alpha1PersonalAccessToken(
|
|
1849
|
-
return V1alpha1PersonalAccessTokenApiFp(this.configuration).listv1alpha1PersonalAccessToken(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
4220
|
+
listv1alpha1PersonalAccessToken(requestParameters = {}, options) {
|
|
4221
|
+
return V1alpha1PersonalAccessTokenApiFp(this.configuration).listv1alpha1PersonalAccessToken(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1850
4222
|
}
|
|
1851
|
-
updatev1alpha1PersonalAccessToken(
|
|
1852
|
-
return V1alpha1PersonalAccessTokenApiFp(this.configuration).updatev1alpha1PersonalAccessToken(name, personalAccessToken, options).then((request) => request(this.axios, this.basePath));
|
|
4223
|
+
updatev1alpha1PersonalAccessToken(requestParameters, options) {
|
|
4224
|
+
return V1alpha1PersonalAccessTokenApiFp(this.configuration).updatev1alpha1PersonalAccessToken(requestParameters.name, requestParameters.personalAccessToken, options).then((request) => request(this.axios, this.basePath));
|
|
1853
4225
|
}
|
|
1854
4226
|
}
|
|
4227
|
+
|
|
1855
4228
|
const V1alpha1RoleApiAxiosParamCreator = function(configuration) {
|
|
1856
4229
|
return {
|
|
1857
4230
|
createv1alpha1Role: async (role, options = {}) => {
|
|
@@ -2021,22 +4394,23 @@ const V1alpha1RoleApiFactory = function(configuration, basePath, axios) {
|
|
|
2021
4394
|
};
|
|
2022
4395
|
};
|
|
2023
4396
|
class V1alpha1RoleApi extends BaseAPI {
|
|
2024
|
-
createv1alpha1Role(
|
|
2025
|
-
return V1alpha1RoleApiFp(this.configuration).createv1alpha1Role(role, options).then((request) => request(this.axios, this.basePath));
|
|
4397
|
+
createv1alpha1Role(requestParameters = {}, options) {
|
|
4398
|
+
return V1alpha1RoleApiFp(this.configuration).createv1alpha1Role(requestParameters.role, options).then((request) => request(this.axios, this.basePath));
|
|
2026
4399
|
}
|
|
2027
|
-
deletev1alpha1Role(
|
|
2028
|
-
return V1alpha1RoleApiFp(this.configuration).deletev1alpha1Role(name, options).then((request) => request(this.axios, this.basePath));
|
|
4400
|
+
deletev1alpha1Role(requestParameters, options) {
|
|
4401
|
+
return V1alpha1RoleApiFp(this.configuration).deletev1alpha1Role(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2029
4402
|
}
|
|
2030
|
-
getv1alpha1Role(
|
|
2031
|
-
return V1alpha1RoleApiFp(this.configuration).getv1alpha1Role(name, options).then((request) => request(this.axios, this.basePath));
|
|
4403
|
+
getv1alpha1Role(requestParameters, options) {
|
|
4404
|
+
return V1alpha1RoleApiFp(this.configuration).getv1alpha1Role(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2032
4405
|
}
|
|
2033
|
-
listv1alpha1Role(
|
|
2034
|
-
return V1alpha1RoleApiFp(this.configuration).listv1alpha1Role(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
4406
|
+
listv1alpha1Role(requestParameters = {}, options) {
|
|
4407
|
+
return V1alpha1RoleApiFp(this.configuration).listv1alpha1Role(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2035
4408
|
}
|
|
2036
|
-
updatev1alpha1Role(
|
|
2037
|
-
return V1alpha1RoleApiFp(this.configuration).updatev1alpha1Role(name, role, options).then((request) => request(this.axios, this.basePath));
|
|
4409
|
+
updatev1alpha1Role(requestParameters, options) {
|
|
4410
|
+
return V1alpha1RoleApiFp(this.configuration).updatev1alpha1Role(requestParameters.name, requestParameters.role, options).then((request) => request(this.axios, this.basePath));
|
|
2038
4411
|
}
|
|
2039
4412
|
}
|
|
4413
|
+
|
|
2040
4414
|
const V1alpha1RoleBindingApiAxiosParamCreator = function(configuration) {
|
|
2041
4415
|
return {
|
|
2042
4416
|
createv1alpha1RoleBinding: async (roleBinding, options = {}) => {
|
|
@@ -2206,22 +4580,23 @@ const V1alpha1RoleBindingApiFactory = function(configuration, basePath, axios) {
|
|
|
2206
4580
|
};
|
|
2207
4581
|
};
|
|
2208
4582
|
class V1alpha1RoleBindingApi extends BaseAPI {
|
|
2209
|
-
createv1alpha1RoleBinding(
|
|
2210
|
-
return V1alpha1RoleBindingApiFp(this.configuration).createv1alpha1RoleBinding(roleBinding, options).then((request) => request(this.axios, this.basePath));
|
|
4583
|
+
createv1alpha1RoleBinding(requestParameters = {}, options) {
|
|
4584
|
+
return V1alpha1RoleBindingApiFp(this.configuration).createv1alpha1RoleBinding(requestParameters.roleBinding, options).then((request) => request(this.axios, this.basePath));
|
|
2211
4585
|
}
|
|
2212
|
-
deletev1alpha1RoleBinding(
|
|
2213
|
-
return V1alpha1RoleBindingApiFp(this.configuration).deletev1alpha1RoleBinding(name, options).then((request) => request(this.axios, this.basePath));
|
|
4586
|
+
deletev1alpha1RoleBinding(requestParameters, options) {
|
|
4587
|
+
return V1alpha1RoleBindingApiFp(this.configuration).deletev1alpha1RoleBinding(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2214
4588
|
}
|
|
2215
|
-
getv1alpha1RoleBinding(
|
|
2216
|
-
return V1alpha1RoleBindingApiFp(this.configuration).getv1alpha1RoleBinding(name, options).then((request) => request(this.axios, this.basePath));
|
|
4589
|
+
getv1alpha1RoleBinding(requestParameters, options) {
|
|
4590
|
+
return V1alpha1RoleBindingApiFp(this.configuration).getv1alpha1RoleBinding(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2217
4591
|
}
|
|
2218
|
-
listv1alpha1RoleBinding(
|
|
2219
|
-
return V1alpha1RoleBindingApiFp(this.configuration).listv1alpha1RoleBinding(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
4592
|
+
listv1alpha1RoleBinding(requestParameters = {}, options) {
|
|
4593
|
+
return V1alpha1RoleBindingApiFp(this.configuration).listv1alpha1RoleBinding(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2220
4594
|
}
|
|
2221
|
-
updatev1alpha1RoleBinding(
|
|
2222
|
-
return V1alpha1RoleBindingApiFp(this.configuration).updatev1alpha1RoleBinding(name, roleBinding, options).then((request) => request(this.axios, this.basePath));
|
|
4595
|
+
updatev1alpha1RoleBinding(requestParameters, options) {
|
|
4596
|
+
return V1alpha1RoleBindingApiFp(this.configuration).updatev1alpha1RoleBinding(requestParameters.name, requestParameters.roleBinding, options).then((request) => request(this.axios, this.basePath));
|
|
2223
4597
|
}
|
|
2224
4598
|
}
|
|
4599
|
+
|
|
2225
4600
|
const V1alpha1SettingApiAxiosParamCreator = function(configuration) {
|
|
2226
4601
|
return {
|
|
2227
4602
|
createv1alpha1Setting: async (setting, options = {}) => {
|
|
@@ -2391,22 +4766,23 @@ const V1alpha1SettingApiFactory = function(configuration, basePath, axios) {
|
|
|
2391
4766
|
};
|
|
2392
4767
|
};
|
|
2393
4768
|
class V1alpha1SettingApi extends BaseAPI {
|
|
2394
|
-
createv1alpha1Setting(
|
|
2395
|
-
return V1alpha1SettingApiFp(this.configuration).createv1alpha1Setting(setting, options).then((request) => request(this.axios, this.basePath));
|
|
4769
|
+
createv1alpha1Setting(requestParameters = {}, options) {
|
|
4770
|
+
return V1alpha1SettingApiFp(this.configuration).createv1alpha1Setting(requestParameters.setting, options).then((request) => request(this.axios, this.basePath));
|
|
2396
4771
|
}
|
|
2397
|
-
deletev1alpha1Setting(
|
|
2398
|
-
return V1alpha1SettingApiFp(this.configuration).deletev1alpha1Setting(name, options).then((request) => request(this.axios, this.basePath));
|
|
4772
|
+
deletev1alpha1Setting(requestParameters, options) {
|
|
4773
|
+
return V1alpha1SettingApiFp(this.configuration).deletev1alpha1Setting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2399
4774
|
}
|
|
2400
|
-
getv1alpha1Setting(
|
|
2401
|
-
return V1alpha1SettingApiFp(this.configuration).getv1alpha1Setting(name, options).then((request) => request(this.axios, this.basePath));
|
|
4775
|
+
getv1alpha1Setting(requestParameters, options) {
|
|
4776
|
+
return V1alpha1SettingApiFp(this.configuration).getv1alpha1Setting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2402
4777
|
}
|
|
2403
|
-
listv1alpha1Setting(
|
|
2404
|
-
return V1alpha1SettingApiFp(this.configuration).listv1alpha1Setting(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
4778
|
+
listv1alpha1Setting(requestParameters = {}, options) {
|
|
4779
|
+
return V1alpha1SettingApiFp(this.configuration).listv1alpha1Setting(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2405
4780
|
}
|
|
2406
|
-
updatev1alpha1Setting(
|
|
2407
|
-
return V1alpha1SettingApiFp(this.configuration).updatev1alpha1Setting(name, setting, options).then((request) => request(this.axios, this.basePath));
|
|
4781
|
+
updatev1alpha1Setting(requestParameters, options) {
|
|
4782
|
+
return V1alpha1SettingApiFp(this.configuration).updatev1alpha1Setting(requestParameters.name, requestParameters.setting, options).then((request) => request(this.axios, this.basePath));
|
|
2408
4783
|
}
|
|
2409
4784
|
}
|
|
4785
|
+
|
|
2410
4786
|
const V1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
2411
4787
|
return {
|
|
2412
4788
|
createv1alpha1User: async (user, options = {}) => {
|
|
@@ -2576,20 +4952,20 @@ const V1alpha1UserApiFactory = function(configuration, basePath, axios) {
|
|
|
2576
4952
|
};
|
|
2577
4953
|
};
|
|
2578
4954
|
class V1alpha1UserApi extends BaseAPI {
|
|
2579
|
-
createv1alpha1User(
|
|
2580
|
-
return V1alpha1UserApiFp(this.configuration).createv1alpha1User(user, options).then((request) => request(this.axios, this.basePath));
|
|
4955
|
+
createv1alpha1User(requestParameters = {}, options) {
|
|
4956
|
+
return V1alpha1UserApiFp(this.configuration).createv1alpha1User(requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
2581
4957
|
}
|
|
2582
|
-
deletev1alpha1User(
|
|
2583
|
-
return V1alpha1UserApiFp(this.configuration).deletev1alpha1User(name, options).then((request) => request(this.axios, this.basePath));
|
|
4958
|
+
deletev1alpha1User(requestParameters, options) {
|
|
4959
|
+
return V1alpha1UserApiFp(this.configuration).deletev1alpha1User(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2584
4960
|
}
|
|
2585
|
-
getv1alpha1User(
|
|
2586
|
-
return V1alpha1UserApiFp(this.configuration).getv1alpha1User(name, options).then((request) => request(this.axios, this.basePath));
|
|
4961
|
+
getv1alpha1User(requestParameters, options) {
|
|
4962
|
+
return V1alpha1UserApiFp(this.configuration).getv1alpha1User(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2587
4963
|
}
|
|
2588
|
-
listv1alpha1User(
|
|
2589
|
-
return V1alpha1UserApiFp(this.configuration).listv1alpha1User(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
4964
|
+
listv1alpha1User(requestParameters = {}, options) {
|
|
4965
|
+
return V1alpha1UserApiFp(this.configuration).listv1alpha1User(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2590
4966
|
}
|
|
2591
|
-
updatev1alpha1User(
|
|
2592
|
-
return V1alpha1UserApiFp(this.configuration).updatev1alpha1User(name, user, options).then((request) => request(this.axios, this.basePath));
|
|
4967
|
+
updatev1alpha1User(requestParameters, options) {
|
|
4968
|
+
return V1alpha1UserApiFp(this.configuration).updatev1alpha1User(requestParameters.name, requestParameters.user, options).then((request) => request(this.axios, this.basePath));
|
|
2593
4969
|
}
|
|
2594
4970
|
}
|
|
2595
4971
|
|
|
@@ -2609,4 +4985,31 @@ class Configuration {
|
|
|
2609
4985
|
}
|
|
2610
4986
|
}
|
|
2611
4987
|
|
|
2612
|
-
|
|
4988
|
+
const ConditionStatusEnum = {
|
|
4989
|
+
True: "TRUE",
|
|
4990
|
+
False: "FALSE",
|
|
4991
|
+
Unknown: "UNKNOWN"
|
|
4992
|
+
};
|
|
4993
|
+
|
|
4994
|
+
const PluginStatusPhaseEnum = {
|
|
4995
|
+
Created: "CREATED",
|
|
4996
|
+
Disabled: "DISABLED",
|
|
4997
|
+
Resolved: "RESOLVED",
|
|
4998
|
+
Started: "STARTED",
|
|
4999
|
+
Stopped: "STOPPED",
|
|
5000
|
+
Failed: "FAILED"
|
|
5001
|
+
};
|
|
5002
|
+
|
|
5003
|
+
const PostSpecVisibleEnum = {
|
|
5004
|
+
Public: "PUBLIC",
|
|
5005
|
+
Internal: "INTERNAL",
|
|
5006
|
+
Private: "PRIVATE"
|
|
5007
|
+
};
|
|
5008
|
+
|
|
5009
|
+
const SinglePageSpecVisibleEnum = {
|
|
5010
|
+
Public: "PUBLIC",
|
|
5011
|
+
Internal: "INTERNAL",
|
|
5012
|
+
Private: "PRIVATE"
|
|
5013
|
+
};
|
|
5014
|
+
|
|
5015
|
+
export { ApiHaloRunV1alpha1ContentApi, ApiHaloRunV1alpha1ContentApiAxiosParamCreator, ApiHaloRunV1alpha1ContentApiFactory, ApiHaloRunV1alpha1ContentApiFp, ApiHaloRunV1alpha1PluginApi, ApiHaloRunV1alpha1PluginApiAxiosParamCreator, ApiHaloRunV1alpha1PluginApiFactory, ApiHaloRunV1alpha1PluginApiFp, ApiHaloRunV1alpha1PostApi, ApiHaloRunV1alpha1PostApiAxiosParamCreator, ApiHaloRunV1alpha1PostApiFactory, ApiHaloRunV1alpha1PostApiFp, ApiHaloRunV1alpha1ThemeApi, ApiHaloRunV1alpha1ThemeApiAxiosParamCreator, ApiHaloRunV1alpha1ThemeApiFactory, ApiHaloRunV1alpha1ThemeApiFp, ApiHaloRunV1alpha1UserApi, ApiHaloRunV1alpha1UserApiAxiosParamCreator, ApiHaloRunV1alpha1UserApiFactory, ApiHaloRunV1alpha1UserApiFp, ConditionStatusEnum, Configuration, ContentHaloRunV1alpha1CategoryApi, ContentHaloRunV1alpha1CategoryApiAxiosParamCreator, ContentHaloRunV1alpha1CategoryApiFactory, ContentHaloRunV1alpha1CategoryApiFp, ContentHaloRunV1alpha1CommentApi, ContentHaloRunV1alpha1CommentApiAxiosParamCreator, ContentHaloRunV1alpha1CommentApiFactory, ContentHaloRunV1alpha1CommentApiFp, ContentHaloRunV1alpha1PostApi, ContentHaloRunV1alpha1PostApiAxiosParamCreator, ContentHaloRunV1alpha1PostApiFactory, ContentHaloRunV1alpha1PostApiFp, ContentHaloRunV1alpha1ReplyApi, ContentHaloRunV1alpha1ReplyApiAxiosParamCreator, ContentHaloRunV1alpha1ReplyApiFactory, ContentHaloRunV1alpha1ReplyApiFp, ContentHaloRunV1alpha1SinglePageApi, ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator, ContentHaloRunV1alpha1SinglePageApiFactory, ContentHaloRunV1alpha1SinglePageApiFp, ContentHaloRunV1alpha1SnapshotApi, ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator, ContentHaloRunV1alpha1SnapshotApiFactory, ContentHaloRunV1alpha1SnapshotApiFp, ContentHaloRunV1alpha1TagApi, ContentHaloRunV1alpha1TagApiAxiosParamCreator, ContentHaloRunV1alpha1TagApiFactory, ContentHaloRunV1alpha1TagApiFp, PluginHaloRunV1alpha1PluginApi, PluginHaloRunV1alpha1PluginApiAxiosParamCreator, PluginHaloRunV1alpha1PluginApiFactory, PluginHaloRunV1alpha1PluginApiFp, PluginHaloRunV1alpha1ReverseProxyApi, PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator, PluginHaloRunV1alpha1ReverseProxyApiFactory, PluginHaloRunV1alpha1ReverseProxyApiFp, PluginStatusPhaseEnum, PostSpecVisibleEnum, SinglePageSpecVisibleEnum, StorageHaloRunV1alpha1AttachmentApi, StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator, StorageHaloRunV1alpha1AttachmentApiFactory, StorageHaloRunV1alpha1AttachmentApiFp, StorageHaloRunV1alpha1GroupApi, StorageHaloRunV1alpha1GroupApiAxiosParamCreator, StorageHaloRunV1alpha1GroupApiFactory, StorageHaloRunV1alpha1GroupApiFp, StorageHaloRunV1alpha1PolicyApi, StorageHaloRunV1alpha1PolicyApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyApiFactory, StorageHaloRunV1alpha1PolicyApiFp, StorageHaloRunV1alpha1PolicyTemplateApi, StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyTemplateApiFactory, StorageHaloRunV1alpha1PolicyTemplateApiFp, ThemeHaloRunV1alpha1ThemeApi, ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator, ThemeHaloRunV1alpha1ThemeApiFactory, ThemeHaloRunV1alpha1ThemeApiFp, V1alpha1ConfigMapApi, V1alpha1ConfigMapApiAxiosParamCreator, V1alpha1ConfigMapApiFactory, V1alpha1ConfigMapApiFp, V1alpha1MenuApi, V1alpha1MenuApiAxiosParamCreator, V1alpha1MenuApiFactory, V1alpha1MenuApiFp, V1alpha1MenuItemApi, V1alpha1MenuItemApiAxiosParamCreator, V1alpha1MenuItemApiFactory, V1alpha1MenuItemApiFp, V1alpha1PersonalAccessTokenApi, V1alpha1PersonalAccessTokenApiAxiosParamCreator, V1alpha1PersonalAccessTokenApiFactory, V1alpha1PersonalAccessTokenApiFp, V1alpha1RoleApi, V1alpha1RoleApiAxiosParamCreator, V1alpha1RoleApiFactory, V1alpha1RoleApiFp, V1alpha1RoleBindingApi, V1alpha1RoleBindingApiAxiosParamCreator, V1alpha1RoleBindingApiFactory, V1alpha1RoleBindingApiFp, V1alpha1SettingApi, V1alpha1SettingApiAxiosParamCreator, V1alpha1SettingApiFactory, V1alpha1SettingApiFp, V1alpha1UserApi, V1alpha1UserApiAxiosParamCreator, V1alpha1UserApiFactory, V1alpha1UserApiFp };
|