@drxsuperapp/sdk 1.1.427 → 1.1.429
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/.openapi-generator/FILES +10 -0
- package/apis/UserNotificationsApi.ts +305 -0
- package/deploy.log +30 -4
- package/dist/apis/UserNotificationsApi.d.ts +67 -1
- package/dist/apis/UserNotificationsApi.js +209 -1
- package/dist/models/ApiNotificationDeleteAllDeleteRequest.d.ts +32 -0
- package/dist/models/ApiNotificationDeleteAllDeleteRequest.js +41 -0
- package/dist/models/ApiNotificationMyNotificationsGet200Response.d.ts +51 -0
- package/dist/models/ApiNotificationMyNotificationsGet200Response.js +54 -0
- package/dist/models/ApiNotificationMyNotificationsGet200ResponseResponseObject.d.ts +57 -0
- package/dist/models/ApiNotificationMyNotificationsGet200ResponseResponseObject.js +60 -0
- package/dist/models/ApiNotificationMyNotificationsGet200ResponseResponseObjectItemsInner.d.ts +134 -0
- package/dist/models/ApiNotificationMyNotificationsGet200ResponseResponseObjectItemsInner.js +114 -0
- package/dist/models/ApiNotificationMyNotificationsGetFilterParameter.d.ts +59 -0
- package/dist/models/ApiNotificationMyNotificationsGetFilterParameter.js +52 -0
- package/dist/models/ApiNotificationNotificationIdReadPut200Response.d.ts +51 -0
- package/dist/models/ApiNotificationNotificationIdReadPut200Response.js +54 -0
- package/dist/models/ApiNotificationNotificationIdReadPut200ResponseResponseObject.d.ts +38 -0
- package/dist/models/ApiNotificationNotificationIdReadPut200ResponseResponseObject.js +47 -0
- package/dist/models/ApiNotificationReadAllPutRequest.d.ts +32 -0
- package/dist/models/ApiNotificationReadAllPutRequest.js +41 -0
- package/dist/models/ApiNotificationStatsGet200Response.d.ts +51 -0
- package/dist/models/ApiNotificationStatsGet200Response.js +54 -0
- package/dist/models/ApiNotificationStatsGet200ResponseResponseObject.d.ts +44 -0
- package/dist/models/ApiNotificationStatsGet200ResponseResponseObject.js +51 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/models/ApiNotificationDeleteAllDeleteRequest.ts +65 -0
- package/models/ApiNotificationMyNotificationsGet200Response.ts +100 -0
- package/models/ApiNotificationMyNotificationsGet200ResponseResponseObject.ts +110 -0
- package/models/ApiNotificationMyNotificationsGet200ResponseResponseObjectItemsInner.ts +211 -0
- package/models/ApiNotificationMyNotificationsGetFilterParameter.ts +119 -0
- package/models/ApiNotificationNotificationIdReadPut200Response.ts +100 -0
- package/models/ApiNotificationNotificationIdReadPut200ResponseResponseObject.ts +75 -0
- package/models/ApiNotificationReadAllPutRequest.ts +65 -0
- package/models/ApiNotificationStatsGet200Response.ts +100 -0
- package/models/ApiNotificationStatsGet200ResponseResponseObject.ts +84 -0
- package/models/index.ts +10 -0
- package/package.json +1 -1
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* DRX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
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
|
+
* @export
|
|
16
|
+
*/
|
|
17
|
+
export const ApiNotificationMyNotificationsGet200ResponseResponseObjectItemsInnerTypeEnum = {
|
|
18
|
+
System: 'SYSTEM',
|
|
19
|
+
Welcome: 'WELCOME',
|
|
20
|
+
Tournament: 'TOURNAMENT',
|
|
21
|
+
Reward: 'REWARD',
|
|
22
|
+
News: 'NEWS',
|
|
23
|
+
LiveStream: 'LIVE_STREAM',
|
|
24
|
+
Referral: 'REFERRAL',
|
|
25
|
+
Reminder: 'REMINDER',
|
|
26
|
+
Promotional: 'PROMOTIONAL',
|
|
27
|
+
Security: 'SECURITY'
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Check if a given object implements the ApiNotificationMyNotificationsGet200ResponseResponseObjectItemsInner interface.
|
|
31
|
+
*/
|
|
32
|
+
export function instanceOfApiNotificationMyNotificationsGet200ResponseResponseObjectItemsInner(value) {
|
|
33
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
34
|
+
return false;
|
|
35
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
36
|
+
return false;
|
|
37
|
+
if (!('title' in value) || value['title'] === undefined)
|
|
38
|
+
return false;
|
|
39
|
+
if (!('body' in value) || value['body'] === undefined)
|
|
40
|
+
return false;
|
|
41
|
+
if (!('image' in value) || value['image'] === undefined)
|
|
42
|
+
return false;
|
|
43
|
+
if (!('icon' in value) || value['icon'] === undefined)
|
|
44
|
+
return false;
|
|
45
|
+
if (!('clickAction' in value) || value['clickAction'] === undefined)
|
|
46
|
+
return false;
|
|
47
|
+
if (!('deepLink' in value) || value['deepLink'] === undefined)
|
|
48
|
+
return false;
|
|
49
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
50
|
+
return false;
|
|
51
|
+
if (!('status' in value) || value['status'] === undefined)
|
|
52
|
+
return false;
|
|
53
|
+
if (!('isRead' in value) || value['isRead'] === undefined)
|
|
54
|
+
return false;
|
|
55
|
+
if (!('sentAt' in value) || value['sentAt'] === undefined)
|
|
56
|
+
return false;
|
|
57
|
+
if (!('deliveredAt' in value) || value['deliveredAt'] === undefined)
|
|
58
|
+
return false;
|
|
59
|
+
if (!('openedAt' in value) || value['openedAt'] === undefined)
|
|
60
|
+
return false;
|
|
61
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
62
|
+
return false;
|
|
63
|
+
return true;
|
|
64
|
+
}
|
|
65
|
+
export function ApiNotificationMyNotificationsGet200ResponseResponseObjectItemsInnerFromJSON(json) {
|
|
66
|
+
return ApiNotificationMyNotificationsGet200ResponseResponseObjectItemsInnerFromJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
export function ApiNotificationMyNotificationsGet200ResponseResponseObjectItemsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
69
|
+
if (json == null) {
|
|
70
|
+
return json;
|
|
71
|
+
}
|
|
72
|
+
return {
|
|
73
|
+
'id': json['id'],
|
|
74
|
+
'type': json['type'],
|
|
75
|
+
'title': json['title'],
|
|
76
|
+
'body': json['body'],
|
|
77
|
+
'image': json['image'],
|
|
78
|
+
'icon': json['icon'],
|
|
79
|
+
'clickAction': json['clickAction'],
|
|
80
|
+
'deepLink': json['deepLink'],
|
|
81
|
+
'data': json['data'],
|
|
82
|
+
'status': json['status'],
|
|
83
|
+
'isRead': json['isRead'],
|
|
84
|
+
'sentAt': json['sentAt'],
|
|
85
|
+
'deliveredAt': json['deliveredAt'],
|
|
86
|
+
'openedAt': json['openedAt'],
|
|
87
|
+
'createdAt': json['createdAt'],
|
|
88
|
+
};
|
|
89
|
+
}
|
|
90
|
+
export function ApiNotificationMyNotificationsGet200ResponseResponseObjectItemsInnerToJSON(json) {
|
|
91
|
+
return ApiNotificationMyNotificationsGet200ResponseResponseObjectItemsInnerToJSONTyped(json, false);
|
|
92
|
+
}
|
|
93
|
+
export function ApiNotificationMyNotificationsGet200ResponseResponseObjectItemsInnerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
94
|
+
if (value == null) {
|
|
95
|
+
return value;
|
|
96
|
+
}
|
|
97
|
+
return {
|
|
98
|
+
'id': value['id'],
|
|
99
|
+
'type': value['type'],
|
|
100
|
+
'title': value['title'],
|
|
101
|
+
'body': value['body'],
|
|
102
|
+
'image': value['image'],
|
|
103
|
+
'icon': value['icon'],
|
|
104
|
+
'clickAction': value['clickAction'],
|
|
105
|
+
'deepLink': value['deepLink'],
|
|
106
|
+
'data': value['data'],
|
|
107
|
+
'status': value['status'],
|
|
108
|
+
'isRead': value['isRead'],
|
|
109
|
+
'sentAt': value['sentAt'],
|
|
110
|
+
'deliveredAt': value['deliveredAt'],
|
|
111
|
+
'openedAt': value['openedAt'],
|
|
112
|
+
'createdAt': value['createdAt'],
|
|
113
|
+
};
|
|
114
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DRX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ApiPadelMatchesGetFilterParameterName } from './ApiPadelMatchesGetFilterParameterName';
|
|
13
|
+
import type { ApiGarudakuGameTopupsGetFilterParameterIsPopular } from './ApiGarudakuGameTopupsGetFilterParameterIsPopular';
|
|
14
|
+
import type { ApiPadelMatchesGetFilterParameterPlayedAt } from './ApiPadelMatchesGetFilterParameterPlayedAt';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface ApiNotificationMyNotificationsGetFilterParameter
|
|
19
|
+
*/
|
|
20
|
+
export interface ApiNotificationMyNotificationsGetFilterParameter {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {ApiPadelMatchesGetFilterParameterName}
|
|
24
|
+
* @memberof ApiNotificationMyNotificationsGetFilterParameter
|
|
25
|
+
*/
|
|
26
|
+
type?: ApiPadelMatchesGetFilterParameterName;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {ApiPadelMatchesGetFilterParameterName}
|
|
30
|
+
* @memberof ApiNotificationMyNotificationsGetFilterParameter
|
|
31
|
+
*/
|
|
32
|
+
status?: ApiPadelMatchesGetFilterParameterName;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {ApiGarudakuGameTopupsGetFilterParameterIsPopular}
|
|
36
|
+
* @memberof ApiNotificationMyNotificationsGetFilterParameter
|
|
37
|
+
*/
|
|
38
|
+
isRead?: ApiGarudakuGameTopupsGetFilterParameterIsPopular;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {ApiPadelMatchesGetFilterParameterPlayedAt}
|
|
42
|
+
* @memberof ApiNotificationMyNotificationsGetFilterParameter
|
|
43
|
+
*/
|
|
44
|
+
sentAt?: ApiPadelMatchesGetFilterParameterPlayedAt;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
* @type {ApiPadelMatchesGetFilterParameterPlayedAt}
|
|
48
|
+
* @memberof ApiNotificationMyNotificationsGetFilterParameter
|
|
49
|
+
*/
|
|
50
|
+
createdAt?: ApiPadelMatchesGetFilterParameterPlayedAt;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* Check if a given object implements the ApiNotificationMyNotificationsGetFilterParameter interface.
|
|
54
|
+
*/
|
|
55
|
+
export declare function instanceOfApiNotificationMyNotificationsGetFilterParameter(value: object): value is ApiNotificationMyNotificationsGetFilterParameter;
|
|
56
|
+
export declare function ApiNotificationMyNotificationsGetFilterParameterFromJSON(json: any): ApiNotificationMyNotificationsGetFilterParameter;
|
|
57
|
+
export declare function ApiNotificationMyNotificationsGetFilterParameterFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiNotificationMyNotificationsGetFilterParameter;
|
|
58
|
+
export declare function ApiNotificationMyNotificationsGetFilterParameterToJSON(json: any): ApiNotificationMyNotificationsGetFilterParameter;
|
|
59
|
+
export declare function ApiNotificationMyNotificationsGetFilterParameterToJSONTyped(value?: ApiNotificationMyNotificationsGetFilterParameter | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* DRX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
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
|
+
import { ApiPadelMatchesGetFilterParameterNameFromJSON, ApiPadelMatchesGetFilterParameterNameToJSON, } from './ApiPadelMatchesGetFilterParameterName';
|
|
15
|
+
import { ApiGarudakuGameTopupsGetFilterParameterIsPopularFromJSON, ApiGarudakuGameTopupsGetFilterParameterIsPopularToJSON, } from './ApiGarudakuGameTopupsGetFilterParameterIsPopular';
|
|
16
|
+
import { ApiPadelMatchesGetFilterParameterPlayedAtFromJSON, ApiPadelMatchesGetFilterParameterPlayedAtToJSON, } from './ApiPadelMatchesGetFilterParameterPlayedAt';
|
|
17
|
+
/**
|
|
18
|
+
* Check if a given object implements the ApiNotificationMyNotificationsGetFilterParameter interface.
|
|
19
|
+
*/
|
|
20
|
+
export function instanceOfApiNotificationMyNotificationsGetFilterParameter(value) {
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function ApiNotificationMyNotificationsGetFilterParameterFromJSON(json) {
|
|
24
|
+
return ApiNotificationMyNotificationsGetFilterParameterFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function ApiNotificationMyNotificationsGetFilterParameterFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'type': json['type'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['type']),
|
|
32
|
+
'status': json['status'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['status']),
|
|
33
|
+
'isRead': json['isRead'] == null ? undefined : ApiGarudakuGameTopupsGetFilterParameterIsPopularFromJSON(json['isRead']),
|
|
34
|
+
'sentAt': json['sentAt'] == null ? undefined : ApiPadelMatchesGetFilterParameterPlayedAtFromJSON(json['sentAt']),
|
|
35
|
+
'createdAt': json['createdAt'] == null ? undefined : ApiPadelMatchesGetFilterParameterPlayedAtFromJSON(json['createdAt']),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export function ApiNotificationMyNotificationsGetFilterParameterToJSON(json) {
|
|
39
|
+
return ApiNotificationMyNotificationsGetFilterParameterToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
export function ApiNotificationMyNotificationsGetFilterParameterToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'type': ApiPadelMatchesGetFilterParameterNameToJSON(value['type']),
|
|
47
|
+
'status': ApiPadelMatchesGetFilterParameterNameToJSON(value['status']),
|
|
48
|
+
'isRead': ApiGarudakuGameTopupsGetFilterParameterIsPopularToJSON(value['isRead']),
|
|
49
|
+
'sentAt': ApiPadelMatchesGetFilterParameterPlayedAtToJSON(value['sentAt']),
|
|
50
|
+
'createdAt': ApiPadelMatchesGetFilterParameterPlayedAtToJSON(value['createdAt']),
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DRX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ApiNotificationNotificationIdReadPut200ResponseResponseObject } from './ApiNotificationNotificationIdReadPut200ResponseResponseObject';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiNotificationNotificationIdReadPut200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiNotificationNotificationIdReadPut200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ApiNotificationNotificationIdReadPut200Response
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ApiNotificationNotificationIdReadPut200Response
|
|
29
|
+
*/
|
|
30
|
+
message: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {ApiNotificationNotificationIdReadPut200ResponseResponseObject}
|
|
34
|
+
* @memberof ApiNotificationNotificationIdReadPut200Response
|
|
35
|
+
*/
|
|
36
|
+
responseObject?: ApiNotificationNotificationIdReadPut200ResponseResponseObject;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ApiNotificationNotificationIdReadPut200Response
|
|
41
|
+
*/
|
|
42
|
+
statusCode: number;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ApiNotificationNotificationIdReadPut200Response interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfApiNotificationNotificationIdReadPut200Response(value: object): value is ApiNotificationNotificationIdReadPut200Response;
|
|
48
|
+
export declare function ApiNotificationNotificationIdReadPut200ResponseFromJSON(json: any): ApiNotificationNotificationIdReadPut200Response;
|
|
49
|
+
export declare function ApiNotificationNotificationIdReadPut200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiNotificationNotificationIdReadPut200Response;
|
|
50
|
+
export declare function ApiNotificationNotificationIdReadPut200ResponseToJSON(json: any): ApiNotificationNotificationIdReadPut200Response;
|
|
51
|
+
export declare function ApiNotificationNotificationIdReadPut200ResponseToJSONTyped(value?: ApiNotificationNotificationIdReadPut200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* DRX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
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
|
+
import { ApiNotificationNotificationIdReadPut200ResponseResponseObjectFromJSON, ApiNotificationNotificationIdReadPut200ResponseResponseObjectToJSON, } from './ApiNotificationNotificationIdReadPut200ResponseResponseObject';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiNotificationNotificationIdReadPut200Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiNotificationNotificationIdReadPut200Response(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function ApiNotificationNotificationIdReadPut200ResponseFromJSON(json) {
|
|
28
|
+
return ApiNotificationNotificationIdReadPut200ResponseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function ApiNotificationNotificationIdReadPut200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'success': json['success'],
|
|
36
|
+
'message': json['message'],
|
|
37
|
+
'responseObject': json['responseObject'] == null ? undefined : ApiNotificationNotificationIdReadPut200ResponseResponseObjectFromJSON(json['responseObject']),
|
|
38
|
+
'statusCode': json['statusCode'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function ApiNotificationNotificationIdReadPut200ResponseToJSON(json) {
|
|
42
|
+
return ApiNotificationNotificationIdReadPut200ResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function ApiNotificationNotificationIdReadPut200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'success': value['success'],
|
|
50
|
+
'message': value['message'],
|
|
51
|
+
'responseObject': ApiNotificationNotificationIdReadPut200ResponseResponseObjectToJSON(value['responseObject']),
|
|
52
|
+
'statusCode': value['statusCode'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DRX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ApiNotificationNotificationIdReadPut200ResponseResponseObject
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiNotificationNotificationIdReadPut200ResponseResponseObject {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof ApiNotificationNotificationIdReadPut200ResponseResponseObject
|
|
22
|
+
*/
|
|
23
|
+
success: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof ApiNotificationNotificationIdReadPut200ResponseResponseObject
|
|
28
|
+
*/
|
|
29
|
+
message: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ApiNotificationNotificationIdReadPut200ResponseResponseObject interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfApiNotificationNotificationIdReadPut200ResponseResponseObject(value: object): value is ApiNotificationNotificationIdReadPut200ResponseResponseObject;
|
|
35
|
+
export declare function ApiNotificationNotificationIdReadPut200ResponseResponseObjectFromJSON(json: any): ApiNotificationNotificationIdReadPut200ResponseResponseObject;
|
|
36
|
+
export declare function ApiNotificationNotificationIdReadPut200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiNotificationNotificationIdReadPut200ResponseResponseObject;
|
|
37
|
+
export declare function ApiNotificationNotificationIdReadPut200ResponseResponseObjectToJSON(json: any): ApiNotificationNotificationIdReadPut200ResponseResponseObject;
|
|
38
|
+
export declare function ApiNotificationNotificationIdReadPut200ResponseResponseObjectToJSONTyped(value?: ApiNotificationNotificationIdReadPut200ResponseResponseObject | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* DRX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
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
|
+
* Check if a given object implements the ApiNotificationNotificationIdReadPut200ResponseResponseObject interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiNotificationNotificationIdReadPut200ResponseResponseObject(value) {
|
|
18
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
export function ApiNotificationNotificationIdReadPut200ResponseResponseObjectFromJSON(json) {
|
|
25
|
+
return ApiNotificationNotificationIdReadPut200ResponseResponseObjectFromJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function ApiNotificationNotificationIdReadPut200ResponseResponseObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
28
|
+
if (json == null) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'success': json['success'],
|
|
33
|
+
'message': json['message'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
export function ApiNotificationNotificationIdReadPut200ResponseResponseObjectToJSON(json) {
|
|
37
|
+
return ApiNotificationNotificationIdReadPut200ResponseResponseObjectToJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function ApiNotificationNotificationIdReadPut200ResponseResponseObjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
40
|
+
if (value == null) {
|
|
41
|
+
return value;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'success': value['success'],
|
|
45
|
+
'message': value['message'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DRX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ApiNotificationReadAllPutRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiNotificationReadAllPutRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof ApiNotificationReadAllPutRequest
|
|
22
|
+
*/
|
|
23
|
+
markAllRead?: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the ApiNotificationReadAllPutRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfApiNotificationReadAllPutRequest(value: object): value is ApiNotificationReadAllPutRequest;
|
|
29
|
+
export declare function ApiNotificationReadAllPutRequestFromJSON(json: any): ApiNotificationReadAllPutRequest;
|
|
30
|
+
export declare function ApiNotificationReadAllPutRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiNotificationReadAllPutRequest;
|
|
31
|
+
export declare function ApiNotificationReadAllPutRequestToJSON(json: any): ApiNotificationReadAllPutRequest;
|
|
32
|
+
export declare function ApiNotificationReadAllPutRequestToJSONTyped(value?: ApiNotificationReadAllPutRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* DRX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
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
|
+
* Check if a given object implements the ApiNotificationReadAllPutRequest interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfApiNotificationReadAllPutRequest(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function ApiNotificationReadAllPutRequestFromJSON(json) {
|
|
21
|
+
return ApiNotificationReadAllPutRequestFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function ApiNotificationReadAllPutRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'markAllRead': json['markAllRead'] == null ? undefined : json['markAllRead'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export function ApiNotificationReadAllPutRequestToJSON(json) {
|
|
32
|
+
return ApiNotificationReadAllPutRequestToJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function ApiNotificationReadAllPutRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
35
|
+
if (value == null) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'markAllRead': value['markAllRead'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DRX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { ApiNotificationStatsGet200ResponseResponseObject } from './ApiNotificationStatsGet200ResponseResponseObject';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiNotificationStatsGet200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiNotificationStatsGet200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ApiNotificationStatsGet200Response
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ApiNotificationStatsGet200Response
|
|
29
|
+
*/
|
|
30
|
+
message: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {ApiNotificationStatsGet200ResponseResponseObject}
|
|
34
|
+
* @memberof ApiNotificationStatsGet200Response
|
|
35
|
+
*/
|
|
36
|
+
responseObject?: ApiNotificationStatsGet200ResponseResponseObject;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ApiNotificationStatsGet200Response
|
|
41
|
+
*/
|
|
42
|
+
statusCode: number;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ApiNotificationStatsGet200Response interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfApiNotificationStatsGet200Response(value: object): value is ApiNotificationStatsGet200Response;
|
|
48
|
+
export declare function ApiNotificationStatsGet200ResponseFromJSON(json: any): ApiNotificationStatsGet200Response;
|
|
49
|
+
export declare function ApiNotificationStatsGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiNotificationStatsGet200Response;
|
|
50
|
+
export declare function ApiNotificationStatsGet200ResponseToJSON(json: any): ApiNotificationStatsGet200Response;
|
|
51
|
+
export declare function ApiNotificationStatsGet200ResponseToJSONTyped(value?: ApiNotificationStatsGet200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* DRX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
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
|
+
import { ApiNotificationStatsGet200ResponseResponseObjectFromJSON, ApiNotificationStatsGet200ResponseResponseObjectToJSON, } from './ApiNotificationStatsGet200ResponseResponseObject';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiNotificationStatsGet200Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiNotificationStatsGet200Response(value) {
|
|
19
|
+
if (!('success' in value) || value['success'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('message' in value) || value['message'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('statusCode' in value) || value['statusCode'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
export function ApiNotificationStatsGet200ResponseFromJSON(json) {
|
|
28
|
+
return ApiNotificationStatsGet200ResponseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function ApiNotificationStatsGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'success': json['success'],
|
|
36
|
+
'message': json['message'],
|
|
37
|
+
'responseObject': json['responseObject'] == null ? undefined : ApiNotificationStatsGet200ResponseResponseObjectFromJSON(json['responseObject']),
|
|
38
|
+
'statusCode': json['statusCode'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function ApiNotificationStatsGet200ResponseToJSON(json) {
|
|
42
|
+
return ApiNotificationStatsGet200ResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function ApiNotificationStatsGet200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'success': value['success'],
|
|
50
|
+
'message': value['message'],
|
|
51
|
+
'responseObject': ApiNotificationStatsGet200ResponseResponseObjectToJSON(value['responseObject']),
|
|
52
|
+
'statusCode': value['statusCode'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* DRX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ApiNotificationStatsGet200ResponseResponseObject
|
|
16
|
+
*/
|
|
17
|
+
export interface ApiNotificationStatsGet200ResponseResponseObject {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ApiNotificationStatsGet200ResponseResponseObject
|
|
22
|
+
*/
|
|
23
|
+
total: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof ApiNotificationStatsGet200ResponseResponseObject
|
|
28
|
+
*/
|
|
29
|
+
unread: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof ApiNotificationStatsGet200ResponseResponseObject
|
|
34
|
+
*/
|
|
35
|
+
read: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the ApiNotificationStatsGet200ResponseResponseObject interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfApiNotificationStatsGet200ResponseResponseObject(value: object): value is ApiNotificationStatsGet200ResponseResponseObject;
|
|
41
|
+
export declare function ApiNotificationStatsGet200ResponseResponseObjectFromJSON(json: any): ApiNotificationStatsGet200ResponseResponseObject;
|
|
42
|
+
export declare function ApiNotificationStatsGet200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiNotificationStatsGet200ResponseResponseObject;
|
|
43
|
+
export declare function ApiNotificationStatsGet200ResponseResponseObjectToJSON(json: any): ApiNotificationStatsGet200ResponseResponseObject;
|
|
44
|
+
export declare function ApiNotificationStatsGet200ResponseResponseObjectToJSONTyped(value?: ApiNotificationStatsGet200ResponseResponseObject | null, ignoreDiscriminator?: boolean): any;
|