@digital8/lighting-illusions-ts-sdk 0.0.1803 → 0.0.1805

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 (50) hide show
  1. package/.openapi-generator/FILES +0 -6
  2. package/README.md +2 -7
  3. package/dist/apis/StoreApi.d.ts +1 -28
  4. package/dist/apis/StoreApi.js +0 -113
  5. package/dist/models/AddressResource.d.ts +1 -1
  6. package/dist/models/AddressResource.js +1 -3
  7. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  8. package/dist/models/ExternalApiLogResource.js +1 -3
  9. package/dist/models/StoreListResource.d.ts +0 -12
  10. package/dist/models/StoreListResource.js +4 -12
  11. package/dist/models/StoreResource.d.ts +0 -12
  12. package/dist/models/StoreResource.js +6 -14
  13. package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
  14. package/dist/models/StoreSpecialDateFrontendResource.js +1 -3
  15. package/dist/models/StoreSpecialDateResource.js +4 -4
  16. package/dist/models/StoreStoreRequest.d.ts +0 -12
  17. package/dist/models/StoreStoreRequest.js +0 -4
  18. package/dist/models/UpdateStoreRequest.d.ts +0 -12
  19. package/dist/models/UpdateStoreRequest.js +0 -4
  20. package/dist/models/index.d.ts +0 -3
  21. package/dist/models/index.js +0 -3
  22. package/docs/StoreApi.md +0 -124
  23. package/docs/StoreListResource.md +0 -4
  24. package/docs/StoreResource.md +0 -4
  25. package/docs/StoreSpecialDateFrontendResource.md +1 -1
  26. package/docs/StoreStoreRequest.md +0 -4
  27. package/docs/UpdateStoreRequest.md +0 -4
  28. package/package.json +1 -1
  29. package/src/apis/StoreApi.ts +0 -84
  30. package/src/models/AddressResource.ts +2 -3
  31. package/src/models/ExternalApiLogResource.ts +2 -3
  32. package/src/models/StoreListResource.ts +4 -22
  33. package/src/models/StoreResource.ts +6 -24
  34. package/src/models/StoreSpecialDateFrontendResource.ts +3 -4
  35. package/src/models/StoreSpecialDateResource.ts +4 -4
  36. package/src/models/StoreStoreRequest.ts +0 -16
  37. package/src/models/UpdateStoreRequest.ts +0 -16
  38. package/src/models/index.ts +0 -3
  39. package/dist/models/SaveMapStoreStockMigrationRequest.d.ts +0 -33
  40. package/dist/models/SaveMapStoreStockMigrationRequest.js +0 -52
  41. package/dist/models/SaveMapStoreStockMigrationRequestAssociationsInner.d.ts +0 -52
  42. package/dist/models/SaveMapStoreStockMigrationRequestAssociationsInner.js +0 -67
  43. package/dist/models/StoreStockType.d.ts +0 -25
  44. package/dist/models/StoreStockType.js +0 -51
  45. package/docs/SaveMapStoreStockMigrationRequest.md +0 -34
  46. package/docs/SaveMapStoreStockMigrationRequestAssociationsInner.md +0 -38
  47. package/docs/StoreStockType.md +0 -32
  48. package/src/models/SaveMapStoreStockMigrationRequest.ts +0 -74
  49. package/src/models/SaveMapStoreStockMigrationRequestAssociationsInner.ts +0 -95
  50. package/src/models/StoreStockType.ts +0 -53
