@digital8/lighting-illusions-ts-sdk 0.0.1630 → 0.0.1632

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 (101) hide show
  1. package/.openapi-generator/FILES +6 -32
  2. package/README.md +7 -23
  3. package/dist/apis/StoreApi.d.ts +28 -1
  4. package/dist/apis/StoreApi.js +113 -0
  5. package/dist/apis/index.d.ts +0 -1
  6. package/dist/apis/index.js +0 -1
  7. package/dist/models/ProductChildStoreStockType.d.ts +25 -0
  8. package/dist/models/ProductChildStoreStockType.js +51 -0
  9. package/dist/models/SaveMapStoreStockMigrationRequest.d.ts +33 -0
  10. package/dist/models/SaveMapStoreStockMigrationRequest.js +52 -0
  11. package/dist/models/SaveMapStoreStockMigrationRequestAssociationsInner.d.ts +52 -0
  12. package/dist/models/SaveMapStoreStockMigrationRequestAssociationsInner.js +67 -0
  13. package/dist/models/StoreFrontendResource.d.ts +1 -1
  14. package/dist/models/StoreFrontendResource.js +1 -3
  15. package/dist/models/StoreResource.d.ts +12 -0
  16. package/dist/models/StoreResource.js +4 -0
  17. package/dist/models/StoreStoreRequest.d.ts +12 -0
  18. package/dist/models/StoreStoreRequest.js +4 -0
  19. package/dist/models/UpdateStoreRequest.d.ts +12 -0
  20. package/dist/models/UpdateStoreRequest.js +4 -0
  21. package/dist/models/index.d.ts +3 -15
  22. package/dist/models/index.js +3 -15
  23. package/docs/{BlogCategoryLiteResource.md → ProductChildStoreStockType.md} +4 -8
  24. package/docs/{BlogCategoryResourceArrayResponse.md → SaveMapStoreStockMigrationRequest.md} +6 -6
  25. package/docs/{BlogCategoryListResourceArrayResponse.md → SaveMapStoreStockMigrationRequestAssociationsInner.md} +10 -6
  26. package/docs/StoreApi.md +124 -0
  27. package/docs/StoreResource.md +4 -0
  28. package/docs/StoreStoreRequest.md +4 -0
  29. package/docs/UpdateStoreRequest.md +4 -0
  30. package/package.json +1 -1
  31. package/src/apis/StoreApi.ts +84 -0
  32. package/src/apis/index.ts +0 -1
  33. package/src/models/ProductChildStoreStockType.ts +53 -0
  34. package/src/models/SaveMapStoreStockMigrationRequest.ts +74 -0
  35. package/src/models/SaveMapStoreStockMigrationRequestAssociationsInner.ts +95 -0
  36. package/src/models/StoreFrontendResource.ts +2 -3
  37. package/src/models/StoreResource.ts +16 -0
  38. package/src/models/StoreStoreRequest.ts +16 -0
  39. package/src/models/UpdateStoreRequest.ts +16 -0
  40. package/src/models/index.ts +3 -15
  41. package/dist/apis/BlogCategoriesApi.d.ts +0 -109
  42. package/dist/apis/BlogCategoriesApi.js +0 -433
  43. package/dist/models/BlogCategoryFrontendResource.d.ts +0 -44
  44. package/dist/models/BlogCategoryFrontendResource.js +0 -59
  45. package/dist/models/BlogCategoryFrontendResourceArrayResponse.d.ts +0 -33
  46. package/dist/models/BlogCategoryFrontendResourceArrayResponse.js +0 -50
  47. package/dist/models/BlogCategoryListResource.d.ts +0 -44
  48. package/dist/models/BlogCategoryListResource.js +0 -59
  49. package/dist/models/BlogCategoryListResourceArrayResponse.d.ts +0 -33
  50. package/dist/models/BlogCategoryListResourceArrayResponse.js +0 -50
  51. package/dist/models/BlogCategoryLiteResource.d.ts +0 -38
  52. package/dist/models/BlogCategoryLiteResource.js +0 -55
  53. package/dist/models/BlogCategoryLiteResourceArrayResponse.d.ts +0 -33
  54. package/dist/models/BlogCategoryLiteResourceArrayResponse.js +0 -50
  55. package/dist/models/BlogCategoryResource.d.ts +0 -51
  56. package/dist/models/BlogCategoryResource.js +0 -64
  57. package/dist/models/BlogCategoryResourceArrayResponse.d.ts +0 -33
  58. package/dist/models/BlogCategoryResourceArrayResponse.js +0 -50
  59. package/dist/models/GetAllBlogCategoryRequest.d.ts +0 -78
  60. package/dist/models/GetAllBlogCategoryRequest.js +0 -74
  61. package/dist/models/IndexBlogCategoryRequest.d.ts +0 -90
  62. package/dist/models/IndexBlogCategoryRequest.js +0 -78
  63. package/dist/models/PaginatedBlogCategoryListResourceResponse.d.ts +0 -40
  64. package/dist/models/PaginatedBlogCategoryListResourceResponse.js +0 -57
  65. package/dist/models/PaginatedBlogCategoryLiteResourceResponse.d.ts +0 -40
  66. package/dist/models/PaginatedBlogCategoryLiteResourceResponse.js +0 -57
  67. package/dist/models/PaginatedBlogCategoryResourceResponse.d.ts +0 -40
  68. package/dist/models/PaginatedBlogCategoryResourceResponse.js +0 -57
  69. package/dist/models/StoreBlogCategoryRequest.d.ts +0 -45
  70. package/dist/models/StoreBlogCategoryRequest.js +0 -60
  71. package/dist/models/UpdateBlogCategoryRequest.d.ts +0 -45
  72. package/dist/models/UpdateBlogCategoryRequest.js +0 -60
  73. package/docs/BlogCategoriesApi.md +0 -407
  74. package/docs/BlogCategoryFrontendResource.md +0 -38
  75. package/docs/BlogCategoryFrontendResourceArrayResponse.md +0 -34
  76. package/docs/BlogCategoryListResource.md +0 -38
  77. package/docs/BlogCategoryLiteResourceArrayResponse.md +0 -34
  78. package/docs/BlogCategoryResource.md +0 -40
  79. package/docs/GetAllBlogCategoryRequest.md +0 -44
  80. package/docs/IndexBlogCategoryRequest.md +0 -48
  81. package/docs/PaginatedBlogCategoryListResourceResponse.md +0 -36
  82. package/docs/PaginatedBlogCategoryLiteResourceResponse.md +0 -36
  83. package/docs/PaginatedBlogCategoryResourceResponse.md +0 -36
  84. package/docs/StoreBlogCategoryRequest.md +0 -38
  85. package/docs/UpdateBlogCategoryRequest.md +0 -38
  86. package/src/apis/BlogCategoriesApi.ts +0 -334
  87. package/src/models/BlogCategoryFrontendResource.ts +0 -84
  88. package/src/models/BlogCategoryFrontendResourceArrayResponse.ts +0 -73
  89. package/src/models/BlogCategoryListResource.ts +0 -84
  90. package/src/models/BlogCategoryListResourceArrayResponse.ts +0 -73
  91. package/src/models/BlogCategoryLiteResource.ts +0 -75
  92. package/src/models/BlogCategoryLiteResourceArrayResponse.ts +0 -73
  93. package/src/models/BlogCategoryResource.ts +0 -101
  94. package/src/models/BlogCategoryResourceArrayResponse.ts +0 -73
  95. package/src/models/GetAllBlogCategoryRequest.ts +0 -125
  96. package/src/models/IndexBlogCategoryRequest.ts +0 -141
  97. package/src/models/PaginatedBlogCategoryListResourceResponse.ts +0 -90
  98. package/src/models/PaginatedBlogCategoryLiteResourceResponse.ts +0 -90
  99. package/src/models/PaginatedBlogCategoryResourceResponse.ts +0 -90
  100. package/src/models/StoreBlogCategoryRequest.ts +0 -92
  101. package/src/models/UpdateBlogCategoryRequest.ts +0 -92
