@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.
Files changed (39) hide show
  1. package/.openapi-generator/FILES +10 -0
  2. package/apis/UserNotificationsApi.ts +305 -0
  3. package/deploy.log +30 -4
  4. package/dist/apis/UserNotificationsApi.d.ts +67 -1
  5. package/dist/apis/UserNotificationsApi.js +209 -1
  6. package/dist/models/ApiNotificationDeleteAllDeleteRequest.d.ts +32 -0
  7. package/dist/models/ApiNotificationDeleteAllDeleteRequest.js +41 -0
  8. package/dist/models/ApiNotificationMyNotificationsGet200Response.d.ts +51 -0
  9. package/dist/models/ApiNotificationMyNotificationsGet200Response.js +54 -0
  10. package/dist/models/ApiNotificationMyNotificationsGet200ResponseResponseObject.d.ts +57 -0
  11. package/dist/models/ApiNotificationMyNotificationsGet200ResponseResponseObject.js +60 -0
  12. package/dist/models/ApiNotificationMyNotificationsGet200ResponseResponseObjectItemsInner.d.ts +134 -0
  13. package/dist/models/ApiNotificationMyNotificationsGet200ResponseResponseObjectItemsInner.js +114 -0
  14. package/dist/models/ApiNotificationMyNotificationsGetFilterParameter.d.ts +59 -0
  15. package/dist/models/ApiNotificationMyNotificationsGetFilterParameter.js +52 -0
  16. package/dist/models/ApiNotificationNotificationIdReadPut200Response.d.ts +51 -0
  17. package/dist/models/ApiNotificationNotificationIdReadPut200Response.js +54 -0
  18. package/dist/models/ApiNotificationNotificationIdReadPut200ResponseResponseObject.d.ts +38 -0
  19. package/dist/models/ApiNotificationNotificationIdReadPut200ResponseResponseObject.js +47 -0
  20. package/dist/models/ApiNotificationReadAllPutRequest.d.ts +32 -0
  21. package/dist/models/ApiNotificationReadAllPutRequest.js +41 -0
  22. package/dist/models/ApiNotificationStatsGet200Response.d.ts +51 -0
  23. package/dist/models/ApiNotificationStatsGet200Response.js +54 -0
  24. package/dist/models/ApiNotificationStatsGet200ResponseResponseObject.d.ts +44 -0
  25. package/dist/models/ApiNotificationStatsGet200ResponseResponseObject.js +51 -0
  26. package/dist/models/index.d.ts +10 -0
  27. package/dist/models/index.js +10 -0
  28. package/models/ApiNotificationDeleteAllDeleteRequest.ts +65 -0
  29. package/models/ApiNotificationMyNotificationsGet200Response.ts +100 -0
  30. package/models/ApiNotificationMyNotificationsGet200ResponseResponseObject.ts +110 -0
  31. package/models/ApiNotificationMyNotificationsGet200ResponseResponseObjectItemsInner.ts +211 -0
  32. package/models/ApiNotificationMyNotificationsGetFilterParameter.ts +119 -0
  33. package/models/ApiNotificationNotificationIdReadPut200Response.ts +100 -0
  34. package/models/ApiNotificationNotificationIdReadPut200ResponseResponseObject.ts +75 -0
  35. package/models/ApiNotificationReadAllPutRequest.ts +65 -0
  36. package/models/ApiNotificationStatsGet200Response.ts +100 -0
  37. package/models/ApiNotificationStatsGet200ResponseResponseObject.ts +84 -0
  38. package/models/index.ts +10 -0
  39. package/package.json +1 -1
