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.
Files changed (70) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +84 -0
  3. package/apis/BlacklistApi.ts +312 -0
  4. package/apis/CommsApi.ts +99 -0
  5. package/apis/DeviceApi.ts +322 -0
  6. package/apis/EnrollmentApi.ts +111 -0
  7. package/apis/GeoApi.ts +263 -0
  8. package/apis/IpApi.ts +322 -0
  9. package/apis/MandateApi.ts +529 -0
  10. package/apis/PartnerApi.ts +442 -0
  11. package/apis/ReportingApi.ts +312 -0
  12. package/apis/index.ts +11 -0
  13. package/index.ts +6 -0
  14. package/models/BlacklistControllerBlacklistClientRequest.ts +83 -0
  15. package/models/BlacklistControllerBlacklistClientRequestReasonsInner.ts +111 -0
  16. package/models/BlacklistControllerRemoveBlacklistClientRequest.ts +66 -0
  17. package/models/CommsControllerCheckClientStatusRequest.ts +75 -0
  18. package/models/DeviceControllerFlagDeviceRequest.ts +92 -0
  19. package/models/DeviceControllerFlagDeviceRequestReasonsInner.ts +111 -0
  20. package/models/DeviceControllerUnflagDeviceRequest.ts +75 -0
  21. package/models/EnrollmentControllerEnrollUser201Response.ts +89 -0
  22. package/models/EnrollmentControllerEnrollUser201ResponseData.ts +113 -0
  23. package/models/EnrollmentControllerEnrollUser201ResponseDataMetadata.ts +81 -0
  24. package/models/EnrollmentControllerEnrollUserRequest.ts +101 -0
  25. package/models/GeoControllerGeoVerifyRequest.ts +93 -0
  26. package/models/IpControllerFlagIpRequest.ts +92 -0
  27. package/models/IpControllerFlagIpRequestReasonsInner.ts +114 -0
  28. package/models/IpControllerUnflagIpRequest.ts +75 -0
  29. package/models/ManagementControllerAllClients200Response.ts +89 -0
  30. package/models/ManagementControllerAllClients200ResponseData.ts +88 -0
  31. package/models/ManagementControllerAllClients200ResponseDataPagination.ts +89 -0
  32. package/models/ManagementControllerAllClients400Response.ts +81 -0
  33. package/models/ManagementControllerAllClients404Response.ts +73 -0
  34. package/models/ManagementControllerAllClients500Response.ts +81 -0
  35. package/models/ManagementControllerGetClient200Response.ts +81 -0
  36. package/models/ManagementControllerGetClient400Response.ts +81 -0
  37. package/models/ManagementControllerGetClient404Response.ts +73 -0
  38. package/models/ManagementControllerGetClient500Response.ts +81 -0
  39. package/models/ManagementControllerRegisterClient201Response.ts +89 -0
  40. package/models/ManagementControllerRegisterClient201ResponseData.ts +105 -0
  41. package/models/ManagementControllerRegisterClient400Response.ts +81 -0
  42. package/models/ManagementControllerRegisterClient409Response.ts +89 -0
  43. package/models/ManagementControllerRegisterClient409ResponseError.ts +73 -0
  44. package/models/ManagementControllerRegisterClient500Response.ts +81 -0
  45. package/models/ManagementControllerRegisterClientRequest.ts +75 -0
  46. package/models/ManagementControllerRemoveClient200Response.ts +89 -0
  47. package/models/ManagementControllerRemoveClient200ResponseData.ts +65 -0
  48. package/models/ManagementControllerRemoveClient400Response.ts +81 -0
  49. package/models/ManagementControllerRemoveClient500Response.ts +81 -0
  50. package/models/ManagementControllerRemoveClientRequest.ts +66 -0
  51. package/models/ManagementControllerUpdateClient200Response.ts +89 -0
  52. package/models/ManagementControllerUpdateClient200ResponseData.ts +89 -0
  53. package/models/ManagementControllerUpdateClient400Response.ts +81 -0
  54. package/models/ManagementControllerUpdateClient500Response.ts +81 -0
  55. package/models/ManagementControllerUpdateClientRequest.ts +103 -0
  56. package/models/MandateControllerCreateCartMandate201Response.ts +89 -0
  57. package/models/MandateControllerCreateCartMandate201ResponseData.ts +137 -0
  58. package/models/MandateControllerCreateCartMandateRequest.ts +171 -0
  59. package/models/MandateControllerCreateCartMandateRequestItemsInner.ts +93 -0
  60. package/models/MandateControllerCreateIntentMandateRequest.ts +144 -0
  61. package/models/MandateControllerCreatePaymentMandateRequest.ts +189 -0
  62. package/models/MandateControllerCreateSignedPaymentMandateRequest.ts +137 -0
  63. package/models/MandateControllerCreateSignedPaymentMandateRequestUserAuthorization.ts +100 -0
  64. package/models/ReportingControllerRemoveReportRequest.ts +66 -0
  65. package/models/ReportingControllerReportClientRequest.ts +83 -0
  66. package/models/ReportingControllerReportClientRequestReasonsInner.ts +110 -0
  67. package/models/index.ts +55 -0
  68. package/package.json +65 -0
  69. package/runtime.ts +432 -0
  70. 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 ManagementControllerAllClients400Response
