@digital8/lighting-illusions-ts-sdk 0.0.487 → 0.0.489

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.
Files changed (61) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/README.md +5 -2
  3. package/dist/models/DescriptionResource.d.ts +44 -0
  4. package/dist/models/DescriptionResource.js +59 -0
  5. package/dist/models/DescriptionResourceArrayResponse.d.ts +33 -0
  6. package/dist/models/DescriptionResourceArrayResponse.js +50 -0
  7. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  8. package/dist/models/ExternalApiLogResource.js +1 -3
  9. package/dist/models/SEOResource.d.ts +2 -20
  10. package/dist/models/SEOResource.js +8 -20
  11. package/dist/models/StoreProductChildRequestSitesInner.d.ts +3 -15
  12. package/dist/models/StoreProductChildRequestSitesInner.js +7 -9
  13. package/dist/models/StoreSupplierRequest.d.ts +7 -0
  14. package/dist/models/StoreSupplierRequest.js +5 -0
  15. package/dist/models/StoreSupplierRequestDescriptionsInner.d.ts +44 -0
  16. package/dist/models/StoreSupplierRequestDescriptionsInner.js +55 -0
  17. package/dist/models/StoreSupplierRequestSeoInner.d.ts +2 -20
  18. package/dist/models/StoreSupplierRequestSeoInner.js +4 -10
  19. package/dist/models/StoreTagRequest.d.ts +3 -9
  20. package/dist/models/StoreTagRequest.js +6 -8
  21. package/dist/models/SupplierFrontendResource.d.ts +7 -0
  22. package/dist/models/SupplierFrontendResource.js +5 -0
  23. package/dist/models/SupplierResource.d.ts +7 -0
  24. package/dist/models/SupplierResource.js +5 -0
  25. package/dist/models/TagResource.d.ts +7 -0
  26. package/dist/models/TagResource.js +5 -0
  27. package/dist/models/UpdateSupplierRequest.d.ts +7 -0
  28. package/dist/models/UpdateSupplierRequest.js +5 -0
  29. package/dist/models/UpdateTagRequest.d.ts +3 -9
  30. package/dist/models/UpdateTagRequest.js +6 -8
  31. package/dist/models/index.d.ts +3 -0
  32. package/dist/models/index.js +3 -0
  33. package/docs/DescriptionResource.md +38 -0
  34. package/docs/DescriptionResourceArrayResponse.md +34 -0
  35. package/docs/SEOResource.md +4 -10
  36. package/docs/StoreProductChildRequestSitesInner.md +4 -8
  37. package/docs/StoreSupplierRequest.md +2 -0
  38. package/docs/StoreSupplierRequestDescriptionsInner.md +38 -0
  39. package/docs/StoreSupplierRequestSeoInner.md +4 -10
  40. package/docs/StoreTagRequest.md +6 -8
  41. package/docs/SupplierFrontendResource.md +2 -0
  42. package/docs/SupplierResource.md +2 -0
  43. package/docs/TagResource.md +2 -0
  44. package/docs/UpdateSupplierRequest.md +2 -0
  45. package/docs/UpdateTagRequest.md +6 -8
  46. package/package.json +1 -1
  47. package/src/models/DescriptionResource.ts +84 -0
  48. package/src/models/DescriptionResourceArrayResponse.ts +73 -0
  49. package/src/models/ExternalApiLogResource.ts +2 -3
  50. package/src/models/SEOResource.ts +10 -37
  51. package/src/models/StoreProductChildRequestSitesInner.ts +9 -24
  52. package/src/models/StoreSupplierRequest.ts +16 -0
  53. package/src/models/StoreSupplierRequestDescriptionsInner.ts +82 -0
  54. package/src/models/StoreSupplierRequestSeoInner.ts +6 -30
  55. package/src/models/StoreTagRequest.ts +9 -17
  56. package/src/models/SupplierFrontendResource.ts +16 -0
  57. package/src/models/SupplierResource.ts +16 -0
  58. package/src/models/TagResource.ts +16 -0
  59. package/src/models/UpdateSupplierRequest.ts +16 -0
  60. package/src/models/UpdateTagRequest.ts +9 -17
  61. package/src/models/index.ts +3 -0
