@teemill/product-catalog 1.39.0 → 1.41.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 +2 -2
- package/api.ts +234 -77
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +2 -3
- package/dist/api.d.ts +233 -77
- package/dist/api.js +1 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +2 -2
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +233 -77
- package/dist/esm/api.js +1 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +2 -2
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +2 -2
- 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/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @teemill/product-catalog@1.
|
|
1
|
+
## @teemill/product-catalog@1.41.0
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @teemill/product-catalog@1.
|
|
39
|
+
npm install @teemill/product-catalog@1.41.0 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
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.41.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -445,188 +445,277 @@ export type CreateApplicationSetRequestRecordsInnerAttributesInnerThumbnailTypeE
|
|
|
445
445
|
/**
|
|
446
446
|
*
|
|
447
447
|
* @export
|
|
448
|
-
* @interface
|
|
448
|
+
* @interface CreateBundleProduct
|
|
449
449
|
*/
|
|
450
|
-
export interface
|
|
450
|
+
export interface CreateBundleProduct {
|
|
451
|
+
/**
|
|
452
|
+
* Product title
|
|
453
|
+
* @type {string}
|
|
454
|
+
* @memberof CreateBundleProduct
|
|
455
|
+
*/
|
|
456
|
+
'title'?: string;
|
|
457
|
+
/**
|
|
458
|
+
* Product description
|
|
459
|
+
* @type {string}
|
|
460
|
+
* @memberof CreateBundleProduct
|
|
461
|
+
*/
|
|
462
|
+
'description'?: string;
|
|
463
|
+
/**
|
|
464
|
+
* Whether the product is enabled upon creation.
|
|
465
|
+
* @type {boolean}
|
|
466
|
+
* @memberof CreateBundleProduct
|
|
467
|
+
*/
|
|
468
|
+
'enabled'?: boolean;
|
|
469
|
+
/**
|
|
470
|
+
* A custom URL slug for the product. This must be unique for each product on the project.
|
|
471
|
+
* @type {string}
|
|
472
|
+
* @memberof CreateBundleProduct
|
|
473
|
+
*/
|
|
474
|
+
'slug'?: string;
|
|
475
|
+
/**
|
|
476
|
+
*
|
|
477
|
+
* @type {UpdateProductsRequestProductsInnerSeoMetadata}
|
|
478
|
+
* @memberof CreateBundleProduct
|
|
479
|
+
*/
|
|
480
|
+
'seoMetadata'?: UpdateProductsRequestProductsInnerSeoMetadata;
|
|
481
|
+
/**
|
|
482
|
+
* The primary target search phrase for the product that you wish to rank for in search engine results. **Note:** This field requires the website integration
|
|
483
|
+
* @type {string}
|
|
484
|
+
* @memberof CreateBundleProduct
|
|
485
|
+
*/
|
|
486
|
+
'targetSearchPhrase'?: string;
|
|
487
|
+
/**
|
|
488
|
+
* Synonyms for the target search phrase. **Note:** This field requires the website integration
|
|
489
|
+
* @type {Array<string>}
|
|
490
|
+
* @memberof CreateBundleProduct
|
|
491
|
+
*/
|
|
492
|
+
'targetSearchPhraseSynonyms'?: Array<string>;
|
|
493
|
+
/**
|
|
494
|
+
* Additional product tags used for searching and filtering.
|
|
495
|
+
* @type {Array<string>}
|
|
496
|
+
* @memberof CreateBundleProduct
|
|
497
|
+
*/
|
|
498
|
+
'tags'?: Array<string>;
|
|
499
|
+
/**
|
|
500
|
+
* Internal tags used for internal searching and filtering.
|
|
501
|
+
* @type {Array<string>}
|
|
502
|
+
* @memberof CreateBundleProduct
|
|
503
|
+
*/
|
|
504
|
+
'internalTags'?: Array<string>;
|
|
505
|
+
/**
|
|
506
|
+
* Images to attach to the product. For example, photos of models using/wearing the product.
|
|
507
|
+
* @type {Array<CreateProductImagesInner>}
|
|
508
|
+
* @memberof CreateBundleProduct
|
|
509
|
+
*/
|
|
510
|
+
'images'?: Array<CreateProductImagesInner>;
|
|
511
|
+
/**
|
|
512
|
+
* Videos to attach to the product.
|
|
513
|
+
* @type {Array<CreateProductVideosInner>}
|
|
514
|
+
* @memberof CreateBundleProduct
|
|
515
|
+
*/
|
|
516
|
+
'videos'?: Array<CreateProductVideosInner>;
|
|
517
|
+
/**
|
|
518
|
+
* Additional files to attach to the product. For example, original design files e.g. PSD, AI, etc.
|
|
519
|
+
* @type {Array<CreateProductAdditionalFilesInner>}
|
|
520
|
+
* @memberof CreateBundleProduct
|
|
521
|
+
*/
|
|
522
|
+
'additionalFiles'?: Array<CreateProductAdditionalFilesInner>;
|
|
523
|
+
/**
|
|
524
|
+
* For use with the Shopify integration. Use this to provide a Shopify product ID to link to an existing Shopify product rather than creating a new one.
|
|
525
|
+
* @type {number}
|
|
526
|
+
* @memberof CreateBundleProduct
|
|
527
|
+
*/
|
|
528
|
+
'shopifyId'?: number | null;
|
|
529
|
+
/**
|
|
530
|
+
* Key/value pairs that can be used to store additional information about the product
|
|
531
|
+
* @type {Array<MetaField>}
|
|
532
|
+
* @memberof CreateBundleProduct
|
|
533
|
+
*/
|
|
534
|
+
'metafields'?: Array<MetaField>;
|
|
535
|
+
/**
|
|
536
|
+
* A list of product uuids to include in this bundle
|
|
537
|
+
* @type {Array<string>}
|
|
538
|
+
* @memberof CreateBundleProduct
|
|
539
|
+
*/
|
|
540
|
+
'bundleItems': Array<string>;
|
|
541
|
+
/**
|
|
542
|
+
*
|
|
543
|
+
* @type {Price}
|
|
544
|
+
* @memberof CreateBundleProduct
|
|
545
|
+
*/
|
|
546
|
+
'retailPrice'?: Price;
|
|
547
|
+
/**
|
|
548
|
+
*
|
|
549
|
+
* @type {Price}
|
|
550
|
+
* @memberof CreateBundleProduct
|
|
551
|
+
*/
|
|
552
|
+
'salePrice'?: Price;
|
|
553
|
+
/**
|
|
554
|
+
*
|
|
555
|
+
* @type {Price}
|
|
556
|
+
* @memberof CreateBundleProduct
|
|
557
|
+
*/
|
|
558
|
+
'price'?: Price;
|
|
559
|
+
}
|
|
560
|
+
/**
|
|
561
|
+
*
|
|
562
|
+
* @export
|
|
563
|
+
* @interface CreateProduct
|
|
564
|
+
*/
|
|
565
|
+
export interface CreateProduct {
|
|
451
566
|
/**
|
|
452
567
|
* Reference to the product in the GFN catalog that will be used as a base for this product. A list of available products for the given project can be obtained from the GFN Catalog API.
|
|
453
568
|
* @type {string}
|
|
454
|
-
* @memberof
|
|
569
|
+
* @memberof CreateProduct
|
|
455
570
|
*/
|
|
456
571
|
'gfnProductRef': string;
|
|
457
572
|
/**
|
|
458
573
|
* Product title
|
|
459
574
|
* @type {string}
|
|
460
|
-
* @memberof
|
|
575
|
+
* @memberof CreateProduct
|
|
461
576
|
*/
|
|
462
577
|
'title'?: string;
|
|
463
578
|
/**
|
|
464
579
|
* Product description
|
|
465
580
|
* @type {string}
|
|
466
|
-
* @memberof
|
|
581
|
+
* @memberof CreateProduct
|
|
467
582
|
*/
|
|
468
583
|
'description'?: string;
|
|
469
584
|
/**
|
|
470
585
|
* Whether the product is enabled upon creation.
|
|
471
586
|
* @type {boolean}
|
|
472
|
-
* @memberof
|
|
587
|
+
* @memberof CreateProduct
|
|
473
588
|
*/
|
|
474
589
|
'enabled'?: boolean;
|
|
475
590
|
/**
|
|
476
591
|
* A custom URL slug for the product. This must be unique for each product on the project.
|
|
477
592
|
* @type {string}
|
|
478
|
-
* @memberof
|
|
593
|
+
* @memberof CreateProduct
|
|
479
594
|
*/
|
|
480
595
|
'slug'?: string;
|
|
481
596
|
/**
|
|
482
597
|
*
|
|
483
|
-
* @type {
|
|
484
|
-
* @memberof
|
|
598
|
+
* @type {UpdateProductsRequestProductsInnerSeoMetadata}
|
|
599
|
+
* @memberof CreateProduct
|
|
485
600
|
*/
|
|
486
|
-
'seoMetadata'?:
|
|
601
|
+
'seoMetadata'?: UpdateProductsRequestProductsInnerSeoMetadata;
|
|
487
602
|
/**
|
|
488
603
|
* The primary target search phrase for the product that you wish to rank for in search engine results. **Note:** This field requires the website integration
|
|
489
604
|
* @type {string}
|
|
490
|
-
* @memberof
|
|
605
|
+
* @memberof CreateProduct
|
|
491
606
|
*/
|
|
492
607
|
'targetSearchPhrase'?: string;
|
|
493
608
|
/**
|
|
494
609
|
* Synonyms for the target search phrase. **Note:** This field requires the website integration
|
|
495
610
|
* @type {Array<string>}
|
|
496
|
-
* @memberof
|
|
611
|
+
* @memberof CreateProduct
|
|
497
612
|
*/
|
|
498
613
|
'targetSearchPhraseSynonyms'?: Array<string>;
|
|
499
614
|
/**
|
|
500
615
|
* Additional product tags used for searching and filtering.
|
|
501
616
|
* @type {Array<string>}
|
|
502
|
-
* @memberof
|
|
617
|
+
* @memberof CreateProduct
|
|
503
618
|
*/
|
|
504
619
|
'tags'?: Array<string>;
|
|
505
620
|
/**
|
|
506
621
|
* Internal tags used for internal searching and filtering.
|
|
507
622
|
* @type {Array<string>}
|
|
508
|
-
* @memberof
|
|
623
|
+
* @memberof CreateProduct
|
|
509
624
|
*/
|
|
510
625
|
'internalTags'?: Array<string>;
|
|
511
626
|
/**
|
|
512
627
|
* Variants
|
|
513
628
|
* @type {Array<CreateProductVariant>}
|
|
514
|
-
* @memberof
|
|
629
|
+
* @memberof CreateProduct
|
|
515
630
|
*/
|
|
516
631
|
'variants': Array<CreateProductVariant>;
|
|
517
632
|
/**
|
|
518
633
|
* Images to attach to the product. For example, photos of models using/wearing the product.
|
|
519
|
-
* @type {Array<
|
|
520
|
-
* @memberof
|
|
634
|
+
* @type {Array<CreateProductImagesInner>}
|
|
635
|
+
* @memberof CreateProduct
|
|
521
636
|
*/
|
|
522
|
-
'images'?: Array<
|
|
637
|
+
'images'?: Array<CreateProductImagesInner>;
|
|
523
638
|
/**
|
|
524
639
|
* Videos to attach to the product.
|
|
525
|
-
* @type {Array<
|
|
526
|
-
* @memberof
|
|
640
|
+
* @type {Array<CreateProductVideosInner>}
|
|
641
|
+
* @memberof CreateProduct
|
|
527
642
|
*/
|
|
528
|
-
'videos'?: Array<
|
|
643
|
+
'videos'?: Array<CreateProductVideosInner>;
|
|
529
644
|
/**
|
|
530
645
|
* Additional files to attach to the product. For example, original design files e.g. PSD, AI, etc.
|
|
531
|
-
* @type {Array<
|
|
532
|
-
* @memberof
|
|
646
|
+
* @type {Array<CreateProductAdditionalFilesInner>}
|
|
647
|
+
* @memberof CreateProduct
|
|
533
648
|
*/
|
|
534
|
-
'additionalFiles'?: Array<
|
|
649
|
+
'additionalFiles'?: Array<CreateProductAdditionalFilesInner>;
|
|
535
650
|
/**
|
|
536
651
|
* List of application set UUIDs to associate with this product
|
|
537
652
|
* @type {Array<string>}
|
|
538
|
-
* @memberof
|
|
653
|
+
* @memberof CreateProduct
|
|
539
654
|
*/
|
|
540
655
|
'applicationSets'?: Array<string>;
|
|
541
656
|
/**
|
|
542
657
|
* Whether the product should be included in data feeds that can be provided to Google, Meta etc for advertising.
|
|
543
658
|
* @type {boolean}
|
|
544
|
-
* @memberof
|
|
659
|
+
* @memberof CreateProduct
|
|
545
660
|
*/
|
|
546
661
|
'includeInDataFeeds'?: boolean;
|
|
547
662
|
/**
|
|
548
663
|
* For use with the Shopify integration. Use this to provide a Shopify product ID to link to an existing Shopify product rather than creating a new one.
|
|
549
664
|
* @type {number}
|
|
550
|
-
* @memberof
|
|
665
|
+
* @memberof CreateProduct
|
|
551
666
|
*/
|
|
552
|
-
'shopifyId'?: number;
|
|
667
|
+
'shopifyId'?: number | null;
|
|
553
668
|
/**
|
|
554
669
|
* Key/value pairs that can be used to store additional information about the product
|
|
555
670
|
* @type {Array<MetaField>}
|
|
556
|
-
* @memberof
|
|
671
|
+
* @memberof CreateProduct
|
|
557
672
|
*/
|
|
558
673
|
'metafields'?: Array<MetaField>;
|
|
559
674
|
/**
|
|
560
675
|
* A JSON object that defines the personalization template for the product.
|
|
561
676
|
* @type {string}
|
|
562
|
-
* @memberof
|
|
677
|
+
* @memberof CreateProduct
|
|
563
678
|
*/
|
|
564
679
|
'personalizationTemplate'?: string;
|
|
565
680
|
}
|
|
566
681
|
/**
|
|
567
682
|
*
|
|
568
683
|
* @export
|
|
569
|
-
* @interface
|
|
684
|
+
* @interface CreateProductAdditionalFilesInner
|
|
570
685
|
*/
|
|
571
|
-
export interface
|
|
686
|
+
export interface CreateProductAdditionalFilesInner {
|
|
572
687
|
/**
|
|
573
688
|
* Publicly available file URL.
|
|
574
689
|
* @type {string}
|
|
575
|
-
* @memberof
|
|
690
|
+
* @memberof CreateProductAdditionalFilesInner
|
|
576
691
|
*/
|
|
577
692
|
'src'?: string;
|
|
578
693
|
}
|
|
579
694
|
/**
|
|
580
695
|
*
|
|
581
696
|
* @export
|
|
582
|
-
* @interface
|
|
697
|
+
* @interface CreateProductImagesInner
|
|
583
698
|
*/
|
|
584
|
-
export interface
|
|
699
|
+
export interface CreateProductImagesInner {
|
|
585
700
|
/**
|
|
586
701
|
* Publicly available file URL.
|
|
587
702
|
* @type {string}
|
|
588
|
-
* @memberof
|
|
703
|
+
* @memberof CreateProductImagesInner
|
|
589
704
|
*/
|
|
590
705
|
'src'?: string;
|
|
591
706
|
/**
|
|
592
707
|
* Image type.
|
|
593
708
|
* @type {string}
|
|
594
|
-
* @memberof
|
|
709
|
+
* @memberof CreateProductImagesInner
|
|
595
710
|
*/
|
|
596
711
|
'type'?: string | null;
|
|
597
712
|
}
|
|
598
713
|
/**
|
|
599
|
-
*
|
|
714
|
+
* @type CreateProductRequest
|
|
600
715
|
* @export
|
|
601
|
-
* @interface CreateProductRequestSeoMetadata
|
|
602
716
|
*/
|
|
603
|
-
export
|
|
604
|
-
|
|
605
|
-
* Meta title for the product. This appears in search engine results and social shares. If not provided, the product title will be used.
|
|
606
|
-
* @type {string}
|
|
607
|
-
* @memberof CreateProductRequestSeoMetadata
|
|
608
|
-
*/
|
|
609
|
-
'title'?: string;
|
|
610
|
-
/**
|
|
611
|
-
* Meta description for the product. This appears in search engine results and social shares. If not provided, the product description will be used.
|
|
612
|
-
* @type {string}
|
|
613
|
-
* @memberof CreateProductRequestSeoMetadata
|
|
614
|
-
*/
|
|
615
|
-
'description'?: string | null;
|
|
616
|
-
}
|
|
617
|
-
/**
|
|
618
|
-
*
|
|
619
|
-
* @export
|
|
620
|
-
* @interface CreateProductRequestVideosInner
|
|
621
|
-
*/
|
|
622
|
-
export interface CreateProductRequestVideosInner {
|
|
623
|
-
/**
|
|
624
|
-
* Publicly available file URL.
|
|
625
|
-
* @type {string}
|
|
626
|
-
* @memberof CreateProductRequestVideosInner
|
|
627
|
-
*/
|
|
628
|
-
'src'?: string;
|
|
629
|
-
}
|
|
717
|
+
export type CreateProductRequest = CreateBundleProduct | CreateProduct;
|
|
718
|
+
|
|
630
719
|
/**
|
|
631
720
|
*
|
|
632
721
|
* @export
|
|
@@ -676,7 +765,7 @@ export interface CreateProductVariant {
|
|
|
676
765
|
*/
|
|
677
766
|
'applicationSets'?: Array<string>;
|
|
678
767
|
/**
|
|
679
|
-
* The GTIN (Global Trade Item Number) or EAN (European Article Number) of the variant. Please note that a barcode can only be attached after
|
|
768
|
+
* The GTIN (Global Trade Item Number) or EAN (European Article Number) of the variant. Please note that a barcode can only be attached after the Barcodes module has been installed.
|
|
680
769
|
* @type {string}
|
|
681
770
|
* @memberof CreateProductVariant
|
|
682
771
|
*/
|
|
@@ -686,7 +775,7 @@ export interface CreateProductVariant {
|
|
|
686
775
|
* @type {number}
|
|
687
776
|
* @memberof CreateProductVariant
|
|
688
777
|
*/
|
|
689
|
-
'shopifyId'?: number;
|
|
778
|
+
'shopifyId'?: number | null;
|
|
690
779
|
}
|
|
691
780
|
/**
|
|
692
781
|
*
|
|
@@ -701,6 +790,19 @@ export interface CreateProductVariantImagesInner {
|
|
|
701
790
|
*/
|
|
702
791
|
'src'?: string;
|
|
703
792
|
}
|
|
793
|
+
/**
|
|
794
|
+
*
|
|
795
|
+
* @export
|
|
796
|
+
* @interface CreateProductVideosInner
|
|
797
|
+
*/
|
|
798
|
+
export interface CreateProductVideosInner {
|
|
799
|
+
/**
|
|
800
|
+
* Publicly available file URL.
|
|
801
|
+
* @type {string}
|
|
802
|
+
* @memberof CreateProductVideosInner
|
|
803
|
+
*/
|
|
804
|
+
'src'?: string;
|
|
805
|
+
}
|
|
704
806
|
/**
|
|
705
807
|
* Image description
|
|
706
808
|
* @export
|
|
@@ -954,6 +1056,24 @@ export interface Product {
|
|
|
954
1056
|
* @memberof Product
|
|
955
1057
|
*/
|
|
956
1058
|
'variants'?: Array<Variant>;
|
|
1059
|
+
/**
|
|
1060
|
+
* Products in the bundle.
|
|
1061
|
+
* @type {Array<Product>}
|
|
1062
|
+
* @memberof Product
|
|
1063
|
+
*/
|
|
1064
|
+
'bundleItems'?: Array<Product>;
|
|
1065
|
+
/**
|
|
1066
|
+
*
|
|
1067
|
+
* @type {Price}
|
|
1068
|
+
* @memberof Product
|
|
1069
|
+
*/
|
|
1070
|
+
'retailPrice'?: Price;
|
|
1071
|
+
/**
|
|
1072
|
+
*
|
|
1073
|
+
* @type {Price}
|
|
1074
|
+
* @memberof Product
|
|
1075
|
+
*/
|
|
1076
|
+
'salePrice'?: Price;
|
|
957
1077
|
/**
|
|
958
1078
|
* Additional files attached to the product.
|
|
959
1079
|
* @type {Array<ProductAdditionalFilesInner>}
|
|
@@ -1013,7 +1133,7 @@ export interface Product {
|
|
|
1013
1133
|
* @type {number}
|
|
1014
1134
|
* @memberof Product
|
|
1015
1135
|
*/
|
|
1016
|
-
'shopifyId'?: number;
|
|
1136
|
+
'shopifyId'?: number | null;
|
|
1017
1137
|
/**
|
|
1018
1138
|
*
|
|
1019
1139
|
* @type {ProductWarehouseProduct}
|
|
@@ -1323,10 +1443,10 @@ export interface UpdateProductRequest {
|
|
|
1323
1443
|
'slug'?: string;
|
|
1324
1444
|
/**
|
|
1325
1445
|
*
|
|
1326
|
-
* @type {
|
|
1446
|
+
* @type {UpdateProductsRequestProductsInnerSeoMetadata}
|
|
1327
1447
|
* @memberof UpdateProductRequest
|
|
1328
1448
|
*/
|
|
1329
|
-
'seoMetadata'?:
|
|
1449
|
+
'seoMetadata'?: UpdateProductsRequestProductsInnerSeoMetadata;
|
|
1330
1450
|
/**
|
|
1331
1451
|
* The primary target search phrase for the product that you wish to rank for in search engine results. **Note:** This field requires the website integration
|
|
1332
1452
|
* @type {string}
|
|
@@ -1357,6 +1477,24 @@ export interface UpdateProductRequest {
|
|
|
1357
1477
|
* @memberof UpdateProductRequest
|
|
1358
1478
|
*/
|
|
1359
1479
|
'variants'?: Array<CreateProductVariant>;
|
|
1480
|
+
/**
|
|
1481
|
+
* A list of product uuids to be in this bundle. Only valid if the product is already a bundle.
|
|
1482
|
+
* @type {Array<string>}
|
|
1483
|
+
* @memberof UpdateProductRequest
|
|
1484
|
+
*/
|
|
1485
|
+
'bundleItems'?: Array<string>;
|
|
1486
|
+
/**
|
|
1487
|
+
*
|
|
1488
|
+
* @type {Price}
|
|
1489
|
+
* @memberof UpdateProductRequest
|
|
1490
|
+
*/
|
|
1491
|
+
'retailPrice'?: Price;
|
|
1492
|
+
/**
|
|
1493
|
+
*
|
|
1494
|
+
* @type {Price}
|
|
1495
|
+
* @memberof UpdateProductRequest
|
|
1496
|
+
*/
|
|
1497
|
+
'salePrice'?: Price;
|
|
1360
1498
|
/**
|
|
1361
1499
|
* Images to attach to the product. For example, photos of models using/wearing the product.
|
|
1362
1500
|
* @type {Array<ImageFile>}
|
|
@@ -1451,10 +1589,10 @@ export interface UpdateProductsRequestProductsInner {
|
|
|
1451
1589
|
'enabled'?: boolean;
|
|
1452
1590
|
/**
|
|
1453
1591
|
*
|
|
1454
|
-
* @type {
|
|
1592
|
+
* @type {UpdateProductsRequestProductsInnerSeoMetadata}
|
|
1455
1593
|
* @memberof UpdateProductsRequestProductsInner
|
|
1456
1594
|
*/
|
|
1457
|
-
'seoMetadata'?:
|
|
1595
|
+
'seoMetadata'?: UpdateProductsRequestProductsInnerSeoMetadata;
|
|
1458
1596
|
/**
|
|
1459
1597
|
* The primary target search phrase for the product that you wish to rank for in search engine results. **Note:** This field requires the website integration
|
|
1460
1598
|
* @type {string}
|
|
@@ -1492,6 +1630,25 @@ export interface UpdateProductsRequestProductsInner {
|
|
|
1492
1630
|
*/
|
|
1493
1631
|
'shopifyId'?: number;
|
|
1494
1632
|
}
|
|
1633
|
+
/**
|
|
1634
|
+
*
|
|
1635
|
+
* @export
|
|
1636
|
+
* @interface UpdateProductsRequestProductsInnerSeoMetadata
|
|
1637
|
+
*/
|
|
1638
|
+
export interface UpdateProductsRequestProductsInnerSeoMetadata {
|
|
1639
|
+
/**
|
|
1640
|
+
* Meta title for the product. This appears in search engine results and social shares. If not provided, the product title will be used.
|
|
1641
|
+
* @type {string}
|
|
1642
|
+
* @memberof UpdateProductsRequestProductsInnerSeoMetadata
|
|
1643
|
+
*/
|
|
1644
|
+
'title'?: string;
|
|
1645
|
+
/**
|
|
1646
|
+
* Meta description for the product. This appears in search engine results and social shares. If not provided, the product description will be used.
|
|
1647
|
+
* @type {string}
|
|
1648
|
+
* @memberof UpdateProductsRequestProductsInnerSeoMetadata
|
|
1649
|
+
*/
|
|
1650
|
+
'description'?: string | null;
|
|
1651
|
+
}
|
|
1495
1652
|
/**
|
|
1496
1653
|
*
|
|
1497
1654
|
* @export
|
|
@@ -1517,7 +1674,7 @@ export interface UpdateProductsRequestProductsInnerVariantsInner {
|
|
|
1517
1674
|
*/
|
|
1518
1675
|
'salePrice'?: UpdateProductsRequestProductsInnerVariantsInnerSalePrice;
|
|
1519
1676
|
/**
|
|
1520
|
-
* The GTIN (Global Trade Item Number) or EAN (European Article Number) of the variant. Please note that a barcode can only be attached after
|
|
1677
|
+
* The GTIN (Global Trade Item Number) or EAN (European Article Number) of the variant. Please note that a barcode can only be attached after the Barcodes module has been installed.
|
|
1521
1678
|
* @type {string}
|
|
1522
1679
|
* @memberof UpdateProductsRequestProductsInnerVariantsInner
|
|
1523
1680
|
*/
|
|
@@ -1705,7 +1862,7 @@ export interface Variant {
|
|
|
1705
1862
|
*/
|
|
1706
1863
|
'applications'?: Array<Application>;
|
|
1707
1864
|
/**
|
|
1708
|
-
* The GTIN (Global Trade Item Number) or EAN (European Article Number) of the variant. Please note that a barcode can only be attached after
|
|
1865
|
+
* The GTIN (Global Trade Item Number) or EAN (European Article Number) of the variant. Please note that a barcode can only be attached after the Barcodes module has been installed.
|
|
1709
1866
|
* @type {string}
|
|
1710
1867
|
* @memberof Variant
|
|
1711
1868
|
*/
|
|
@@ -1722,7 +1879,7 @@ export interface Variant {
|
|
|
1722
1879
|
* @type {number}
|
|
1723
1880
|
* @memberof Variant
|
|
1724
1881
|
*/
|
|
1725
|
-
'shopifyId'?: number;
|
|
1882
|
+
'shopifyId'?: number | null;
|
|
1726
1883
|
/**
|
|
1727
1884
|
* Key/value pairs that can be used to store additional information about the variant
|
|
1728
1885
|
* @type {Array<MetaField>}
|
package/base.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.41.0
|
|
8
8
|
*
|
|
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 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.41.0
|
|
8
8
|
*
|
|
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 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.41.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -90,11 +90,10 @@ export class Configuration {
|
|
|
90
90
|
this.basePath = param.basePath;
|
|
91
91
|
this.serverIndex = param.serverIndex;
|
|
92
92
|
this.baseOptions = {
|
|
93
|
+
...param.baseOptions,
|
|
93
94
|
headers: {
|
|
94
95
|
...param.baseOptions?.headers,
|
|
95
|
-
'User-Agent': "OpenAPI-Generator/1.39.0/typescript-axios"
|
|
96
96
|
},
|
|
97
|
-
...param.baseOptions
|
|
98
97
|
};
|
|
99
98
|
this.formDataCtor = param.formDataCtor;
|
|
100
99
|
}
|