@digital8/lighting-illusions-ts-sdk 0.0.2592 → 0.0.2593

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.
@@ -605,8 +605,6 @@ src/models/StoreListResource.ts
605
605
  src/models/StoreListResourceArrayResponse.ts
606
606
  src/models/StoreLiteResource.ts
607
607
  src/models/StoreLiteResourceArrayResponse.ts
608
- src/models/StoreLocationResource.ts
609
- src/models/StoreLocationResourceArrayResponse.ts
610
608
  src/models/StoreResource.ts
611
609
  src/models/StoreResourceArrayResponse.ts
612
610
  src/models/StoreSpecialDateFrontendResource.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @digital8/lighting-illusions-ts-sdk@0.0.2592
1
+ ## @digital8/lighting-illusions-ts-sdk@0.0.2593
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @digital8/lighting-illusions-ts-sdk@0.0.2592 --save
39
+ npm install @digital8/lighting-illusions-ts-sdk@0.0.2593 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -20,7 +20,7 @@ export interface AddressFrontendResource {
20
20
  * @type {string}
21
21
  * @memberof AddressFrontendResource
22
22
  */
23
- company: string;
23
+ company?: string | null;
24
24
  /**
25
25
  *
26
26
  * @type {string}
@@ -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}
@@ -22,10 +22,10 @@ exports.AddressFrontendResourceToJSONTyped = AddressFrontendResourceToJSONTyped;
22
22
  * Check if a given object implements the AddressFrontendResource interface.
23
23
  */
24
24
  function instanceOfAddressFrontendResource(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;
27
+ if (!('line2' in value) || value['line2'] === undefined)
28
+ return false;
29
29
  if (!('postcode' in value) || value['postcode'] === undefined)
30
30
  return false;
31
31
  if (!('suburb' in value) || value['suburb'] === undefined)
@@ -46,9 +46,9 @@ function AddressFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
46
46
  return json;
47
47
  }
48
48
  return {
49
- 'company': json['company'],
49
+ 'company': json['company'] == null ? undefined : json['company'],
50
50
  'line1': json['line1'],
51
- 'line2': json['line2'] == null ? undefined : json['line2'],
51
+ 'line2': json['line2'],
52
52
  'postcode': json['postcode'],
53
53
  'suburb': json['suburb'],
54
54
  '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']),