20
+ */
21
+ export interface ManagementControllerAllClients400Response {
22
+ /**
23
+ *
24
+ * @type {boolean}
25
+ * @memberof ManagementControllerAllClients400Response
26
+ */
27
+ success?: boolean;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ManagementControllerAllClients400Response
32
+ */
33
+ message?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof ManagementControllerAllClients400Response
38
+ */
39
+ error?: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the ManagementControllerAllClients400Response interface.
44
+ */
45
+ export function instanceOfManagementControllerAllClients400Response(value: object): value is ManagementControllerAllClients400Response {
46
+ return true;
47
+ }
48
+
49
+ export function ManagementControllerAllClients400ResponseFromJSON(json: any): ManagementControllerAllClients400Response {
50
+ return ManagementControllerAllClients400ResponseFromJSONTyped(json, false);
51
+ }
52
+
53
+ export function ManagementControllerAllClients400ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagementControllerAllClients400Response {
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 ManagementControllerAllClients400ResponseToJSON(json: any): ManagementControllerAllClients400Response {
66
+ return ManagementControllerAllClients400ResponseToJSONTyped(json, false);
67
+ }
68
+
69
+ export function ManagementControllerAllClients400ResponseToJSONTyped(value?: ManagementControllerAllClients400Response | 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,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 ManagementControllerAllClients404Response
20
+ */
21
+ export interface ManagementControllerAllClients404Response {
22
+ /**
23
+ *
24
+ * @type {boolean}
25
+ * @memberof ManagementControllerAllClients404Response
26
+ */
27
+ success?: boolean;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ManagementControllerAllClients404Response
32
+ */
33
+ message?: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the ManagementControllerAllClients404Response interface.
38
+ */
39
+ export function instanceOfManagementControllerAllClients404Response(value: object): value is ManagementControllerAllClients404Response {
40
+ return true;
41
+ }
42
+
43
+ export function ManagementControllerAllClients404ResponseFromJSON(json: any): ManagementControllerAllClients404Response {
44
+ return ManagementControllerAllClients404ResponseFromJSONTyped(json, false);
45
+ }
46
+
47
+ export function ManagementControllerAllClients404ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagementControllerAllClients404Response {
48
+ if (json == null) {
49
+ return json;
50
+ }
51
+ return {
52
+
53
+ 'success': json['success'] == null ? undefined : json['success'],
54
+ 'message': json['message'] == null ? undefined : json['message'],
55
+ };
56
+ }
57
+
58
+ export function ManagementControllerAllClients404ResponseToJSON(json: any): ManagementControllerAllClients404Response {
59
+ return ManagementControllerAllClients404ResponseToJSONTyped(json, false);
60
+ }
61
+
62
+ export function ManagementControllerAllClients404ResponseToJSONTyped(value?: ManagementControllerAllClients404Response | null, ignoreDiscriminator: boolean = false): any {
63
+ if (value == null) {
64
+ return value;
65
+ }
66
+
67
+ return {
68
+
69
+ 'success': value['success'],
70
+ 'message': value['message'],
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 ManagementControllerAllClients500Response
20
+ */
21
+ export interface ManagementControllerAllClients500Response {
22
+ /**
23
+ *
24
+ * @type {boolean}
25
+ * @memberof ManagementControllerAllClients500Response
26
+ */
27
+ success?: boolean;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ManagementControllerAllClients500Response
32
+ */
33
+ message?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof ManagementControllerAllClients500Response
38
+ */
39
+ error?: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the ManagementControllerAllClients500Response interface.
44
+ */
45
+ export function instanceOfManagementControllerAllClients500Response(value: object): value is ManagementControllerAllClients500Response {
46
+ return true;
47
+ }
48
+
49
+ export function ManagementControllerAllClients500ResponseFromJSON(json: any): ManagementControllerAllClients500Response {
50
+ return ManagementControllerAllClients500ResponseFromJSONTyped(json, false);
51
+ }
52
+
53
+ export function ManagementControllerAllClients500ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagementControllerAllClients500Response {
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 ManagementControllerAllClients500ResponseToJSON(json: any): ManagementControllerAllClients500Response {
66
+ return ManagementControllerAllClients500ResponseToJSONTyped(json, false);
67
+ }
68
+
69
+ export function ManagementControllerAllClients500ResponseToJSONTyped(value?: ManagementControllerAllClients500Response | 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
+ import type { ManagementControllerRegisterClient201ResponseData } from './ManagementControllerRegisterClient201ResponseData';
17
+ import {
18
+ ManagementControllerRegisterClient201ResponseDataFromJSON,
19
+ ManagementControllerRegisterClient201ResponseDataFromJSONTyped,
20
+ ManagementControllerRegisterClient201ResponseDataToJSON,
21
+ ManagementControllerRegisterClient201ResponseDataToJSONTyped,
22
+ } from './ManagementControllerRegisterClient201ResponseData';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ManagementControllerGetClient200Response
28
+ */
29
+ export interface ManagementControllerGetClient200Response {
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof ManagementControllerGetClient200Response
34
+ */
35
+ success?: boolean;
36
+ /**
37
+ *
38
+ * @type {ManagementControllerRegisterClient201ResponseData}
39
+ * @memberof ManagementControllerGetClient200Response
40
+ */
41
+ data?: ManagementControllerRegisterClient201ResponseData;
42
+ }
43
+
44
+ /**
45
+ * Check if a given object implements the ManagementControllerGetClient200Response interface.
46
+ */
47
+ export function instanceOfManagementControllerGetClient200Response(value: object): value is ManagementControllerGetClient200Response {
48
+ return true;
49
+ }
50
+
51
+ export function ManagementControllerGetClient200ResponseFromJSON(json: any): ManagementControllerGetClient200Response {
52
+ return ManagementControllerGetClient200ResponseFromJSONTyped(json, false);
53
+ }
54
+
55
+ export function ManagementControllerGetClient200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagementControllerGetClient200Response {
56
+ if (json == null) {
57
+ return json;
58
+ }
59
+ return {
60
+
61
+ 'success': json['success'] == null ? undefined : json['success'],
62
+ 'data': json['data'] == null ? undefined : ManagementControllerRegisterClient201ResponseDataFromJSON(json['data']),
63
+ };
64
+ }
65
+
66
+ export function ManagementControllerGetClient200ResponseToJSON(json: any): ManagementControllerGetClient200Response {
67
+ return ManagementControllerGetClient200ResponseToJSONTyped(json, false);
68
+ }
69
+
70
+ export function ManagementControllerGetClient200ResponseToJSONTyped(value?: ManagementControllerGetClient200Response | null, ignoreDiscriminator: boolean = false): any {
71
+ if (value == null) {
72
+ return value;
73
+ }
74
+
75
+ return {
76
+
77
+ 'success': value['success'],
78
+ 'data': ManagementControllerRegisterClient201ResponseDataToJSON(value['data']),
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 ManagementControllerGetClient400Response
20
+ */
21
+ export interface ManagementControllerGetClient400Response {
22
+ /**
23
+ *
24
+ * @type {boolean}
25
+ * @memberof ManagementControllerGetClient400Response
26
+ */
27
+ success?: boolean;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ManagementControllerGetClient400Response
32
+ */
33
+ message?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof ManagementControllerGetClient400Response
38
+ */
39
+ error?: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the ManagementControllerGetClient400Response interface.
44
+ */
45
+ export function instanceOfManagementControllerGetClient400Response(value: object): value is ManagementControllerGetClient400Response {
46
+ return true;
47
+ }
48
+
49
+ export function ManagementControllerGetClient400ResponseFromJSON(json: any): ManagementControllerGetClient400Response {
50
+ return ManagementControllerGetClient400ResponseFromJSONTyped(json, false);
51
+ }
52
+
53
+ export function ManagementControllerGetClient400ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagementControllerGetClient400Response {
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 ManagementControllerGetClient400ResponseToJSON(json: any): ManagementControllerGetClient400Response {
66
+ return ManagementControllerGetClient400ResponseToJSONTyped(json, false);
67
+ }
68
+
69
+ export function ManagementControllerGetClient400ResponseToJSONTyped(value?: ManagementControllerGetClient400Response | 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,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 ManagementControllerGetClient404Response
20
+ */
21
+ export interface ManagementControllerGetClient404Response {
22
+ /**
23
+ *
24
+ * @type {boolean}
25
+ * @memberof ManagementControllerGetClient404Response
26
+ */
27
+ success?: boolean;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ManagementControllerGetClient404Response
32
+ */
33
+ message?: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the ManagementControllerGetClient404Response interface.
38
+ */
39
+ export function instanceOfManagementControllerGetClient404Response(value: object): value is ManagementControllerGetClient404Response {
40
+ return true;
41
+ }
42
+
43
+ export function ManagementControllerGetClient404ResponseFromJSON(json: any): ManagementControllerGetClient404Response {
44
+ return ManagementControllerGetClient404ResponseFromJSONTyped(json, false);
45
+ }
46
+
47
+ export function ManagementControllerGetClient404ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagementControllerGetClient404Response {
48
+ if (json == null) {
49
+ return json;
50
+ }
51
+ return {
52
+
53
+ 'success': json['success'] == null ? undefined : json['success'],
54
+ 'message': json['message'] == null ? undefined : json['message'],
55
+ };
56
+ }
57
+
58
+ export function ManagementControllerGetClient404ResponseToJSON(json: any): ManagementControllerGetClient404Response {
59
+ return ManagementControllerGetClient404ResponseToJSONTyped(json, false);
60
+ }
61
+
62
+ export function ManagementControllerGetClient404ResponseToJSONTyped(value?: ManagementControllerGetClient404Response | null, ignoreDiscriminator: boolean = false): any {
63
+ if (value == null) {
64
+ return value;
65
+ }
66
+
67
+ return {
68
+
69
+ 'success': value['success'],
70
+ 'message': value['message'],
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 ManagementControllerGetClient500Response
20
+ */
21
+ export interface ManagementControllerGetClient500Response {
22
+ /**
23
+ *
24
+ * @type {boolean}
25
+ * @memberof ManagementControllerGetClient500Response
26
+ */
27
+ success?: boolean;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ManagementControllerGetClient500Response
32
+ */
33
+ message?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof ManagementControllerGetClient500Response
38
+ */
39
+ error?: string;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the ManagementControllerGetClient500Response interface.
44
+ */
45
+ export function instanceOfManagementControllerGetClient500Response(value: object): value is ManagementControllerGetClient500Response {
46
+ return true;
47
+ }
48
+
49
+ export function ManagementControllerGetClient500ResponseFromJSON(json: any): ManagementControllerGetClient500Response {
50
+ return ManagementControllerGetClient500ResponseFromJSONTyped(json, false);
51
+ }
52
+
53
+ export function ManagementControllerGetClient500ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagementControllerGetClient500Response {
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 ManagementControllerGetClient500ResponseToJSON(json: any): ManagementControllerGetClient500Response {
66
+ return ManagementControllerGetClient500ResponseToJSONTyped(json, false);
67
+ }
68
+
69
+ export function ManagementControllerGetClient500ResponseToJSONTyped(value?: ManagementControllerGetClient500Response | 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 { ManagementControllerRegisterClient201ResponseData } from './ManagementControllerRegisterClient201ResponseData';
17
+ import {
18
+ ManagementControllerRegisterClient201ResponseDataFromJSON,
19
+ ManagementControllerRegisterClient201ResponseDataFromJSONTyped,
20
+ ManagementControllerRegisterClient201ResponseDataToJSON,
21
+ ManagementControllerRegisterClient201ResponseDataToJSONTyped,
22
+ } from './ManagementControllerRegisterClient201ResponseData';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ManagementControllerRegisterClient201Response
28
+ */
29
+ export interface ManagementControllerRegisterClient201Response {
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof ManagementControllerRegisterClient201Response
34
+ */
35
+ success?: boolean;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ManagementControllerRegisterClient201Response
40
+ */
41
+ message?: string;
42
+ /**
43
+ *
44
+ * @type {ManagementControllerRegisterClient201ResponseData}
45
+ * @memberof ManagementControllerRegisterClient201Response
46
+ */
47
+ data?: ManagementControllerRegisterClient201ResponseData;
48
+ }
49
+
50
+ /**
51
+ * Check if a given object implements the ManagementControllerRegisterClient201Response interface.
52
+ */
53
+ export function instanceOfManagementControllerRegisterClient201Response(value: object): value is ManagementControllerRegisterClient201Response {
54
+ return true;
55
+ }
56
+
57
+ export function ManagementControllerRegisterClient201ResponseFromJSON(json: any): ManagementControllerRegisterClient201Response {
58
+ return ManagementControllerRegisterClient201ResponseFromJSONTyped(json, false);
59
+ }
60
+
61
+ export function ManagementControllerRegisterClient201ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ManagementControllerRegisterClient201Response {
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 : ManagementControllerRegisterClient201ResponseDataFromJSON(json['data']),
70
+ };
71
+ }
72
+
73
+ export function ManagementControllerRegisterClient201ResponseToJSON(json: any): ManagementControllerRegisterClient201Response {
74
+ return ManagementControllerRegisterClient201ResponseToJSONTyped(json, false);
75
+ }
76
+
77
+ export function ManagementControllerRegisterClient201ResponseToJSONTyped(value?: ManagementControllerRegisterClient201Response | 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': ManagementControllerRegisterClient201ResponseDataToJSON(value['data']),
87
+ };
88
+ }
89
+