@drxsuperapp/sdk 1.1.163 → 1.1.170

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 (121) hide show
  1. package/.openapi-generator/FILES +32 -0
  2. package/apis/AppConfigApi.ts +119 -0
  3. package/apis/AuthenticationApi.ts +166 -0
  4. package/apis/PadelApi.ts +0 -5
  5. package/apis/TennisApi.ts +0 -15
  6. package/apis/TournamentApi.ts +0 -5
  7. package/apis/UserAffiliateApi.ts +186 -0
  8. package/apis/UserApi.ts +0 -46
  9. package/apis/UserPointsApi.ts +176 -0
  10. package/apis/index.ts +4 -0
  11. package/deploy.log +216 -7
  12. package/dist/apis/AppConfigApi.d.ts +37 -0
  13. package/dist/apis/AppConfigApi.js +84 -0
  14. package/dist/apis/AuthenticationApi.d.ts +51 -0
  15. package/dist/apis/AuthenticationApi.js +121 -0
  16. package/dist/apis/PadelApi.d.ts +0 -1
  17. package/dist/apis/PadelApi.js +0 -3
  18. package/dist/apis/TennisApi.d.ts +0 -3
  19. package/dist/apis/TennisApi.js +0 -9
  20. package/dist/apis/TournamentApi.d.ts +0 -1
  21. package/dist/apis/TournamentApi.js +0 -3
  22. package/dist/apis/UserAffiliateApi.d.ts +51 -0
  23. package/dist/apis/UserAffiliateApi.js +127 -0
  24. package/dist/apis/UserApi.d.ts +1 -10
  25. package/dist/apis/UserApi.js +1 -35
  26. package/dist/apis/UserPointsApi.d.ts +48 -0
  27. package/dist/apis/UserPointsApi.js +125 -0
  28. package/dist/apis/index.d.ts +4 -0
  29. package/dist/apis/index.js +4 -0
  30. package/dist/models/ApiAuthLoginPost200Response.d.ts +51 -0
  31. package/dist/models/ApiAuthLoginPost200Response.js +54 -0
  32. package/dist/models/ApiAuthRefreshPost200Response.d.ts +51 -0
  33. package/dist/models/ApiAuthRefreshPost200Response.js +54 -0
  34. package/dist/models/ApiTournamentGetFilterParameter.d.ts +0 -6
  35. package/dist/models/ApiTournamentGetFilterParameter.js +0 -2
  36. package/dist/models/ApiUserAffiliateGet200Response.d.ts +51 -0
  37. package/dist/models/ApiUserAffiliateGet200Response.js +54 -0
  38. package/dist/models/ApiUserAffiliateGet200ResponseResponseObject.d.ts +63 -0
  39. package/dist/models/ApiUserAffiliateGet200ResponseResponseObject.js +64 -0
  40. package/dist/models/ApiUserAffiliateGet200ResponseResponseObjectStatistics.d.ts +50 -0
  41. package/dist/models/ApiUserAffiliateGet200ResponseResponseObjectStatistics.js +55 -0
  42. package/dist/models/ApiUserApplyAffiliateCodePost200Response.d.ts +51 -0
  43. package/dist/models/ApiUserApplyAffiliateCodePost200Response.js +54 -0
  44. package/dist/models/ApiUserApplyAffiliateCodePost200ResponseResponseObject.d.ts +51 -0
  45. package/dist/models/ApiUserApplyAffiliateCodePost200ResponseResponseObject.js +54 -0
  46. package/dist/models/ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrer.d.ts +38 -0
  47. package/dist/models/ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrer.js +47 -0
  48. package/dist/models/ApiUserApplyAffiliateCodePostRequest.d.ts +32 -0
  49. package/dist/models/ApiUserApplyAffiliateCodePostRequest.js +43 -0
  50. package/dist/models/ApiUserPointRewardsGet200Response.d.ts +51 -0
  51. package/dist/models/ApiUserPointRewardsGet200Response.js +54 -0
  52. package/dist/models/ApiUserPointRewardsGet200ResponseResponseObject.d.ts +68 -0
  53. package/dist/models/ApiUserPointRewardsGet200ResponseResponseObject.js +67 -0
  54. package/dist/models/ApiUserPointRewardsPut200Response.d.ts +51 -0
  55. package/dist/models/ApiUserPointRewardsPut200Response.js +54 -0
  56. package/dist/models/ApiUserPointRewardsPut200ResponseResponseObject.d.ts +50 -0
  57. package/dist/models/ApiUserPointRewardsPut200ResponseResponseObject.js +55 -0
  58. package/dist/models/ApiUserPointRewardsPutRequest.d.ts +51 -0
  59. package/dist/models/ApiUserPointRewardsPutRequest.js +59 -0
  60. package/dist/models/ApiUserPointsGet200Response.d.ts +51 -0
  61. package/dist/models/ApiUserPointsGet200Response.js +54 -0
  62. package/dist/models/ApiUserPointsGet200ResponseResponseObject.d.ts +56 -0
  63. package/dist/models/ApiUserPointsGet200ResponseResponseObject.js +59 -0
  64. package/dist/models/ApiUserPointsHistoryGet200Response.d.ts +51 -0
  65. package/dist/models/ApiUserPointsHistoryGet200Response.js +54 -0
  66. package/dist/models/ApiUserPointsHistoryGet200ResponseResponseObject.d.ts +57 -0
  67. package/dist/models/ApiUserPointsHistoryGet200ResponseResponseObject.js +60 -0
  68. package/dist/models/ApiUserPointsHistoryGet200ResponseResponseObjectItemsInner.d.ts +103 -0
  69. package/dist/models/ApiUserPointsHistoryGet200ResponseResponseObjectItemsInner.js +96 -0
  70. package/dist/models/ApiUserPointsHistoryGetFilterParameter.d.ts +52 -0
  71. package/dist/models/ApiUserPointsHistoryGetFilterParameter.js +49 -0
  72. package/dist/models/ApiUserRecentReferralsGet200Response.d.ts +51 -0
  73. package/dist/models/ApiUserRecentReferralsGet200Response.js +54 -0
  74. package/dist/models/ApiUserRecentReferralsGet200ResponseResponseObject.d.ts +57 -0
  75. package/dist/models/ApiUserRecentReferralsGet200ResponseResponseObject.js +60 -0
  76. package/dist/models/ApiUserRecentReferralsGet200ResponseResponseObjectItemsInner.d.ts +56 -0
  77. package/dist/models/ApiUserRecentReferralsGet200ResponseResponseObjectItemsInner.js +59 -0
  78. package/dist/models/ApiUserRecentReferralsGetFilterParameter.d.ts +46 -0
  79. package/dist/models/ApiUserRecentReferralsGetFilterParameter.js +47 -0
  80. package/dist/models/LoginRequest.d.ts +38 -0
  81. package/dist/models/LoginRequest.js +47 -0
  82. package/dist/models/LoginResponse.d.ts +45 -0
  83. package/dist/models/LoginResponse.js +52 -0
  84. package/dist/models/LoginResponseUser.d.ts +56 -0
  85. package/dist/models/LoginResponseUser.js +59 -0
  86. package/dist/models/RefreshTokenResponse.d.ts +38 -0
  87. package/dist/models/RefreshTokenResponse.js +47 -0
  88. package/dist/models/index.d.ts +28 -0
  89. package/dist/models/index.js +28 -0
  90. package/models/ApiAuthLoginPost200Response.ts +100 -0
  91. package/models/ApiAuthRefreshPost200Response.ts +100 -0
  92. package/models/ApiTournamentGetFilterParameter.ts +0 -8
  93. package/models/ApiUserAffiliateGet200Response.ts +100 -0
  94. package/models/ApiUserAffiliateGet200ResponseResponseObject.ts +119 -0
  95. package/models/ApiUserAffiliateGet200ResponseResponseObjectStatistics.ts +93 -0
  96. package/models/ApiUserApplyAffiliateCodePost200Response.ts +100 -0
  97. package/models/ApiUserApplyAffiliateCodePost200ResponseResponseObject.ts +100 -0
  98. package/models/ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrer.ts +75 -0
  99. package/models/ApiUserApplyAffiliateCodePostRequest.ts +66 -0
  100. package/models/ApiUserPointRewardsGet200Response.ts +100 -0
  101. package/models/ApiUserPointRewardsGet200ResponseResponseObject.ts +120 -0
  102. package/models/ApiUserPointRewardsPut200Response.ts +100 -0
  103. package/models/ApiUserPointRewardsPut200ResponseResponseObject.ts +93 -0
  104. package/models/ApiUserPointRewardsPutRequest.ts +91 -0
  105. package/models/ApiUserPointsGet200Response.ts +100 -0
  106. package/models/ApiUserPointsGet200ResponseResponseObject.ts +102 -0
  107. package/models/ApiUserPointsHistoryGet200Response.ts +100 -0
  108. package/models/ApiUserPointsHistoryGet200ResponseResponseObject.ts +110 -0
  109. package/models/ApiUserPointsHistoryGet200ResponseResponseObjectItemsInner.ts +160 -0
  110. package/models/ApiUserPointsHistoryGetFilterParameter.ts +104 -0
  111. package/models/ApiUserRecentReferralsGet200Response.ts +100 -0
  112. package/models/ApiUserRecentReferralsGet200ResponseResponseObject.ts +110 -0
  113. package/models/ApiUserRecentReferralsGet200ResponseResponseObjectItemsInner.ts +102 -0
  114. package/models/ApiUserRecentReferralsGetFilterParameter.ts +96 -0
  115. package/models/LoginRequest.ts +75 -0
  116. package/models/LoginResponse.ts +92 -0
  117. package/models/LoginResponseUser.ts +102 -0
  118. package/models/RefreshTokenResponse.ts +75 -0
  119. package/models/index.ts +28 -0
  120. package/package.json +1 -1
  121. package/workflow.sh +2 -2
