@teemill/product-catalog 1.16.0 → 1.17.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 +765 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +482 -1
- package/dist/api.js +443 -2
- 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 +482 -1
- package/dist/esm/api.js +438 -1
- 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.17.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,124 @@ 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
|
+
* Name of the option that this record represents
|
|
214
|
+
* @type {string}
|
|
215
|
+
* @memberof ApplicationSetRecord
|
|
216
|
+
*/
|
|
217
|
+
'optionName'?: string;
|
|
218
|
+
/**
|
|
219
|
+
* The value of the option that this record represents
|
|
220
|
+
* @type {string}
|
|
221
|
+
* @memberof ApplicationSetRecord
|
|
222
|
+
*/
|
|
223
|
+
'optionValue'?: string;
|
|
224
|
+
/**
|
|
225
|
+
* List of applications for this record
|
|
226
|
+
* @type {Array<Application>}
|
|
227
|
+
* @memberof ApplicationSetRecord
|
|
228
|
+
*/
|
|
229
|
+
'applications'?: Array<Application>;
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
*
|
|
233
|
+
* @export
|
|
234
|
+
* @interface ApplicationSetsResponse
|
|
235
|
+
*/
|
|
236
|
+
export interface ApplicationSetsResponse {
|
|
237
|
+
/**
|
|
238
|
+
*
|
|
239
|
+
* @type {Array<ApplicationSet>}
|
|
240
|
+
* @memberof ApplicationSetsResponse
|
|
241
|
+
*/
|
|
242
|
+
'applicationSets'?: Array<ApplicationSet>;
|
|
243
|
+
/**
|
|
244
|
+
*
|
|
245
|
+
* @type {number}
|
|
246
|
+
* @memberof ApplicationSetsResponse
|
|
247
|
+
*/
|
|
248
|
+
'nextPageToken'?: number;
|
|
249
|
+
}
|
|
132
250
|
/**
|
|
133
251
|
*
|
|
134
252
|
* @export
|
|
@@ -188,6 +306,49 @@ export const AttributeThumbnailTypeEnum = {
|
|
|
188
306
|
|
|
189
307
|
export type AttributeThumbnailTypeEnum = typeof AttributeThumbnailTypeEnum[keyof typeof AttributeThumbnailTypeEnum];
|
|
190
308
|
|
|
309
|
+
/**
|
|
310
|
+
*
|
|
311
|
+
* @export
|
|
312
|
+
* @interface CreateApplicationSetRequest
|
|
313
|
+
*/
|
|
314
|
+
export interface CreateApplicationSetRequest {
|
|
315
|
+
/**
|
|
316
|
+
* Name of the application set
|
|
317
|
+
* @type {string}
|
|
318
|
+
* @memberof CreateApplicationSetRequest
|
|
319
|
+
*/
|
|
320
|
+
'name'?: string;
|
|
321
|
+
/**
|
|
322
|
+
* Description of the application set
|
|
323
|
+
* @type {string}
|
|
324
|
+
* @memberof CreateApplicationSetRequest
|
|
325
|
+
*/
|
|
326
|
+
'description'?: string;
|
|
327
|
+
/**
|
|
328
|
+
* The width, in pixels of the images in the set
|
|
329
|
+
* @type {number}
|
|
330
|
+
* @memberof CreateApplicationSetRequest
|
|
331
|
+
*/
|
|
332
|
+
'width'?: number;
|
|
333
|
+
/**
|
|
334
|
+
* The height, in pixels of the images in the set
|
|
335
|
+
* @type {number}
|
|
336
|
+
* @memberof CreateApplicationSetRequest
|
|
337
|
+
*/
|
|
338
|
+
'height'?: number;
|
|
339
|
+
/**
|
|
340
|
+
* The DPI used when printing the images in the set
|
|
341
|
+
* @type {number}
|
|
342
|
+
* @memberof CreateApplicationSetRequest
|
|
343
|
+
*/
|
|
344
|
+
'dpi'?: number;
|
|
345
|
+
/**
|
|
346
|
+
* List of application set records
|
|
347
|
+
* @type {Array<ApplicationSetRecord>}
|
|
348
|
+
* @memberof CreateApplicationSetRequest
|
|
349
|
+
*/
|
|
350
|
+
'records'?: Array<ApplicationSetRecord>;
|
|
351
|
+
}
|
|
191
352
|
/**
|
|
192
353
|
*
|
|
193
354
|
* @export
|
|
@@ -880,6 +1041,609 @@ export interface VariantsResponse {
|
|
|
880
1041
|
'nextPageToken'?: number;
|
|
881
1042
|
}
|
|
882
1043
|
|
|
1044
|
+
/**
|
|
1045
|
+
* ApplicationSetsApi - axios parameter creator
|
|
1046
|
+
* @export
|
|
1047
|
+
*/
|
|
1048
|
+
export const ApplicationSetsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
1049
|
+
return {
|
|
1050
|
+
/**
|
|
1051
|
+
* Creates a new application set.
|
|
1052
|
+
* @summary Create application set
|
|
1053
|
+
* @param {string} project What project it is
|
|
1054
|
+
* @param {CreateApplicationSetRequest} [createApplicationSetRequest] Create a new application set.
|
|
1055
|
+
* @param {*} [options] Override http request option.
|
|
1056
|
+
* @throws {RequiredError}
|
|
1057
|
+
*/
|
|
1058
|
+
createApplicationSet: async (project: string, createApplicationSetRequest?: CreateApplicationSetRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1059
|
+
// verify required parameter 'project' is not null or undefined
|
|
1060
|
+
assertParamExists('createApplicationSet', 'project', project)
|
|
1061
|
+
const localVarPath = `/v1/catalog/applications/sets`;
|
|
1062
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1063
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1064
|
+
let baseOptions;
|
|
1065
|
+
if (configuration) {
|
|
1066
|
+
baseOptions = configuration.baseOptions;
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1070
|
+
const localVarHeaderParameter = {} as any;
|
|
1071
|
+
const localVarQueryParameter = {} as any;
|
|
1072
|
+
|
|
1073
|
+
// authentication session-oauth required
|
|
1074
|
+
// oauth required
|
|
1075
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1076
|
+
|
|
1077
|
+
// authentication api-key required
|
|
1078
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1079
|
+
|
|
1080
|
+
if (project !== undefined) {
|
|
1081
|
+
localVarQueryParameter['project'] = project;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
|
|
1085
|
+
|
|
1086
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1087
|
+
|
|
1088
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1089
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1090
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1091
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createApplicationSetRequest, localVarRequestOptions, configuration)
|
|
1092
|
+
|
|
1093
|
+
return {
|
|
1094
|
+
url: toPathString(localVarUrlObj),
|
|
1095
|
+
options: localVarRequestOptions,
|
|
1096
|
+
};
|
|
1097
|
+
},
|
|
1098
|
+
/**
|
|
1099
|
+
* Deletes an existing application set.
|
|
1100
|
+
* @summary Delete an application set
|
|
1101
|
+
* @param {string} project What project it is
|
|
1102
|
+
* @param {string} applicationSetId Application set\'s unique identifier
|
|
1103
|
+
* @param {*} [options] Override http request option.
|
|
1104
|
+
* @throws {RequiredError}
|
|
1105
|
+
*/
|
|
1106
|
+
deleteApplicationSet: async (project: string, applicationSetId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1107
|
+
// verify required parameter 'project' is not null or undefined
|
|
1108
|
+
assertParamExists('deleteApplicationSet', 'project', project)
|
|
1109
|
+
// verify required parameter 'applicationSetId' is not null or undefined
|
|
1110
|
+
assertParamExists('deleteApplicationSet', 'applicationSetId', applicationSetId)
|
|
1111
|
+
const localVarPath = `/v1/catalog/applications/sets/{applicationSetId}`
|
|
1112
|
+
.replace(`{${"applicationSetId"}}`, encodeURIComponent(String(applicationSetId)));
|
|
1113
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1114
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1115
|
+
let baseOptions;
|
|
1116
|
+
if (configuration) {
|
|
1117
|
+
baseOptions = configuration.baseOptions;
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
1121
|
+
const localVarHeaderParameter = {} as any;
|
|
1122
|
+
const localVarQueryParameter = {} as any;
|
|
1123
|
+
|
|
1124
|
+
// authentication session-oauth required
|
|
1125
|
+
// oauth required
|
|
1126
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1127
|
+
|
|
1128
|
+
// authentication api-key required
|
|
1129
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1130
|
+
|
|
1131
|
+
if (project !== undefined) {
|
|
1132
|
+
localVarQueryParameter['project'] = project;
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
|
|
1136
|
+
|
|
1137
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1138
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1139
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1140
|
+
|
|
1141
|
+
return {
|
|
1142
|
+
url: toPathString(localVarUrlObj),
|
|
1143
|
+
options: localVarRequestOptions,
|
|
1144
|
+
};
|
|
1145
|
+
},
|
|
1146
|
+
/**
|
|
1147
|
+
* Get an application by the given id.
|
|
1148
|
+
* @summary Get an application set
|
|
1149
|
+
* @param {string} project What project it is
|
|
1150
|
+
* @param {string} applicationSetId Application set\'s unique identifier
|
|
1151
|
+
* @param {*} [options] Override http request option.
|
|
1152
|
+
* @throws {RequiredError}
|
|
1153
|
+
*/
|
|
1154
|
+
getApplicationSet: async (project: string, applicationSetId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1155
|
+
// verify required parameter 'project' is not null or undefined
|
|
1156
|
+
assertParamExists('getApplicationSet', 'project', project)
|
|
1157
|
+
// verify required parameter 'applicationSetId' is not null or undefined
|
|
1158
|
+
assertParamExists('getApplicationSet', 'applicationSetId', applicationSetId)
|
|
1159
|
+
const localVarPath = `/v1/catalog/applications/sets/{applicationSetId}`
|
|
1160
|
+
.replace(`{${"applicationSetId"}}`, encodeURIComponent(String(applicationSetId)));
|
|
1161
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1162
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1163
|
+
let baseOptions;
|
|
1164
|
+
if (configuration) {
|
|
1165
|
+
baseOptions = configuration.baseOptions;
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1169
|
+
const localVarHeaderParameter = {} as any;
|
|
1170
|
+
const localVarQueryParameter = {} as any;
|
|
1171
|
+
|
|
1172
|
+
// authentication session-oauth required
|
|
1173
|
+
// oauth required
|
|
1174
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1175
|
+
|
|
1176
|
+
// authentication api-key required
|
|
1177
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1178
|
+
|
|
1179
|
+
if (project !== undefined) {
|
|
1180
|
+
localVarQueryParameter['project'] = project;
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
|
|
1184
|
+
|
|
1185
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1186
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1187
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1188
|
+
|
|
1189
|
+
return {
|
|
1190
|
+
url: toPathString(localVarUrlObj),
|
|
1191
|
+
options: localVarRequestOptions,
|
|
1192
|
+
};
|
|
1193
|
+
},
|
|
1194
|
+
/**
|
|
1195
|
+
* Lists all application sets that belong to the given project.
|
|
1196
|
+
* @summary List application sets
|
|
1197
|
+
* @param {string} project What project it is
|
|
1198
|
+
* @param {number} [pageToken] Page reference token
|
|
1199
|
+
* @param {string} [search] Search term to filter based on product tags.
|
|
1200
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1201
|
+
* @param {*} [options] Override http request option.
|
|
1202
|
+
* @throws {RequiredError}
|
|
1203
|
+
*/
|
|
1204
|
+
listApplicationSets: async (project: string, pageToken?: number, search?: string, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1205
|
+
// verify required parameter 'project' is not null or undefined
|
|
1206
|
+
assertParamExists('listApplicationSets', 'project', project)
|
|
1207
|
+
const localVarPath = `/v1/catalog/applications/sets`;
|
|
1208
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1209
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1210
|
+
let baseOptions;
|
|
1211
|
+
if (configuration) {
|
|
1212
|
+
baseOptions = configuration.baseOptions;
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1215
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1216
|
+
const localVarHeaderParameter = {} as any;
|
|
1217
|
+
const localVarQueryParameter = {} as any;
|
|
1218
|
+
|
|
1219
|
+
// authentication session-oauth required
|
|
1220
|
+
// oauth required
|
|
1221
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1222
|
+
|
|
1223
|
+
// authentication api-key required
|
|
1224
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1225
|
+
|
|
1226
|
+
if (project !== undefined) {
|
|
1227
|
+
localVarQueryParameter['project'] = project;
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
if (pageToken !== undefined) {
|
|
1231
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
1232
|
+
}
|
|
1233
|
+
|
|
1234
|
+
if (search !== undefined) {
|
|
1235
|
+
localVarQueryParameter['search'] = search;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
if (pageSize !== undefined) {
|
|
1239
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
|
|
1243
|
+
|
|
1244
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1245
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1246
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1247
|
+
|
|
1248
|
+
return {
|
|
1249
|
+
url: toPathString(localVarUrlObj),
|
|
1250
|
+
options: localVarRequestOptions,
|
|
1251
|
+
};
|
|
1252
|
+
},
|
|
1253
|
+
/**
|
|
1254
|
+
* Updates an existing application set.
|
|
1255
|
+
* @summary Update application set
|
|
1256
|
+
* @param {string} project What project it is
|
|
1257
|
+
* @param {string} applicationSetId Application set\'s unique identifier
|
|
1258
|
+
* @param {CreateApplicationSetRequest} [createApplicationSetRequest] Create a new application set.
|
|
1259
|
+
* @param {*} [options] Override http request option.
|
|
1260
|
+
* @throws {RequiredError}
|
|
1261
|
+
*/
|
|
1262
|
+
updateApplicationSet: async (project: string, applicationSetId: string, createApplicationSetRequest?: CreateApplicationSetRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1263
|
+
// verify required parameter 'project' is not null or undefined
|
|
1264
|
+
assertParamExists('updateApplicationSet', 'project', project)
|
|
1265
|
+
// verify required parameter 'applicationSetId' is not null or undefined
|
|
1266
|
+
assertParamExists('updateApplicationSet', 'applicationSetId', applicationSetId)
|
|
1267
|
+
const localVarPath = `/v1/catalog/applications/sets/{applicationSetId}`
|
|
1268
|
+
.replace(`{${"applicationSetId"}}`, encodeURIComponent(String(applicationSetId)));
|
|
1269
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1270
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1271
|
+
let baseOptions;
|
|
1272
|
+
if (configuration) {
|
|
1273
|
+
baseOptions = configuration.baseOptions;
|
|
1274
|
+
}
|
|
1275
|
+
|
|
1276
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
1277
|
+
const localVarHeaderParameter = {} as any;
|
|
1278
|
+
const localVarQueryParameter = {} as any;
|
|
1279
|
+
|
|
1280
|
+
// authentication session-oauth required
|
|
1281
|
+
// oauth required
|
|
1282
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1283
|
+
|
|
1284
|
+
// authentication api-key required
|
|
1285
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1286
|
+
|
|
1287
|
+
if (project !== undefined) {
|
|
1288
|
+
localVarQueryParameter['project'] = project;
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
|
|
1292
|
+
|
|
1293
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1294
|
+
|
|
1295
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1296
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1297
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1298
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createApplicationSetRequest, localVarRequestOptions, configuration)
|
|
1299
|
+
|
|
1300
|
+
return {
|
|
1301
|
+
url: toPathString(localVarUrlObj),
|
|
1302
|
+
options: localVarRequestOptions,
|
|
1303
|
+
};
|
|
1304
|
+
},
|
|
1305
|
+
}
|
|
1306
|
+
};
|
|
1307
|
+
|
|
1308
|
+
/**
|
|
1309
|
+
* ApplicationSetsApi - functional programming interface
|
|
1310
|
+
* @export
|
|
1311
|
+
*/
|
|
1312
|
+
export const ApplicationSetsApiFp = function(configuration?: Configuration) {
|
|
1313
|
+
const localVarAxiosParamCreator = ApplicationSetsApiAxiosParamCreator(configuration)
|
|
1314
|
+
return {
|
|
1315
|
+
/**
|
|
1316
|
+
* Creates a new application set.
|
|
1317
|
+
* @summary Create application set
|
|
1318
|
+
* @param {string} project What project it is
|
|
1319
|
+
* @param {CreateApplicationSetRequest} [createApplicationSetRequest] Create a new application set.
|
|
1320
|
+
* @param {*} [options] Override http request option.
|
|
1321
|
+
* @throws {RequiredError}
|
|
1322
|
+
*/
|
|
1323
|
+
async createApplicationSet(project: string, createApplicationSetRequest?: CreateApplicationSetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationSet>> {
|
|
1324
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createApplicationSet(project, createApplicationSetRequest, options);
|
|
1325
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1326
|
+
const localVarOperationServerBasePath = operationServerMap['ApplicationSetsApi.createApplicationSet']?.[localVarOperationServerIndex]?.url;
|
|
1327
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1328
|
+
},
|
|
1329
|
+
/**
|
|
1330
|
+
* Deletes an existing application set.
|
|
1331
|
+
* @summary Delete an application set
|
|
1332
|
+
* @param {string} project What project it is
|
|
1333
|
+
* @param {string} applicationSetId Application set\'s unique identifier
|
|
1334
|
+
* @param {*} [options] Override http request option.
|
|
1335
|
+
* @throws {RequiredError}
|
|
1336
|
+
*/
|
|
1337
|
+
async deleteApplicationSet(project: string, applicationSetId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1338
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteApplicationSet(project, applicationSetId, options);
|
|
1339
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1340
|
+
const localVarOperationServerBasePath = operationServerMap['ApplicationSetsApi.deleteApplicationSet']?.[localVarOperationServerIndex]?.url;
|
|
1341
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1342
|
+
},
|
|
1343
|
+
/**
|
|
1344
|
+
* Get an application by the given id.
|
|
1345
|
+
* @summary Get an application set
|
|
1346
|
+
* @param {string} project What project it is
|
|
1347
|
+
* @param {string} applicationSetId Application set\'s unique identifier
|
|
1348
|
+
* @param {*} [options] Override http request option.
|
|
1349
|
+
* @throws {RequiredError}
|
|
1350
|
+
*/
|
|
1351
|
+
async getApplicationSet(project: string, applicationSetId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationSet>> {
|
|
1352
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getApplicationSet(project, applicationSetId, options);
|
|
1353
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1354
|
+
const localVarOperationServerBasePath = operationServerMap['ApplicationSetsApi.getApplicationSet']?.[localVarOperationServerIndex]?.url;
|
|
1355
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1356
|
+
},
|
|
1357
|
+
/**
|
|
1358
|
+
* Lists all application sets that belong to the given project.
|
|
1359
|
+
* @summary List application sets
|
|
1360
|
+
* @param {string} project What project it is
|
|
1361
|
+
* @param {number} [pageToken] Page reference token
|
|
1362
|
+
* @param {string} [search] Search term to filter based on product tags.
|
|
1363
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1364
|
+
* @param {*} [options] Override http request option.
|
|
1365
|
+
* @throws {RequiredError}
|
|
1366
|
+
*/
|
|
1367
|
+
async listApplicationSets(project: string, pageToken?: number, search?: string, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationSetsResponse>> {
|
|
1368
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listApplicationSets(project, pageToken, search, pageSize, options);
|
|
1369
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1370
|
+
const localVarOperationServerBasePath = operationServerMap['ApplicationSetsApi.listApplicationSets']?.[localVarOperationServerIndex]?.url;
|
|
1371
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1372
|
+
},
|
|
1373
|
+
/**
|
|
1374
|
+
* Updates an existing application set.
|
|
1375
|
+
* @summary Update application set
|
|
1376
|
+
* @param {string} project What project it is
|
|
1377
|
+
* @param {string} applicationSetId Application set\'s unique identifier
|
|
1378
|
+
* @param {CreateApplicationSetRequest} [createApplicationSetRequest] Create a new application set.
|
|
1379
|
+
* @param {*} [options] Override http request option.
|
|
1380
|
+
* @throws {RequiredError}
|
|
1381
|
+
*/
|
|
1382
|
+
async updateApplicationSet(project: string, applicationSetId: string, createApplicationSetRequest?: CreateApplicationSetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationSet>> {
|
|
1383
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateApplicationSet(project, applicationSetId, createApplicationSetRequest, options);
|
|
1384
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1385
|
+
const localVarOperationServerBasePath = operationServerMap['ApplicationSetsApi.updateApplicationSet']?.[localVarOperationServerIndex]?.url;
|
|
1386
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1387
|
+
},
|
|
1388
|
+
}
|
|
1389
|
+
};
|
|
1390
|
+
|
|
1391
|
+
/**
|
|
1392
|
+
* ApplicationSetsApi - factory interface
|
|
1393
|
+
* @export
|
|
1394
|
+
*/
|
|
1395
|
+
export const ApplicationSetsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
1396
|
+
const localVarFp = ApplicationSetsApiFp(configuration)
|
|
1397
|
+
return {
|
|
1398
|
+
/**
|
|
1399
|
+
* Creates a new application set.
|
|
1400
|
+
* @summary Create application set
|
|
1401
|
+
* @param {ApplicationSetsApiCreateApplicationSetRequest} requestParameters Request parameters.
|
|
1402
|
+
* @param {*} [options] Override http request option.
|
|
1403
|
+
* @throws {RequiredError}
|
|
1404
|
+
*/
|
|
1405
|
+
createApplicationSet(requestParameters: ApplicationSetsApiCreateApplicationSetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApplicationSet> {
|
|
1406
|
+
return localVarFp.createApplicationSet(requestParameters.project, requestParameters.createApplicationSetRequest, options).then((request) => request(axios, basePath));
|
|
1407
|
+
},
|
|
1408
|
+
/**
|
|
1409
|
+
* Deletes an existing application set.
|
|
1410
|
+
* @summary Delete an application set
|
|
1411
|
+
* @param {ApplicationSetsApiDeleteApplicationSetRequest} requestParameters Request parameters.
|
|
1412
|
+
* @param {*} [options] Override http request option.
|
|
1413
|
+
* @throws {RequiredError}
|
|
1414
|
+
*/
|
|
1415
|
+
deleteApplicationSet(requestParameters: ApplicationSetsApiDeleteApplicationSetRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1416
|
+
return localVarFp.deleteApplicationSet(requestParameters.project, requestParameters.applicationSetId, options).then((request) => request(axios, basePath));
|
|
1417
|
+
},
|
|
1418
|
+
/**
|
|
1419
|
+
* Get an application by the given id.
|
|
1420
|
+
* @summary Get an application set
|
|
1421
|
+
* @param {ApplicationSetsApiGetApplicationSetRequest} requestParameters Request parameters.
|
|
1422
|
+
* @param {*} [options] Override http request option.
|
|
1423
|
+
* @throws {RequiredError}
|
|
1424
|
+
*/
|
|
1425
|
+
getApplicationSet(requestParameters: ApplicationSetsApiGetApplicationSetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApplicationSet> {
|
|
1426
|
+
return localVarFp.getApplicationSet(requestParameters.project, requestParameters.applicationSetId, options).then((request) => request(axios, basePath));
|
|
1427
|
+
},
|
|
1428
|
+
/**
|
|
1429
|
+
* Lists all application sets that belong to the given project.
|
|
1430
|
+
* @summary List application sets
|
|
1431
|
+
* @param {ApplicationSetsApiListApplicationSetsRequest} requestParameters Request parameters.
|
|
1432
|
+
* @param {*} [options] Override http request option.
|
|
1433
|
+
* @throws {RequiredError}
|
|
1434
|
+
*/
|
|
1435
|
+
listApplicationSets(requestParameters: ApplicationSetsApiListApplicationSetsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApplicationSetsResponse> {
|
|
1436
|
+
return localVarFp.listApplicationSets(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1437
|
+
},
|
|
1438
|
+
/**
|
|
1439
|
+
* Updates an existing application set.
|
|
1440
|
+
* @summary Update application set
|
|
1441
|
+
* @param {ApplicationSetsApiUpdateApplicationSetRequest} requestParameters Request parameters.
|
|
1442
|
+
* @param {*} [options] Override http request option.
|
|
1443
|
+
* @throws {RequiredError}
|
|
1444
|
+
*/
|
|
1445
|
+
updateApplicationSet(requestParameters: ApplicationSetsApiUpdateApplicationSetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApplicationSet> {
|
|
1446
|
+
return localVarFp.updateApplicationSet(requestParameters.project, requestParameters.applicationSetId, requestParameters.createApplicationSetRequest, options).then((request) => request(axios, basePath));
|
|
1447
|
+
},
|
|
1448
|
+
};
|
|
1449
|
+
};
|
|
1450
|
+
|
|
1451
|
+
/**
|
|
1452
|
+
* Request parameters for createApplicationSet operation in ApplicationSetsApi.
|
|
1453
|
+
* @export
|
|
1454
|
+
* @interface ApplicationSetsApiCreateApplicationSetRequest
|
|
1455
|
+
*/
|
|
1456
|
+
export interface ApplicationSetsApiCreateApplicationSetRequest {
|
|
1457
|
+
/**
|
|
1458
|
+
* What project it is
|
|
1459
|
+
* @type {string}
|
|
1460
|
+
* @memberof ApplicationSetsApiCreateApplicationSet
|
|
1461
|
+
*/
|
|
1462
|
+
readonly project: string
|
|
1463
|
+
|
|
1464
|
+
/**
|
|
1465
|
+
* Create a new application set.
|
|
1466
|
+
* @type {CreateApplicationSetRequest}
|
|
1467
|
+
* @memberof ApplicationSetsApiCreateApplicationSet
|
|
1468
|
+
*/
|
|
1469
|
+
readonly createApplicationSetRequest?: CreateApplicationSetRequest
|
|
1470
|
+
}
|
|
1471
|
+
|
|
1472
|
+
/**
|
|
1473
|
+
* Request parameters for deleteApplicationSet operation in ApplicationSetsApi.
|
|
1474
|
+
* @export
|
|
1475
|
+
* @interface ApplicationSetsApiDeleteApplicationSetRequest
|
|
1476
|
+
*/
|
|
1477
|
+
export interface ApplicationSetsApiDeleteApplicationSetRequest {
|
|
1478
|
+
/**
|
|
1479
|
+
* What project it is
|
|
1480
|
+
* @type {string}
|
|
1481
|
+
* @memberof ApplicationSetsApiDeleteApplicationSet
|
|
1482
|
+
*/
|
|
1483
|
+
readonly project: string
|
|
1484
|
+
|
|
1485
|
+
/**
|
|
1486
|
+
* Application set\'s unique identifier
|
|
1487
|
+
* @type {string}
|
|
1488
|
+
* @memberof ApplicationSetsApiDeleteApplicationSet
|
|
1489
|
+
*/
|
|
1490
|
+
readonly applicationSetId: string
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
|
+
/**
|
|
1494
|
+
* Request parameters for getApplicationSet operation in ApplicationSetsApi.
|
|
1495
|
+
* @export
|
|
1496
|
+
* @interface ApplicationSetsApiGetApplicationSetRequest
|
|
1497
|
+
*/
|
|
1498
|
+
export interface ApplicationSetsApiGetApplicationSetRequest {
|
|
1499
|
+
/**
|
|
1500
|
+
* What project it is
|
|
1501
|
+
* @type {string}
|
|
1502
|
+
* @memberof ApplicationSetsApiGetApplicationSet
|
|
1503
|
+
*/
|
|
1504
|
+
readonly project: string
|
|
1505
|
+
|
|
1506
|
+
/**
|
|
1507
|
+
* Application set\'s unique identifier
|
|
1508
|
+
* @type {string}
|
|
1509
|
+
* @memberof ApplicationSetsApiGetApplicationSet
|
|
1510
|
+
*/
|
|
1511
|
+
readonly applicationSetId: string
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
/**
|
|
1515
|
+
* Request parameters for listApplicationSets operation in ApplicationSetsApi.
|
|
1516
|
+
* @export
|
|
1517
|
+
* @interface ApplicationSetsApiListApplicationSetsRequest
|
|
1518
|
+
*/
|
|
1519
|
+
export interface ApplicationSetsApiListApplicationSetsRequest {
|
|
1520
|
+
/**
|
|
1521
|
+
* What project it is
|
|
1522
|
+
* @type {string}
|
|
1523
|
+
* @memberof ApplicationSetsApiListApplicationSets
|
|
1524
|
+
*/
|
|
1525
|
+
readonly project: string
|
|
1526
|
+
|
|
1527
|
+
/**
|
|
1528
|
+
* Page reference token
|
|
1529
|
+
* @type {number}
|
|
1530
|
+
* @memberof ApplicationSetsApiListApplicationSets
|
|
1531
|
+
*/
|
|
1532
|
+
readonly pageToken?: number
|
|
1533
|
+
|
|
1534
|
+
/**
|
|
1535
|
+
* Search term to filter based on product tags.
|
|
1536
|
+
* @type {string}
|
|
1537
|
+
* @memberof ApplicationSetsApiListApplicationSets
|
|
1538
|
+
*/
|
|
1539
|
+
readonly search?: string
|
|
1540
|
+
|
|
1541
|
+
/**
|
|
1542
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1543
|
+
* @type {number}
|
|
1544
|
+
* @memberof ApplicationSetsApiListApplicationSets
|
|
1545
|
+
*/
|
|
1546
|
+
readonly pageSize?: number
|
|
1547
|
+
}
|
|
1548
|
+
|
|
1549
|
+
/**
|
|
1550
|
+
* Request parameters for updateApplicationSet operation in ApplicationSetsApi.
|
|
1551
|
+
* @export
|
|
1552
|
+
* @interface ApplicationSetsApiUpdateApplicationSetRequest
|
|
1553
|
+
*/
|
|
1554
|
+
export interface ApplicationSetsApiUpdateApplicationSetRequest {
|
|
1555
|
+
/**
|
|
1556
|
+
* What project it is
|
|
1557
|
+
* @type {string}
|
|
1558
|
+
* @memberof ApplicationSetsApiUpdateApplicationSet
|
|
1559
|
+
*/
|
|
1560
|
+
readonly project: string
|
|
1561
|
+
|
|
1562
|
+
/**
|
|
1563
|
+
* Application set\'s unique identifier
|
|
1564
|
+
* @type {string}
|
|
1565
|
+
* @memberof ApplicationSetsApiUpdateApplicationSet
|
|
1566
|
+
*/
|
|
1567
|
+
readonly applicationSetId: string
|
|
1568
|
+
|
|
1569
|
+
/**
|
|
1570
|
+
* Create a new application set.
|
|
1571
|
+
* @type {CreateApplicationSetRequest}
|
|
1572
|
+
* @memberof ApplicationSetsApiUpdateApplicationSet
|
|
1573
|
+
*/
|
|
1574
|
+
readonly createApplicationSetRequest?: CreateApplicationSetRequest
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
/**
|
|
1578
|
+
* ApplicationSetsApi - object-oriented interface
|
|
1579
|
+
* @export
|
|
1580
|
+
* @class ApplicationSetsApi
|
|
1581
|
+
* @extends {BaseAPI}
|
|
1582
|
+
*/
|
|
1583
|
+
export class ApplicationSetsApi extends BaseAPI {
|
|
1584
|
+
/**
|
|
1585
|
+
* Creates a new application set.
|
|
1586
|
+
* @summary Create application set
|
|
1587
|
+
* @param {ApplicationSetsApiCreateApplicationSetRequest} requestParameters Request parameters.
|
|
1588
|
+
* @param {*} [options] Override http request option.
|
|
1589
|
+
* @throws {RequiredError}
|
|
1590
|
+
* @memberof ApplicationSetsApi
|
|
1591
|
+
*/
|
|
1592
|
+
public createApplicationSet(requestParameters: ApplicationSetsApiCreateApplicationSetRequest, options?: RawAxiosRequestConfig) {
|
|
1593
|
+
return ApplicationSetsApiFp(this.configuration).createApplicationSet(requestParameters.project, requestParameters.createApplicationSetRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1594
|
+
}
|
|
1595
|
+
|
|
1596
|
+
/**
|
|
1597
|
+
* Deletes an existing application set.
|
|
1598
|
+
* @summary Delete an application set
|
|
1599
|
+
* @param {ApplicationSetsApiDeleteApplicationSetRequest} requestParameters Request parameters.
|
|
1600
|
+
* @param {*} [options] Override http request option.
|
|
1601
|
+
* @throws {RequiredError}
|
|
1602
|
+
* @memberof ApplicationSetsApi
|
|
1603
|
+
*/
|
|
1604
|
+
public deleteApplicationSet(requestParameters: ApplicationSetsApiDeleteApplicationSetRequest, options?: RawAxiosRequestConfig) {
|
|
1605
|
+
return ApplicationSetsApiFp(this.configuration).deleteApplicationSet(requestParameters.project, requestParameters.applicationSetId, options).then((request) => request(this.axios, this.basePath));
|
|
1606
|
+
}
|
|
1607
|
+
|
|
1608
|
+
/**
|
|
1609
|
+
* Get an application by the given id.
|
|
1610
|
+
* @summary Get an application set
|
|
1611
|
+
* @param {ApplicationSetsApiGetApplicationSetRequest} requestParameters Request parameters.
|
|
1612
|
+
* @param {*} [options] Override http request option.
|
|
1613
|
+
* @throws {RequiredError}
|
|
1614
|
+
* @memberof ApplicationSetsApi
|
|
1615
|
+
*/
|
|
1616
|
+
public getApplicationSet(requestParameters: ApplicationSetsApiGetApplicationSetRequest, options?: RawAxiosRequestConfig) {
|
|
1617
|
+
return ApplicationSetsApiFp(this.configuration).getApplicationSet(requestParameters.project, requestParameters.applicationSetId, options).then((request) => request(this.axios, this.basePath));
|
|
1618
|
+
}
|
|
1619
|
+
|
|
1620
|
+
/**
|
|
1621
|
+
* Lists all application sets that belong to the given project.
|
|
1622
|
+
* @summary List application sets
|
|
1623
|
+
* @param {ApplicationSetsApiListApplicationSetsRequest} requestParameters Request parameters.
|
|
1624
|
+
* @param {*} [options] Override http request option.
|
|
1625
|
+
* @throws {RequiredError}
|
|
1626
|
+
* @memberof ApplicationSetsApi
|
|
1627
|
+
*/
|
|
1628
|
+
public listApplicationSets(requestParameters: ApplicationSetsApiListApplicationSetsRequest, options?: RawAxiosRequestConfig) {
|
|
1629
|
+
return ApplicationSetsApiFp(this.configuration).listApplicationSets(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1632
|
+
/**
|
|
1633
|
+
* Updates an existing application set.
|
|
1634
|
+
* @summary Update application set
|
|
1635
|
+
* @param {ApplicationSetsApiUpdateApplicationSetRequest} requestParameters Request parameters.
|
|
1636
|
+
* @param {*} [options] Override http request option.
|
|
1637
|
+
* @throws {RequiredError}
|
|
1638
|
+
* @memberof ApplicationSetsApi
|
|
1639
|
+
*/
|
|
1640
|
+
public updateApplicationSet(requestParameters: ApplicationSetsApiUpdateApplicationSetRequest, options?: RawAxiosRequestConfig) {
|
|
1641
|
+
return ApplicationSetsApiFp(this.configuration).updateApplicationSet(requestParameters.project, requestParameters.applicationSetId, requestParameters.createApplicationSetRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1642
|
+
}
|
|
1643
|
+
}
|
|
1644
|
+
|
|
1645
|
+
|
|
1646
|
+
|
|
883
1647
|
/**
|
|
884
1648
|
* ProductsApi - axios parameter creator
|
|
885
1649
|
* @export
|