@digital8/lighting-illusions-ts-sdk 0.0.1952 → 0.0.1953
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.
- package/.openapi-generator/FILES +6 -4
- package/README.md +5 -4
- package/dist/apis/TransactionsApi.d.ts +3 -3
- package/dist/apis/TransactionsApi.js +2 -2
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +1 -3
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/OrderListResource.d.ts +0 -7
- package/dist/models/OrderListResource.js +0 -5
- package/dist/models/PaginatedTransactionListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedTransactionListResourceResponse.js +57 -0
- package/dist/models/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.js +1 -3
- package/dist/models/StoreListResource.d.ts +2 -2
- package/dist/models/StoreListResource.js +6 -2
- package/dist/models/StoreResource.d.ts +2 -2
- package/dist/models/StoreResource.js +4 -4
- package/dist/models/TransactionListResource.d.ts +152 -0
- package/dist/models/TransactionListResource.js +109 -0
- package/dist/models/TransactionListResourceArrayResponse.d.ts +33 -0
- package/dist/models/TransactionListResourceArrayResponse.js +50 -0
- package/dist/models/TransactionResource.d.ts +24 -0
- package/dist/models/TransactionResource.js +8 -0
- package/dist/models/index.d.ts +3 -2
- package/dist/models/index.js +3 -2
- package/docs/OrderListResource.md +0 -2
- package/docs/PaginatedTransactionListResourceResponse.md +36 -0
- package/docs/{TransactionLiteResource.md → TransactionListResource.md} +30 -4
- package/docs/{TransactionLiteResourceArrayResponse.md → TransactionListResourceArrayResponse.md} +5 -5
- package/docs/TransactionResource.md +8 -0
- package/docs/TransactionsApi.md +3 -3
- package/package.json +1 -1
- package/src/apis/TransactionsApi.ts +7 -7
- package/src/models/AddressFrontendResource.ts +2 -3
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/OrderListResource.ts +0 -16
- package/src/models/PaginatedTransactionListResourceResponse.ts +90 -0
- package/src/models/StoreFrontendResource.ts +2 -3
- package/src/models/StoreListResource.ts +6 -4
- package/src/models/StoreResource.ts +5 -5
- package/src/models/TransactionListResource.ts +235 -0
- package/src/models/TransactionListResourceArrayResponse.ts +73 -0
- package/src/models/TransactionResource.ts +32 -0
- package/src/models/index.ts +3 -2
- package/dist/models/TransactionLiteResource.d.ts +0 -74
- package/dist/models/TransactionLiteResource.js +0 -77
- package/dist/models/TransactionLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/TransactionLiteResourceArrayResponse.js +0 -50
- package/src/models/TransactionLiteResource.ts +0 -128
- package/src/models/TransactionLiteResourceArrayResponse.ts +0 -73
|
@@ -1,74 +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 TransactionLiteResource
|
|
16
|
-
*/
|
|
17
|
-
export interface TransactionLiteResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof TransactionLiteResource
|
|
22
|
-
*/
|
|
23
|
-
paymentMethod: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof TransactionLiteResource
|
|
28
|
-
*/
|
|
29
|
-
type: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof TransactionLiteResource
|
|
34
|
-
*/
|
|
35
|
-
status: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof TransactionLiteResource
|
|
40
|
-
*/
|
|
41
|
-
amount: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof TransactionLiteResource
|
|
46
|
-
*/
|
|
47
|
-
surcharge: number;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof TransactionLiteResource
|
|
52
|
-
*/
|
|
53
|
-
totalAmount: number;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof TransactionLiteResource
|
|
58
|
-
*/
|
|
59
|
-
reference: string;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {Date}
|
|
63
|
-
* @memberof TransactionLiteResource
|
|
64
|
-
*/
|
|
65
|
-
createdAt?: Date | null;
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* Check if a given object implements the TransactionLiteResource interface.
|
|
69
|
-
*/
|
|
70
|
-
export declare function instanceOfTransactionLiteResource(value: object): value is TransactionLiteResource;
|
|
71
|
-
export declare function TransactionLiteResourceFromJSON(json: any): TransactionLiteResource;
|
|
72
|
-
export declare function TransactionLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionLiteResource;
|
|
73
|
-
export declare function TransactionLiteResourceToJSON(json: any): TransactionLiteResource;
|
|
74
|
-
export declare function TransactionLiteResourceToJSONTyped(value?: TransactionLiteResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,77 +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.instanceOfTransactionLiteResource = instanceOfTransactionLiteResource;
|
|
17
|
-
exports.TransactionLiteResourceFromJSON = TransactionLiteResourceFromJSON;
|
|
18
|
-
exports.TransactionLiteResourceFromJSONTyped = TransactionLiteResourceFromJSONTyped;
|
|
19
|
-
exports.TransactionLiteResourceToJSON = TransactionLiteResourceToJSON;
|
|
20
|
-
exports.TransactionLiteResourceToJSONTyped = TransactionLiteResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the TransactionLiteResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfTransactionLiteResource(value) {
|
|
25
|
-
if (!('paymentMethod' in value) || value['paymentMethod'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('type' in value) || value['type'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('status' in value) || value['status'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('amount' in value) || value['amount'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('surcharge' in value) || value['surcharge'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
if (!('totalAmount' in value) || value['totalAmount'] === undefined)
|
|
36
|
-
return false;
|
|
37
|
-
if (!('reference' in value) || value['reference'] === undefined)
|
|
38
|
-
return false;
|
|
39
|
-
return true;
|
|
40
|
-
}
|
|
41
|
-
function TransactionLiteResourceFromJSON(json) {
|
|
42
|
-
return TransactionLiteResourceFromJSONTyped(json, false);
|
|
43
|
-
}
|
|
44
|
-
function TransactionLiteResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
-
if (json == null) {
|
|
46
|
-
return json;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'paymentMethod': json['payment_method'],
|
|
50
|
-
'type': json['type'],
|
|
51
|
-
'status': json['status'],
|
|
52
|
-
'amount': json['amount'],
|
|
53
|
-
'surcharge': json['surcharge'],
|
|
54
|
-
'totalAmount': json['total_amount'],
|
|
55
|
-
'reference': json['reference'],
|
|
56
|
-
'createdAt': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
function TransactionLiteResourceToJSON(json) {
|
|
60
|
-
return TransactionLiteResourceToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
function TransactionLiteResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
63
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
64
|
-
if (value == null) {
|
|
65
|
-
return value;
|
|
66
|
-
}
|
|
67
|
-
return {
|
|
68
|
-
'payment_method': value['paymentMethod'],
|
|
69
|
-
'type': value['type'],
|
|
70
|
-
'status': value['status'],
|
|
71
|
-
'amount': value['amount'],
|
|
72
|
-
'surcharge': value['surcharge'],
|
|
73
|
-
'total_amount': value['totalAmount'],
|
|
74
|
-
'reference': value['reference'],
|
|
75
|
-
'created_at': value['createdAt'] == null ? value['createdAt'] : value['createdAt'].toISOString(),
|
|
76
|
-
};
|
|
77
|
-
}
|
|
@@ -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 { TransactionLiteResource } from './TransactionLiteResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface TransactionLiteResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface TransactionLiteResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<TransactionLiteResource>}
|
|
22
|
-
* @memberof TransactionLiteResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<TransactionLiteResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the TransactionLiteResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfTransactionLiteResourceArrayResponse(value: object): value is TransactionLiteResourceArrayResponse;
|
|
30
|
-
export declare function TransactionLiteResourceArrayResponseFromJSON(json: any): TransactionLiteResourceArrayResponse;
|
|
31
|
-
export declare function TransactionLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionLiteResourceArrayResponse;
|
|
32
|
-
export declare function TransactionLiteResourceArrayResponseToJSON(json: any): TransactionLiteResourceArrayResponse;
|
|
33
|
-
export declare function TransactionLiteResourceArrayResponseToJSONTyped(value?: TransactionLiteResourceArrayResponse | 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.instanceOfTransactionLiteResourceArrayResponse = instanceOfTransactionLiteResourceArrayResponse;
|
|
17
|
-
exports.TransactionLiteResourceArrayResponseFromJSON = TransactionLiteResourceArrayResponseFromJSON;
|
|
18
|
-
exports.TransactionLiteResourceArrayResponseFromJSONTyped = TransactionLiteResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.TransactionLiteResourceArrayResponseToJSON = TransactionLiteResourceArrayResponseToJSON;
|
|
20
|
-
exports.TransactionLiteResourceArrayResponseToJSONTyped = TransactionLiteResourceArrayResponseToJSONTyped;
|
|
21
|
-
var TransactionLiteResource_1 = require("./TransactionLiteResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the TransactionLiteResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfTransactionLiteResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function TransactionLiteResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return TransactionLiteResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function TransactionLiteResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(TransactionLiteResource_1.TransactionLiteResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function TransactionLiteResourceArrayResponseToJSON(json) {
|
|
40
|
-
return TransactionLiteResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function TransactionLiteResourceArrayResponseToJSONTyped(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(TransactionLiteResource_1.TransactionLiteResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,128 +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 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
|
-
|
|
@@ -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 { 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
|
-
|