@digital8/lighting-illusions-ts-sdk 0.0.2650 → 0.0.2652

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 (42) hide show
  1. package/.openapi-generator/FILES +0 -4
  2. package/README.md +2 -2
  3. package/dist/apis/OrdersApi.d.ts +1 -9
  4. package/dist/apis/OrdersApi.js +0 -42
  5. package/dist/models/AddressFrontendResource.d.ts +1 -1
  6. package/dist/models/AddressFrontendResource.js +1 -3
  7. package/dist/models/AdminOrderResource.d.ts +0 -6
  8. package/dist/models/AdminOrderResource.js +0 -4
  9. package/dist/models/OrderOmnisendEvent.d.ts +0 -1
  10. package/dist/models/OrderOmnisendEvent.js +1 -2
  11. package/dist/models/SearchAllOrdersRequest.d.ts +1 -1
  12. package/dist/models/SearchAllOrdersRequest.js +1 -1
  13. package/dist/models/SearchOrdersRequest.d.ts +1 -7
  14. package/dist/models/SearchOrdersRequest.js +1 -3
  15. package/dist/models/StoreFrontendResource.d.ts +2 -2
  16. package/dist/models/StoreFrontendResource.js +2 -6
  17. package/dist/models/StoreListResource.d.ts +2 -2
  18. package/dist/models/StoreListResource.js +4 -4
  19. package/dist/models/index.d.ts +0 -4
  20. package/dist/models/index.js +0 -4
  21. package/package.json +1 -1
  22. package/src/apis/OrdersApi.ts +0 -32
  23. package/src/models/AddressFrontendResource.ts +2 -3
  24. package/src/models/AdminOrderResource.ts +0 -9
  25. package/src/models/OrderOmnisendEvent.ts +1 -2
  26. package/src/models/SearchAllOrdersRequest.ts +1 -1
  27. package/src/models/SearchOrdersRequest.ts +1 -9
  28. package/src/models/StoreFrontendResource.ts +4 -6
  29. package/src/models/StoreListResource.ts +5 -5
  30. package/src/models/index.ts +0 -4
  31. package/dist/models/NetsuiteSyncFailureCountResource.d.ts +0 -32
  32. package/dist/models/NetsuiteSyncFailureCountResource.js +0 -51
  33. package/dist/models/NetsuiteSyncFailureCountResourceArrayResponse.d.ts +0 -33
  34. package/dist/models/NetsuiteSyncFailureCountResourceArrayResponse.js +0 -50
  35. package/dist/models/StoreLocationResource.d.ts +0 -38
  36. package/dist/models/StoreLocationResource.js +0 -55
  37. package/dist/models/StoreLocationResourceArrayResponse.d.ts +0 -33
  38. package/dist/models/StoreLocationResourceArrayResponse.js +0 -50
  39. package/src/models/NetsuiteSyncFailureCountResource.ts +0 -66
  40. package/src/models/NetsuiteSyncFailureCountResourceArrayResponse.ts +0 -73
  41. package/src/models/StoreLocationResource.ts +0 -75
  42. package/src/models/StoreLocationResourceArrayResponse.ts +0 -73
@@ -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}
@@ -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}
@@ -110,8 +110,8 @@ export function instanceOfStoreListResource(value: object): value is StoreListRe
110
110
  if (!('phone' in value) || value['phone'] === undefined) return false;
111
111
  if (!('longitude' in value) || value['longitude'] === undefined) return false;
112
112
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
113
- if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
114
113
  if (!('email' in value) || value['email'] === undefined) return false;
114
+ if (!('website' in value) || value['website'] === undefined) return false;
115
115
  if (!('netsuiteId' in value) || value['netsuiteId'] === undefined) return false;
116
116
  if (!('displayNetsuiteId' in value) || value['displayNetsuiteId'] === undefined) return false;
117
117
  return true;
