@digital8/lighting-illusions-ts-sdk 0.0.1951 → 0.0.1952

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 (82) hide show
  1. package/.openapi-generator/FILES +26 -0
  2. package/README.md +17 -2
  3. package/dist/apis/TransactionsApi.d.ts +69 -0
  4. package/dist/apis/TransactionsApi.js +262 -0
  5. package/dist/apis/index.d.ts +1 -0
  6. package/dist/apis/index.js +1 -0
  7. package/dist/models/AddressFrontendResource.d.ts +1 -1
  8. package/dist/models/AddressFrontendResource.js +3 -1
  9. package/dist/models/AddressResource.d.ts +2 -2
  10. package/dist/models/AddressResource.js +6 -2
  11. package/dist/models/IndexTransactionRequest.d.ts +127 -0
  12. package/dist/models/IndexTransactionRequest.js +91 -0
  13. package/dist/models/OrderListResource.d.ts +7 -0
  14. package/dist/models/OrderListResource.js +5 -0
  15. package/dist/models/PaginatedTransactionResourceResponse.d.ts +40 -0
  16. package/dist/models/PaginatedTransactionResourceResponse.js +57 -0
  17. package/dist/models/PaymentMethod.d.ts +30 -0
  18. package/dist/models/PaymentMethod.js +56 -0
  19. package/dist/models/PaymentSource.d.ts +26 -0
  20. package/dist/models/PaymentSource.js +52 -0
  21. package/dist/models/PaymentStatus.d.ts +25 -0
  22. package/dist/models/PaymentStatus.js +51 -0
  23. package/dist/models/RefundTransactionRequest.d.ts +38 -0
  24. package/dist/models/RefundTransactionRequest.js +53 -0
  25. package/dist/models/StoreListResource.d.ts +1 -1
  26. package/dist/models/StoreListResource.js +1 -3
  27. package/dist/models/StoreTransactionRequest.d.ts +81 -0
  28. package/dist/models/StoreTransactionRequest.js +78 -0
  29. package/dist/models/TransactionLiteResource.d.ts +74 -0
  30. package/dist/models/TransactionLiteResource.js +77 -0
  31. package/dist/models/TransactionLiteResourceArrayResponse.d.ts +33 -0
  32. package/dist/models/TransactionLiteResourceArrayResponse.js +50 -0
  33. package/dist/models/TransactionResource.d.ts +128 -0
  34. package/dist/models/TransactionResource.js +101 -0
  35. package/dist/models/TransactionResourceArrayResponse.d.ts +33 -0
  36. package/dist/models/TransactionResourceArrayResponse.js +50 -0
  37. package/dist/models/TransactionType.d.ts +25 -0
  38. package/dist/models/TransactionType.js +51 -0
  39. package/dist/models/UpdateOrderRequestBillingAddress.d.ts +6 -0
  40. package/dist/models/UpdateOrderRequestBillingAddress.js +2 -0
  41. package/dist/models/UpdateOrderRequestShippingAddress.d.ts +7 -1
  42. package/dist/models/UpdateOrderRequestShippingAddress.js +5 -1
  43. package/dist/models/index.d.ts +12 -0
  44. package/dist/models/index.js +12 -0
  45. package/docs/IndexTransactionRequest.md +60 -0
  46. package/docs/OrderListResource.md +2 -0
  47. package/docs/PaginatedTransactionResourceResponse.md +36 -0
  48. package/docs/PaymentMethod.md +32 -0
  49. package/docs/PaymentSource.md +32 -0
  50. package/docs/PaymentStatus.md +32 -0
  51. package/docs/RefundTransactionRequest.md +36 -0
  52. package/docs/StoreTransactionRequest.md +46 -0
  53. package/docs/TransactionLiteResource.md +48 -0
  54. package/docs/TransactionLiteResourceArrayResponse.md +34 -0
  55. package/docs/TransactionResource.md +66 -0
  56. package/docs/TransactionResourceArrayResponse.md +34 -0
  57. package/docs/TransactionType.md +32 -0
  58. package/docs/TransactionsApi.md +209 -0
  59. package/docs/UpdateOrderRequestBillingAddress.md +2 -0
  60. package/docs/UpdateOrderRequestShippingAddress.md +2 -0
  61. package/package.json +1 -1
  62. package/src/apis/TransactionsApi.ts +193 -0
  63. package/src/apis/index.ts +1 -0
  64. package/src/models/AddressFrontendResource.ts +3 -2
  65. package/src/models/AddressResource.ts +6 -4
  66. package/src/models/IndexTransactionRequest.ts +190 -0
  67. package/src/models/OrderListResource.ts +16 -0
  68. package/src/models/PaginatedTransactionResourceResponse.ts +90 -0
  69. package/src/models/PaymentMethod.ts +58 -0
  70. package/src/models/PaymentSource.ts +54 -0
  71. package/src/models/PaymentStatus.ts +53 -0
  72. package/src/models/RefundTransactionRequest.ts +74 -0
  73. package/src/models/StoreListResource.ts +2 -3
  74. package/src/models/StoreTransactionRequest.ts +131 -0
  75. package/src/models/TransactionLiteResource.ts +128 -0
  76. package/src/models/TransactionLiteResourceArrayResponse.ts +73 -0
  77. package/src/models/TransactionResource.ts +203 -0
  78. package/src/models/TransactionResourceArrayResponse.ts +73 -0
  79. package/src/models/TransactionType.ts +53 -0
  80. package/src/models/UpdateOrderRequestBillingAddress.ts +8 -0
  81. package/src/models/UpdateOrderRequestShippingAddress.ts +11 -2
  82. package/src/models/index.ts +12 -0
