@channelpayments/node-sdk 1.192.0 → 1.194.0
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/dist/cjs/models/CheckoutSessionBaseEntity.d.ts +15 -0
- package/dist/cjs/models/CheckoutSessionBaseEntity.js +11 -1
- package/dist/cjs/models/CheckoutSessionEntity.d.ts +15 -0
- package/dist/cjs/models/CheckoutSessionEntity.js +11 -1
- package/dist/cjs/models/CreateTransactionsReportDto.d.ts +112 -0
- package/dist/cjs/models/CreateTransactionsReportDto.js +99 -0
- package/dist/cjs/models/CreateTransactionsReportsFiltersDto.d.ts +151 -0
- package/dist/cjs/models/CreateTransactionsReportsFiltersDto.js +126 -0
- package/dist/cjs/models/CreateTransactionsReportsScheduleDto.d.ts +121 -0
- package/dist/cjs/models/CreateTransactionsReportsScheduleDto.js +107 -0
- package/dist/cjs/models/CreateTransactionsReportsTemplateDto.d.ts +94 -0
- package/dist/cjs/models/CreateTransactionsReportsTemplateDto.js +90 -0
- package/dist/cjs/models/ReportCreatorEntity.d.ts +32 -0
- package/dist/cjs/models/ReportCreatorEntity.js +49 -0
- package/dist/cjs/models/TransactionsRecordEntity.d.ts +303 -0
- package/dist/cjs/models/TransactionsRecordEntity.js +188 -0
- package/dist/cjs/models/TransactionsReportEntity.d.ts +171 -0
- package/dist/cjs/models/TransactionsReportEntity.js +133 -0
- package/dist/cjs/models/TransactionsReportScheduleEntity.d.ts +176 -0
- package/dist/cjs/models/TransactionsReportScheduleEntity.js +131 -0
- package/dist/cjs/models/TransactionsReportSchedulesSearchQueryResponseEntity.d.ts +69 -0
- package/dist/cjs/models/TransactionsReportSchedulesSearchQueryResponseEntity.js +66 -0
- package/dist/cjs/models/TransactionsReportTemplateEntity.d.ts +156 -0
- package/dist/cjs/models/TransactionsReportTemplateEntity.js +121 -0
- package/dist/cjs/models/TransactionsReportTemplatesSearchQueryResponseEntity.d.ts +69 -0
- package/dist/cjs/models/TransactionsReportTemplatesSearchQueryResponseEntity.js +66 -0
- package/dist/cjs/models/TransactionsReportsFiltersEntity.d.ts +151 -0
- package/dist/cjs/models/TransactionsReportsFiltersEntity.js +126 -0
- package/dist/cjs/models/TransactionsReportsSearchQueryResponseEntity.d.ts +69 -0
- package/dist/cjs/models/TransactionsReportsSearchQueryResponseEntity.js +66 -0
- package/dist/cjs/models/UpdateTransactionsReportsScheduleDto.d.ts +127 -0
- package/dist/cjs/models/UpdateTransactionsReportsScheduleDto.js +101 -0
- package/dist/cjs/models/UpdateTransactionsReportsTemplateDto.d.ts +106 -0
- package/dist/cjs/models/UpdateTransactionsReportsTemplateDto.js +89 -0
- package/dist/cjs/models/index.d.ts +15 -0
- package/dist/cjs/models/index.js +15 -0
- package/dist/cjs/runtime.js +1 -1
- package/dist/mjs/models/CheckoutSessionBaseEntity.d.ts +15 -0
- package/dist/mjs/models/CheckoutSessionBaseEntity.js +10 -0
- package/dist/mjs/models/CheckoutSessionEntity.d.ts +15 -0
- package/dist/mjs/models/CheckoutSessionEntity.js +10 -0
- package/dist/mjs/models/CreateTransactionsReportDto.d.ts +112 -0
- package/dist/mjs/models/CreateTransactionsReportDto.js +92 -0
- package/dist/mjs/models/CreateTransactionsReportsFiltersDto.d.ts +151 -0
- package/dist/mjs/models/CreateTransactionsReportsFiltersDto.js +119 -0
- package/dist/mjs/models/CreateTransactionsReportsScheduleDto.d.ts +121 -0
- package/dist/mjs/models/CreateTransactionsReportsScheduleDto.js +100 -0
- package/dist/mjs/models/CreateTransactionsReportsTemplateDto.d.ts +94 -0
- package/dist/mjs/models/CreateTransactionsReportsTemplateDto.js +83 -0
- package/dist/mjs/models/ReportCreatorEntity.d.ts +32 -0
- package/dist/mjs/models/ReportCreatorEntity.js +43 -0
- package/dist/mjs/models/TransactionsRecordEntity.d.ts +303 -0
- package/dist/mjs/models/TransactionsRecordEntity.js +181 -0
- package/dist/mjs/models/TransactionsReportEntity.d.ts +171 -0
- package/dist/mjs/models/TransactionsReportEntity.js +126 -0
- package/dist/mjs/models/TransactionsReportScheduleEntity.d.ts +176 -0
- package/dist/mjs/models/TransactionsReportScheduleEntity.js +124 -0
- package/dist/mjs/models/TransactionsReportSchedulesSearchQueryResponseEntity.d.ts +69 -0
- package/dist/mjs/models/TransactionsReportSchedulesSearchQueryResponseEntity.js +60 -0
- package/dist/mjs/models/TransactionsReportTemplateEntity.d.ts +156 -0
- package/dist/mjs/models/TransactionsReportTemplateEntity.js +114 -0
- package/dist/mjs/models/TransactionsReportTemplatesSearchQueryResponseEntity.d.ts +69 -0
- package/dist/mjs/models/TransactionsReportTemplatesSearchQueryResponseEntity.js +60 -0
- package/dist/mjs/models/TransactionsReportsFiltersEntity.d.ts +151 -0
- package/dist/mjs/models/TransactionsReportsFiltersEntity.js +119 -0
- package/dist/mjs/models/TransactionsReportsSearchQueryResponseEntity.d.ts +69 -0
- package/dist/mjs/models/TransactionsReportsSearchQueryResponseEntity.js +60 -0
- package/dist/mjs/models/UpdateTransactionsReportsScheduleDto.d.ts +127 -0
- package/dist/mjs/models/UpdateTransactionsReportsScheduleDto.js +94 -0
- package/dist/mjs/models/UpdateTransactionsReportsTemplateDto.d.ts +106 -0
- package/dist/mjs/models/UpdateTransactionsReportsTemplateDto.js +82 -0
- package/dist/mjs/models/index.d.ts +15 -0
- package/dist/mjs/models/index.js +15 -0
- package/dist/mjs/runtime.js +1 -1
- package/package.json +1 -1
|
@@ -157,6 +157,12 @@ export interface CheckoutSessionBaseEntity {
|
|
|
157
157
|
* @memberof CheckoutSessionBaseEntity
|
|
158
158
|
*/
|
|
159
159
|
externalBuyerId?: string;
|
|
160
|
+
/**
|
|
161
|
+
* Who should initiate the transaction.
|
|
162
|
+
* @type {string}
|
|
163
|
+
* @memberof CheckoutSessionBaseEntity
|
|
164
|
+
*/
|
|
165
|
+
transactionInitiator?: CheckoutSessionBaseEntityTransactionInitiatorEnum;
|
|
160
166
|
}
|
|
161
167
|
/**
|
|
162
168
|
* @export
|
|
@@ -176,6 +182,15 @@ export declare const CheckoutSessionBaseEntityStatusEnum: {
|
|
|
176
182
|
readonly Completed: "COMPLETED";
|
|
177
183
|
};
|
|
178
184
|
export type CheckoutSessionBaseEntityStatusEnum = typeof CheckoutSessionBaseEntityStatusEnum[keyof typeof CheckoutSessionBaseEntityStatusEnum];
|
|
185
|
+
/**
|
|
186
|
+
* @export
|
|
187
|
+
*/
|
|
188
|
+
export declare const CheckoutSessionBaseEntityTransactionInitiatorEnum: {
|
|
189
|
+
readonly Mit: "MIT";
|
|
190
|
+
readonly Cit: "CIT";
|
|
191
|
+
readonly Sit: "SIT";
|
|
192
|
+
};
|
|
193
|
+
export type CheckoutSessionBaseEntityTransactionInitiatorEnum = typeof CheckoutSessionBaseEntityTransactionInitiatorEnum[keyof typeof CheckoutSessionBaseEntityTransactionInitiatorEnum];
|
|
179
194
|
/**
|
|
180
195
|
* Check if a given object implements the CheckoutSessionBaseEntity interface.
|
|
181
196
|
*/
|
|
@@ -26,6 +26,14 @@ export const CheckoutSessionBaseEntityStatusEnum = {
|
|
|
26
26
|
Expired: 'EXPIRED',
|
|
27
27
|
Completed: 'COMPLETED'
|
|
28
28
|
};
|
|
29
|
+
/**
|
|
30
|
+
* @export
|
|
31
|
+
*/
|
|
32
|
+
export const CheckoutSessionBaseEntityTransactionInitiatorEnum = {
|
|
33
|
+
Mit: 'MIT',
|
|
34
|
+
Cit: 'CIT',
|
|
35
|
+
Sit: 'SIT'
|
|
36
|
+
};
|
|
29
37
|
/**
|
|
30
38
|
* Check if a given object implements the CheckoutSessionBaseEntity interface.
|
|
31
39
|
*/
|
|
@@ -81,6 +89,7 @@ export function CheckoutSessionBaseEntityFromJSONTyped(json, ignoreDiscriminator
|
|
|
81
89
|
'canStore': !exists(json, 'canStore') ? undefined : json['canStore'],
|
|
82
90
|
'buyerId': !exists(json, 'buyerId') ? undefined : json['buyerId'],
|
|
83
91
|
'externalBuyerId': !exists(json, 'externalBuyerId') ? undefined : json['externalBuyerId'],
|
|
92
|
+
'transactionInitiator': !exists(json, 'transactionInitiator') ? undefined : json['transactionInitiator'],
|
|
84
93
|
};
|
|
85
94
|
return removeNullUndefined(typed);
|
|
86
95
|
}
|
|
@@ -116,5 +125,6 @@ export function CheckoutSessionBaseEntityToJSON(value) {
|
|
|
116
125
|
'canStore': value.canStore,
|
|
117
126
|
'buyerId': value.buyerId,
|
|
118
127
|
'externalBuyerId': value.externalBuyerId,
|
|
128
|
+
'transactionInitiator': value.transactionInitiator,
|
|
119
129
|
};
|
|
120
130
|
}
|
|
@@ -157,6 +157,12 @@ export interface CheckoutSessionEntity {
|
|
|
157
157
|
* @memberof CheckoutSessionEntity
|
|
158
158
|
*/
|
|
159
159
|
externalBuyerId?: string;
|
|
160
|
+
/**
|
|
161
|
+
* Who should initiate the transaction.
|
|
162
|
+
* @type {string}
|
|
163
|
+
* @memberof CheckoutSessionEntity
|
|
164
|
+
*/
|
|
165
|
+
transactionInitiator?: CheckoutSessionEntityTransactionInitiatorEnum;
|
|
160
166
|
/**
|
|
161
167
|
*
|
|
162
168
|
* @type {string}
|
|
@@ -200,6 +206,15 @@ export declare const CheckoutSessionEntityStatusEnum: {
|
|
|
200
206
|
readonly Completed: "COMPLETED";
|
|
201
207
|
};
|
|
202
208
|
export type CheckoutSessionEntityStatusEnum = typeof CheckoutSessionEntityStatusEnum[keyof typeof CheckoutSessionEntityStatusEnum];
|
|
209
|
+
/**
|
|
210
|
+
* @export
|
|
211
|
+
*/
|
|
212
|
+
export declare const CheckoutSessionEntityTransactionInitiatorEnum: {
|
|
213
|
+
readonly Mit: "MIT";
|
|
214
|
+
readonly Cit: "CIT";
|
|
215
|
+
readonly Sit: "SIT";
|
|
216
|
+
};
|
|
217
|
+
export type CheckoutSessionEntityTransactionInitiatorEnum = typeof CheckoutSessionEntityTransactionInitiatorEnum[keyof typeof CheckoutSessionEntityTransactionInitiatorEnum];
|
|
203
218
|
/**
|
|
204
219
|
* Check if a given object implements the CheckoutSessionEntity interface.
|
|
205
220
|
*/
|
|
@@ -26,6 +26,14 @@ export const CheckoutSessionEntityStatusEnum = {
|
|
|
26
26
|
Expired: 'EXPIRED',
|
|
27
27
|
Completed: 'COMPLETED'
|
|
28
28
|
};
|
|
29
|
+
/**
|
|
30
|
+
* @export
|
|
31
|
+
*/
|
|
32
|
+
export const CheckoutSessionEntityTransactionInitiatorEnum = {
|
|
33
|
+
Mit: 'MIT',
|
|
34
|
+
Cit: 'CIT',
|
|
35
|
+
Sit: 'SIT'
|
|
36
|
+
};
|
|
29
37
|
/**
|
|
30
38
|
* Check if a given object implements the CheckoutSessionEntity interface.
|
|
31
39
|
*/
|
|
@@ -83,6 +91,7 @@ export function CheckoutSessionEntityFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
83
91
|
'canStore': !exists(json, 'canStore') ? undefined : json['canStore'],
|
|
84
92
|
'buyerId': !exists(json, 'buyerId') ? undefined : json['buyerId'],
|
|
85
93
|
'externalBuyerId': !exists(json, 'externalBuyerId') ? undefined : json['externalBuyerId'],
|
|
94
|
+
'transactionInitiator': !exists(json, 'transactionInitiator') ? undefined : json['transactionInitiator'],
|
|
86
95
|
'redirectUrl': !exists(json, 'redirectUrl') ? undefined : json['redirectUrl'],
|
|
87
96
|
'externalTransactionId': !exists(json, 'externalTransactionId') ? undefined : json['externalTransactionId'],
|
|
88
97
|
'secCode': !exists(json, 'secCode') ? undefined : json['secCode'],
|
|
@@ -122,6 +131,7 @@ export function CheckoutSessionEntityToJSON(value) {
|
|
|
122
131
|
'canStore': value.canStore,
|
|
123
132
|
'buyerId': value.buyerId,
|
|
124
133
|
'externalBuyerId': value.externalBuyerId,
|
|
134
|
+
'transactionInitiator': value.transactionInitiator,
|
|
125
135
|
'redirectUrl': value.redirectUrl,
|
|
126
136
|
'externalTransactionId': value.externalTransactionId,
|
|
127
137
|
'secCode': value.secCode,
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Channel Payments API
|
|
3
|
+
*
|
|
4
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
import type { CreateTransactionsReportsFiltersDto } from './CreateTransactionsReportsFiltersDto';
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
* @export
|
|
11
|
+
* @interface CreateTransactionsReportDto
|
|
12
|
+
*/
|
|
13
|
+
export interface CreateTransactionsReportDto {
|
|
14
|
+
/**
|
|
15
|
+
* The name of the report.
|
|
16
|
+
* @type {string}
|
|
17
|
+
* @memberof CreateTransactionsReportDto
|
|
18
|
+
*/
|
|
19
|
+
name: string;
|
|
20
|
+
/**
|
|
21
|
+
* The description of the report.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof CreateTransactionsReportDto
|
|
24
|
+
*/
|
|
25
|
+
description?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The start date for the date filter.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof CreateTransactionsReportDto
|
|
30
|
+
*/
|
|
31
|
+
startDate: string;
|
|
32
|
+
/**
|
|
33
|
+
* The end date for the date filter.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof CreateTransactionsReportDto
|
|
36
|
+
*/
|
|
37
|
+
endDate: string;
|
|
38
|
+
/**
|
|
39
|
+
* The date range applied for this report.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof CreateTransactionsReportDto
|
|
42
|
+
*/
|
|
43
|
+
dateRange: CreateTransactionsReportDtoDateRangeEnum;
|
|
44
|
+
/**
|
|
45
|
+
* The start time for this report.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof CreateTransactionsReportDto
|
|
48
|
+
*/
|
|
49
|
+
startTime: string;
|
|
50
|
+
/**
|
|
51
|
+
* The end time for this report.
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof CreateTransactionsReportDto
|
|
54
|
+
*/
|
|
55
|
+
endTime: string;
|
|
56
|
+
/**
|
|
57
|
+
* The list of email addresses recipients of this report.
|
|
58
|
+
* @type {Array<string>}
|
|
59
|
+
* @memberof CreateTransactionsReportDto
|
|
60
|
+
*/
|
|
61
|
+
recipients: Array<string>;
|
|
62
|
+
/**
|
|
63
|
+
* The order in which the report records are returned.
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof CreateTransactionsReportDto
|
|
66
|
+
*/
|
|
67
|
+
order?: CreateTransactionsReportDtoOrderEnum;
|
|
68
|
+
/**
|
|
69
|
+
* The columns associated to this report template.
|
|
70
|
+
* @type {Array<string>}
|
|
71
|
+
* @memberof CreateTransactionsReportDto
|
|
72
|
+
*/
|
|
73
|
+
columns: Array<string>;
|
|
74
|
+
/**
|
|
75
|
+
* The filters associated to this report template.
|
|
76
|
+
* @type {CreateTransactionsReportsFiltersDto}
|
|
77
|
+
* @memberof CreateTransactionsReportDto
|
|
78
|
+
*/
|
|
79
|
+
transactionsFilters: CreateTransactionsReportsFiltersDto;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* @export
|
|
83
|
+
*/
|
|
84
|
+
export declare const CreateTransactionsReportDtoDateRangeEnum: {
|
|
85
|
+
readonly Today: "TODAY";
|
|
86
|
+
readonly Yesterday: "YESTERDAY";
|
|
87
|
+
readonly Last7Days: "LAST_7_DAYS";
|
|
88
|
+
readonly Last30Days: "LAST_30_DAYS";
|
|
89
|
+
readonly Last60Days: "LAST_60_DAYS";
|
|
90
|
+
readonly Last90Days: "LAST_90_DAYS";
|
|
91
|
+
readonly LastWeek: "LAST_WEEK";
|
|
92
|
+
readonly LastMonth: "LAST_MONTH";
|
|
93
|
+
readonly LastQuarter: "LAST_QUARTER";
|
|
94
|
+
readonly LastYear: "LAST_YEAR";
|
|
95
|
+
readonly Custom: "CUSTOM";
|
|
96
|
+
};
|
|
97
|
+
export type CreateTransactionsReportDtoDateRangeEnum = typeof CreateTransactionsReportDtoDateRangeEnum[keyof typeof CreateTransactionsReportDtoDateRangeEnum];
|
|
98
|
+
/**
|
|
99
|
+
* @export
|
|
100
|
+
*/
|
|
101
|
+
export declare const CreateTransactionsReportDtoOrderEnum: {
|
|
102
|
+
readonly Asc: "asc";
|
|
103
|
+
readonly Desc: "desc";
|
|
104
|
+
};
|
|
105
|
+
export type CreateTransactionsReportDtoOrderEnum = typeof CreateTransactionsReportDtoOrderEnum[keyof typeof CreateTransactionsReportDtoOrderEnum];
|
|
106
|
+
/**
|
|
107
|
+
* Check if a given object implements the CreateTransactionsReportDto interface.
|
|
108
|
+
*/
|
|
109
|
+
export declare function instanceOfCreateTransactionsReportDto(value: object): boolean;
|
|
110
|
+
export declare function CreateTransactionsReportDtoFromJSON(json: any): CreateTransactionsReportDto;
|
|
111
|
+
export declare function CreateTransactionsReportDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateTransactionsReportDto;
|
|
112
|
+
export declare function CreateTransactionsReportDtoToJSON(value?: CreateTransactionsReportDto | null): any;
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Channel Payments API
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
import { exists, removeNullUndefined } from '../runtime';
|
|
10
|
+
import { CreateTransactionsReportsFiltersDtoFromJSON, CreateTransactionsReportsFiltersDtoToJSON, } from './CreateTransactionsReportsFiltersDto';
|
|
11
|
+
/**
|
|
12
|
+
* @export
|
|
13
|
+
*/
|
|
14
|
+
export const CreateTransactionsReportDtoDateRangeEnum = {
|
|
15
|
+
Today: 'TODAY',
|
|
16
|
+
Yesterday: 'YESTERDAY',
|
|
17
|
+
Last7Days: 'LAST_7_DAYS',
|
|
18
|
+
Last30Days: 'LAST_30_DAYS',
|
|
19
|
+
Last60Days: 'LAST_60_DAYS',
|
|
20
|
+
Last90Days: 'LAST_90_DAYS',
|
|
21
|
+
LastWeek: 'LAST_WEEK',
|
|
22
|
+
LastMonth: 'LAST_MONTH',
|
|
23
|
+
LastQuarter: 'LAST_QUARTER',
|
|
24
|
+
LastYear: 'LAST_YEAR',
|
|
25
|
+
Custom: 'CUSTOM'
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* @export
|
|
29
|
+
*/
|
|
30
|
+
export const CreateTransactionsReportDtoOrderEnum = {
|
|
31
|
+
Asc: 'asc',
|
|
32
|
+
Desc: 'desc'
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
* Check if a given object implements the CreateTransactionsReportDto interface.
|
|
36
|
+
*/
|
|
37
|
+
export function instanceOfCreateTransactionsReportDto(value) {
|
|
38
|
+
let isInstance = true;
|
|
39
|
+
isInstance = isInstance && "name" in value;
|
|
40
|
+
isInstance = isInstance && "startDate" in value;
|
|
41
|
+
isInstance = isInstance && "endDate" in value;
|
|
42
|
+
isInstance = isInstance && "dateRange" in value;
|
|
43
|
+
isInstance = isInstance && "startTime" in value;
|
|
44
|
+
isInstance = isInstance && "endTime" in value;
|
|
45
|
+
isInstance = isInstance && "recipients" in value;
|
|
46
|
+
isInstance = isInstance && "columns" in value;
|
|
47
|
+
isInstance = isInstance && "transactionsFilters" in value;
|
|
48
|
+
return isInstance;
|
|
49
|
+
}
|
|
50
|
+
export function CreateTransactionsReportDtoFromJSON(json) {
|
|
51
|
+
return CreateTransactionsReportDtoFromJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
export function CreateTransactionsReportDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
54
|
+
if ((json === undefined) || (json === null)) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
const typed = {
|
|
58
|
+
'name': json['name'],
|
|
59
|
+
'description': !exists(json, 'description') ? undefined : json['description'],
|
|
60
|
+
'startDate': json['startDate'],
|
|
61
|
+
'endDate': json['endDate'],
|
|
62
|
+
'dateRange': json['dateRange'],
|
|
63
|
+
'startTime': json['startTime'],
|
|
64
|
+
'endTime': json['endTime'],
|
|
65
|
+
'recipients': json['recipients'],
|
|
66
|
+
'order': !exists(json, 'order') ? undefined : json['order'],
|
|
67
|
+
'columns': json['columns'],
|
|
68
|
+
'transactionsFilters': CreateTransactionsReportsFiltersDtoFromJSON(json['transactionsFilters']),
|
|
69
|
+
};
|
|
70
|
+
return removeNullUndefined(typed);
|
|
71
|
+
}
|
|
72
|
+
export function CreateTransactionsReportDtoToJSON(value) {
|
|
73
|
+
if (value === undefined) {
|
|
74
|
+
return undefined;
|
|
75
|
+
}
|
|
76
|
+
if (value === null) {
|
|
77
|
+
return null;
|
|
78
|
+
}
|
|
79
|
+
return {
|
|
80
|
+
'name': value.name,
|
|
81
|
+
'description': value.description,
|
|
82
|
+
'startDate': value.startDate,
|
|
83
|
+
'endDate': value.endDate,
|
|
84
|
+
'dateRange': value.dateRange,
|
|
85
|
+
'startTime': value.startTime,
|
|
86
|
+
'endTime': value.endTime,
|
|
87
|
+
'recipients': value.recipients,
|
|
88
|
+
'order': value.order,
|
|
89
|
+
'columns': value.columns,
|
|
90
|
+
'transactionsFilters': CreateTransactionsReportsFiltersDtoToJSON(value.transactionsFilters),
|
|
91
|
+
};
|
|
92
|
+
}
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Channel Payments API
|
|
3
|
+
*
|
|
4
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
*
|
|
9
|
+
* @export
|
|
10
|
+
* @interface CreateTransactionsReportsFiltersDto
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateTransactionsReportsFiltersDto {
|
|
13
|
+
/**
|
|
14
|
+
* The payment method used to filter this report.
|
|
15
|
+
* @type {Array<string>}
|
|
16
|
+
* @memberof CreateTransactionsReportsFiltersDto
|
|
17
|
+
*/
|
|
18
|
+
paymentMethods: Array<CreateTransactionsReportsFiltersDtoPaymentMethodsEnum>;
|
|
19
|
+
/**
|
|
20
|
+
* The account types used to filter this report. Applicable for BANK/ACH transactions.
|
|
21
|
+
* @type {Array<string>}
|
|
22
|
+
* @memberof CreateTransactionsReportsFiltersDto
|
|
23
|
+
*/
|
|
24
|
+
accountTypes?: Array<CreateTransactionsReportsFiltersDtoAccountTypesEnum>;
|
|
25
|
+
/**
|
|
26
|
+
* The card types used to filter this report. Applicable for CARD transactions.
|
|
27
|
+
* @type {Array<string>}
|
|
28
|
+
* @memberof CreateTransactionsReportsFiltersDto
|
|
29
|
+
*/
|
|
30
|
+
cardTypes?: Array<CreateTransactionsReportsFiltersDtoCardTypesEnum>;
|
|
31
|
+
/**
|
|
32
|
+
* The card schemes used to filter this report. Applicable for CARD transactions.
|
|
33
|
+
* @type {Array<string>}
|
|
34
|
+
* @memberof CreateTransactionsReportsFiltersDto
|
|
35
|
+
*/
|
|
36
|
+
cardSchemes?: Array<CreateTransactionsReportsFiltersDtoCardSchemesEnum>;
|
|
37
|
+
/**
|
|
38
|
+
* The transaction intents used to filter this report.
|
|
39
|
+
* @type {Array<string>}
|
|
40
|
+
* @memberof CreateTransactionsReportsFiltersDto
|
|
41
|
+
*/
|
|
42
|
+
transactionIntents?: Array<CreateTransactionsReportsFiltersDtoTransactionIntentsEnum>;
|
|
43
|
+
/**
|
|
44
|
+
* The transaction statuses used to filter this report.
|
|
45
|
+
* @type {Array<string>}
|
|
46
|
+
* @memberof CreateTransactionsReportsFiltersDto
|
|
47
|
+
*/
|
|
48
|
+
transactionStatuses?: Array<CreateTransactionsReportsFiltersDtoTransactionStatusesEnum>;
|
|
49
|
+
/**
|
|
50
|
+
* The amount of the transaction for this report.
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof CreateTransactionsReportsFiltersDto
|
|
53
|
+
*/
|
|
54
|
+
amount?: number;
|
|
55
|
+
/**
|
|
56
|
+
* Amount greater than a specified threshold for this report.
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof CreateTransactionsReportsFiltersDto
|
|
59
|
+
*/
|
|
60
|
+
amountGreaterThan?: number;
|
|
61
|
+
/**
|
|
62
|
+
* Amount less than a specified threshold for this report.
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof CreateTransactionsReportsFiltersDto
|
|
65
|
+
*/
|
|
66
|
+
amountLessThan?: number;
|
|
67
|
+
/**
|
|
68
|
+
* The min amount for a specified range in this report.
|
|
69
|
+
* @type {number}
|
|
70
|
+
* @memberof CreateTransactionsReportsFiltersDto
|
|
71
|
+
*/
|
|
72
|
+
amountMin?: number;
|
|
73
|
+
/**
|
|
74
|
+
* The max amount for a specified range in this report.
|
|
75
|
+
* @type {number}
|
|
76
|
+
* @memberof CreateTransactionsReportsFiltersDto
|
|
77
|
+
*/
|
|
78
|
+
amountMax?: number;
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* @export
|
|
82
|
+
*/
|
|
83
|
+
export declare const CreateTransactionsReportsFiltersDtoPaymentMethodsEnum: {
|
|
84
|
+
readonly Card: "CARD";
|
|
85
|
+
readonly Bank: "BANK";
|
|
86
|
+
};
|
|
87
|
+
export type CreateTransactionsReportsFiltersDtoPaymentMethodsEnum = typeof CreateTransactionsReportsFiltersDtoPaymentMethodsEnum[keyof typeof CreateTransactionsReportsFiltersDtoPaymentMethodsEnum];
|
|
88
|
+
/**
|
|
89
|
+
* @export
|
|
90
|
+
*/
|
|
91
|
+
export declare const CreateTransactionsReportsFiltersDtoAccountTypesEnum: {
|
|
92
|
+
readonly Checking: "CHECKING";
|
|
93
|
+
readonly Savings: "SAVINGS";
|
|
94
|
+
};
|
|
95
|
+
export type CreateTransactionsReportsFiltersDtoAccountTypesEnum = typeof CreateTransactionsReportsFiltersDtoAccountTypesEnum[keyof typeof CreateTransactionsReportsFiltersDtoAccountTypesEnum];
|
|
96
|
+
/**
|
|
97
|
+
* @export
|
|
98
|
+
*/
|
|
99
|
+
export declare const CreateTransactionsReportsFiltersDtoCardTypesEnum: {
|
|
100
|
+
readonly Credit: "CREDIT";
|
|
101
|
+
readonly Debit: "DEBIT";
|
|
102
|
+
readonly Prepaid: "PREPAID";
|
|
103
|
+
};
|
|
104
|
+
export type CreateTransactionsReportsFiltersDtoCardTypesEnum = typeof CreateTransactionsReportsFiltersDtoCardTypesEnum[keyof typeof CreateTransactionsReportsFiltersDtoCardTypesEnum];
|
|
105
|
+
/**
|
|
106
|
+
* @export
|
|
107
|
+
*/
|
|
108
|
+
export declare const CreateTransactionsReportsFiltersDtoCardSchemesEnum: {
|
|
109
|
+
readonly Visa: "visa";
|
|
110
|
+
readonly Mastercard: "mastercard";
|
|
111
|
+
readonly Amex: "amex";
|
|
112
|
+
readonly Discover: "discover";
|
|
113
|
+
readonly Jcb: "jcb";
|
|
114
|
+
readonly DinersClub: "diners_club";
|
|
115
|
+
readonly Maestro: "maestro";
|
|
116
|
+
};
|
|
117
|
+
export type CreateTransactionsReportsFiltersDtoCardSchemesEnum = typeof CreateTransactionsReportsFiltersDtoCardSchemesEnum[keyof typeof CreateTransactionsReportsFiltersDtoCardSchemesEnum];
|
|
118
|
+
/**
|
|
119
|
+
* @export
|
|
120
|
+
*/
|
|
121
|
+
export declare const CreateTransactionsReportsFiltersDtoTransactionIntentsEnum: {
|
|
122
|
+
readonly Capture: "capture";
|
|
123
|
+
readonly Authorize: "authorize";
|
|
124
|
+
readonly Debit: "debit";
|
|
125
|
+
readonly Credit: "credit";
|
|
126
|
+
};
|
|
127
|
+
export type CreateTransactionsReportsFiltersDtoTransactionIntentsEnum = typeof CreateTransactionsReportsFiltersDtoTransactionIntentsEnum[keyof typeof CreateTransactionsReportsFiltersDtoTransactionIntentsEnum];
|
|
128
|
+
/**
|
|
129
|
+
* @export
|
|
130
|
+
*/
|
|
131
|
+
export declare const CreateTransactionsReportsFiltersDtoTransactionStatusesEnum: {
|
|
132
|
+
readonly Authorized: "authorized";
|
|
133
|
+
readonly AuthorizationFailed: "authorizationFailed";
|
|
134
|
+
readonly Declined: "declined";
|
|
135
|
+
readonly Captured: "captured";
|
|
136
|
+
readonly Voided: "voided";
|
|
137
|
+
readonly Hold: "hold";
|
|
138
|
+
readonly Submitted: "submitted";
|
|
139
|
+
readonly Transmitted: "transmitted";
|
|
140
|
+
readonly Settled: "settled";
|
|
141
|
+
readonly Returned: "returned";
|
|
142
|
+
readonly Rejected: "rejected";
|
|
143
|
+
};
|
|
144
|
+
export type CreateTransactionsReportsFiltersDtoTransactionStatusesEnum = typeof CreateTransactionsReportsFiltersDtoTransactionStatusesEnum[keyof typeof CreateTransactionsReportsFiltersDtoTransactionStatusesEnum];
|
|
145
|
+
/**
|
|
146
|
+
* Check if a given object implements the CreateTransactionsReportsFiltersDto interface.
|
|
147
|
+
*/
|
|
148
|
+
export declare function instanceOfCreateTransactionsReportsFiltersDto(value: object): boolean;
|
|
149
|
+
export declare function CreateTransactionsReportsFiltersDtoFromJSON(json: any): CreateTransactionsReportsFiltersDto;
|
|
150
|
+
export declare function CreateTransactionsReportsFiltersDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateTransactionsReportsFiltersDto;
|
|
151
|
+
export declare function CreateTransactionsReportsFiltersDtoToJSON(value?: CreateTransactionsReportsFiltersDto | null): any;
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Channel Payments API
|
|
5
|
+
*
|
|
6
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
7
|
+
*
|
|
8
|
+
*/
|
|
9
|
+
import { exists, removeNullUndefined } from '../runtime';
|
|
10
|
+
/**
|
|
11
|
+
* @export
|
|
12
|
+
*/
|
|
13
|
+
export const CreateTransactionsReportsFiltersDtoPaymentMethodsEnum = {
|
|
14
|
+
Card: 'CARD',
|
|
15
|
+
Bank: 'BANK'
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const CreateTransactionsReportsFiltersDtoAccountTypesEnum = {
|
|
21
|
+
Checking: 'CHECKING',
|
|
22
|
+
Savings: 'SAVINGS'
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
export const CreateTransactionsReportsFiltersDtoCardTypesEnum = {
|
|
28
|
+
Credit: 'CREDIT',
|
|
29
|
+
Debit: 'DEBIT',
|
|
30
|
+
Prepaid: 'PREPAID'
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* @export
|
|
34
|
+
*/
|
|
35
|
+
export const CreateTransactionsReportsFiltersDtoCardSchemesEnum = {
|
|
36
|
+
Visa: 'visa',
|
|
37
|
+
Mastercard: 'mastercard',
|
|
38
|
+
Amex: 'amex',
|
|
39
|
+
Discover: 'discover',
|
|
40
|
+
Jcb: 'jcb',
|
|
41
|
+
DinersClub: 'diners_club',
|
|
42
|
+
Maestro: 'maestro'
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* @export
|
|
46
|
+
*/
|
|
47
|
+
export const CreateTransactionsReportsFiltersDtoTransactionIntentsEnum = {
|
|
48
|
+
Capture: 'capture',
|
|
49
|
+
Authorize: 'authorize',
|
|
50
|
+
Debit: 'debit',
|
|
51
|
+
Credit: 'credit'
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* @export
|
|
55
|
+
*/
|
|
56
|
+
export const CreateTransactionsReportsFiltersDtoTransactionStatusesEnum = {
|
|
57
|
+
Authorized: 'authorized',
|
|
58
|
+
AuthorizationFailed: 'authorizationFailed',
|
|
59
|
+
Declined: 'declined',
|
|
60
|
+
Captured: 'captured',
|
|
61
|
+
Voided: 'voided',
|
|
62
|
+
Hold: 'hold',
|
|
63
|
+
Submitted: 'submitted',
|
|
64
|
+
Transmitted: 'transmitted',
|
|
65
|
+
Settled: 'settled',
|
|
66
|
+
Returned: 'returned',
|
|
67
|
+
Rejected: 'rejected'
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Check if a given object implements the CreateTransactionsReportsFiltersDto interface.
|
|
71
|
+
*/
|
|
72
|
+
export function instanceOfCreateTransactionsReportsFiltersDto(value) {
|
|
73
|
+
let isInstance = true;
|
|
74
|
+
isInstance = isInstance && "paymentMethods" in value;
|
|
75
|
+
return isInstance;
|
|
76
|
+
}
|
|
77
|
+
export function CreateTransactionsReportsFiltersDtoFromJSON(json) {
|
|
78
|
+
return CreateTransactionsReportsFiltersDtoFromJSONTyped(json, false);
|
|
79
|
+
}
|
|
80
|
+
export function CreateTransactionsReportsFiltersDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
81
|
+
if ((json === undefined) || (json === null)) {
|
|
82
|
+
return json;
|
|
83
|
+
}
|
|
84
|
+
const typed = {
|
|
85
|
+
'paymentMethods': json['paymentMethods'],
|
|
86
|
+
'accountTypes': !exists(json, 'accountTypes') ? undefined : json['accountTypes'],
|
|
87
|
+
'cardTypes': !exists(json, 'cardTypes') ? undefined : json['cardTypes'],
|
|
88
|
+
'cardSchemes': !exists(json, 'cardSchemes') ? undefined : json['cardSchemes'],
|
|
89
|
+
'transactionIntents': !exists(json, 'transactionIntents') ? undefined : json['transactionIntents'],
|
|
90
|
+
'transactionStatuses': !exists(json, 'transactionStatuses') ? undefined : json['transactionStatuses'],
|
|
91
|
+
'amount': !exists(json, 'amount') ? undefined : json['amount'],
|
|
92
|
+
'amountGreaterThan': !exists(json, 'amountGreaterThan') ? undefined : json['amountGreaterThan'],
|
|
93
|
+
'amountLessThan': !exists(json, 'amountLessThan') ? undefined : json['amountLessThan'],
|
|
94
|
+
'amountMin': !exists(json, 'amountMin') ? undefined : json['amountMin'],
|
|
95
|
+
'amountMax': !exists(json, 'amountMax') ? undefined : json['amountMax'],
|
|
96
|
+
};
|
|
97
|
+
return removeNullUndefined(typed);
|
|
98
|
+
}
|
|
99
|
+
export function CreateTransactionsReportsFiltersDtoToJSON(value) {
|
|
100
|
+
if (value === undefined) {
|
|
101
|
+
return undefined;
|
|
102
|
+
}
|
|
103
|
+
if (value === null) {
|
|
104
|
+
return null;
|
|
105
|
+
}
|
|
106
|
+
return {
|
|
107
|
+
'paymentMethods': value.paymentMethods,
|
|
108
|
+
'accountTypes': value.accountTypes,
|
|
109
|
+
'cardTypes': value.cardTypes,
|
|
110
|
+
'cardSchemes': value.cardSchemes,
|
|
111
|
+
'transactionIntents': value.transactionIntents,
|
|
112
|
+
'transactionStatuses': value.transactionStatuses,
|
|
113
|
+
'amount': value.amount,
|
|
114
|
+
'amountGreaterThan': value.amountGreaterThan,
|
|
115
|
+
'amountLessThan': value.amountLessThan,
|
|
116
|
+
'amountMin': value.amountMin,
|
|
117
|
+
'amountMax': value.amountMax,
|
|
118
|
+
};
|
|
119
|
+
}
|