@teemill/product-catalog 1.64.1 → 1.68.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/README.md +12 -2
- package/api.ts +897 -11
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +606 -9
- package/dist/api.js +469 -4
- 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 +606 -9
- package/dist/esm/api.js +464 -3
- 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/docs/Application.md +2 -2
- package/docs/ApplicationGroup.md +28 -0
- package/docs/ApplicationGroupsApi.md +317 -0
- package/docs/ApplicationGroupsResponse.md +22 -0
- package/docs/ApplicationSetsApi.md +1 -1
- package/docs/CreateApplication.md +2 -2
- package/docs/CreateApplicationGroupRequest.md +20 -0
- package/docs/ImageFile.md +4 -0
- package/docs/ImageFileFocalPoint.md +23 -0
- package/docs/UpdateApplicationGroupRequest.md +20 -0
- 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 your 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.68.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -92,11 +92,11 @@ export interface Application {
|
|
|
92
92
|
*/
|
|
93
93
|
'src'?: string;
|
|
94
94
|
/**
|
|
95
|
-
*
|
|
95
|
+
* A reference to the application group. The src across all applications in the same group will be considered the same src. The is useful for DTF when using the same transfer across multiple products.
|
|
96
96
|
* @type {string}
|
|
97
97
|
* @memberof Application
|
|
98
98
|
*/
|
|
99
|
-
'
|
|
99
|
+
'groupRef'?: string | null;
|
|
100
100
|
/**
|
|
101
101
|
*
|
|
102
102
|
* @type {ApplicationMockup}
|
|
@@ -126,7 +126,8 @@ export const ApplicationTechnologyEnum = {
|
|
|
126
126
|
ManualPrint: 'manual_print',
|
|
127
127
|
AdditionalApplication: 'additional_application',
|
|
128
128
|
NotebookSublimation: 'notebook_sublimation',
|
|
129
|
-
DuplexPrint: 'duplex_print'
|
|
129
|
+
DuplexPrint: 'duplex_print',
|
|
130
|
+
DuplexInsert: 'duplex_insert'
|
|
130
131
|
} as const;
|
|
131
132
|
|
|
132
133
|
export type ApplicationTechnologyEnum = typeof ApplicationTechnologyEnum[keyof typeof ApplicationTechnologyEnum];
|
|
@@ -140,6 +141,62 @@ export const ApplicationPlacementEnum = {
|
|
|
140
141
|
|
|
141
142
|
export type ApplicationPlacementEnum = typeof ApplicationPlacementEnum[keyof typeof ApplicationPlacementEnum];
|
|
142
143
|
|
|
144
|
+
/**
|
|
145
|
+
*
|
|
146
|
+
* @export
|
|
147
|
+
* @interface ApplicationGroup
|
|
148
|
+
*/
|
|
149
|
+
export interface ApplicationGroup {
|
|
150
|
+
/**
|
|
151
|
+
* Unique object identifier
|
|
152
|
+
* @type {string}
|
|
153
|
+
* @memberof ApplicationGroup
|
|
154
|
+
*/
|
|
155
|
+
'id': string;
|
|
156
|
+
/**
|
|
157
|
+
* A reference to the application group resource location
|
|
158
|
+
* @type {string}
|
|
159
|
+
* @memberof ApplicationGroup
|
|
160
|
+
*/
|
|
161
|
+
'ref': string;
|
|
162
|
+
/**
|
|
163
|
+
* Name of the application group
|
|
164
|
+
* @type {string}
|
|
165
|
+
* @memberof ApplicationGroup
|
|
166
|
+
*/
|
|
167
|
+
'name': string;
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @type {string}
|
|
171
|
+
* @memberof ApplicationGroup
|
|
172
|
+
*/
|
|
173
|
+
'createdAt': string;
|
|
174
|
+
/**
|
|
175
|
+
*
|
|
176
|
+
* @type {string}
|
|
177
|
+
* @memberof ApplicationGroup
|
|
178
|
+
*/
|
|
179
|
+
'updatedAt': string;
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* @export
|
|
184
|
+
* @interface ApplicationGroupsResponse
|
|
185
|
+
*/
|
|
186
|
+
export interface ApplicationGroupsResponse {
|
|
187
|
+
/**
|
|
188
|
+
*
|
|
189
|
+
* @type {Array<ApplicationGroup>}
|
|
190
|
+
* @memberof ApplicationGroupsResponse
|
|
191
|
+
*/
|
|
192
|
+
'applicationGroups'?: Array<ApplicationGroup>;
|
|
193
|
+
/**
|
|
194
|
+
* The token referencing the next page number
|
|
195
|
+
* @type {number}
|
|
196
|
+
* @memberof ApplicationGroupsResponse
|
|
197
|
+
*/
|
|
198
|
+
'nextPageToken'?: number | null;
|
|
199
|
+
}
|
|
143
200
|
/**
|
|
144
201
|
*
|
|
145
202
|
* @export
|
|
@@ -302,10 +359,94 @@ export interface ApplicationPropertiesPositionInference {
|
|
|
302
359
|
'baseFlat': string;
|
|
303
360
|
}
|
|
304
361
|
/**
|
|
305
|
-
*
|
|
362
|
+
*
|
|
306
363
|
* @export
|
|
364
|
+
* @interface ApplicationPropertiesProperties
|
|
307
365
|
*/
|
|
308
|
-
export
|
|
366
|
+
export interface ApplicationPropertiesProperties {
|
|
367
|
+
/**
|
|
368
|
+
*
|
|
369
|
+
* @type {ApplicationPropertiesPosition}
|
|
370
|
+
* @memberof ApplicationPropertiesProperties
|
|
371
|
+
*/
|
|
372
|
+
'position'?: ApplicationPropertiesPosition | null;
|
|
373
|
+
/**
|
|
374
|
+
*
|
|
375
|
+
* @type {ApplicationPropertiesPositionInference}
|
|
376
|
+
* @memberof ApplicationPropertiesProperties
|
|
377
|
+
*/
|
|
378
|
+
'positionInference'?: ApplicationPropertiesPositionInference | null;
|
|
379
|
+
/**
|
|
380
|
+
* An array of text lines.
|
|
381
|
+
* @type {Array<string>}
|
|
382
|
+
* @memberof ApplicationPropertiesProperties
|
|
383
|
+
*/
|
|
384
|
+
'lines'?: Array<string>;
|
|
385
|
+
/**
|
|
386
|
+
* The font to be used for the text. This font must be available in the PodOS font library.
|
|
387
|
+
* @type {string}
|
|
388
|
+
* @memberof ApplicationPropertiesProperties
|
|
389
|
+
*/
|
|
390
|
+
'font'?: string;
|
|
391
|
+
/**
|
|
392
|
+
* The size of the text in pixels.
|
|
393
|
+
* @type {number}
|
|
394
|
+
* @memberof ApplicationPropertiesProperties
|
|
395
|
+
*/
|
|
396
|
+
'fontSize'?: number;
|
|
397
|
+
/**
|
|
398
|
+
* The weight of the text. This must be a valid CSS font-weight value.
|
|
399
|
+
* @type {string}
|
|
400
|
+
* @memberof ApplicationPropertiesProperties
|
|
401
|
+
*/
|
|
402
|
+
'fontWeight'?: ApplicationPropertiesPropertiesFontWeightEnum;
|
|
403
|
+
/**
|
|
404
|
+
* The style of the text. This must be a valid CSS font-style value.
|
|
405
|
+
* @type {string}
|
|
406
|
+
* @memberof ApplicationPropertiesProperties
|
|
407
|
+
*/
|
|
408
|
+
'fontStyle'?: ApplicationPropertiesPropertiesFontStyleEnum;
|
|
409
|
+
/**
|
|
410
|
+
* The colour of the text in hex format.
|
|
411
|
+
* @type {string}
|
|
412
|
+
* @memberof ApplicationPropertiesProperties
|
|
413
|
+
*/
|
|
414
|
+
'color'?: string;
|
|
415
|
+
/**
|
|
416
|
+
* Width of the application in pixels
|
|
417
|
+
* @type {number}
|
|
418
|
+
* @memberof ApplicationPropertiesProperties
|
|
419
|
+
*/
|
|
420
|
+
'width'?: number | null;
|
|
421
|
+
/**
|
|
422
|
+
* Height of the application in pixels
|
|
423
|
+
* @type {number}
|
|
424
|
+
* @memberof ApplicationPropertiesProperties
|
|
425
|
+
*/
|
|
426
|
+
'height'?: number | null;
|
|
427
|
+
/**
|
|
428
|
+
*
|
|
429
|
+
* @type {ApplicationPropertiesMetadata}
|
|
430
|
+
* @memberof ApplicationPropertiesProperties
|
|
431
|
+
*/
|
|
432
|
+
'metadata'?: ApplicationPropertiesMetadata | null;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
export const ApplicationPropertiesPropertiesFontWeightEnum = {
|
|
436
|
+
Lighter: 'lighter',
|
|
437
|
+
Normal: 'normal',
|
|
438
|
+
Bold: 'bold',
|
|
439
|
+
Bolder: 'bolder'
|
|
440
|
+
} as const;
|
|
441
|
+
|
|
442
|
+
export type ApplicationPropertiesPropertiesFontWeightEnum = typeof ApplicationPropertiesPropertiesFontWeightEnum[keyof typeof ApplicationPropertiesPropertiesFontWeightEnum];
|
|
443
|
+
export const ApplicationPropertiesPropertiesFontStyleEnum = {
|
|
444
|
+
Normal: 'normal',
|
|
445
|
+
Italic: 'italic',
|
|
446
|
+
Oblique: 'oblique'
|
|
447
|
+
} as const;
|
|
448
|
+
|
|
449
|
+
export type ApplicationPropertiesPropertiesFontStyleEnum = typeof ApplicationPropertiesPropertiesFontStyleEnum[keyof typeof ApplicationPropertiesPropertiesFontStyleEnum];
|
|
309
450
|
|
|
310
451
|
/**
|
|
311
452
|
*
|
|
@@ -615,11 +756,11 @@ export interface CreateApplication {
|
|
|
615
756
|
*/
|
|
616
757
|
'src': string;
|
|
617
758
|
/**
|
|
618
|
-
*
|
|
759
|
+
* A reference to the application group. The src across all applications in the same group will be considered the same src. The is useful for DTF when using the same transfer across multiple products.
|
|
619
760
|
* @type {string}
|
|
620
761
|
* @memberof CreateApplication
|
|
621
762
|
*/
|
|
622
|
-
'
|
|
763
|
+
'groupRef'?: string | null;
|
|
623
764
|
/**
|
|
624
765
|
* If set to true, transfers for this application will not be printed on demand, and will need to be stocked in trays in the factory. Note that this can only be set if the technology is stockable, such as DTF.
|
|
625
766
|
* @type {boolean}
|
|
@@ -643,7 +784,8 @@ export const CreateApplicationTechnologyEnum = {
|
|
|
643
784
|
ManualPrint: 'manual_print',
|
|
644
785
|
AdditionalApplication: 'additional_application',
|
|
645
786
|
NotebookSublimation: 'notebook_sublimation',
|
|
646
|
-
DuplexPrint: 'duplex_print'
|
|
787
|
+
DuplexPrint: 'duplex_print',
|
|
788
|
+
DuplexInsert: 'duplex_insert'
|
|
647
789
|
} as const;
|
|
648
790
|
|
|
649
791
|
export type CreateApplicationTechnologyEnum = typeof CreateApplicationTechnologyEnum[keyof typeof CreateApplicationTechnologyEnum];
|
|
@@ -658,10 +800,107 @@ export const CreateApplicationPlacementEnum = {
|
|
|
658
800
|
export type CreateApplicationPlacementEnum = typeof CreateApplicationPlacementEnum[keyof typeof CreateApplicationPlacementEnum];
|
|
659
801
|
|
|
660
802
|
/**
|
|
661
|
-
*
|
|
803
|
+
*
|
|
804
|
+
* @export
|
|
805
|
+
* @interface CreateApplicationGroupRequest
|
|
806
|
+
*/
|
|
807
|
+
export interface CreateApplicationGroupRequest {
|
|
808
|
+
/**
|
|
809
|
+
* Name of the application group
|
|
810
|
+
* @type {string}
|
|
811
|
+
* @memberof CreateApplicationGroupRequest
|
|
812
|
+
*/
|
|
813
|
+
'name': string;
|
|
814
|
+
}
|
|
815
|
+
/**
|
|
816
|
+
*
|
|
662
817
|
* @export
|
|
818
|
+
* @interface CreateApplicationProperties
|
|
663
819
|
*/
|
|
664
|
-
export
|
|
820
|
+
export interface CreateApplicationProperties {
|
|
821
|
+
/**
|
|
822
|
+
*
|
|
823
|
+
* @type {ApplicationPropertiesPosition}
|
|
824
|
+
* @memberof CreateApplicationProperties
|
|
825
|
+
*/
|
|
826
|
+
'position'?: ApplicationPropertiesPosition | null;
|
|
827
|
+
/**
|
|
828
|
+
*
|
|
829
|
+
* @type {ApplicationPropertiesPositionInference}
|
|
830
|
+
* @memberof CreateApplicationProperties
|
|
831
|
+
*/
|
|
832
|
+
'positionInference'?: ApplicationPropertiesPositionInference | null;
|
|
833
|
+
/**
|
|
834
|
+
* An array of text lines.
|
|
835
|
+
* @type {Array<string>}
|
|
836
|
+
* @memberof CreateApplicationProperties
|
|
837
|
+
*/
|
|
838
|
+
'lines'?: Array<string>;
|
|
839
|
+
/**
|
|
840
|
+
* The font to be used for the text. This font must be available in the PodOS font library.
|
|
841
|
+
* @type {string}
|
|
842
|
+
* @memberof CreateApplicationProperties
|
|
843
|
+
*/
|
|
844
|
+
'font'?: string;
|
|
845
|
+
/**
|
|
846
|
+
* The size of the text in pixels.
|
|
847
|
+
* @type {number}
|
|
848
|
+
* @memberof CreateApplicationProperties
|
|
849
|
+
*/
|
|
850
|
+
'fontSize'?: number;
|
|
851
|
+
/**
|
|
852
|
+
* The weight of the text. This must be a valid CSS font-weight value.
|
|
853
|
+
* @type {string}
|
|
854
|
+
* @memberof CreateApplicationProperties
|
|
855
|
+
*/
|
|
856
|
+
'fontWeight'?: CreateApplicationPropertiesFontWeightEnum;
|
|
857
|
+
/**
|
|
858
|
+
* The style of the text. This must be a valid CSS font-style value.
|
|
859
|
+
* @type {string}
|
|
860
|
+
* @memberof CreateApplicationProperties
|
|
861
|
+
*/
|
|
862
|
+
'fontStyle'?: CreateApplicationPropertiesFontStyleEnum;
|
|
863
|
+
/**
|
|
864
|
+
* The colour of the text in hex format.
|
|
865
|
+
* @type {string}
|
|
866
|
+
* @memberof CreateApplicationProperties
|
|
867
|
+
*/
|
|
868
|
+
'color'?: string;
|
|
869
|
+
/**
|
|
870
|
+
* Width of the application in pixels
|
|
871
|
+
* @type {number}
|
|
872
|
+
* @memberof CreateApplicationProperties
|
|
873
|
+
*/
|
|
874
|
+
'width'?: number | null;
|
|
875
|
+
/**
|
|
876
|
+
* Height of the application in pixels
|
|
877
|
+
* @type {number}
|
|
878
|
+
* @memberof CreateApplicationProperties
|
|
879
|
+
*/
|
|
880
|
+
'height'?: number | null;
|
|
881
|
+
/**
|
|
882
|
+
*
|
|
883
|
+
* @type {ApplicationPropertiesMetadata}
|
|
884
|
+
* @memberof CreateApplicationProperties
|
|
885
|
+
*/
|
|
886
|
+
'metadata'?: ApplicationPropertiesMetadata | null;
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
export const CreateApplicationPropertiesFontWeightEnum = {
|
|
890
|
+
Lighter: 'lighter',
|
|
891
|
+
Normal: 'normal',
|
|
892
|
+
Bold: 'bold',
|
|
893
|
+
Bolder: 'bolder'
|
|
894
|
+
} as const;
|
|
895
|
+
|
|
896
|
+
export type CreateApplicationPropertiesFontWeightEnum = typeof CreateApplicationPropertiesFontWeightEnum[keyof typeof CreateApplicationPropertiesFontWeightEnum];
|
|
897
|
+
export const CreateApplicationPropertiesFontStyleEnum = {
|
|
898
|
+
Normal: 'normal',
|
|
899
|
+
Italic: 'italic',
|
|
900
|
+
Oblique: 'oblique'
|
|
901
|
+
} as const;
|
|
902
|
+
|
|
903
|
+
export type CreateApplicationPropertiesFontStyleEnum = typeof CreateApplicationPropertiesFontStyleEnum[keyof typeof CreateApplicationPropertiesFontStyleEnum];
|
|
665
904
|
|
|
666
905
|
/**
|
|
667
906
|
*
|
|
@@ -1248,6 +1487,37 @@ export interface ImageFile {
|
|
|
1248
1487
|
* @memberof ImageFile
|
|
1249
1488
|
*/
|
|
1250
1489
|
'variantIds'?: Array<string>;
|
|
1490
|
+
/**
|
|
1491
|
+
*
|
|
1492
|
+
* @type {ImageFileFocalPoint}
|
|
1493
|
+
* @memberof ImageFile
|
|
1494
|
+
*/
|
|
1495
|
+
'focalPoint'?: ImageFileFocalPoint;
|
|
1496
|
+
/**
|
|
1497
|
+
* The zoom level of the image, used for cropping the image when it\'s rendered to specific dimensions.
|
|
1498
|
+
* @type {number}
|
|
1499
|
+
* @memberof ImageFile
|
|
1500
|
+
*/
|
|
1501
|
+
'zoom'?: number;
|
|
1502
|
+
}
|
|
1503
|
+
/**
|
|
1504
|
+
* The focal point of the image, used for positioning the image when it\'s rendered to specific dimensions.
|
|
1505
|
+
* @export
|
|
1506
|
+
* @interface ImageFileFocalPoint
|
|
1507
|
+
*/
|
|
1508
|
+
export interface ImageFileFocalPoint {
|
|
1509
|
+
/**
|
|
1510
|
+
* The x-coordinate of the focal point, where 0 is the left edge and 1 is the right edge.
|
|
1511
|
+
* @type {number}
|
|
1512
|
+
* @memberof ImageFileFocalPoint
|
|
1513
|
+
*/
|
|
1514
|
+
'x': number;
|
|
1515
|
+
/**
|
|
1516
|
+
* The y-coordinate of the focal point, where 0 is the top edge and 1 is the bottom edge.
|
|
1517
|
+
* @type {number}
|
|
1518
|
+
* @memberof ImageFileFocalPoint
|
|
1519
|
+
*/
|
|
1520
|
+
'y': number;
|
|
1251
1521
|
}
|
|
1252
1522
|
/**
|
|
1253
1523
|
*
|
|
@@ -1926,6 +2196,19 @@ export interface TextApplicationPropertiesPosition {
|
|
|
1926
2196
|
*/
|
|
1927
2197
|
'z'?: number;
|
|
1928
2198
|
}
|
|
2199
|
+
/**
|
|
2200
|
+
*
|
|
2201
|
+
* @export
|
|
2202
|
+
* @interface UpdateApplicationGroupRequest
|
|
2203
|
+
*/
|
|
2204
|
+
export interface UpdateApplicationGroupRequest {
|
|
2205
|
+
/**
|
|
2206
|
+
* Name of the application group
|
|
2207
|
+
* @type {string}
|
|
2208
|
+
* @memberof UpdateApplicationGroupRequest
|
|
2209
|
+
*/
|
|
2210
|
+
'name'?: string;
|
|
2211
|
+
}
|
|
1929
2212
|
/**
|
|
1930
2213
|
*
|
|
1931
2214
|
* @export
|
|
@@ -2709,6 +2992,609 @@ export interface VideoFile {
|
|
|
2709
2992
|
'src'?: string;
|
|
2710
2993
|
}
|
|
2711
2994
|
|
|
2995
|
+
/**
|
|
2996
|
+
* ApplicationGroupsApi - axios parameter creator
|
|
2997
|
+
* @export
|
|
2998
|
+
*/
|
|
2999
|
+
export const ApplicationGroupsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
3000
|
+
return {
|
|
3001
|
+
/**
|
|
3002
|
+
* Creates a new application group. Application groups are used to organize design applications that share the same source file, particularly useful for DTF (Direct to Film) transfers where the same transfer can be used across multiple products or variants.
|
|
3003
|
+
* @summary Create application group
|
|
3004
|
+
* @param {string} project What project it is
|
|
3005
|
+
* @param {CreateApplicationGroupRequest} [createApplicationGroupRequest] Create a new application group.
|
|
3006
|
+
* @param {*} [options] Override http request option.
|
|
3007
|
+
* @throws {RequiredError}
|
|
3008
|
+
*/
|
|
3009
|
+
createApplicationGroup: async (project: string, createApplicationGroupRequest?: CreateApplicationGroupRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3010
|
+
// verify required parameter 'project' is not null or undefined
|
|
3011
|
+
assertParamExists('createApplicationGroup', 'project', project)
|
|
3012
|
+
const localVarPath = `/v1/catalog/applications/groups`;
|
|
3013
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3014
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3015
|
+
let baseOptions;
|
|
3016
|
+
if (configuration) {
|
|
3017
|
+
baseOptions = configuration.baseOptions;
|
|
3018
|
+
}
|
|
3019
|
+
|
|
3020
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
3021
|
+
const localVarHeaderParameter = {} as any;
|
|
3022
|
+
const localVarQueryParameter = {} as any;
|
|
3023
|
+
|
|
3024
|
+
// authentication session-oauth required
|
|
3025
|
+
// oauth required
|
|
3026
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
3027
|
+
|
|
3028
|
+
// authentication api-key required
|
|
3029
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3030
|
+
|
|
3031
|
+
if (project !== undefined) {
|
|
3032
|
+
localVarQueryParameter['project'] = project;
|
|
3033
|
+
}
|
|
3034
|
+
|
|
3035
|
+
|
|
3036
|
+
|
|
3037
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3038
|
+
|
|
3039
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3040
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3041
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3042
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createApplicationGroupRequest, localVarRequestOptions, configuration)
|
|
3043
|
+
|
|
3044
|
+
return {
|
|
3045
|
+
url: toPathString(localVarUrlObj),
|
|
3046
|
+
options: localVarRequestOptions,
|
|
3047
|
+
};
|
|
3048
|
+
},
|
|
3049
|
+
/**
|
|
3050
|
+
* Deletes an existing application group.
|
|
3051
|
+
* @summary Delete an application group
|
|
3052
|
+
* @param {string} project What project it is
|
|
3053
|
+
* @param {string} applicationGroupId Application group\'s unique identifier
|
|
3054
|
+
* @param {*} [options] Override http request option.
|
|
3055
|
+
* @throws {RequiredError}
|
|
3056
|
+
*/
|
|
3057
|
+
deleteApplicationGroup: async (project: string, applicationGroupId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3058
|
+
// verify required parameter 'project' is not null or undefined
|
|
3059
|
+
assertParamExists('deleteApplicationGroup', 'project', project)
|
|
3060
|
+
// verify required parameter 'applicationGroupId' is not null or undefined
|
|
3061
|
+
assertParamExists('deleteApplicationGroup', 'applicationGroupId', applicationGroupId)
|
|
3062
|
+
const localVarPath = `/v1/catalog/applications/groups/{applicationGroupId}`
|
|
3063
|
+
.replace(`{${"applicationGroupId"}}`, encodeURIComponent(String(applicationGroupId)));
|
|
3064
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3065
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3066
|
+
let baseOptions;
|
|
3067
|
+
if (configuration) {
|
|
3068
|
+
baseOptions = configuration.baseOptions;
|
|
3069
|
+
}
|
|
3070
|
+
|
|
3071
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
3072
|
+
const localVarHeaderParameter = {} as any;
|
|
3073
|
+
const localVarQueryParameter = {} as any;
|
|
3074
|
+
|
|
3075
|
+
// authentication session-oauth required
|
|
3076
|
+
// oauth required
|
|
3077
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
3078
|
+
|
|
3079
|
+
// authentication api-key required
|
|
3080
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3081
|
+
|
|
3082
|
+
if (project !== undefined) {
|
|
3083
|
+
localVarQueryParameter['project'] = project;
|
|
3084
|
+
}
|
|
3085
|
+
|
|
3086
|
+
|
|
3087
|
+
|
|
3088
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3089
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3090
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3091
|
+
|
|
3092
|
+
return {
|
|
3093
|
+
url: toPathString(localVarUrlObj),
|
|
3094
|
+
options: localVarRequestOptions,
|
|
3095
|
+
};
|
|
3096
|
+
},
|
|
3097
|
+
/**
|
|
3098
|
+
* Get an application group by the given id. Application groups are used to organize design applications that share the same source file, particularly useful for DTF (Direct to Film) transfers where the same transfer can be used across multiple products or variants.
|
|
3099
|
+
* @summary Get an application group
|
|
3100
|
+
* @param {string} project What project it is
|
|
3101
|
+
* @param {string} applicationGroupId Application group\'s unique identifier
|
|
3102
|
+
* @param {*} [options] Override http request option.
|
|
3103
|
+
* @throws {RequiredError}
|
|
3104
|
+
*/
|
|
3105
|
+
getApplicationGroup: async (project: string, applicationGroupId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3106
|
+
// verify required parameter 'project' is not null or undefined
|
|
3107
|
+
assertParamExists('getApplicationGroup', 'project', project)
|
|
3108
|
+
// verify required parameter 'applicationGroupId' is not null or undefined
|
|
3109
|
+
assertParamExists('getApplicationGroup', 'applicationGroupId', applicationGroupId)
|
|
3110
|
+
const localVarPath = `/v1/catalog/applications/groups/{applicationGroupId}`
|
|
3111
|
+
.replace(`{${"applicationGroupId"}}`, encodeURIComponent(String(applicationGroupId)));
|
|
3112
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3113
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3114
|
+
let baseOptions;
|
|
3115
|
+
if (configuration) {
|
|
3116
|
+
baseOptions = configuration.baseOptions;
|
|
3117
|
+
}
|
|
3118
|
+
|
|
3119
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
3120
|
+
const localVarHeaderParameter = {} as any;
|
|
3121
|
+
const localVarQueryParameter = {} as any;
|
|
3122
|
+
|
|
3123
|
+
// authentication session-oauth required
|
|
3124
|
+
// oauth required
|
|
3125
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
3126
|
+
|
|
3127
|
+
// authentication api-key required
|
|
3128
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3129
|
+
|
|
3130
|
+
if (project !== undefined) {
|
|
3131
|
+
localVarQueryParameter['project'] = project;
|
|
3132
|
+
}
|
|
3133
|
+
|
|
3134
|
+
|
|
3135
|
+
|
|
3136
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3137
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3138
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3139
|
+
|
|
3140
|
+
return {
|
|
3141
|
+
url: toPathString(localVarUrlObj),
|
|
3142
|
+
options: localVarRequestOptions,
|
|
3143
|
+
};
|
|
3144
|
+
},
|
|
3145
|
+
/**
|
|
3146
|
+
* Lists all application groups that belong to the given project. Application groups are used to organize design applications that share the same source file, particularly useful for DTF (Direct to Film) transfers where the same transfer can be used across multiple products or variants.
|
|
3147
|
+
* @summary List application groups
|
|
3148
|
+
* @param {string} project What project it is
|
|
3149
|
+
* @param {number} [pageToken] Page reference token
|
|
3150
|
+
* @param {string} [search] Search query string to filter results. Supports field-specific filters like \'uuid:<id>\', \'name:\"application group name\"\'. Multiple filters can be combined with spaces and commas.
|
|
3151
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3152
|
+
* @param {*} [options] Override http request option.
|
|
3153
|
+
* @throws {RequiredError}
|
|
3154
|
+
*/
|
|
3155
|
+
listApplicationGroups: async (project: string, pageToken?: number, search?: string, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3156
|
+
// verify required parameter 'project' is not null or undefined
|
|
3157
|
+
assertParamExists('listApplicationGroups', 'project', project)
|
|
3158
|
+
const localVarPath = `/v1/catalog/applications/groups`;
|
|
3159
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3160
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3161
|
+
let baseOptions;
|
|
3162
|
+
if (configuration) {
|
|
3163
|
+
baseOptions = configuration.baseOptions;
|
|
3164
|
+
}
|
|
3165
|
+
|
|
3166
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
3167
|
+
const localVarHeaderParameter = {} as any;
|
|
3168
|
+
const localVarQueryParameter = {} as any;
|
|
3169
|
+
|
|
3170
|
+
// authentication session-oauth required
|
|
3171
|
+
// oauth required
|
|
3172
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
3173
|
+
|
|
3174
|
+
// authentication api-key required
|
|
3175
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3176
|
+
|
|
3177
|
+
if (project !== undefined) {
|
|
3178
|
+
localVarQueryParameter['project'] = project;
|
|
3179
|
+
}
|
|
3180
|
+
|
|
3181
|
+
if (pageToken !== undefined) {
|
|
3182
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
3183
|
+
}
|
|
3184
|
+
|
|
3185
|
+
if (search !== undefined) {
|
|
3186
|
+
localVarQueryParameter['search'] = search;
|
|
3187
|
+
}
|
|
3188
|
+
|
|
3189
|
+
if (pageSize !== undefined) {
|
|
3190
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
3191
|
+
}
|
|
3192
|
+
|
|
3193
|
+
|
|
3194
|
+
|
|
3195
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3196
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3197
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3198
|
+
|
|
3199
|
+
return {
|
|
3200
|
+
url: toPathString(localVarUrlObj),
|
|
3201
|
+
options: localVarRequestOptions,
|
|
3202
|
+
};
|
|
3203
|
+
},
|
|
3204
|
+
/**
|
|
3205
|
+
* Updates an existing application group.
|
|
3206
|
+
* @summary Update application group
|
|
3207
|
+
* @param {string} project What project it is
|
|
3208
|
+
* @param {string} applicationGroupId Application group\'s unique identifier
|
|
3209
|
+
* @param {UpdateApplicationGroupRequest} [updateApplicationGroupRequest] Update an existing application group.
|
|
3210
|
+
* @param {*} [options] Override http request option.
|
|
3211
|
+
* @throws {RequiredError}
|
|
3212
|
+
*/
|
|
3213
|
+
updateApplicationGroup: async (project: string, applicationGroupId: string, updateApplicationGroupRequest?: UpdateApplicationGroupRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
3214
|
+
// verify required parameter 'project' is not null or undefined
|
|
3215
|
+
assertParamExists('updateApplicationGroup', 'project', project)
|
|
3216
|
+
// verify required parameter 'applicationGroupId' is not null or undefined
|
|
3217
|
+
assertParamExists('updateApplicationGroup', 'applicationGroupId', applicationGroupId)
|
|
3218
|
+
const localVarPath = `/v1/catalog/applications/groups/{applicationGroupId}`
|
|
3219
|
+
.replace(`{${"applicationGroupId"}}`, encodeURIComponent(String(applicationGroupId)));
|
|
3220
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3221
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3222
|
+
let baseOptions;
|
|
3223
|
+
if (configuration) {
|
|
3224
|
+
baseOptions = configuration.baseOptions;
|
|
3225
|
+
}
|
|
3226
|
+
|
|
3227
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
3228
|
+
const localVarHeaderParameter = {} as any;
|
|
3229
|
+
const localVarQueryParameter = {} as any;
|
|
3230
|
+
|
|
3231
|
+
// authentication session-oauth required
|
|
3232
|
+
// oauth required
|
|
3233
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
3234
|
+
|
|
3235
|
+
// authentication api-key required
|
|
3236
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
3237
|
+
|
|
3238
|
+
if (project !== undefined) {
|
|
3239
|
+
localVarQueryParameter['project'] = project;
|
|
3240
|
+
}
|
|
3241
|
+
|
|
3242
|
+
|
|
3243
|
+
|
|
3244
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3245
|
+
|
|
3246
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3247
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3248
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
3249
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateApplicationGroupRequest, localVarRequestOptions, configuration)
|
|
3250
|
+
|
|
3251
|
+
return {
|
|
3252
|
+
url: toPathString(localVarUrlObj),
|
|
3253
|
+
options: localVarRequestOptions,
|
|
3254
|
+
};
|
|
3255
|
+
},
|
|
3256
|
+
}
|
|
3257
|
+
};
|
|
3258
|
+
|
|
3259
|
+
/**
|
|
3260
|
+
* ApplicationGroupsApi - functional programming interface
|
|
3261
|
+
* @export
|
|
3262
|
+
*/
|
|
3263
|
+
export const ApplicationGroupsApiFp = function(configuration?: Configuration) {
|
|
3264
|
+
const localVarAxiosParamCreator = ApplicationGroupsApiAxiosParamCreator(configuration)
|
|
3265
|
+
return {
|
|
3266
|
+
/**
|
|
3267
|
+
* Creates a new application group. Application groups are used to organize design applications that share the same source file, particularly useful for DTF (Direct to Film) transfers where the same transfer can be used across multiple products or variants.
|
|
3268
|
+
* @summary Create application group
|
|
3269
|
+
* @param {string} project What project it is
|
|
3270
|
+
* @param {CreateApplicationGroupRequest} [createApplicationGroupRequest] Create a new application group.
|
|
3271
|
+
* @param {*} [options] Override http request option.
|
|
3272
|
+
* @throws {RequiredError}
|
|
3273
|
+
*/
|
|
3274
|
+
async createApplicationGroup(project: string, createApplicationGroupRequest?: CreateApplicationGroupRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationGroup>> {
|
|
3275
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createApplicationGroup(project, createApplicationGroupRequest, options);
|
|
3276
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3277
|
+
const localVarOperationServerBasePath = operationServerMap['ApplicationGroupsApi.createApplicationGroup']?.[localVarOperationServerIndex]?.url;
|
|
3278
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3279
|
+
},
|
|
3280
|
+
/**
|
|
3281
|
+
* Deletes an existing application group.
|
|
3282
|
+
* @summary Delete an application group
|
|
3283
|
+
* @param {string} project What project it is
|
|
3284
|
+
* @param {string} applicationGroupId Application group\'s unique identifier
|
|
3285
|
+
* @param {*} [options] Override http request option.
|
|
3286
|
+
* @throws {RequiredError}
|
|
3287
|
+
*/
|
|
3288
|
+
async deleteApplicationGroup(project: string, applicationGroupId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
3289
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteApplicationGroup(project, applicationGroupId, options);
|
|
3290
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3291
|
+
const localVarOperationServerBasePath = operationServerMap['ApplicationGroupsApi.deleteApplicationGroup']?.[localVarOperationServerIndex]?.url;
|
|
3292
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3293
|
+
},
|
|
3294
|
+
/**
|
|
3295
|
+
* Get an application group by the given id. Application groups are used to organize design applications that share the same source file, particularly useful for DTF (Direct to Film) transfers where the same transfer can be used across multiple products or variants.
|
|
3296
|
+
* @summary Get an application group
|
|
3297
|
+
* @param {string} project What project it is
|
|
3298
|
+
* @param {string} applicationGroupId Application group\'s unique identifier
|
|
3299
|
+
* @param {*} [options] Override http request option.
|
|
3300
|
+
* @throws {RequiredError}
|
|
3301
|
+
*/
|
|
3302
|
+
async getApplicationGroup(project: string, applicationGroupId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationGroup>> {
|
|
3303
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getApplicationGroup(project, applicationGroupId, options);
|
|
3304
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3305
|
+
const localVarOperationServerBasePath = operationServerMap['ApplicationGroupsApi.getApplicationGroup']?.[localVarOperationServerIndex]?.url;
|
|
3306
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3307
|
+
},
|
|
3308
|
+
/**
|
|
3309
|
+
* Lists all application groups that belong to the given project. Application groups are used to organize design applications that share the same source file, particularly useful for DTF (Direct to Film) transfers where the same transfer can be used across multiple products or variants.
|
|
3310
|
+
* @summary List application groups
|
|
3311
|
+
* @param {string} project What project it is
|
|
3312
|
+
* @param {number} [pageToken] Page reference token
|
|
3313
|
+
* @param {string} [search] Search query string to filter results. Supports field-specific filters like \'uuid:<id>\', \'name:\"application group name\"\'. Multiple filters can be combined with spaces and commas.
|
|
3314
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3315
|
+
* @param {*} [options] Override http request option.
|
|
3316
|
+
* @throws {RequiredError}
|
|
3317
|
+
*/
|
|
3318
|
+
async listApplicationGroups(project: string, pageToken?: number, search?: string, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationGroupsResponse>> {
|
|
3319
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listApplicationGroups(project, pageToken, search, pageSize, options);
|
|
3320
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3321
|
+
const localVarOperationServerBasePath = operationServerMap['ApplicationGroupsApi.listApplicationGroups']?.[localVarOperationServerIndex]?.url;
|
|
3322
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3323
|
+
},
|
|
3324
|
+
/**
|
|
3325
|
+
* Updates an existing application group.
|
|
3326
|
+
* @summary Update application group
|
|
3327
|
+
* @param {string} project What project it is
|
|
3328
|
+
* @param {string} applicationGroupId Application group\'s unique identifier
|
|
3329
|
+
* @param {UpdateApplicationGroupRequest} [updateApplicationGroupRequest] Update an existing application group.
|
|
3330
|
+
* @param {*} [options] Override http request option.
|
|
3331
|
+
* @throws {RequiredError}
|
|
3332
|
+
*/
|
|
3333
|
+
async updateApplicationGroup(project: string, applicationGroupId: string, updateApplicationGroupRequest?: UpdateApplicationGroupRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationGroup>> {
|
|
3334
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateApplicationGroup(project, applicationGroupId, updateApplicationGroupRequest, options);
|
|
3335
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3336
|
+
const localVarOperationServerBasePath = operationServerMap['ApplicationGroupsApi.updateApplicationGroup']?.[localVarOperationServerIndex]?.url;
|
|
3337
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3338
|
+
},
|
|
3339
|
+
}
|
|
3340
|
+
};
|
|
3341
|
+
|
|
3342
|
+
/**
|
|
3343
|
+
* ApplicationGroupsApi - factory interface
|
|
3344
|
+
* @export
|
|
3345
|
+
*/
|
|
3346
|
+
export const ApplicationGroupsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
3347
|
+
const localVarFp = ApplicationGroupsApiFp(configuration)
|
|
3348
|
+
return {
|
|
3349
|
+
/**
|
|
3350
|
+
* Creates a new application group. Application groups are used to organize design applications that share the same source file, particularly useful for DTF (Direct to Film) transfers where the same transfer can be used across multiple products or variants.
|
|
3351
|
+
* @summary Create application group
|
|
3352
|
+
* @param {ApplicationGroupsApiCreateApplicationGroupRequest} requestParameters Request parameters.
|
|
3353
|
+
* @param {*} [options] Override http request option.
|
|
3354
|
+
* @throws {RequiredError}
|
|
3355
|
+
*/
|
|
3356
|
+
createApplicationGroup(requestParameters: ApplicationGroupsApiCreateApplicationGroupRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApplicationGroup> {
|
|
3357
|
+
return localVarFp.createApplicationGroup(requestParameters.project, requestParameters.createApplicationGroupRequest, options).then((request) => request(axios, basePath));
|
|
3358
|
+
},
|
|
3359
|
+
/**
|
|
3360
|
+
* Deletes an existing application group.
|
|
3361
|
+
* @summary Delete an application group
|
|
3362
|
+
* @param {ApplicationGroupsApiDeleteApplicationGroupRequest} requestParameters Request parameters.
|
|
3363
|
+
* @param {*} [options] Override http request option.
|
|
3364
|
+
* @throws {RequiredError}
|
|
3365
|
+
*/
|
|
3366
|
+
deleteApplicationGroup(requestParameters: ApplicationGroupsApiDeleteApplicationGroupRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
3367
|
+
return localVarFp.deleteApplicationGroup(requestParameters.project, requestParameters.applicationGroupId, options).then((request) => request(axios, basePath));
|
|
3368
|
+
},
|
|
3369
|
+
/**
|
|
3370
|
+
* Get an application group by the given id. Application groups are used to organize design applications that share the same source file, particularly useful for DTF (Direct to Film) transfers where the same transfer can be used across multiple products or variants.
|
|
3371
|
+
* @summary Get an application group
|
|
3372
|
+
* @param {ApplicationGroupsApiGetApplicationGroupRequest} requestParameters Request parameters.
|
|
3373
|
+
* @param {*} [options] Override http request option.
|
|
3374
|
+
* @throws {RequiredError}
|
|
3375
|
+
*/
|
|
3376
|
+
getApplicationGroup(requestParameters: ApplicationGroupsApiGetApplicationGroupRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApplicationGroup> {
|
|
3377
|
+
return localVarFp.getApplicationGroup(requestParameters.project, requestParameters.applicationGroupId, options).then((request) => request(axios, basePath));
|
|
3378
|
+
},
|
|
3379
|
+
/**
|
|
3380
|
+
* Lists all application groups that belong to the given project. Application groups are used to organize design applications that share the same source file, particularly useful for DTF (Direct to Film) transfers where the same transfer can be used across multiple products or variants.
|
|
3381
|
+
* @summary List application groups
|
|
3382
|
+
* @param {ApplicationGroupsApiListApplicationGroupsRequest} requestParameters Request parameters.
|
|
3383
|
+
* @param {*} [options] Override http request option.
|
|
3384
|
+
* @throws {RequiredError}
|
|
3385
|
+
*/
|
|
3386
|
+
listApplicationGroups(requestParameters: ApplicationGroupsApiListApplicationGroupsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApplicationGroupsResponse> {
|
|
3387
|
+
return localVarFp.listApplicationGroups(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
3388
|
+
},
|
|
3389
|
+
/**
|
|
3390
|
+
* Updates an existing application group.
|
|
3391
|
+
* @summary Update application group
|
|
3392
|
+
* @param {ApplicationGroupsApiUpdateApplicationGroupRequest} requestParameters Request parameters.
|
|
3393
|
+
* @param {*} [options] Override http request option.
|
|
3394
|
+
* @throws {RequiredError}
|
|
3395
|
+
*/
|
|
3396
|
+
updateApplicationGroup(requestParameters: ApplicationGroupsApiUpdateApplicationGroupRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApplicationGroup> {
|
|
3397
|
+
return localVarFp.updateApplicationGroup(requestParameters.project, requestParameters.applicationGroupId, requestParameters.updateApplicationGroupRequest, options).then((request) => request(axios, basePath));
|
|
3398
|
+
},
|
|
3399
|
+
};
|
|
3400
|
+
};
|
|
3401
|
+
|
|
3402
|
+
/**
|
|
3403
|
+
* Request parameters for createApplicationGroup operation in ApplicationGroupsApi.
|
|
3404
|
+
* @export
|
|
3405
|
+
* @interface ApplicationGroupsApiCreateApplicationGroupRequest
|
|
3406
|
+
*/
|
|
3407
|
+
export interface ApplicationGroupsApiCreateApplicationGroupRequest {
|
|
3408
|
+
/**
|
|
3409
|
+
* What project it is
|
|
3410
|
+
* @type {string}
|
|
3411
|
+
* @memberof ApplicationGroupsApiCreateApplicationGroup
|
|
3412
|
+
*/
|
|
3413
|
+
readonly project: string
|
|
3414
|
+
|
|
3415
|
+
/**
|
|
3416
|
+
* Create a new application group.
|
|
3417
|
+
* @type {CreateApplicationGroupRequest}
|
|
3418
|
+
* @memberof ApplicationGroupsApiCreateApplicationGroup
|
|
3419
|
+
*/
|
|
3420
|
+
readonly createApplicationGroupRequest?: CreateApplicationGroupRequest
|
|
3421
|
+
}
|
|
3422
|
+
|
|
3423
|
+
/**
|
|
3424
|
+
* Request parameters for deleteApplicationGroup operation in ApplicationGroupsApi.
|
|
3425
|
+
* @export
|
|
3426
|
+
* @interface ApplicationGroupsApiDeleteApplicationGroupRequest
|
|
3427
|
+
*/
|
|
3428
|
+
export interface ApplicationGroupsApiDeleteApplicationGroupRequest {
|
|
3429
|
+
/**
|
|
3430
|
+
* What project it is
|
|
3431
|
+
* @type {string}
|
|
3432
|
+
* @memberof ApplicationGroupsApiDeleteApplicationGroup
|
|
3433
|
+
*/
|
|
3434
|
+
readonly project: string
|
|
3435
|
+
|
|
3436
|
+
/**
|
|
3437
|
+
* Application group\'s unique identifier
|
|
3438
|
+
* @type {string}
|
|
3439
|
+
* @memberof ApplicationGroupsApiDeleteApplicationGroup
|
|
3440
|
+
*/
|
|
3441
|
+
readonly applicationGroupId: string
|
|
3442
|
+
}
|
|
3443
|
+
|
|
3444
|
+
/**
|
|
3445
|
+
* Request parameters for getApplicationGroup operation in ApplicationGroupsApi.
|
|
3446
|
+
* @export
|
|
3447
|
+
* @interface ApplicationGroupsApiGetApplicationGroupRequest
|
|
3448
|
+
*/
|
|
3449
|
+
export interface ApplicationGroupsApiGetApplicationGroupRequest {
|
|
3450
|
+
/**
|
|
3451
|
+
* What project it is
|
|
3452
|
+
* @type {string}
|
|
3453
|
+
* @memberof ApplicationGroupsApiGetApplicationGroup
|
|
3454
|
+
*/
|
|
3455
|
+
readonly project: string
|
|
3456
|
+
|
|
3457
|
+
/**
|
|
3458
|
+
* Application group\'s unique identifier
|
|
3459
|
+
* @type {string}
|
|
3460
|
+
* @memberof ApplicationGroupsApiGetApplicationGroup
|
|
3461
|
+
*/
|
|
3462
|
+
readonly applicationGroupId: string
|
|
3463
|
+
}
|
|
3464
|
+
|
|
3465
|
+
/**
|
|
3466
|
+
* Request parameters for listApplicationGroups operation in ApplicationGroupsApi.
|
|
3467
|
+
* @export
|
|
3468
|
+
* @interface ApplicationGroupsApiListApplicationGroupsRequest
|
|
3469
|
+
*/
|
|
3470
|
+
export interface ApplicationGroupsApiListApplicationGroupsRequest {
|
|
3471
|
+
/**
|
|
3472
|
+
* What project it is
|
|
3473
|
+
* @type {string}
|
|
3474
|
+
* @memberof ApplicationGroupsApiListApplicationGroups
|
|
3475
|
+
*/
|
|
3476
|
+
readonly project: string
|
|
3477
|
+
|
|
3478
|
+
/**
|
|
3479
|
+
* Page reference token
|
|
3480
|
+
* @type {number}
|
|
3481
|
+
* @memberof ApplicationGroupsApiListApplicationGroups
|
|
3482
|
+
*/
|
|
3483
|
+
readonly pageToken?: number
|
|
3484
|
+
|
|
3485
|
+
/**
|
|
3486
|
+
* Search query string to filter results. Supports field-specific filters like \'uuid:<id>\', \'name:\"application group name\"\'. Multiple filters can be combined with spaces and commas.
|
|
3487
|
+
* @type {string}
|
|
3488
|
+
* @memberof ApplicationGroupsApiListApplicationGroups
|
|
3489
|
+
*/
|
|
3490
|
+
readonly search?: string
|
|
3491
|
+
|
|
3492
|
+
/**
|
|
3493
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3494
|
+
* @type {number}
|
|
3495
|
+
* @memberof ApplicationGroupsApiListApplicationGroups
|
|
3496
|
+
*/
|
|
3497
|
+
readonly pageSize?: number
|
|
3498
|
+
}
|
|
3499
|
+
|
|
3500
|
+
/**
|
|
3501
|
+
* Request parameters for updateApplicationGroup operation in ApplicationGroupsApi.
|
|
3502
|
+
* @export
|
|
3503
|
+
* @interface ApplicationGroupsApiUpdateApplicationGroupRequest
|
|
3504
|
+
*/
|
|
3505
|
+
export interface ApplicationGroupsApiUpdateApplicationGroupRequest {
|
|
3506
|
+
/**
|
|
3507
|
+
* What project it is
|
|
3508
|
+
* @type {string}
|
|
3509
|
+
* @memberof ApplicationGroupsApiUpdateApplicationGroup
|
|
3510
|
+
*/
|
|
3511
|
+
readonly project: string
|
|
3512
|
+
|
|
3513
|
+
/**
|
|
3514
|
+
* Application group\'s unique identifier
|
|
3515
|
+
* @type {string}
|
|
3516
|
+
* @memberof ApplicationGroupsApiUpdateApplicationGroup
|
|
3517
|
+
*/
|
|
3518
|
+
readonly applicationGroupId: string
|
|
3519
|
+
|
|
3520
|
+
/**
|
|
3521
|
+
* Update an existing application group.
|
|
3522
|
+
* @type {UpdateApplicationGroupRequest}
|
|
3523
|
+
* @memberof ApplicationGroupsApiUpdateApplicationGroup
|
|
3524
|
+
*/
|
|
3525
|
+
readonly updateApplicationGroupRequest?: UpdateApplicationGroupRequest
|
|
3526
|
+
}
|
|
3527
|
+
|
|
3528
|
+
/**
|
|
3529
|
+
* ApplicationGroupsApi - object-oriented interface
|
|
3530
|
+
* @export
|
|
3531
|
+
* @class ApplicationGroupsApi
|
|
3532
|
+
* @extends {BaseAPI}
|
|
3533
|
+
*/
|
|
3534
|
+
export class ApplicationGroupsApi extends BaseAPI {
|
|
3535
|
+
/**
|
|
3536
|
+
* Creates a new application group. Application groups are used to organize design applications that share the same source file, particularly useful for DTF (Direct to Film) transfers where the same transfer can be used across multiple products or variants.
|
|
3537
|
+
* @summary Create application group
|
|
3538
|
+
* @param {ApplicationGroupsApiCreateApplicationGroupRequest} requestParameters Request parameters.
|
|
3539
|
+
* @param {*} [options] Override http request option.
|
|
3540
|
+
* @throws {RequiredError}
|
|
3541
|
+
* @memberof ApplicationGroupsApi
|
|
3542
|
+
*/
|
|
3543
|
+
public createApplicationGroup(requestParameters: ApplicationGroupsApiCreateApplicationGroupRequest, options?: RawAxiosRequestConfig) {
|
|
3544
|
+
return ApplicationGroupsApiFp(this.configuration).createApplicationGroup(requestParameters.project, requestParameters.createApplicationGroupRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3545
|
+
}
|
|
3546
|
+
|
|
3547
|
+
/**
|
|
3548
|
+
* Deletes an existing application group.
|
|
3549
|
+
* @summary Delete an application group
|
|
3550
|
+
* @param {ApplicationGroupsApiDeleteApplicationGroupRequest} requestParameters Request parameters.
|
|
3551
|
+
* @param {*} [options] Override http request option.
|
|
3552
|
+
* @throws {RequiredError}
|
|
3553
|
+
* @memberof ApplicationGroupsApi
|
|
3554
|
+
*/
|
|
3555
|
+
public deleteApplicationGroup(requestParameters: ApplicationGroupsApiDeleteApplicationGroupRequest, options?: RawAxiosRequestConfig) {
|
|
3556
|
+
return ApplicationGroupsApiFp(this.configuration).deleteApplicationGroup(requestParameters.project, requestParameters.applicationGroupId, options).then((request) => request(this.axios, this.basePath));
|
|
3557
|
+
}
|
|
3558
|
+
|
|
3559
|
+
/**
|
|
3560
|
+
* Get an application group by the given id. Application groups are used to organize design applications that share the same source file, particularly useful for DTF (Direct to Film) transfers where the same transfer can be used across multiple products or variants.
|
|
3561
|
+
* @summary Get an application group
|
|
3562
|
+
* @param {ApplicationGroupsApiGetApplicationGroupRequest} requestParameters Request parameters.
|
|
3563
|
+
* @param {*} [options] Override http request option.
|
|
3564
|
+
* @throws {RequiredError}
|
|
3565
|
+
* @memberof ApplicationGroupsApi
|
|
3566
|
+
*/
|
|
3567
|
+
public getApplicationGroup(requestParameters: ApplicationGroupsApiGetApplicationGroupRequest, options?: RawAxiosRequestConfig) {
|
|
3568
|
+
return ApplicationGroupsApiFp(this.configuration).getApplicationGroup(requestParameters.project, requestParameters.applicationGroupId, options).then((request) => request(this.axios, this.basePath));
|
|
3569
|
+
}
|
|
3570
|
+
|
|
3571
|
+
/**
|
|
3572
|
+
* Lists all application groups that belong to the given project. Application groups are used to organize design applications that share the same source file, particularly useful for DTF (Direct to Film) transfers where the same transfer can be used across multiple products or variants.
|
|
3573
|
+
* @summary List application groups
|
|
3574
|
+
* @param {ApplicationGroupsApiListApplicationGroupsRequest} requestParameters Request parameters.
|
|
3575
|
+
* @param {*} [options] Override http request option.
|
|
3576
|
+
* @throws {RequiredError}
|
|
3577
|
+
* @memberof ApplicationGroupsApi
|
|
3578
|
+
*/
|
|
3579
|
+
public listApplicationGroups(requestParameters: ApplicationGroupsApiListApplicationGroupsRequest, options?: RawAxiosRequestConfig) {
|
|
3580
|
+
return ApplicationGroupsApiFp(this.configuration).listApplicationGroups(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
3581
|
+
}
|
|
3582
|
+
|
|
3583
|
+
/**
|
|
3584
|
+
* Updates an existing application group.
|
|
3585
|
+
* @summary Update application group
|
|
3586
|
+
* @param {ApplicationGroupsApiUpdateApplicationGroupRequest} requestParameters Request parameters.
|
|
3587
|
+
* @param {*} [options] Override http request option.
|
|
3588
|
+
* @throws {RequiredError}
|
|
3589
|
+
* @memberof ApplicationGroupsApi
|
|
3590
|
+
*/
|
|
3591
|
+
public updateApplicationGroup(requestParameters: ApplicationGroupsApiUpdateApplicationGroupRequest, options?: RawAxiosRequestConfig) {
|
|
3592
|
+
return ApplicationGroupsApiFp(this.configuration).updateApplicationGroup(requestParameters.project, requestParameters.applicationGroupId, requestParameters.updateApplicationGroupRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3593
|
+
}
|
|
3594
|
+
}
|
|
3595
|
+
|
|
3596
|
+
|
|
3597
|
+
|
|
2712
3598
|
/**
|
|
2713
3599
|
* ApplicationSetsApi - axios parameter creator
|
|
2714
3600
|
* @export
|