@@ -0,0 +1,54 @@
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 PaymentSource = {
21
+ Checkout: 'checkout',
22
+ ExpressCheckout: 'express_checkout',
23
+ AdminPortal: 'admin_portal'
24
+ } as const;
25
+ export type PaymentSource = typeof PaymentSource[keyof typeof PaymentSource];
26
+
27
+
28
+ export function instanceOfPaymentSource(value: any): boolean {
29
+ for (const key in PaymentSource) {
30
+ if (Object.prototype.hasOwnProperty.call(PaymentSource, key)) {
31
+ if (PaymentSource[key as keyof typeof PaymentSource] === value) {
32
+ return true;
33
+ }
34
+ }
35
+ }
36
+ return false;
37
+ }
38
+
39
+ export function PaymentSourceFromJSON(json: any): PaymentSource {
40
+ return PaymentSourceFromJSONTyped(json, false);
41
+ }
42
+
43
+ export function PaymentSourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentSource {
44
+ return json as PaymentSource;
45
+ }
46
+
47
+ export function PaymentSourceToJSON(value?: PaymentSource | null): any {
48
+ return value as any;
49
+ }
50
+
51
+ export function PaymentSourceToJSONTyped(value: any, ignoreDiscriminator: boolean): PaymentSource {
52
+ return value as PaymentSource;
53
+ }
54
+
@@ -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 PaymentStatus = {
21
+ Success: 'success',
22
+ Failure: 'failure'
23
+ } as const;
24
+ export type PaymentStatus = typeof PaymentStatus[keyof typeof PaymentStatus];
25
+
26
+
27
+ export function instanceOfPaymentStatus(value: any): boolean {
28
+ for (const key in PaymentStatus) {
29
+ if (Object.prototype.hasOwnProperty.call(PaymentStatus, key)) {
30
+ if (PaymentStatus[key as keyof typeof PaymentStatus] === value) {
31
+ return true;
32
+ }
33
+ }
34
+ }
35
+ return false;
36
+ }
37
+
38
+ export function PaymentStatusFromJSON(json: any): PaymentStatus {
39
+ return PaymentStatusFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function PaymentStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaymentStatus {
43
+ return json as PaymentStatus;
44
+ }
45
+
46
+ export function PaymentStatusToJSON(value?: PaymentStatus | null): any {
47
+ return value as any;
48
+ }
49
+
50
+ export function PaymentStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): PaymentStatus {
51
+ return value as PaymentStatus;
52
+ }
53
+
@@ -0,0 +1,74 @@
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 RefundTransactionRequest
20
+ */
21
+ export interface RefundTransactionRequest {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof RefundTransactionRequest
26
+ */
27
+ amount: number;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof RefundTransactionRequest
32
+ */
33
+ description?: string | null;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the RefundTransactionRequest interface.
38
+ */
39
+ export function instanceOfRefundTransactionRequest(value: object): value is RefundTransactionRequest {
40
+ if (!('amount' in value) || value['amount'] === undefined) return false;
41
+ return true;
42
+ }
43
+
44
+ export function RefundTransactionRequestFromJSON(json: any): RefundTransactionRequest {
45
+ return RefundTransactionRequestFromJSONTyped(json, false);
46
+ }
47
+
48
+ export function RefundTransactionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RefundTransactionRequest {
49
+ if (json == null) {
50
+ return json;
51
+ }
52
+ return {
53
+
54
+ 'amount': json['amount'],
55
+ 'description': json['description'] == null ? undefined : json['description'],
56
+ };
57
+ }
58
+
59
+ export function RefundTransactionRequestToJSON(json: any): RefundTransactionRequest {
60
+ return RefundTransactionRequestToJSONTyped(json, false);
61
+ }
62
+
63
+ export function RefundTransactionRequestToJSONTyped(value?: RefundTransactionRequest | null, ignoreDiscriminator: boolean = false): any {
64
+ if (value == null) {
65
+ return value;
66
+ }
67
+
68
+ return {
69
+
70
+ 'amount': value['amount'],
71
+ 'description': value['description'],
72
+ };
73
+ }
74
+
@@ -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}
@@ -98,7 +98,6 @@ export function instanceOfStoreListResource(value: object): value is StoreListRe
98
98
  if (!('phone' in value) || value['phone'] === undefined) return false;
