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