package/docs/StoreApi.md CHANGED
@@ -10,8 +10,6 @@ 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 |
15
13
  | [**showStore**](StoreApi.md#showstore) | **GET** /admin-api/store/{store} | Auto-generated: showStore |
16
14
  | [**storeStore**](StoreApi.md#storestoreoperation) | **POST** /admin-api/store/create | Auto-generated: storeStore |
17
15
  | [**storeStoreSpecialDate**](StoreApi.md#storestorespecialdateoperation) | **POST** /admin-api/store/{store}/special-dates | Auto-generated: storeStoreSpecialDate |
@@ -419,128 +417,6 @@ No authorization required
419
417
  [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
420
418
 
421
419
 
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<array{locations: array<int,array{id: int, name: string, isPrimary: bool}>, stores: array<int,array{id: int, name: string}>, existingMap: array<string,array{store_id: int, type: string}>, existingMapFilePath: string|null}> | - |
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<array{message: string, filePath: string, command: string}> | - |
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
-
544
420
  ## showStore
545
421
 
546
422
  > StoreResource showStore(store)
@@ -15,8 +15,6 @@ Name | Type
15
15
  `tagLine` | string
16
16
  `email` | string
17
17
  `website` | string
18
- `netsuiteId` | number
19
- `displayNetsuiteId` | number
20
18
  `openingHours` | string
21
19
 
22
20
  ## Example
@@ -35,8 +33,6 @@ const example = {
35
33
  "tagLine": null,
36
34
  "email": null,
37
35
  "website": null,
38
- "netsuiteId": null,
39
- "displayNetsuiteId": null,
40
36
  "openingHours": null,
41
37
  } satisfies StoreListResource
42
38
 
@@ -15,8 +15,6 @@ Name | Type
15
15
  `tagLine` | string
16
16
  `email` | string
17
17
  `website` | string
18
- `netsuiteId` | number
19
- `displayNetsuiteId` | number
20
18
  `openingHours` | string
21
19
  `suppliers` | [Array<SupplierLiteResource>](SupplierLiteResource.md)
22
20
  `address` | [AddressResource](AddressResource.md)
@@ -38,8 +36,6 @@ const example = {
38
36
  "tagLine": null,
39
37
  "email": null,
40
38
  "website": null,
41
- "netsuiteId": null,
42
- "displayNetsuiteId": null,
43
39
  "openingHours": null,
44
40
  "suppliers": null,
45
41
  "address": null,
@@ -9,7 +9,7 @@ Name | Type
9
9
  `id` | number
10
10
  `name` | string
11
11
  `hours` | string
12
- `date` | object
12
+ `date` | string
13
13
  `closed` | boolean
14
14
  `displayStartDate` | object
15
15
  `displayEndDate` | object
@@ -15,8 +15,6 @@ Name | Type
15
15
  `email` | string
16
16
  `website` | string
17
17
  `openingHours` | Array<string | null>
18
- `netsuiteId` | number
19
- `displayNetsuiteId` | number
20
18
  `supplierIds` | Array<number>
21
19
  `specialDates` | [Array<StoreStoreRequestSpecialDatesInner>](StoreStoreRequestSpecialDatesInner.md)
22
20
  `address` | [StoreStoreRequestAddress](StoreStoreRequestAddress.md)
@@ -37,8 +35,6 @@ const example = {
37
35
  "email": null,
38
36
  "website": null,
39
37
  "openingHours": null,
40
- "netsuiteId": null,
41
- "displayNetsuiteId": null,
42
38
  "supplierIds": null,
43
39
  "specialDates": null,
44
40
  "address": null,
@@ -15,8 +15,6 @@ Name | Type
15
15
  `email` | string
16
16
  `website` | string
17
17
  `openingHours` | Array<string | null>
18
- `netsuiteId` | number
19
- `displayNetsuiteId` | number
20
18
  `supplierIds` | Array<number>
21
19
  `specialDates` | [Array<UpdateStoreRequestSpecialDatesInner>](UpdateStoreRequestSpecialDatesInner.md)
22
20
  `address` | [StoreStoreRequestAddress](StoreStoreRequestAddress.md)
@@ -37,8 +35,6 @@ const example = {
37
35
  "email": null,
38
36
  "website": null,
39
37
  "openingHours": null,
40
- "netsuiteId": null,
41
- "displayNetsuiteId": null,
42
38
  "supplierIds": null,
43
39
  "specialDates": null,
44
40
  "address": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.1803",
3
+ "version": "0.0.1805",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -21,7 +21,6 @@ import type {
21
21
  GetAllStoreRequest,
22
22
  IndexStoreRequest,
23
23
  PaginatedStoreListResourceResponse,
24
- SaveMapStoreStockMigrationRequest,
25
24
  StoreListResourceArrayResponse,
26
25
  StoreResource,
27
26
  StoreSpecialDateResource,
@@ -42,8 +41,6 @@ import {
42
41
  IndexStoreRequestToJSON,
43
42
  PaginatedStoreListResourceResponseFromJSON,
44
43
  PaginatedStoreListResourceResponseToJSON,
45
- SaveMapStoreStockMigrationRequestFromJSON,
46
- SaveMapStoreStockMigrationRequestToJSON,
47
44
  StoreListResourceArrayResponseFromJSON,
48
45
  StoreListResourceArrayResponseToJSON,
49
46
  StoreResourceFromJSON,
@@ -85,10 +82,6 @@ export interface IndexStoreOperationRequest {
85
82
  indexStoreRequest?: IndexStoreRequest;
86
83
  }
87
84
 
88
- export interface SaveMapStoreStockMigrationOperationRequest {
89
- saveMapStoreStockMigrationRequest?: SaveMapStoreStockMigrationRequest;
90
- }
91
-
92
85
  export interface ShowStoreRequest {
93
86
  store: number;
94
87
  }
@@ -392,83 +385,6 @@ export class StoreApi extends runtime.BaseAPI {
392
385
  return await response.value();
393
386
  }
394
387
 
395
- /**
396
- * Creates request options for optionsStoreStockMigration without sending the request
397
- */
398
- async optionsStoreStockMigrationRequestOpts(): Promise<runtime.RequestOpts> {
399
- const queryParameters: any = {};
400
-
401
- const headerParameters: runtime.HTTPHeaders = {};
402
-
403
-
404
- let urlPath = `/admin-api/store/stock-migration/options`;
405
-
406
- return {
407
- path: urlPath,
408
- method: 'GET',
409
- headers: headerParameters,
410
- query: queryParameters,
411
- };
412
- }
413
-
414
- /**
415
- * Auto-generated: optionsStoreStockMigration
416
- */
417
- async optionsStoreStockMigrationRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GenericResponse>> {
418
- const requestOptions = await this.optionsStoreStockMigrationRequestOpts();
419
- const response = await this.request(requestOptions, initOverrides);
420
-
421
- return new runtime.JSONApiResponse(response, (jsonValue) => GenericResponseFromJSON(jsonValue));
422
- }
423
-
424
- /**
425
- * Auto-generated: optionsStoreStockMigration
426
- */
427
- async optionsStoreStockMigration(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GenericResponse> {
428
- const response = await this.optionsStoreStockMigrationRaw(initOverrides);
429
- return await response.value();
430
- }
431
-
432
- /**
433
- * Creates request options for saveMapStoreStockMigration without sending the request
434
- */
435
- async saveMapStoreStockMigrationRequestOpts(requestParameters: SaveMapStoreStockMigrationOperationRequest): Promise<runtime.RequestOpts> {
436
- const queryParameters: any = {};
437
-
438
- const headerParameters: runtime.HTTPHeaders = {};
439
-
440
- headerParameters['Content-Type'] = 'application/json';
441
-
442
-
443
- let urlPath = `/admin-api/store/stock-migration/save-map`;
444
-
445
- return {
446
- path: urlPath,
447
- method: 'POST',
448
- headers: headerParameters,
449
- query: queryParameters,
450
- body: SaveMapStoreStockMigrationRequestToJSON(requestParameters['saveMapStoreStockMigrationRequest']),
451
- };
452
- }
453
-
454
- /**
455
- * Auto-generated: saveMapStoreStockMigration
456
- */
457
- async saveMapStoreStockMigrationRaw(requestParameters: SaveMapStoreStockMigrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GenericResponse>> {
458
- const requestOptions = await this.saveMapStoreStockMigrationRequestOpts(requestParameters);
459
- const response = await this.request(requestOptions, initOverrides);
460
-
461
- return new runtime.JSONApiResponse(response, (jsonValue) => GenericResponseFromJSON(jsonValue));
462
- }
463
-
464
- /**
465
- * Auto-generated: saveMapStoreStockMigration
466
- */
467
- async saveMapStoreStockMigration(requestParameters: SaveMapStoreStockMigrationOperationRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GenericResponse> {
468
- const response = await this.saveMapStoreStockMigrationRaw(requestParameters, initOverrides);
469
- return await response.value();
470
- }
471
-
472
388
  /**
473
389
  * Creates request options for showStore without sending the request
474
390
  */
@@ -42,7 +42,7 @@ export interface AddressResource {
42
42
  * @type {string}
43
43
  * @memberof AddressResource
44
44
  */
45
- line2: string;
45
+ line2?: string | null;
46
46
  /**
47
47
  *
48
48
  * @type {string}
@@ -81,7 +81,6 @@ export interface AddressResource {
81
81
  export function instanceOfAddressResource(value: object): value is AddressResource {
82
82
  if (!('company' in value) || value['company'] === undefined) return false;
83
83
  if (!('line1' in value) || value['line1'] === undefined) return false;
84
- if (!('line2' in value) || value['line2'] === undefined) return false;
85
84
  if (!('postcode' in value) || value['postcode'] === undefined) return false;
86
85
  if (!('suburb' in value) || value['suburb'] === undefined) return false;
87
86
  if (!('country' in value) || value['country'] === undefined) return false;
@@ -103,7 +102,7 @@ export function AddressResourceFromJSONTyped(json: any, ignoreDiscriminator: boo
103
102
  'id': json['id'] == null ? undefined : json['id'],
104
103
  'company': json['company'],
105
104
  'line1': json['line_1'],
106
- 'line2': json['line_2'],
105
+ 'line2': json['line_2'] == null ? undefined : json['line_2'],
107
106
  'postcode': json['postcode'],
108
107
  'suburb': json['suburb'],
109
108
  'country': json['country'],
@@ -74,7 +74,7 @@ export interface ExternalApiLogResource {
74
74
  * @type {string}
75
75
  * @memberof ExternalApiLogResource
76
76
  */
77
- requestPayload: string;
77
+ requestPayload?: string | null;
78
78
  /**
79
79
  *
80
80
  * @type {string}
@@ -106,7 +106,6 @@ export function instanceOfExternalApiLogResource(value: object): value is Extern
106
106
  if (!('exteranlApiLoggableId' in value) || value['exteranlApiLoggableId'] === undefined) return false;
107
107
  if (!('endpoint' in value) || value['endpoint'] === undefined) return false;
108
108
  if (!('responseCode' in value) || value['responseCode'] === undefined) return false;
109
- if (!('requestPayload' in value) || value['requestPayload'] === undefined) return false;
110
109
  if (!('responsePayload' in value) || value['responsePayload'] === undefined) return false;
111
110
  if (!('site' in value) || value['site'] === undefined) return false;
112
111
  return true;
@@ -129,7 +128,7 @@ export function ExternalApiLogResourceFromJSONTyped(json: any, ignoreDiscriminat
129
128
  'exteranlApiLoggableId': json['exteranlApiLoggableId'],
130
129
  'endpoint': json['endpoint'],
131
130
  'responseCode': json['responseCode'],
132
- 'requestPayload': json['requestPayload'],
131
+ 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
133
132
  'responsePayload': json['responsePayload'],
134
133
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
135
134
  'site': SiteLiteResourceFromJSON(json['site']),
@@ -81,18 +81,6 @@ export interface StoreListResource {
81
81
  * @memberof StoreListResource
82
82
  */
83
83
  website: string;
84
- /**
85
- *
86
- * @type {number}
87
- * @memberof StoreListResource
88
- */
89
- netsuiteId: number;
90
- /**
91
- *
92
- * @type {number}
93
- * @memberof StoreListResource
94
- */
95
- displayNetsuiteId: number;
96
84
  /**
97
85
  *
98
86
  * @type {string}
@@ -113,8 +101,6 @@ export function instanceOfStoreListResource(value: object): value is StoreListRe
113
101
  if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
114
102
  if (!('email' in value) || value['email'] === undefined) return false;
115
103
  if (!('website' in value) || value['website'] === undefined) return false;
116
- if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
117
- if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined) return false;
118
104
  return true;
119
105
  }
120
106
 
@@ -134,12 +120,10 @@ export function StoreListResourceFromJSONTyped(json: any, ignoreDiscriminator: b
134
120
  'phone': json['phone'],
135
121
  'longitude': json['longitude'],
136
122
  'latitude': json['latitude'],
137
- 'tagLine': json['tagLine'],
123
+ 'tagLine': json['tag_line'],
138
124
  'email': json['email'],
139
125
  'website': json['website'],
140
- 'netsuiteId': json['netsuiteId'],
141
- 'displayNetsuiteId': json['displayNetsuiteId'],
142
- 'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
126
+ 'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
143
127
  };
144
128
  }
145
129
 
@@ -160,12 +144,10 @@ export function StoreListResourceToJSONTyped(value?: StoreListResource | null, i
160
144
  'phone': value['phone'],
161
145
  'longitude': value['longitude'],
162
146
  'latitude': value['latitude'],
163
- 'tagLine': value['tagLine'],
147
+ 'tag_line': value['tagLine'],
164
148
  'email': value['email'],
165
149
  'website': value['website'],
166
- 'netsuiteId': value['netsuiteId'],
167
- 'displayNetsuiteId': value['displayNetsuiteId'],
168
- 'openingHours': value['openingHours'],
150
+ 'opening_hours': value['openingHours'],
169
151
  };
170
152
  }
171
153
 
@@ -102,18 +102,6 @@ export interface StoreResource {
102
102
  * @memberof StoreResource
103
103
  */
104
104
  website?: string | null;
105
- /**
106
- *
107
- * @type {number}
108
- * @memberof StoreResource
109
- */
110
- netsuiteId: number;
111
- /**
112
- *
113
- * @type {number}
114
- * @memberof StoreResource
115
- */
116
- displayNetsuiteId: number;
117
105
  /**
118
106
  *
119
107
  * @type {string}
@@ -151,8 +139,6 @@ export function instanceOfStoreResource(value: object): value is StoreResource {
151
139
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
152
140
  if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
153
141
  if (!('email' in value) || value['email'] === undefined) return false;
154
- if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
155
- if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined) return false;
156
142
  if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
157
143
  if (!('address' in value) || value['address'] === undefined) return false;
158
144
  if (!('specialDates' in value) || value['specialDates'] === undefined) return false;
@@ -175,15 +161,13 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
175
161
  'phone': json['phone'],
176
162
  'longitude': json['longitude'],
177
163
  'latitude': json['latitude'],
178
- 'tagLine': json['tagLine'],
164
+ 'tagLine': json['tag_line'],
179
165
  'email': json['email'],
180
166
  'website': json['website'] == null ? undefined : json['website'],
181
- 'netsuiteId': json['netsuiteId'],
182
- 'displayNetsuiteId': json['displayNetsuiteId'],
183
- 'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
167
+ 'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
184
168
  'suppliers': (json['suppliers'] == null ? null : (json['suppliers'] as Array<any>).map(SupplierLiteResourceFromJSON)),
185
169
  'address': AddressResourceFromJSON(json['address']),
186
- 'specialDates': (json['specialDates'] == null ? null : (json['specialDates'] as Array<any>).map(StoreSpecialDateResourceFromJSON)),
170
+ 'specialDates': (json['special_dates'] == null ? null : (json['special_dates'] as Array<any>).map(StoreSpecialDateResourceFromJSON)),
187
171
  };
188
172
  }
189
173
 
@@ -204,15 +188,13 @@ export function StoreResourceToJSONTyped(value?: StoreResource | null, ignoreDis
204
188
  'phone': value['phone'],
205
189
  'longitude': value['longitude'],
206
190
  'latitude': value['latitude'],
207
- 'tagLine': value['tagLine'],
191
+ 'tag_line': value['tagLine'],
208
192
  'email': value['email'],
209
193
  'website': value['website'],
210
- 'netsuiteId': value['netsuiteId'],
211
- 'displayNetsuiteId': value['displayNetsuiteId'],
212
- 'openingHours': value['openingHours'],
194
+ 'opening_hours': value['openingHours'],
213
195
  'suppliers': (value['suppliers'] == null ? null : (value['suppliers'] as Array<any>).map(SupplierLiteResourceToJSON)),
214
196
  'address': AddressResourceToJSON(value['address']),
215
- 'specialDates': (value['specialDates'] == null ? null : (value['specialDates'] as Array<any>).map(StoreSpecialDateResourceToJSON)),
197
+ 'special_dates': (value['specialDates'] == null ? null : (value['specialDates'] as Array<any>).map(StoreSpecialDateResourceToJSON)),
216
198
  };
217
199
  }
218
200
 
@@ -39,10 +39,10 @@ export interface StoreSpecialDateFrontendResource {
39
39
  hours: string;
40
40
  /**
41
41
  *
42
- * @type {object}
42
+ * @type {string}
43
43
  * @memberof StoreSpecialDateFrontendResource
44
44
  */
45
- date: object;
45
+ date?: string | null;
46
46
  /**
47
47
  *
48
48
  * @type {boolean}
@@ -69,7 +69,6 @@ export interface StoreSpecialDateFrontendResource {
69
69
  export function instanceOfStoreSpecialDateFrontendResource(value: object): value is StoreSpecialDateFrontendResource {
70
70
  if (!('name' in value) || value['name'] === undefined) return false;
71
71
  if (!('hours' in value) || value['hours'] === undefined) return false;
72
- if (!('date' in value) || value['date'] === undefined) return false;
73
72
  if (!('closed' in value) || value['closed'] === undefined) return false;
74
73
  if (!('displayStartDate' in value) || value['displayStartDate'] === undefined) return false;
75
74
  if (!('displayEndDate' in value) || value['displayEndDate'] === undefined) return false;
@@ -89,7 +88,7 @@ export function StoreSpecialDateFrontendResourceFromJSONTyped(json: any, ignoreD
89
88
  'id': json['id'] == null ? undefined : json['id'],
90
89
  'name': json['name'],
91
90
  'hours': json['hours'],
92
- 'date': json['date'],
91
+ 'date': json['date'] == null ? undefined : json['date'],
93
92
  'closed': json['closed'],
94
93
  'displayStartDate': json['displayStartDate'],
95
94
  'displayEndDate': json['displayEndDate'],
@@ -91,8 +91,8 @@ export function StoreSpecialDateResourceFromJSONTyped(json: any, ignoreDiscrimin
91
91
  'hours': json['hours'],
92
92
  'date': json['date'],
93
93
  'closed': json['closed'],
94
- 'displayStartDate': json['displayStartDate'],
95
- 'displayEndDate': json['displayEndDate'],
94
+ 'displayStartDate': json['display_start_date'],
95
+ 'displayEndDate': json['display_end_date'],
96
96
  };
97
97
  }
98
98
 
@@ -112,8 +112,8 @@ export function StoreSpecialDateResourceToJSONTyped(value?: StoreSpecialDateReso
112
112
  'hours': value['hours'],
113
113
  'date': value['date'],
114
114
  'closed': value['closed'],
115
- 'displayStartDate': value['displayStartDate'],
116
- 'displayEndDate': value['displayEndDate'],
115
+ 'display_start_date': value['displayStartDate'],
116
+ 'display_end_date': value['displayEndDate'],
117
117
  };
118
118
  }
119
119
 
@@ -88,18 +88,6 @@ export interface StoreStoreRequest {
88
88
  * @memberof StoreStoreRequest
89
89
  */
90
90
  openingHours?: Array<string | null>;
91
- /**
92
- *
93
- * @type {number}
94
- * @memberof StoreStoreRequest
95
- */
96
- netsuiteId?: number | null;
97
- /**
98
- *
99
- * @type {number}
100
- * @memberof StoreStoreRequest
101
- */
102
- displayNetsuiteId?: number | null;
103
91
  /**
104
92
  *
105
93
  * @type {Array<number>}
@@ -152,8 +140,6 @@ export function StoreStoreRequestFromJSONTyped(json: any, ignoreDiscriminator: b
152
140
  'email': json['email'] == null ? undefined : json['email'],
153
141
  'website': json['website'] == null ? undefined : json['website'],
154
142
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
155
- 'netsuiteId': json['netsuite_id'] == null ? undefined : json['netsuite_id'],
156
- 'displayNetsuiteId': json['display_netsuite_id'] == null ? undefined : json['display_netsuite_id'],
157
143
  'supplierIds': json['supplier_ids'] == null ? undefined : json['supplier_ids'],
158
144
  'specialDates': json['special_dates'] == null ? undefined : ((json['special_dates'] as Array<any>).map(StoreStoreRequestSpecialDatesInnerFromJSON)),
159
145
  'address': StoreStoreRequestAddressFromJSON(json['address']),
@@ -180,8 +166,6 @@ export function StoreStoreRequestToJSONTyped(value?: StoreStoreRequest | null, i
180
166
  'email': value['email'],
181
167
  'website': value['website'],
182
168
  'opening_hours': value['openingHours'],
183
- 'netsuite_id': value['netsuiteId'],
184
- 'display_netsuite_id': value['displayNetsuiteId'],
185
169
  'supplier_ids': value['supplierIds'],
186
170
  'special_dates': value['specialDates'] == null ? undefined : ((value['specialDates'] as Array<any>).map(StoreStoreRequestSpecialDatesInnerToJSON)),
187
171
  'address': StoreStoreRequestAddressToJSON(value['address']),
@@ -88,18 +88,6 @@ export interface UpdateStoreRequest {
88
88
  * @memberof UpdateStoreRequest
89
89
  */
90
90
  openingHours?: Array<string | null>;
91
- /**
92
- *
93
- * @type {number}
94
- * @memberof UpdateStoreRequest
95
- */
96
- netsuiteId?: number | null;
97
- /**
98
- *
99
- * @type {number}
100
- * @memberof UpdateStoreRequest
101
- */
102
- displayNetsuiteId?: number | null;
103
91
  /**
104
92
  *
105
93
  * @type {Array<number>}
@@ -152,8 +140,6 @@ export function UpdateStoreRequestFromJSONTyped(json: any, ignoreDiscriminator:
152
140
  'email': json['email'] == null ? undefined : json['email'],
153
141
  'website': json['website'] == null ? undefined : json['website'],
154
142
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
155
- 'netsuiteId': json['netsuite_id'] == null ? undefined : json['netsuite_id'],
156
- 'displayNetsuiteId': json['display_netsuite_id'] == null ? undefined : json['display_netsuite_id'],
157
143
  'supplierIds': json['supplier_ids'] == null ? undefined : json['supplier_ids'],
158
144
  'specialDates': json['special_dates'] == null ? undefined : ((json['special_dates'] as Array<any>).map(UpdateStoreRequestSpecialDatesInnerFromJSON)),
159
145
  'address': StoreStoreRequestAddressFromJSON(json['address']),
@@ -180,8 +166,6 @@ export function UpdateStoreRequestToJSONTyped(value?: UpdateStoreRequest | null,
180
166
  'email': value['email'],
181
167
  'website': value['website'],
182
168
  'opening_hours': value['openingHours'],
183
- 'netsuite_id': value['netsuiteId'],
184
- 'display_netsuite_id': value['displayNetsuiteId'],
185
169
  'supplier_ids': value['supplierIds'],
186
170
  'special_dates': value['specialDates'] == null ? undefined : ((value['specialDates'] as Array<any>).map(UpdateStoreRequestSpecialDatesInnerToJSON)),
187
171
  'address': StoreStoreRequestAddressToJSON(value['address']),
@@ -325,8 +325,6 @@ export * from './RedirectListResource';
325
325
  export * from './RedirectListResourceArrayResponse';
326
326
  export * from './SEOResource';
327
327
  export * from './SEOResourceArrayResponse';
328
- export * from './SaveMapStoreStockMigrationRequest';
329
- export * from './SaveMapStoreStockMigrationRequestAssociationsInner';
330
328
  export * from './SearchLinkablesMenuItemRequest';
331
329
  export * from './ShowAssetsProductChildRequest';
332
330
  export * from './ShowAttributesProductChildRequest';
@@ -383,7 +381,6 @@ export * from './StoreSpecialDateFrontendResource';
383
381
  export * from './StoreSpecialDateFrontendResourceArrayResponse';
384
382
  export * from './StoreSpecialDateResource';
385
383
  export * from './StoreSpecialDateResourceArrayResponse';
386
- export * from './StoreStockType';
387
384
  export * from './StoreStoreRequest';
388
385
  export * from './StoreStoreRequestAddress';
389
386
  export * from './StoreStoreRequestSpecialDatesInner';