@digital8/lighting-illusions-ts-sdk 0.0.2026 → 0.0.2028

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 (63) hide show
  1. package/.openapi-generator/FILES +2 -6
  2. package/README.md +3 -5
  3. package/dist/apis/TransactionsApi.d.ts +3 -3
  4. package/dist/apis/TransactionsApi.js +2 -2
  5. package/dist/models/AddressResource.d.ts +2 -8
  6. package/dist/models/AddressResource.js +6 -4
  7. package/dist/models/AdminNoteResource.d.ts +12 -0
  8. package/dist/models/AdminNoteResource.js +8 -0
  9. package/dist/models/AdminOrderResource.d.ts +3 -3
  10. package/dist/models/AdminOrderResource.js +3 -3
  11. package/dist/models/CartResource.d.ts +3 -3
  12. package/dist/models/CartResource.js +3 -3
  13. package/dist/models/CustomerListResource.d.ts +7 -0
  14. package/dist/models/CustomerListResource.js +5 -0
  15. package/dist/models/OrderOmnisendEvent.d.ts +25 -0
  16. package/dist/models/OrderOmnisendEvent.js +51 -0
  17. package/dist/models/StoreFrontendResource.d.ts +1 -1
  18. package/dist/models/StoreFrontendResource.js +3 -1
  19. package/dist/models/StoreListResource.d.ts +1 -1
  20. package/dist/models/StoreListResource.js +3 -1
  21. package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
  22. package/dist/models/StoreSpecialDateFrontendResource.js +1 -3
  23. package/dist/models/StoreSpecialDateResource.d.ts +2 -2
  24. package/dist/models/StoreSpecialDateResource.js +3 -1
  25. package/dist/models/TransactionLiteResource.d.ts +0 -6
  26. package/dist/models/TransactionLiteResource.js +0 -2
  27. package/dist/models/index.d.ts +1 -3
  28. package/dist/models/index.js +1 -3
  29. package/docs/AddressResource.md +0 -2
  30. package/docs/AdminNoteResource.md +4 -0
  31. package/docs/AdminOrderResource.md +1 -1
  32. package/docs/CartResource.md +1 -1
  33. package/docs/CustomerListResource.md +2 -0
  34. package/docs/{TransactionListResourceArrayResponse.md → OrderOmnisendEvent.md} +4 -6
  35. package/docs/StoreSpecialDateFrontendResource.md +1 -1
  36. package/docs/StoreSpecialDateResource.md +1 -1
  37. package/docs/TransactionLiteResource.md +0 -2
  38. package/docs/TransactionsApi.md +3 -3
  39. package/package.json +1 -1
  40. package/src/apis/TransactionsApi.ts +7 -7
  41. package/src/models/AddressResource.ts +6 -12
  42. package/src/models/AdminNoteResource.ts +18 -0
  43. package/src/models/AdminOrderResource.ts +11 -11
  44. package/src/models/CartResource.ts +11 -11
  45. package/src/models/CustomerListResource.ts +16 -0
  46. package/src/models/OrderOmnisendEvent.ts +53 -0
  47. package/src/models/StoreFrontendResource.ts +3 -2
  48. package/src/models/StoreListResource.ts +3 -2
  49. package/src/models/StoreSpecialDateFrontendResource.ts +3 -4
  50. package/src/models/StoreSpecialDateResource.ts +4 -3
  51. package/src/models/TransactionLiteResource.ts +0 -8
  52. package/src/models/index.ts +1 -3
  53. package/dist/models/PaginatedTransactionListResourceResponse.d.ts +0 -40
  54. package/dist/models/PaginatedTransactionListResourceResponse.js +0 -57
  55. package/dist/models/TransactionListResource.d.ts +0 -80
  56. package/dist/models/TransactionListResource.js +0 -81
  57. package/dist/models/TransactionListResourceArrayResponse.d.ts +0 -33
  58. package/dist/models/TransactionListResourceArrayResponse.js +0 -50
  59. package/docs/PaginatedTransactionListResourceResponse.md +0 -36
  60. package/docs/TransactionListResource.md +0 -50
  61. package/src/models/PaginatedTransactionListResourceResponse.ts +0 -90
  62. package/src/models/TransactionListResource.ts +0 -137
  63. package/src/models/TransactionListResourceArrayResponse.ts +0 -73
