@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/base.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.16.0
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).
package/common.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.16.0
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).
package/configuration.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.16.0
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).
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Product Catalog API
3
3
  * 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.
4
4
  *
5
- * The version of the OpenAPI document: 1.16.0
5
+ * The version of the OpenAPI document: 1.17.0
6
6
  * Contact: hello@teemill.com
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -115,6 +115,124 @@ export interface ApplicationMockup {
115
115
  */
116
116
  'preview'?: string;
117
117
  }
118
+ /**
119
+ *
120
+ * @export
121
+ * @interface ApplicationSet
122
+ */
123
+ export interface ApplicationSet {
124
+ /**
125
+ * Unique object identifier
126
+ * @type {string}
127
+ * @memberof ApplicationSet
128
+ */
129
+ 'id'?: string;
130
+ /**
131
+ * Name of the application set
132
+ * @type {string}
133
+ * @memberof ApplicationSet
134
+ */
135
+ 'name': string;
136
+ /**
137
+ * Description of the application set
138
+ * @type {string}
139
+ * @memberof ApplicationSet
140
+ */
141
+ 'description'?: string;
142
+ /**
143
+ * The width, in pixels of the images in the set
144
+ * @type {number}
145
+ * @memberof ApplicationSet
146
+ */
147
+ 'width': number;
148
+ /**
149
+ * The height, in pixels of the images in the set
150
+ * @type {number}
151
+ * @memberof ApplicationSet
152
+ */
153
+ 'height': number;
154
+ /**
155
+ * The DPI used when printing the images in the set
156
+ * @type {number}
157
+ * @memberof ApplicationSet
158
+ */
159
+ 'dpi': number;
160
+ /**
161
+ * List of application set records
162
+ * @type {Array<ApplicationSetRecord>}
163
+ * @memberof ApplicationSet
164
+ */
165
+ 'records'?: Array<ApplicationSetRecord>;
166
+ }
167
+ /**
168
+ *
169
+ * @export
170
+ * @interface ApplicationSet1
171
+ */
172
+ export interface ApplicationSet1 {
173
+ /**
174
+ * Unique object identifier
175
+ * @type {string}
176
+ * @memberof ApplicationSet1
177
+ */
178
+ 'id'?: string;
179
+ }
180
+ /**
181
+ *
182
+ * @export
183
+ * @interface ApplicationSetRecord
184
+ */
185
+ export interface ApplicationSetRecord {
186
+ /**
187
+ * Unique object identifier
188
+ * @type {string}
189
+ * @memberof ApplicationSetRecord
190
+ */
191
+ 'id'?: string;
192
+ /**
193
+ *
194
+ * @type {ApplicationSet1}
195
+ * @memberof ApplicationSetRecord
196
+ */
197
+ 'set'?: ApplicationSet1;
198
+ /**
199
+ * Name of the option that this record represents
200
+ * @type {string}
201
+ * @memberof ApplicationSetRecord
202
+ */
203
+ 'optionName'?: string;
204
+ /**
205
+ * The value of the option that this record represents
206
+ * @type {string}
207
+ * @memberof ApplicationSetRecord
208
+ */
209
+ 'optionValue'?: string;
210
+ /**
211
+ * List of applications for this record
212
+ * @type {Array<Application>}
213
+ * @memberof ApplicationSetRecord
214
+ */
215
+ 'applications'?: Array<Application>;
216
+ }
217
+ /**
218
+ *
219
+ * @export
220
+ * @interface ApplicationSetsResponse
221
+ */
222
+ export interface ApplicationSetsResponse {
223
+ /**
224
+ *
225
+ * @type {Array<ApplicationSet>}
226
+ * @memberof ApplicationSetsResponse
227
+ */
228
+ 'applicationSets'?: Array<ApplicationSet>;
229
+ /**
230
+ *
231
+ * @type {number}
232
+ * @memberof ApplicationSetsResponse
233
+ */
234
+ 'nextPageToken'?: number;
235
+ }
118
236
  /**
119
237
  *
120
238
  * @export
@@ -171,6 +289,49 @@ export declare const AttributeThumbnailTypeEnum: {
171
289
  readonly Image: "image";
172
290
  };
173
291
  export type AttributeThumbnailTypeEnum = typeof AttributeThumbnailTypeEnum[keyof typeof AttributeThumbnailTypeEnum];
292
+ /**
293
+ *
294
+ * @export
295
+ * @interface CreateApplicationSetRequest
296
+ */
297
+ export interface CreateApplicationSetRequest {
298
+ /**
299
+ * Name of the application set
300
+ * @type {string}
301
+ * @memberof CreateApplicationSetRequest
302
+ */
303
+ 'name'?: string;
304
+ /**
305
+ * Description of the application set
306
+ * @type {string}
307
+ * @memberof CreateApplicationSetRequest
308
+ */
309
+ 'description'?: string;
310
+ /**
311
+ * The width, in pixels of the images in the set
312
+ * @type {number}
313
+ * @memberof CreateApplicationSetRequest
314
+ */
315
+ 'width'?: number;
316
+ /**
317
+ * The height, in pixels of the images in the set
318
+ * @type {number}
319
+ * @memberof CreateApplicationSetRequest
320
+ */
321
+ 'height'?: number;
322
+ /**
323
+ * The DPI used when printing the images in the set
324
+ * @type {number}
325
+ * @memberof CreateApplicationSetRequest
326
+ */
327
+ 'dpi'?: number;
328
+ /**
329
+ * List of application set records
330
+ * @type {Array<ApplicationSetRecord>}
331
+ * @memberof CreateApplicationSetRequest
332
+ */
333
+ 'records'?: Array<ApplicationSetRecord>;
334
+ }
174
335
  /**
175
336
  *
176
337
  * @export
@@ -853,6 +1014,326 @@ export interface VariantsResponse {
853
1014
  */
