@digital8/lighting-illusions-ts-sdk 0.0.2640 → 0.0.2641

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 (51) hide show
  1. package/.openapi-generator/FILES +4 -0
  2. package/README.md +2 -2
  3. package/dist/apis/OrdersApi.d.ts +9 -1
  4. package/dist/apis/OrdersApi.js +42 -0
  5. package/dist/models/AddressFrontendResource.d.ts +2 -2
  6. package/dist/models/AddressFrontendResource.js +2 -6
  7. package/dist/models/AddressResource.d.ts +1 -1
  8. package/dist/models/AddressResource.js +1 -3
  9. package/dist/models/AdminOrderResource.d.ts +6 -0
  10. package/dist/models/AdminOrderResource.js +4 -0
  11. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  12. package/dist/models/ExternalApiLogResource.js +3 -1
  13. package/dist/models/NetsuiteSyncFailureCountResource.d.ts +32 -0
  14. package/dist/models/NetsuiteSyncFailureCountResource.js +51 -0
  15. package/dist/models/NetsuiteSyncFailureCountResourceArrayResponse.d.ts +33 -0
  16. package/dist/models/NetsuiteSyncFailureCountResourceArrayResponse.js +50 -0
  17. package/dist/models/OrderFulfillmentResource.d.ts +2 -2
  18. package/dist/models/OrderFulfillmentResource.js +6 -2
  19. package/dist/models/OrderOmnisendEvent.d.ts +1 -0
  20. package/dist/models/OrderOmnisendEvent.js +2 -1
  21. package/dist/models/SearchAllOrdersRequest.d.ts +1 -1
  22. package/dist/models/SearchAllOrdersRequest.js +1 -1
  23. package/dist/models/SearchOrdersRequest.d.ts +7 -1
  24. package/dist/models/SearchOrdersRequest.js +3 -1
  25. package/dist/models/StoreFrontendResource.d.ts +1 -1
  26. package/dist/models/StoreFrontendResource.js +3 -1
  27. package/dist/models/StoreListResource.d.ts +1 -1
  28. package/dist/models/StoreListResource.js +1 -3
  29. package/dist/models/StoreLocationResource.d.ts +38 -0
  30. package/dist/models/StoreLocationResource.js +55 -0
  31. package/dist/models/StoreLocationResourceArrayResponse.d.ts +33 -0
  32. package/dist/models/StoreLocationResourceArrayResponse.js +50 -0
  33. package/dist/models/index.d.ts +4 -0
  34. package/dist/models/index.js +4 -0
  35. package/package.json +1 -1
  36. package/src/apis/OrdersApi.ts +32 -0
  37. package/src/models/AddressFrontendResource.ts +4 -6
  38. package/src/models/AddressResource.ts +2 -3
  39. package/src/models/AdminOrderResource.ts +9 -0
  40. package/src/models/ExternalApiLogResource.ts +3 -2
  41. package/src/models/NetsuiteSyncFailureCountResource.ts +66 -0
  42. package/src/models/NetsuiteSyncFailureCountResourceArrayResponse.ts +73 -0
  43. package/src/models/OrderFulfillmentResource.ts +6 -4
  44. package/src/models/OrderOmnisendEvent.ts +2 -1
  45. package/src/models/SearchAllOrdersRequest.ts +1 -1
  46. package/src/models/SearchOrdersRequest.ts +9 -1
  47. package/src/models/StoreFrontendResource.ts +3 -2
  48. package/src/models/StoreListResource.ts +2 -3
  49. package/src/models/StoreLocationResource.ts +75 -0
  50. package/src/models/StoreLocationResourceArrayResponse.ts +73 -0
  51. package/src/models/index.ts +4 -0
@@ -0,0 +1,75 @@
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
+
@@ -0,0 +1,73 @@
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
+
@@ -277,6 +277,8 @@ 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';
280
282
  export * from './NetsuiteSyncLiteResource';
281
283
  export * from './NetsuiteSyncLiteResourceArrayResponse';
282
284
  export * from './OmnisendSyncLiteResource';
@@ -673,6 +675,8 @@ export * from './StoreListResource';
673
675
  export * from './StoreListResourceArrayResponse';
674
676
  export * from './StoreLiteResource';
675
677
  export * from './StoreLiteResourceArrayResponse';
678
+ export * from './StoreLocationResource';
679
+ export * from './StoreLocationResourceArrayResponse';
676
680
  export * from './StoreResource';
677
681
  export * from './StoreResourceArrayResponse';
678
682
  export * from './StoreSpecialDateFrontendResource';