@@ -0,0 +1,119 @@
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
+ import { mapValues } from '../runtime';
16
+ import type { ApiPadelMatchesGetFilterParameterName } from './ApiPadelMatchesGetFilterParameterName';
17
+ import {
18
+ ApiPadelMatchesGetFilterParameterNameFromJSON,
19
+ ApiPadelMatchesGetFilterParameterNameFromJSONTyped,
20
+ ApiPadelMatchesGetFilterParameterNameToJSON,
21
+ ApiPadelMatchesGetFilterParameterNameToJSONTyped,
22
+ } from './ApiPadelMatchesGetFilterParameterName';
23
+ import type { ApiGarudakuGameTopupsGetFilterParameterIsPopular } from './ApiGarudakuGameTopupsGetFilterParameterIsPopular';
24
+ import {
25
+ ApiGarudakuGameTopupsGetFilterParameterIsPopularFromJSON,
26
+ ApiGarudakuGameTopupsGetFilterParameterIsPopularFromJSONTyped,
27
+ ApiGarudakuGameTopupsGetFilterParameterIsPopularToJSON,
28
+ ApiGarudakuGameTopupsGetFilterParameterIsPopularToJSONTyped,
29
+ } from './ApiGarudakuGameTopupsGetFilterParameterIsPopular';
30
+ import type { ApiPadelMatchesGetFilterParameterPlayedAt } from './ApiPadelMatchesGetFilterParameterPlayedAt';
31
+ import {
32
+ ApiPadelMatchesGetFilterParameterPlayedAtFromJSON,
33
+ ApiPadelMatchesGetFilterParameterPlayedAtFromJSONTyped,
34
+ ApiPadelMatchesGetFilterParameterPlayedAtToJSON,
35
+ ApiPadelMatchesGetFilterParameterPlayedAtToJSONTyped,
36
+ } from './ApiPadelMatchesGetFilterParameterPlayedAt';
37
+
38
+ /**
39
+ *
40
+ * @export
41
+ * @interface ApiNotificationMyNotificationsGetFilterParameter
42
+ */
43
+ export interface ApiNotificationMyNotificationsGetFilterParameter {
44
+ /**
45
+ *
46
+ * @type {ApiPadelMatchesGetFilterParameterName}
47
+ * @memberof ApiNotificationMyNotificationsGetFilterParameter
48
+ */
49
+ type?: ApiPadelMatchesGetFilterParameterName;
50
+ /**
51
+ *
52
+ * @type {ApiPadelMatchesGetFilterParameterName}
53
+ * @memberof ApiNotificationMyNotificationsGetFilterParameter
54
+ */
55
+ status?: ApiPadelMatchesGetFilterParameterName;
56
+ /**
57
+ *
58
+ * @type {ApiGarudakuGameTopupsGetFilterParameterIsPopular}
59
+ * @memberof ApiNotificationMyNotificationsGetFilterParameter
60
+ */
61
+ isRead?: ApiGarudakuGameTopupsGetFilterParameterIsPopular;
62
+ /**
63
+ *
64
+ * @type {ApiPadelMatchesGetFilterParameterPlayedAt}
65
+ * @memberof ApiNotificationMyNotificationsGetFilterParameter
66
+ */
67
+ sentAt?: ApiPadelMatchesGetFilterParameterPlayedAt;
68
+ /**
69
+ *
70
+ * @type {ApiPadelMatchesGetFilterParameterPlayedAt}
71
+ * @memberof ApiNotificationMyNotificationsGetFilterParameter
72
+ */
73
+ createdAt?: ApiPadelMatchesGetFilterParameterPlayedAt;
74
+ }
75
+
76
+ /**
77
+ * Check if a given object implements the ApiNotificationMyNotificationsGetFilterParameter interface.
78
+ */
79
+ export function instanceOfApiNotificationMyNotificationsGetFilterParameter(value: object): value is ApiNotificationMyNotificationsGetFilterParameter {
80
+ return true;
81
+ }
82
+
83
+ export function ApiNotificationMyNotificationsGetFilterParameterFromJSON(json: any): ApiNotificationMyNotificationsGetFilterParameter {
84
+ return ApiNotificationMyNotificationsGetFilterParameterFromJSONTyped(json, false);
85
+ }
86
+
87
+ export function ApiNotificationMyNotificationsGetFilterParameterFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiNotificationMyNotificationsGetFilterParameter {
88
+ if (json == null) {
89
+ return json;
90
+ }
91
+ return {
92
+
93
+ 'type': json['type'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['type']),
94
+ 'status': json['status'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['status']),
95
+ 'isRead': json['isRead'] == null ? undefined : ApiGarudakuGameTopupsGetFilterParameterIsPopularFromJSON(json['isRead']),
96
+ 'sentAt': json['sentAt'] == null ? undefined : ApiPadelMatchesGetFilterParameterPlayedAtFromJSON(json['sentAt']),
97
+ 'createdAt': json['createdAt'] == null ? undefined : ApiPadelMatchesGetFilterParameterPlayedAtFromJSON(json['createdAt']),
98
+ };
99
+ }
100
+
101
+ export function ApiNotificationMyNotificationsGetFilterParameterToJSON(json: any): ApiNotificationMyNotificationsGetFilterParameter {
102
+ return ApiNotificationMyNotificationsGetFilterParameterToJSONTyped(json, false);
103
+ }
104
+
105
+ export function ApiNotificationMyNotificationsGetFilterParameterToJSONTyped(value?: ApiNotificationMyNotificationsGetFilterParameter | null, ignoreDiscriminator: boolean = false): any {
106
+ if (value == null) {
107
+ return value;
108
+ }
109
+
110
+ return {
111
+
112
+ 'type': ApiPadelMatchesGetFilterParameterNameToJSON(value['type']),
113
+ 'status': ApiPadelMatchesGetFilterParameterNameToJSON(value['status']),
114
+ 'isRead': ApiGarudakuGameTopupsGetFilterParameterIsPopularToJSON(value['isRead']),
115
+ 'sentAt': ApiPadelMatchesGetFilterParameterPlayedAtToJSON(value['sentAt']),
116
+ 'createdAt': ApiPadelMatchesGetFilterParameterPlayedAtToJSON(value['createdAt']),
117
+ };
118
+ }
119
+
@@ -0,0 +1,100 @@
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
+ import { mapValues } from '../runtime';
16
+ import type { ApiNotificationNotificationIdReadPut200ResponseResponseObject } from './ApiNotificationNotificationIdReadPut200ResponseResponseObject';
17
+ import {
18
+ ApiNotificationNotificationIdReadPut200ResponseResponseObjectFromJSON,
19
+ ApiNotificationNotificationIdReadPut200ResponseResponseObjectFromJSONTyped,
20
+ ApiNotificationNotificationIdReadPut200ResponseResponseObjectToJSON,
21
+ ApiNotificationNotificationIdReadPut200ResponseResponseObjectToJSONTyped,
22
+ } from './ApiNotificationNotificationIdReadPut200ResponseResponseObject';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ApiNotificationNotificationIdReadPut200Response
28
+ */
29
+ export interface ApiNotificationNotificationIdReadPut200Response {
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof ApiNotificationNotificationIdReadPut200Response
34
+ */
35
+ success: boolean;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ApiNotificationNotificationIdReadPut200Response
40
+ */
41
+ message: string;
42
+ /**
43
+ *
44
+ * @type {ApiNotificationNotificationIdReadPut200ResponseResponseObject}
45
+ * @memberof ApiNotificationNotificationIdReadPut200Response
46
+ */
47
+ responseObject?: ApiNotificationNotificationIdReadPut200ResponseResponseObject;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof ApiNotificationNotificationIdReadPut200Response
52
+ */
53
+ statusCode: number;
54
+ }
55
+
56
+ /**
57
+ * Check if a given object implements the ApiNotificationNotificationIdReadPut200Response interface.
58
+ */
59
+ export function instanceOfApiNotificationNotificationIdReadPut200Response(value: object): value is ApiNotificationNotificationIdReadPut200Response {
60
+ if (!('success' in value) || value['success'] === undefined) return false;
61
+ if (!('message' in value) || value['message'] === undefined) return false;
62
+ if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
63
+ return true;
64
+ }
65
+
66
+ export function ApiNotificationNotificationIdReadPut200ResponseFromJSON(json: any): ApiNotificationNotificationIdReadPut200Response {
67
+ return ApiNotificationNotificationIdReadPut200ResponseFromJSONTyped(json, false);
68
+ }
69
+
70
+ export function ApiNotificationNotificationIdReadPut200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiNotificationNotificationIdReadPut200Response {
71
+ if (json == null) {
72
+ return json;
73
+ }
74
+ return {
75
+
76
+ 'success': json['success'],
77
+ 'message': json['message'],
78
+ 'responseObject': json['responseObject'] == null ? undefined : ApiNotificationNotificationIdReadPut200ResponseResponseObjectFromJSON(json['responseObject']),
79
+ 'statusCode': json['statusCode'],
80
+ };
81
+ }
82
+
83
+ export function ApiNotificationNotificationIdReadPut200ResponseToJSON(json: any): ApiNotificationNotificationIdReadPut200Response {
84
+ return ApiNotificationNotificationIdReadPut200ResponseToJSONTyped(json, false);
85
+ }
86
+
87
+ export function ApiNotificationNotificationIdReadPut200ResponseToJSONTyped(value?: ApiNotificationNotificationIdReadPut200Response | null, ignoreDiscriminator: boolean = false): any {
88
+ if (value == null) {
89
+ return value;
90
+ }
91
+
92
+ return {
93
+
94
+ 'success': value['success'],
95
+ 'message': value['message'],
96
+ 'responseObject': ApiNotificationNotificationIdReadPut200ResponseResponseObjectToJSON(value['responseObject']),
97
+ 'statusCode': value['statusCode'],
98
+ };
99
+ }
100
+
@@ -0,0 +1,75 @@
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
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ApiNotificationNotificationIdReadPut200ResponseResponseObject
20
+ */
21
+ export interface ApiNotificationNotificationIdReadPut200ResponseResponseObject {
22
+ /**
23
+ *
24
+ * @type {boolean}
25
+ * @memberof ApiNotificationNotificationIdReadPut200ResponseResponseObject
26
+ */
27
+ success: boolean;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ApiNotificationNotificationIdReadPut200ResponseResponseObject
32
+ */
33
+ message: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the ApiNotificationNotificationIdReadPut200ResponseResponseObject interface.
38
+ */
39
+ export function instanceOfApiNotificationNotificationIdReadPut200ResponseResponseObject(value: object): value is ApiNotificationNotificationIdReadPut200ResponseResponseObject {
40
+ if (!('success' in value) || value['success'] === undefined) return false;
41
+ if (!('message' in value) || value['message'] === undefined) return false;
42
+ return true;
43
+ }
44
+
45
+ export function ApiNotificationNotificationIdReadPut200ResponseResponseObjectFromJSON(json: any): ApiNotificationNotificationIdReadPut200ResponseResponseObject {
46
+ return ApiNotificationNotificationIdReadPut200ResponseResponseObjectFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function ApiNotificationNotificationIdReadPut200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiNotificationNotificationIdReadPut200ResponseResponseObject {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'success': json['success'],
56
+ 'message': json['message'],
57
+ };
58
+ }
59
+
60
+ export function ApiNotificationNotificationIdReadPut200ResponseResponseObjectToJSON(json: any): ApiNotificationNotificationIdReadPut200ResponseResponseObject {
61
+ return ApiNotificationNotificationIdReadPut200ResponseResponseObjectToJSONTyped(json, false);
62
+ }
63
+
64
+ export function ApiNotificationNotificationIdReadPut200ResponseResponseObjectToJSONTyped(value?: ApiNotificationNotificationIdReadPut200ResponseResponseObject | null, ignoreDiscriminator: boolean = false): any {
65
+ if (value == null) {
66
+ return value;
67
+ }
68
+
69
+ return {
70
+
71
+ 'success': value['success'],
72
+ 'message': value['message'],
73
+ };
74
+ }
75
+
@@ -0,0 +1,65 @@
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
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ApiNotificationReadAllPutRequest
20
+ */
21
+ export interface ApiNotificationReadAllPutRequest {
22
+ /**
23
+ *
24
+ * @type {boolean}
25
+ * @memberof ApiNotificationReadAllPutRequest
26
+ */
27
+ markAllRead?: boolean;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the ApiNotificationReadAllPutRequest interface.
32
+ */
33
+ export function instanceOfApiNotificationReadAllPutRequest(value: object): value is ApiNotificationReadAllPutRequest {
34
+ return true;
35
+ }
36
+
37
+ export function ApiNotificationReadAllPutRequestFromJSON(json: any): ApiNotificationReadAllPutRequest {
38
+ return ApiNotificationReadAllPutRequestFromJSONTyped(json, false);
39
+ }
40
+
41
+ export function ApiNotificationReadAllPutRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiNotificationReadAllPutRequest {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+
47
+ 'markAllRead': json['markAllRead'] == null ? undefined : json['markAllRead'],
48
+ };
49
+ }
50
+
51
+ export function ApiNotificationReadAllPutRequestToJSON(json: any): ApiNotificationReadAllPutRequest {
52
+ return ApiNotificationReadAllPutRequestToJSONTyped(json, false);
53
+ }
54
+
55
+ export function ApiNotificationReadAllPutRequestToJSONTyped(value?: ApiNotificationReadAllPutRequest | null, ignoreDiscriminator: boolean = false): any {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+
60
+ return {
61
+
62
+ 'markAllRead': value['markAllRead'],
63
+ };
64
+ }
65
+
@@ -0,0 +1,100 @@
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
+ import { mapValues } from '../runtime';
16
+ import type { ApiNotificationStatsGet200ResponseResponseObject } from './ApiNotificationStatsGet200ResponseResponseObject';
17
+ import {
18
+ ApiNotificationStatsGet200ResponseResponseObjectFromJSON,
19
+ ApiNotificationStatsGet200ResponseResponseObjectFromJSONTyped,
20
+ ApiNotificationStatsGet200ResponseResponseObjectToJSON,
21
+ ApiNotificationStatsGet200ResponseResponseObjectToJSONTyped,
22
+ } from './ApiNotificationStatsGet200ResponseResponseObject';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface ApiNotificationStatsGet200Response
28
+ */
29
+ export interface ApiNotificationStatsGet200Response {
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof ApiNotificationStatsGet200Response
34
+ */
35
+ success: boolean;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof ApiNotificationStatsGet200Response
40
+ */
41
+ message: string;
42
+ /**
43
+ *
44
+ * @type {ApiNotificationStatsGet200ResponseResponseObject}
45
+ * @memberof ApiNotificationStatsGet200Response
46
+ */
47
+ responseObject?: ApiNotificationStatsGet200ResponseResponseObject;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof ApiNotificationStatsGet200Response
52
+ */
53
+ statusCode: number;
54
+ }
55
+
56
+ /**
57
+ * Check if a given object implements the ApiNotificationStatsGet200Response interface.
58
+ */
59
+ export function instanceOfApiNotificationStatsGet200Response(value: object): value is ApiNotificationStatsGet200Response {
60
+ if (!('success' in value) || value['success'] === undefined) return false;
61
+ if (!('message' in value) || value['message'] === undefined) return false;
62
+ if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
63
+ return true;
64
+ }
65
+
66
+ export function ApiNotificationStatsGet200ResponseFromJSON(json: any): ApiNotificationStatsGet200Response {
67
+ return ApiNotificationStatsGet200ResponseFromJSONTyped(json, false);
68
+ }
69
+
70
+ export function ApiNotificationStatsGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiNotificationStatsGet200Response {
71
+ if (json == null) {
72
+ return json;
73
+ }
74
+ return {
75
+
76
+ 'success': json['success'],
77
+ 'message': json['message'],
78
+ 'responseObject': json['responseObject'] == null ? undefined : ApiNotificationStatsGet200ResponseResponseObjectFromJSON(json['responseObject']),
79
+ 'statusCode': json['statusCode'],
80
+ };
81
+ }
82
+
83
+ export function ApiNotificationStatsGet200ResponseToJSON(json: any): ApiNotificationStatsGet200Response {
84
+ return ApiNotificationStatsGet200ResponseToJSONTyped(json, false);
85
+ }
86
+
87
+ export function ApiNotificationStatsGet200ResponseToJSONTyped(value?: ApiNotificationStatsGet200Response | null, ignoreDiscriminator: boolean = false): any {
88
+ if (value == null) {
89
+ return value;
90
+ }
91
+
92
+ return {
93
+
94
+ 'success': value['success'],
95
+ 'message': value['message'],
96
+ 'responseObject': ApiNotificationStatsGet200ResponseResponseObjectToJSON(value['responseObject']),
97
+ 'statusCode': value['statusCode'],
98
+ };
99
+ }
100
+
@@ -0,0 +1,84 @@
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
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ApiNotificationStatsGet200ResponseResponseObject
20
+ */
21
+ export interface ApiNotificationStatsGet200ResponseResponseObject {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof ApiNotificationStatsGet200ResponseResponseObject
26
+ */
27
+ total: number;
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof ApiNotificationStatsGet200ResponseResponseObject
32
+ */
33
+ unread: number;
34
+ /**
35
+ *
36
+ * @type {number}
37
+ * @memberof ApiNotificationStatsGet200ResponseResponseObject
38
+ */
39
+ read: number;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the ApiNotificationStatsGet200ResponseResponseObject interface.
44
+ */
45
+ export function instanceOfApiNotificationStatsGet200ResponseResponseObject(value: object): value is ApiNotificationStatsGet200ResponseResponseObject {
46
+ if (!('total' in value) || value['total'] === undefined) return false;
47
+ if (!('unread' in value) || value['unread'] === undefined) return false;
48
+ if (!('read' in value) || value['read'] === undefined) return false;
49
+ return true;
50
+ }
51
+
52
+ export function ApiNotificationStatsGet200ResponseResponseObjectFromJSON(json: any): ApiNotificationStatsGet200ResponseResponseObject {
53
+ return ApiNotificationStatsGet200ResponseResponseObjectFromJSONTyped(json, false);
54
+ }
55
+
56
+ export function ApiNotificationStatsGet200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiNotificationStatsGet200ResponseResponseObject {
57
+ if (json == null) {
58
+ return json;
59
+ }
60
+ return {
61
+
62
+ 'total': json['total'],
63
+ 'unread': json['unread'],
64
+ 'read': json['read'],
65
+ };
66
+ }
67
+
68
+ export function ApiNotificationStatsGet200ResponseResponseObjectToJSON(json: any): ApiNotificationStatsGet200ResponseResponseObject {
69
+ return ApiNotificationStatsGet200ResponseResponseObjectToJSONTyped(json, false);
70
+ }
71
+
72
+ export function ApiNotificationStatsGet200ResponseResponseObjectToJSONTyped(value?: ApiNotificationStatsGet200ResponseResponseObject | null, ignoreDiscriminator: boolean = false): any {
73
+ if (value == null) {
74
+ return value;
75
+ }
76
+
77
+ return {
78
+
79
+ 'total': value['total'],
80
+ 'unread': value['unread'],
81
+ 'read': value['read'],
82
+ };
83
+ }
84
+
package/models/index.ts CHANGED
@@ -127,6 +127,16 @@ export * from './ApiNewsIdGet200Response';
127
127
  export * from './ApiNewsIdGet200ResponseResponseObject';
128
128
  export * from './ApiNewsIdGet200ResponseResponseObjectLeaguesInner';
129
129
  export * from './ApiNewsIdGet200ResponseResponseObjectLeaguesInnerLeague';
130
+ export * from './ApiNotificationDeleteAllDeleteRequest';
131
+ export * from './ApiNotificationMyNotificationsGet200Response';
132
+ export * from './ApiNotificationMyNotificationsGet200ResponseResponseObject';
133
+ export * from './ApiNotificationMyNotificationsGet200ResponseResponseObjectItemsInner';
134
+ export * from './ApiNotificationMyNotificationsGetFilterParameter';
135
+ export * from './ApiNotificationNotificationIdReadPut200Response';
136
+ export * from './ApiNotificationNotificationIdReadPut200ResponseResponseObject';
137
+ export * from './ApiNotificationReadAllPutRequest';
138
+ export * from './ApiNotificationStatsGet200Response';
139
+ export * from './ApiNotificationStatsGet200ResponseResponseObject';
130
140
  export * from './ApiNotificationTopicPostRequest';
131
141
  export * from './ApiNotificationUserPost200Response';
132
142
  export * from './ApiNotificationUserPost200ResponseResponseObject';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@drxsuperapp/sdk",
3
- "version": "1.1.427",
3
+ "version": "1.1.429",
4
4
  "main": "index.ts",
5
5
  "types": "index.ts",
6
6
  "scripts": {