@@ -48,31 +48,25 @@ export interface StoreTagRequest {
48
48
  * @type {string}
49
49
  * @memberof StoreTagRequest
50
50
  */
51
- title?: string;
51
+ seoTitle?: string;
52
52
  /**
53
53
  *
54
54
  * @type {string}
55
55
  * @memberof StoreTagRequest
56
56
  */
57
- description?: string;
57
+ seoDescription?: string;
58
58
  /**
59
59
  *
60
60
  * @type {string}
61
61
  * @memberof StoreTagRequest
62
62
  */
63
- keywords?: string;
63
+ headerDescription?: string;
64
64
  /**
65
65
  *
66
66
  * @type {string}
67
67
  * @memberof StoreTagRequest
68
68
  */
69
69
  footerDescription?: string;
70
- /**
71
- *
72
- * @type {string}
73
- * @memberof StoreTagRequest
74
- */
75
- pageDescription?: string;
76
70
  }
77
71
 
78
72
 
@@ -111,11 +105,10 @@ export function StoreTagRequestFromJSONTyped(json: any, ignoreDiscriminator: boo
111
105
  'slug': json['slug'],
112
106
  'siteId': json['site_id'],
113
107
  'type': json['type'],
114
- 'title': json['title'] == null ? undefined : json['title'],
115
- 'description': json['description'] == null ? undefined : json['description'],
116
- 'keywords': json['keywords'] == null ? undefined : json['keywords'],
108
+ 'seoTitle': json['seo_title'] == null ? undefined : json['seo_title'],
109
+ 'seoDescription': json['seo_description'] == null ? undefined : json['seo_description'],
110
+ 'headerDescription': json['header_description'] == null ? undefined : json['header_description'],
117
111
  'footerDescription': json['footer_description'] == null ? undefined : json['footer_description'],
118
- 'pageDescription': json['page_description'] == null ? undefined : json['page_description'],
119
112
  };
120
113
  }
121
114
 
@@ -134,11 +127,10 @@ export function StoreTagRequestToJSONTyped(value?: StoreTagRequest | null, ignor
134
127
  'slug': value['slug'],
135
128
  'site_id': value['siteId'],
136
129
  'type': value['type'],
137
- 'title': value['title'],
138
- 'description': value['description'],
139
- 'keywords': value['keywords'],
130
+ 'seo_title': value['seoTitle'],
131
+ 'seo_description': value['seoDescription'],
132
+ 'header_description': value['headerDescription'],
140
133
  'footer_description': value['footerDescription'],
141
- 'page_description': value['pageDescription'],
142
134
  };
143
135
  }
144
136
 
@@ -13,6 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { DescriptionResource } from './DescriptionResource';
17
+ import {
18
+ DescriptionResourceFromJSON,
19
+ DescriptionResourceFromJSONTyped,
20
+ DescriptionResourceToJSON,
21
+ DescriptionResourceToJSONTyped,
22
+ } from './DescriptionResource';
16
23
  import type { AssetResource } from './AssetResource';