99
99
  if (!('longitude' in value) || value['longitude'] === undefined) return false;
100
100
  if (!('latitude' in value) || value['latitude'] === undefined) return false;
101
- if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
102
101
  if (!('email' in value) || value['email'] === undefined) return false;
103
102
  return true;
104
103
  }
@@ -119,7 +118,7 @@ export function StoreListResourceFromJSONTyped(json: any, ignoreDiscriminator: b
119
118
  'phone': json['phone'],
120
119
  'longitude': json['longitude'],
121
120
  'latitude': json['latitude'],
122
- 'tagLine': json['tag_line'],
121
+ 'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
123
122
  'email': json['email'],
124
123
  'website': json['website'] == null ? undefined : json['website'],
125
124
  'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
@@ -0,0 +1,131 @@
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 StoreTransactionRequest
20
+ */
21
+ export interface StoreTransactionRequest {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof StoreTransactionRequest
26
+ */
27
+ cartId?: number | null;
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof StoreTransactionRequest
32
+ */
33
+ orderId?: number | null;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof StoreTransactionRequest
38
+ */
39
+ amount?: number | null;
40
+ /**
41
+ *
42
+ * @type {number}
43
+ * @memberof StoreTransactionRequest
44
+ */
45
+ surcharge: number;
46
+ /**
47
+ *
48
+ * @type {StoreTransactionRequestPaymentMethodEnum}
49
+ * @memberof StoreTransactionRequest
50
+ */
51
+ paymentMethod: StoreTransactionRequestPaymentMethodEnum;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof StoreTransactionRequest
56
+ */
57
+ nonce?: string | null;
58
+ /**
59
+ *
60
+ * @type {string}
61
+ * @memberof StoreTransactionRequest
62
+ */
63
+ deviceData?: string | null;
64
+ }
65
+
66
+
67
+ /**
68
+ * @export
69
+ */
70
+ export const StoreTransactionRequestPaymentMethodEnum = {
71
+ BankDeposit: 'bank_deposit',
72
+ Visa: 'visa',
73
+ Mastercard: 'mastercard',
74
+ AmericanExpress: 'american_express',
75
+ GooglePay: 'google_pay',
76
+ PayPal: 'pay_pal',
77
+ ApplePay: 'apple_pay'
78
+ } as const;
79
+ export type StoreTransactionRequestPaymentMethodEnum = typeof StoreTransactionRequestPaymentMethodEnum[keyof typeof StoreTransactionRequestPaymentMethodEnum];
80
+
81
+
82
+ /**
83
+ * Check if a given object implements the StoreTransactionRequest interface.
84
+ */
85
+ export function instanceOfStoreTransactionRequest(value: object): value is StoreTransactionRequest {
86
+ if (!('surcharge' in value) || value['surcharge'] === undefined) return false;
87
+ if (!('paymentMethod' in value) || value['paymentMethod'] === undefined) return false;
88
+ return true;
89
+ }
90
+
91
+ export function StoreTransactionRequestFromJSON(json: any): StoreTransactionRequest {
92
+ return StoreTransactionRequestFromJSONTyped(json, false);
93
+ }
94
+
95
+ export function StoreTransactionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreTransactionRequest {
96
+ if (json == null) {
97
+ return json;
98
+ }
99
+ return {
100
+
101
+ 'cartId': json['cart_id'] == null ? undefined : json['cart_id'],
102
+ 'orderId': json['order_id'] == null ? undefined : json['order_id'],
103
+ 'amount': json['amount'] == null ? undefined : json['amount'],
104
+ 'surcharge': json['surcharge'],
105
+ 'paymentMethod': json['payment_method'],
106
+ 'nonce': json['nonce'] == null ? undefined : json['nonce'],
107
+ 'deviceData': json['device_data'] == null ? undefined : json['device_data'],
108
+ };
109
+ }
110
+
111
+ export function StoreTransactionRequestToJSON(json: any): StoreTransactionRequest {
112
+ return StoreTransactionRequestToJSONTyped(json, false);
113
+ }
114
+
115
+ export function StoreTransactionRequestToJSONTyped(value?: StoreTransactionRequest | null, ignoreDiscriminator: boolean = false): any {
116
+ if (value == null) {
117
+ return value;
118
+ }
119
+
120
+ return {
121
+
122
+ 'cart_id': value['cartId'],
123
+ 'order_id': value['orderId'],
124
+ 'amount': value['amount'],
125
+ 'surcharge': value['surcharge'],
126
+ 'payment_method': value['paymentMethod'],
127
+ 'nonce': value['nonce'],
128
+ 'device_data': value['deviceData'],
129
+ };
130
+ }
131
+
@@ -0,0 +1,128 @@
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 TransactionLiteResource
20
+ */
21
+ export interface TransactionLiteResource {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof TransactionLiteResource
26
+ */
27
+ paymentMethod: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof TransactionLiteResource
32
+ */
33
+ type: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof TransactionLiteResource
38
+ */
39
+ status: string;
40
+ /**
41
+ *
42
+ * @type {number}
43
+ * @memberof TransactionLiteResource
44
+ */
45
+ amount: number;
46
+ /**
47
+ *
48
+ * @type {number}
49
+ * @memberof TransactionLiteResource
50
+ */
51
+ surcharge: number;
52
+ /**
53
+ *
54
+ * @type {number}
55
+ * @memberof TransactionLiteResource
56
+ */
57
+ totalAmount: number;
58
+ /**
59
+ *
60
+ * @type {string}
61
+ * @memberof TransactionLiteResource
62
+ */
63
+ reference: string;
64
+ /**
65
+ *
66
+ * @type {Date}
67
+ * @memberof TransactionLiteResource
68
+ */
69
+ createdAt?: Date | null;
70
+ }
71
+
72
+ /**
73
+ * Check if a given object implements the TransactionLiteResource interface.
74
+ */
75
+ export function instanceOfTransactionLiteResource(value: object): value is TransactionLiteResource {
76
+ if (!('paymentMethod' in value) || value['paymentMethod'] === undefined) return false;
77
+ if (!('type' in value) || value['type'] === undefined) return false;
78
+ if (!('status' in value) || value['status'] === undefined) return false;
79
+ if (!('amount' in value) || value['amount'] === undefined) return false;
80
+ if (!('surcharge' in value) || value['surcharge'] === undefined) return false;
81
+ if (!('totalAmount' in value) || value['totalAmount'] === undefined) return false;
82
+ if (!('reference' in value) || value['reference'] === undefined) return false;
83
+ return true;
84
+ }
85
+
86
+ export function TransactionLiteResourceFromJSON(json: any): TransactionLiteResource {
87
+ return TransactionLiteResourceFromJSONTyped(json, false);
88
+ }
89
+
90
+ export function TransactionLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionLiteResource {
91
+ if (json == null) {
92
+ return json;
93
+ }
94
+ return {
95
+
96
+ 'paymentMethod': json['payment_method'],
97
+ 'type': json['type'],
98
+ 'status': json['status'],
99
+ 'amount': json['amount'],
100
+ 'surcharge': json['surcharge'],
101
+ 'totalAmount': json['total_amount'],
102
+ 'reference': json['reference'],
103
+ 'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
104
+ };
105
+ }
106
+
107
+ export function TransactionLiteResourceToJSON(json: any): TransactionLiteResource {
108
+ return TransactionLiteResourceToJSONTyped(json, false);
109
+ }
110
+
111
+ export function TransactionLiteResourceToJSONTyped(value?: TransactionLiteResource | null, ignoreDiscriminator: boolean = false): any {
112
+ if (value == null) {
113
+ return value;
114
+ }
115
+
116
+ return {
117
+
118
+ 'payment_method': value['paymentMethod'],
119
+ 'type': value['type'],
120
+ 'status': value['status'],
121
+ 'amount': value['amount'],
122
+ 'surcharge': value['surcharge'],
123
+ 'total_amount': value['totalAmount'],
124
+ 'reference': value['reference'],
125
+ 'created_at': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
126
+ };
127
+ }
128
+
@@ -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 { TransactionLiteResource } from './TransactionLiteResource';
17
+ import {
18
+ TransactionLiteResourceFromJSON,
19
+ TransactionLiteResourceFromJSONTyped,
20
+ TransactionLiteResourceToJSON,
21
+ TransactionLiteResourceToJSONTyped,
22
+ } from './TransactionLiteResource';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface TransactionLiteResourceArrayResponse
28
+ */
29
+ export interface TransactionLiteResourceArrayResponse {
30
+ /**
31
+ *
32
+ * @type {Array<TransactionLiteResource>}
33
+ * @memberof TransactionLiteResourceArrayResponse
34
+ */
35
+ data?: Array<TransactionLiteResource>;
36
+ }
37
+
38
+ /**
39
+ * Check if a given object implements the TransactionLiteResourceArrayResponse interface.
40
+ */
41
+ export function instanceOfTransactionLiteResourceArrayResponse(value: object): value is TransactionLiteResourceArrayResponse {
42
+ return true;
43
+ }
44
+
45
+ export function TransactionLiteResourceArrayResponseFromJSON(json: any): TransactionLiteResourceArrayResponse {
46
+ return TransactionLiteResourceArrayResponseFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function TransactionLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionLiteResourceArrayResponse {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(TransactionLiteResourceFromJSON)),
56
+ };
57
+ }
58
+
59
+ export function TransactionLiteResourceArrayResponseToJSON(json: any): TransactionLiteResourceArrayResponse {
60
+ return TransactionLiteResourceArrayResponseToJSONTyped(json, false);
61
+ }
62
+
63
+ export function TransactionLiteResourceArrayResponseToJSONTyped(value?: TransactionLiteResourceArrayResponse | 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(TransactionLiteResourceToJSON)),
71
+ };
72
+ }
73
+