@@ -74,7 +74,7 @@ export interface StoreFrontendResource {
74
74
  * @type {string}
75
75
  * @memberof StoreFrontendResource
76
76
  */
77
- tagLine: string;
77
+ tagLine?: string | null;
78
78
  /**
79
79
  *
80
80
  * @type {string}
@@ -36,8 +36,6 @@ function instanceOfStoreFrontendResource(value) {
36
36
  return false;
37
37
  if (!('longitude' in value) || value['longitude'] === undefined)
38
38
  return false;
39
- if (!('tagLine' in value) || value['tagLine'] === undefined)
40
- return false;
41
39
  if (!('specialDates' in value) || value['specialDates'] === undefined)
42
40
  return false;
43
41
  if (!('suppliers' in value) || value['suppliers'] === undefined)
@@ -61,7 +59,7 @@ function StoreFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
61
59
  'address': json['address'] == null ? undefined : json['address'],
62
60
  'latitude': json['latitude'],
63
61
  'longitude': json['longitude'],
64
- 'tagLine': json['tagLine'],
62
+ 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
65
63
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
66
64
  'specialDates': json['specialDates'],
67
65
  'suppliers': json['suppliers'],
@@ -69,7 +69,7 @@ export interface StoreListResource {
69
69
  * @type {string}
70
70
  * @memberof StoreListResource
71
71
  */
72
- website?: string | null;
72
+ website: string;
73
73
  /**
74
74
  *
75
75
  * @type {number}
@@ -37,6 +37,8 @@ function instanceOfStoreListResource(value) {
37
37
  return false;
38
38
  if (!('email' in value) || value['email'] === undefined)
39
39
  return false;
40
+ if (!('website' in value) || value['website'] === undefined)
41
+ return false;
40
42
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
41
43
  return false;
42
44
  if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined)
@@ -59,7 +61,7 @@ function StoreListResourceFromJSONTyped(json, ignoreDiscriminator) {
59
61
  'latitude': json['latitude'],
60
62
  'tagLine': json['tagLine'],
61
63
  'email': json['email'],
62
- 'website': json['website'] == null ? undefined : json['website'],
64
+ 'website': json['website'],
63
65
  'netsuiteId': json['netsuiteId'],
64
66
  'displayNetsuiteId': json['displayNetsuiteId'],
65
67
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
@@ -72,7 +72,7 @@ export interface StoreResource {
72
72
  * @type {string}
73
73
  * @memberof StoreResource
74
74
  */
75
- website: string;
75
+ website?: string | null;
76
76
  /**
77
77
  *
78
78
  * @type {number}
@@ -40,8 +40,6 @@ function instanceOfStoreResource(value) {
40
40
  return false;
41
41
  if (!('email' in value) || value['email'] === undefined)
42
42
  return false;
43
- if (!('website' in value) || value['website'] === undefined)
44
- return false;
45
43
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined)
46
44
  return false;
47
45
  if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined)
@@ -70,7 +68,7 @@ function StoreResourceFromJSONTyped(json, ignoreDiscriminator) {
70
68
  'latitude': json['latitude'],
71
69
  'tagLine': json['tagLine'],
72
70
  'email': json['email'],
73
- 'website': json['website'],
71
+ 'website': json['website'] == null ? undefined : json['website'],
74
72
  'netsuiteId': json['netsuiteId'],
75
73
  'displayNetsuiteId': json['displayNetsuiteId'],
76
74
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
@@ -35,10 +35,10 @@ export interface StoreSpecialDateResource {
35
35
  hours: string;
36
36
  /**
37
37
  *
38
- * @type {string}
38
+ * @type {object}
39
39
  * @memberof StoreSpecialDateResource
40
40
  */
41
- date?: string | null;
41
+ date: object;
42
42
  /**
43
43
  *
44
44
  * @type {boolean}
@@ -26,6 +26,8 @@ function instanceOfStoreSpecialDateResource(value) {
26
26
  return false;
27
27
  if (!('hours' in value) || value['hours'] === undefined)
28
28
  return false;
29
+ if (!('date' in value) || value['date'] === undefined)
30
+ return false;
29
31
  if (!('closed' in value) || value['closed'] === undefined)
30
32
  return false;
31
33
  if (!('displayStartDate' in value) || value['displayStartDate'] === undefined)
@@ -45,7 +47,7 @@ function StoreSpecialDateResourceFromJSONTyped(json, ignoreDiscriminator) {
45
47
  'id': json['id'] == null ? undefined : json['id'],
46
48
  'name': json['name'],
47
49
  'hours': json['hours'],
48
- 'date': json['date'] == null ? undefined : json['date'],
50
+ 'date': json['date'],
49
51
  'closed': json['closed'],
50
52
  'displayStartDate': json['displayStartDate'],
51
53
  'displayEndDate': json['displayEndDate'],
@@ -566,8 +566,6 @@ export * from './StoreListResource';
566
566
  export * from './StoreListResourceArrayResponse';
567
567
  export * from './StoreLiteResource';
568
568
  export * from './StoreLiteResourceArrayResponse';
569
- export * from './StoreLocationResource';
570
- export * from './StoreLocationResourceArrayResponse';
571
569
  export * from './StoreResource';
572
570
  export * from './StoreResourceArrayResponse';
573
571
  export * from './StoreSpecialDateFrontendResource';
@@ -584,8 +584,6 @@ __exportStar(require("./StoreListResource"), exports);
584
584
  __exportStar(require("./StoreListResourceArrayResponse"), exports);
585
585
  __exportStar(require("./StoreLiteResource"), exports);
586
586
  __exportStar(require("./StoreLiteResourceArrayResponse"), exports);
587
- __exportStar(require("./StoreLocationResource"), exports);
588
- __exportStar(require("./StoreLocationResourceArrayResponse"), exports);
589
587
  __exportStar(require("./StoreResource"), exports);
590
588
  __exportStar(require("./StoreResourceArrayResponse"), exports);
591
589
  __exportStar(require("./StoreSpecialDateFrontendResource"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.2592",
3
+ "version": "0.0.2593",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -24,7 +24,7 @@ export interface AddressFrontendResource {
24
24
  * @type {string}
25
25
  * @memberof AddressFrontendResource
26
26
  */
27
- company: string;
27
+ company?: string | null;
28
28
  /**
29
29
  *
30
30
  * @type {string}
@@ -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}
@@ -73,8 +73,8 @@ export interface AddressFrontendResource {
73
73
  * Check if a given object implements the AddressFrontendResource interface.
74
74
  */
75
75
  export function instanceOfAddressFrontendResource(value: object): value is AddressFrontendResource {
76
- if (!('company' in value) || value['company'] === undefined) return false;
77
76
  if (!('line1' in value) || value['line1'] === undefined) return false;
77
+ if (!('line2' in value) || value['line2'] === undefined) return false;
78
78
  if (!('postcode' in value) || value['postcode'] === undefined) return false;
79
79
  if (!('suburb' in value) || value['suburb'] === undefined) return false;
80
80
  if (!('country' in value) || value['country'] === undefined) return false;
@@ -93,9 +93,9 @@ export function AddressFrontendResourceFromJSONTyped(json: any, ignoreDiscrimina
93
93
  }
94
94
  return {
95
95
 
96
- 'company': json['company'],
96
+ 'company': json['company'] == null ? undefined : json['company'],
97
97
  'line1': json['line1'],
98
- 'line2': json['line2'] == null ? undefined : json['line2'],
98
+ 'line2': json['line2'],
99
99
  'postcode': json['postcode'],
100
100
  'suburb': json['suburb'],
101
101
  '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']),
@@ -78,7 +78,7 @@ export interface StoreFrontendResource {
78
78
  * @type {string}
79
79
  * @memberof StoreFrontendResource
80
80
  */
81
- tagLine: string;
81
+ tagLine?: string | null;
82
82
  /**
83
83
  *
84
84
  * @type {string}
@@ -110,7 +110,6 @@ export function instanceOfStoreFrontendResource(value: object): value is StoreFr
110
110
  if (!('phone' in value) || value['phone'] === undefined) return false;
111
111
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
112
112
  if (!('longitude' in value) || value['longitude'] === undefined) return false;
113
- if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
114
113
  if (!('specialDates' in value) || value['specialDates'] === undefined) return false;
115
114
  if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
116
115
  return true;
@@ -135,7 +134,7 @@ export function StoreFrontendResourceFromJSONTyped(json: any, ignoreDiscriminato
135
134
  'address': json['address'] == null ? undefined : json['address'],
136
135
  'latitude': json['latitude'],
137
136
  'longitude': json['longitude'],
138
- 'tagLine': json['tagLine'],
137
+ 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
139
138
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
140
139
  'specialDates': json['specialDates'],
141
140
  'suppliers': json['suppliers'],
@@ -80,7 +80,7 @@ export interface StoreListResource {
80
80
  * @type {string}
81
81
  * @memberof StoreListResource
82
82
  */
83
- website?: string | null;
83
+ website: string;
84
84
  /**
85
85
  *
86
86
  * @type {number}
@@ -112,6 +112,7 @@ export function instanceOfStoreListResource(value: object): value is StoreListRe
112
112
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
113
113
  if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
114
114
  if (!('email' in value) || value['email'] === undefined) return false;
115
+ if (!('website' in value) || value['website'] === undefined) return false;
115
116
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
116
117
  if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined) return false;
117
118
  return true;
@@ -135,7 +136,7 @@ export function StoreListResourceFromJSONTyped(json: any, ignoreDiscriminator: b
135
136
  'latitude': json['latitude'],
136
137
  'tagLine': json['tagLine'],
137
138
  'email': json['email'],
138
- 'website': json['website'] == null ? undefined : json['website'],
139
+ 'website': json['website'],
139
140
  'netsuiteId': json['netsuiteId'],
140
141
  'displayNetsuiteId': json['displayNetsuiteId'],
141
142
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
@@ -101,7 +101,7 @@ export interface StoreResource {
101
101
  * @type {string}
102
102
  * @memberof StoreResource
103
103
  */
104
- website: string;
104
+ website?: string | null;
105
105
  /**
106
106
  *
107
107
  * @type {number}
@@ -151,7 +151,6 @@ export function instanceOfStoreResource(value: object): value is StoreResource {
151
151
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
152
152
  if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
153
153
  if (!('email' in value) || value['email'] === undefined) return false;
154
- if (!('website' in value) || value['website'] === undefined) return false;
155
154
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
156
155
  if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined) return false;
157
156
  if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
@@ -178,7 +177,7 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
178
177
  'latitude': json['latitude'],
179
178
  'tagLine': json['tagLine'],
180
179
  'email': json['email'],
181
- 'website': json['website'],
180
+ 'website': json['website'] == null ? undefined : json['website'],
182
181
  'netsuiteId': json['netsuiteId'],
183
182
  'displayNetsuiteId': json['displayNetsuiteId'],
184
183
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
@@ -39,10 +39,10 @@ export interface StoreSpecialDateResource {
39
39
  hours: string;
40
40
  /**
41
41
  *
42
- * @type {string}
42
+ * @type {object}
43
43
  * @memberof StoreSpecialDateResource
44
44
  */
45
- date?: string | null;
45
+ date: object;
46
46
  /**
47
47
  *
48
48
  * @type {boolean}
@@ -69,6 +69,7 @@ export interface StoreSpecialDateResource {
69
69
  export function instanceOfStoreSpecialDateResource(value: object): value is StoreSpecialDateResource {
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;
72
73
  if (!('closed' in value) || value['closed'] === undefined) return false;
73
74
  if (!('displayStartDate' in value) || value['displayStartDate'] === undefined) return false;
74
75
  if (!('displayEndDate' in value) || value['displayEndDate'] === undefined) return false;
@@ -88,7 +89,7 @@ export function StoreSpecialDateResourceFromJSONTyped(json: any, ignoreDiscrimin
88
89
  'id': json['id'] == null ? undefined : json['id'],
89
90
  'name': json['name'],
90
91
  'hours': json['hours'],
91
- 'date': json['date'] == null ? undefined : json['date'],
92
+ 'date': json['date'],
92
93
  'closed': json['closed'],
93
94
  'displayStartDate': json['displayStartDate'],
94
95
  'displayEndDate': json['displayEndDate'],
@@ -568,8 +568,6 @@ export * from './StoreListResource';
568
568
  export * from './StoreListResourceArrayResponse';
569
569
  export * from './StoreLiteResource';
570
570
  export * from './StoreLiteResourceArrayResponse';
571
- export * from './StoreLocationResource';
572
- export * from './StoreLocationResourceArrayResponse';
573
571
  export * from './StoreResource';
574
572
  export * from './StoreResourceArrayResponse';
575
573
  export * from './StoreSpecialDateFrontendResource';
@@ -1,38 +0,0 @@
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 StoreLocationResource
16
- */
17
- export interface StoreLocationResource {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof StoreLocationResource
22
- */
23
- latitude: number;
24
- /**
25
- *
26
- * @type {number}
27
- * @memberof StoreLocationResource
28
- */
29
- longitude: number;
30
- }
31
- /**
32
- * Check if a given object implements the StoreLocationResource interface.
33
- */
34
- export declare function instanceOfStoreLocationResource(value: object): value is StoreLocationResource;
35
- export declare function StoreLocationResourceFromJSON(json: any): StoreLocationResource;
36
- export declare function StoreLocationResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreLocationResource;
37
- export declare function StoreLocationResourceToJSON(json: any): StoreLocationResource;
38
- export declare function StoreLocationResourceToJSONTyped(value?: StoreLocationResource | null, ignoreDiscriminator?: boolean): any;
@@ -1,55 +0,0 @@
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.instanceOfStoreLocationResource = instanceOfStoreLocationResource;
17
- exports.StoreLocationResourceFromJSON = StoreLocationResourceFromJSON;
18
- exports.StoreLocationResourceFromJSONTyped = StoreLocationResourceFromJSONTyped;
19
- exports.StoreLocationResourceToJSON = StoreLocationResourceToJSON;
20
- exports.StoreLocationResourceToJSONTyped = StoreLocationResourceToJSONTyped;
21
- /**
22
- * Check if a given object implements the StoreLocationResource interface.
23
- */
24
- function instanceOfStoreLocationResource(value) {
25
- if (!('latitude' in value) || value['latitude'] === undefined)
26
- return false;
27
- if (!('longitude' in value) || value['longitude'] === undefined)
28
- return false;
29
- return true;
30
- }
31
- function StoreLocationResourceFromJSON(json) {
32
- return StoreLocationResourceFromJSONTyped(json, false);
33
- }
34
- function StoreLocationResourceFromJSONTyped(json, ignoreDiscriminator) {
35
- if (json == null) {
36
- return json;
37
- }
38
- return {
39
- 'latitude': json['latitude'],
40
- 'longitude': json['longitude'],
41
- };
42
- }
43
- function StoreLocationResourceToJSON(json) {
44
- return StoreLocationResourceToJSONTyped(json, false);
45
- }
46
- function StoreLocationResourceToJSONTyped(value, ignoreDiscriminator) {
47
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
- if (value == null) {
49
- return value;
50
- }
51
- return {
52
- 'latitude': value['latitude'],
53
- 'longitude': value['longitude'],
54
- };
55
- }
@@ -1,33 +0,0 @@
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
- import type { StoreLocationResource } from './StoreLocationResource';
13
- /**
14
- *
15
- * @export
16
- * @interface StoreLocationResourceArrayResponse
17
- */
18
- export interface StoreLocationResourceArrayResponse {
19
- /**
20
- *
21
- * @type {Array<StoreLocationResource>}
22
- * @memberof StoreLocationResourceArrayResponse
23
- */
24
- data?: Array<StoreLocationResource>;
25
- }
26
- /**
27
- * Check if a given object implements the StoreLocationResourceArrayResponse interface.
28
- */
29
- export declare function instanceOfStoreLocationResourceArrayResponse(value: object): value is StoreLocationResourceArrayResponse;
30
- export declare function StoreLocationResourceArrayResponseFromJSON(json: any): StoreLocationResourceArrayResponse;
31
- export declare function StoreLocationResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreLocationResourceArrayResponse;
32
- export declare function StoreLocationResourceArrayResponseToJSON(json: any): StoreLocationResourceArrayResponse;
33
- export declare function StoreLocationResourceArrayResponseToJSONTyped(value?: StoreLocationResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,50 +0,0 @@
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.instanceOfStoreLocationResourceArrayResponse = instanceOfStoreLocationResourceArrayResponse;
17
- exports.StoreLocationResourceArrayResponseFromJSON = StoreLocationResourceArrayResponseFromJSON;
18
- exports.StoreLocationResourceArrayResponseFromJSONTyped = StoreLocationResourceArrayResponseFromJSONTyped;
19
- exports.StoreLocationResourceArrayResponseToJSON = StoreLocationResourceArrayResponseToJSON;
20
- exports.StoreLocationResourceArrayResponseToJSONTyped = StoreLocationResourceArrayResponseToJSONTyped;
21
- var StoreLocationResource_1 = require("./StoreLocationResource");
22
- /**
23
- * Check if a given object implements the StoreLocationResourceArrayResponse interface.
24
- */
25
- function instanceOfStoreLocationResourceArrayResponse(value) {
26
- return true;
27
- }
28
- function StoreLocationResourceArrayResponseFromJSON(json) {
29
- return StoreLocationResourceArrayResponseFromJSONTyped(json, false);
30
- }
31
- function StoreLocationResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'data': json['data'] == null ? undefined : (json['data'].map(StoreLocationResource_1.StoreLocationResourceFromJSON)),
37
- };
38
- }
39
- function StoreLocationResourceArrayResponseToJSON(json) {
40
- return StoreLocationResourceArrayResponseToJSONTyped(json, false);
41
- }
42
- function StoreLocationResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
43
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
- if (value == null) {
45
- return value;
46
- }
47
- return {
48
- 'data': value['data'] == null ? undefined : (value['data'].map(StoreLocationResource_1.StoreLocationResourceToJSON)),
49
- };
50
- }
@@ -1,75 +0,0 @@
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
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface StoreLocationResource
20
- */
21
- export interface StoreLocationResource {
22
- /**
23
- *
24
- * @type {number}
25
- * @memberof StoreLocationResource
26
- */
27
- latitude: number;
28
- /**
29
- *
30
- * @type {number}
31
- * @memberof StoreLocationResource
32
- */
33
- longitude: number;
34
- }
35
-
36
- /**
37
- * Check if a given object implements the StoreLocationResource interface.
38
- */
39
- export function instanceOfStoreLocationResource(value: object): value is StoreLocationResource {
40
- if (!('latitude' in value) || value['latitude'] === undefined) return false;
41
- if (!('longitude' in value) || value['longitude'] === undefined) return false;
42
- return true;
43
- }
44
-
45
- export function StoreLocationResourceFromJSON(json: any): StoreLocationResource {
46
- return StoreLocationResourceFromJSONTyped(json, false);
47
- }
48
-
49
- export function StoreLocationResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreLocationResource {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'latitude': json['latitude'],
56
- 'longitude': json['longitude'],
57
- };
58
- }
59
-
60
- export function StoreLocationResourceToJSON(json: any): StoreLocationResource {
61
- return StoreLocationResourceToJSONTyped(json, false);
62
- }
63
-
64
- export function StoreLocationResourceToJSONTyped(value?: StoreLocationResource | null, ignoreDiscriminator: boolean = false): any {
65
- if (value == null) {
66
- return value;
67
- }
68
-
69
- return {
70
-
71
- 'latitude': value['latitude'],
72
- 'longitude': value['longitude'],
73
- };
74
- }
75
-
@@ -1,73 +0,0 @@
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
- import { mapValues } from '../runtime';
16
- import type { StoreLocationResource } from './StoreLocationResource';
17
- import {
18
- StoreLocationResourceFromJSON,
19
- StoreLocationResourceFromJSONTyped,
20
- StoreLocationResourceToJSON,
21
- StoreLocationResourceToJSONTyped,
22
- } from './StoreLocationResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface StoreLocationResourceArrayResponse
28
- */
29
- export interface StoreLocationResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<StoreLocationResource>}
33
- * @memberof StoreLocationResourceArrayResponse
34
- */
35
- data?: Array<StoreLocationResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the StoreLocationResourceArrayResponse interface.
40
- */
41
- export function instanceOfStoreLocationResourceArrayResponse(value: object): value is StoreLocationResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function StoreLocationResourceArrayResponseFromJSON(json: any): StoreLocationResourceArrayResponse {
46
- return StoreLocationResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function StoreLocationResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreLocationResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(StoreLocationResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function StoreLocationResourceArrayResponseToJSON(json: any): StoreLocationResourceArrayResponse {
60
- return StoreLocationResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function StoreLocationResourceArrayResponseToJSONTyped(value?: StoreLocationResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
64
- if (value == null) {
65
- return value;
66
- }
67
-
68
- return {
69
-
70
- 'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(StoreLocationResourceToJSON)),
71
- };
72
- }
73
-