@channelpayments/node-sdk 1.193.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/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/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
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Channel Payments API
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.CreateTransactionsReportsScheduleDtoOrderEnum = exports.CreateTransactionsReportsScheduleDtoDateRangeEnum = exports.CreateTransactionsReportsScheduleDtoIntervalEnum = void 0;
|
|
12
|
+
exports.instanceOfCreateTransactionsReportsScheduleDto = instanceOfCreateTransactionsReportsScheduleDto;
|
|
13
|
+
exports.CreateTransactionsReportsScheduleDtoFromJSON = CreateTransactionsReportsScheduleDtoFromJSON;
|
|
14
|
+
exports.CreateTransactionsReportsScheduleDtoFromJSONTyped = CreateTransactionsReportsScheduleDtoFromJSONTyped;
|
|
15
|
+
exports.CreateTransactionsReportsScheduleDtoToJSON = CreateTransactionsReportsScheduleDtoToJSON;
|
|
16
|
+
const runtime_1 = require("../runtime");
|
|
17
|
+
const CreateTransactionsReportsFiltersDto_1 = require("./CreateTransactionsReportsFiltersDto");
|
|
18
|
+
/**
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
exports.CreateTransactionsReportsScheduleDtoIntervalEnum = {
|
|
22
|
+
Daily: 'DAILY',
|
|
23
|
+
Weekly: 'WEEKLY',
|
|
24
|
+
Monthly: 'MONTHLY'
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* @export
|
|
28
|
+
*/
|
|
29
|
+
exports.CreateTransactionsReportsScheduleDtoDateRangeEnum = {
|
|
30
|
+
Today: 'TODAY',
|
|
31
|
+
Yesterday: 'YESTERDAY',
|
|
32
|
+
Last7Days: 'LAST_7_DAYS',
|
|
33
|
+
Last30Days: 'LAST_30_DAYS',
|
|
34
|
+
Last60Days: 'LAST_60_DAYS',
|
|
35
|
+
Last90Days: 'LAST_90_DAYS',
|
|
36
|
+
LastWeek: 'LAST_WEEK',
|
|
37
|
+
LastMonth: 'LAST_MONTH',
|
|
38
|
+
LastQuarter: 'LAST_QUARTER',
|
|
39
|
+
LastYear: 'LAST_YEAR',
|
|
40
|
+
Custom: 'CUSTOM'
|
|
41
|
+
};
|
|
42
|
+
/**
|
|
43
|
+
* @export
|
|
44
|
+
*/
|
|
45
|
+
exports.CreateTransactionsReportsScheduleDtoOrderEnum = {
|
|
46
|
+
Asc: 'asc',
|
|
47
|
+
Desc: 'desc'
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the CreateTransactionsReportsScheduleDto interface.
|
|
51
|
+
*/
|
|
52
|
+
function instanceOfCreateTransactionsReportsScheduleDto(value) {
|
|
53
|
+
let isInstance = true;
|
|
54
|
+
isInstance = isInstance && "name" in value;
|
|
55
|
+
isInstance = isInstance && "interval" in value;
|
|
56
|
+
isInstance = isInstance && "dateRange" in value;
|
|
57
|
+
isInstance = isInstance && "recipients" in value;
|
|
58
|
+
isInstance = isInstance && "startTime" in value;
|
|
59
|
+
isInstance = isInstance && "endTime" in value;
|
|
60
|
+
isInstance = isInstance && "nextRun" in value;
|
|
61
|
+
isInstance = isInstance && "columns" in value;
|
|
62
|
+
isInstance = isInstance && "transactionsFilters" in value;
|
|
63
|
+
return isInstance;
|
|
64
|
+
}
|
|
65
|
+
function CreateTransactionsReportsScheduleDtoFromJSON(json) {
|
|
66
|
+
return CreateTransactionsReportsScheduleDtoFromJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
function CreateTransactionsReportsScheduleDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
69
|
+
if ((json === undefined) || (json === null)) {
|
|
70
|
+
return json;
|
|
71
|
+
}
|
|
72
|
+
const typed = {
|
|
73
|
+
'name': json['name'],
|
|
74
|
+
'description': !(0, runtime_1.exists)(json, 'description') ? undefined : json['description'],
|
|
75
|
+
'interval': json['interval'],
|
|
76
|
+
'dateRange': json['dateRange'],
|
|
77
|
+
'recipients': json['recipients'],
|
|
78
|
+
'order': !(0, runtime_1.exists)(json, 'order') ? undefined : json['order'],
|
|
79
|
+
'startTime': json['startTime'],
|
|
80
|
+
'endTime': json['endTime'],
|
|
81
|
+
'nextRun': json['nextRun'],
|
|
82
|
+
'columns': json['columns'],
|
|
83
|
+
'transactionsFilters': (0, CreateTransactionsReportsFiltersDto_1.CreateTransactionsReportsFiltersDtoFromJSON)(json['transactionsFilters']),
|
|
84
|
+
};
|
|
85
|
+
return (0, runtime_1.removeNullUndefined)(typed);
|
|
86
|
+
}
|
|
87
|
+
function CreateTransactionsReportsScheduleDtoToJSON(value) {
|
|
88
|
+
if (value === undefined) {
|
|
89
|
+
return undefined;
|
|
90
|
+
}
|
|
91
|
+
if (value === null) {
|
|
92
|
+
return null;
|
|
93
|
+
}
|
|
94
|
+
return {
|
|
95
|
+
'name': value.name,
|
|
96
|
+
'description': value.description,
|
|
97
|
+
'interval': value.interval,
|
|
98
|
+
'dateRange': value.dateRange,
|
|
99
|
+
'recipients': value.recipients,
|
|
100
|
+
'order': value.order,
|
|
101
|
+
'startTime': value.startTime,
|
|
102
|
+
'endTime': value.endTime,
|
|
103
|
+
'nextRun': value.nextRun,
|
|
104
|
+
'columns': value.columns,
|
|
105
|
+
'transactionsFilters': (0, CreateTransactionsReportsFiltersDto_1.CreateTransactionsReportsFiltersDtoToJSON)(value.transactionsFilters),
|
|
106
|
+
};
|
|
107
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
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 CreateTransactionsReportsTemplateDto
|
|
12
|
+
*/
|
|
13
|
+
export interface CreateTransactionsReportsTemplateDto {
|
|
14
|
+
/**
|
|
15
|
+
* The report template name.
|
|
16
|
+
* @type {string}
|
|
17
|
+
* @memberof CreateTransactionsReportsTemplateDto
|
|
18
|
+
*/
|
|
19
|
+
name: string;
|
|
20
|
+
/**
|
|
21
|
+
* The report template description.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof CreateTransactionsReportsTemplateDto
|
|
24
|
+
*/
|
|
25
|
+
description?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The order in which the report records are returned.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof CreateTransactionsReportsTemplateDto
|
|
30
|
+
*/
|
|
31
|
+
order?: CreateTransactionsReportsTemplateDtoOrderEnum;
|
|
32
|
+
/**
|
|
33
|
+
* The date range applied for this report template.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof CreateTransactionsReportsTemplateDto
|
|
36
|
+
*/
|
|
37
|
+
dateRange: CreateTransactionsReportsTemplateDtoDateRangeEnum;
|
|
38
|
+
/**
|
|
39
|
+
* The start time for this report template.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof CreateTransactionsReportsTemplateDto
|
|
42
|
+
*/
|
|
43
|
+
startTime: string;
|
|
44
|
+
/**
|
|
45
|
+
* The end time for this report template.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof CreateTransactionsReportsTemplateDto
|
|
48
|
+
*/
|
|
49
|
+
endTime: string;
|
|
50
|
+
/**
|
|
51
|
+
* The columns associated to this report template.
|
|
52
|
+
* @type {Array<string>}
|
|
53
|
+
* @memberof CreateTransactionsReportsTemplateDto
|
|
54
|
+
*/
|
|
55
|
+
columns: Array<string>;
|
|
56
|
+
/**
|
|
57
|
+
* The filters associated to this report template.
|
|
58
|
+
* @type {CreateTransactionsReportsFiltersDto}
|
|
59
|
+
* @memberof CreateTransactionsReportsTemplateDto
|
|
60
|
+
*/
|
|
61
|
+
transactionsFilters: CreateTransactionsReportsFiltersDto;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* @export
|
|
65
|
+
*/
|
|
66
|
+
export declare const CreateTransactionsReportsTemplateDtoOrderEnum: {
|
|
67
|
+
readonly Asc: "asc";
|
|
68
|
+
readonly Desc: "desc";
|
|
69
|
+
};
|
|
70
|
+
export type CreateTransactionsReportsTemplateDtoOrderEnum = typeof CreateTransactionsReportsTemplateDtoOrderEnum[keyof typeof CreateTransactionsReportsTemplateDtoOrderEnum];
|
|
71
|
+
/**
|
|
72
|
+
* @export
|
|
73
|
+
*/
|
|
74
|
+
export declare const CreateTransactionsReportsTemplateDtoDateRangeEnum: {
|
|
75
|
+
readonly Today: "TODAY";
|
|
76
|
+
readonly Yesterday: "YESTERDAY";
|
|
77
|
+
readonly Last7Days: "LAST_7_DAYS";
|
|
78
|
+
readonly Last30Days: "LAST_30_DAYS";
|
|
79
|
+
readonly Last60Days: "LAST_60_DAYS";
|
|
80
|
+
readonly Last90Days: "LAST_90_DAYS";
|
|
81
|
+
readonly LastWeek: "LAST_WEEK";
|
|
82
|
+
readonly LastMonth: "LAST_MONTH";
|
|
83
|
+
readonly LastQuarter: "LAST_QUARTER";
|
|
84
|
+
readonly LastYear: "LAST_YEAR";
|
|
85
|
+
readonly Custom: "CUSTOM";
|
|
86
|
+
};
|
|
87
|
+
export type CreateTransactionsReportsTemplateDtoDateRangeEnum = typeof CreateTransactionsReportsTemplateDtoDateRangeEnum[keyof typeof CreateTransactionsReportsTemplateDtoDateRangeEnum];
|
|
88
|
+
/**
|
|
89
|
+
* Check if a given object implements the CreateTransactionsReportsTemplateDto interface.
|
|
90
|
+
*/
|
|
91
|
+
export declare function instanceOfCreateTransactionsReportsTemplateDto(value: object): boolean;
|
|
92
|
+
export declare function CreateTransactionsReportsTemplateDtoFromJSON(json: any): CreateTransactionsReportsTemplateDto;
|
|
93
|
+
export declare function CreateTransactionsReportsTemplateDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateTransactionsReportsTemplateDto;
|
|
94
|
+
export declare function CreateTransactionsReportsTemplateDtoToJSON(value?: CreateTransactionsReportsTemplateDto | null): any;
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Channel Payments API
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.CreateTransactionsReportsTemplateDtoDateRangeEnum = exports.CreateTransactionsReportsTemplateDtoOrderEnum = void 0;
|
|
12
|
+
exports.instanceOfCreateTransactionsReportsTemplateDto = instanceOfCreateTransactionsReportsTemplateDto;
|
|
13
|
+
exports.CreateTransactionsReportsTemplateDtoFromJSON = CreateTransactionsReportsTemplateDtoFromJSON;
|
|
14
|
+
exports.CreateTransactionsReportsTemplateDtoFromJSONTyped = CreateTransactionsReportsTemplateDtoFromJSONTyped;
|
|
15
|
+
exports.CreateTransactionsReportsTemplateDtoToJSON = CreateTransactionsReportsTemplateDtoToJSON;
|
|
16
|
+
const runtime_1 = require("../runtime");
|
|
17
|
+
const CreateTransactionsReportsFiltersDto_1 = require("./CreateTransactionsReportsFiltersDto");
|
|
18
|
+
/**
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
exports.CreateTransactionsReportsTemplateDtoOrderEnum = {
|
|
22
|
+
Asc: 'asc',
|
|
23
|
+
Desc: 'desc'
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
exports.CreateTransactionsReportsTemplateDtoDateRangeEnum = {
|
|
29
|
+
Today: 'TODAY',
|
|
30
|
+
Yesterday: 'YESTERDAY',
|
|
31
|
+
Last7Days: 'LAST_7_DAYS',
|
|
32
|
+
Last30Days: 'LAST_30_DAYS',
|
|
33
|
+
Last60Days: 'LAST_60_DAYS',
|
|
34
|
+
Last90Days: 'LAST_90_DAYS',
|
|
35
|
+
LastWeek: 'LAST_WEEK',
|
|
36
|
+
LastMonth: 'LAST_MONTH',
|
|
37
|
+
LastQuarter: 'LAST_QUARTER',
|
|
38
|
+
LastYear: 'LAST_YEAR',
|
|
39
|
+
Custom: 'CUSTOM'
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* Check if a given object implements the CreateTransactionsReportsTemplateDto interface.
|
|
43
|
+
*/
|
|
44
|
+
function instanceOfCreateTransactionsReportsTemplateDto(value) {
|
|
45
|
+
let isInstance = true;
|
|
46
|
+
isInstance = isInstance && "name" in value;
|
|
47
|
+
isInstance = isInstance && "dateRange" in value;
|
|
48
|
+
isInstance = isInstance && "startTime" in value;
|
|
49
|
+
isInstance = isInstance && "endTime" in value;
|
|
50
|
+
isInstance = isInstance && "columns" in value;
|
|
51
|
+
isInstance = isInstance && "transactionsFilters" in value;
|
|
52
|
+
return isInstance;
|
|
53
|
+
}
|
|
54
|
+
function CreateTransactionsReportsTemplateDtoFromJSON(json) {
|
|
55
|
+
return CreateTransactionsReportsTemplateDtoFromJSONTyped(json, false);
|
|
56
|
+
}
|
|
57
|
+
function CreateTransactionsReportsTemplateDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
58
|
+
if ((json === undefined) || (json === null)) {
|
|
59
|
+
return json;
|
|
60
|
+
}
|
|
61
|
+
const typed = {
|
|
62
|
+
'name': json['name'],
|
|
63
|
+
'description': !(0, runtime_1.exists)(json, 'description') ? undefined : json['description'],
|
|
64
|
+
'order': !(0, runtime_1.exists)(json, 'order') ? undefined : json['order'],
|
|
65
|
+
'dateRange': json['dateRange'],
|
|
66
|
+
'startTime': json['startTime'],
|
|
67
|
+
'endTime': json['endTime'],
|
|
68
|
+
'columns': json['columns'],
|
|
69
|
+
'transactionsFilters': (0, CreateTransactionsReportsFiltersDto_1.CreateTransactionsReportsFiltersDtoFromJSON)(json['transactionsFilters']),
|
|
70
|
+
};
|
|
71
|
+
return (0, runtime_1.removeNullUndefined)(typed);
|
|
72
|
+
}
|
|
73
|
+
function CreateTransactionsReportsTemplateDtoToJSON(value) {
|
|
74
|
+
if (value === undefined) {
|
|
75
|
+
return undefined;
|
|
76
|
+
}
|
|
77
|
+
if (value === null) {
|
|
78
|
+
return null;
|
|
79
|
+
}
|
|
80
|
+
return {
|
|
81
|
+
'name': value.name,
|
|
82
|
+
'description': value.description,
|
|
83
|
+
'order': value.order,
|
|
84
|
+
'dateRange': value.dateRange,
|
|
85
|
+
'startTime': value.startTime,
|
|
86
|
+
'endTime': value.endTime,
|
|
87
|
+
'columns': value.columns,
|
|
88
|
+
'transactionsFilters': (0, CreateTransactionsReportsFiltersDto_1.CreateTransactionsReportsFiltersDtoToJSON)(value.transactionsFilters),
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 ReportCreatorEntity
|
|
11
|
+
*/
|
|
12
|
+
export interface ReportCreatorEntity {
|
|
13
|
+
/**
|
|
14
|
+
* The user creator ID.
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof ReportCreatorEntity
|
|
17
|
+
*/
|
|
18
|
+
userId: string;
|
|
19
|
+
/**
|
|
20
|
+
* The user creator full name.
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ReportCreatorEntity
|
|
23
|
+
*/
|
|
24
|
+
fullName: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the ReportCreatorEntity interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfReportCreatorEntity(value: object): boolean;
|
|
30
|
+
export declare function ReportCreatorEntityFromJSON(json: any): ReportCreatorEntity;
|
|
31
|
+
export declare function ReportCreatorEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): ReportCreatorEntity;
|
|
32
|
+
export declare function ReportCreatorEntityToJSON(value?: ReportCreatorEntity | null): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Channel Payments API
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated. Do not edit the class manually.
|
|
8
|
+
*
|
|
9
|
+
*/
|
|
10
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
+
exports.instanceOfReportCreatorEntity = instanceOfReportCreatorEntity;
|
|
12
|
+
exports.ReportCreatorEntityFromJSON = ReportCreatorEntityFromJSON;
|
|
13
|
+
exports.ReportCreatorEntityFromJSONTyped = ReportCreatorEntityFromJSONTyped;
|
|
14
|
+
exports.ReportCreatorEntityToJSON = ReportCreatorEntityToJSON;
|
|
15
|
+
const runtime_1 = require("../runtime");
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the ReportCreatorEntity interface.
|
|
18
|
+
*/
|
|
19
|
+
function instanceOfReportCreatorEntity(value) {
|
|
20
|
+
let isInstance = true;
|
|
21
|
+
isInstance = isInstance && "userId" in value;
|
|
22
|
+
isInstance = isInstance && "fullName" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
function ReportCreatorEntityFromJSON(json) {
|
|
26
|
+
return ReportCreatorEntityFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
function ReportCreatorEntityFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if ((json === undefined) || (json === null)) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
const typed = {
|
|
33
|
+
'userId': json['userId'],
|
|
34
|
+
'fullName': json['fullName'],
|
|
35
|
+
};
|
|
36
|
+
return (0, runtime_1.removeNullUndefined)(typed);
|
|
37
|
+
}
|
|
38
|
+
function ReportCreatorEntityToJSON(value) {
|
|
39
|
+
if (value === undefined) {
|
|
40
|
+
return undefined;
|
|
41
|
+
}
|
|
42
|
+
if (value === null) {
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'userId': value.userId,
|
|
47
|
+
'fullName': value.fullName,
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -0,0 +1,303 @@
|
|
|
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 TransactionsRecordEntity
|
|
11
|
+
*/
|
|
12
|
+
export interface TransactionsRecordEntity {
|
|
13
|
+
/**
|
|
14
|
+
* The merchant ID for this transaction.
|
|
15
|
+
* @type {string}
|
|
16
|
+
* @memberof TransactionsRecordEntity
|
|
17
|
+
*/
|
|
18
|
+
merchantId: string;
|
|
19
|
+
/**
|
|
20
|
+
* The transaction creation date.
|
|
21
|
+
* @type {Date}
|
|
22
|
+
* @memberof TransactionsRecordEntity
|
|
23
|
+
*/
|
|
24
|
+
createdAt: Date;
|
|
25
|
+
/**
|
|
26
|
+
* The transaction ID.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof TransactionsRecordEntity
|
|
29
|
+
*/
|
|
30
|
+
transactionId: string;
|
|
31
|
+
/**
|
|
32
|
+
* Indicate the current status for this transaction.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof TransactionsRecordEntity
|
|
35
|
+
*/
|
|
36
|
+
status: TransactionsRecordEntityStatusEnum;
|
|
37
|
+
/**
|
|
38
|
+
* The transaction amount in cents.
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof TransactionsRecordEntity
|
|
41
|
+
*/
|
|
42
|
+
amount: number;
|
|
43
|
+
/**
|
|
44
|
+
* Indicate the payment method used for this transaction.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof TransactionsRecordEntity
|
|
47
|
+
*/
|
|
48
|
+
paymentMethod: TransactionsRecordEntityPaymentMethodEnum;
|
|
49
|
+
/**
|
|
50
|
+
* Indicate the account type used for this transaction.
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof TransactionsRecordEntity
|
|
53
|
+
*/
|
|
54
|
+
accountType?: TransactionsRecordEntityAccountTypeEnum;
|
|
55
|
+
/**
|
|
56
|
+
* The external transaction ID of the transaction.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof TransactionsRecordEntity
|
|
59
|
+
*/
|
|
60
|
+
externalTransactionId?: string;
|
|
61
|
+
/**
|
|
62
|
+
* The net amount of the transaction.
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof TransactionsRecordEntity
|
|
65
|
+
*/
|
|
66
|
+
netAmount: number;
|
|
67
|
+
/**
|
|
68
|
+
* The fee of the transaction.
|
|
69
|
+
* @type {number}
|
|
70
|
+
* @memberof TransactionsRecordEntity
|
|
71
|
+
*/
|
|
72
|
+
fee: number;
|
|
73
|
+
/**
|
|
74
|
+
* The intent of the transaction.
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof TransactionsRecordEntity
|
|
77
|
+
*/
|
|
78
|
+
intent: TransactionsRecordEntityIntentEnum;
|
|
79
|
+
/**
|
|
80
|
+
* The captured date of the transaction.
|
|
81
|
+
* @type {Date}
|
|
82
|
+
* @memberof TransactionsRecordEntity
|
|
83
|
+
*/
|
|
84
|
+
capturedAt?: Date;
|
|
85
|
+
/**
|
|
86
|
+
* The authorized date of the card transaction.
|
|
87
|
+
* @type {Date}
|
|
88
|
+
* @memberof TransactionsRecordEntity
|
|
89
|
+
*/
|
|
90
|
+
authorizedAt?: Date;
|
|
91
|
+
/**
|
|
92
|
+
* The rejected date of the ACH transaction.
|
|
93
|
+
* @type {Date}
|
|
94
|
+
* @memberof TransactionsRecordEntity
|
|
95
|
+
*/
|
|
96
|
+
rejectedAt?: Date;
|
|
97
|
+
/**
|
|
98
|
+
* The returned date of the ACH transaction.
|
|
99
|
+
* @type {Date}
|
|
100
|
+
* @memberof TransactionsRecordEntity
|
|
101
|
+
*/
|
|
102
|
+
returnedAt?: Date;
|
|
103
|
+
/**
|
|
104
|
+
* The settled date of the ACH transaction.
|
|
105
|
+
* @type {Date}
|
|
106
|
+
* @memberof TransactionsRecordEntity
|
|
107
|
+
*/
|
|
108
|
+
settledAt?: Date;
|
|
109
|
+
/**
|
|
110
|
+
* The updated date of the transaction.
|
|
111
|
+
* @type {Date}
|
|
112
|
+
* @memberof TransactionsRecordEntity
|
|
113
|
+
*/
|
|
114
|
+
updatedAt?: Date;
|
|
115
|
+
/**
|
|
116
|
+
* The voided date of the card or ACH transaction.
|
|
117
|
+
* @type {Date}
|
|
118
|
+
* @memberof TransactionsRecordEntity
|
|
119
|
+
*/
|
|
120
|
+
voidedAt?: Date;
|
|
121
|
+
/**
|
|
122
|
+
* The captured amount of the transaction.
|
|
123
|
+
* @type {number}
|
|
124
|
+
* @memberof TransactionsRecordEntity
|
|
125
|
+
*/
|
|
126
|
+
capturedAmount?: number;
|
|
127
|
+
/**
|
|
128
|
+
* The refunded amount of the transaction.
|
|
129
|
+
* @type {number}
|
|
130
|
+
* @memberof TransactionsRecordEntity
|
|
131
|
+
*/
|
|
132
|
+
refundedAmount?: number;
|
|
133
|
+
/**
|
|
134
|
+
* The currency of the transaction.
|
|
135
|
+
* @type {string}
|
|
136
|
+
* @memberof TransactionsRecordEntity
|
|
137
|
+
*/
|
|
138
|
+
currency: TransactionsRecordEntityCurrencyEnum;
|
|
139
|
+
/**
|
|
140
|
+
* The country of the transaction.
|
|
141
|
+
* @type {string}
|
|
142
|
+
* @memberof TransactionsRecordEntity
|
|
143
|
+
*/
|
|
144
|
+
country: string;
|
|
145
|
+
/**
|
|
146
|
+
* The buyer ID of the transaction.
|
|
147
|
+
* @type {string}
|
|
148
|
+
* @memberof TransactionsRecordEntity
|
|
149
|
+
*/
|
|
150
|
+
buyerId?: string;
|
|
151
|
+
/**
|
|
152
|
+
* The external buyer ID of the transaction.
|
|
153
|
+
* @type {string}
|
|
154
|
+
* @memberof TransactionsRecordEntity
|
|
155
|
+
*/
|
|
156
|
+
externalBuyerId?: string;
|
|
157
|
+
/**
|
|
158
|
+
* The card type.
|
|
159
|
+
* @type {string}
|
|
160
|
+
* @memberof TransactionsRecordEntity
|
|
161
|
+
*/
|
|
162
|
+
cardType?: TransactionsRecordEntityCardTypeEnum;
|
|
163
|
+
/**
|
|
164
|
+
* The last 4 of the card number.
|
|
165
|
+
* @type {string}
|
|
166
|
+
* @memberof TransactionsRecordEntity
|
|
167
|
+
*/
|
|
168
|
+
label?: string;
|
|
169
|
+
/**
|
|
170
|
+
* The scheme of the payment method.
|
|
171
|
+
* @type {string}
|
|
172
|
+
* @memberof TransactionsRecordEntity
|
|
173
|
+
*/
|
|
174
|
+
scheme?: string;
|
|
175
|
+
/**
|
|
176
|
+
* The expiration date of the payment method.
|
|
177
|
+
* @type {string}
|
|
178
|
+
* @memberof TransactionsRecordEntity
|
|
179
|
+
*/
|
|
180
|
+
expirationDate?: string;
|
|
181
|
+
/**
|
|
182
|
+
* The account holder name of the payment method.
|
|
183
|
+
* @type {string}
|
|
184
|
+
* @memberof TransactionsRecordEntity
|
|
185
|
+
*/
|
|
186
|
+
accountHolderName?: string;
|
|
187
|
+
/**
|
|
188
|
+
* The raw response code of the transaction.
|
|
189
|
+
* @type {string}
|
|
190
|
+
* @memberof TransactionsRecordEntity
|
|
191
|
+
*/
|
|
192
|
+
rawResponseCode?: string;
|
|
193
|
+
/**
|
|
194
|
+
* The raw response description of the transaction.
|
|
195
|
+
* @type {string}
|
|
196
|
+
* @memberof TransactionsRecordEntity
|
|
197
|
+
*/
|
|
198
|
+
rawResponseDescription?: string;
|
|
199
|
+
/**
|
|
200
|
+
* The AVS response code of the transaction.
|
|
201
|
+
* @type {string}
|
|
202
|
+
* @memberof TransactionsRecordEntity
|
|
203
|
+
*/
|
|
204
|
+
avsResponseCode?: string;
|
|
205
|
+
/**
|
|
206
|
+
* The CVV response code of the transaction.
|
|
207
|
+
* @type {string}
|
|
208
|
+
* @memberof TransactionsRecordEntity
|
|
209
|
+
*/
|
|
210
|
+
cvvResponseCode?: string;
|
|
211
|
+
/**
|
|
212
|
+
* The session ID.
|
|
213
|
+
* @type {string}
|
|
214
|
+
* @memberof TransactionsRecordEntity
|
|
215
|
+
*/
|
|
216
|
+
sessionId?: string;
|
|
217
|
+
/**
|
|
218
|
+
* The account number last digits.
|
|
219
|
+
* @type {string}
|
|
220
|
+
* @memberof TransactionsRecordEntity
|
|
221
|
+
*/
|
|
222
|
+
accountEnding?: string;
|
|
223
|
+
/**
|
|
224
|
+
* Descriptive labels or keywords that can be assigned to the transaction.
|
|
225
|
+
* @type {string}
|
|
226
|
+
* @memberof TransactionsRecordEntity
|
|
227
|
+
*/
|
|
228
|
+
tags?: string;
|
|
229
|
+
}
|
|
230
|
+
/**
|
|
231
|
+
* @export
|
|
232
|
+
*/
|
|
233
|
+
export declare const TransactionsRecordEntityStatusEnum: {
|
|
234
|
+
readonly Processing: "processing";
|
|
235
|
+
readonly BuyerApprovalPending: "buyerApprovalPending";
|
|
236
|
+
readonly Authorized: "authorized";
|
|
237
|
+
readonly AuthorizationFailed: "authorizationFailed";
|
|
238
|
+
readonly CaptureFailed: "captureFailed";
|
|
239
|
+
readonly Declined: "declined";
|
|
240
|
+
readonly CapturePending: "capturePending";
|
|
241
|
+
readonly Captured: "captured";
|
|
242
|
+
readonly VoidPending: "voidPending";
|
|
243
|
+
readonly Voided: "voided";
|
|
244
|
+
readonly Hold: "hold";
|
|
245
|
+
readonly Submitted: "submitted";
|
|
246
|
+
readonly Transmitted: "transmitted";
|
|
247
|
+
readonly Settled: "settled";
|
|
248
|
+
readonly Returned: "returned";
|
|
249
|
+
readonly Rejected: "rejected";
|
|
250
|
+
};
|
|
251
|
+
export type TransactionsRecordEntityStatusEnum = typeof TransactionsRecordEntityStatusEnum[keyof typeof TransactionsRecordEntityStatusEnum];
|
|
252
|
+
/**
|
|
253
|
+
* @export
|
|
254
|
+
*/
|
|
255
|
+
export declare const TransactionsRecordEntityPaymentMethodEnum: {
|
|
256
|
+
readonly Ach: "ACH";
|
|
257
|
+
readonly Bank: "BANK";
|
|
258
|
+
readonly Card: "CARD";
|
|
259
|
+
};
|
|
260
|
+
export type TransactionsRecordEntityPaymentMethodEnum = typeof TransactionsRecordEntityPaymentMethodEnum[keyof typeof TransactionsRecordEntityPaymentMethodEnum];
|
|
261
|
+
/**
|
|
262
|
+
* @export
|
|
263
|
+
*/
|
|
264
|
+
export declare const TransactionsRecordEntityAccountTypeEnum: {
|
|
265
|
+
readonly Checking: "CHECKING";
|
|
266
|
+
readonly Savings: "SAVINGS";
|
|
267
|
+
};
|
|
268
|
+
export type TransactionsRecordEntityAccountTypeEnum = typeof TransactionsRecordEntityAccountTypeEnum[keyof typeof TransactionsRecordEntityAccountTypeEnum];
|
|
269
|
+
/**
|
|
270
|
+
* @export
|
|
271
|
+
*/
|
|
272
|
+
export declare const TransactionsRecordEntityIntentEnum: {
|
|
273
|
+
readonly Capture: "capture";
|
|
274
|
+
readonly Authorize: "authorize";
|
|
275
|
+
readonly Debit: "debit";
|
|
276
|
+
readonly Credit: "credit";
|
|
277
|
+
};
|
|
278
|
+
export type TransactionsRecordEntityIntentEnum = typeof TransactionsRecordEntityIntentEnum[keyof typeof TransactionsRecordEntityIntentEnum];
|
|
279
|
+
/**
|
|
280
|
+
* @export
|
|
281
|
+
*/
|
|
282
|
+
export declare const TransactionsRecordEntityCurrencyEnum: {
|
|
283
|
+
readonly Usd: "USD";
|
|
284
|
+
readonly Cad: "CAD";
|
|
285
|
+
readonly Aud: "AUD";
|
|
286
|
+
};
|
|
287
|
+
export type TransactionsRecordEntityCurrencyEnum = typeof TransactionsRecordEntityCurrencyEnum[keyof typeof TransactionsRecordEntityCurrencyEnum];
|
|
288
|
+
/**
|
|
289
|
+
* @export
|
|
290
|
+
*/
|
|
291
|
+
export declare const TransactionsRecordEntityCardTypeEnum: {
|
|
292
|
+
readonly Credit: "CREDIT";
|
|
293
|
+
readonly Debit: "DEBIT";
|
|
294
|
+
readonly Prepaid: "PREPAID";
|
|
295
|
+
};
|
|
296
|
+
export type TransactionsRecordEntityCardTypeEnum = typeof TransactionsRecordEntityCardTypeEnum[keyof typeof TransactionsRecordEntityCardTypeEnum];
|
|
297
|
+
/**
|
|
298
|
+
* Check if a given object implements the TransactionsRecordEntity interface.
|
|
299
|
+
*/
|
|
300
|
+
export declare function instanceOfTransactionsRecordEntity(value: object): boolean;
|
|
301
|
+
export declare function TransactionsRecordEntityFromJSON(json: any): TransactionsRecordEntity;
|
|
302
|
+
export declare function TransactionsRecordEntityFromJSONTyped(json: any, ignoreDiscriminator: boolean): TransactionsRecordEntity;
|
|
303
|
+
export declare function TransactionsRecordEntityToJSON(value?: TransactionsRecordEntity | null): any;
|