@teemill/product-catalog 1.16.0 → 1.18.0
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/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/api.ts +899 -10
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +616 -10
- package/dist/api.js +444 -3
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +616 -10
- package/dist/esm/api.js +439 -2
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product Catalog API
|
|
5
5
|
* Manage Product Catalog A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a warehouse product, plus listing information such as title, description and tags.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.18.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -129,6 +129,118 @@ export interface ApplicationMockup {
|
|
|
129
129
|
*/
|
|
130
130
|
'preview'?: string;
|
|
131
131
|
}
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @export
|
|
135
|
+
* @interface ApplicationSet
|
|
136
|
+
*/
|
|
137
|
+
export interface ApplicationSet {
|
|
138
|
+
/**
|
|
139
|
+
* Unique object identifier
|
|
140
|
+
* @type {string}
|
|
141
|
+
* @memberof ApplicationSet
|
|
142
|
+
*/
|
|
143
|
+
'id'?: string;
|
|
144
|
+
/**
|
|
145
|
+
* Name of the application set
|
|
146
|
+
* @type {string}
|
|
147
|
+
* @memberof ApplicationSet
|
|
148
|
+
*/
|
|
149
|
+
'name': string;
|
|
150
|
+
/**
|
|
151
|
+
* Description of the application set
|
|
152
|
+
* @type {string}
|
|
153
|
+
* @memberof ApplicationSet
|
|
154
|
+
*/
|
|
155
|
+
'description'?: string;
|
|
156
|
+
/**
|
|
157
|
+
* The width, in pixels of the images in the set
|
|
158
|
+
* @type {number}
|
|
159
|
+
* @memberof ApplicationSet
|
|
160
|
+
*/
|
|
161
|
+
'width': number;
|
|
162
|
+
/**
|
|
163
|
+
* The height, in pixels of the images in the set
|
|
164
|
+
* @type {number}
|
|
165
|
+
* @memberof ApplicationSet
|
|
166
|
+
*/
|
|
167
|
+
'height': number;
|
|
168
|
+
/**
|
|
169
|
+
* The DPI used when printing the images in the set
|
|
170
|
+
* @type {number}
|
|
171
|
+
* @memberof ApplicationSet
|
|
172
|
+
*/
|
|
173
|
+
'dpi': number;
|
|
174
|
+
/**
|
|
175
|
+
* List of application set records
|
|
176
|
+
* @type {Array<ApplicationSetRecord>}
|
|
177
|
+
* @memberof ApplicationSet
|
|
178
|
+
*/
|
|
179
|
+
'records'?: Array<ApplicationSetRecord>;
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* @export
|
|
184
|
+
* @interface ApplicationSet1
|
|
185
|
+
*/
|
|
186
|
+
export interface ApplicationSet1 {
|
|
187
|
+
/**
|
|
188
|
+
* Unique object identifier
|
|
189
|
+
* @type {string}
|
|
190
|
+
* @memberof ApplicationSet1
|
|
191
|
+
*/
|
|
192
|
+
'id'?: string;
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
*
|
|
196
|
+
* @export
|
|
197
|
+
* @interface ApplicationSetRecord
|
|
198
|
+
*/
|
|
199
|
+
export interface ApplicationSetRecord {
|
|
200
|
+
/**
|
|
201
|
+
* Unique object identifier
|
|
202
|
+
* @type {string}
|
|
203
|
+
* @memberof ApplicationSetRecord
|
|
204
|
+
*/
|
|
205
|
+
'id'?: string;
|
|
206
|
+
/**
|
|
207
|
+
*
|
|
208
|
+
* @type {ApplicationSet1}
|
|
209
|
+
* @memberof ApplicationSetRecord
|
|
210
|
+
*/
|
|
211
|
+
'set'?: ApplicationSet1;
|
|
212
|
+
/**
|
|
213
|
+
* Attributes associated to a variant such as Colour and Size. An attribute can have thumbnail type of `text`, `color`, or `image`. Attribute tags are intended for grouping and filtering, e.g. by a group of colours.
|
|
214
|
+
* @type {Array<Attribute>}
|
|
215
|
+
* @memberof ApplicationSetRecord
|
|
216
|
+
*/
|
|
217
|
+
'attributes'?: Array<Attribute>;
|
|
218
|
+
/**
|
|
219
|
+
* List of applications for this record
|
|
220
|
+
* @type {Array<Application>}
|
|
221
|
+
* @memberof ApplicationSetRecord
|
|
222
|
+
*/
|
|
223
|
+
'applications'?: Array<Application>;
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
*
|
|
227
|
+
* @export
|
|
228
|
+
* @interface ApplicationSetsResponse
|
|
229
|
+
*/
|
|
230
|
+
export interface ApplicationSetsResponse {
|
|
231
|
+
/**
|
|
232
|
+
*
|
|
233
|
+
* @type {Array<ApplicationSet>}
|
|
234
|
+
* @memberof ApplicationSetsResponse
|
|
235
|
+
*/
|
|
236
|
+
'applicationSets'?: Array<ApplicationSet>;
|
|
237
|
+
/**
|
|
238
|
+
*
|
|
239
|
+
* @type {number}
|
|
240
|
+
* @memberof ApplicationSetsResponse
|
|
241
|
+
*/
|
|
242
|
+
'nextPageToken'?: number;
|
|
243
|
+
}
|
|
132
244
|
/**
|
|
133
245
|
*
|
|
134
246
|
* @export
|
|
@@ -149,10 +261,10 @@ export interface Attribute {
|
|
|
149
261
|
'value': string;
|
|
150
262
|
/**
|
|
151
263
|
*
|
|
152
|
-
* @type {
|
|
264
|
+
* @type {CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnail}
|
|
153
265
|
* @memberof Attribute
|
|
154
266
|
*/
|
|
155
|
-
'thumbnail'?:
|
|
267
|
+
'thumbnail'?: CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnail;
|
|
156
268
|
/**
|
|
157
269
|
* Attribute tags
|
|
158
270
|
* @type {Array<string>}
|
|
@@ -160,33 +272,120 @@ export interface Attribute {
|
|
|
160
272
|
*/
|
|
161
273
|
'tags'?: Array<string>;
|
|
162
274
|
}
|
|
275
|
+
/**
|
|
276
|
+
*
|
|
277
|
+
* @export
|
|
278
|
+
* @interface CreateApplicationSetRequest
|
|
279
|
+
*/
|
|
280
|
+
export interface CreateApplicationSetRequest {
|
|
281
|
+
/**
|
|
282
|
+
* Name of the application set
|
|
283
|
+
* @type {string}
|
|
284
|
+
* @memberof CreateApplicationSetRequest
|
|
285
|
+
*/
|
|
286
|
+
'name'?: string;
|
|
287
|
+
/**
|
|
288
|
+
* Description of the application set
|
|
289
|
+
* @type {string}
|
|
290
|
+
* @memberof CreateApplicationSetRequest
|
|
291
|
+
*/
|
|
292
|
+
'description'?: string;
|
|
293
|
+
/**
|
|
294
|
+
* The width, in pixels of the images in the set
|
|
295
|
+
* @type {number}
|
|
296
|
+
* @memberof CreateApplicationSetRequest
|
|
297
|
+
*/
|
|
298
|
+
'width'?: number;
|
|
299
|
+
/**
|
|
300
|
+
* The height, in pixels of the images in the set
|
|
301
|
+
* @type {number}
|
|
302
|
+
* @memberof CreateApplicationSetRequest
|
|
303
|
+
*/
|
|
304
|
+
'height'?: number;
|
|
305
|
+
/**
|
|
306
|
+
* The DPI used when printing the images in the set
|
|
307
|
+
* @type {number}
|
|
308
|
+
* @memberof CreateApplicationSetRequest
|
|
309
|
+
*/
|
|
310
|
+
'dpi'?: number;
|
|
311
|
+
/**
|
|
312
|
+
* List of application set records
|
|
313
|
+
* @type {Array<CreateApplicationSetRequestRecordsInner>}
|
|
314
|
+
* @memberof CreateApplicationSetRequest
|
|
315
|
+
*/
|
|
316
|
+
'records'?: Array<CreateApplicationSetRequestRecordsInner>;
|
|
317
|
+
}
|
|
318
|
+
/**
|
|
319
|
+
*
|
|
320
|
+
* @export
|
|
321
|
+
* @interface CreateApplicationSetRequestRecordsInner
|
|
322
|
+
*/
|
|
323
|
+
export interface CreateApplicationSetRequestRecordsInner {
|
|
324
|
+
/**
|
|
325
|
+
* List of attributes this record applies to
|
|
326
|
+
* @type {Array<CreateApplicationSetRequestRecordsInnerAttributesInner>}
|
|
327
|
+
* @memberof CreateApplicationSetRequestRecordsInner
|
|
328
|
+
*/
|
|
329
|
+
'attributes'?: Array<CreateApplicationSetRequestRecordsInnerAttributesInner>;
|
|
330
|
+
/**
|
|
331
|
+
* List of applications for this record
|
|
332
|
+
* @type {Array<Application>}
|
|
333
|
+
* @memberof CreateApplicationSetRequestRecordsInner
|
|
334
|
+
*/
|
|
335
|
+
'applications'?: Array<Application>;
|
|
336
|
+
}
|
|
337
|
+
/**
|
|
338
|
+
*
|
|
339
|
+
* @export
|
|
340
|
+
* @interface CreateApplicationSetRequestRecordsInnerAttributesInner
|
|
341
|
+
*/
|
|
342
|
+
export interface CreateApplicationSetRequestRecordsInnerAttributesInner {
|
|
343
|
+
/**
|
|
344
|
+
* The name of the option type. e.g. Size, Colour
|
|
345
|
+
* @type {string}
|
|
346
|
+
* @memberof CreateApplicationSetRequestRecordsInnerAttributesInner
|
|
347
|
+
*/
|
|
348
|
+
'name'?: string;
|
|
349
|
+
/**
|
|
350
|
+
* The value of the option this record applies to
|
|
351
|
+
* @type {string}
|
|
352
|
+
* @memberof CreateApplicationSetRequestRecordsInnerAttributesInner
|
|
353
|
+
*/
|
|
354
|
+
'value'?: string;
|
|
355
|
+
/**
|
|
356
|
+
*
|
|
357
|
+
* @type {CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnail}
|
|
358
|
+
* @memberof CreateApplicationSetRequestRecordsInnerAttributesInner
|
|
359
|
+
*/
|
|
360
|
+
'thumbnail'?: CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnail;
|
|
361
|
+
}
|
|
163
362
|
/**
|
|
164
363
|
* Attribute thumbnail, intended for interfaces like storefront colour selector.
|
|
165
364
|
* @export
|
|
166
|
-
* @interface
|
|
365
|
+
* @interface CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnail
|
|
167
366
|
*/
|
|
168
|
-
export interface
|
|
367
|
+
export interface CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnail {
|
|
169
368
|
/**
|
|
170
369
|
*
|
|
171
370
|
* @type {string}
|
|
172
|
-
* @memberof
|
|
371
|
+
* @memberof CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnail
|
|
173
372
|
*/
|
|
174
|
-
'type'?:
|
|
373
|
+
'type'?: CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnailTypeEnum;
|
|
175
374
|
/**
|
|
176
375
|
*
|
|
177
376
|
* @type {string}
|
|
178
|
-
* @memberof
|
|
377
|
+
* @memberof CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnail
|
|
179
378
|
*/
|
|
180
379
|
'value'?: string;
|
|
181
380
|
}
|
|
182
381
|
|
|
183
|
-
export const
|
|
382
|
+
export const CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnailTypeEnum = {
|
|
184
383
|
Text: 'text',
|
|
185
384
|
Color: 'color',
|
|
186
385
|
Image: 'image'
|
|
187
386
|
} as const;
|
|
188
387
|
|
|
189
|
-
export type
|
|
388
|
+
export type CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnailTypeEnum = typeof CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnailTypeEnum[keyof typeof CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnailTypeEnum];
|
|
190
389
|
|
|
191
390
|
/**
|
|
192
391
|
*
|
|
@@ -665,6 +864,93 @@ export interface Stock {
|
|
|
665
864
|
*/
|
|
666
865
|
'level'?: number;
|
|
667
866
|
}
|
|
867
|
+
/**
|
|
868
|
+
*
|
|
869
|
+
* @export
|
|
870
|
+
* @interface UpdateApplicationSetRequest
|
|
871
|
+
*/
|
|
872
|
+
export interface UpdateApplicationSetRequest {
|
|
873
|
+
/**
|
|
874
|
+
*
|
|
875
|
+
* @type {string}
|
|
876
|
+
* @memberof UpdateApplicationSetRequest
|
|
877
|
+
*/
|
|
878
|
+
'id'?: string;
|
|
879
|
+
/**
|
|
880
|
+
* Name of the application set
|
|
881
|
+
* @type {string}
|
|
882
|
+
* @memberof UpdateApplicationSetRequest
|
|
883
|
+
*/
|
|
884
|
+
'name'?: string;
|
|
885
|
+
/**
|
|
886
|
+
* Description of the application set
|
|
887
|
+
* @type {string}
|
|
888
|
+
* @memberof UpdateApplicationSetRequest
|
|
889
|
+
*/
|
|
890
|
+
'description'?: string;
|
|
891
|
+
/**
|
|
892
|
+
* The width, in pixels of the images in the set
|
|
893
|
+
* @type {number}
|
|
894
|
+
* @memberof UpdateApplicationSetRequest
|
|
895
|
+
*/
|
|
896
|
+
'width'?: number;
|
|
897
|
+
/**
|
|
898
|
+
* The height, in pixels of the images in the set
|
|
899
|
+
* @type {number}
|
|
900
|
+
* @memberof UpdateApplicationSetRequest
|
|
901
|
+
*/
|
|
902
|
+
'height'?: number;
|
|
903
|
+
/**
|
|
904
|
+
* The DPI used when printing the images in the set
|
|
905
|
+
* @type {number}
|
|
906
|
+
* @memberof UpdateApplicationSetRequest
|
|
907
|
+
*/
|
|
908
|
+
'dpi'?: number;
|
|
909
|
+
/**
|
|
910
|
+
* List of application set records
|
|
911
|
+
* @type {Array<UpdateApplicationSetRequestRecordsInner>}
|
|
912
|
+
* @memberof UpdateApplicationSetRequest
|
|
913
|
+
*/
|
|
914
|
+
'records'?: Array<UpdateApplicationSetRequestRecordsInner>;
|
|
915
|
+
}
|
|
916
|
+
/**
|
|
917
|
+
*
|
|
918
|
+
* @export
|
|
919
|
+
* @interface UpdateApplicationSetRequestRecordsInner
|
|
920
|
+
*/
|
|
921
|
+
export interface UpdateApplicationSetRequestRecordsInner {
|
|
922
|
+
/**
|
|
923
|
+
* List of attributes this record applies to
|
|
924
|
+
* @type {Array<UpdateApplicationSetRequestRecordsInnerAttributesInner>}
|
|
925
|
+
* @memberof UpdateApplicationSetRequestRecordsInner
|
|
926
|
+
*/
|
|
927
|
+
'attributes'?: Array<UpdateApplicationSetRequestRecordsInnerAttributesInner>;
|
|
928
|
+
/**
|
|
929
|
+
* List of applications for this record
|
|
930
|
+
* @type {Array<Application>}
|
|
931
|
+
* @memberof UpdateApplicationSetRequestRecordsInner
|
|
932
|
+
*/
|
|
933
|
+
'applications'?: Array<Application>;
|
|
934
|
+
}
|
|
935
|
+
/**
|
|
936
|
+
*
|
|
937
|
+
* @export
|
|
938
|
+
* @interface UpdateApplicationSetRequestRecordsInnerAttributesInner
|
|
939
|
+
*/
|
|
940
|
+
export interface UpdateApplicationSetRequestRecordsInnerAttributesInner {
|
|
941
|
+
/**
|
|
942
|
+
* The name of the option type. e.g. Size, Colour
|
|
943
|
+
* @type {string}
|
|
944
|
+
* @memberof UpdateApplicationSetRequestRecordsInnerAttributesInner
|
|
945
|
+
*/
|
|
946
|
+
'option'?: string;
|
|
947
|
+
/**
|
|
948
|
+
* The value of the option this record applies to
|
|
949
|
+
* @type {string}
|
|
950
|
+
* @memberof UpdateApplicationSetRequestRecordsInnerAttributesInner
|
|
951
|
+
*/
|
|
952
|
+
'value'?: string;
|
|
953
|
+
}
|
|
668
954
|
/**
|
|
669
955
|
*
|
|
670
956
|
* @export
|
|
@@ -880,6 +1166,609 @@ export interface VariantsResponse {
|
|
|
880
1166
|
'nextPageToken'?: number;
|
|
881
1167
|
}
|
|
882
1168
|
|
|
1169
|
+
/**
|
|
1170
|
+
* ApplicationSetsApi - axios parameter creator
|
|
1171
|
+
* @export
|
|
1172
|
+
*/
|
|
1173
|
+
export const ApplicationSetsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
1174
|
+
return {
|
|
1175
|
+
/**
|
|
1176
|
+
* Creates a new application set.
|
|
1177
|
+
* @summary Create application set
|
|
1178
|
+
* @param {string} project What project it is
|
|
1179
|
+
* @param {CreateApplicationSetRequest} [createApplicationSetRequest] Create a new application set.
|
|
1180
|
+
* @param {*} [options] Override http request option.
|
|
1181
|
+
* @throws {RequiredError}
|
|
1182
|
+
*/
|
|
1183
|
+
createApplicationSet: async (project: string, createApplicationSetRequest?: CreateApplicationSetRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1184
|
+
// verify required parameter 'project' is not null or undefined
|
|
1185
|
+
assertParamExists('createApplicationSet', 'project', project)
|
|
1186
|
+
const localVarPath = `/v1/catalog/applications/sets`;
|
|
1187
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1188
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1189
|
+
let baseOptions;
|
|
1190
|
+
if (configuration) {
|
|
1191
|
+
baseOptions = configuration.baseOptions;
|
|
1192
|
+
}
|
|
1193
|
+
|
|
1194
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1195
|
+
const localVarHeaderParameter = {} as any;
|
|
1196
|
+
const localVarQueryParameter = {} as any;
|
|
1197
|
+
|
|
1198
|
+
// authentication session-oauth required
|
|
1199
|
+
// oauth required
|
|
1200
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1201
|
+
|
|
1202
|
+
// authentication api-key required
|
|
1203
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1204
|
+
|
|
1205
|
+
if (project !== undefined) {
|
|
1206
|
+
localVarQueryParameter['project'] = project;
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
|
|
1210
|
+
|
|
1211
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1212
|
+
|
|
1213
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1214
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1215
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1216
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createApplicationSetRequest, localVarRequestOptions, configuration)
|
|
1217
|
+
|
|
1218
|
+
return {
|
|
1219
|
+
url: toPathString(localVarUrlObj),
|
|
1220
|
+
options: localVarRequestOptions,
|
|
1221
|
+
};
|
|
1222
|
+
},
|
|
1223
|
+
/**
|
|
1224
|
+
* Deletes an existing application set.
|
|
1225
|
+
* @summary Delete an application set
|
|
1226
|
+
* @param {string} project What project it is
|
|
1227
|
+
* @param {string} applicationSetId Application set\'s unique identifier
|
|
1228
|
+
* @param {*} [options] Override http request option.
|
|
1229
|
+
* @throws {RequiredError}
|
|
1230
|
+
*/
|
|
1231
|
+
deleteApplicationSet: async (project: string, applicationSetId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1232
|
+
// verify required parameter 'project' is not null or undefined
|
|
1233
|
+
assertParamExists('deleteApplicationSet', 'project', project)
|
|
1234
|
+
// verify required parameter 'applicationSetId' is not null or undefined
|
|
1235
|
+
assertParamExists('deleteApplicationSet', 'applicationSetId', applicationSetId)
|
|
1236
|
+
const localVarPath = `/v1/catalog/applications/sets/{applicationSetId}`
|
|
1237
|
+
.replace(`{${"applicationSetId"}}`, encodeURIComponent(String(applicationSetId)));
|
|
1238
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1239
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1240
|
+
let baseOptions;
|
|
1241
|
+
if (configuration) {
|
|
1242
|
+
baseOptions = configuration.baseOptions;
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1245
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
1246
|
+
const localVarHeaderParameter = {} as any;
|
|
1247
|
+
const localVarQueryParameter = {} as any;
|
|
1248
|
+
|
|
1249
|
+
// authentication session-oauth required
|
|
1250
|
+
// oauth required
|
|
1251
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1252
|
+
|
|
1253
|
+
// authentication api-key required
|
|
1254
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1255
|
+
|
|
1256
|
+
if (project !== undefined) {
|
|
1257
|
+
localVarQueryParameter['project'] = project;
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1260
|
+
|
|
1261
|
+
|
|
1262
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1263
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1264
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1265
|
+
|
|
1266
|
+
return {
|
|
1267
|
+
url: toPathString(localVarUrlObj),
|
|
1268
|
+
options: localVarRequestOptions,
|
|
1269
|
+
};
|
|
1270
|
+
},
|
|
1271
|
+
/**
|
|
1272
|
+
* Get an application by the given id.
|
|
1273
|
+
* @summary Get an application set
|
|
1274
|
+
* @param {string} project What project it is
|
|
1275
|
+
* @param {string} applicationSetId Application set\'s unique identifier
|
|
1276
|
+
* @param {*} [options] Override http request option.
|
|
1277
|
+
* @throws {RequiredError}
|
|
1278
|
+
*/
|
|
1279
|
+
getApplicationSet: async (project: string, applicationSetId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1280
|
+
// verify required parameter 'project' is not null or undefined
|
|
1281
|
+
assertParamExists('getApplicationSet', 'project', project)
|
|
1282
|
+
// verify required parameter 'applicationSetId' is not null or undefined
|
|
1283
|
+
assertParamExists('getApplicationSet', 'applicationSetId', applicationSetId)
|
|
1284
|
+
const localVarPath = `/v1/catalog/applications/sets/{applicationSetId}`
|
|
1285
|
+
.replace(`{${"applicationSetId"}}`, encodeURIComponent(String(applicationSetId)));
|
|
1286
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1287
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1288
|
+
let baseOptions;
|
|
1289
|
+
if (configuration) {
|
|
1290
|
+
baseOptions = configuration.baseOptions;
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1294
|
+
const localVarHeaderParameter = {} as any;
|
|
1295
|
+
const localVarQueryParameter = {} as any;
|
|
1296
|
+
|
|
1297
|
+
// authentication session-oauth required
|
|
1298
|
+
// oauth required
|
|
1299
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1300
|
+
|
|
1301
|
+
// authentication api-key required
|
|
1302
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1303
|
+
|
|
1304
|
+
if (project !== undefined) {
|
|
1305
|
+
localVarQueryParameter['project'] = project;
|
|
1306
|
+
}
|
|
1307
|
+
|
|
1308
|
+
|
|
1309
|
+
|
|
1310
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1311
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1312
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1313
|
+
|
|
1314
|
+
return {
|
|
1315
|
+
url: toPathString(localVarUrlObj),
|
|
1316
|
+
options: localVarRequestOptions,
|
|
1317
|
+
};
|
|
1318
|
+
},
|
|
1319
|
+
/**
|
|
1320
|
+
* Lists all application sets that belong to the given project.
|
|
1321
|
+
* @summary List application sets
|
|
1322
|
+
* @param {string} project What project it is
|
|
1323
|
+
* @param {number} [pageToken] Page reference token
|
|
1324
|
+
* @param {string} [search] Search term to filter based on product tags.
|
|
1325
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1326
|
+
* @param {*} [options] Override http request option.
|
|
1327
|
+
* @throws {RequiredError}
|
|
1328
|
+
*/
|
|
1329
|
+
listApplicationSets: async (project: string, pageToken?: number, search?: string, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1330
|
+
// verify required parameter 'project' is not null or undefined
|
|
1331
|
+
assertParamExists('listApplicationSets', 'project', project)
|
|
1332
|
+
const localVarPath = `/v1/catalog/applications/sets`;
|
|
1333
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1334
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1335
|
+
let baseOptions;
|
|
1336
|
+
if (configuration) {
|
|
1337
|
+
baseOptions = configuration.baseOptions;
|
|
1338
|
+
}
|
|
1339
|
+
|
|
1340
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1341
|
+
const localVarHeaderParameter = {} as any;
|
|
1342
|
+
const localVarQueryParameter = {} as any;
|
|
1343
|
+
|
|
1344
|
+
// authentication session-oauth required
|
|
1345
|
+
// oauth required
|
|
1346
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1347
|
+
|
|
1348
|
+
// authentication api-key required
|
|
1349
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1350
|
+
|
|
1351
|
+
if (project !== undefined) {
|
|
1352
|
+
localVarQueryParameter['project'] = project;
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1355
|
+
if (pageToken !== undefined) {
|
|
1356
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
1357
|
+
}
|
|
1358
|
+
|
|
1359
|
+
if (search !== undefined) {
|
|
1360
|
+
localVarQueryParameter['search'] = search;
|
|
1361
|
+
}
|
|
1362
|
+
|
|
1363
|
+
if (pageSize !== undefined) {
|
|
1364
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1367
|
+
|
|
1368
|
+
|
|
1369
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1370
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1371
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1372
|
+
|
|
1373
|
+
return {
|
|
1374
|
+
url: toPathString(localVarUrlObj),
|
|
1375
|
+
options: localVarRequestOptions,
|
|
1376
|
+
};
|
|
1377
|
+
},
|
|
1378
|
+
/**
|
|
1379
|
+
* Updates an existing application set.
|
|
1380
|
+
* @summary Update application set
|
|
1381
|
+
* @param {string} project What project it is
|
|
1382
|
+
* @param {string} applicationSetId Application set\'s unique identifier
|
|
1383
|
+
* @param {UpdateApplicationSetRequest} [updateApplicationSetRequest] Create a new application set.
|
|
1384
|
+
* @param {*} [options] Override http request option.
|
|
1385
|
+
* @throws {RequiredError}
|
|
1386
|
+
*/
|
|
1387
|
+
updateApplicationSet: async (project: string, applicationSetId: string, updateApplicationSetRequest?: UpdateApplicationSetRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1388
|
+
// verify required parameter 'project' is not null or undefined
|
|
1389
|
+
assertParamExists('updateApplicationSet', 'project', project)
|
|
1390
|
+
// verify required parameter 'applicationSetId' is not null or undefined
|
|
1391
|
+
assertParamExists('updateApplicationSet', 'applicationSetId', applicationSetId)
|
|
1392
|
+
const localVarPath = `/v1/catalog/applications/sets/{applicationSetId}`
|
|
1393
|
+
.replace(`{${"applicationSetId"}}`, encodeURIComponent(String(applicationSetId)));
|
|
1394
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1395
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1396
|
+
let baseOptions;
|
|
1397
|
+
if (configuration) {
|
|
1398
|
+
baseOptions = configuration.baseOptions;
|
|
1399
|
+
}
|
|
1400
|
+
|
|
1401
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
1402
|
+
const localVarHeaderParameter = {} as any;
|
|
1403
|
+
const localVarQueryParameter = {} as any;
|
|
1404
|
+
|
|
1405
|
+
// authentication session-oauth required
|
|
1406
|
+
// oauth required
|
|
1407
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1408
|
+
|
|
1409
|
+
// authentication api-key required
|
|
1410
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1411
|
+
|
|
1412
|
+
if (project !== undefined) {
|
|
1413
|
+
localVarQueryParameter['project'] = project;
|
|
1414
|
+
}
|
|
1415
|
+
|
|
1416
|
+
|
|
1417
|
+
|
|
1418
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1419
|
+
|
|
1420
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1421
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1422
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1423
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateApplicationSetRequest, localVarRequestOptions, configuration)
|
|
1424
|
+
|
|
1425
|
+
return {
|
|
1426
|
+
url: toPathString(localVarUrlObj),
|
|
1427
|
+
options: localVarRequestOptions,
|
|
1428
|
+
};
|
|
1429
|
+
},
|
|
1430
|
+
}
|
|
1431
|
+
};
|
|
1432
|
+
|
|
1433
|
+
/**
|
|
1434
|
+
* ApplicationSetsApi - functional programming interface
|
|
1435
|
+
* @export
|
|
1436
|
+
*/
|
|
1437
|
+
export const ApplicationSetsApiFp = function(configuration?: Configuration) {
|
|
1438
|
+
const localVarAxiosParamCreator = ApplicationSetsApiAxiosParamCreator(configuration)
|
|
1439
|
+
return {
|
|
1440
|
+
/**
|
|
1441
|
+
* Creates a new application set.
|
|
1442
|
+
* @summary Create application set
|
|
1443
|
+
* @param {string} project What project it is
|
|
1444
|
+
* @param {CreateApplicationSetRequest} [createApplicationSetRequest] Create a new application set.
|
|
1445
|
+
* @param {*} [options] Override http request option.
|
|
1446
|
+
* @throws {RequiredError}
|
|
1447
|
+
*/
|
|
1448
|
+
async createApplicationSet(project: string, createApplicationSetRequest?: CreateApplicationSetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationSet>> {
|
|
1449
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createApplicationSet(project, createApplicationSetRequest, options);
|
|
1450
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1451
|
+
const localVarOperationServerBasePath = operationServerMap['ApplicationSetsApi.createApplicationSet']?.[localVarOperationServerIndex]?.url;
|
|
1452
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1453
|
+
},
|
|
1454
|
+
/**
|
|
1455
|
+
* Deletes an existing application set.
|
|
1456
|
+
* @summary Delete an application set
|
|
1457
|
+
* @param {string} project What project it is
|
|
1458
|
+
* @param {string} applicationSetId Application set\'s unique identifier
|
|
1459
|
+
* @param {*} [options] Override http request option.
|
|
1460
|
+
* @throws {RequiredError}
|
|
1461
|
+
*/
|
|
1462
|
+
async deleteApplicationSet(project: string, applicationSetId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1463
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteApplicationSet(project, applicationSetId, options);
|
|
1464
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1465
|
+
const localVarOperationServerBasePath = operationServerMap['ApplicationSetsApi.deleteApplicationSet']?.[localVarOperationServerIndex]?.url;
|
|
1466
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1467
|
+
},
|
|
1468
|
+
/**
|
|
1469
|
+
* Get an application by the given id.
|
|
1470
|
+
* @summary Get an application set
|
|
1471
|
+
* @param {string} project What project it is
|
|
1472
|
+
* @param {string} applicationSetId Application set\'s unique identifier
|
|
1473
|
+
* @param {*} [options] Override http request option.
|
|
1474
|
+
* @throws {RequiredError}
|
|
1475
|
+
*/
|
|
1476
|
+
async getApplicationSet(project: string, applicationSetId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationSet>> {
|
|
1477
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getApplicationSet(project, applicationSetId, options);
|
|
1478
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1479
|
+
const localVarOperationServerBasePath = operationServerMap['ApplicationSetsApi.getApplicationSet']?.[localVarOperationServerIndex]?.url;
|
|
1480
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1481
|
+
},
|
|
1482
|
+
/**
|
|
1483
|
+
* Lists all application sets that belong to the given project.
|
|
1484
|
+
* @summary List application sets
|
|
1485
|
+
* @param {string} project What project it is
|
|
1486
|
+
* @param {number} [pageToken] Page reference token
|
|
1487
|
+
* @param {string} [search] Search term to filter based on product tags.
|
|
1488
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1489
|
+
* @param {*} [options] Override http request option.
|
|
1490
|
+
* @throws {RequiredError}
|
|
1491
|
+
*/
|
|
1492
|
+
async listApplicationSets(project: string, pageToken?: number, search?: string, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationSetsResponse>> {
|
|
1493
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listApplicationSets(project, pageToken, search, pageSize, options);
|
|
1494
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1495
|
+
const localVarOperationServerBasePath = operationServerMap['ApplicationSetsApi.listApplicationSets']?.[localVarOperationServerIndex]?.url;
|
|
1496
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1497
|
+
},
|
|
1498
|
+
/**
|
|
1499
|
+
* Updates an existing application set.
|
|
1500
|
+
* @summary Update application set
|
|
1501
|
+
* @param {string} project What project it is
|
|
1502
|
+
* @param {string} applicationSetId Application set\'s unique identifier
|
|
1503
|
+
* @param {UpdateApplicationSetRequest} [updateApplicationSetRequest] Create a new application set.
|
|
1504
|
+
* @param {*} [options] Override http request option.
|
|
1505
|
+
* @throws {RequiredError}
|
|
1506
|
+
*/
|
|
1507
|
+
async updateApplicationSet(project: string, applicationSetId: string, updateApplicationSetRequest?: UpdateApplicationSetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationSet>> {
|
|
1508
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateApplicationSet(project, applicationSetId, updateApplicationSetRequest, options);
|
|
1509
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1510
|
+
const localVarOperationServerBasePath = operationServerMap['ApplicationSetsApi.updateApplicationSet']?.[localVarOperationServerIndex]?.url;
|
|
1511
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1512
|
+
},
|
|
1513
|
+
}
|
|
1514
|
+
};
|
|
1515
|
+
|
|
1516
|
+
/**
|
|
1517
|
+
* ApplicationSetsApi - factory interface
|
|
1518
|
+
* @export
|
|
1519
|
+
*/
|
|
1520
|
+
export const ApplicationSetsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1521
|
+
const localVarFp = ApplicationSetsApiFp(configuration)
|
|
1522
|
+
return {
|
|
1523
|
+
/**
|
|
1524
|
+
* Creates a new application set.
|
|
1525
|
+
* @summary Create application set
|
|
1526
|
+
* @param {ApplicationSetsApiCreateApplicationSetRequest} requestParameters Request parameters.
|
|
1527
|
+
* @param {*} [options] Override http request option.
|
|
1528
|
+
* @throws {RequiredError}
|
|
1529
|
+
*/
|
|
1530
|
+
createApplicationSet(requestParameters: ApplicationSetsApiCreateApplicationSetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApplicationSet> {
|
|
1531
|
+
return localVarFp.createApplicationSet(requestParameters.project, requestParameters.createApplicationSetRequest, options).then((request) => request(axios, basePath));
|
|
1532
|
+
},
|
|
1533
|
+
/**
|
|
1534
|
+
* Deletes an existing application set.
|
|
1535
|
+
* @summary Delete an application set
|
|
1536
|
+
* @param {ApplicationSetsApiDeleteApplicationSetRequest} requestParameters Request parameters.
|
|
1537
|
+
* @param {*} [options] Override http request option.
|
|
1538
|
+
* @throws {RequiredError}
|
|
1539
|
+
*/
|
|
1540
|
+
deleteApplicationSet(requestParameters: ApplicationSetsApiDeleteApplicationSetRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1541
|
+
return localVarFp.deleteApplicationSet(requestParameters.project, requestParameters.applicationSetId, options).then((request) => request(axios, basePath));
|
|
1542
|
+
},
|
|
1543
|
+
/**
|
|
1544
|
+
* Get an application by the given id.
|
|
1545
|
+
* @summary Get an application set
|
|
1546
|
+
* @param {ApplicationSetsApiGetApplicationSetRequest} requestParameters Request parameters.
|
|
1547
|
+
* @param {*} [options] Override http request option.
|
|
1548
|
+
* @throws {RequiredError}
|
|
1549
|
+
*/
|
|
1550
|
+
getApplicationSet(requestParameters: ApplicationSetsApiGetApplicationSetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApplicationSet> {
|
|
1551
|
+
return localVarFp.getApplicationSet(requestParameters.project, requestParameters.applicationSetId, options).then((request) => request(axios, basePath));
|
|
1552
|
+
},
|
|
1553
|
+
/**
|
|
1554
|
+
* Lists all application sets that belong to the given project.
|
|
1555
|
+
* @summary List application sets
|
|
1556
|
+
* @param {ApplicationSetsApiListApplicationSetsRequest} requestParameters Request parameters.
|
|
1557
|
+
* @param {*} [options] Override http request option.
|
|
1558
|
+
* @throws {RequiredError}
|
|
1559
|
+
*/
|
|
1560
|
+
listApplicationSets(requestParameters: ApplicationSetsApiListApplicationSetsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApplicationSetsResponse> {
|
|
1561
|
+
return localVarFp.listApplicationSets(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1562
|
+
},
|
|
1563
|
+
/**
|
|
1564
|
+
* Updates an existing application set.
|
|
1565
|
+
* @summary Update application set
|
|
1566
|
+
* @param {ApplicationSetsApiUpdateApplicationSetRequest} requestParameters Request parameters.
|
|
1567
|
+
* @param {*} [options] Override http request option.
|
|
1568
|
+
* @throws {RequiredError}
|
|
1569
|
+
*/
|
|
1570
|
+
updateApplicationSet(requestParameters: ApplicationSetsApiUpdateApplicationSetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApplicationSet> {
|
|
1571
|
+
return localVarFp.updateApplicationSet(requestParameters.project, requestParameters.applicationSetId, requestParameters.updateApplicationSetRequest, options).then((request) => request(axios, basePath));
|
|
1572
|
+
},
|
|
1573
|
+
};
|
|
1574
|
+
};
|
|
1575
|
+
|
|
1576
|
+
/**
|
|
1577
|
+
* Request parameters for createApplicationSet operation in ApplicationSetsApi.
|
|
1578
|
+
* @export
|
|
1579
|
+
* @interface ApplicationSetsApiCreateApplicationSetRequest
|
|
1580
|
+
*/
|
|
1581
|
+
export interface ApplicationSetsApiCreateApplicationSetRequest {
|
|
1582
|
+
/**
|
|
1583
|
+
* What project it is
|
|
1584
|
+
* @type {string}
|
|
1585
|
+
* @memberof ApplicationSetsApiCreateApplicationSet
|
|
1586
|
+
*/
|
|
1587
|
+
readonly project: string
|
|
1588
|
+
|
|
1589
|
+
/**
|
|
1590
|
+
* Create a new application set.
|
|
1591
|
+
* @type {CreateApplicationSetRequest}
|
|
1592
|
+
* @memberof ApplicationSetsApiCreateApplicationSet
|
|
1593
|
+
*/
|
|
1594
|
+
readonly createApplicationSetRequest?: CreateApplicationSetRequest
|
|
1595
|
+
}
|
|
1596
|
+
|
|
1597
|
+
/**
|
|
1598
|
+
* Request parameters for deleteApplicationSet operation in ApplicationSetsApi.
|
|
1599
|
+
* @export
|
|
1600
|
+
* @interface ApplicationSetsApiDeleteApplicationSetRequest
|
|
1601
|
+
*/
|
|
1602
|
+
export interface ApplicationSetsApiDeleteApplicationSetRequest {
|
|
1603
|
+
/**
|
|
1604
|
+
* What project it is
|
|
1605
|
+
* @type {string}
|
|
1606
|
+
* @memberof ApplicationSetsApiDeleteApplicationSet
|
|
1607
|
+
*/
|
|
1608
|
+
readonly project: string
|
|
1609
|
+
|
|
1610
|
+
/**
|
|
1611
|
+
* Application set\'s unique identifier
|
|
1612
|
+
* @type {string}
|
|
1613
|
+
* @memberof ApplicationSetsApiDeleteApplicationSet
|
|
1614
|
+
*/
|
|
1615
|
+
readonly applicationSetId: string
|
|
1616
|
+
}
|
|
1617
|
+
|
|
1618
|
+
/**
|
|
1619
|
+
* Request parameters for getApplicationSet operation in ApplicationSetsApi.
|
|
1620
|
+
* @export
|
|
1621
|
+
* @interface ApplicationSetsApiGetApplicationSetRequest
|
|
1622
|
+
*/
|
|
1623
|
+
export interface ApplicationSetsApiGetApplicationSetRequest {
|
|
1624
|
+
/**
|
|
1625
|
+
* What project it is
|
|
1626
|
+
* @type {string}
|
|
1627
|
+
* @memberof ApplicationSetsApiGetApplicationSet
|
|
1628
|
+
*/
|
|
1629
|
+
readonly project: string
|
|
1630
|
+
|
|
1631
|
+
/**
|
|
1632
|
+
* Application set\'s unique identifier
|
|
1633
|
+
* @type {string}
|
|
1634
|
+
* @memberof ApplicationSetsApiGetApplicationSet
|
|
1635
|
+
*/
|
|
1636
|
+
readonly applicationSetId: string
|
|
1637
|
+
}
|
|
1638
|
+
|
|
1639
|
+
/**
|
|
1640
|
+
* Request parameters for listApplicationSets operation in ApplicationSetsApi.
|
|
1641
|
+
* @export
|
|
1642
|
+
* @interface ApplicationSetsApiListApplicationSetsRequest
|
|
1643
|
+
*/
|
|
1644
|
+
export interface ApplicationSetsApiListApplicationSetsRequest {
|
|
1645
|
+
/**
|
|
1646
|
+
* What project it is
|
|
1647
|
+
* @type {string}
|
|
1648
|
+
* @memberof ApplicationSetsApiListApplicationSets
|
|
1649
|
+
*/
|
|
1650
|
+
readonly project: string
|
|
1651
|
+
|
|
1652
|
+
/**
|
|
1653
|
+
* Page reference token
|
|
1654
|
+
* @type {number}
|
|
1655
|
+
* @memberof ApplicationSetsApiListApplicationSets
|
|
1656
|
+
*/
|
|
1657
|
+
readonly pageToken?: number
|
|
1658
|
+
|
|
1659
|
+
/**
|
|
1660
|
+
* Search term to filter based on product tags.
|
|
1661
|
+
* @type {string}
|
|
1662
|
+
* @memberof ApplicationSetsApiListApplicationSets
|
|
1663
|
+
*/
|
|
1664
|
+
readonly search?: string
|
|
1665
|
+
|
|
1666
|
+
/**
|
|
1667
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1668
|
+
* @type {number}
|
|
1669
|
+
* @memberof ApplicationSetsApiListApplicationSets
|
|
1670
|
+
*/
|
|
1671
|
+
readonly pageSize?: number
|
|
1672
|
+
}
|
|
1673
|
+
|
|
1674
|
+
/**
|
|
1675
|
+
* Request parameters for updateApplicationSet operation in ApplicationSetsApi.
|
|
1676
|
+
* @export
|
|
1677
|
+
* @interface ApplicationSetsApiUpdateApplicationSetRequest
|
|
1678
|
+
*/
|
|
1679
|
+
export interface ApplicationSetsApiUpdateApplicationSetRequest {
|
|
1680
|
+
/**
|
|
1681
|
+
* What project it is
|
|
1682
|
+
* @type {string}
|
|
1683
|
+
* @memberof ApplicationSetsApiUpdateApplicationSet
|
|
1684
|
+
*/
|
|
1685
|
+
readonly project: string
|
|
1686
|
+
|
|
1687
|
+
/**
|
|
1688
|
+
* Application set\'s unique identifier
|
|
1689
|
+
* @type {string}
|
|
1690
|
+
* @memberof ApplicationSetsApiUpdateApplicationSet
|
|
1691
|
+
*/
|
|
1692
|
+
readonly applicationSetId: string
|
|
1693
|
+
|
|
1694
|
+
/**
|
|
1695
|
+
* Create a new application set.
|
|
1696
|
+
* @type {UpdateApplicationSetRequest}
|
|
1697
|
+
* @memberof ApplicationSetsApiUpdateApplicationSet
|
|
1698
|
+
*/
|
|
1699
|
+
readonly updateApplicationSetRequest?: UpdateApplicationSetRequest
|
|
1700
|
+
}
|
|
1701
|
+
|
|
1702
|
+
/**
|
|
1703
|
+
* ApplicationSetsApi - object-oriented interface
|
|
1704
|
+
* @export
|
|
1705
|
+
* @class ApplicationSetsApi
|
|
1706
|
+
* @extends {BaseAPI}
|
|
1707
|
+
*/
|
|
1708
|
+
export class ApplicationSetsApi extends BaseAPI {
|
|
1709
|
+
/**
|
|
1710
|
+
* Creates a new application set.
|
|
1711
|
+
* @summary Create application set
|
|
1712
|
+
* @param {ApplicationSetsApiCreateApplicationSetRequest} requestParameters Request parameters.
|
|
1713
|
+
* @param {*} [options] Override http request option.
|
|
1714
|
+
* @throws {RequiredError}
|
|
1715
|
+
* @memberof ApplicationSetsApi
|
|
1716
|
+
*/
|
|
1717
|
+
public createApplicationSet(requestParameters: ApplicationSetsApiCreateApplicationSetRequest, options?: RawAxiosRequestConfig) {
|
|
1718
|
+
return ApplicationSetsApiFp(this.configuration).createApplicationSet(requestParameters.project, requestParameters.createApplicationSetRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1719
|
+
}
|
|
1720
|
+
|
|
1721
|
+
/**
|
|
1722
|
+
* Deletes an existing application set.
|
|
1723
|
+
* @summary Delete an application set
|
|
1724
|
+
* @param {ApplicationSetsApiDeleteApplicationSetRequest} requestParameters Request parameters.
|
|
1725
|
+
* @param {*} [options] Override http request option.
|
|
1726
|
+
* @throws {RequiredError}
|
|
1727
|
+
* @memberof ApplicationSetsApi
|
|
1728
|
+
*/
|
|
1729
|
+
public deleteApplicationSet(requestParameters: ApplicationSetsApiDeleteApplicationSetRequest, options?: RawAxiosRequestConfig) {
|
|
1730
|
+
return ApplicationSetsApiFp(this.configuration).deleteApplicationSet(requestParameters.project, requestParameters.applicationSetId, options).then((request) => request(this.axios, this.basePath));
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1733
|
+
/**
|
|
1734
|
+
* Get an application by the given id.
|
|
1735
|
+
* @summary Get an application set
|
|
1736
|
+
* @param {ApplicationSetsApiGetApplicationSetRequest} requestParameters Request parameters.
|
|
1737
|
+
* @param {*} [options] Override http request option.
|
|
1738
|
+
* @throws {RequiredError}
|
|
1739
|
+
* @memberof ApplicationSetsApi
|
|
1740
|
+
*/
|
|
1741
|
+
public getApplicationSet(requestParameters: ApplicationSetsApiGetApplicationSetRequest, options?: RawAxiosRequestConfig) {
|
|
1742
|
+
return ApplicationSetsApiFp(this.configuration).getApplicationSet(requestParameters.project, requestParameters.applicationSetId, options).then((request) => request(this.axios, this.basePath));
|
|
1743
|
+
}
|
|
1744
|
+
|
|
1745
|
+
/**
|
|
1746
|
+
* Lists all application sets that belong to the given project.
|
|
1747
|
+
* @summary List application sets
|
|
1748
|
+
* @param {ApplicationSetsApiListApplicationSetsRequest} requestParameters Request parameters.
|
|
1749
|
+
* @param {*} [options] Override http request option.
|
|
1750
|
+
* @throws {RequiredError}
|
|
1751
|
+
* @memberof ApplicationSetsApi
|
|
1752
|
+
*/
|
|
1753
|
+
public listApplicationSets(requestParameters: ApplicationSetsApiListApplicationSetsRequest, options?: RawAxiosRequestConfig) {
|
|
1754
|
+
return ApplicationSetsApiFp(this.configuration).listApplicationSets(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
1755
|
+
}
|
|
1756
|
+
|
|
1757
|
+
/**
|
|
1758
|
+
* Updates an existing application set.
|
|
1759
|
+
* @summary Update application set
|
|
1760
|
+
* @param {ApplicationSetsApiUpdateApplicationSetRequest} requestParameters Request parameters.
|
|
1761
|
+
* @param {*} [options] Override http request option.
|
|
1762
|
+
* @throws {RequiredError}
|
|
1763
|
+
* @memberof ApplicationSetsApi
|
|
1764
|
+
*/
|
|
1765
|
+
public updateApplicationSet(requestParameters: ApplicationSetsApiUpdateApplicationSetRequest, options?: RawAxiosRequestConfig) {
|
|
1766
|
+
return ApplicationSetsApiFp(this.configuration).updateApplicationSet(requestParameters.project, requestParameters.applicationSetId, requestParameters.updateApplicationSetRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1767
|
+
}
|
|
1768
|
+
}
|
|
1769
|
+
|
|
1770
|
+
|
|
1771
|
+
|
|
883
1772
|
/**
|
|
884
1773
|
* ProductsApi - axios parameter creator
|
|
885
1774
|
* @export
|