@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
|
@@ -0,0 +1,121 @@
|
|
|
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 CreateTransactionsReportsScheduleDto
|
|
12
|
+
*/
|
|
13
|
+
export interface CreateTransactionsReportsScheduleDto {
|
|
14
|
+
/**
|
|
15
|
+
* The report schedule name.
|
|
16
|
+
* @type {string}
|
|
17
|
+
* @memberof CreateTransactionsReportsScheduleDto
|
|
18
|
+
*/
|
|
19
|
+
name: string;
|
|
20
|
+
/**
|
|
21
|
+
* The report schedule description.
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof CreateTransactionsReportsScheduleDto
|
|
24
|
+
*/
|
|
25
|
+
description?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The interval of this report schedule.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof CreateTransactionsReportsScheduleDto
|
|
30
|
+
*/
|
|
31
|
+
interval: CreateTransactionsReportsScheduleDtoIntervalEnum;
|
|
32
|
+
/**
|
|
33
|
+
* The date range applied for this report schedule.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof CreateTransactionsReportsScheduleDto
|
|
36
|
+
*/
|
|
37
|
+
dateRange: CreateTransactionsReportsScheduleDtoDateRangeEnum;
|
|
38
|
+
/**
|
|
39
|
+
* The list of email addresses recipients of this report schedule.
|
|
40
|
+
* @type {Array<string>}
|
|
41
|
+
* @memberof CreateTransactionsReportsScheduleDto
|
|
42
|
+
*/
|
|
43
|
+
recipients: Array<string>;
|
|
44
|
+
/**
|
|
45
|
+
* The order in which the report records are returned.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof CreateTransactionsReportsScheduleDto
|
|
48
|
+
*/
|
|
49
|
+
order?: CreateTransactionsReportsScheduleDtoOrderEnum;
|
|
50
|
+
/**
|
|
51
|
+
* The start time for this report schedule.
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof CreateTransactionsReportsScheduleDto
|
|
54
|
+
*/
|
|
55
|
+
startTime: string;
|
|
56
|
+
/**
|
|
57
|
+
* The end time for this report schedule.
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof CreateTransactionsReportsScheduleDto
|
|
60
|
+
*/
|
|
61
|
+
endTime: string;
|
|
62
|
+
/**
|
|
63
|
+
* The next run date for this report schedule.
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof CreateTransactionsReportsScheduleDto
|
|
66
|
+
*/
|
|
67
|
+
nextRun: string;
|
|
68
|
+
/**
|
|
69
|
+
* The columns associated to this report schedule.
|
|
70
|
+
* @type {Array<string>}
|
|
71
|
+
* @memberof CreateTransactionsReportsScheduleDto
|
|
72
|
+
*/
|
|
73
|
+
columns: Array<string>;
|
|
74
|
+
/**
|
|
75
|
+
* The filters associated to this report schedule.
|
|
76
|
+
* @type {CreateTransactionsReportsFiltersDto}
|
|
77
|
+
* @memberof CreateTransactionsReportsScheduleDto
|
|
78
|
+
*/
|
|
79
|
+
transactionsFilters: CreateTransactionsReportsFiltersDto;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* @export
|
|
83
|
+
*/
|
|
84
|
+
export declare const CreateTransactionsReportsScheduleDtoIntervalEnum: {
|
|
85
|
+
readonly Daily: "DAILY";
|
|
86
|
+
readonly Weekly: "WEEKLY";
|
|
87
|
+
readonly Monthly: "MONTHLY";
|
|
88
|
+
};
|
|
89
|
+
export type CreateTransactionsReportsScheduleDtoIntervalEnum = typeof CreateTransactionsReportsScheduleDtoIntervalEnum[keyof typeof CreateTransactionsReportsScheduleDtoIntervalEnum];
|
|
90
|
+
/**
|
|
91
|
+
* @export
|
|
92
|
+
*/
|
|
93
|
+
export declare const CreateTransactionsReportsScheduleDtoDateRangeEnum: {
|
|
94
|
+
readonly Today: "TODAY";
|
|
95
|
+
readonly Yesterday: "YESTERDAY";
|
|
96
|
+
readonly Last7Days: "LAST_7_DAYS";
|
|
97
|
+
readonly Last30Days: "LAST_30_DAYS";
|
|
98
|
+
readonly Last60Days: "LAST_60_DAYS";
|
|
99
|
+
readonly Last90Days: "LAST_90_DAYS";
|
|
100
|
+
readonly LastWeek: "LAST_WEEK";
|
|
101
|
+
readonly LastMonth: "LAST_MONTH";
|
|
102
|
+
readonly LastQuarter: "LAST_QUARTER";
|
|
103
|
+
readonly LastYear: "LAST_YEAR";
|
|
104
|
+
readonly Custom: "CUSTOM";
|
|
105
|
+
};
|
|
106
|
+
export type CreateTransactionsReportsScheduleDtoDateRangeEnum = typeof CreateTransactionsReportsScheduleDtoDateRangeEnum[keyof typeof CreateTransactionsReportsScheduleDtoDateRangeEnum];
|
|
107
|
+
/**
|
|
108
|
+
* @export
|
|
109
|
+
*/
|
|
110
|
+
export declare const CreateTransactionsReportsScheduleDtoOrderEnum: {
|
|
111
|
+
readonly Asc: "asc";
|
|
112
|
+
readonly Desc: "desc";
|
|
113
|
+
};
|
|
114
|
+
export type CreateTransactionsReportsScheduleDtoOrderEnum = typeof CreateTransactionsReportsScheduleDtoOrderEnum[keyof typeof CreateTransactionsReportsScheduleDtoOrderEnum];
|
|
115
|
+
/**
|
|
116
|
+
* Check if a given object implements the CreateTransactionsReportsScheduleDto interface.
|
|
117
|
+
*/
|
|
118
|
+
export declare function instanceOfCreateTransactionsReportsScheduleDto(value: object): boolean;
|
|
119
|
+
export declare function CreateTransactionsReportsScheduleDtoFromJSON(json: any): CreateTransactionsReportsScheduleDto;
|
|
120
|
+
export declare function CreateTransactionsReportsScheduleDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateTransactionsReportsScheduleDto;
|
|
121
|
+
export declare function CreateTransactionsReportsScheduleDtoToJSON(value?: CreateTransactionsReportsScheduleDto | null): any;
|
|
@@ -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
|
+
}
|