17
24
  import {
18
25
  AssetResourceFromJSON,
@@ -70,6 +77,12 @@ export interface SupplierFrontendResource {
70
77
  * @memberof SupplierFrontendResource
71
78
  */
72
79
  seo: SEOResource | null;
80
+ /**
81
+ *
82
+ * @type {Array<DescriptionResource>}
83
+ * @memberof SupplierFrontendResource
84
+ */
85
+ descriptions: Array<DescriptionResource> | null;
73
86
  }
74
87
 
75
88
  /**
@@ -82,6 +95,7 @@ export function instanceOfSupplierFrontendResource(value: object): value is Supp
82
95
  if (!('thumbnail' in value) || value['thumbnail'] === undefined) return false;
83
96
  if (!('supplierEta' in value) || value['supplierEta'] === undefined) return false;
84
97
  if (!('seo' in value) || value['seo'] === undefined) return false;
98
+ if (!('descriptions' in value) || value['descriptions'] === undefined) return false;
85
99
  return true;
86
100
  }
87
101
 
@@ -101,6 +115,7 @@ export function SupplierFrontendResourceFromJSONTyped(json: any, ignoreDiscrimin
101
115
  'thumbnail': AssetResourceFromJSON(json['thumbnail']),
102
116
  'supplierEta': json['supplierEta'],
103
117
  'seo': SEOResourceFromJSON(json['seo']),
118
+ 'descriptions': (json['descriptions'] == null ? null : (json['descriptions'] as Array<any>).map(DescriptionResourceFromJSON)),
104
119
  };
105
120
  }
106
121
 
@@ -121,6 +136,7 @@ export function SupplierFrontendResourceToJSONTyped(value?: SupplierFrontendReso
121
136
  'thumbnail': AssetResourceToJSON(value['thumbnail']),
122
137
  'supplierEta': value['supplierEta'],
123
138
  'seo': SEOResourceToJSON(value['seo']),
139
+ 'descriptions': (value['descriptions'] == null ? null : (value['descriptions'] as Array<any>).map(DescriptionResourceToJSON)),
124
140
  };
125
141
  }
126
142
 
@@ -13,6 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { DescriptionResource } from './DescriptionResource';
17
+ import {
18
+ DescriptionResourceFromJSON,
19
+ DescriptionResourceFromJSONTyped,
20
+ DescriptionResourceToJSON,
21
+ DescriptionResourceToJSONTyped,
22
+ } from './DescriptionResource';
16
23
  import type { AssetResource } from './AssetResource';
17
24
  import {
18
25
  AssetResourceFromJSON,
@@ -70,6 +77,12 @@ export interface SupplierResource {
70
77
  * @memberof SupplierResource
71
78
  */
72
79
  seo: Array<SEOResource> | null;
80
+ /**
81
+ *
82
+ * @type {Array<DescriptionResource>}
83
+ * @memberof SupplierResource
84
+ */
85
+ descriptions: Array<DescriptionResource> | null;
73
86
  }
74
87
 
75
88
  /**
@@ -82,6 +95,7 @@ export function instanceOfSupplierResource(value: object): value is SupplierReso
82
95
  if (!('thumbnail' in value) || value['thumbnail'] === undefined) return false;
83
96
  if (!('supplierEta' in value) || value['supplierEta'] === undefined) return false;
84
97
  if (!('seo' in value) || value['seo'] === undefined) return false;
98
+ if (!('descriptions' in value) || value['descriptions'] === undefined) return false;
85
99
  return true;
86
100
  }
87
101
 
@@ -101,6 +115,7 @@ export function SupplierResourceFromJSONTyped(json: any, ignoreDiscriminator: bo
101
115
  'thumbnail': AssetResourceFromJSON(json['thumbnail']),
102
116
  'supplierEta': json['supplierEta'],
103
117
  'seo': (json['seo'] == null ? null : (json['seo'] as Array<any>).map(SEOResourceFromJSON)),
118
+ 'descriptions': (json['descriptions'] == null ? null : (json['descriptions'] as Array<any>).map(DescriptionResourceFromJSON)),
104
119
  };
105
120
  }
106
121
 
@@ -121,6 +136,7 @@ export function SupplierResourceToJSONTyped(value?: SupplierResource | null, ign
121
136
  'thumbnail': AssetResourceToJSON(value['thumbnail']),
122
137
  'supplierEta': value['supplierEta'],
123
138
  'seo': (value['seo'] == null ? null : (value['seo'] as Array<any>).map(SEOResourceToJSON)),
139
+ 'descriptions': (value['descriptions'] == null ? null : (value['descriptions'] as Array<any>).map(DescriptionResourceToJSON)),
124
140
  };
125
141
  }
126
142
 
@@ -20,6 +20,13 @@ import {
20
20
  SiteLiteResourceToJSON,
21
21
  SiteLiteResourceToJSONTyped,
22
22
  } from './SiteLiteResource';
23
+ import type { DescriptionResource } from './DescriptionResource';
24
+ import {
25
+ DescriptionResourceFromJSON,
26
+ DescriptionResourceFromJSONTyped,
27
+ DescriptionResourceToJSON,
28
+ DescriptionResourceToJSONTyped,
29
+ } from './DescriptionResource';
23
30
  import type { SEOResource } from './SEOResource';
24
31
  import {
25
32
  SEOResourceFromJSON,
@@ -70,6 +77,12 @@ export interface TagResource {
70
77
  * @memberof TagResource
71
78
  */
