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,105 @@
|
|
|
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 ManagementControllerRegisterClient201ResponseData
|
|
20
|
+
*/
|
|
21
|
+
export interface ManagementControllerRegisterClient201ResponseData {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ManagementControllerRegisterClient201ResponseData
|
|
26
|
+
*/
|
|
27
|
+
clientId?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ManagementControllerRegisterClient201ResponseData
|
|
32
|
+
*/
|
|
33
|
+
name?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ManagementControllerRegisterClient201ResponseData
|
|
38
|
+
*/
|
|
39
|
+
email?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ManagementControllerRegisterClient201ResponseData
|
|
44
|
+
*/
|
|
45
|
+
status?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {Date}
|
|
49
|
+
* @memberof ManagementControllerRegisterClient201ResponseData
|
|
50
|
+
*/
|
|
51
|
+
registeredAt?: Date;
|
|
52
|
+
/**
|
|
53
|
+
*
|
|
54
|
+
* @type {Date}
|
|
55
|
+
* @memberof ManagementControllerRegisterClient201ResponseData
|
|
56
|
+
*/
|
|
57
|
+
updatedAt?: Date;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Check if a given object implements the ManagementControllerRegisterClient201ResponseData interface.
|
|
62
|
+
*/
|
|
63
|
+
export function instanceOfManagementControllerRegisterClient201ResponseData(value: object): value is ManagementControllerRegisterClient201ResponseData {
|
|
64
|
+
return true;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function ManagementControllerRegisterClient201ResponseDataFromJSON(json: any): ManagementControllerRegisterClient201ResponseData {
|
|
68
|
+
return ManagementControllerRegisterClient201ResponseDataFromJSONTyped(json, false);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export function ManagementControllerRegisterClient201ResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagementControllerRegisterClient201ResponseData {
|
|
72
|
+
if (json == null) {
|
|
73
|
+
return json;
|
|
74
|
+
}
|
|
75
|
+
return {
|
|
76
|
+
|
|
77
|
+
'clientId': json['clientId'] == null ? undefined : json['clientId'],
|
|
78
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
79
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
80
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
81
|
+
'registeredAt': json['registeredAt'] == null ? undefined : (new Date(json['registeredAt'])),
|
|
82
|
+
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export function ManagementControllerRegisterClient201ResponseDataToJSON(json: any): ManagementControllerRegisterClient201ResponseData {
|
|
87
|
+
return ManagementControllerRegisterClient201ResponseDataToJSONTyped(json, false);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function ManagementControllerRegisterClient201ResponseDataToJSONTyped(value?: ManagementControllerRegisterClient201ResponseData | null, ignoreDiscriminator: boolean = false): any {
|
|
91
|
+
if (value == null) {
|
|
92
|
+
return value;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
return {
|
|
96
|
+
|
|
97
|
+
'clientId': value['clientId'],
|
|
98
|
+
'name': value['name'],
|
|
99
|
+
'email': value['email'],
|
|
100
|
+
'status': value['status'],
|
|
101
|
+
'registeredAt': value['registeredAt'] == null ? value['registeredAt'] : value['registeredAt'].toISOString(),
|
|
102
|
+
'updatedAt': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt'].toISOString(),
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
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 ManagementControllerRegisterClient400Response
|
|
20
|
+
*/
|
|
21
|
+
export interface ManagementControllerRegisterClient400Response {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof ManagementControllerRegisterClient400Response
|
|
26
|
+
*/
|
|
27
|
+
success?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ManagementControllerRegisterClient400Response
|
|
32
|
+
*/
|
|
33
|
+
message?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ManagementControllerRegisterClient400Response
|
|
38
|
+
*/
|
|
39
|
+
error?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ManagementControllerRegisterClient400Response interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfManagementControllerRegisterClient400Response(value: object): value is ManagementControllerRegisterClient400Response {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ManagementControllerRegisterClient400ResponseFromJSON(json: any): ManagementControllerRegisterClient400Response {
|
|
50
|
+
return ManagementControllerRegisterClient400ResponseFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function ManagementControllerRegisterClient400ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagementControllerRegisterClient400Response {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
|
|
59
|
+
'success': json['success'] == null ? undefined : json['success'],
|
|
60
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
61
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function ManagementControllerRegisterClient400ResponseToJSON(json: any): ManagementControllerRegisterClient400Response {
|
|
66
|
+
return ManagementControllerRegisterClient400ResponseToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function ManagementControllerRegisterClient400ResponseToJSONTyped(value?: ManagementControllerRegisterClient400Response | null, ignoreDiscriminator: boolean = false): any {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'success': value['success'],
|
|
77
|
+
'message': value['message'],
|
|
78
|
+
'error': value['error'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -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 { ManagementControllerRegisterClient409ResponseError } from './ManagementControllerRegisterClient409ResponseError';
|
|
17
|
+
import {
|
|
18
|
+
ManagementControllerRegisterClient409ResponseErrorFromJSON,
|
|
19
|
+
ManagementControllerRegisterClient409ResponseErrorFromJSONTyped,
|
|
20
|
+
ManagementControllerRegisterClient409ResponseErrorToJSON,
|
|
21
|
+
ManagementControllerRegisterClient409ResponseErrorToJSONTyped,
|
|
22
|
+
} from './ManagementControllerRegisterClient409ResponseError';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ManagementControllerRegisterClient409Response
|
|
28
|
+
*/
|
|
29
|
+
export interface ManagementControllerRegisterClient409Response {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ManagementControllerRegisterClient409Response
|
|
34
|
+
*/
|
|
35
|
+
success?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ManagementControllerRegisterClient409Response
|
|
40
|
+
*/
|
|
41
|
+
message?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {ManagementControllerRegisterClient409ResponseError}
|
|
45
|
+
* @memberof ManagementControllerRegisterClient409Response
|
|
46
|
+
*/
|
|
47
|
+
error?: ManagementControllerRegisterClient409ResponseError;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the ManagementControllerRegisterClient409Response interface.
|
|
52
|
+
*/
|
|
53
|
+
export function instanceOfManagementControllerRegisterClient409Response(value: object): value is ManagementControllerRegisterClient409Response {
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function ManagementControllerRegisterClient409ResponseFromJSON(json: any): ManagementControllerRegisterClient409Response {
|
|
58
|
+
return ManagementControllerRegisterClient409ResponseFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function ManagementControllerRegisterClient409ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagementControllerRegisterClient409Response {
|
|
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
|
+
'error': json['error'] == null ? undefined : ManagementControllerRegisterClient409ResponseErrorFromJSON(json['error']),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function ManagementControllerRegisterClient409ResponseToJSON(json: any): ManagementControllerRegisterClient409Response {
|
|
74
|
+
return ManagementControllerRegisterClient409ResponseToJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function ManagementControllerRegisterClient409ResponseToJSONTyped(value?: ManagementControllerRegisterClient409Response | 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
|
+
'error': ManagementControllerRegisterClient409ResponseErrorToJSON(value['error']),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
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 ManagementControllerRegisterClient409ResponseError
|
|
20
|
+
*/
|
|
21
|
+
export interface ManagementControllerRegisterClient409ResponseError {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ManagementControllerRegisterClient409ResponseError
|
|
26
|
+
*/
|
|
27
|
+
code?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ManagementControllerRegisterClient409ResponseError
|
|
32
|
+
*/
|
|
33
|
+
email?: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the ManagementControllerRegisterClient409ResponseError interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfManagementControllerRegisterClient409ResponseError(value: object): value is ManagementControllerRegisterClient409ResponseError {
|
|
40
|
+
return true;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function ManagementControllerRegisterClient409ResponseErrorFromJSON(json: any): ManagementControllerRegisterClient409ResponseError {
|
|
44
|
+
return ManagementControllerRegisterClient409ResponseErrorFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function ManagementControllerRegisterClient409ResponseErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagementControllerRegisterClient409ResponseError {
|
|
48
|
+
if (json == null) {
|
|
49
|
+
return json;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
|
|
53
|
+
'code': json['code'] == null ? undefined : json['code'],
|
|
54
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export function ManagementControllerRegisterClient409ResponseErrorToJSON(json: any): ManagementControllerRegisterClient409ResponseError {
|
|
59
|
+
return ManagementControllerRegisterClient409ResponseErrorToJSONTyped(json, false);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export function ManagementControllerRegisterClient409ResponseErrorToJSONTyped(value?: ManagementControllerRegisterClient409ResponseError | null, ignoreDiscriminator: boolean = false): any {
|
|
63
|
+
if (value == null) {
|
|
64
|
+
return value;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
return {
|
|
68
|
+
|
|
69
|
+
'code': value['code'],
|
|
70
|
+
'email': value['email'],
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -0,0 +1,81 @@
|
|
|
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 ManagementControllerRegisterClient500Response
|
|
20
|
+
*/
|
|
21
|
+
export interface ManagementControllerRegisterClient500Response {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof ManagementControllerRegisterClient500Response
|
|
26
|
+
*/
|
|
27
|
+
success?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ManagementControllerRegisterClient500Response
|
|
32
|
+
*/
|
|
33
|
+
message?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ManagementControllerRegisterClient500Response
|
|
38
|
+
*/
|
|
39
|
+
error?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ManagementControllerRegisterClient500Response interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfManagementControllerRegisterClient500Response(value: object): value is ManagementControllerRegisterClient500Response {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ManagementControllerRegisterClient500ResponseFromJSON(json: any): ManagementControllerRegisterClient500Response {
|
|
50
|
+
return ManagementControllerRegisterClient500ResponseFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function ManagementControllerRegisterClient500ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagementControllerRegisterClient500Response {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
|
|
59
|
+
'success': json['success'] == null ? undefined : json['success'],
|
|
60
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
61
|
+
'error': json['error'] == null ? undefined : json['error'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function ManagementControllerRegisterClient500ResponseToJSON(json: any): ManagementControllerRegisterClient500Response {
|
|
66
|
+
return ManagementControllerRegisterClient500ResponseToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function ManagementControllerRegisterClient500ResponseToJSONTyped(value?: ManagementControllerRegisterClient500Response | null, ignoreDiscriminator: boolean = false): any {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'success': value['success'],
|
|
77
|
+
'message': value['message'],
|
|
78
|
+
'error': value['error'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
@@ -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 ManagementControllerRegisterClientRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface ManagementControllerRegisterClientRequest {
|
|
22
|
+
/**
|
|
23
|
+
* Client name - The full name of the client to register (string, 1-255 characters)
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ManagementControllerRegisterClientRequest
|
|
26
|
+
*/
|
|
27
|
+
name: string;
|
|
28
|
+
/**
|
|
29
|
+
* Client email address - The email address of the client (string, valid email format)
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ManagementControllerRegisterClientRequest
|
|
32
|
+
*/
|
|
33
|
+
email: string;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Check if a given object implements the ManagementControllerRegisterClientRequest interface.
|
|
38
|
+
*/
|
|
39
|
+
export function instanceOfManagementControllerRegisterClientRequest(value: object): value is ManagementControllerRegisterClientRequest {
|
|
40
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
41
|
+
if (!('email' in value) || value['email'] === undefined) return false;
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function ManagementControllerRegisterClientRequestFromJSON(json: any): ManagementControllerRegisterClientRequest {
|
|
46
|
+
return ManagementControllerRegisterClientRequestFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ManagementControllerRegisterClientRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagementControllerRegisterClientRequest {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'name': json['name'],
|
|
56
|
+
'email': json['email'],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export function ManagementControllerRegisterClientRequestToJSON(json: any): ManagementControllerRegisterClientRequest {
|
|
61
|
+
return ManagementControllerRegisterClientRequestToJSONTyped(json, false);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export function ManagementControllerRegisterClientRequestToJSONTyped(value?: ManagementControllerRegisterClientRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
+
if (value == null) {
|
|
66
|
+
return value;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'name': value['name'],
|
|
72
|
+
'email': value['email'],
|
|
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 { ManagementControllerRemoveClient200ResponseData } from './ManagementControllerRemoveClient200ResponseData';
|
|
17
|
+
import {
|
|
18
|
+
ManagementControllerRemoveClient200ResponseDataFromJSON,
|
|
19
|
+
ManagementControllerRemoveClient200ResponseDataFromJSONTyped,
|
|
20
|
+
ManagementControllerRemoveClient200ResponseDataToJSON,
|
|
21
|
+
ManagementControllerRemoveClient200ResponseDataToJSONTyped,
|
|
22
|
+
} from './ManagementControllerRemoveClient200ResponseData';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ManagementControllerRemoveClient200Response
|
|
28
|
+
*/
|
|
29
|
+
export interface ManagementControllerRemoveClient200Response {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ManagementControllerRemoveClient200Response
|
|
34
|
+
*/
|
|
35
|
+
success?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ManagementControllerRemoveClient200Response
|
|
40
|
+
*/
|
|
41
|
+
message?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {ManagementControllerRemoveClient200ResponseData}
|
|
45
|
+
* @memberof ManagementControllerRemoveClient200Response
|
|
46
|
+
*/
|
|
47
|
+
data?: ManagementControllerRemoveClient200ResponseData;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the ManagementControllerRemoveClient200Response interface.
|
|
52
|
+
*/
|
|
53
|
+
export function instanceOfManagementControllerRemoveClient200Response(value: object): value is ManagementControllerRemoveClient200Response {
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function ManagementControllerRemoveClient200ResponseFromJSON(json: any): ManagementControllerRemoveClient200Response {
|
|
58
|
+
return ManagementControllerRemoveClient200ResponseFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function ManagementControllerRemoveClient200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagementControllerRemoveClient200Response {
|
|
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 : ManagementControllerRemoveClient200ResponseDataFromJSON(json['data']),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function ManagementControllerRemoveClient200ResponseToJSON(json: any): ManagementControllerRemoveClient200Response {
|
|
74
|
+
return ManagementControllerRemoveClient200ResponseToJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function ManagementControllerRemoveClient200ResponseToJSONTyped(value?: ManagementControllerRemoveClient200Response | 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': ManagementControllerRemoveClient200ResponseDataToJSON(value['data']),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
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 ManagementControllerRemoveClient200ResponseData
|
|
20
|
+
*/
|
|
21
|
+
export interface ManagementControllerRemoveClient200ResponseData {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ManagementControllerRemoveClient200ResponseData
|
|
26
|
+
*/
|
|
27
|
+
clientId?: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ManagementControllerRemoveClient200ResponseData interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfManagementControllerRemoveClient200ResponseData(value: object): value is ManagementControllerRemoveClient200ResponseData {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export function ManagementControllerRemoveClient200ResponseDataFromJSON(json: any): ManagementControllerRemoveClient200ResponseData {
|
|
38
|
+
return ManagementControllerRemoveClient200ResponseDataFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function ManagementControllerRemoveClient200ResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagementControllerRemoveClient200ResponseData {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
|
|
47
|
+
'clientId': json['clientId'] == null ? undefined : json['clientId'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function ManagementControllerRemoveClient200ResponseDataToJSON(json: any): ManagementControllerRemoveClient200ResponseData {
|
|
52
|
+
return ManagementControllerRemoveClient200ResponseDataToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function ManagementControllerRemoveClient200ResponseDataToJSONTyped(value?: ManagementControllerRemoveClient200ResponseData | null, ignoreDiscriminator: boolean = false): any {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'clientId': value['clientId'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|