@digital8/lighting-illusions-ts-sdk 0.0.472 → 0.0.473
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +10 -72
- package/README.md +20 -56
- package/dist/apis/AttributeApi.d.ts +33 -33
- package/dist/apis/AttributeApi.js +92 -92
- package/dist/apis/OverlayTemplateApi.d.ts +39 -39
- package/dist/apis/OverlayTemplateApi.js +110 -110
- package/dist/apis/ProductApi.d.ts +17 -78
- package/dist/apis/ProductApi.js +24 -271
- package/dist/apis/ProductTypeApi.d.ts +33 -33
- package/dist/apis/ProductTypeApi.js +89 -89
- package/dist/apis/SiteApi.d.ts +5 -5
- package/dist/apis/SiteApi.js +2 -2
- package/dist/apis/SupplierApi.d.ts +3 -3
- package/dist/apis/SupplierApi.js +1 -1
- package/dist/apis/TagApi.d.ts +27 -27
- package/dist/apis/TagApi.js +81 -81
- package/dist/models/AssetLiteResource.d.ts +0 -6
- package/dist/models/AssetLiteResource.js +0 -4
- package/dist/models/GetAllAttributeRequest.d.ts +9 -15
- package/dist/models/GetAllAttributeRequest.js +4 -6
- package/dist/models/GetAllOverlayTemplateRequest.d.ts +6 -12
- package/dist/models/GetAllOverlayTemplateRequest.js +2 -4
- package/dist/models/GetAllProductChildRequest.d.ts +0 -6
- package/dist/models/GetAllProductChildRequest.js +0 -2
- package/dist/models/GetAllProductRequest.d.ts +0 -36
- package/dist/models/GetAllProductRequest.js +0 -12
- package/dist/models/GetAllProductTypeRequest.d.ts +0 -6
- package/dist/models/GetAllProductTypeRequest.js +0 -2
- package/dist/models/GetAllSupplierRequest.d.ts +0 -6
- package/dist/models/GetAllSupplierRequest.js +0 -2
- package/dist/models/IndexAttributeRequest.d.ts +0 -25
- package/dist/models/IndexAttributeRequest.js +1 -13
- package/dist/models/IndexExternalApiLogRequest.d.ts +3 -21
- package/dist/models/IndexExternalApiLogRequest.js +4 -10
- package/dist/models/IndexOverlayTemplateRequest.d.ts +0 -25
- package/dist/models/IndexOverlayTemplateRequest.js +1 -13
- package/dist/models/IndexProductChildRequest.d.ts +0 -6
- package/dist/models/IndexProductChildRequest.js +0 -2
- package/dist/models/IndexProductTypeRequest.d.ts +0 -25
- package/dist/models/IndexProductTypeRequest.js +1 -13
- package/dist/models/IndexSiteNotificationRequest.d.ts +0 -18
- package/dist/models/IndexSiteNotificationRequest.js +0 -6
- package/dist/models/IndexSiteRequest.d.ts +0 -18
- package/dist/models/IndexSiteRequest.js +0 -6
- package/dist/models/IndexSupplierRequest.d.ts +0 -25
- package/dist/models/IndexSupplierRequest.js +1 -13
- package/dist/models/IndexTagRequest.d.ts +0 -25
- package/dist/models/IndexTagRequest.js +1 -13
- package/dist/models/LinkAssetsOverlayTemplateRequest.d.ts +32 -0
- package/dist/models/LinkAssetsOverlayTemplateRequest.js +51 -0
- package/dist/models/LinkAttributeProductTypeRequest.d.ts +48 -0
- package/dist/models/LinkAttributeProductTypeRequest.js +65 -0
- package/dist/models/LinkProductChildrenTagRequest.d.ts +32 -0
- package/dist/models/LinkProductChildrenTagRequest.js +51 -0
- package/dist/models/LinkProductTypeAttributeRequest.d.ts +48 -0
- package/dist/models/LinkProductTypeAttributeRequest.js +65 -0
- package/dist/models/UnlinkAssetableOverlayTemplateRequest.d.ts +45 -0
- package/dist/models/UnlinkAssetableOverlayTemplateRequest.js +62 -0
- package/dist/models/index.d.ts +5 -36
- package/dist/models/index.js +5 -36
- package/docs/AssetLiteResource.md +0 -2
- package/docs/AttributeApi.md +117 -117
- package/docs/GetAllAttributeRequest.md +4 -6
- package/docs/GetAllOverlayTemplateRequest.md +2 -4
- package/docs/GetAllProductChildRequest.md +0 -2
- package/docs/GetAllProductRequest.md +0 -12
- package/docs/GetAllProductTypeRequest.md +0 -2
- package/docs/GetAllSupplierRequest.md +0 -2
- package/docs/IndexAttributeRequest.md +0 -6
- package/docs/IndexExternalApiLogRequest.md +4 -10
- package/docs/IndexOverlayTemplateRequest.md +0 -6
- package/docs/IndexProductChildRequest.md +0 -2
- package/docs/IndexProductTypeRequest.md +0 -6
- package/docs/IndexSiteNotificationRequest.md +0 -6
- package/docs/IndexSiteRequest.md +0 -6
- package/docs/IndexSupplierRequest.md +0 -6
- package/docs/IndexTagRequest.md +0 -6
- package/docs/{AttachAssetsOverlayTemplateRequest.md → LinkAssetsOverlayTemplateRequest.md} +4 -4
- package/docs/{AttachAttributeProductTypeRequest.md → LinkAttributeProductTypeRequest.md} +4 -4
- package/docs/{AttachAccessoriesProductChildRequest.md → LinkProductChildrenTagRequest.md} +4 -4
- package/docs/{AttachProductTypeAttributeRequest.md → LinkProductTypeAttributeRequest.md} +4 -4
- package/docs/OverlayTemplateApi.md +115 -115
- package/docs/ProductApi.md +29 -377
- package/docs/ProductTypeApi.md +94 -94
- package/docs/SiteApi.md +6 -6
- package/docs/SupplierApi.md +3 -3
- package/docs/TagApi.md +84 -84
- package/docs/{DetachAssetableOverlayTemplateRequest.md → UnlinkAssetableOverlayTemplateRequest.md} +4 -6
- package/package.json +1 -1
- package/src/apis/AttributeApi.ts +108 -108
- package/src/apis/OverlayTemplateApi.ts +141 -141
- package/src/apis/ProductApi.ts +32 -282
- package/src/apis/ProductTypeApi.ts +104 -104
- package/src/apis/SiteApi.ts +12 -12
- package/src/apis/SupplierApi.ts +6 -6
- package/src/apis/TagApi.ts +94 -94
- package/src/models/AssetLiteResource.ts +0 -9
- package/src/models/GetAllAttributeRequest.ts +13 -21
- package/src/models/GetAllOverlayTemplateRequest.ts +8 -16
- package/src/models/GetAllProductChildRequest.ts +0 -8
- package/src/models/GetAllProductRequest.ts +0 -48
- package/src/models/GetAllProductTypeRequest.ts +0 -8
- package/src/models/GetAllSupplierRequest.ts +0 -8
- package/src/models/IndexAttributeRequest.ts +0 -32
- package/src/models/IndexExternalApiLogRequest.ts +7 -31
- package/src/models/IndexOverlayTemplateRequest.ts +0 -32
- package/src/models/IndexProductChildRequest.ts +0 -8
- package/src/models/IndexProductTypeRequest.ts +0 -32
- package/src/models/IndexSiteNotificationRequest.ts +0 -24
- package/src/models/IndexSiteRequest.ts +0 -24
- package/src/models/IndexSupplierRequest.ts +0 -32
- package/src/models/IndexTagRequest.ts +0 -32
- package/src/models/LinkAssetsOverlayTemplateRequest.ts +66 -0
- package/src/models/LinkAttributeProductTypeRequest.ts +88 -0
- package/src/models/LinkProductChildrenTagRequest.ts +66 -0
- package/src/models/LinkProductTypeAttributeRequest.ts +88 -0
- package/src/models/UnlinkAssetableOverlayTemplateRequest.ts +85 -0
- package/src/models/index.ts +5 -36
- package/dist/models/AttachAccessoriesProductChildRequest.d.ts +0 -32
- package/dist/models/AttachAccessoriesProductChildRequest.js +0 -51
- package/dist/models/AttachAssetsOverlayTemplateRequest.d.ts +0 -32
- package/dist/models/AttachAssetsOverlayTemplateRequest.js +0 -51
- package/dist/models/AttachAttributeProductTypeRequest.d.ts +0 -48
- package/dist/models/AttachAttributeProductTypeRequest.js +0 -65
- package/dist/models/AttachProductTypeAttributeRequest.d.ts +0 -48
- package/dist/models/AttachProductTypeAttributeRequest.js +0 -65
- package/dist/models/AttributeListResource.d.ts +0 -56
- package/dist/models/AttributeListResource.js +0 -67
- package/dist/models/AttributeListResourceArrayResponse.d.ts +0 -33
- package/dist/models/AttributeListResourceArrayResponse.js +0 -50
- package/dist/models/DetachAssetableOverlayTemplateRequest.d.ts +0 -51
- package/dist/models/DetachAssetableOverlayTemplateRequest.js +0 -64
- package/dist/models/ExternalApiLogListResource.d.ts +0 -56
- package/dist/models/ExternalApiLogListResource.js +0 -63
- package/dist/models/ExternalApiLogListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ExternalApiLogListResourceArrayResponse.js +0 -50
- package/dist/models/IndexProductRequest.d.ts +0 -130
- package/dist/models/IndexProductRequest.js +0 -97
- package/dist/models/OverlayTemplateListResource.d.ts +0 -45
- package/dist/models/OverlayTemplateListResource.js +0 -60
- package/dist/models/OverlayTemplateListResourceArrayResponse.d.ts +0 -33
- package/dist/models/OverlayTemplateListResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedAttributeListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedAttributeListResourceResponse.js +0 -57
- package/dist/models/PaginatedExternalApiLogListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedExternalApiLogListResourceResponse.js +0 -57
- package/dist/models/PaginatedOverlayTemplateListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedOverlayTemplateListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductChildListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductChildListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductTypeListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductTypeListResourceResponse.js +0 -57
- package/dist/models/PaginatedSiteListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedSiteListResourceResponse.js +0 -57
- package/dist/models/PaginatedSiteNotificationListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedSiteNotificationListResourceResponse.js +0 -57
- package/dist/models/PaginatedSupplierListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedSupplierListResourceResponse.js +0 -57
- package/dist/models/PaginatedTagListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedTagListResourceResponse.js +0 -57
- package/dist/models/ProductChildListResource.d.ts +0 -63
- package/dist/models/ProductChildListResource.js +0 -72
- package/dist/models/ProductChildListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductChildListResourceArrayResponse.js +0 -50
- package/dist/models/ProductListResource.d.ts +0 -38
- package/dist/models/ProductListResource.js +0 -55
- package/dist/models/ProductListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductListResourceArrayResponse.js +0 -50
- package/dist/models/ProductTypeListResource.d.ts +0 -44
- package/dist/models/ProductTypeListResource.js +0 -59
- package/dist/models/ProductTypeListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductTypeListResourceArrayResponse.js +0 -50
- package/dist/models/SiteListResource.d.ts +0 -50
- package/dist/models/SiteListResource.js +0 -63
- package/dist/models/SiteListResourceArrayResponse.d.ts +0 -33
- package/dist/models/SiteListResourceArrayResponse.js +0 -50
- package/dist/models/SiteNotificationListResource.d.ts +0 -87
- package/dist/models/SiteNotificationListResource.js +0 -84
- package/dist/models/SiteNotificationListResourceArrayResponse.d.ts +0 -33
- package/dist/models/SiteNotificationListResourceArrayResponse.js +0 -50
- package/dist/models/SupplierListResource.d.ts +0 -57
- package/dist/models/SupplierListResource.js +0 -68
- package/dist/models/SupplierListResourceArrayResponse.d.ts +0 -33
- package/dist/models/SupplierListResourceArrayResponse.js +0 -50
- package/dist/models/TagListResource.d.ts +0 -57
- package/dist/models/TagListResource.js +0 -68
- package/dist/models/TagListResourceArrayResponse.d.ts +0 -33
- package/dist/models/TagListResourceArrayResponse.js +0 -50
- package/docs/AttributeListResource.md +0 -42
- package/docs/AttributeListResourceArrayResponse.md +0 -34
- package/docs/ExternalApiLogListResource.md +0 -42
- package/docs/ExternalApiLogListResourceArrayResponse.md +0 -34
- package/docs/IndexProductRequest.md +0 -58
- package/docs/OverlayTemplateListResource.md +0 -38
- package/docs/OverlayTemplateListResourceArrayResponse.md +0 -34
- package/docs/PaginatedAttributeListResourceResponse.md +0 -36
- package/docs/PaginatedExternalApiLogListResourceResponse.md +0 -36
- package/docs/PaginatedOverlayTemplateListResourceResponse.md +0 -36
- package/docs/PaginatedProductChildListResourceResponse.md +0 -36
- package/docs/PaginatedProductListResourceResponse.md +0 -36
- package/docs/PaginatedProductTypeListResourceResponse.md +0 -36
- package/docs/PaginatedSiteListResourceResponse.md +0 -36
- package/docs/PaginatedSiteNotificationListResourceResponse.md +0 -36
- package/docs/PaginatedSupplierListResourceResponse.md +0 -36
- package/docs/PaginatedTagListResourceResponse.md +0 -36
- package/docs/ProductChildListResource.md +0 -44
- package/docs/ProductChildListResourceArrayResponse.md +0 -34
- package/docs/ProductListResource.md +0 -36
- package/docs/ProductListResourceArrayResponse.md +0 -34
- package/docs/ProductTypeListResource.md +0 -38
- package/docs/ProductTypeListResourceArrayResponse.md +0 -34
- package/docs/SiteListResource.md +0 -40
- package/docs/SiteListResourceArrayResponse.md +0 -34
- package/docs/SiteNotificationListResource.md +0 -52
- package/docs/SiteNotificationListResourceArrayResponse.md +0 -34
- package/docs/SupplierListResource.md +0 -42
- package/docs/SupplierListResourceArrayResponse.md +0 -34
- package/docs/TagListResource.md +0 -42
- package/docs/TagListResourceArrayResponse.md +0 -34
- package/src/models/AttachAccessoriesProductChildRequest.ts +0 -66
- package/src/models/AttachAssetsOverlayTemplateRequest.ts +0 -66
- package/src/models/AttachAttributeProductTypeRequest.ts +0 -88
- package/src/models/AttachProductTypeAttributeRequest.ts +0 -88
- package/src/models/AttributeListResource.ts +0 -102
- package/src/models/AttributeListResourceArrayResponse.ts +0 -73
- package/src/models/DetachAssetableOverlayTemplateRequest.ts +0 -93
- package/src/models/ExternalApiLogListResource.ts +0 -100
- package/src/models/ExternalApiLogListResourceArrayResponse.ts +0 -73
- package/src/models/IndexProductRequest.ts +0 -192
- package/src/models/OverlayTemplateListResource.ts +0 -92
- package/src/models/OverlayTemplateListResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedAttributeListResourceResponse.ts +0 -90
- package/src/models/PaginatedExternalApiLogListResourceResponse.ts +0 -90
- package/src/models/PaginatedOverlayTemplateListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductChildListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductTypeListResourceResponse.ts +0 -90
- package/src/models/PaginatedSiteListResourceResponse.ts +0 -90
- package/src/models/PaginatedSiteNotificationListResourceResponse.ts +0 -90
- package/src/models/PaginatedSupplierListResourceResponse.ts +0 -90
- package/src/models/PaginatedTagListResourceResponse.ts +0 -90
- package/src/models/ProductChildListResource.ts +0 -119
- package/src/models/ProductChildListResourceArrayResponse.ts +0 -73
- package/src/models/ProductListResource.ts +0 -75
- package/src/models/ProductListResourceArrayResponse.ts +0 -73
- package/src/models/ProductTypeListResource.ts +0 -84
- package/src/models/ProductTypeListResourceArrayResponse.ts +0 -73
- package/src/models/SiteListResource.ts +0 -93
- package/src/models/SiteListResourceArrayResponse.ts +0 -73
- package/src/models/SiteNotificationListResource.ts +0 -153
- package/src/models/SiteNotificationListResourceArrayResponse.ts +0 -73
- package/src/models/SupplierListResource.ts +0 -110
- package/src/models/SupplierListResourceArrayResponse.ts +0 -73
- package/src/models/TagListResource.ts +0 -110
- package/src/models/TagListResourceArrayResponse.ts +0 -73
package/dist/models/index.js
CHANGED
|
@@ -22,17 +22,11 @@ __exportStar(require("./AssetLiteResource"), exports);
|
|
|
22
22
|
__exportStar(require("./AssetLiteResourceArrayResponse"), exports);
|
|
23
23
|
__exportStar(require("./AssetResource"), exports);
|
|
24
24
|
__exportStar(require("./AssetResourceArrayResponse"), exports);
|
|
25
|
-
__exportStar(require("./AttachAccessoriesProductChildRequest"), exports);
|
|
26
|
-
__exportStar(require("./AttachAssetsOverlayTemplateRequest"), exports);
|
|
27
|
-
__exportStar(require("./AttachAttributeProductTypeRequest"), exports);
|
|
28
25
|
__exportStar(require("./AttachDocumentablesDocumentRequest"), exports);
|
|
29
26
|
__exportStar(require("./AttachDocumentablesDocumentRequestDocumentablesInner"), exports);
|
|
30
27
|
__exportStar(require("./AttachDocumentsProductChildSiteDetailRequest"), exports);
|
|
31
28
|
__exportStar(require("./AttachDocumentsProductChildSiteDetailRequestDocumentsInner"), exports);
|
|
32
|
-
__exportStar(require("./AttachProductTypeAttributeRequest"), exports);
|
|
33
29
|
__exportStar(require("./AttributeFieldType"), exports);
|
|
34
|
-
__exportStar(require("./AttributeListResource"), exports);
|
|
35
|
-
__exportStar(require("./AttributeListResourceArrayResponse"), exports);
|
|
36
30
|
__exportStar(require("./AttributeLiteResource"), exports);
|
|
37
31
|
__exportStar(require("./AttributeLiteResourceArrayResponse"), exports);
|
|
38
32
|
__exportStar(require("./AttributeProductTypeRelationResource"), exports);
|
|
@@ -44,7 +38,6 @@ __exportStar(require("./AttributeValueResource"), exports);
|
|
|
44
38
|
__exportStar(require("./AttributeValueResourceArrayResponse"), exports);
|
|
45
39
|
__exportStar(require("./CouponDiscountType"), exports);
|
|
46
40
|
__exportStar(require("./DestroyAttributeValueRequest"), exports);
|
|
47
|
-
__exportStar(require("./DetachAssetableOverlayTemplateRequest"), exports);
|
|
48
41
|
__exportStar(require("./DetachDocumentablesDocumentRequest"), exports);
|
|
49
42
|
__exportStar(require("./DetachDocumentablesDocumentRequestDocumentablesInner"), exports);
|
|
50
43
|
__exportStar(require("./DetachDocumentsProductChildSiteDetailRequest"), exports);
|
|
@@ -54,8 +47,6 @@ __exportStar(require("./DocumentLiteResource"), exports);
|
|
|
54
47
|
__exportStar(require("./DocumentLiteResourceArrayResponse"), exports);
|
|
55
48
|
__exportStar(require("./DocumentResource"), exports);
|
|
56
49
|
__exportStar(require("./DocumentResourceArrayResponse"), exports);
|
|
57
|
-
__exportStar(require("./ExternalApiLogListResource"), exports);
|
|
58
|
-
__exportStar(require("./ExternalApiLogListResourceArrayResponse"), exports);
|
|
59
50
|
__exportStar(require("./ExternalApiLogResource"), exports);
|
|
60
51
|
__exportStar(require("./ExternalApiLogResourceArrayResponse"), exports);
|
|
61
52
|
__exportStar(require("./ExternalApiProvider"), exports);
|
|
@@ -73,59 +64,48 @@ __exportStar(require("./IndexDocumentRequest"), exports);
|
|
|
73
64
|
__exportStar(require("./IndexExternalApiLogRequest"), exports);
|
|
74
65
|
__exportStar(require("./IndexOverlayTemplateRequest"), exports);
|
|
75
66
|
__exportStar(require("./IndexProductChildRequest"), exports);
|
|
76
|
-
__exportStar(require("./IndexProductRequest"), exports);
|
|
77
67
|
__exportStar(require("./IndexProductTypeRequest"), exports);
|
|
78
68
|
__exportStar(require("./IndexSiteNotificationRequest"), exports);
|
|
79
69
|
__exportStar(require("./IndexSiteRequest"), exports);
|
|
80
70
|
__exportStar(require("./IndexSupplierRequest"), exports);
|
|
81
71
|
__exportStar(require("./IndexTagRequest"), exports);
|
|
72
|
+
__exportStar(require("./LinkAssetsOverlayTemplateRequest"), exports);
|
|
73
|
+
__exportStar(require("./LinkAttributeProductTypeRequest"), exports);
|
|
74
|
+
__exportStar(require("./LinkProductChildrenTagRequest"), exports);
|
|
75
|
+
__exportStar(require("./LinkProductTypeAttributeRequest"), exports);
|
|
82
76
|
__exportStar(require("./ModelAttributeResource"), exports);
|
|
83
77
|
__exportStar(require("./ModelAttributeResourceArrayResponse"), exports);
|
|
84
78
|
__exportStar(require("./OverlayTemplateAssetPosition"), exports);
|
|
85
79
|
__exportStar(require("./OverlayTemplateAssetResource"), exports);
|
|
86
80
|
__exportStar(require("./OverlayTemplateAssetResourceArrayResponse"), exports);
|
|
87
|
-
__exportStar(require("./OverlayTemplateListResource"), exports);
|
|
88
|
-
__exportStar(require("./OverlayTemplateListResourceArrayResponse"), exports);
|
|
89
81
|
__exportStar(require("./OverlayTemplateLiteResource"), exports);
|
|
90
82
|
__exportStar(require("./OverlayTemplateLiteResourceArrayResponse"), exports);
|
|
91
83
|
__exportStar(require("./OverlayTemplateResource"), exports);
|
|
92
84
|
__exportStar(require("./OverlayTemplateResourceArrayResponse"), exports);
|
|
93
|
-
__exportStar(require("./PaginatedAttributeListResourceResponse"), exports);
|
|
94
85
|
__exportStar(require("./PaginatedAttributeLiteResourceResponse"), exports);
|
|
95
86
|
__exportStar(require("./PaginatedAttributeProductTypeRelationResourceResponse"), exports);
|
|
96
87
|
__exportStar(require("./PaginatedAttributeResourceResponse"), exports);
|
|
97
88
|
__exportStar(require("./PaginatedDocumentResourceResponse"), exports);
|
|
98
|
-
__exportStar(require("./PaginatedExternalApiLogListResourceResponse"), exports);
|
|
99
89
|
__exportStar(require("./PaginatedExternalApiLogResourceResponse"), exports);
|
|
100
|
-
__exportStar(require("./PaginatedOverlayTemplateListResourceResponse"), exports);
|
|
101
90
|
__exportStar(require("./PaginatedOverlayTemplateLiteResourceResponse"), exports);
|
|
102
91
|
__exportStar(require("./PaginatedOverlayTemplateResourceResponse"), exports);
|
|
103
|
-
__exportStar(require("./PaginatedProductChildListResourceResponse"), exports);
|
|
104
92
|
__exportStar(require("./PaginatedProductChildLiteResourceResponse"), exports);
|
|
105
93
|
__exportStar(require("./PaginatedProductChildOverlayRelationResourceResponse"), exports);
|
|
106
94
|
__exportStar(require("./PaginatedProductChildRelationResourceResponse"), exports);
|
|
107
95
|
__exportStar(require("./PaginatedProductChildResourceResponse"), exports);
|
|
108
|
-
__exportStar(require("./PaginatedProductListResourceResponse"), exports);
|
|
109
96
|
__exportStar(require("./PaginatedProductLiteResourceResponse"), exports);
|
|
110
97
|
__exportStar(require("./PaginatedProductResourceResponse"), exports);
|
|
111
|
-
__exportStar(require("./PaginatedProductTypeListResourceResponse"), exports);
|
|
112
98
|
__exportStar(require("./PaginatedProductTypeLiteResourceResponse"), exports);
|
|
113
99
|
__exportStar(require("./PaginatedProductTypeResourceResponse"), exports);
|
|
114
|
-
__exportStar(require("./PaginatedSiteListResourceResponse"), exports);
|
|
115
100
|
__exportStar(require("./PaginatedSiteLiteResourceResponse"), exports);
|
|
116
|
-
__exportStar(require("./PaginatedSiteNotificationListResourceResponse"), exports);
|
|
117
101
|
__exportStar(require("./PaginatedSiteNotificationResourceResponse"), exports);
|
|
118
102
|
__exportStar(require("./PaginatedSiteResourceResponse"), exports);
|
|
119
103
|
__exportStar(require("./PaginatedSupplierFrontendResourceResponse"), exports);
|
|
120
|
-
__exportStar(require("./PaginatedSupplierListResourceResponse"), exports);
|
|
121
104
|
__exportStar(require("./PaginatedSupplierLiteResourceResponse"), exports);
|
|
122
105
|
__exportStar(require("./PaginatedSupplierResourceResponse"), exports);
|
|
123
|
-
__exportStar(require("./PaginatedTagListResourceResponse"), exports);
|
|
124
106
|
__exportStar(require("./PaginatedTagLiteResourceResponse"), exports);
|
|
125
107
|
__exportStar(require("./PaginatedTagResourceResponse"), exports);
|
|
126
108
|
__exportStar(require("./PagingMetadata"), exports);
|
|
127
|
-
__exportStar(require("./ProductChildListResource"), exports);
|
|
128
|
-
__exportStar(require("./ProductChildListResourceArrayResponse"), exports);
|
|
129
109
|
__exportStar(require("./ProductChildLiteResource"), exports);
|
|
130
110
|
__exportStar(require("./ProductChildLiteResourceArrayResponse"), exports);
|
|
131
111
|
__exportStar(require("./ProductChildOverlayRelationResource"), exports);
|
|
@@ -136,14 +116,10 @@ __exportStar(require("./ProductChildResource"), exports);
|
|
|
136
116
|
__exportStar(require("./ProductChildResourceArrayResponse"), exports);
|
|
137
117
|
__exportStar(require("./ProductChildSiteDetailResource"), exports);
|
|
138
118
|
__exportStar(require("./ProductChildSiteDetailResourceArrayResponse"), exports);
|
|
139
|
-
__exportStar(require("./ProductListResource"), exports);
|
|
140
|
-
__exportStar(require("./ProductListResourceArrayResponse"), exports);
|
|
141
119
|
__exportStar(require("./ProductLiteResource"), exports);
|
|
142
120
|
__exportStar(require("./ProductLiteResourceArrayResponse"), exports);
|
|
143
121
|
__exportStar(require("./ProductResource"), exports);
|
|
144
122
|
__exportStar(require("./ProductResourceArrayResponse"), exports);
|
|
145
|
-
__exportStar(require("./ProductTypeListResource"), exports);
|
|
146
|
-
__exportStar(require("./ProductTypeListResourceArrayResponse"), exports);
|
|
147
123
|
__exportStar(require("./ProductTypeLiteResource"), exports);
|
|
148
124
|
__exportStar(require("./ProductTypeLiteResourceArrayResponse"), exports);
|
|
149
125
|
__exportStar(require("./ProductTypeResource"), exports);
|
|
@@ -152,12 +128,8 @@ __exportStar(require("./SEOResource"), exports);
|
|
|
152
128
|
__exportStar(require("./SEOResourceArrayResponse"), exports);
|
|
153
129
|
__exportStar(require("./SiteConfigResource"), exports);
|
|
154
130
|
__exportStar(require("./SiteConfigResourceArrayResponse"), exports);
|
|
155
|
-
__exportStar(require("./SiteListResource"), exports);
|
|
156
|
-
__exportStar(require("./SiteListResourceArrayResponse"), exports);
|
|
157
131
|
__exportStar(require("./SiteLiteResource"), exports);
|
|
158
132
|
__exportStar(require("./SiteLiteResourceArrayResponse"), exports);
|
|
159
|
-
__exportStar(require("./SiteNotificationListResource"), exports);
|
|
160
|
-
__exportStar(require("./SiteNotificationListResourceArrayResponse"), exports);
|
|
161
133
|
__exportStar(require("./SiteNotificationResource"), exports);
|
|
162
134
|
__exportStar(require("./SiteNotificationResourceArrayResponse"), exports);
|
|
163
135
|
__exportStar(require("./SitePaymentConfigResource"), exports);
|
|
@@ -184,19 +156,16 @@ __exportStar(require("./StoreSupplierRequestSeoInner"), exports);
|
|
|
184
156
|
__exportStar(require("./StoreTagRequest"), exports);
|
|
185
157
|
__exportStar(require("./SupplierFrontendResource"), exports);
|
|
186
158
|
__exportStar(require("./SupplierFrontendResourceArrayResponse"), exports);
|
|
187
|
-
__exportStar(require("./SupplierListResource"), exports);
|
|
188
|
-
__exportStar(require("./SupplierListResourceArrayResponse"), exports);
|
|
189
159
|
__exportStar(require("./SupplierLiteResource"), exports);
|
|
190
160
|
__exportStar(require("./SupplierLiteResourceArrayResponse"), exports);
|
|
191
161
|
__exportStar(require("./SupplierResource"), exports);
|
|
192
162
|
__exportStar(require("./SupplierResourceArrayResponse"), exports);
|
|
193
|
-
__exportStar(require("./TagListResource"), exports);
|
|
194
|
-
__exportStar(require("./TagListResourceArrayResponse"), exports);
|
|
195
163
|
__exportStar(require("./TagLiteResource"), exports);
|
|
196
164
|
__exportStar(require("./TagLiteResourceArrayResponse"), exports);
|
|
197
165
|
__exportStar(require("./TagResource"), exports);
|
|
198
166
|
__exportStar(require("./TagResourceArrayResponse"), exports);
|
|
199
167
|
__exportStar(require("./TagType"), exports);
|
|
168
|
+
__exportStar(require("./UnlinkAssetableOverlayTemplateRequest"), exports);
|
|
200
169
|
__exportStar(require("./UpdateAttributeRequest"), exports);
|
|
201
170
|
__exportStar(require("./UpdateAttributeValueRequest"), exports);
|
|
202
171
|
__exportStar(require("./UpdateFilterOrderAttributeRequest"), exports);
|
|
@@ -9,7 +9,6 @@ Name | Type
|
|
|
9
9
|
`id` | number
|
|
10
10
|
`filePath` | string
|
|
11
11
|
`fileName` | string
|
|
12
|
-
`altText` | string
|
|
13
12
|
|
|
14
13
|
## Example
|
|
15
14
|
|
|
@@ -21,7 +20,6 @@ const example = {
|
|
|
21
20
|
"id": null,
|
|
22
21
|
"filePath": null,
|
|
23
22
|
"fileName": null,
|
|
24
|
-
"altText": null,
|
|
25
23
|
} satisfies AssetLiteResource
|
|
26
24
|
|
|
27
25
|
console.log(example)
|
package/docs/AttributeApi.md
CHANGED
|
@@ -4,91 +4,23 @@ All URIs are relative to *http://localhost/api*
|
|
|
4
4
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
-
| [**attachProductTypeAttribute**](AttributeApi.md#attachproducttypeattributeoperation) | **POST** /admin-api/attribute/{attribute}/attach-product-type | Auto-generated: attachProductTypeAttribute |
|
|
8
7
|
| [**destroyAttribute**](AttributeApi.md#destroyattribute) | **DELETE** /admin-api/attribute/{attribute}/delete | Auto-generated: destroyAttribute |
|
|
9
8
|
| [**destroyAttributeValue**](AttributeApi.md#destroyattributevalueoperation) | **POST** /admin-api/attribute/value/{attributeValue}/delete | Auto-generated: destroyAttributeValue |
|
|
10
|
-
| [**detachProductTypeAttribute**](AttributeApi.md#detachproducttypeattribute) | **POST** /admin-api/attribute/{attribute}/detach-product-type/{productType} | Auto-generated: detachProductTypeAttribute |
|
|
11
9
|
| [**getAllAttribute**](AttributeApi.md#getallattributeoperation) | **POST** /admin-api/attribute/all | Auto-generated: getAllAttribute |
|
|
12
10
|
| [**indexAttribute**](AttributeApi.md#indexattributeoperation) | **POST** /admin-api/attribute/list | Auto-generated: indexAttribute |
|
|
11
|
+
| [**linkProductTypeAttribute**](AttributeApi.md#linkproducttypeattributeoperation) | **POST** /admin-api/attribute/{attribute}/link-product-type | Auto-generated: linkProductTypeAttribute |
|
|
13
12
|
| [**showAttribute**](AttributeApi.md#showattribute) | **GET** /admin-api/attribute/{attribute} | Auto-generated: showAttribute |
|
|
14
13
|
| [**storeAttribute**](AttributeApi.md#storeattributeoperation) | **POST** /admin-api/attribute/create | Auto-generated: storeAttribute |
|
|
15
14
|
| [**storeAttributeValue**](AttributeApi.md#storeattributevalueoperation) | **POST** /admin-api/attribute/value/create | Auto-generated: storeAttributeValue |
|
|
16
|
-
| [**
|
|
15
|
+
| [**unlinkProductTypeAttribute**](AttributeApi.md#unlinkproducttypeattribute) | **POST** /admin-api/attribute/{attribute}/remove-product-type/{productType} | Auto-generated: unlinkProductTypeAttribute |
|
|
17
16
|
| [**updateAttribute**](AttributeApi.md#updateattributeoperation) | **PUT** /admin-api/attribute/{attribute}/update | Auto-generated: updateAttribute |
|
|
18
17
|
| [**updateAttributeValue**](AttributeApi.md#updateattributevalueoperation) | **PUT** /admin-api/attribute/value/{attributeValue}/update | Auto-generated: updateAttributeValue |
|
|
19
18
|
| [**updateFilterOrderAttribute**](AttributeApi.md#updatefilterorderattributeoperation) | **PUT** /admin-api/attribute/update-filter-order | Auto-generated: updateFilterOrderAttribute |
|
|
19
|
+
| [**updateLinkedProductTypeAttribute**](AttributeApi.md#updatelinkedproducttypeattribute) | **PUT** /admin-api/attribute/{attribute}/update-product-type | Auto-generated: updateLinkedProductTypeAttribute |
|
|
20
20
|
| [**updateModelAttribute**](AttributeApi.md#updatemodelattributeoperation) | **PUT** /admin-api/attribute/model-attribute/{modelAttribute}/update | Auto-generated: updateModelAttribute |
|
|
21
21
|
|
|
22
22
|
|
|
23
23
|
|
|
24
|
-
## attachProductTypeAttribute
|
|
25
|
-
|
|
26
|
-
> AttributeResource attachProductTypeAttribute(attribute, attachProductTypeAttributeRequest)
|
|
27
|
-
|
|
28
|
-
Auto-generated: attachProductTypeAttribute
|
|
29
|
-
|
|
30
|
-
### Example
|
|
31
|
-
|
|
32
|
-
```ts
|
|
33
|
-
import {
|
|
34
|
-
Configuration,
|
|
35
|
-
AttributeApi,
|
|
36
|
-
} from '@digital8/lighting-illusions-ts-sdk';
|
|
37
|
-
import type { AttachProductTypeAttributeOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
38
|
-
|
|
39
|
-
async function example() {
|
|
40
|
-
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
41
|
-
const api = new AttributeApi();
|
|
42
|
-
|
|
43
|
-
const body = {
|
|
44
|
-
// number | The id of the attribute
|
|
45
|
-
attribute: 56,
|
|
46
|
-
// AttachProductTypeAttributeRequest (optional)
|
|
47
|
-
attachProductTypeAttributeRequest: ...,
|
|
48
|
-
} satisfies AttachProductTypeAttributeOperationRequest;
|
|
49
|
-
|
|
50
|
-
try {
|
|
51
|
-
const data = await api.attachProductTypeAttribute(body);
|
|
52
|
-
console.log(data);
|
|
53
|
-
} catch (error) {
|
|
54
|
-
console.error(error);
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
// Run the test
|
|
59
|
-
example().catch(console.error);
|
|
60
|
-
```
|
|
61
|
-
|
|
62
|
-
### Parameters
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
| Name | Type | Description | Notes |
|
|
66
|
-
|------------- | ------------- | ------------- | -------------|
|
|
67
|
-
| **attribute** | `number` | The id of the attribute | [Defaults to `undefined`] |
|
|
68
|
-
| **attachProductTypeAttributeRequest** | [AttachProductTypeAttributeRequest](AttachProductTypeAttributeRequest.md) | | [Optional] |
|
|
69
|
-
|
|
70
|
-
### Return type
|
|
71
|
-
|
|
72
|
-
[**AttributeResource**](AttributeResource.md)
|
|
73
|
-
|
|
74
|
-
### Authorization
|
|
75
|
-
|
|
76
|
-
No authorization required
|
|
77
|
-
|
|
78
|
-
### HTTP request headers
|
|
79
|
-
|
|
80
|
-
- **Content-Type**: `application/json`
|
|
81
|
-
- **Accept**: `application/json`
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
### HTTP response details
|
|
85
|
-
| Status code | Description | Response headers |
|
|
86
|
-
|-------------|-------------|------------------|
|
|
87
|
-
| **200** | Successful resource response | - |
|
|
88
|
-
|
|
89
|
-
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
90
|
-
|
|
91
|
-
|
|
92
24
|
## destroyAttribute
|
|
93
25
|
|
|
94
26
|
> GenericResponse destroyAttribute(attribute)
|
|
@@ -222,11 +154,11 @@ No authorization required
|
|
|
222
154
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
223
155
|
|
|
224
156
|
|
|
225
|
-
##
|
|
157
|
+
## getAllAttribute
|
|
226
158
|
|
|
227
|
-
>
|
|
159
|
+
> AttributeLiteResourceArrayResponse getAllAttribute(getAllAttributeRequest)
|
|
228
160
|
|
|
229
|
-
Auto-generated:
|
|
161
|
+
Auto-generated: getAllAttribute
|
|
230
162
|
|
|
231
163
|
### Example
|
|
232
164
|
|
|
@@ -235,21 +167,19 @@ import {
|
|
|
235
167
|
Configuration,
|
|
236
168
|
AttributeApi,
|
|
237
169
|
} from '@digital8/lighting-illusions-ts-sdk';
|
|
238
|
-
import type {
|
|
170
|
+
import type { GetAllAttributeOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
239
171
|
|
|
240
172
|
async function example() {
|
|
241
173
|
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
242
174
|
const api = new AttributeApi();
|
|
243
175
|
|
|
244
176
|
const body = {
|
|
245
|
-
//
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
productType: 56,
|
|
249
|
-
} satisfies DetachProductTypeAttributeRequest;
|
|
177
|
+
// GetAllAttributeRequest (optional)
|
|
178
|
+
getAllAttributeRequest: ...,
|
|
179
|
+
} satisfies GetAllAttributeOperationRequest;
|
|
250
180
|
|
|
251
181
|
try {
|
|
252
|
-
const data = await api.
|
|
182
|
+
const data = await api.getAllAttribute(body);
|
|
253
183
|
console.log(data);
|
|
254
184
|
} catch (error) {
|
|
255
185
|
console.error(error);
|
|
@@ -265,12 +195,11 @@ example().catch(console.error);
|
|
|
265
195
|
|
|
266
196
|
| Name | Type | Description | Notes |
|
|
267
197
|
|------------- | ------------- | ------------- | -------------|
|
|
268
|
-
| **
|
|
269
|
-
| **productType** | `number` | The id of the productType | [Defaults to `undefined`] |
|
|
198
|
+
| **getAllAttributeRequest** | [GetAllAttributeRequest](GetAllAttributeRequest.md) | | [Optional] |
|
|
270
199
|
|
|
271
200
|
### Return type
|
|
272
201
|
|
|
273
|
-
[**
|
|
202
|
+
[**AttributeLiteResourceArrayResponse**](AttributeLiteResourceArrayResponse.md)
|
|
274
203
|
|
|
275
204
|
### Authorization
|
|
276
205
|
|
|
@@ -278,7 +207,7 @@ No authorization required
|
|
|
278
207
|
|
|
279
208
|
### HTTP request headers
|
|
280
209
|
|
|
281
|
-
- **Content-Type**:
|
|
210
|
+
- **Content-Type**: `application/json`
|
|
282
211
|
- **Accept**: `application/json`
|
|
283
212
|
|
|
284
213
|
|
|
@@ -290,11 +219,11 @@ No authorization required
|
|
|
290
219
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
291
220
|
|
|
292
221
|
|
|
293
|
-
##
|
|
222
|
+
## indexAttribute
|
|
294
223
|
|
|
295
|
-
>
|
|
224
|
+
> PaginatedAttributeResourceResponse indexAttribute(indexAttributeRequest)
|
|
296
225
|
|
|
297
|
-
Auto-generated:
|
|
226
|
+
Auto-generated: indexAttribute
|
|
298
227
|
|
|
299
228
|
### Example
|
|
300
229
|
|
|
@@ -303,19 +232,19 @@ import {
|
|
|
303
232
|
Configuration,
|
|
304
233
|
AttributeApi,
|
|
305
234
|
} from '@digital8/lighting-illusions-ts-sdk';
|
|
306
|
-
import type {
|
|
235
|
+
import type { IndexAttributeOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
307
236
|
|
|
308
237
|
async function example() {
|
|
309
238
|
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
310
239
|
const api = new AttributeApi();
|
|
311
240
|
|
|
312
241
|
const body = {
|
|
313
|
-
//
|
|
314
|
-
|
|
315
|
-
} satisfies
|
|
242
|
+
// IndexAttributeRequest (optional)
|
|
243
|
+
indexAttributeRequest: ...,
|
|
244
|
+
} satisfies IndexAttributeOperationRequest;
|
|
316
245
|
|
|
317
246
|
try {
|
|
318
|
-
const data = await api.
|
|
247
|
+
const data = await api.indexAttribute(body);
|
|
319
248
|
console.log(data);
|
|
320
249
|
} catch (error) {
|
|
321
250
|
console.error(error);
|
|
@@ -331,11 +260,11 @@ example().catch(console.error);
|
|
|
331
260
|
|
|
332
261
|
| Name | Type | Description | Notes |
|
|
333
262
|
|------------- | ------------- | ------------- | -------------|
|
|
334
|
-
| **
|
|
263
|
+
| **indexAttributeRequest** | [IndexAttributeRequest](IndexAttributeRequest.md) | | [Optional] |
|
|
335
264
|
|
|
336
265
|
### Return type
|
|
337
266
|
|
|
338
|
-
[**
|
|
267
|
+
[**PaginatedAttributeResourceResponse**](PaginatedAttributeResourceResponse.md)
|
|
339
268
|
|
|
340
269
|
### Authorization
|
|
341
270
|
|
|
@@ -350,16 +279,16 @@ No authorization required
|
|
|
350
279
|
### HTTP response details
|
|
351
280
|
| Status code | Description | Response headers |
|
|
352
281
|
|-------------|-------------|------------------|
|
|
353
|
-
| **200** |
|
|
282
|
+
| **200** | Paginated response \\JsonResponse<\\ResourcePaginator<\\AttributeResource[]>> | - |
|
|
354
283
|
|
|
355
284
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
356
285
|
|
|
357
286
|
|
|
358
|
-
##
|
|
287
|
+
## linkProductTypeAttribute
|
|
359
288
|
|
|
360
|
-
>
|
|
289
|
+
> AttributeResource linkProductTypeAttribute(attribute, linkProductTypeAttributeRequest)
|
|
361
290
|
|
|
362
|
-
Auto-generated:
|
|
291
|
+
Auto-generated: linkProductTypeAttribute
|
|
363
292
|
|
|
364
293
|
### Example
|
|
365
294
|
|
|
@@ -368,19 +297,21 @@ import {
|
|
|
368
297
|
Configuration,
|
|
369
298
|
AttributeApi,
|
|
370
299
|
} from '@digital8/lighting-illusions-ts-sdk';
|
|
371
|
-
import type {
|
|
300
|
+
import type { LinkProductTypeAttributeOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
372
301
|
|
|
373
302
|
async function example() {
|
|
374
303
|
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
375
304
|
const api = new AttributeApi();
|
|
376
305
|
|
|
377
306
|
const body = {
|
|
378
|
-
//
|
|
379
|
-
|
|
380
|
-
|
|
307
|
+
// number | The id of the attribute
|
|
308
|
+
attribute: 56,
|
|
309
|
+
// LinkProductTypeAttributeRequest (optional)
|
|
310
|
+
linkProductTypeAttributeRequest: ...,
|
|
311
|
+
} satisfies LinkProductTypeAttributeOperationRequest;
|
|
381
312
|
|
|
382
313
|
try {
|
|
383
|
-
const data = await api.
|
|
314
|
+
const data = await api.linkProductTypeAttribute(body);
|
|
384
315
|
console.log(data);
|
|
385
316
|
} catch (error) {
|
|
386
317
|
console.error(error);
|
|
@@ -396,11 +327,12 @@ example().catch(console.error);
|
|
|
396
327
|
|
|
397
328
|
| Name | Type | Description | Notes |
|
|
398
329
|
|------------- | ------------- | ------------- | -------------|
|
|
399
|
-
| **
|
|
330
|
+
| **attribute** | `number` | The id of the attribute | [Defaults to `undefined`] |
|
|
331
|
+
| **linkProductTypeAttributeRequest** | [LinkProductTypeAttributeRequest](LinkProductTypeAttributeRequest.md) | | [Optional] |
|
|
400
332
|
|
|
401
333
|
### Return type
|
|
402
334
|
|
|
403
|
-
[**
|
|
335
|
+
[**AttributeResource**](AttributeResource.md)
|
|
404
336
|
|
|
405
337
|
### Authorization
|
|
406
338
|
|
|
@@ -415,7 +347,7 @@ No authorization required
|
|
|
415
347
|
### HTTP response details
|
|
416
348
|
| Status code | Description | Response headers |
|
|
417
349
|
|-------------|-------------|------------------|
|
|
418
|
-
| **200** |
|
|
350
|
+
| **200** | Successful resource response | - |
|
|
419
351
|
|
|
420
352
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
421
353
|
|
|
@@ -615,11 +547,11 @@ No authorization required
|
|
|
615
547
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
616
548
|
|
|
617
549
|
|
|
618
|
-
##
|
|
550
|
+
## unlinkProductTypeAttribute
|
|
619
551
|
|
|
620
|
-
> AttributeResource
|
|
552
|
+
> AttributeResource unlinkProductTypeAttribute(attribute, productType)
|
|
621
553
|
|
|
622
|
-
Auto-generated:
|
|
554
|
+
Auto-generated: unlinkProductTypeAttribute
|
|
623
555
|
|
|
624
556
|
### Example
|
|
625
557
|
|
|
@@ -628,7 +560,7 @@ import {
|
|
|
628
560
|
Configuration,
|
|
629
561
|
AttributeApi,
|
|
630
562
|
} from '@digital8/lighting-illusions-ts-sdk';
|
|
631
|
-
import type {
|
|
563
|
+
import type { UnlinkProductTypeAttributeRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
632
564
|
|
|
633
565
|
async function example() {
|
|
634
566
|
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
@@ -637,12 +569,12 @@ async function example() {
|
|
|
637
569
|
const body = {
|
|
638
570
|
// number | The id of the attribute
|
|
639
571
|
attribute: 56,
|
|
640
|
-
//
|
|
641
|
-
|
|
642
|
-
} satisfies
|
|
572
|
+
// number | The id of the productType
|
|
573
|
+
productType: 56,
|
|
574
|
+
} satisfies UnlinkProductTypeAttributeRequest;
|
|
643
575
|
|
|
644
576
|
try {
|
|
645
|
-
const data = await api.
|
|
577
|
+
const data = await api.unlinkProductTypeAttribute(body);
|
|
646
578
|
console.log(data);
|
|
647
579
|
} catch (error) {
|
|
648
580
|
console.error(error);
|
|
@@ -659,7 +591,7 @@ example().catch(console.error);
|
|
|
659
591
|
| Name | Type | Description | Notes |
|
|
660
592
|
|------------- | ------------- | ------------- | -------------|
|
|
661
593
|
| **attribute** | `number` | The id of the attribute | [Defaults to `undefined`] |
|
|
662
|
-
| **
|
|
594
|
+
| **productType** | `number` | The id of the productType | [Defaults to `undefined`] |
|
|
663
595
|
|
|
664
596
|
### Return type
|
|
665
597
|
|
|
@@ -671,7 +603,7 @@ No authorization required
|
|
|
671
603
|
|
|
672
604
|
### HTTP request headers
|
|
673
605
|
|
|
674
|
-
- **Content-Type**:
|
|
606
|
+
- **Content-Type**: Not defined
|
|
675
607
|
- **Accept**: `application/json`
|
|
676
608
|
|
|
677
609
|
|
|
@@ -884,6 +816,74 @@ No authorization required
|
|
|
884
816
|
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
885
817
|
|
|
886
818
|
|
|
819
|
+
## updateLinkedProductTypeAttribute
|
|
820
|
+
|
|
821
|
+
> AttributeResource updateLinkedProductTypeAttribute(attribute, linkProductTypeAttributeRequest)
|
|
822
|
+
|
|
823
|
+
Auto-generated: updateLinkedProductTypeAttribute
|
|
824
|
+
|
|
825
|
+
### Example
|
|
826
|
+
|
|
827
|
+
```ts
|
|
828
|
+
import {
|
|
829
|
+
Configuration,
|
|
830
|
+
AttributeApi,
|
|
831
|
+
} from '@digital8/lighting-illusions-ts-sdk';
|
|
832
|
+
import type { UpdateLinkedProductTypeAttributeRequest } from '@digital8/lighting-illusions-ts-sdk';
|
|
833
|
+
|
|
834
|
+
async function example() {
|
|
835
|
+
console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
|
|
836
|
+
const api = new AttributeApi();
|
|
837
|
+
|
|
838
|
+
const body = {
|
|
839
|
+
// number | The id of the attribute
|
|
840
|
+
attribute: 56,
|
|
841
|
+
// LinkProductTypeAttributeRequest (optional)
|
|
842
|
+
linkProductTypeAttributeRequest: ...,
|
|
843
|
+
} satisfies UpdateLinkedProductTypeAttributeRequest;
|
|
844
|
+
|
|
845
|
+
try {
|
|
846
|
+
const data = await api.updateLinkedProductTypeAttribute(body);
|
|
847
|
+
console.log(data);
|
|
848
|
+
} catch (error) {
|
|
849
|
+
console.error(error);
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
|
|
853
|
+
// Run the test
|
|
854
|
+
example().catch(console.error);
|
|
855
|
+
```
|
|
856
|
+
|
|
857
|
+
### Parameters
|
|
858
|
+
|
|
859
|
+
|
|
860
|
+
| Name | Type | Description | Notes |
|
|
861
|
+
|------------- | ------------- | ------------- | -------------|
|
|
862
|
+
| **attribute** | `number` | The id of the attribute | [Defaults to `undefined`] |
|
|
863
|
+
| **linkProductTypeAttributeRequest** | [LinkProductTypeAttributeRequest](LinkProductTypeAttributeRequest.md) | | [Optional] |
|
|
864
|
+
|
|
865
|
+
### Return type
|
|
866
|
+
|
|
867
|
+
[**AttributeResource**](AttributeResource.md)
|
|
868
|
+
|
|
869
|
+
### Authorization
|
|
870
|
+
|
|
871
|
+
No authorization required
|
|
872
|
+
|
|
873
|
+
### HTTP request headers
|
|
874
|
+
|
|
875
|
+
- **Content-Type**: `application/json`
|
|
876
|
+
- **Accept**: `application/json`
|
|
877
|
+
|
|
878
|
+
|
|
879
|
+
### HTTP response details
|
|
880
|
+
| Status code | Description | Response headers |
|
|
881
|
+
|-------------|-------------|------------------|
|
|
882
|
+
| **200** | Successful resource response | - |
|
|
883
|
+
|
|
884
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
885
|
+
|
|
886
|
+
|
|
887
887
|
## updateModelAttribute
|
|
888
888
|
|
|
889
889
|
> ModelAttributeResourceArrayResponse updateModelAttribute(modelAttribute, updateModelAttributeRequest)
|
|
@@ -9,12 +9,11 @@ Name | Type
|
|
|
9
9
|
`search` | string
|
|
10
10
|
`sortBy` | string
|
|
11
11
|
`sortDirection` | string
|
|
12
|
-
`relatedId` | number
|
|
13
|
-
`relatedType` | string
|
|
14
|
-
`includesRelations` | boolean
|
|
15
12
|
`type` | Array<string>
|
|
16
13
|
`isFilterable` | Array<string>
|
|
17
14
|
`isExpandedByDefault` | Array<string>
|
|
15
|
+
`relatedId` | number
|
|
16
|
+
`relatedType` | string
|
|
18
17
|
|
|
19
18
|
## Example
|
|
20
19
|
|
|
@@ -26,12 +25,11 @@ const example = {
|
|
|
26
25
|
"search": null,
|
|
27
26
|
"sortBy": null,
|
|
28
27
|
"sortDirection": null,
|
|
29
|
-
"relatedId": null,
|
|
30
|
-
"relatedType": null,
|
|
31
|
-
"includesRelations": null,
|
|
32
28
|
"type": null,
|
|
33
29
|
"isFilterable": null,
|
|
34
30
|
"isExpandedByDefault": null,
|
|
31
|
+
"relatedId": null,
|
|
32
|
+
"relatedType": null,
|
|
35
33
|
} satisfies GetAllAttributeRequest
|
|
36
34
|
|
|
37
35
|
console.log(example)
|
|
@@ -9,10 +9,9 @@ Name | Type
|
|
|
9
9
|
`search` | string
|
|
10
10
|
`sortBy` | string
|
|
11
11
|
`sortDirection` | string
|
|
12
|
+
`sitesId` | Array<string>
|
|
12
13
|
`relatedId` | number
|
|
13
14
|
`relatedType` | string
|
|
14
|
-
`includesRelations` | boolean
|
|
15
|
-
`sitesId` | Array<string>
|
|
16
15
|
|
|
17
16
|
## Example
|
|
18
17
|
|
|
@@ -24,10 +23,9 @@ const example = {
|
|
|
24
23
|
"search": null,
|
|
25
24
|
"sortBy": null,
|
|
26
25
|
"sortDirection": null,
|
|
26
|
+
"sitesId": null,
|
|
27
27
|
"relatedId": null,
|
|
28
28
|
"relatedType": null,
|
|
29
|
-
"includesRelations": null,
|
|
30
|
-
"sitesId": null,
|
|
31
29
|
} satisfies GetAllOverlayTemplateRequest
|
|
32
30
|
|
|
33
31
|
console.log(example)
|
|
@@ -11,7 +11,6 @@ Name | Type
|
|
|
11
11
|
`sortDirection` | string
|
|
12
12
|
`relatedId` | number
|
|
13
13
|
`relatedType` | string
|
|
14
|
-
`includesRelations` | boolean
|
|
15
14
|
`parentProductTypeId` | Array<string>
|
|
16
15
|
`parentSupplierId` | Array<string>
|
|
17
16
|
`siteDetailsSiteId` | Array<string>
|
|
@@ -30,7 +29,6 @@ const example = {
|
|
|
30
29
|
"sortDirection": null,
|
|
31
30
|
"relatedId": null,
|
|
32
31
|
"relatedType": null,
|
|
33
|
-
"includesRelations": null,
|
|
34
32
|
"parentProductTypeId": null,
|
|
35
33
|
"parentSupplierId": null,
|
|
36
34
|
"siteDetailsSiteId": null,
|