signet-core 1.0.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/LICENSE +21 -0
- package/README.md +84 -0
- package/apis/BlacklistApi.ts +312 -0
- package/apis/CommsApi.ts +99 -0
- package/apis/DeviceApi.ts +322 -0
- package/apis/EnrollmentApi.ts +111 -0
- package/apis/GeoApi.ts +263 -0
- package/apis/IpApi.ts +322 -0
- package/apis/MandateApi.ts +529 -0
- package/apis/PartnerApi.ts +442 -0
- package/apis/ReportingApi.ts +312 -0
- package/apis/index.ts +11 -0
- package/index.ts +6 -0
- package/models/BlacklistControllerBlacklistClientRequest.ts +83 -0
- package/models/BlacklistControllerBlacklistClientRequestReasonsInner.ts +111 -0
- package/models/BlacklistControllerRemoveBlacklistClientRequest.ts +66 -0
- package/models/CommsControllerCheckClientStatusRequest.ts +75 -0
- package/models/DeviceControllerFlagDeviceRequest.ts +92 -0
- package/models/DeviceControllerFlagDeviceRequestReasonsInner.ts +111 -0
- package/models/DeviceControllerUnflagDeviceRequest.ts +75 -0
- package/models/EnrollmentControllerEnrollUser201Response.ts +89 -0
- package/models/EnrollmentControllerEnrollUser201ResponseData.ts +113 -0
- package/models/EnrollmentControllerEnrollUser201ResponseDataMetadata.ts +81 -0
- package/models/EnrollmentControllerEnrollUserRequest.ts +101 -0
- package/models/GeoControllerGeoVerifyRequest.ts +93 -0
- package/models/IpControllerFlagIpRequest.ts +92 -0
- package/models/IpControllerFlagIpRequestReasonsInner.ts +114 -0
- package/models/IpControllerUnflagIpRequest.ts +75 -0
- package/models/ManagementControllerAllClients200Response.ts +89 -0
- package/models/ManagementControllerAllClients200ResponseData.ts +88 -0
- package/models/ManagementControllerAllClients200ResponseDataPagination.ts +89 -0
- package/models/ManagementControllerAllClients400Response.ts +81 -0
- package/models/ManagementControllerAllClients404Response.ts +73 -0
- package/models/ManagementControllerAllClients500Response.ts +81 -0
- package/models/ManagementControllerGetClient200Response.ts +81 -0
- package/models/ManagementControllerGetClient400Response.ts +81 -0
- package/models/ManagementControllerGetClient404Response.ts +73 -0
- package/models/ManagementControllerGetClient500Response.ts +81 -0
- package/models/ManagementControllerRegisterClient201Response.ts +89 -0
- package/models/ManagementControllerRegisterClient201ResponseData.ts +105 -0
- package/models/ManagementControllerRegisterClient400Response.ts +81 -0
- package/models/ManagementControllerRegisterClient409Response.ts +89 -0
- package/models/ManagementControllerRegisterClient409ResponseError.ts +73 -0
- package/models/ManagementControllerRegisterClient500Response.ts +81 -0
- package/models/ManagementControllerRegisterClientRequest.ts +75 -0
- package/models/ManagementControllerRemoveClient200Response.ts +89 -0
- package/models/ManagementControllerRemoveClient200ResponseData.ts +65 -0
- package/models/ManagementControllerRemoveClient400Response.ts +81 -0
- package/models/ManagementControllerRemoveClient500Response.ts +81 -0
- package/models/ManagementControllerRemoveClientRequest.ts +66 -0
- package/models/ManagementControllerUpdateClient200Response.ts +89 -0
- package/models/ManagementControllerUpdateClient200ResponseData.ts +89 -0
- package/models/ManagementControllerUpdateClient400Response.ts +81 -0
- package/models/ManagementControllerUpdateClient500Response.ts +81 -0
- package/models/ManagementControllerUpdateClientRequest.ts +103 -0
- package/models/MandateControllerCreateCartMandate201Response.ts +89 -0
- package/models/MandateControllerCreateCartMandate201ResponseData.ts +137 -0
- package/models/MandateControllerCreateCartMandateRequest.ts +171 -0
- package/models/MandateControllerCreateCartMandateRequestItemsInner.ts +93 -0
- package/models/MandateControllerCreateIntentMandateRequest.ts +144 -0
- package/models/MandateControllerCreatePaymentMandateRequest.ts +189 -0
- package/models/MandateControllerCreateSignedPaymentMandateRequest.ts +137 -0
- package/models/MandateControllerCreateSignedPaymentMandateRequestUserAuthorization.ts +100 -0
- package/models/ReportingControllerRemoveReportRequest.ts +66 -0
- package/models/ReportingControllerReportClientRequest.ts +83 -0
- package/models/ReportingControllerReportClientRequestReasonsInner.ts +110 -0
- package/models/index.ts +55 -0
- package/package.json +65 -0
- package/runtime.ts +432 -0
- package/utils/dpop.ts +174 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Credentials Service API
|
|
5
|
+
* API documentation for the Credentials service - Mandate and Enrollment endpoints API documentation for the Fraud service - Blacklist, Device, Geo, IP, Reporting, and Risk endpoints API documentation for the Partner service - Management endpoints
|
|
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 GeoControllerGeoVerifyRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface GeoControllerGeoVerifyRequest {
|
|
22
|
+
/**
|
|
23
|
+
* Client UUID
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof GeoControllerGeoVerifyRequest
|
|
26
|
+
*/
|
|
27
|
+
clientId: string;
|
|
28
|
+
/**
|
|
29
|
+
* IPv4 address
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof GeoControllerGeoVerifyRequest
|
|
32
|
+
*/
|
|
33
|
+
ipAddress: string;
|
|
34
|
+
/**
|
|
35
|
+
* Expected country name
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof GeoControllerGeoVerifyRequest
|
|
38
|
+
*/
|
|
39
|
+
expectedCountry: string;
|
|
40
|
+
/**
|
|
41
|
+
* Expected city name
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof GeoControllerGeoVerifyRequest
|
|
44
|
+
*/
|
|
45
|
+
expectedCity: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the GeoControllerGeoVerifyRequest interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfGeoControllerGeoVerifyRequest(value: object): value is GeoControllerGeoVerifyRequest {
|
|
52
|
+
if (!('clientId' in value) || value['clientId'] === undefined) return false;
|
|
53
|
+
if (!('ipAddress' in value) || value['ipAddress'] === undefined) return false;
|
|
54
|
+
if (!('expectedCountry' in value) || value['expectedCountry'] === undefined) return false;
|
|
55
|
+
if (!('expectedCity' in value) || value['expectedCity'] === undefined) return false;
|
|
56
|
+
return true;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function GeoControllerGeoVerifyRequestFromJSON(json: any): GeoControllerGeoVerifyRequest {
|
|
60
|
+
return GeoControllerGeoVerifyRequestFromJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function GeoControllerGeoVerifyRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GeoControllerGeoVerifyRequest {
|
|
64
|
+
if (json == null) {
|
|
65
|
+
return json;
|
|
66
|
+
}
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'clientId': json['clientId'],
|
|
70
|
+
'ipAddress': json['ipAddress'],
|
|
71
|
+
'expectedCountry': json['expectedCountry'],
|
|
72
|
+
'expectedCity': json['expectedCity'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function GeoControllerGeoVerifyRequestToJSON(json: any): GeoControllerGeoVerifyRequest {
|
|
77
|
+
return GeoControllerGeoVerifyRequestToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function GeoControllerGeoVerifyRequestToJSONTyped(value?: GeoControllerGeoVerifyRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
81
|
+
if (value == null) {
|
|
82
|
+
return value;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return {
|
|
86
|
+
|
|
87
|
+
'clientId': value['clientId'],
|
|
88
|
+
'ipAddress': value['ipAddress'],
|
|
89
|
+
'expectedCountry': value['expectedCountry'],
|
|
90
|
+
'expectedCity': value['expectedCity'],
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Credentials Service API
|
|
5
|
+
* API documentation for the Credentials service - Mandate and Enrollment endpoints API documentation for the Fraud service - Blacklist, Device, Geo, IP, Reporting, and Risk endpoints API documentation for the Partner service - Management endpoints
|
|
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 { IpControllerFlagIpRequestReasonsInner } from './IpControllerFlagIpRequestReasonsInner';
|
|
17
|
+
import {
|
|
18
|
+
IpControllerFlagIpRequestReasonsInnerFromJSON,
|
|
19
|
+
IpControllerFlagIpRequestReasonsInnerFromJSONTyped,
|
|
20
|
+
IpControllerFlagIpRequestReasonsInnerToJSON,
|
|
21
|
+
IpControllerFlagIpRequestReasonsInnerToJSONTyped,
|
|
22
|
+
} from './IpControllerFlagIpRequestReasonsInner';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface IpControllerFlagIpRequest
|
|
28
|
+
*/
|
|
29
|
+
export interface IpControllerFlagIpRequest {
|
|
30
|
+
/**
|
|
31
|
+
* Client UUID
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof IpControllerFlagIpRequest
|
|
34
|
+
*/
|
|
35
|
+
clientId: string;
|
|
36
|
+
/**
|
|
37
|
+
* IP address (IPv4 or IPv6)
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof IpControllerFlagIpRequest
|
|
40
|
+
*/
|
|
41
|
+
ip: string;
|
|
42
|
+
/**
|
|
43
|
+
* Array of structured reasons for flagging
|
|
44
|
+
* @type {Array<IpControllerFlagIpRequestReasonsInner>}
|
|
45
|
+
* @memberof IpControllerFlagIpRequest
|
|
46
|
+
*/
|
|
47
|
+
reasons: Array<IpControllerFlagIpRequestReasonsInner>;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the IpControllerFlagIpRequest interface.
|
|
52
|
+
*/
|
|
53
|
+
export function instanceOfIpControllerFlagIpRequest(value: object): value is IpControllerFlagIpRequest {
|
|
54
|
+
if (!('clientId' in value) || value['clientId'] === undefined) return false;
|
|
55
|
+
if (!('ip' in value) || value['ip'] === undefined) return false;
|
|
56
|
+
if (!('reasons' in value) || value['reasons'] === undefined) return false;
|
|
57
|
+
return true;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function IpControllerFlagIpRequestFromJSON(json: any): IpControllerFlagIpRequest {
|
|
61
|
+
return IpControllerFlagIpRequestFromJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function IpControllerFlagIpRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IpControllerFlagIpRequest {
|
|
65
|
+
if (json == null) {
|
|
66
|
+
return json;
|
|
67
|
+
}
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'clientId': json['clientId'],
|
|
71
|
+
'ip': json['ip'],
|
|
72
|
+
'reasons': ((json['reasons'] as Array<any>).map(IpControllerFlagIpRequestReasonsInnerFromJSON)),
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function IpControllerFlagIpRequestToJSON(json: any): IpControllerFlagIpRequest {
|
|
77
|
+
return IpControllerFlagIpRequestToJSONTyped(json, false);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function IpControllerFlagIpRequestToJSONTyped(value?: IpControllerFlagIpRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
81
|
+
if (value == null) {
|
|
82
|
+
return value;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return {
|
|
86
|
+
|
|
87
|
+
'clientId': value['clientId'],
|
|
88
|
+
'ip': value['ip'],
|
|
89
|
+
'reasons': ((value['reasons'] as Array<any>).map(IpControllerFlagIpRequestReasonsInnerToJSON)),
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Credentials Service API
|
|
5
|
+
* API documentation for the Credentials service - Mandate and Enrollment endpoints API documentation for the Fraud service - Blacklist, Device, Geo, IP, Reporting, and Risk endpoints API documentation for the Partner service - Management endpoints
|
|
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 IpControllerFlagIpRequestReasonsInner
|
|
20
|
+
*/
|
|
21
|
+
export interface IpControllerFlagIpRequestReasonsInner {
|
|
22
|
+
/**
|
|
23
|
+
* IP category (TOO_MANY_REQUESTS, VPN_OR_PROXY, etc.)
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof IpControllerFlagIpRequestReasonsInner
|
|
26
|
+
*/
|
|
27
|
+
category: IpControllerFlagIpRequestReasonsInnerCategoryEnum;
|
|
28
|
+
/**
|
|
29
|
+
* Severity level (LOW, MEDIUM, HIGH, CRITICAL)
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof IpControllerFlagIpRequestReasonsInner
|
|
32
|
+
*/
|
|
33
|
+
severity: IpControllerFlagIpRequestReasonsInnerSeverityEnum;
|
|
34
|
+
/**
|
|
35
|
+
* Optional note providing additional context
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof IpControllerFlagIpRequestReasonsInner
|
|
38
|
+
*/
|
|
39
|
+
note?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* @export
|
|
45
|
+
*/
|
|
46
|
+
export const IpControllerFlagIpRequestReasonsInnerCategoryEnum = {
|
|
47
|
+
TooManyRequests: 'TOO_MANY_REQUESTS',
|
|
48
|
+
VpnOrProxy: 'VPN_OR_PROXY',
|
|
49
|
+
TorExit: 'TOR_EXIT',
|
|
50
|
+
DatacenterIp: 'DATACENTER_IP',
|
|
51
|
+
HighRiskAsn: 'HIGH_RISK_ASN',
|
|
52
|
+
GeoMismatch: 'GEO_MISMATCH',
|
|
53
|
+
CredentialStuffing: 'CREDENTIAL_STUFFING',
|
|
54
|
+
BruteForce: 'BRUTE_FORCE',
|
|
55
|
+
CardingActivity: 'CARDING_ACTIVITY',
|
|
56
|
+
SpamOrBot: 'SPAM_OR_BOT',
|
|
57
|
+
AbuseReports: 'ABUSE_REPORTS'
|
|
58
|
+
} as const;
|
|
59
|
+
export type IpControllerFlagIpRequestReasonsInnerCategoryEnum = typeof IpControllerFlagIpRequestReasonsInnerCategoryEnum[keyof typeof IpControllerFlagIpRequestReasonsInnerCategoryEnum];
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* @export
|
|
63
|
+
*/
|
|
64
|
+
export const IpControllerFlagIpRequestReasonsInnerSeverityEnum = {
|
|
65
|
+
Low: 'LOW',
|
|
66
|
+
Medium: 'MEDIUM',
|
|
67
|
+
High: 'HIGH',
|
|
68
|
+
Critical: 'CRITICAL'
|
|
69
|
+
} as const;
|
|
70
|
+
export type IpControllerFlagIpRequestReasonsInnerSeverityEnum = typeof IpControllerFlagIpRequestReasonsInnerSeverityEnum[keyof typeof IpControllerFlagIpRequestReasonsInnerSeverityEnum];
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Check if a given object implements the IpControllerFlagIpRequestReasonsInner interface.
|
|
75
|
+
*/
|
|
76
|
+
export function instanceOfIpControllerFlagIpRequestReasonsInner(value: object): value is IpControllerFlagIpRequestReasonsInner {
|
|
77
|
+
if (!('category' in value) || value['category'] === undefined) return false;
|
|
78
|
+
if (!('severity' in value) || value['severity'] === undefined) return false;
|
|
79
|
+
return true;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
export function IpControllerFlagIpRequestReasonsInnerFromJSON(json: any): IpControllerFlagIpRequestReasonsInner {
|
|
83
|
+
return IpControllerFlagIpRequestReasonsInnerFromJSONTyped(json, false);
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export function IpControllerFlagIpRequestReasonsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): IpControllerFlagIpRequestReasonsInner {
|
|
87
|
+
if (json == null) {
|
|
88
|
+
return json;
|
|
89
|
+
}
|
|
90
|
+
return {
|
|
91
|
+
|
|
92
|
+
'category': json['category'],
|
|
93
|
+
'severity': json['severity'],
|
|
94
|
+
'note': json['note'] == null ? undefined : json['note'],
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export function IpControllerFlagIpRequestReasonsInnerToJSON(json: any): IpControllerFlagIpRequestReasonsInner {
|
|
99
|
+
return IpControllerFlagIpRequestReasonsInnerToJSONTyped(json, false);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export function IpControllerFlagIpRequestReasonsInnerToJSONTyped(value?: IpControllerFlagIpRequestReasonsInner | null, ignoreDiscriminator: boolean = false): any {
|
|
103
|
+
if (value == null) {
|
|
104
|
+
return value;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
return {
|
|
108
|
+
|
|
109
|
+
'category': value['category'],
|
|
110
|
+
'severity': value['severity'],
|
|
111
|
+
'note': value['note'],
|
|
112
|
+
};
|
|
113
|
+
}
|
|
114
|
+
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Credentials Service API
|
|
5
|
+
* API documentation for the Credentials service - Mandate and Enrollment endpoints API documentation for the Fraud service - Blacklist, Device, Geo, IP, Reporting, and Risk endpoints API documentation for the Partner service - Management endpoints
|
|
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 IpControllerUnflagIpRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface IpControllerUnflagIpRequest {
|
|
22
|
+
/**
|
|
23
|
+
* Client UUID
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof IpControllerUnflagIpRequest
|
|
26
|
+
*/
|
|
27
|
+
clientId: string;
|
|
28
|
+
/**
|
|
29
|
+
* IP address (IPv4 or IPv6) to unflag
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof IpControllerUnflagIpRequest
|
|
32
|
+
*/
|
|
33
|
+
ip: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the IpControllerUnflagIpRequest interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfIpControllerUnflagIpRequest(value: object): value is IpControllerUnflagIpRequest {
|
|
40
|
+
if (!('clientId' in value) || value['clientId'] === undefined) return false;
|
|
41
|
+
if (!('ip' in value) || value['ip'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function IpControllerUnflagIpRequestFromJSON(json: any): IpControllerUnflagIpRequest {
|
|
46
|
+
return IpControllerUnflagIpRequestFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function IpControllerUnflagIpRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IpControllerUnflagIpRequest {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'clientId': json['clientId'],
|
|
56
|
+
'ip': json['ip'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function IpControllerUnflagIpRequestToJSON(json: any): IpControllerUnflagIpRequest {
|
|
61
|
+
return IpControllerUnflagIpRequestToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function IpControllerUnflagIpRequestToJSONTyped(value?: IpControllerUnflagIpRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'clientId': value['clientId'],
|
|
72
|
+
'ip': value['ip'],
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Credentials Service API
|
|
5
|
+
* API documentation for the Credentials service - Mandate and Enrollment endpoints API documentation for the Fraud service - Blacklist, Device, Geo, IP, Reporting, and Risk endpoints API documentation for the Partner service - Management endpoints
|
|
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 { ManagementControllerAllClients200ResponseData } from './ManagementControllerAllClients200ResponseData';
|
|
17
|
+
import {
|
|
18
|
+
ManagementControllerAllClients200ResponseDataFromJSON,
|
|
19
|
+
ManagementControllerAllClients200ResponseDataFromJSONTyped,
|
|
20
|
+
ManagementControllerAllClients200ResponseDataToJSON,
|
|
21
|
+
ManagementControllerAllClients200ResponseDataToJSONTyped,
|
|
22
|
+
} from './ManagementControllerAllClients200ResponseData';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ManagementControllerAllClients200Response
|
|
28
|
+
*/
|
|
29
|
+
export interface ManagementControllerAllClients200Response {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ManagementControllerAllClients200Response
|
|
34
|
+
*/
|
|
35
|
+
success?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ManagementControllerAllClients200Response
|
|
40
|
+
*/
|
|
41
|
+
message?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {ManagementControllerAllClients200ResponseData}
|
|
45
|
+
* @memberof ManagementControllerAllClients200Response
|
|
46
|
+
*/
|
|
47
|
+
data?: ManagementControllerAllClients200ResponseData;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the ManagementControllerAllClients200Response interface.
|
|
52
|
+
*/
|
|
53
|
+
export function instanceOfManagementControllerAllClients200Response(value: object): value is ManagementControllerAllClients200Response {
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function ManagementControllerAllClients200ResponseFromJSON(json: any): ManagementControllerAllClients200Response {
|
|
58
|
+
return ManagementControllerAllClients200ResponseFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function ManagementControllerAllClients200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagementControllerAllClients200Response {
|
|
62
|
+
if (json == null) {
|
|
63
|
+
return json;
|
|
64
|
+
}
|
|
65
|
+
return {
|
|
66
|
+
|
|
67
|
+
'success': json['success'] == null ? undefined : json['success'],
|
|
68
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
69
|
+
'data': json['data'] == null ? undefined : ManagementControllerAllClients200ResponseDataFromJSON(json['data']),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function ManagementControllerAllClients200ResponseToJSON(json: any): ManagementControllerAllClients200Response {
|
|
74
|
+
return ManagementControllerAllClients200ResponseToJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function ManagementControllerAllClients200ResponseToJSONTyped(value?: ManagementControllerAllClients200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
78
|
+
if (value == null) {
|
|
79
|
+
return value;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'success': value['success'],
|
|
85
|
+
'message': value['message'],
|
|
86
|
+
'data': ManagementControllerAllClients200ResponseDataToJSON(value['data']),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Credentials Service API
|
|
5
|
+
* API documentation for the Credentials service - Mandate and Enrollment endpoints API documentation for the Fraud service - Blacklist, Device, Geo, IP, Reporting, and Risk endpoints API documentation for the Partner service - Management endpoints
|
|
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 { ManagementControllerRegisterClient201ResponseData } from './ManagementControllerRegisterClient201ResponseData';
|
|
17
|
+
import {
|
|
18
|
+
ManagementControllerRegisterClient201ResponseDataFromJSON,
|
|
19
|
+
ManagementControllerRegisterClient201ResponseDataFromJSONTyped,
|
|
20
|
+
ManagementControllerRegisterClient201ResponseDataToJSON,
|
|
21
|
+
ManagementControllerRegisterClient201ResponseDataToJSONTyped,
|
|
22
|
+
} from './ManagementControllerRegisterClient201ResponseData';
|
|
23
|
+
import type { ManagementControllerAllClients200ResponseDataPagination } from './ManagementControllerAllClients200ResponseDataPagination';
|
|
24
|
+
import {
|
|
25
|
+
ManagementControllerAllClients200ResponseDataPaginationFromJSON,
|
|
26
|
+
ManagementControllerAllClients200ResponseDataPaginationFromJSONTyped,
|
|
27
|
+
ManagementControllerAllClients200ResponseDataPaginationToJSON,
|
|
28
|
+
ManagementControllerAllClients200ResponseDataPaginationToJSONTyped,
|
|
29
|
+
} from './ManagementControllerAllClients200ResponseDataPagination';
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @export
|
|
34
|
+
* @interface ManagementControllerAllClients200ResponseData
|
|
35
|
+
*/
|
|
36
|
+
export interface ManagementControllerAllClients200ResponseData {
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<ManagementControllerRegisterClient201ResponseData>}
|
|
40
|
+
* @memberof ManagementControllerAllClients200ResponseData
|
|
41
|
+
*/
|
|
42
|
+
clients?: Array<ManagementControllerRegisterClient201ResponseData>;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {ManagementControllerAllClients200ResponseDataPagination}
|
|
46
|
+
* @memberof ManagementControllerAllClients200ResponseData
|
|
47
|
+
*/
|
|
48
|
+
pagination?: ManagementControllerAllClients200ResponseDataPagination;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the ManagementControllerAllClients200ResponseData interface.
|
|
53
|
+
*/
|
|
54
|
+
export function instanceOfManagementControllerAllClients200ResponseData(value: object): value is ManagementControllerAllClients200ResponseData {
|
|
55
|
+
return true;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function ManagementControllerAllClients200ResponseDataFromJSON(json: any): ManagementControllerAllClients200ResponseData {
|
|
59
|
+
return ManagementControllerAllClients200ResponseDataFromJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function ManagementControllerAllClients200ResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagementControllerAllClients200ResponseData {
|
|
63
|
+
if (json == null) {
|
|
64
|
+
return json;
|
|
65
|
+
}
|
|
66
|
+
return {
|
|
67
|
+
|
|
68
|
+
'clients': json['clients'] == null ? undefined : ((json['clients'] as Array<any>).map(ManagementControllerRegisterClient201ResponseDataFromJSON)),
|
|
69
|
+
'pagination': json['pagination'] == null ? undefined : ManagementControllerAllClients200ResponseDataPaginationFromJSON(json['pagination']),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function ManagementControllerAllClients200ResponseDataToJSON(json: any): ManagementControllerAllClients200ResponseData {
|
|
74
|
+
return ManagementControllerAllClients200ResponseDataToJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function ManagementControllerAllClients200ResponseDataToJSONTyped(value?: ManagementControllerAllClients200ResponseData | null, ignoreDiscriminator: boolean = false): any {
|
|
78
|
+
if (value == null) {
|
|
79
|
+
return value;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
return {
|
|
83
|
+
|
|
84
|
+
'clients': value['clients'] == null ? undefined : ((value['clients'] as Array<any>).map(ManagementControllerRegisterClient201ResponseDataToJSON)),
|
|
85
|
+
'pagination': ManagementControllerAllClients200ResponseDataPaginationToJSON(value['pagination']),
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Credentials Service API
|
|
5
|
+
* API documentation for the Credentials service - Mandate and Enrollment endpoints API documentation for the Fraud service - Blacklist, Device, Geo, IP, Reporting, and Risk endpoints API documentation for the Partner service - Management endpoints
|
|
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 ManagementControllerAllClients200ResponseDataPagination
|
|
20
|
+
*/
|
|
21
|
+
export interface ManagementControllerAllClients200ResponseDataPagination {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof ManagementControllerAllClients200ResponseDataPagination
|
|
26
|
+
*/
|
|
27
|
+
limit?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof ManagementControllerAllClients200ResponseDataPagination
|
|
32
|
+
*/
|
|
33
|
+
offset?: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof ManagementControllerAllClients200ResponseDataPagination
|
|
38
|
+
*/
|
|
39
|
+
total?: number;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {boolean}
|
|
43
|
+
* @memberof ManagementControllerAllClients200ResponseDataPagination
|
|
44
|
+
*/
|
|
45
|
+
hasMore?: boolean;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the ManagementControllerAllClients200ResponseDataPagination interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfManagementControllerAllClients200ResponseDataPagination(value: object): value is ManagementControllerAllClients200ResponseDataPagination {
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function ManagementControllerAllClients200ResponseDataPaginationFromJSON(json: any): ManagementControllerAllClients200ResponseDataPagination {
|
|
56
|
+
return ManagementControllerAllClients200ResponseDataPaginationFromJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function ManagementControllerAllClients200ResponseDataPaginationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagementControllerAllClients200ResponseDataPagination {
|
|
60
|
+
if (json == null) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
|
|
65
|
+
'limit': json['limit'] == null ? undefined : json['limit'],
|
|
66
|
+
'offset': json['offset'] == null ? undefined : json['offset'],
|
|
67
|
+
'total': json['total'] == null ? undefined : json['total'],
|
|
68
|
+
'hasMore': json['hasMore'] == null ? undefined : json['hasMore'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function ManagementControllerAllClients200ResponseDataPaginationToJSON(json: any): ManagementControllerAllClients200ResponseDataPagination {
|
|
73
|
+
return ManagementControllerAllClients200ResponseDataPaginationToJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function ManagementControllerAllClients200ResponseDataPaginationToJSONTyped(value?: ManagementControllerAllClients200ResponseDataPagination | null, ignoreDiscriminator: boolean = false): any {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'limit': value['limit'],
|
|
84
|
+
'offset': value['offset'],
|
|
85
|
+
'total': value['total'],
|
|
86
|
+
'hasMore': value['hasMore'],
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|