@digital8/lighting-illusions-ts-sdk 0.0.1622 → 0.0.1623

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 (38) hide show
  1. package/.openapi-generator/FILES +2 -0
  2. package/README.md +3 -2
  3. package/dist/models/AddressFrontendResource.d.ts +1 -1
  4. package/dist/models/AddressFrontendResource.js +3 -1
  5. package/dist/models/AddressResource.d.ts +2 -2
  6. package/dist/models/AddressResource.js +2 -6
  7. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  8. package/dist/models/ExternalApiLogResource.js +1 -3
  9. package/dist/models/ProductChildStoreStockType.d.ts +25 -0
  10. package/dist/models/ProductChildStoreStockType.js +51 -0
  11. package/dist/models/StoreFrontendResource.d.ts +1 -1
  12. package/dist/models/StoreFrontendResource.js +3 -1
  13. package/dist/models/StoreListResource.d.ts +13 -1
  14. package/dist/models/StoreListResource.js +5 -3
  15. package/dist/models/StoreResource.d.ts +13 -1
  16. package/dist/models/StoreResource.js +7 -1
  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 +1 -0
  22. package/dist/models/index.js +1 -0
  23. package/docs/ProductChildStoreStockType.md +32 -0
  24. package/docs/StoreListResource.md +4 -0
  25. package/docs/StoreResource.md +4 -0
  26. package/docs/StoreStoreRequest.md +4 -0
  27. package/docs/UpdateStoreRequest.md +4 -0
  28. package/package.json +1 -1
  29. package/src/models/AddressFrontendResource.ts +3 -2
  30. package/src/models/AddressResource.ts +4 -6
  31. package/src/models/ExternalApiLogResource.ts +2 -3
  32. package/src/models/ProductChildStoreStockType.ts +53 -0
  33. package/src/models/StoreFrontendResource.ts +3 -2
  34. package/src/models/StoreListResource.ts +18 -3
  35. package/src/models/StoreResource.ts +19 -2
  36. package/src/models/StoreStoreRequest.ts +16 -0
  37. package/src/models/UpdateStoreRequest.ts +16 -0
  38. package/src/models/index.ts +1 -0
@@ -246,6 +246,7 @@ docs/ProductChildSiteDetailLiteResource.md
246
246
  docs/ProductChildSiteDetailLiteResourceArrayResponse.md
247
247
  docs/ProductChildSiteDetailResource.md
248
248
  docs/ProductChildSiteDetailResourceArrayResponse.md
249
+ docs/ProductChildStoreStockType.md
249
250
  docs/ProductClassResource.md
250
251
  docs/ProductClassResourceArrayResponse.md
251
252
  docs/ProductCompareResource.md
@@ -662,6 +663,7 @@ src/models/ProductChildSiteDetailLiteResource.ts
662
663
  src/models/ProductChildSiteDetailLiteResourceArrayResponse.ts
663
664
  src/models/ProductChildSiteDetailResource.ts
664
665
  src/models/ProductChildSiteDetailResourceArrayResponse.ts
666
+ src/models/ProductChildStoreStockType.ts
665
667
  src/models/ProductClassResource.ts
666
668
  src/models/ProductClassResourceArrayResponse.ts
667
669
  src/models/ProductCompareResource.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @digital8/lighting-illusions-ts-sdk@0.0.1622
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.1623
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -446,6 +446,7 @@ All URIs are relative to *http://localhost/api*
446
446
  - [ProductChildSiteDetailLiteResourceArrayResponse](docs/ProductChildSiteDetailLiteResourceArrayResponse.md)
447
447
  - [ProductChildSiteDetailResource](docs/ProductChildSiteDetailResource.md)
448
448
  - [ProductChildSiteDetailResourceArrayResponse](docs/ProductChildSiteDetailResourceArrayResponse.md)
449
+ - [ProductChildStoreStockType](docs/ProductChildStoreStockType.md)
449
450
  - [ProductClassResource](docs/ProductClassResource.md)
450
451
  - [ProductClassResourceArrayResponse](docs/ProductClassResourceArrayResponse.md)
451
452
  - [ProductCompareResource](docs/ProductCompareResource.md)
