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,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 ManagementControllerRemoveClient400Response
|
|
20
|
+
*/
|
|
21
|
+
export interface ManagementControllerRemoveClient400Response {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof ManagementControllerRemoveClient400Response
|
|
26
|
+
*/
|
|
27
|
+
success?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ManagementControllerRemoveClient400Response
|
|
32
|
+
*/
|
|
33
|
+
message?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ManagementControllerRemoveClient400Response
|
|
38
|
+
*/
|
|
39
|
+
error?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ManagementControllerRemoveClient400Response interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfManagementControllerRemoveClient400Response(value: object): value is ManagementControllerRemoveClient400Response {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ManagementControllerRemoveClient400ResponseFromJSON(json: any): ManagementControllerRemoveClient400Response {
|
|
50
|
+
return ManagementControllerRemoveClient400ResponseFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function ManagementControllerRemoveClient400ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagementControllerRemoveClient400Response {
|
|
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 ManagementControllerRemoveClient400ResponseToJSON(json: any): ManagementControllerRemoveClient400Response {
|
|
66
|
+
return ManagementControllerRemoveClient400ResponseToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function ManagementControllerRemoveClient400ResponseToJSONTyped(value?: ManagementControllerRemoveClient400Response | 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,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 ManagementControllerRemoveClient500Response
|
|
20
|
+
*/
|
|
21
|
+
export interface ManagementControllerRemoveClient500Response {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof ManagementControllerRemoveClient500Response
|
|
26
|
+
*/
|
|
27
|
+
success?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ManagementControllerRemoveClient500Response
|
|
32
|
+
*/
|
|
33
|
+
message?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ManagementControllerRemoveClient500Response
|
|
38
|
+
*/
|
|
39
|
+
error?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ManagementControllerRemoveClient500Response interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfManagementControllerRemoveClient500Response(value: object): value is ManagementControllerRemoveClient500Response {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ManagementControllerRemoveClient500ResponseFromJSON(json: any): ManagementControllerRemoveClient500Response {
|
|
50
|
+
return ManagementControllerRemoveClient500ResponseFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function ManagementControllerRemoveClient500ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagementControllerRemoveClient500Response {
|
|
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 ManagementControllerRemoveClient500ResponseToJSON(json: any): ManagementControllerRemoveClient500Response {
|
|
66
|
+
return ManagementControllerRemoveClient500ResponseToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function ManagementControllerRemoveClient500ResponseToJSONTyped(value?: ManagementControllerRemoveClient500Response | 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,66 @@
|
|
|
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 ManagementControllerRemoveClientRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface ManagementControllerRemoveClientRequest {
|
|
22
|
+
/**
|
|
23
|
+
* Client UUID to remove - The unique identifier of the client to soft delete (string, UUID format, required)
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ManagementControllerRemoveClientRequest
|
|
26
|
+
*/
|
|
27
|
+
clientId: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the ManagementControllerRemoveClientRequest interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfManagementControllerRemoveClientRequest(value: object): value is ManagementControllerRemoveClientRequest {
|
|
34
|
+
if (!('clientId' in value) || value['clientId'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function ManagementControllerRemoveClientRequestFromJSON(json: any): ManagementControllerRemoveClientRequest {
|
|
39
|
+
return ManagementControllerRemoveClientRequestFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function ManagementControllerRemoveClientRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagementControllerRemoveClientRequest {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'clientId': json['clientId'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function ManagementControllerRemoveClientRequestToJSON(json: any): ManagementControllerRemoveClientRequest {
|
|
53
|
+
return ManagementControllerRemoveClientRequestToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function ManagementControllerRemoveClientRequestToJSONTyped(value?: ManagementControllerRemoveClientRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'clientId': value['clientId'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -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 { ManagementControllerUpdateClient200ResponseData } from './ManagementControllerUpdateClient200ResponseData';
|
|
17
|
+
import {
|
|
18
|
+
ManagementControllerUpdateClient200ResponseDataFromJSON,
|
|
19
|
+
ManagementControllerUpdateClient200ResponseDataFromJSONTyped,
|
|
20
|
+
ManagementControllerUpdateClient200ResponseDataToJSON,
|
|
21
|
+
ManagementControllerUpdateClient200ResponseDataToJSONTyped,
|
|
22
|
+
} from './ManagementControllerUpdateClient200ResponseData';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ManagementControllerUpdateClient200Response
|
|
28
|
+
*/
|
|
29
|
+
export interface ManagementControllerUpdateClient200Response {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof ManagementControllerUpdateClient200Response
|
|
34
|
+
*/
|
|
35
|
+
success?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ManagementControllerUpdateClient200Response
|
|
40
|
+
*/
|
|
41
|
+
message?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {ManagementControllerUpdateClient200ResponseData}
|
|
45
|
+
* @memberof ManagementControllerUpdateClient200Response
|
|
46
|
+
*/
|
|
47
|
+
data?: ManagementControllerUpdateClient200ResponseData;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the ManagementControllerUpdateClient200Response interface.
|
|
52
|
+
*/
|
|
53
|
+
export function instanceOfManagementControllerUpdateClient200Response(value: object): value is ManagementControllerUpdateClient200Response {
|
|
54
|
+
return true;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
export function ManagementControllerUpdateClient200ResponseFromJSON(json: any): ManagementControllerUpdateClient200Response {
|
|
58
|
+
return ManagementControllerUpdateClient200ResponseFromJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function ManagementControllerUpdateClient200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagementControllerUpdateClient200Response {
|
|
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 : ManagementControllerUpdateClient200ResponseDataFromJSON(json['data']),
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function ManagementControllerUpdateClient200ResponseToJSON(json: any): ManagementControllerUpdateClient200Response {
|
|
74
|
+
return ManagementControllerUpdateClient200ResponseToJSONTyped(json, false);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export function ManagementControllerUpdateClient200ResponseToJSONTyped(value?: ManagementControllerUpdateClient200Response | 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': ManagementControllerUpdateClient200ResponseDataToJSON(value['data']),
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
@@ -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 ManagementControllerUpdateClient200ResponseData
|
|
20
|
+
*/
|
|
21
|
+
export interface ManagementControllerUpdateClient200ResponseData {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ManagementControllerUpdateClient200ResponseData
|
|
26
|
+
*/
|
|
27
|
+
clientId?: string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ManagementControllerUpdateClient200ResponseData
|
|
32
|
+
*/
|
|
33
|
+
name?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ManagementControllerUpdateClient200ResponseData
|
|
38
|
+
*/
|
|
39
|
+
email?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ManagementControllerUpdateClient200ResponseData
|
|
44
|
+
*/
|
|
45
|
+
status?: string;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Check if a given object implements the ManagementControllerUpdateClient200ResponseData interface.
|
|
50
|
+
*/
|
|
51
|
+
export function instanceOfManagementControllerUpdateClient200ResponseData(value: object): value is ManagementControllerUpdateClient200ResponseData {
|
|
52
|
+
return true;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function ManagementControllerUpdateClient200ResponseDataFromJSON(json: any): ManagementControllerUpdateClient200ResponseData {
|
|
56
|
+
return ManagementControllerUpdateClient200ResponseDataFromJSONTyped(json, false);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function ManagementControllerUpdateClient200ResponseDataFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagementControllerUpdateClient200ResponseData {
|
|
60
|
+
if (json == null) {
|
|
61
|
+
return json;
|
|
62
|
+
}
|
|
63
|
+
return {
|
|
64
|
+
|
|
65
|
+
'clientId': json['clientId'] == null ? undefined : json['clientId'],
|
|
66
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
67
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
68
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export function ManagementControllerUpdateClient200ResponseDataToJSON(json: any): ManagementControllerUpdateClient200ResponseData {
|
|
73
|
+
return ManagementControllerUpdateClient200ResponseDataToJSONTyped(json, false);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export function ManagementControllerUpdateClient200ResponseDataToJSONTyped(value?: ManagementControllerUpdateClient200ResponseData | null, ignoreDiscriminator: boolean = false): any {
|
|
77
|
+
if (value == null) {
|
|
78
|
+
return value;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
return {
|
|
82
|
+
|
|
83
|
+
'clientId': value['clientId'],
|
|
84
|
+
'name': value['name'],
|
|
85
|
+
'email': value['email'],
|
|
86
|
+
'status': value['status'],
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
@@ -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 ManagementControllerUpdateClient400Response
|
|
20
|
+
*/
|
|
21
|
+
export interface ManagementControllerUpdateClient400Response {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof ManagementControllerUpdateClient400Response
|
|
26
|
+
*/
|
|
27
|
+
success?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ManagementControllerUpdateClient400Response
|
|
32
|
+
*/
|
|
33
|
+
message?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ManagementControllerUpdateClient400Response
|
|
38
|
+
*/
|
|
39
|
+
error?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ManagementControllerUpdateClient400Response interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfManagementControllerUpdateClient400Response(value: object): value is ManagementControllerUpdateClient400Response {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ManagementControllerUpdateClient400ResponseFromJSON(json: any): ManagementControllerUpdateClient400Response {
|
|
50
|
+
return ManagementControllerUpdateClient400ResponseFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function ManagementControllerUpdateClient400ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagementControllerUpdateClient400Response {
|
|
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 ManagementControllerUpdateClient400ResponseToJSON(json: any): ManagementControllerUpdateClient400Response {
|
|
66
|
+
return ManagementControllerUpdateClient400ResponseToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function ManagementControllerUpdateClient400ResponseToJSONTyped(value?: ManagementControllerUpdateClient400Response | 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,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 ManagementControllerUpdateClient500Response
|
|
20
|
+
*/
|
|
21
|
+
export interface ManagementControllerUpdateClient500Response {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {boolean}
|
|
25
|
+
* @memberof ManagementControllerUpdateClient500Response
|
|
26
|
+
*/
|
|
27
|
+
success?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ManagementControllerUpdateClient500Response
|
|
32
|
+
*/
|
|
33
|
+
message?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ManagementControllerUpdateClient500Response
|
|
38
|
+
*/
|
|
39
|
+
error?: string;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the ManagementControllerUpdateClient500Response interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfManagementControllerUpdateClient500Response(value: object): value is ManagementControllerUpdateClient500Response {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ManagementControllerUpdateClient500ResponseFromJSON(json: any): ManagementControllerUpdateClient500Response {
|
|
50
|
+
return ManagementControllerUpdateClient500ResponseFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function ManagementControllerUpdateClient500ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagementControllerUpdateClient500Response {
|
|
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 ManagementControllerUpdateClient500ResponseToJSON(json: any): ManagementControllerUpdateClient500Response {
|
|
66
|
+
return ManagementControllerUpdateClient500ResponseToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function ManagementControllerUpdateClient500ResponseToJSONTyped(value?: ManagementControllerUpdateClient500Response | 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,103 @@
|
|
|
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 ManagementControllerUpdateClientRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface ManagementControllerUpdateClientRequest {
|
|
22
|
+
/**
|
|
23
|
+
* Client UUID to update - The unique identifier of the client to modify (string, UUID format, required)
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ManagementControllerUpdateClientRequest
|
|
26
|
+
*/
|
|
27
|
+
clientId: string;
|
|
28
|
+
/**
|
|
29
|
+
* Client name - The new name for the client (string, 1-255 characters, optional)
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof ManagementControllerUpdateClientRequest
|
|
32
|
+
*/
|
|
33
|
+
name?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Client email address - The new email address for the client (string, valid email format, optional)
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof ManagementControllerUpdateClientRequest
|
|
38
|
+
*/
|
|
39
|
+
email?: string;
|
|
40
|
+
/**
|
|
41
|
+
* Client status - The new status for the client (string, enum: active|inactive|suspended|deleted, optional)
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ManagementControllerUpdateClientRequest
|
|
44
|
+
*/
|
|
45
|
+
status?: ManagementControllerUpdateClientRequestStatusEnum;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @export
|
|
51
|
+
*/
|
|
52
|
+
export const ManagementControllerUpdateClientRequestStatusEnum = {
|
|
53
|
+
Active: 'active',
|
|
54
|
+
Inactive: 'inactive',
|
|
55
|
+
Suspended: 'suspended',
|
|
56
|
+
Deleted: 'deleted'
|
|
57
|
+
} as const;
|
|
58
|
+
export type ManagementControllerUpdateClientRequestStatusEnum = typeof ManagementControllerUpdateClientRequestStatusEnum[keyof typeof ManagementControllerUpdateClientRequestStatusEnum];
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the ManagementControllerUpdateClientRequest interface.
|
|
63
|
+
*/
|
|
64
|
+
export function instanceOfManagementControllerUpdateClientRequest(value: object): value is ManagementControllerUpdateClientRequest {
|
|
65
|
+
if (!('clientId' in value) || value['clientId'] === undefined) return false;
|
|
66
|
+
return true;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function ManagementControllerUpdateClientRequestFromJSON(json: any): ManagementControllerUpdateClientRequest {
|
|
70
|
+
return ManagementControllerUpdateClientRequestFromJSONTyped(json, false);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export function ManagementControllerUpdateClientRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagementControllerUpdateClientRequest {
|
|
74
|
+
if (json == null) {
|
|
75
|
+
return json;
|
|
76
|
+
}
|
|
77
|
+
return {
|
|
78
|
+
|
|
79
|
+
'clientId': json['clientId'],
|
|
80
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
81
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
82
|
+
'status': json['status'] == null ? undefined : json['status'],
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
export function ManagementControllerUpdateClientRequestToJSON(json: any): ManagementControllerUpdateClientRequest {
|
|
87
|
+
return ManagementControllerUpdateClientRequestToJSONTyped(json, false);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export function ManagementControllerUpdateClientRequestToJSONTyped(value?: ManagementControllerUpdateClientRequest | 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
|
+
};
|
|
102
|
+
}
|
|
103
|
+
|