@@ -133,9 +133,9 @@ export function StoreListResourceFromJSONTyped(json: any, ignoreDiscriminator: b
133
133
  'phone': json['phone'],
134
134
  'longitude': json['longitude'],
135
135
  'latitude': json['latitude'],
136
- 'tagLine': json['tagLine'],
136
+ 'tagLine': json['tagLine'] == null ? undefined : json['tagLine'],
137
137
  'email': json['email'],
138
- 'website': json['website'] == null ? undefined : json['website'],
138
+ 'website': json['website'],
139
139
  'netsuiteId': json['netsuiteId'],
140
140
  'displayNetsuiteId': json['displayNetsuiteId'],
141
141
  'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
@@ -277,8 +277,6 @@ export * from './ModelAttributeListResource';
277
277
  export * from './ModelAttributeListResourceArrayResponse';
278
278
  export * from './ModelAttributeResource';
279
279
  export * from './ModelAttributeResourceArrayResponse';
280
- export * from './NetsuiteSyncFailureCountResource';
281
- export * from './NetsuiteSyncFailureCountResourceArrayResponse';
282
280
  export * from './NetsuiteSyncLiteResource';
283
281
  export * from './NetsuiteSyncLiteResourceArrayResponse';
284
282
  export * from './OmnisendSyncLiteResource';
@@ -675,8 +673,6 @@ export * from './StoreListResource';
675
673
  export * from './StoreListResourceArrayResponse';
676
674
  export * from './StoreLiteResource';
677
675
  export * from './StoreLiteResourceArrayResponse';
678
- export * from './StoreLocationResource';
679
- export * from './StoreLocationResourceArrayResponse';
680
676
  export * from './StoreResource';
681
677
  export * from './StoreResourceArrayResponse';
682
678
  export * from './StoreSpecialDateFrontendResource';
@@ -1,32 +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 NetsuiteSyncFailureCountResource
16
- */
17
- export interface NetsuiteSyncFailureCountResource {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof NetsuiteSyncFailureCountResource
22
- */
23
- count: number;
24
- }
25
- /**
26
- * Check if a given object implements the NetsuiteSyncFailureCountResource interface.
27
- */
28
- export declare function instanceOfNetsuiteSyncFailureCountResource(value: object): value is NetsuiteSyncFailureCountResource;
29
- export declare function NetsuiteSyncFailureCountResourceFromJSON(json: any): NetsuiteSyncFailureCountResource;
30
- export declare function NetsuiteSyncFailureCountResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): NetsuiteSyncFailureCountResource;
31
- export declare function NetsuiteSyncFailureCountResourceToJSON(json: any): NetsuiteSyncFailureCountResource;
32
- export declare function NetsuiteSyncFailureCountResourceToJSONTyped(value?: NetsuiteSyncFailureCountResource | null, ignoreDiscriminator?: boolean): any;
@@ -1,51 +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.instanceOfNetsuiteSyncFailureCountResource = instanceOfNetsuiteSyncFailureCountResource;
17
- exports.NetsuiteSyncFailureCountResourceFromJSON = NetsuiteSyncFailureCountResourceFromJSON;
18
- exports.NetsuiteSyncFailureCountResourceFromJSONTyped = NetsuiteSyncFailureCountResourceFromJSONTyped;
19
- exports.NetsuiteSyncFailureCountResourceToJSON = NetsuiteSyncFailureCountResourceToJSON;
20
- exports.NetsuiteSyncFailureCountResourceToJSONTyped = NetsuiteSyncFailureCountResourceToJSONTyped;
21
- /**
22
- * Check if a given object implements the NetsuiteSyncFailureCountResource interface.
23
- */
24
- function instanceOfNetsuiteSyncFailureCountResource(value) {
25
- if (!('count' in value) || value['count'] === undefined)
26
- return false;
27
- return true;
28
- }
29
- function NetsuiteSyncFailureCountResourceFromJSON(json) {
30
- return NetsuiteSyncFailureCountResourceFromJSONTyped(json, false);
31
- }
32
- function NetsuiteSyncFailureCountResourceFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'count': json['count'],
38
- };
39
- }
40
- function NetsuiteSyncFailureCountResourceToJSON(json) {
41
- return NetsuiteSyncFailureCountResourceToJSONTyped(json, false);
42
- }
43
- function NetsuiteSyncFailureCountResourceToJSONTyped(value, ignoreDiscriminator) {
44
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
- if (value == null) {
46
- return value;
47
- }
48
- return {
49
- 'count': value['count'],
50
- };
51
- }
@@ -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 { NetsuiteSyncFailureCountResource } from './NetsuiteSyncFailureCountResource';
13
- /**
14
- *
15
- * @export
16
- * @interface NetsuiteSyncFailureCountResourceArrayResponse
17
- */
18
- export interface NetsuiteSyncFailureCountResourceArrayResponse {
19
- /**
20
- *
21
- * @type {Array<NetsuiteSyncFailureCountResource>}
22
- * @memberof NetsuiteSyncFailureCountResourceArrayResponse
23
- */
24
- data?: Array<NetsuiteSyncFailureCountResource>;
25
- }
26
- /**
27
- * Check if a given object implements the NetsuiteSyncFailureCountResourceArrayResponse interface.
28
- */
29
- export declare function instanceOfNetsuiteSyncFailureCountResourceArrayResponse(value: object): value is NetsuiteSyncFailureCountResourceArrayResponse;
30
- export declare function NetsuiteSyncFailureCountResourceArrayResponseFromJSON(json: any): NetsuiteSyncFailureCountResourceArrayResponse;
31
- export declare function NetsuiteSyncFailureCountResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): NetsuiteSyncFailureCountResourceArrayResponse;
32
- export declare function NetsuiteSyncFailureCountResourceArrayResponseToJSON(json: any): NetsuiteSyncFailureCountResourceArrayResponse;
33
- export declare function NetsuiteSyncFailureCountResourceArrayResponseToJSONTyped(value?: NetsuiteSyncFailureCountResourceArrayResponse | 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.instanceOfNetsuiteSyncFailureCountResourceArrayResponse = instanceOfNetsuiteSyncFailureCountResourceArrayResponse;
17
- exports.NetsuiteSyncFailureCountResourceArrayResponseFromJSON = NetsuiteSyncFailureCountResourceArrayResponseFromJSON;
18
- exports.NetsuiteSyncFailureCountResourceArrayResponseFromJSONTyped = NetsuiteSyncFailureCountResourceArrayResponseFromJSONTyped;
19
- exports.NetsuiteSyncFailureCountResourceArrayResponseToJSON = NetsuiteSyncFailureCountResourceArrayResponseToJSON;
20
- exports.NetsuiteSyncFailureCountResourceArrayResponseToJSONTyped = NetsuiteSyncFailureCountResourceArrayResponseToJSONTyped;
21
- var NetsuiteSyncFailureCountResource_1 = require("./NetsuiteSyncFailureCountResource");
22
- /**
23
- * Check if a given object implements the NetsuiteSyncFailureCountResourceArrayResponse interface.
24
- */
25
- function instanceOfNetsuiteSyncFailureCountResourceArrayResponse(value) {
26
- return true;
27
- }
28
- function NetsuiteSyncFailureCountResourceArrayResponseFromJSON(json) {
29
- return NetsuiteSyncFailureCountResourceArrayResponseFromJSONTyped(json, false);
30
- }
31
- function NetsuiteSyncFailureCountResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'data': json['data'] == null ? undefined : (json['data'].map(NetsuiteSyncFailureCountResource_1.NetsuiteSyncFailureCountResourceFromJSON)),
37
- };
38
- }
39
- function NetsuiteSyncFailureCountResourceArrayResponseToJSON(json) {
40
- return NetsuiteSyncFailureCountResourceArrayResponseToJSONTyped(json, false);
41
- }
42
- function NetsuiteSyncFailureCountResourceArrayResponseToJSONTyped(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(NetsuiteSyncFailureCountResource_1.NetsuiteSyncFailureCountResourceToJSON)),
49
- };
50
- }
@@ -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,66 +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 NetsuiteSyncFailureCountResource
20
- */
21
- export interface NetsuiteSyncFailureCountResource {
22
- /**
23
- *
24
- * @type {number}
25
- * @memberof NetsuiteSyncFailureCountResource
26
- */
27
- count: number;
28
- }
29
-
30
- /**
31
- * Check if a given object implements the NetsuiteSyncFailureCountResource interface.
32
- */
33
- export function instanceOfNetsuiteSyncFailureCountResource(value: object): value is NetsuiteSyncFailureCountResource {
34
- if (!('count' in value) || value['count'] === undefined) return false;
35
- return true;
36
- }
37
-
38
- export function NetsuiteSyncFailureCountResourceFromJSON(json: any): NetsuiteSyncFailureCountResource {
39
- return NetsuiteSyncFailureCountResourceFromJSONTyped(json, false);
40
- }
41
-
42
- export function NetsuiteSyncFailureCountResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): NetsuiteSyncFailureCountResource {
43
- if (json == null) {
44
- return json;
45
- }
46
- return {
47
-
48
- 'count': json['count'],
49
- };
50
- }
51
-
52
- export function NetsuiteSyncFailureCountResourceToJSON(json: any): NetsuiteSyncFailureCountResource {
53
- return NetsuiteSyncFailureCountResourceToJSONTyped(json, false);
54
- }
55
-
56
- export function NetsuiteSyncFailureCountResourceToJSONTyped(value?: NetsuiteSyncFailureCountResource | null, ignoreDiscriminator: boolean = false): any {
57
- if (value == null) {
58
- return value;
59
- }
60
-
61
- return {
62
-
63
- 'count': value['count'],
64
- };
65
- }
66
-
@@ -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 { NetsuiteSyncFailureCountResource } from './NetsuiteSyncFailureCountResource';
17
- import {
18
- NetsuiteSyncFailureCountResourceFromJSON,
19
- NetsuiteSyncFailureCountResourceFromJSONTyped,
20
- NetsuiteSyncFailureCountResourceToJSON,
21
- NetsuiteSyncFailureCountResourceToJSONTyped,
22
- } from './NetsuiteSyncFailureCountResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface NetsuiteSyncFailureCountResourceArrayResponse
28
- */
29
- export interface NetsuiteSyncFailureCountResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<NetsuiteSyncFailureCountResource>}
33
- * @memberof NetsuiteSyncFailureCountResourceArrayResponse
34
- */
35
- data?: Array<NetsuiteSyncFailureCountResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the NetsuiteSyncFailureCountResourceArrayResponse interface.
40
- */
41
- export function instanceOfNetsuiteSyncFailureCountResourceArrayResponse(value: object): value is NetsuiteSyncFailureCountResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function NetsuiteSyncFailureCountResourceArrayResponseFromJSON(json: any): NetsuiteSyncFailureCountResourceArrayResponse {
46
- return NetsuiteSyncFailureCountResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function NetsuiteSyncFailureCountResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): NetsuiteSyncFailureCountResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(NetsuiteSyncFailureCountResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function NetsuiteSyncFailureCountResourceArrayResponseToJSON(json: any): NetsuiteSyncFailureCountResourceArrayResponse {
60
- return NetsuiteSyncFailureCountResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function NetsuiteSyncFailureCountResourceArrayResponseToJSONTyped(value?: NetsuiteSyncFailureCountResourceArrayResponse | 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(NetsuiteSyncFailureCountResourceToJSON)),
71
- };
72
- }
73
-
@@ -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
-