854
1015
  'nextPageToken'?: number;
855
1016
  }
1017
+ /**
1018
+ * ApplicationSetsApi - axios parameter creator
1019
+ * @export
1020
+ */
1021
+ export declare const ApplicationSetsApiAxiosParamCreator: (configuration?: Configuration) => {
1022
+ /**
1023
+ * Creates a new application set.
1024
+ * @summary Create application set
1025
+ * @param {string} project What project it is
1026
+ * @param {CreateApplicationSetRequest} [createApplicationSetRequest] Create a new application set.
1027
+ * @param {*} [options] Override http request option.
1028
+ * @throws {RequiredError}
1029
+ */
1030
+ createApplicationSet: (project: string, createApplicationSetRequest?: CreateApplicationSetRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1031
+ /**
1032
+ * Deletes an existing application set.
1033
+ * @summary Delete an application set
1034
+ * @param {string} project What project it is
1035
+ * @param {string} applicationSetId Application set\&#39;s unique identifier
1036
+ * @param {*} [options] Override http request option.
1037
+ * @throws {RequiredError}
1038
+ */
1039
+ deleteApplicationSet: (project: string, applicationSetId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1040
+ /**
1041
+ * Get an application by the given id.
1042
+ * @summary Get an application set
1043
+ * @param {string} project What project it is
1044
+ * @param {string} applicationSetId Application set\&#39;s unique identifier
1045
+ * @param {*} [options] Override http request option.
1046
+ * @throws {RequiredError}
1047
+ */
1048
+ getApplicationSet: (project: string, applicationSetId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1049
+ /**
1050
+ * Lists all application sets that belong to the given project.
1051
+ * @summary List application sets
1052
+ * @param {string} project What project it is
1053
+ * @param {number} [pageToken] Page reference token
1054
+ * @param {string} [search] Search term to filter based on product tags.
1055
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1056
+ * @param {*} [options] Override http request option.
1057
+ * @throws {RequiredError}
1058
+ */
1059
+ listApplicationSets: (project: string, pageToken?: number, search?: string, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1060
+ /**
1061
+ * Updates an existing application set.
1062
+ * @summary Update application set
1063
+ * @param {string} project What project it is
1064
+ * @param {string} applicationSetId Application set\&#39;s unique identifier
1065
+ * @param {CreateApplicationSetRequest} [createApplicationSetRequest] Create a new application set.
1066
+ * @param {*} [options] Override http request option.
1067
+ * @throws {RequiredError}
1068
+ */
1069
+ updateApplicationSet: (project: string, applicationSetId: string, createApplicationSetRequest?: CreateApplicationSetRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1070
+ };
1071
+ /**
1072
+ * ApplicationSetsApi - functional programming interface
1073
+ * @export
1074
+ */
1075
+ export declare const ApplicationSetsApiFp: (configuration?: Configuration) => {
1076
+ /**
1077
+ * Creates a new application set.
1078
+ * @summary Create application set
1079
+ * @param {string} project What project it is
1080
+ * @param {CreateApplicationSetRequest} [createApplicationSetRequest] Create a new application set.
1081
+ * @param {*} [options] Override http request option.
1082
+ * @throws {RequiredError}
1083
+ */
1084
+ createApplicationSet(project: string, createApplicationSetRequest?: CreateApplicationSetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationSet>>;
1085
+ /**
1086
+ * Deletes an existing application set.
1087
+ * @summary Delete an application set
1088
+ * @param {string} project What project it is
1089
+ * @param {string} applicationSetId Application set\&#39;s unique identifier
1090
+ * @param {*} [options] Override http request option.
1091
+ * @throws {RequiredError}
1092
+ */
1093
+ deleteApplicationSet(project: string, applicationSetId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1094
+ /**
1095
+ * Get an application by the given id.
1096
+ * @summary Get an application set
1097
+ * @param {string} project What project it is
1098
+ * @param {string} applicationSetId Application set\&#39;s unique identifier
1099
+ * @param {*} [options] Override http request option.
1100
+ * @throws {RequiredError}
1101
+ */
1102
+ getApplicationSet(project: string, applicationSetId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationSet>>;
1103
+ /**
1104
+ * Lists all application sets that belong to the given project.
1105
+ * @summary List application sets
1106
+ * @param {string} project What project it is
1107
+ * @param {number} [pageToken] Page reference token
1108
+ * @param {string} [search] Search term to filter based on product tags.
1109
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1110
+ * @param {*} [options] Override http request option.
1111
+ * @throws {RequiredError}
1112
+ */
1113
+ listApplicationSets(project: string, pageToken?: number, search?: string, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationSetsResponse>>;
1114
+ /**
1115
+ * Updates an existing application set.
1116
+ * @summary Update application set
1117
+ * @param {string} project What project it is
1118
+ * @param {string} applicationSetId Application set\&#39;s unique identifier
1119
+ * @param {CreateApplicationSetRequest} [createApplicationSetRequest] Create a new application set.
1120
+ * @param {*} [options] Override http request option.
1121
+ * @throws {RequiredError}
1122
+ */
1123
+ updateApplicationSet(project: string, applicationSetId: string, createApplicationSetRequest?: CreateApplicationSetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationSet>>;
1124
+ };
1125
+ /**
1126
+ * ApplicationSetsApi - factory interface
1127
+ * @export
1128
+ */
1129
+ export declare const ApplicationSetsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1130
+ /**
1131
+ * Creates a new application set.
1132
+ * @summary Create application set
1133
+ * @param {ApplicationSetsApiCreateApplicationSetRequest} requestParameters Request parameters.
1134
+ * @param {*} [options] Override http request option.
1135
+ * @throws {RequiredError}
1136
+ */
1137
+ createApplicationSet(requestParameters: ApplicationSetsApiCreateApplicationSetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApplicationSet>;
1138
+ /**
1139
+ * Deletes an existing application set.
1140
+ * @summary Delete an application set
1141
+ * @param {ApplicationSetsApiDeleteApplicationSetRequest} requestParameters Request parameters.
1142
+ * @param {*} [options] Override http request option.
1143
+ * @throws {RequiredError}
1144
+ */
1145
+ deleteApplicationSet(requestParameters: ApplicationSetsApiDeleteApplicationSetRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1146
+ /**
1147
+ * Get an application by the given id.
1148
+ * @summary Get an application set
1149
+ * @param {ApplicationSetsApiGetApplicationSetRequest} requestParameters Request parameters.
1150
+ * @param {*} [options] Override http request option.
1151
+ * @throws {RequiredError}
1152
+ */
1153
+ getApplicationSet(requestParameters: ApplicationSetsApiGetApplicationSetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApplicationSet>;
1154
+ /**
1155
+ * Lists all application sets that belong to the given project.
1156
+ * @summary List application sets
1157
+ * @param {ApplicationSetsApiListApplicationSetsRequest} requestParameters Request parameters.
1158
+ * @param {*} [options] Override http request option.
1159
+ * @throws {RequiredError}
1160
+ */
1161
+ listApplicationSets(requestParameters: ApplicationSetsApiListApplicationSetsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApplicationSetsResponse>;
1162
+ /**
1163
+ * Updates an existing application set.
1164
+ * @summary Update application set
1165
+ * @param {ApplicationSetsApiUpdateApplicationSetRequest} requestParameters Request parameters.
1166
+ * @param {*} [options] Override http request option.
1167
+ * @throws {RequiredError}
1168
+ */
1169
+ updateApplicationSet(requestParameters: ApplicationSetsApiUpdateApplicationSetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApplicationSet>;
1170
+ };
1171
+ /**
1172
+ * Request parameters for createApplicationSet operation in ApplicationSetsApi.
1173
+ * @export
1174
+ * @interface ApplicationSetsApiCreateApplicationSetRequest
1175
+ */
1176
+ export interface ApplicationSetsApiCreateApplicationSetRequest {
1177
+ /**
1178
+ * What project it is
1179
+ * @type {string}
1180
+ * @memberof ApplicationSetsApiCreateApplicationSet
1181
+ */
1182
+ readonly project: string;
1183
+ /**
1184
+ * Create a new application set.
1185
+ * @type {CreateApplicationSetRequest}
1186
+ * @memberof ApplicationSetsApiCreateApplicationSet
1187
+ */
1188
+ readonly createApplicationSetRequest?: CreateApplicationSetRequest;
1189
+ }
1190
+ /**
1191
+ * Request parameters for deleteApplicationSet operation in ApplicationSetsApi.
1192
+ * @export
1193
+ * @interface ApplicationSetsApiDeleteApplicationSetRequest
1194
+ */
1195
+ export interface ApplicationSetsApiDeleteApplicationSetRequest {
1196
+ /**
1197
+ * What project it is
1198
+ * @type {string}
1199
+ * @memberof ApplicationSetsApiDeleteApplicationSet
1200
+ */
1201
+ readonly project: string;
1202
+ /**
1203
+ * Application set\&#39;s unique identifier
1204
+ * @type {string}
1205
+ * @memberof ApplicationSetsApiDeleteApplicationSet
1206
+ */
1207
+ readonly applicationSetId: string;
1208
+ }
1209
+ /**
1210
+ * Request parameters for getApplicationSet operation in ApplicationSetsApi.
1211
+ * @export
1212
+ * @interface ApplicationSetsApiGetApplicationSetRequest
1213
+ */
1214
+ export interface ApplicationSetsApiGetApplicationSetRequest {
1215
+ /**
1216
+ * What project it is
1217
+ * @type {string}
1218
+ * @memberof ApplicationSetsApiGetApplicationSet
1219
+ */
1220
+ readonly project: string;
1221
+ /**
1222
+ * Application set\&#39;s unique identifier
1223
+ * @type {string}
1224
+ * @memberof ApplicationSetsApiGetApplicationSet
1225
+ */
1226
+ readonly applicationSetId: string;
1227
+ }
1228
+ /**
1229
+ * Request parameters for listApplicationSets operation in ApplicationSetsApi.
1230
+ * @export
1231
+ * @interface ApplicationSetsApiListApplicationSetsRequest
1232
+ */
1233
+ export interface ApplicationSetsApiListApplicationSetsRequest {
1234
+ /**
1235
+ * What project it is
1236
+ * @type {string}
1237
+ * @memberof ApplicationSetsApiListApplicationSets
1238
+ */
1239
+ readonly project: string;
1240
+ /**
1241
+ * Page reference token
1242
+ * @type {number}
1243
+ * @memberof ApplicationSetsApiListApplicationSets
1244
+ */
1245
+ readonly pageToken?: number;
1246
+ /**
1247
+ * Search term to filter based on product tags.
1248
+ * @type {string}
1249
+ * @memberof ApplicationSetsApiListApplicationSets
1250
+ */
1251
+ readonly search?: string;
1252
+ /**
1253
+ * Max page size. This is the maximum page size that will be returned, but it might be smaller.
1254
+ * @type {number}
1255
+ * @memberof ApplicationSetsApiListApplicationSets
1256
+ */
1257
+ readonly pageSize?: number;
1258
+ }
1259
+ /**
1260
+ * Request parameters for updateApplicationSet operation in ApplicationSetsApi.
1261
+ * @export
1262
+ * @interface ApplicationSetsApiUpdateApplicationSetRequest
1263
+ */
1264
+ export interface ApplicationSetsApiUpdateApplicationSetRequest {
1265
+ /**
1266
+ * What project it is
1267
+ * @type {string}
1268
+ * @memberof ApplicationSetsApiUpdateApplicationSet
1269
+ */
1270
+ readonly project: string;
1271
+ /**
1272
+ * Application set\&#39;s unique identifier
1273
+ * @type {string}
1274
+ * @memberof ApplicationSetsApiUpdateApplicationSet
1275
+ */
1276
+ readonly applicationSetId: string;
1277
+ /**
1278
+ * Create a new application set.
1279
+ * @type {CreateApplicationSetRequest}
1280
+ * @memberof ApplicationSetsApiUpdateApplicationSet
1281
+ */
1282
+ readonly createApplicationSetRequest?: CreateApplicationSetRequest;
1283
+ }
1284
+ /**
1285
+ * ApplicationSetsApi - object-oriented interface
1286
+ * @export
1287
+ * @class ApplicationSetsApi
1288
+ * @extends {BaseAPI}
1289
+ */
1290
+ export declare class ApplicationSetsApi extends BaseAPI {
1291
+ /**
1292
+ * Creates a new application set.
1293
+ * @summary Create application set
1294
+ * @param {ApplicationSetsApiCreateApplicationSetRequest} requestParameters Request parameters.
1295
+ * @param {*} [options] Override http request option.
1296
+ * @throws {RequiredError}
1297
+ * @memberof ApplicationSetsApi
1298
+ */
1299
+ createApplicationSet(requestParameters: ApplicationSetsApiCreateApplicationSetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApplicationSet, any>>;
1300
+ /**
1301
+ * Deletes an existing application set.
1302
+ * @summary Delete an application set
1303
+ * @param {ApplicationSetsApiDeleteApplicationSetRequest} requestParameters Request parameters.
1304
+ * @param {*} [options] Override http request option.
1305
+ * @throws {RequiredError}
1306
+ * @memberof ApplicationSetsApi
1307
+ */
1308
+ deleteApplicationSet(requestParameters: ApplicationSetsApiDeleteApplicationSetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1309
+ /**
1310
+ * Get an application by the given id.
1311
+ * @summary Get an application set
1312
+ * @param {ApplicationSetsApiGetApplicationSetRequest} requestParameters Request parameters.
1313
+ * @param {*} [options] Override http request option.
1314
+ * @throws {RequiredError}
1315
+ * @memberof ApplicationSetsApi
1316
+ */
1317
+ getApplicationSet(requestParameters: ApplicationSetsApiGetApplicationSetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApplicationSet, any>>;
1318
+ /**
1319
+ * Lists all application sets that belong to the given project.
1320
+ * @summary List application sets
1321
+ * @param {ApplicationSetsApiListApplicationSetsRequest} requestParameters Request parameters.
1322
+ * @param {*} [options] Override http request option.
1323
+ * @throws {RequiredError}
1324
+ * @memberof ApplicationSetsApi
1325
+ */
1326
+ listApplicationSets(requestParameters: ApplicationSetsApiListApplicationSetsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApplicationSetsResponse, any>>;
1327
+ /**
1328
+ * Updates an existing application set.
1329
+ * @summary Update application set
1330
+ * @param {ApplicationSetsApiUpdateApplicationSetRequest} requestParameters Request parameters.
1331
+ * @param {*} [options] Override http request option.
1332
+ * @throws {RequiredError}
1333
+ * @memberof ApplicationSetsApi
1334
+ */
1335
+ updateApplicationSet(requestParameters: ApplicationSetsApiUpdateApplicationSetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApplicationSet, any>>;
1336
+ }
856
1337
  /**
857
1338
  * ProductsApi - axios parameter creator
858
1339
  * @export