@@ -0,0 +1,52 @@
1
+ /**
2
+ * My API
3
+ * API documentation for my Laravel app
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SaveMapStoreStockMigrationRequestAssociationsInner
16
+ */
17
+ export interface SaveMapStoreStockMigrationRequestAssociationsInner {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof SaveMapStoreStockMigrationRequestAssociationsInner
22
+ */
23
+ locationId: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof SaveMapStoreStockMigrationRequestAssociationsInner
28
+ */
29
+ storeId: number;
30
+ /**
31
+ *
32
+ * @type {SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum}
33
+ * @memberof SaveMapStoreStockMigrationRequestAssociationsInner
34
+ */
35
+ type: SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum;
36
+ }
37
+ /**
38
+ * @export
39
+ */
40
+ export declare const SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum: {
41
+ readonly Available: "available";
42
+ readonly Display: "display";
43
+ };
44
+ export type SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum = typeof SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum[keyof typeof SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum];
45
+ /**
46
+ * Check if a given object implements the SaveMapStoreStockMigrationRequestAssociationsInner interface.
47
+ */
48
+ export declare function instanceOfSaveMapStoreStockMigrationRequestAssociationsInner(value: object): value is SaveMapStoreStockMigrationRequestAssociationsInner;
49
+ export declare function SaveMapStoreStockMigrationRequestAssociationsInnerFromJSON(json: any): SaveMapStoreStockMigrationRequestAssociationsInner;
50
+ export declare function SaveMapStoreStockMigrationRequestAssociationsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveMapStoreStockMigrationRequestAssociationsInner;
51
+ export declare function SaveMapStoreStockMigrationRequestAssociationsInnerToJSON(json: any): SaveMapStoreStockMigrationRequestAssociationsInner;
52
+ export declare function SaveMapStoreStockMigrationRequestAssociationsInnerToJSONTyped(value?: SaveMapStoreStockMigrationRequestAssociationsInner | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * My API
6
+ * API documentation for my Laravel app
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum = void 0;
17
+ exports.instanceOfSaveMapStoreStockMigrationRequestAssociationsInner = instanceOfSaveMapStoreStockMigrationRequestAssociationsInner;
18
+ exports.SaveMapStoreStockMigrationRequestAssociationsInnerFromJSON = SaveMapStoreStockMigrationRequestAssociationsInnerFromJSON;
19
+ exports.SaveMapStoreStockMigrationRequestAssociationsInnerFromJSONTyped = SaveMapStoreStockMigrationRequestAssociationsInnerFromJSONTyped;
20
+ exports.SaveMapStoreStockMigrationRequestAssociationsInnerToJSON = SaveMapStoreStockMigrationRequestAssociationsInnerToJSON;
21
+ exports.SaveMapStoreStockMigrationRequestAssociationsInnerToJSONTyped = SaveMapStoreStockMigrationRequestAssociationsInnerToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.SaveMapStoreStockMigrationRequestAssociationsInnerTypeEnum = {
26
+ Available: 'available',
27
+ Display: 'display'
28
+ };
29
+ /**
30
+ * Check if a given object implements the SaveMapStoreStockMigrationRequestAssociationsInner interface.
31
+ */
32
+ function instanceOfSaveMapStoreStockMigrationRequestAssociationsInner(value) {
33
+ if (!('locationId' in value) || value['locationId'] === undefined)
34
+ return false;
35
+ if (!('storeId' in value) || value['storeId'] === undefined)
36
+ return false;
37
+ if (!('type' in value) || value['type'] === undefined)
38
+ return false;
39
+ return true;
40
+ }
41
+ function SaveMapStoreStockMigrationRequestAssociationsInnerFromJSON(json) {
42
+ return SaveMapStoreStockMigrationRequestAssociationsInnerFromJSONTyped(json, false);
43
+ }
44
+ function SaveMapStoreStockMigrationRequestAssociationsInnerFromJSONTyped(json, ignoreDiscriminator) {
45
+ if (json == null) {
46
+ return json;
47
+ }
48
+ return {
49
+ 'locationId': json['location_id'],
50
+ 'storeId': json['store_id'],
51
+ 'type': json['type'],
52
+ };
53
+ }
54
+ function SaveMapStoreStockMigrationRequestAssociationsInnerToJSON(json) {
55
+ return SaveMapStoreStockMigrationRequestAssociationsInnerToJSONTyped(json, false);
56
+ }
57
+ function SaveMapStoreStockMigrationRequestAssociationsInnerToJSONTyped(value, ignoreDiscriminator) {
58
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
59
+ if (value == null) {
60
+ return value;
61
+ }
62
+ return {
63
+ 'location_id': value['locationId'],
64
+ 'store_id': value['storeId'],
65
+ 'type': value['type'],
66
+ };
67
+ }
@@ -44,7 +44,7 @@ export interface StoreFrontendResource {
44
44
  * @type {string}
45
45
  * @memberof StoreFrontendResource
46
46
  */
47
- website: string;
47
+ website?: string | null;
48
48
  /**
49
49
  *
50
50
  * @type {string}
@@ -28,8 +28,6 @@ function instanceOfStoreFrontendResource(value) {
28
28
  return false;
29
29
  if (!('email' in value) || value['email'] === undefined)
30
30
  return false;
31
- if (!('website' in value) || value['website'] === undefined)
32
- return false;
33
31
  if (!('phone' in value) || value['phone'] === undefined)
34
32
  return false;
35
33
  if (!('latitude' in value) || value['latitude'] === undefined)
@@ -56,7 +54,7 @@ function StoreFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
56
54
  'siteId': json['siteId'],
57
55
  'name': json['name'],
58
56
  'email': json['email'],
59
- 'website': json['website'],
57
+ 'website': json['website'] == null ? undefined : json['website'],
60
58
  'phone': json['phone'],
61
59
  'address': json['address'] == null ? undefined : json['address'],
62
60
  'latitude': json['latitude'],
@@ -73,6 +73,18 @@ export interface StoreResource {
73
73
  * @memberof StoreResource
74
74
  */
75
75
  website?: string | null;
76
+ /**
77
+ *
78
+ * @type {number}
79
+ * @memberof StoreResource
80
+ */
81
+ netsuiteId?: number | null;
82
+ /**
83
+ *
84
+ * @type {number}
85
+ * @memberof StoreResource
86
+ */
87
+ displayNetsuiteId?: number | null;
76
88
  /**
77
89
  *
78
90
  * @type {string}
@@ -65,6 +65,8 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
65
65
  'tagLine': json['tag_line'],
66
66
  'email': json['email'],
67
67
  'website': json['website'] == null ? undefined : json['website'],
68
+ 'netsuiteId': json['netsuiteId'] == null ? undefined : json['netsuiteId'],
69
+ 'displayNetsuiteId': json['displayNetsuiteId'] == null ? undefined : json['displayNetsuiteId'],
68
70
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
69
71
  'suppliers': (json['suppliers'] == null ? null : json['suppliers'].map(SupplierLiteResource_1.SupplierLiteResourceFromJSON)),
70
72
  'address': (0, AddressResource_1.AddressResourceFromJSON)(json['address']),
@@ -89,6 +91,8 @@ function StoreResourceToJSONTyped(value, ignoreDiscriminator) {
89
91
  'tag_line': value['tagLine'],
90
92
  'email': value['email'],
91
93
  'website': value['website'],
94
+ 'netsuiteId': value['netsuiteId'],
95
+ 'displayNetsuiteId': value['displayNetsuiteId'],
92
96
  'opening_hours': value['openingHours'],
93
97
  'suppliers': (value['suppliers'] == null ? null : value['suppliers'].map(SupplierLiteResource_1.SupplierLiteResourceToJSON)),
94
98
  'address': (0, AddressResource_1.AddressResourceToJSON)(value['address']),
@@ -71,6 +71,18 @@ export interface StoreStoreRequest {
71
71
  * @memberof StoreStoreRequest
72
72
  */
73
73
  openingHours?: Array<string | null>;
74
+ /**
75
+ *
76
+ * @type {number}
77
+ * @memberof StoreStoreRequest
78
+ */
79
+ netsuiteId?: number | null;
80
+ /**
81
+ *
82
+ * @type {number}
83
+ * @memberof StoreStoreRequest
84
+ */
85
+ displayNetsuiteId?: number | null;
74
86
  /**
75
87
  *
76
88
  * @type {Array<number>}
@@ -55,6 +55,8 @@ function StoreStoreRequestFromJSONTyped(json, ignoreDiscriminator) {
55
55
  'email': json['email'] == null ? undefined : json['email'],
56
56
  'website': json['website'] == null ? undefined : json['website'],
57
57
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
58
+ 'netsuiteId': json['netsuite_id'] == null ? undefined : json['netsuite_id'],
59
+ 'displayNetsuiteId': json['display_netsuite_id'] == null ? undefined : json['display_netsuite_id'],
58
60
  'supplierIds': json['supplier_ids'] == null ? undefined : json['supplier_ids'],
59
61
  'specialDates': json['special_dates'] == null ? undefined : (json['special_dates'].map(StoreStoreRequestSpecialDatesInner_1.StoreStoreRequestSpecialDatesInnerFromJSON)),
60
62
  'address': (0, StoreStoreRequestAddress_1.StoreStoreRequestAddressFromJSON)(json['address']),
@@ -78,6 +80,8 @@ function StoreStoreRequestToJSONTyped(value, ignoreDiscriminator) {
78
80
  'email': value['email'],
79
81
  'website': value['website'],
80
82
  'opening_hours': value['openingHours'],
83
+ 'netsuite_id': value['netsuiteId'],
84
+ 'display_netsuite_id': value['displayNetsuiteId'],
81
85
  'supplier_ids': value['supplierIds'],
82
86
  'special_dates': value['specialDates'] == null ? undefined : (value['specialDates'].map(StoreStoreRequestSpecialDatesInner_1.StoreStoreRequestSpecialDatesInnerToJSON)),
83
87
  'address': (0, StoreStoreRequestAddress_1.StoreStoreRequestAddressToJSON)(value['address']),
@@ -71,6 +71,18 @@ export interface UpdateStoreRequest {
71
71
  * @memberof UpdateStoreRequest
72
72
  */
73
73
  openingHours?: Array<string | null>;
74
+ /**
75
+ *
76
+ * @type {number}
77
+ * @memberof UpdateStoreRequest
78
+ */
79
+ netsuiteId?: number | null;
80
+ /**
81
+ *
82
+ * @type {number}
83
+ * @memberof UpdateStoreRequest
84
+ */
85
+ displayNetsuiteId?: number | null;
74
86
  /**
75
87
  *
76
88
  * @type {Array<number>}
@@ -55,6 +55,8 @@ function UpdateStoreRequestFromJSONTyped(json, ignoreDiscriminator) {
55
55
  'email': json['email'] == null ? undefined : json['email'],
56
56
  'website': json['website'] == null ? undefined : json['website'],
57
57
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
58
+ 'netsuiteId': json['netsuite_id'] == null ? undefined : json['netsuite_id'],
59
+ 'displayNetsuiteId': json['display_netsuite_id'] == null ? undefined : json['display_netsuite_id'],
58
60
  'supplierIds': json['supplier_ids'] == null ? undefined : json['supplier_ids'],
59
61
  'specialDates': json['special_dates'] == null ? undefined : (json['special_dates'].map(UpdateStoreRequestSpecialDatesInner_1.UpdateStoreRequestSpecialDatesInnerFromJSON)),
60
62
  'address': (0, StoreStoreRequestAddress_1.StoreStoreRequestAddressFromJSON)(json['address']),
@@ -78,6 +80,8 @@ function UpdateStoreRequestToJSONTyped(value, ignoreDiscriminator) {
78
80
  'email': value['email'],
79
81
  'website': value['website'],
80
82
  'opening_hours': value['openingHours'],
83
+ 'netsuite_id': value['netsuiteId'],
84
+ 'display_netsuite_id': value['displayNetsuiteId'],
81
85
  'supplier_ids': value['supplierIds'],
82
86
  'special_dates': value['specialDates'] == null ? undefined : (value['specialDates'].map(UpdateStoreRequestSpecialDatesInner_1.UpdateStoreRequestSpecialDatesInnerToJSON)),
83
87
  'address': (0, StoreStoreRequestAddress_1.StoreStoreRequestAddressToJSON)(value['address']),
@@ -39,14 +39,6 @@ export * from './AttributeResourceArrayResponse';
39
39
  export * from './AttributeType';
40
40
  export * from './AttributeValueResource';
41
41
  export * from './AttributeValueResourceArrayResponse';
42
- export * from './BlogCategoryFrontendResource';
43
- export * from './BlogCategoryFrontendResourceArrayResponse';
44
- export * from './BlogCategoryListResource';
45
- export * from './BlogCategoryListResourceArrayResponse';
46
- export * from './BlogCategoryLiteResource';
47
- export * from './BlogCategoryLiteResourceArrayResponse';
48
- export * from './BlogCategoryResource';
49
- export * from './BlogCategoryResourceArrayResponse';
50
42
  export * from './CategoryAutomationComparisonType';
51
43
  export * from './CategoryAutomationConditionType';
52
44
  export * from './CategoryAutomationFieldType';
@@ -91,7 +83,6 @@ export * from './ExternalApiSyncStatus';
91
83
  export * from './GenericResponse';
92
84
  export * from './GetAllAttributeRequest';
93
85
  export * from './GetAllAttributeValueRequest';
94
- export * from './GetAllBlogCategoryRequest';
95
86
  export * from './GetAllDefinitionRequest';
96
87
  export * from './GetAllDocumentRequest';
97
88
  export * from './GetAllGoogleCategoryRequest';
@@ -117,7 +108,6 @@ export * from './GoogleCategoryResource';
117
108
  export * from './GoogleCategoryResourceArrayResponse';
118
109
  export * from './IndexAttributeRequest';
119
110
  export * from './IndexAttributeValueRequest';
120
- export * from './IndexBlogCategoryRequest';
121
111
  export * from './IndexDefinitionRequest';
122
112
  export * from './IndexDocumentRequest';
123
113
  export * from './IndexExternalApiLogRequest';
@@ -163,9 +153,6 @@ export * from './PaginatedAttributeLiteResourceResponse';
163
153
  export * from './PaginatedAttributeProductTypeRelationResourceResponse';
164
154
  export * from './PaginatedAttributeResourceResponse';
165
155
  export * from './PaginatedAttributeValueResourceResponse';
166
- export * from './PaginatedBlogCategoryListResourceResponse';
167
- export * from './PaginatedBlogCategoryLiteResourceResponse';
168
- export * from './PaginatedBlogCategoryResourceResponse';
169
156
  export * from './PaginatedCategoryFrontendResourceResponse';
170
157
  export * from './PaginatedDefinitionListResourceResponse';
171
158
  export * from './PaginatedDefinitionResourceResponse';
@@ -244,6 +231,7 @@ export * from './ProductChildSiteDetailLiteResource';
244
231
  export * from './ProductChildSiteDetailLiteResourceArrayResponse';
245
232
  export * from './ProductChildSiteDetailResource';
246
233
  export * from './ProductChildSiteDetailResourceArrayResponse';
234
+ export * from './ProductChildStoreStockType';
247
235
  export * from './ProductClassResource';
248
236
  export * from './ProductClassResourceArrayResponse';
249
237
  export * from './ProductCompareResource';
@@ -296,6 +284,8 @@ export * from './RedirectListResource';
296
284
  export * from './RedirectListResourceArrayResponse';
297
285
  export * from './SEOResource';
298
286
  export * from './SEOResourceArrayResponse';
287
+ export * from './SaveMapStoreStockMigrationRequest';
288
+ export * from './SaveMapStoreStockMigrationRequestAssociationsInner';
299
289
  export * from './ShowAssetsProductChildRequest';
300
290
  export * from './ShowAttributesProductChildRequest';
301
291
  export * from './SiteConfigResource';
@@ -316,7 +306,6 @@ export * from './StoreAssetFileRequest';
316
306
  export * from './StoreAssetForAssetableRequest';
317
307
  export * from './StoreAttributeRequest';
318
308
  export * from './StoreAttributeValueRequest';
319
- export * from './StoreBlogCategoryRequest';
320
309
  export * from './StoreDefinitionRequest';
321
310
  export * from './StoreDocumentFileRequest';
322
311
  export * from './StoreDocumentRequest';
@@ -375,7 +364,6 @@ export * from './TagType';
375
364
  export * from './UpdateAssetForAssetableRequest';
376
365
  export * from './UpdateAttributeRequest';
377
366
  export * from './UpdateAttributeValueRequest';
378
- export * from './UpdateBlogCategoryRequest';
379
367
  export * from './UpdateDefinitionRequest';
380
368
  export * from './UpdateDocumentRequest';
381
369
  export * from './UpdateFilterOrderAttributeRequest';
@@ -57,14 +57,6 @@ __exportStar(require("./AttributeResourceArrayResponse"), exports);
57
57
  __exportStar(require("./AttributeType"), exports);
58
58
  __exportStar(require("./AttributeValueResource"), exports);
59
59
  __exportStar(require("./AttributeValueResourceArrayResponse"), exports);
60
- __exportStar(require("./BlogCategoryFrontendResource"), exports);
61
- __exportStar(require("./BlogCategoryFrontendResourceArrayResponse"), exports);
62
- __exportStar(require("./BlogCategoryListResource"), exports);
63
- __exportStar(require("./BlogCategoryListResourceArrayResponse"), exports);
64
- __exportStar(require("./BlogCategoryLiteResource"), exports);
65
- __exportStar(require("./BlogCategoryLiteResourceArrayResponse"), exports);
66
- __exportStar(require("./BlogCategoryResource"), exports);
67
- __exportStar(require("./BlogCategoryResourceArrayResponse"), exports);
68
60
  __exportStar(require("./CategoryAutomationComparisonType"), exports);
69
61
  __exportStar(require("./CategoryAutomationConditionType"), exports);
70
62
  __exportStar(require("./CategoryAutomationFieldType"), exports);
@@ -109,7 +101,6 @@ __exportStar(require("./ExternalApiSyncStatus"), exports);
109
101
  __exportStar(require("./GenericResponse"), exports);
110
102
  __exportStar(require("./GetAllAttributeRequest"), exports);
111
103
  __exportStar(require("./GetAllAttributeValueRequest"), exports);
112
- __exportStar(require("./GetAllBlogCategoryRequest"), exports);
113
104
  __exportStar(require("./GetAllDefinitionRequest"), exports);
114
105
  __exportStar(require("./GetAllDocumentRequest"), exports);
115
106
  __exportStar(require("./GetAllGoogleCategoryRequest"), exports);
@@ -135,7 +126,6 @@ __exportStar(require("./GoogleCategoryResource"), exports);
135
126
  __exportStar(require("./GoogleCategoryResourceArrayResponse"), exports);
136
127
  __exportStar(require("./IndexAttributeRequest"), exports);
137
128
  __exportStar(require("./IndexAttributeValueRequest"), exports);
138
- __exportStar(require("./IndexBlogCategoryRequest"), exports);
139
129
  __exportStar(require("./IndexDefinitionRequest"), exports);
140
130
  __exportStar(require("./IndexDocumentRequest"), exports);
141
131
  __exportStar(require("./IndexExternalApiLogRequest"), exports);
@@ -181,9 +171,6 @@ __exportStar(require("./PaginatedAttributeLiteResourceResponse"), exports);
181
171
  __exportStar(require("./PaginatedAttributeProductTypeRelationResourceResponse"), exports);
182
172
  __exportStar(require("./PaginatedAttributeResourceResponse"), exports);
183
173
  __exportStar(require("./PaginatedAttributeValueResourceResponse"), exports);
184
- __exportStar(require("./PaginatedBlogCategoryListResourceResponse"), exports);
185
- __exportStar(require("./PaginatedBlogCategoryLiteResourceResponse"), exports);
186
- __exportStar(require("./PaginatedBlogCategoryResourceResponse"), exports);
187
174
  __exportStar(require("./PaginatedCategoryFrontendResourceResponse"), exports);
188
175
  __exportStar(require("./PaginatedDefinitionListResourceResponse"), exports);
189
176
  __exportStar(require("./PaginatedDefinitionResourceResponse"), exports);
@@ -262,6 +249,7 @@ __exportStar(require("./ProductChildSiteDetailLiteResource"), exports);
262
249
  __exportStar(require("./ProductChildSiteDetailLiteResourceArrayResponse"), exports);
263
250
  __exportStar(require("./ProductChildSiteDetailResource"), exports);
264
251
  __exportStar(require("./ProductChildSiteDetailResourceArrayResponse"), exports);
252
+ __exportStar(require("./ProductChildStoreStockType"), exports);
265
253
  __exportStar(require("./ProductClassResource"), exports);
266
254
  __exportStar(require("./ProductClassResourceArrayResponse"), exports);
267
255
  __exportStar(require("./ProductCompareResource"), exports);
@@ -314,6 +302,8 @@ __exportStar(require("./RedirectListResource"), exports);
314
302
  __exportStar(require("./RedirectListResourceArrayResponse"), exports);
315
303
  __exportStar(require("./SEOResource"), exports);
316
304
  __exportStar(require("./SEOResourceArrayResponse"), exports);
305
+ __exportStar(require("./SaveMapStoreStockMigrationRequest"), exports);
306
+ __exportStar(require("./SaveMapStoreStockMigrationRequestAssociationsInner"), exports);
317
307
  __exportStar(require("./ShowAssetsProductChildRequest"), exports);
318
308
  __exportStar(require("./ShowAttributesProductChildRequest"), exports);
319
309
  __exportStar(require("./SiteConfigResource"), exports);
@@ -334,7 +324,6 @@ __exportStar(require("./StoreAssetFileRequest"), exports);
334
324
  __exportStar(require("./StoreAssetForAssetableRequest"), exports);
335
325
  __exportStar(require("./StoreAttributeRequest"), exports);
336
326
  __exportStar(require("./StoreAttributeValueRequest"), exports);
337
- __exportStar(require("./StoreBlogCategoryRequest"), exports);
338
327
  __exportStar(require("./StoreDefinitionRequest"), exports);
339
328
  __exportStar(require("./StoreDocumentFileRequest"), exports);
340
329
  __exportStar(require("./StoreDocumentRequest"), exports);
@@ -393,7 +382,6 @@ __exportStar(require("./TagType"), exports);
393
382
  __exportStar(require("./UpdateAssetForAssetableRequest"), exports);
394
383
  __exportStar(require("./UpdateAttributeRequest"), exports);
395
384
  __exportStar(require("./UpdateAttributeValueRequest"), exports);
396
- __exportStar(require("./UpdateBlogCategoryRequest"), exports);
397
385
  __exportStar(require("./UpdateDefinitionRequest"), exports);
398
386
  __exportStar(require("./UpdateDocumentRequest"), exports);
399
387
  __exportStar(require("./UpdateFilterOrderAttributeRequest"), exports);
@@ -1,24 +1,20 @@
1
1
 
2
- # BlogCategoryLiteResource
2
+ # ProductChildStoreStockType
3
3
 
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `id` | number
10
- `name` | string
11
9
 
12
10
  ## Example
13
11
 
14
12
  ```typescript
15
- import type { BlogCategoryLiteResource } from '@digital8/lighting-illusions-ts-sdk'
13
+ import type { ProductChildStoreStockType } from '@digital8/lighting-illusions-ts-sdk'
16
14
 
17
15
  // TODO: Update the object below with actual values
18
16
  const example = {
19
- "id": null,
20
- "name": null,
21
- } satisfies BlogCategoryLiteResource
17
+ } satisfies ProductChildStoreStockType
22
18
 
23
19
  console.log(example)
24
20
 
@@ -27,7 +23,7 @@ const exampleJSON: string = JSON.stringify(example)
27
23
  console.log(exampleJSON)
28
24
 
29
25
  // Parse the JSON string back to an object
30
- const exampleParsed = JSON.parse(exampleJSON) as BlogCategoryLiteResource
26
+ const exampleParsed = JSON.parse(exampleJSON) as ProductChildStoreStockType
31
27
  console.log(exampleParsed)
32
28
  ```
33
29
 
@@ -1,22 +1,22 @@
1
1
 
2
- # BlogCategoryResourceArrayResponse
2
+ # SaveMapStoreStockMigrationRequest
3
3
 
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `data` | [Array&lt;BlogCategoryResource&gt;](BlogCategoryResource.md)
9
+ `associations` | [Array&lt;SaveMapStoreStockMigrationRequestAssociationsInner&gt;](SaveMapStoreStockMigrationRequestAssociationsInner.md)
10
10
 
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import type { BlogCategoryResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
14
+ import type { SaveMapStoreStockMigrationRequest } from '@digital8/lighting-illusions-ts-sdk'
15
15
 
16
16
  // TODO: Update the object below with actual values
17
17
  const example = {
18
- "data": null,
19
- } satisfies BlogCategoryResourceArrayResponse
18
+ "associations": null,
19
+ } satisfies SaveMapStoreStockMigrationRequest
20
20
 
21
21
  console.log(example)
22
22
 
@@ -25,7 +25,7 @@ const exampleJSON: string = JSON.stringify(example)
25
25
  console.log(exampleJSON)
26
26
 
27
27
  // Parse the JSON string back to an object
28
- const exampleParsed = JSON.parse(exampleJSON) as BlogCategoryResourceArrayResponse
28
+ const exampleParsed = JSON.parse(exampleJSON) as SaveMapStoreStockMigrationRequest
29
29
  console.log(exampleParsed)
30
30
  ```
31
31
 
@@ -1,22 +1,26 @@
1
1
 
2
- # BlogCategoryListResourceArrayResponse
2
+ # SaveMapStoreStockMigrationRequestAssociationsInner
3
3
 
4
4
 
5
5
  ## Properties
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `data` | [Array&lt;BlogCategoryListResource&gt;](BlogCategoryListResource.md)
9
+ `locationId` | number
10
+ `storeId` | number
11
+ `type` | string
10
12
 
11
13
  ## Example
12
14
 
13
15
  ```typescript
14
- import type { BlogCategoryListResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
16
+ import type { SaveMapStoreStockMigrationRequestAssociationsInner } from '@digital8/lighting-illusions-ts-sdk'
15
17
 
16
18
  // TODO: Update the object below with actual values
17
19
  const example = {
18
- "data": null,
19
- } satisfies BlogCategoryListResourceArrayResponse
20
+ "locationId": null,
21
+ "storeId": null,
22
+ "type": null,
23
+ } satisfies SaveMapStoreStockMigrationRequestAssociationsInner
20
24
 
21
25
  console.log(example)
22
26
 
@@ -25,7 +29,7 @@ const exampleJSON: string = JSON.stringify(example)
25
29
  console.log(exampleJSON)
26
30
 
27
31
  // Parse the JSON string back to an object
28
- const exampleParsed = JSON.parse(exampleJSON) as BlogCategoryListResourceArrayResponse
32
+ const exampleParsed = JSON.parse(exampleJSON) as SaveMapStoreStockMigrationRequestAssociationsInner
29
33
  console.log(exampleParsed)
30
34
  ```
31
35
 
package/docs/StoreApi.md CHANGED
@@ -10,6 +10,8 @@ All URIs are relative to *http://localhost/api*
10
10
  | [**detachSuppliersStore**](StoreApi.md#detachsuppliersstoreoperation) | **POST** /admin-api/store/{store}/detach-suppliers | Auto-generated: detachSuppliersStore |
11
11
  | [**getAllStore**](StoreApi.md#getallstoreoperation) | **POST** /admin-api/store/all | Auto-generated: getAllStore |
12
12
  | [**indexStore**](StoreApi.md#indexstoreoperation) | **POST** /admin-api/store/list | Auto-generated: indexStore |
13
+ | [**optionsStoreStockMigration**](StoreApi.md#optionsstorestockmigration) | **GET** /admin-api/store/stock-migration/options | Auto-generated: optionsStoreStockMigration |
14
+ | [**saveMapStoreStockMigration**](StoreApi.md#savemapstorestockmigrationoperation) | **POST** /admin-api/store/stock-migration/save-map | Auto-generated: saveMapStoreStockMigration |
13
15
  | [**showStore**](StoreApi.md#showstore) | **GET** /admin-api/store/{store} | Auto-generated: showStore |
14
16
  | [**storeStore**](StoreApi.md#storestoreoperation) | **POST** /admin-api/store/create | Auto-generated: storeStore |
15
17
  | [**storeStoreSpecialDate**](StoreApi.md#storestorespecialdateoperation) | **POST** /admin-api/store/{store}/special-dates | Auto-generated: storeStoreSpecialDate |
@@ -417,6 +419,128 @@ No authorization required
417
419
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
418
420
 
419
421
 
422
+ ## optionsStoreStockMigration
423
+
424
+ > GenericResponse optionsStoreStockMigration()
425
+
426
+ Auto-generated: optionsStoreStockMigration
427
+
428
+ ### Example
429
+
430
+ ```ts
431
+ import {
432
+ Configuration,
433
+ StoreApi,
434
+ } from '@digital8/lighting-illusions-ts-sdk';
435
+ import type { OptionsStoreStockMigrationRequest } from '@digital8/lighting-illusions-ts-sdk';
436
+
437
+ async function example() {
438
+ console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
439
+ const api = new StoreApi();
440
+
441
+ try {
442
+ const data = await api.optionsStoreStockMigration();
443
+ console.log(data);
444
+ } catch (error) {
445
+ console.error(error);
446
+ }
447
+ }
448
+
449
+ // Run the test
450
+ example().catch(console.error);
451
+ ```
452
+
453
+ ### Parameters
454
+
455
+ This endpoint does not need any parameter.
456
+
457
+ ### Return type
458
+
459
+ [**GenericResponse**](GenericResponse.md)
460
+
461
+ ### Authorization
462
+
463
+ No authorization required
464
+
465
+ ### HTTP request headers
466
+
467
+ - **Content-Type**: Not defined
468
+ - **Accept**: `application/json`
469
+
470
+
471
+ ### HTTP response details
472
+ | Status code | Description | Response headers |
473
+ |-------------|-------------|------------------|
474
+ | **200** | \\JsonResponse&lt;array{locations: array&lt;int,array{id: int, name: string, isPrimary: bool}&gt;, stores: array&lt;int,array{id: int, name: string}&gt;, existingMap: array&lt;string,array{store_id: int, type: string}&gt;, existingMapFilePath: string|null}&gt; | - |
475
+
476
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
477
+
478
+
479
+ ## saveMapStoreStockMigration
480
+
481
+ > GenericResponse saveMapStoreStockMigration(saveMapStoreStockMigrationRequest)
482
+
483
+ Auto-generated: saveMapStoreStockMigration
484
+
485
+ ### Example
486
+
487
+ ```ts
488
+ import {
489
+ Configuration,
490
+ StoreApi,
491
+ } from '@digital8/lighting-illusions-ts-sdk';
492
+ import type { SaveMapStoreStockMigrationOperationRequest } from '@digital8/lighting-illusions-ts-sdk';
493
+
494
+ async function example() {
495
+ console.log("🚀 Testing @digital8/lighting-illusions-ts-sdk SDK...");
496
+ const api = new StoreApi();
497
+
498
+ const body = {
499
+ // SaveMapStoreStockMigrationRequest (optional)
500
+ saveMapStoreStockMigrationRequest: ...,
501
+ } satisfies SaveMapStoreStockMigrationOperationRequest;
502
+
503
+ try {
504
+ const data = await api.saveMapStoreStockMigration(body);
505
+ console.log(data);
506
+ } catch (error) {
507
+ console.error(error);
508
+ }
509
+ }
510
+
511
+ // Run the test
512
+ example().catch(console.error);
513
+ ```
514
+
515
+ ### Parameters
516
+
517
+
518
+ | Name | Type | Description | Notes |
519
+ |------------- | ------------- | ------------- | -------------|
520
+ | **saveMapStoreStockMigrationRequest** | [SaveMapStoreStockMigrationRequest](SaveMapStoreStockMigrationRequest.md) | | [Optional] |
521
+
522
+ ### Return type
523
+
524
+ [**GenericResponse**](GenericResponse.md)
525
+
526
+ ### Authorization
527
+
528
+ No authorization required
529
+
530
+ ### HTTP request headers
531
+
532
+ - **Content-Type**: `application/json`
533
+ - **Accept**: `application/json`
534
+
535
+
536
+ ### HTTP response details
537
+ | Status code | Description | Response headers |
538
+ |-------------|-------------|------------------|
539
+ | **200** | \\JsonResponse&lt;array{message: string, filePath: string, command: string}&gt; | - |
540
+
541
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
542
+
543
+
420
544
  ## showStore
421
545
 
422
546
  > StoreResource showStore(store)