@@ -1,137 +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 TransactionListResource
20
- */
21
- export interface TransactionListResource {
22
- /**
23
- *
24
- * @type {number}
25
- * @memberof TransactionListResource
26
- */
27
- id: number;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof TransactionListResource
32
- */
33
- paymentSource: string;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof TransactionListResource
38
- */
39
- paymentMethod: string;
40
- /**
41
- *
42
- * @type {string}
43
- * @memberof TransactionListResource
44
- */
45
- type: string;
46
- /**
47
- *
48
- * @type {string}
49
- * @memberof TransactionListResource
50
- */
51
- status: string;
52
- /**
53
- *
54
- * @type {number}
55
- * @memberof TransactionListResource
56
- */
57
- totalAmount: number;
58
- /**
59
- *
60
- * @type {number}
61
- * @memberof TransactionListResource
62
- */
63
- refundedAmount: number;
64
- /**
65
- *
66
- * @type {string}
67
- * @memberof TransactionListResource
68
- */
69
- reference: string;
70
- /**
71
- *
72
- * @type {Date}
73
- * @memberof TransactionListResource
74
- */
75
- createdAt?: Date | null;
76
- }
77
-
78
- /**
79
- * Check if a given object implements the TransactionListResource interface.
80
- */
81
- export function instanceOfTransactionListResource(value: object): value is TransactionListResource {
82
- if (!('id' in value) || value['id'] === undefined) return false;
83
- if (!('paymentSource' in value) || value['paymentSource'] === undefined) return false;
84
- if (!('paymentMethod' in value) || value['paymentMethod'] === undefined) return false;
85
- if (!('type' in value) || value['type'] === undefined) return false;
86
- if (!('status' in value) || value['status'] === undefined) return false;
87
- if (!('totalAmount' in value) || value['totalAmount'] === undefined) return false;
88
- if (!('refundedAmount' in value) || value['refundedAmount'] === undefined) return false;
89
- if (!('reference' in value) || value['reference'] === undefined) return false;
90
- return true;
91
- }
92
-
93
- export function TransactionListResourceFromJSON(json: any): TransactionListResource {
94
- return TransactionListResourceFromJSONTyped(json, false);
95
- }
96
-
97
- export function TransactionListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionListResource {
98
- if (json == null) {
99
- return json;
100
- }
101
- return {
102
-
103
- 'id': json['id'],
104
- 'paymentSource': json['paymentSource'],
105
- 'paymentMethod': json['paymentMethod'],
106
- 'type': json['type'],
107
- 'status': json['status'],
108
- 'totalAmount': json['totalAmount'],
109
- 'refundedAmount': json['refundedAmount'],
110
- 'reference': json['reference'],
111
- 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
112
- };
113
- }
114
-
115
- export function TransactionListResourceToJSON(json: any): TransactionListResource {
116
- return TransactionListResourceToJSONTyped(json, false);
117
- }
118
-
119
- export function TransactionListResourceToJSONTyped(value?: TransactionListResource | null, ignoreDiscriminator: boolean = false): any {
120
- if (value == null) {
121
- return value;
122
- }
123
-
124
- return {
125
-
126
- 'id': value['id'],
127
- 'paymentSource': value['paymentSource'],
128
- 'paymentMethod': value['paymentMethod'],
129
- 'type': value['type'],
130
- 'status': value['status'],
131
- 'totalAmount': value['totalAmount'],
132
- 'refundedAmount': value['refundedAmount'],
133
- 'reference': value['reference'],
134
- 'createdAt': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
135
- };
136
- }
137
-
@@ -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 { TransactionListResource } from './TransactionListResource';
17
- import {
18
- TransactionListResourceFromJSON,
19
- TransactionListResourceFromJSONTyped,
20
- TransactionListResourceToJSON,
21
- TransactionListResourceToJSONTyped,
22
- } from './TransactionListResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface TransactionListResourceArrayResponse
28
- */
29
- export interface TransactionListResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<TransactionListResource>}
33
- * @memberof TransactionListResourceArrayResponse
34
- */
35
- data?: Array<TransactionListResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the TransactionListResourceArrayResponse interface.
40
- */
41
- export function instanceOfTransactionListResourceArrayResponse(value: object): value is TransactionListResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function TransactionListResourceArrayResponseFromJSON(json: any): TransactionListResourceArrayResponse {
46
- return TransactionListResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function TransactionListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionListResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(TransactionListResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function TransactionListResourceArrayResponseToJSON(json: any): TransactionListResourceArrayResponse {
60
- return TransactionListResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function TransactionListResourceArrayResponseToJSONTyped(value?: TransactionListResourceArrayResponse | 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(TransactionListResourceToJSON)),
71
- };
72
- }
73
-