@@ -614,7 +615,7 @@ and is automatically generated by the
614
615
  [OpenAPI Generator](https://openapi-generator.tech) project:
615
616
 
616
617
  - API version: `1.0.0`
617
- - Package version: `0.0.1622`
618
+ - Package version: `0.0.1623`
618
619
  - Generator version: `7.21.0`
619
620
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
620
621
 
@@ -32,7 +32,7 @@ export interface AddressFrontendResource {
32
32
  * @type {string}
33
33
  * @memberof AddressFrontendResource
34
34
  */
35
- line2?: string | null;
35
+ line2: string;
36
36
  /**
37
37
  *
38
38
  * @type {string}
@@ -24,6 +24,8 @@ exports.AddressFrontendResourceToJSONTyped = AddressFrontendResourceToJSONTyped;
24
24
  function instanceOfAddressFrontendResource(value) {
25
25
  if (!('line1' in value) || value['line1'] === undefined)
26
26
  return false;
27
+ if (!('line2' in value) || value['line2'] === undefined)
28
+ return false;
27
29
  if (!('postcode' in value) || value['postcode'] === undefined)
28
30
  return false;
29
31
  if (!('suburb' in value) || value['suburb'] === undefined)
@@ -46,7 +48,7 @@ function AddressFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
46
48
  return {
47
49
  'company': json['company'] == null ? undefined : json['company'],
48
50
  'line1': json['line1'],
49
- 'line2': json['line2'] == null ? undefined : json['line2'],
51
+ 'line2': json['line2'],
50
52
  'postcode': json['postcode'],
51
53
  'suburb': json['suburb'],
52
54
  'country': json['country'],
@@ -26,7 +26,7 @@ export interface AddressResource {
26
26
  * @type {string}
27
27
  * @memberof AddressResource
28
28
  */
29
- company: string;
29
+ company?: string | null;
30
30
  /**
31
31
  *
32
32
  * @type {string}
@@ -38,7 +38,7 @@ export interface AddressResource {
38
38
  * @type {string}
39
39
  * @memberof AddressResource
40
40
  */
41
- line2: string;
41
+ line2?: string | null;
42
42
  /**
43
43
  *
44
44
  * @type {string}
@@ -22,12 +22,8 @@ exports.AddressResourceToJSONTyped = AddressResourceToJSONTyped;
22
22
  * Check if a given object implements the AddressResource interface.
23
23
  */
24
24
  function instanceOfAddressResource(value) {
25
- if (!('company' in value) || value['company'] === undefined)
26
- return false;
27
25
  if (!('line1' in value) || value['line1'] === undefined)
28
26
  return false;
29
- if (!('line2' in value) || value['line2'] === undefined)
30
- return false;
31
27
  if (!('postcode' in value) || value['postcode'] === undefined)
32
28
  return false;
33
29
  if (!('suburb' in value) || value['suburb'] === undefined)
@@ -49,9 +45,9 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
49
45
  }
50
46
  return {
51
47
  'id': json['id'] == null ? undefined : json['id'],
52
- 'company': json['company'],
48
+ 'company': json['company'] == null ? undefined : json['company'],
53
49
  'line1': json['line_1'],
54
- 'line2': json['line_2'],
50
+ 'line2': json['line_2'] == null ? undefined : json['line_2'],
55
51
  'postcode': json['postcode'],
56
52
  'suburb': json['suburb'],
57
53
  'country': json['country'],
@@ -63,7 +63,7 @@ export interface ExternalApiLogResource {
63
63
  * @type {string}
64
64
  * @memberof ExternalApiLogResource
65
65
  */
66
- requestPayload: string;
66
+ requestPayload?: string | null;
67
67
  /**
68
68
  *
69
69
  * @type {string}
@@ -37,8 +37,6 @@ function instanceOfExternalApiLogResource(value) {
37
37
  return false;
38
38
  if (!('responseCode' in value) || value['responseCode'] === undefined)
39
39
  return false;
40
- if (!('requestPayload' in value) || value['requestPayload'] === undefined)
41
- return false;
42
40
  if (!('responsePayload' in value) || value['responsePayload'] === undefined)
43
41
  return false;
44
42
  if (!('site' in value) || value['site'] === undefined)
@@ -60,7 +58,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
60
58
  'exteranlApiLoggableId': json['exteranlApiLoggableId'],
61
59
  'endpoint': json['endpoint'],
62
60
  'responseCode': json['responseCode'],
63
- 'requestPayload': json['requestPayload'],
61
+ 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
64
62
  'responsePayload': json['responsePayload'],
65
63
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
66
64
  'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
@@ -0,0 +1,25 @@
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
+ */
16
+ export declare const ProductChildStoreStockType: {
17
+ readonly Display: "display";
18
+ readonly Available: "available";
19
+ };
20
+ export type ProductChildStoreStockType = typeof ProductChildStoreStockType[keyof typeof ProductChildStoreStockType];
21
+ export declare function instanceOfProductChildStoreStockType(value: any): boolean;
22
+ export declare function ProductChildStoreStockTypeFromJSON(json: any): ProductChildStoreStockType;
23
+ export declare function ProductChildStoreStockTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductChildStoreStockType;
24
+ export declare function ProductChildStoreStockTypeToJSON(value?: ProductChildStoreStockType | null): any;
25
+ export declare function ProductChildStoreStockTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductChildStoreStockType;
@@ -0,0 +1,51 @@
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.ProductChildStoreStockType = void 0;
17
+ exports.instanceOfProductChildStoreStockType = instanceOfProductChildStoreStockType;
18
+ exports.ProductChildStoreStockTypeFromJSON = ProductChildStoreStockTypeFromJSON;
19
+ exports.ProductChildStoreStockTypeFromJSONTyped = ProductChildStoreStockTypeFromJSONTyped;
20
+ exports.ProductChildStoreStockTypeToJSON = ProductChildStoreStockTypeToJSON;
21
+ exports.ProductChildStoreStockTypeToJSONTyped = ProductChildStoreStockTypeToJSONTyped;
22
+ /**
23
+ *
24
+ * @export
25
+ */
26
+ exports.ProductChildStoreStockType = {
27
+ Display: 'display',
28
+ Available: 'available'
29
+ };
30
+ function instanceOfProductChildStoreStockType(value) {
31
+ for (var key in exports.ProductChildStoreStockType) {
32
+ if (Object.prototype.hasOwnProperty.call(exports.ProductChildStoreStockType, key)) {
33
+ if (exports.ProductChildStoreStockType[key] === value) {
34
+ return true;
35
+ }
36
+ }
37
+ }
38
+ return false;
39
+ }
40
+ function ProductChildStoreStockTypeFromJSON(json) {
41
+ return ProductChildStoreStockTypeFromJSONTyped(json, false);
42
+ }
43
+ function ProductChildStoreStockTypeFromJSONTyped(json, ignoreDiscriminator) {
44
+ return json;
45
+ }
46
+ function ProductChildStoreStockTypeToJSON(value) {
47
+ return value;
48
+ }
49
+ function ProductChildStoreStockTypeToJSONTyped(value, ignoreDiscriminator) {
50
+ return value;
51
+ }
@@ -44,7 +44,7 @@ export interface StoreFrontendResource {
44
44
  * @type {string}
45
45
  * @memberof StoreFrontendResource
46
46
  */
47
- website?: string | null;
47
+ website: string;
48
48
  /**
49
49
  *
50
50
  * @type {string}
@@ -28,6 +28,8 @@ 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;
31
33
  if (!('phone' in value) || value['phone'] === undefined)
32
34
  return false;
33
35
  if (!('latitude' in value) || value['latitude'] === undefined)
@@ -54,7 +56,7 @@ function StoreFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
54
56
  'siteId': json['siteId'],
55
57
  'name': json['name'],
56
58
  'email': json['email'],
57
- 'website': json['website'] == null ? undefined : json['website'],
59
+ 'website': json['website'],
58
60
  'phone': json['phone'],
59
61
  'address': json['address'] == null ? undefined : json['address'],
60
62
  'latitude': json['latitude'],
@@ -57,7 +57,7 @@ export interface StoreListResource {
57
57
  * @type {string}
58
58
  * @memberof StoreListResource
59
59
  */
60
- tagLine: string;
60
+ tagLine?: string | null;
61
61
  /**
62
62
  *
63
63
  * @type {string}
@@ -70,6 +70,18 @@ export interface StoreListResource {
70
70
  * @memberof StoreListResource
71
71
  */
72
72
  website: string;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof StoreListResource
77
+ */
78
+ netsuiteLocationId?: string | null;
79
+ /**
80
+ *
81
+ * @type {string}
82
+ * @memberof StoreListResource
83
+ */
84
+ displayNetsuiteLocationId?: string | null;
73
85
  /**
74
86
  *
75
87
  * @type {string}
@@ -33,8 +33,6 @@ function instanceOfStoreListResource(value) {
33
33
  return false;
34
34
  if (!('latitude' in value) || value['latitude'] === undefined)
35
35
  return false;
36
- if (!('tagLine' in value) || value['tagLine'] === undefined)
37
- return false;
38
36
  if (!('email' in value) || value['email'] === undefined)
39
37
  return false;
40
38
  if (!('website' in value) || value['website'] === undefined)
@@ -55,9 +53,11 @@ function StoreListResourceFromJSONTyped(json, ignoreDiscriminator) {
55
53
  'phone': json['phone'],
56
54
  'longitude': json['longitude'],
57
55
  'latitude': json['latitude'],
58
- 'tagLine': json['tag_line'],
56
+ 'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
59
57
  'email': json['email'],
60
58
  'website': json['website'],
59
+ 'netsuiteLocationId': json['netsuiteLocationId'] == null ? undefined : json['netsuiteLocationId'],
60
+ 'displayNetsuiteLocationId': json['displayNetsuiteLocationId'] == null ? undefined : json['displayNetsuiteLocationId'],
61
61
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
62
62
  };
63
63
  }
@@ -79,6 +79,8 @@ function StoreListResourceToJSONTyped(value, ignoreDiscriminator) {
79
79
  'tag_line': value['tagLine'],
80
80
  'email': value['email'],
81
81
  'website': value['website'],
82
+ 'netsuiteLocationId': value['netsuiteLocationId'],
83
+ 'displayNetsuiteLocationId': value['displayNetsuiteLocationId'],
82
84
  'opening_hours': value['openingHours'],
83
85
  };
84
86
  }
@@ -60,7 +60,7 @@ export interface StoreResource {
60
60
  * @type {string}
61
61
  * @memberof StoreResource
62
62
  */
63
- tagLine?: string | null;
63
+ tagLine: string;
64
64
  /**
65
65
  *
66
66
  * @type {string}
@@ -73,6 +73,18 @@ export interface StoreResource {
73
73
  * @memberof StoreResource
74
74
  */
75
75
  website: string;
76
+ /**
77
+ *
78
+ * @type {string}
79
+ * @memberof StoreResource
80
+ */
81
+ netsuiteLocationId?: string | null;
82
+ /**
83
+ *
84
+ * @type {string}
85
+ * @memberof StoreResource
86
+ */
87
+ displayNetsuiteLocationId?: string | null;
76
88
  /**
77
89
  *
78
90
  * @type {string}
@@ -36,6 +36,8 @@ function instanceOfStoreResource(value) {
36
36
  return false;
37
37
  if (!('latitude' in value) || value['latitude'] === undefined)
38
38
  return false;
39
+ if (!('tagLine' in value) || value['tagLine'] === undefined)
40
+ return false;
39
41
  if (!('email' in value) || value['email'] === undefined)
40
42
  return false;
41
43
  if (!('website' in value) || value['website'] === undefined)
@@ -62,9 +64,11 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
62
64
  'phone': json['phone'],
63
65
  'longitude': json['longitude'],
64
66
  'latitude': json['latitude'],
65
- 'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
67
+ 'tagLine': json['tag_line'],
66
68
  'email': json['email'],
67
69
  'website': json['website'],
70
+ 'netsuiteLocationId': json['netsuiteLocationId'] == null ? undefined : json['netsuiteLocationId'],
71
+ 'displayNetsuiteLocationId': json['displayNetsuiteLocationId'] == null ? undefined : json['displayNetsuiteLocationId'],
68
72
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
69
73
  'suppliers': (json['suppliers'] == null ? null : json['suppliers'].map(SupplierLiteResource_1.SupplierLiteResourceFromJSON)),
70
74
  'address': (0, AddressResource_1.AddressResourceFromJSON)(json['address']),
@@ -89,6 +93,8 @@ function StoreResourceToJSONTyped(value, ignoreDiscriminator) {
89
93
  'tag_line': value['tagLine'],
90
94
  'email': value['email'],
91
95
  'website': value['website'],
96
+ 'netsuiteLocationId': value['netsuiteLocationId'],
97
+ 'displayNetsuiteLocationId': value['displayNetsuiteLocationId'],
92
98
  'opening_hours': value['openingHours'],
93
99
  'suppliers': (value['suppliers'] == null ? null : value['suppliers'].map(SupplierLiteResource_1.SupplierLiteResourceToJSON)),
94
100
  '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 {string}
77
+ * @memberof StoreStoreRequest
78
+ */
79
+ netsuiteId?: string | null;
80
+ /**
81
+ *
82
+ * @type {string}
83
+ * @memberof StoreStoreRequest
84
+ */
85
+ displayNetsuiteId?: string | 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 {string}
77
+ * @memberof UpdateStoreRequest
78
+ */
79
+ netsuiteId?: string | null;
80
+ /**
81
+ *
82
+ * @type {string}
83
+ * @memberof UpdateStoreRequest
84
+ */
85
+ displayNetsuiteId?: string | 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']),
@@ -231,6 +231,7 @@ export * from './ProductChildSiteDetailLiteResource';
231
231
  export * from './ProductChildSiteDetailLiteResourceArrayResponse';
232
232
  export * from './ProductChildSiteDetailResource';
233
233
  export * from './ProductChildSiteDetailResourceArrayResponse';
234
+ export * from './ProductChildStoreStockType';
234
235
  export * from './ProductClassResource';
235
236
  export * from './ProductClassResourceArrayResponse';
236
237
  export * from './ProductCompareResource';
@@ -249,6 +249,7 @@ __exportStar(require("./ProductChildSiteDetailLiteResource"), exports);
249
249
  __exportStar(require("./ProductChildSiteDetailLiteResourceArrayResponse"), exports);
250
250
  __exportStar(require("./ProductChildSiteDetailResource"), exports);
251
251
  __exportStar(require("./ProductChildSiteDetailResourceArrayResponse"), exports);
252
+ __exportStar(require("./ProductChildStoreStockType"), exports);
252
253
  __exportStar(require("./ProductClassResource"), exports);
253
254
  __exportStar(require("./ProductClassResourceArrayResponse"), exports);
254
255
  __exportStar(require("./ProductCompareResource"), exports);
@@ -0,0 +1,32 @@
1
+
2
+ # ProductChildStoreStockType
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import type { ProductChildStoreStockType } from '@digital8/lighting-illusions-ts-sdk'
14
+
15
+ // TODO: Update the object below with actual values
16
+ const example = {
17
+ } satisfies ProductChildStoreStockType
18
+
19
+ console.log(example)
20
+
21
+ // Convert the instance to a JSON string
22
+ const exampleJSON: string = JSON.stringify(example)
23
+ console.log(exampleJSON)
24
+
25
+ // Parse the JSON string back to an object
26
+ const exampleParsed = JSON.parse(exampleJSON) as ProductChildStoreStockType
27
+ console.log(exampleParsed)
28
+ ```
29
+
30
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
31
+
32
+
@@ -15,6 +15,8 @@ Name | Type
15
15
  `tagLine` | string
16
16
  `email` | string
17
17
  `website` | string
18
+ `netsuiteLocationId` | string
19
+ `displayNetsuiteLocationId` | string
18
20
  `openingHours` | string
19
21
 
20
22
  ## Example
@@ -33,6 +35,8 @@ const example = {
33
35
  "tagLine": null,
34
36
  "email": null,
35
37
  "website": null,
38
+ "netsuiteLocationId": null,
39
+ "displayNetsuiteLocationId": null,
36
40
  "openingHours": null,
37
41
  } satisfies StoreListResource
38
42
 
@@ -15,6 +15,8 @@ Name | Type
15
15
  `tagLine` | string
16
16
  `email` | string
17
17
  `website` | string
18
+ `netsuiteLocationId` | string
19
+ `displayNetsuiteLocationId` | string
18
20
  `openingHours` | string
19
21
  `suppliers` | [Array&lt;SupplierLiteResource&gt;](SupplierLiteResource.md)
20
22
  `address` | [AddressResource](AddressResource.md)
@@ -36,6 +38,8 @@ const example = {
36
38
  "tagLine": null,
37
39
  "email": null,
38
40
  "website": null,
41
+ "netsuiteLocationId": null,
42
+ "displayNetsuiteLocationId": null,
39
43
  "openingHours": null,
40
44
  "suppliers": null,
41
45
  "address": null,
@@ -15,6 +15,8 @@ Name | Type
15
15
  `email` | string
16
16
  `website` | string
17
17
  `openingHours` | Array&lt;string | null&gt;
18
+ `netsuiteId` | string
19
+ `displayNetsuiteId` | string
18
20
  `supplierIds` | Array&lt;number&gt;
19
21
  `specialDates` | [Array&lt;StoreStoreRequestSpecialDatesInner&gt;](StoreStoreRequestSpecialDatesInner.md)
20
22
  `address` | [StoreStoreRequestAddress](StoreStoreRequestAddress.md)
@@ -35,6 +37,8 @@ const example = {
35
37
  "email": null,
36
38
  "website": null,
37
39
  "openingHours": null,
40
+ "netsuiteId": null,
41
+ "displayNetsuiteId": null,
38
42
  "supplierIds": null,
39
43
  "specialDates": null,
40
44
  "address": null,
@@ -15,6 +15,8 @@ Name | Type
15
15
  `email` | string
16
16
  `website` | string
17
17
  `openingHours` | Array&lt;string | null&gt;
18
+ `netsuiteId` | string
19
+ `displayNetsuiteId` | string
18
20
  `supplierIds` | Array&lt;number&gt;
19
21
  `specialDates` | [Array&lt;UpdateStoreRequestSpecialDatesInner&gt;](UpdateStoreRequestSpecialDatesInner.md)
20
22
  `address` | [StoreStoreRequestAddress](StoreStoreRequestAddress.md)
@@ -35,6 +37,8 @@ const example = {
35
37
  "email": null,
36
38
  "website": null,
37
39
  "openingHours": null,
40
+ "netsuiteId": null,
41
+ "displayNetsuiteId": null,
38
42
  "supplierIds": null,
39
43
  "specialDates": null,
40
44
  "address": null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.1622",
3
+ "version": "0.0.1623",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -36,7 +36,7 @@ export interface AddressFrontendResource {
36
36
  * @type {string}
37
37
  * @memberof AddressFrontendResource
38
38
  */
39
- line2?: string | null;
39
+ line2: string;
40
40
  /**
41
41
  *
42
42
  * @type {string}
@@ -74,6 +74,7 @@ export interface AddressFrontendResource {
74
74
  */
75
75
  export function instanceOfAddressFrontendResource(value: object): value is AddressFrontendResource {
76
76
  if (!('line1' in value) || value['line1'] === undefined) return false;
77
+ if (!('line2' in value) || value['line2'] === undefined) return false;
77
78
  if (!('postcode' in value) || value['postcode'] === undefined) return false;
78
79
  if (!('suburb' in value) || value['suburb'] === undefined) return false;
79
80
  if (!('country' in value) || value['country'] === undefined) return false;
@@ -94,7 +95,7 @@ export function AddressFrontendResourceFromJSONTyped(json: any, ignoreDiscrimina
94
95
 
95
96
  'company': json['company'] == null ? undefined : json['company'],
96
97
  'line1': json['line1'],
97
- 'line2': json['line2'] == null ? undefined : json['line2'],
98
+ 'line2': json['line2'],
98
99
  'postcode': json['postcode'],
99
100
  'suburb': json['suburb'],
100
101
  'country': json['country'],
@@ -30,7 +30,7 @@ export interface AddressResource {
30
30
  * @type {string}
31
31
  * @memberof AddressResource
32
32
  */
33
- company: string;
33
+ company?: string | null;
34
34
  /**
35
35
  *
36
36
  * @type {string}
@@ -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}
@@ -79,9 +79,7 @@ export interface AddressResource {
79
79
  * Check if a given object implements the AddressResource interface.
80
80
  */
81
81
  export function instanceOfAddressResource(value: object): value is AddressResource {
82
- if (!('company' in value) || value['company'] === undefined) return false;
83
82
  if (!('line1' in value) || value['line1'] === undefined) return false;
84
- if (!('line2' in value) || value['line2'] === undefined) return false;
85
83
  if (!('postcode' in value) || value['postcode'] === undefined) return false;
86
84
  if (!('suburb' in value) || value['suburb'] === undefined) return false;
87
85
  if (!('country' in value) || value['country'] === undefined) return false;
@@ -101,9 +99,9 @@ export function AddressResourceFromJSONTyped(json: any, ignoreDiscriminator: boo
101
99
  return {
102
100
 
103
101
  'id': json['id'] == null ? undefined : json['id'],
104
- 'company': json['company'],
102
+ 'company': json['company'] == null ? undefined : json['company'],
105
103
  'line1': json['line_1'],
106
- 'line2': json['line_2'],
104
+ 'line2': json['line_2'] == null ? undefined : json['line_2'],
107
105
  'postcode': json['postcode'],
108
106
  'suburb': json['suburb'],
109
107
  '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']),
@@ -0,0 +1,53 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * My API
5
+ * API documentation for my Laravel app
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ /**
17
+ *
18
+ * @export
19
+ */
20
+ export const ProductChildStoreStockType = {
21
+ Display: 'display',
22
+ Available: 'available'
23
+ } as const;
24
+ export type ProductChildStoreStockType = typeof ProductChildStoreStockType[keyof typeof ProductChildStoreStockType];
25
+
26
+
27
+ export function instanceOfProductChildStoreStockType(value: any): boolean {
28
+ for (const key in ProductChildStoreStockType) {
29
+ if (Object.prototype.hasOwnProperty.call(ProductChildStoreStockType, key)) {
30
+ if (ProductChildStoreStockType[key as keyof typeof ProductChildStoreStockType] === value) {
31
+ return true;
32
+ }
33
+ }
34
+ }
35
+ return false;
36
+ }
37
+
38
+ export function ProductChildStoreStockTypeFromJSON(json: any): ProductChildStoreStockType {
39
+ return ProductChildStoreStockTypeFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function ProductChildStoreStockTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductChildStoreStockType {
43
+ return json as ProductChildStoreStockType;
44
+ }
45
+
46
+ export function ProductChildStoreStockTypeToJSON(value?: ProductChildStoreStockType | null): any {
47
+ return value as any;
48
+ }
49
+
50
+ export function ProductChildStoreStockTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): ProductChildStoreStockType {
51
+ return value as ProductChildStoreStockType;
52
+ }
53
+
@@ -48,7 +48,7 @@ export interface StoreFrontendResource {
48
48
  * @type {string}
49
49
  * @memberof StoreFrontendResource
50
50
  */
51
- website?: string | null;
51
+ website: string;
52
52
  /**
53
53
  *
54
54
  * @type {string}
@@ -106,6 +106,7 @@ export function instanceOfStoreFrontendResource(value: object): value is StoreFr
106
106
  if (!('siteId' in value) || value['siteId'] === undefined) return false;
107
107
  if (!('name' in value) || value['name'] === undefined) return false;
108
108
  if (!('email' in value) || value['email'] === undefined) return false;
109
+ if (!('website' in value) || value['website'] === undefined) return false;
109
110
  if (!('phone' in value) || value['phone'] === undefined) return false;
110
111
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
111
112
  if (!('longitude' in value) || value['longitude'] === undefined) return false;
@@ -129,7 +130,7 @@ export function StoreFrontendResourceFromJSONTyped(json: any, ignoreDiscriminato
129
130
  'siteId': json['siteId'],
130
131
  'name': json['name'],
131
132
  'email': json['email'],
132
- 'website': json['website'] == null ? undefined : json['website'],
133
+ 'website': json['website'],
133
134
  'phone': json['phone'],
134
135
  'address': json['address'] == null ? undefined : json['address'],
135
136
  'latitude': json['latitude'],
@@ -68,7 +68,7 @@ export interface StoreListResource {
68
68
  * @type {string}
69
69
  * @memberof StoreListResource
70
70
  */
71
- tagLine: string;
71
+ tagLine?: string | null;
72
72
  /**
73
73
  *
74
74
  * @type {string}
@@ -81,6 +81,18 @@ export interface StoreListResource {
81
81
  * @memberof StoreListResource
82
82
  */
83
83
  website: string;
84
+ /**
85
+ *
86
+ * @type {string}
87
+ * @memberof StoreListResource
88
+ */
89
+ netsuiteLocationId?: string | null;
90
+ /**
91
+ *
92
+ * @type {string}
93
+ * @memberof StoreListResource
94
+ */
95
+ displayNetsuiteLocationId?: string | null;
84
96
  /**
85
97
  *
86
98
  * @type {string}
@@ -98,7 +110,6 @@ export function instanceOfStoreListResource(value: object): value is StoreListRe
98
110
  if (!('phone' in value) || value['phone'] === undefined) return false;
99
111
  if (!('longitude' in value) || value['longitude'] === undefined) return false;
100
112
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
101
- if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
102
113
  if (!('email' in value) || value['email'] === undefined) return false;
103
114
  if (!('website' in value) || value['website'] === undefined) return false;
104
115
  return true;
@@ -120,9 +131,11 @@ export function StoreListResourceFromJSONTyped(json: any, ignoreDiscriminator: b
120
131
  'phone': json['phone'],
121
132
  'longitude': json['longitude'],
122
133
  'latitude': json['latitude'],
123
- 'tagLine': json['tag_line'],
134
+ 'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
124
135
  'email': json['email'],
125
136
  'website': json['website'],
137
+ 'netsuiteLocationId': json['netsuiteLocationId'] == null ? undefined : json['netsuiteLocationId'],
138
+ 'displayNetsuiteLocationId': json['displayNetsuiteLocationId'] == null ? undefined : json['displayNetsuiteLocationId'],
126
139
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
127
140
  };
128
141
  }
@@ -147,6 +160,8 @@ export function StoreListResourceToJSONTyped(value?: StoreListResource | null, i
147
160
  'tag_line': value['tagLine'],
148
161
  'email': value['email'],
149
162
  'website': value['website'],
163
+ 'netsuiteLocationId': value['netsuiteLocationId'],
164
+ 'displayNetsuiteLocationId': value['displayNetsuiteLocationId'],
150
165
  'opening_hours': value['openingHours'],
151
166
  };
152
167
  }
@@ -89,7 +89,7 @@ export interface StoreResource {
89
89
  * @type {string}
90
90
  * @memberof StoreResource
91
91
  */
92
- tagLine?: string | null;
92
+ tagLine: string;
93
93
  /**
94
94
  *
95
95
  * @type {string}
@@ -102,6 +102,18 @@ export interface StoreResource {
102
102
  * @memberof StoreResource
103
103
  */
104
104
  website: string;
105
+ /**
106
+ *
107
+ * @type {string}
108
+ * @memberof StoreResource
109
+ */
110
+ netsuiteLocationId?: string | null;
111
+ /**
112
+ *
113
+ * @type {string}
114
+ * @memberof StoreResource
115
+ */
116
+ displayNetsuiteLocationId?: string | null;
105
117
  /**
106
118
  *
107
119
  * @type {string}
@@ -137,6 +149,7 @@ export function instanceOfStoreResource(value: object): value is StoreResource {
137
149
  if (!('phone' in value) || value['phone'] === undefined) return false;
138
150
  if (!('longitude' in value) || value['longitude'] === undefined) return false;
139
151
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
152
+ if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
140
153
  if (!('email' in value) || value['email'] === undefined) return false;
141
154
  if (!('website' in value) || value['website'] === undefined) return false;
142
155
  if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
@@ -161,9 +174,11 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
161
174
  'phone': json['phone'],
162
175
  'longitude': json['longitude'],
163
176
  'latitude': json['latitude'],
164
- 'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
177
+ 'tagLine': json['tag_line'],
165
178
  'email': json['email'],
166
179
  'website': json['website'],
180
+ 'netsuiteLocationId': json['netsuiteLocationId'] == null ? undefined : json['netsuiteLocationId'],
181
+ 'displayNetsuiteLocationId': json['displayNetsuiteLocationId'] == null ? undefined : json['displayNetsuiteLocationId'],
167
182
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
168
183
  'suppliers': (json['suppliers'] == null ? null : (json['suppliers'] as Array<any>).map(SupplierLiteResourceFromJSON)),
169
184
  'address': AddressResourceFromJSON(json['address']),
@@ -191,6 +206,8 @@ export function StoreResourceToJSONTyped(value?: StoreResource | null, ignoreDis
191
206
  'tag_line': value['tagLine'],
192
207
  'email': value['email'],
193
208
  'website': value['website'],
209
+ 'netsuiteLocationId': value['netsuiteLocationId'],
210
+ 'displayNetsuiteLocationId': value['displayNetsuiteLocationId'],
194
211
  'opening_hours': value['openingHours'],
195
212
  'suppliers': (value['suppliers'] == null ? null : (value['suppliers'] as Array<any>).map(SupplierLiteResourceToJSON)),
196
213
  'address': AddressResourceToJSON(value['address']),
@@ -88,6 +88,18 @@ export interface StoreStoreRequest {
88
88
  * @memberof StoreStoreRequest
89
89
  */
90
90
  openingHours?: Array<string | null>;
91
+ /**
92
+ *
93
+ * @type {string}
94
+ * @memberof StoreStoreRequest
95
+ */
96
+ netsuiteId?: string | null;
97
+ /**
98
+ *
99
+ * @type {string}
100
+ * @memberof StoreStoreRequest
101
+ */
102
+ displayNetsuiteId?: string | null;
91
103
  /**
92
104
  *
93
105
  * @type {Array<number>}
@@ -140,6 +152,8 @@ export function StoreStoreRequestFromJSONTyped(json: any, ignoreDiscriminator: b
140
152
  'email': json['email'] == null ? undefined : json['email'],
141
153
  'website': json['website'] == null ? undefined : json['website'],
142
154
  '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'],
143
157
  'supplierIds': json['supplier_ids'] == null ? undefined : json['supplier_ids'],
144
158
  'specialDates': json['special_dates'] == null ? undefined : ((json['special_dates'] as Array<any>).map(StoreStoreRequestSpecialDatesInnerFromJSON)),
145
159
  'address': StoreStoreRequestAddressFromJSON(json['address']),
@@ -166,6 +180,8 @@ export function StoreStoreRequestToJSONTyped(value?: StoreStoreRequest | null, i
166
180
  'email': value['email'],
167
181
  'website': value['website'],
168
182
  'opening_hours': value['openingHours'],
183
+ 'netsuite_id': value['netsuiteId'],
184
+ 'display_netsuite_id': value['displayNetsuiteId'],
169
185
  'supplier_ids': value['supplierIds'],
170
186
  'special_dates': value['specialDates'] == null ? undefined : ((value['specialDates'] as Array<any>).map(StoreStoreRequestSpecialDatesInnerToJSON)),
171
187
  'address': StoreStoreRequestAddressToJSON(value['address']),
@@ -88,6 +88,18 @@ export interface UpdateStoreRequest {
88
88
  * @memberof UpdateStoreRequest
89
89
  */
90
90
  openingHours?: Array<string | null>;
91
+ /**
92
+ *
93
+ * @type {string}
94
+ * @memberof UpdateStoreRequest
95
+ */
96
+ netsuiteId?: string | null;
97
+ /**
98
+ *
99
+ * @type {string}
100
+ * @memberof UpdateStoreRequest
101
+ */
102
+ displayNetsuiteId?: string | null;
91
103
  /**
92
104
  *
93
105
  * @type {Array<number>}
@@ -140,6 +152,8 @@ export function UpdateStoreRequestFromJSONTyped(json: any, ignoreDiscriminator:
140
152
  'email': json['email'] == null ? undefined : json['email'],
141
153
  'website': json['website'] == null ? undefined : json['website'],
142
154
  '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'],
143
157
  'supplierIds': json['supplier_ids'] == null ? undefined : json['supplier_ids'],
144
158
  'specialDates': json['special_dates'] == null ? undefined : ((json['special_dates'] as Array<any>).map(UpdateStoreRequestSpecialDatesInnerFromJSON)),
145
159
  'address': StoreStoreRequestAddressFromJSON(json['address']),
@@ -166,6 +180,8 @@ export function UpdateStoreRequestToJSONTyped(value?: UpdateStoreRequest | null,
166
180
  'email': value['email'],
167
181
  'website': value['website'],
168
182
  'opening_hours': value['openingHours'],
183
+ 'netsuite_id': value['netsuiteId'],
184
+ 'display_netsuite_id': value['displayNetsuiteId'],
169
185
  'supplier_ids': value['supplierIds'],
170
186
  'special_dates': value['specialDates'] == null ? undefined : ((value['specialDates'] as Array<any>).map(UpdateStoreRequestSpecialDatesInnerToJSON)),
171
187
  'address': StoreStoreRequestAddressToJSON(value['address']),
@@ -233,6 +233,7 @@ export * from './ProductChildSiteDetailLiteResource';
233
233
  export * from './ProductChildSiteDetailLiteResourceArrayResponse';
234
234
  export * from './ProductChildSiteDetailResource';
235
235
  export * from './ProductChildSiteDetailResourceArrayResponse';
236
+ export * from './ProductChildStoreStockType';
236
237
  export * from './ProductClassResource';
237
238
  export * from './ProductClassResourceArrayResponse';
238
239
  export * from './ProductCompareResource';