72
79
  seo: SEOResource | null;
80
+ /**
81
+ *
82
+ * @type {DescriptionResource}
83
+ * @memberof TagResource
84
+ */
85
+ description: DescriptionResource | null;
73
86
  }
74
87
 
75
88
  /**
@@ -82,6 +95,7 @@ export function instanceOfTagResource(value: object): value is TagResource {
82
95
  if (!('type' in value) || value['type'] === undefined) return false;
83
96
  if (!('site' in value) || value['site'] === undefined) return false;
84
97
  if (!('seo' in value) || value['seo'] === undefined) return false;
98
+ if (!('description' in value) || value['description'] === undefined) return false;
85
99
  return true;
86
100
  }
87
101
 
@@ -101,6 +115,7 @@ export function TagResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean
101
115
  'type': json['type'],
102
116
  'site': SiteLiteResourceFromJSON(json['site']),
103
117
  'seo': SEOResourceFromJSON(json['seo']),
118
+ 'description': DescriptionResourceFromJSON(json['description']),
104
119
  };
105
120
  }
106
121
 
@@ -121,6 +136,7 @@ export function TagResourceToJSONTyped(value?: TagResource | null, ignoreDiscrim
121
136
  'type': value['type'],
122
137
  'site': SiteLiteResourceToJSON(value['site']),
123
138
  'seo': SEOResourceToJSON(value['seo']),
139
+ 'description': DescriptionResourceToJSON(value['description']),
124
140
  };
125
141
  }
126
142
 
@@ -20,6 +20,13 @@ import {
20
20
  StoreSupplierRequestSeoInnerToJSON,
21
21
  StoreSupplierRequestSeoInnerToJSONTyped,
22
22
  } from './StoreSupplierRequestSeoInner';
23
+ import type { StoreSupplierRequestDescriptionsInner } from './StoreSupplierRequestDescriptionsInner';
24
+ import {
25
+ StoreSupplierRequestDescriptionsInnerFromJSON,
26
+ StoreSupplierRequestDescriptionsInnerFromJSONTyped,
27
+ StoreSupplierRequestDescriptionsInnerToJSON,
28
+ StoreSupplierRequestDescriptionsInnerToJSONTyped,
29
+ } from './StoreSupplierRequestDescriptionsInner';
23
30
 
24
31
  /**
25
32
  *
@@ -69,6 +76,12 @@ export interface UpdateSupplierRequest {
69
76
  * @memberof UpdateSupplierRequest
70
77
  */
71
78
  assetFileId: number;
79
+ /**
80
+ *
81
+ * @type {Array<StoreSupplierRequestDescriptionsInner>}
82
+ * @memberof UpdateSupplierRequest
83
+ */
84
+ descriptions: Array<StoreSupplierRequestDescriptionsInner>;
72
85
  }
73
86
 
74
87
  /**
@@ -81,6 +94,7 @@ export function instanceOfUpdateSupplierRequest(value: object): value is UpdateS
81
94
  if (!('seo' in value) || value['seo'] === undefined) return false;
82
95
  if (!('mimeType' in value) || value['mimeType'] === undefined) return false;
83
96
  if (!('assetFileId' in value) || value['assetFileId'] === undefined) return false;
97
+ if (!('descriptions' in value) || value['descriptions'] === undefined) return false;
84
98
  return true;
85
99
  }
86
100
 
@@ -101,6 +115,7 @@ export function UpdateSupplierRequestFromJSONTyped(json: any, ignoreDiscriminato
101
115
  'altText': json['alt_text'] == null ? undefined : json['alt_text'],
102
116
  'mimeType': json['mime_type'],
103
117
  'assetFileId': json['asset_file_id'],
118
+ 'descriptions': ((json['descriptions'] as Array<any>).map(StoreSupplierRequestDescriptionsInnerFromJSON)),
104
119
  };
105
120
  }
106
121
 
@@ -122,6 +137,7 @@ export function UpdateSupplierRequestToJSONTyped(value?: UpdateSupplierRequest |
122
137
  'alt_text': value['altText'],
123
138
  'mime_type': value['mimeType'],
124
139
  'asset_file_id': value['assetFileId'],
140
+ 'descriptions': ((value['descriptions'] as Array<any>).map(StoreSupplierRequestDescriptionsInnerToJSON)),
125
141
  };
126
142
  }
127
143
 
@@ -42,31 +42,25 @@ export interface UpdateTagRequest {
42
42
  * @type {string}
43
43
  * @memberof UpdateTagRequest
44
44
  */