@@ -0,0 +1,50 @@
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 ApiUserAffiliateGet200ResponseResponseObjectStatistics
16
+ */
17
+ export interface ApiUserAffiliateGet200ResponseResponseObjectStatistics {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof ApiUserAffiliateGet200ResponseResponseObjectStatistics
22
+ */
23
+ thisMonthReferrals: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof ApiUserAffiliateGet200ResponseResponseObjectStatistics
28
+ */
29
+ thisWeekReferrals: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof ApiUserAffiliateGet200ResponseResponseObjectStatistics
34
+ */
35
+ totalPointsEarned: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof ApiUserAffiliateGet200ResponseResponseObjectStatistics
40
+ */
41
+ averagePointsPerReferral: number;
42
+ }
43
+ /**
44
+ * Check if a given object implements the ApiUserAffiliateGet200ResponseResponseObjectStatistics interface.
45
+ */
46
+ export declare function instanceOfApiUserAffiliateGet200ResponseResponseObjectStatistics(value: object): value is ApiUserAffiliateGet200ResponseResponseObjectStatistics;
47
+ export declare function ApiUserAffiliateGet200ResponseResponseObjectStatisticsFromJSON(json: any): ApiUserAffiliateGet200ResponseResponseObjectStatistics;
48
+ export declare function ApiUserAffiliateGet200ResponseResponseObjectStatisticsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiUserAffiliateGet200ResponseResponseObjectStatistics;
49
+ export declare function ApiUserAffiliateGet200ResponseResponseObjectStatisticsToJSON(json: any): ApiUserAffiliateGet200ResponseResponseObjectStatistics;
50
+ export declare function ApiUserAffiliateGet200ResponseResponseObjectStatisticsToJSONTyped(value?: ApiUserAffiliateGet200ResponseResponseObjectStatistics | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
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 ApiUserAffiliateGet200ResponseResponseObjectStatistics interface.
16
+ */
17
+ export function instanceOfApiUserAffiliateGet200ResponseResponseObjectStatistics(value) {
18
+ if (!('thisMonthReferrals' in value) || value['thisMonthReferrals'] === undefined)
19
+ return false;
20
+ if (!('thisWeekReferrals' in value) || value['thisWeekReferrals'] === undefined)
21
+ return false;
22
+ if (!('totalPointsEarned' in value) || value['totalPointsEarned'] === undefined)
23
+ return false;
24
+ if (!('averagePointsPerReferral' in value) || value['averagePointsPerReferral'] === undefined)
25
+ return false;
26
+ return true;
27
+ }
28
+ export function ApiUserAffiliateGet200ResponseResponseObjectStatisticsFromJSON(json) {
29
+ return ApiUserAffiliateGet200ResponseResponseObjectStatisticsFromJSONTyped(json, false);
30
+ }
31
+ export function ApiUserAffiliateGet200ResponseResponseObjectStatisticsFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'thisMonthReferrals': json['thisMonthReferrals'],
37
+ 'thisWeekReferrals': json['thisWeekReferrals'],
38
+ 'totalPointsEarned': json['totalPointsEarned'],
39
+ 'averagePointsPerReferral': json['averagePointsPerReferral'],
40
+ };
41
+ }
42
+ export function ApiUserAffiliateGet200ResponseResponseObjectStatisticsToJSON(json) {
43
+ return ApiUserAffiliateGet200ResponseResponseObjectStatisticsToJSONTyped(json, false);
44
+ }
45
+ export function ApiUserAffiliateGet200ResponseResponseObjectStatisticsToJSONTyped(value, ignoreDiscriminator = false) {
46
+ if (value == null) {
47
+ return value;
48
+ }
49
+ return {
50
+ 'thisMonthReferrals': value['thisMonthReferrals'],
51
+ 'thisWeekReferrals': value['thisWeekReferrals'],
52
+ 'totalPointsEarned': value['totalPointsEarned'],
53
+ 'averagePointsPerReferral': value['averagePointsPerReferral'],
54
+ };
55
+ }
@@ -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 { ApiUserApplyAffiliateCodePost200ResponseResponseObject } from './ApiUserApplyAffiliateCodePost200ResponseResponseObject';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ApiUserApplyAffiliateCodePost200Response
17
+ */
18
+ export interface ApiUserApplyAffiliateCodePost200Response {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof ApiUserApplyAffiliateCodePost200Response
23
+ */
24
+ success: boolean;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ApiUserApplyAffiliateCodePost200Response
29
+ */
30
+ message: string;
31
+ /**
32
+ *
33
+ * @type {ApiUserApplyAffiliateCodePost200ResponseResponseObject}
34
+ * @memberof ApiUserApplyAffiliateCodePost200Response
35
+ */
36
+ responseObject?: ApiUserApplyAffiliateCodePost200ResponseResponseObject;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof ApiUserApplyAffiliateCodePost200Response
41
+ */
42
+ statusCode: number;
43
+ }
44
+ /**
45
+ * Check if a given object implements the ApiUserApplyAffiliateCodePost200Response interface.
46
+ */
47
+ export declare function instanceOfApiUserApplyAffiliateCodePost200Response(value: object): value is ApiUserApplyAffiliateCodePost200Response;
48
+ export declare function ApiUserApplyAffiliateCodePost200ResponseFromJSON(json: any): ApiUserApplyAffiliateCodePost200Response;
49
+ export declare function ApiUserApplyAffiliateCodePost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiUserApplyAffiliateCodePost200Response;
50
+ export declare function ApiUserApplyAffiliateCodePost200ResponseToJSON(json: any): ApiUserApplyAffiliateCodePost200Response;
51
+ export declare function ApiUserApplyAffiliateCodePost200ResponseToJSONTyped(value?: ApiUserApplyAffiliateCodePost200Response | 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 { ApiUserApplyAffiliateCodePost200ResponseResponseObjectFromJSON, ApiUserApplyAffiliateCodePost200ResponseResponseObjectToJSON, } from './ApiUserApplyAffiliateCodePost200ResponseResponseObject';
15
+ /**
16
+ * Check if a given object implements the ApiUserApplyAffiliateCodePost200Response interface.
17
+ */
18
+ export function instanceOfApiUserApplyAffiliateCodePost200Response(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 ApiUserApplyAffiliateCodePost200ResponseFromJSON(json) {
28
+ return ApiUserApplyAffiliateCodePost200ResponseFromJSONTyped(json, false);
29
+ }
30
+ export function ApiUserApplyAffiliateCodePost200ResponseFromJSONTyped(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 : ApiUserApplyAffiliateCodePost200ResponseResponseObjectFromJSON(json['responseObject']),
38
+ 'statusCode': json['statusCode'],
39
+ };
40
+ }
41
+ export function ApiUserApplyAffiliateCodePost200ResponseToJSON(json) {
42
+ return ApiUserApplyAffiliateCodePost200ResponseToJSONTyped(json, false);
43
+ }
44
+ export function ApiUserApplyAffiliateCodePost200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'success': value['success'],
50
+ 'message': value['message'],
51
+ 'responseObject': ApiUserApplyAffiliateCodePost200ResponseResponseObjectToJSON(value['responseObject']),
52
+ 'statusCode': value['statusCode'],
53
+ };
54
+ }
@@ -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 { ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrer } from './ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrer';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ApiUserApplyAffiliateCodePost200ResponseResponseObject
17
+ */
18
+ export interface ApiUserApplyAffiliateCodePost200ResponseResponseObject {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof ApiUserApplyAffiliateCodePost200ResponseResponseObject
23
+ */
24
+ success: boolean;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ApiUserApplyAffiliateCodePost200ResponseResponseObject
29
+ */
30
+ message: string;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof ApiUserApplyAffiliateCodePost200ResponseResponseObject
35
+ */
36
+ pointsAwarded: number;
37
+ /**
38
+ *
39
+ * @type {ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrer}
40
+ * @memberof ApiUserApplyAffiliateCodePost200ResponseResponseObject
41
+ */
42
+ referrer?: ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrer;
43
+ }
44
+ /**
45
+ * Check if a given object implements the ApiUserApplyAffiliateCodePost200ResponseResponseObject interface.
46
+ */
47
+ export declare function instanceOfApiUserApplyAffiliateCodePost200ResponseResponseObject(value: object): value is ApiUserApplyAffiliateCodePost200ResponseResponseObject;
48
+ export declare function ApiUserApplyAffiliateCodePost200ResponseResponseObjectFromJSON(json: any): ApiUserApplyAffiliateCodePost200ResponseResponseObject;
49
+ export declare function ApiUserApplyAffiliateCodePost200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiUserApplyAffiliateCodePost200ResponseResponseObject;
50
+ export declare function ApiUserApplyAffiliateCodePost200ResponseResponseObjectToJSON(json: any): ApiUserApplyAffiliateCodePost200ResponseResponseObject;
51
+ export declare function ApiUserApplyAffiliateCodePost200ResponseResponseObjectToJSONTyped(value?: ApiUserApplyAffiliateCodePost200ResponseResponseObject | 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 { ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrerFromJSON, ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrerToJSON, } from './ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrer';
15
+ /**
16
+ * Check if a given object implements the ApiUserApplyAffiliateCodePost200ResponseResponseObject interface.
17
+ */
18
+ export function instanceOfApiUserApplyAffiliateCodePost200ResponseResponseObject(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 (!('pointsAwarded' in value) || value['pointsAwarded'] === undefined)
24
+ return false;
25
+ return true;
26
+ }
27
+ export function ApiUserApplyAffiliateCodePost200ResponseResponseObjectFromJSON(json) {
28
+ return ApiUserApplyAffiliateCodePost200ResponseResponseObjectFromJSONTyped(json, false);
29
+ }
30
+ export function ApiUserApplyAffiliateCodePost200ResponseResponseObjectFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'success': json['success'],
36
+ 'message': json['message'],
37
+ 'pointsAwarded': json['pointsAwarded'],
38
+ 'referrer': json['referrer'] == null ? undefined : ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrerFromJSON(json['referrer']),
39
+ };
40
+ }
41
+ export function ApiUserApplyAffiliateCodePost200ResponseResponseObjectToJSON(json) {
42
+ return ApiUserApplyAffiliateCodePost200ResponseResponseObjectToJSONTyped(json, false);
43
+ }
44
+ export function ApiUserApplyAffiliateCodePost200ResponseResponseObjectToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'success': value['success'],
50
+ 'message': value['message'],
51
+ 'pointsAwarded': value['pointsAwarded'],
52
+ 'referrer': ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrerToJSON(value['referrer']),
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 ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrer
16
+ */
17
+ export interface ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrer {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrer
22
+ */
23
+ id: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrer
28
+ */
29
+ name: string | null;
30
+ }
31
+ /**
32
+ * Check if a given object implements the ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrer interface.
33
+ */
34
+ export declare function instanceOfApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrer(value: object): value is ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrer;
35
+ export declare function ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrerFromJSON(json: any): ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrer;
36
+ export declare function ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrer;
37
+ export declare function ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrerToJSON(json: any): ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrer;
38
+ export declare function ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrerToJSONTyped(value?: ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrer | 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 ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrer interface.
16
+ */
17
+ export function instanceOfApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrer(value) {
18
+ if (!('id' in value) || value['id'] === undefined)
19
+ return false;
20
+ if (!('name' in value) || value['name'] === undefined)
21
+ return false;
22
+ return true;
23
+ }
24
+ export function ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrerFromJSON(json) {
25
+ return ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrerFromJSONTyped(json, false);
26
+ }
27
+ export function ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrerFromJSONTyped(json, ignoreDiscriminator) {
28
+ if (json == null) {
29
+ return json;
30
+ }
31
+ return {
32
+ 'id': json['id'],
33
+ 'name': json['name'],
34
+ };
35
+ }
36
+ export function ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrerToJSON(json) {
37
+ return ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrerToJSONTyped(json, false);
38
+ }
39
+ export function ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrerToJSONTyped(value, ignoreDiscriminator = false) {
40
+ if (value == null) {
41
+ return value;
42
+ }
43
+ return {
44
+ 'id': value['id'],
45
+ 'name': value['name'],
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 ApiUserApplyAffiliateCodePostRequest
16
+ */
17
+ export interface ApiUserApplyAffiliateCodePostRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof ApiUserApplyAffiliateCodePostRequest
22
+ */
23
+ affiliateCode: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the ApiUserApplyAffiliateCodePostRequest interface.
27
+ */
28
+ export declare function instanceOfApiUserApplyAffiliateCodePostRequest(value: object): value is ApiUserApplyAffiliateCodePostRequest;
29
+ export declare function ApiUserApplyAffiliateCodePostRequestFromJSON(json: any): ApiUserApplyAffiliateCodePostRequest;
30
+ export declare function ApiUserApplyAffiliateCodePostRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiUserApplyAffiliateCodePostRequest;
31
+ export declare function ApiUserApplyAffiliateCodePostRequestToJSON(json: any): ApiUserApplyAffiliateCodePostRequest;
32
+ export declare function ApiUserApplyAffiliateCodePostRequestToJSONTyped(value?: ApiUserApplyAffiliateCodePostRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,43 @@
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 ApiUserApplyAffiliateCodePostRequest interface.
16
+ */
17
+ export function instanceOfApiUserApplyAffiliateCodePostRequest(value) {
18
+ if (!('affiliateCode' in value) || value['affiliateCode'] === undefined)
19
+ return false;
20
+ return true;
21
+ }
22
+ export function ApiUserApplyAffiliateCodePostRequestFromJSON(json) {
23
+ return ApiUserApplyAffiliateCodePostRequestFromJSONTyped(json, false);
24
+ }
25
+ export function ApiUserApplyAffiliateCodePostRequestFromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'affiliateCode': json['affiliate_code'],
31
+ };
32
+ }
33
+ export function ApiUserApplyAffiliateCodePostRequestToJSON(json) {
34
+ return ApiUserApplyAffiliateCodePostRequestToJSONTyped(json, false);
35
+ }
36
+ export function ApiUserApplyAffiliateCodePostRequestToJSONTyped(value, ignoreDiscriminator = false) {
37
+ if (value == null) {
38
+ return value;
39
+ }
40
+ return {
41
+ 'affiliate_code': value['affiliateCode'],
42
+ };
43
+ }
@@ -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 { ApiUserPointRewardsGet200ResponseResponseObject } from './ApiUserPointRewardsGet200ResponseResponseObject';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ApiUserPointRewardsGet200Response
17
+ */
18
+ export interface ApiUserPointRewardsGet200Response {
19
+ /**
20
+ *
21
+ * @type {boolean}
22
+ * @memberof ApiUserPointRewardsGet200Response
23
+ */
24
+ success: boolean;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof ApiUserPointRewardsGet200Response
29
+ */
30
+ message: string;
31
+ /**
32
+ *
33
+ * @type {ApiUserPointRewardsGet200ResponseResponseObject}
34
+ * @memberof ApiUserPointRewardsGet200Response
35
+ */
36
+ responseObject?: ApiUserPointRewardsGet200ResponseResponseObject;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof ApiUserPointRewardsGet200Response
41
+ */
42
+ statusCode: number;
43
+ }
44
+ /**
45
+ * Check if a given object implements the ApiUserPointRewardsGet200Response interface.
46
+ */
47
+ export declare function instanceOfApiUserPointRewardsGet200Response(value: object): value is ApiUserPointRewardsGet200Response;
48
+ export declare function ApiUserPointRewardsGet200ResponseFromJSON(json: any): ApiUserPointRewardsGet200Response;
49
+ export declare function ApiUserPointRewardsGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiUserPointRewardsGet200Response;
50
+ export declare function ApiUserPointRewardsGet200ResponseToJSON(json: any): ApiUserPointRewardsGet200Response;
51
+ export declare function ApiUserPointRewardsGet200ResponseToJSONTyped(value?: ApiUserPointRewardsGet200Response | 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 { ApiUserPointRewardsGet200ResponseResponseObjectFromJSON, ApiUserPointRewardsGet200ResponseResponseObjectToJSON, } from './ApiUserPointRewardsGet200ResponseResponseObject';
15
+ /**
16
+ * Check if a given object implements the ApiUserPointRewardsGet200Response interface.
17
+ */
18
+ export function instanceOfApiUserPointRewardsGet200Response(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 ApiUserPointRewardsGet200ResponseFromJSON(json) {
28
+ return ApiUserPointRewardsGet200ResponseFromJSONTyped(json, false);
29
+ }
30
+ export function ApiUserPointRewardsGet200ResponseFromJSONTyped(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 : ApiUserPointRewardsGet200ResponseResponseObjectFromJSON(json['responseObject']),
38
+ 'statusCode': json['statusCode'],
39
+ };
40
+ }
41
+ export function ApiUserPointRewardsGet200ResponseToJSON(json) {
42
+ return ApiUserPointRewardsGet200ResponseToJSONTyped(json, false);
43
+ }
44
+ export function ApiUserPointRewardsGet200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
45
+ if (value == null) {
46
+ return value;
47
+ }
48
+ return {
49
+ 'success': value['success'],
50
+ 'message': value['message'],
51
+ 'responseObject': ApiUserPointRewardsGet200ResponseResponseObjectToJSON(value['responseObject']),
52
+ 'statusCode': value['statusCode'],
53
+ };
54
+ }
@@ -0,0 +1,68 @@
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 ApiUserPointRewardsGet200ResponseResponseObject
16
+ */
17
+ export interface ApiUserPointRewardsGet200ResponseResponseObject {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof ApiUserPointRewardsGet200ResponseResponseObject
22
+ */
23
+ sIGNUP: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof ApiUserPointRewardsGet200ResponseResponseObject
28
+ */
29
+ rEFERRAL: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof ApiUserPointRewardsGet200ResponseResponseObject
34
+ */
35
+ nFCSCAN: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof ApiUserPointRewardsGet200ResponseResponseObject
40
+ */
41
+ fIRSTGAME: number;
42
+ /**
43
+ *
44
+ * @type {number}
45
+ * @memberof ApiUserPointRewardsGet200ResponseResponseObject
46
+ */
47
+ dAILYLOGIN: number;
48
+ /**
49
+ *
50
+ * @type {number}
51
+ * @memberof ApiUserPointRewardsGet200ResponseResponseObject
52
+ */
53
+ tOURNAMENTWIN: number;
54
+ /**
55
+ *
56
+ * @type {number}
57
+ * @memberof ApiUserPointRewardsGet200ResponseResponseObject
58
+ */
59
+ aDMINBONUS: number;
60
+ }
61
+ /**
62
+ * Check if a given object implements the ApiUserPointRewardsGet200ResponseResponseObject interface.
63
+ */
64
+ export declare function instanceOfApiUserPointRewardsGet200ResponseResponseObject(value: object): value is ApiUserPointRewardsGet200ResponseResponseObject;
65
+ export declare function ApiUserPointRewardsGet200ResponseResponseObjectFromJSON(json: any): ApiUserPointRewardsGet200ResponseResponseObject;
66
+ export declare function ApiUserPointRewardsGet200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiUserPointRewardsGet200ResponseResponseObject;
67
+ export declare function ApiUserPointRewardsGet200ResponseResponseObjectToJSON(json: any): ApiUserPointRewardsGet200ResponseResponseObject;
68
+ export declare function ApiUserPointRewardsGet200ResponseResponseObjectToJSONTyped(value?: ApiUserPointRewardsGet200ResponseResponseObject | null, ignoreDiscriminator?: boolean): any;