45
- title?: string;
45
+ seoTitle?: string;
46
46
  /**
47
47
  *
48
48
  * @type {string}
49
49
  * @memberof UpdateTagRequest
50
50
  */
51
- description?: string;
51
+ seoDescription?: string;
52
52
  /**
53
53
  *
54
54
  * @type {string}
55
55
  * @memberof UpdateTagRequest
56
56
  */
57
- keywords?: string;
57
+ headerDescription?: string;
58
58
  /**
59
59
  *
60
60
  * @type {string}
61
61
  * @memberof UpdateTagRequest
62
62
  */
63
63
  footerDescription?: string;
64
- /**
65
- *
66
- * @type {string}
67
- * @memberof UpdateTagRequest
68
- */
69
- pageDescription?: string;
70
64
  }
71
65
 
72
66
 
@@ -103,11 +97,10 @@ export function UpdateTagRequestFromJSONTyped(json: any, ignoreDiscriminator: bo
103
97
  'name': json['name'],
104
98
  'slug': json['slug'],
105
99
  'type': json['type'],
106
- 'title': json['title'] == null ? undefined : json['title'],
107
- 'description': json['description'] == null ? undefined : json['description'],
108
- 'keywords': json['keywords'] == null ? undefined : json['keywords'],
100
+ 'seoTitle': json['seo_title'] == null ? undefined : json['seo_title'],
101
+ 'seoDescription': json['seo_description'] == null ? undefined : json['seo_description'],
102
+ 'headerDescription': json['header_description'] == null ? undefined : json['header_description'],
109
103
  'footerDescription': json['footer_description'] == null ? undefined : json['footer_description'],
110
- 'pageDescription': json['page_description'] == null ? undefined : json['page_description'],
111
104
  };
112
105
  }
113
106
 
@@ -125,11 +118,10 @@ export function UpdateTagRequestToJSONTyped(value?: UpdateTagRequest | null, ign
125
118
  'name': value['name'],
126
119
  'slug': value['slug'],
127
120
  'type': value['type'],
128
- 'title': value['title'],
129
- 'description': value['description'],
130
- 'keywords': value['keywords'],
121
+ 'seo_title': value['seoTitle'],
122
+ 'seo_description': value['seoDescription'],
123
+ 'header_description': value['headerDescription'],
131
124
  'footer_description': value['footerDescription'],
132
- 'page_description': value['pageDescription'],
133
125
  };
134
126
  }
135
127
 
@@ -27,6 +27,8 @@ export * from './AttributeType';
27
27
  export * from './AttributeValueResource';
28
28
  export * from './AttributeValueResourceArrayResponse';
29
29
  export * from './CouponDiscountType';
30
+ export * from './DescriptionResource';
31
+ export * from './DescriptionResourceArrayResponse';
30
32
  export * from './DestroyAttributeValueRequest';
31
33
  export * from './DetachAssetableOverlayTemplateRequest';
32
34
  export * from './DetachDocumentablesDocumentRequest';
@@ -166,6 +168,7 @@ export * from './StoreProductRequestCategoriesInner';
166
168
  export * from './StoreProductTypeRequest';
167
169
  export * from './StoreSiteNotificationRequest';
168
170
  export * from './StoreSupplierRequest';
171
+ export * from './StoreSupplierRequestDescriptionsInner';
169
172
  export * from './StoreSupplierRequestSeoInner';
170
173
  export * from './StoreTagRequest';
171
174
  export * from './SupplierFrontendResource';