@drxsuperapp/sdk 1.1.163 → 1.1.168
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 +32 -0
- package/apis/AppConfigApi.ts +119 -0
- package/apis/AuthenticationApi.ts +166 -0
- package/apis/PadelApi.ts +0 -5
- package/apis/TennisApi.ts +0 -15
- package/apis/TournamentApi.ts +0 -5
- package/apis/UserAffiliateApi.ts +186 -0
- package/apis/UserApi.ts +0 -46
- package/apis/UserPointsApi.ts +176 -0
- package/apis/index.ts +4 -0
- package/deploy.log +20 -273
- package/dist/apis/AppConfigApi.d.ts +37 -0
- package/dist/apis/AppConfigApi.js +84 -0
- package/dist/apis/AuthenticationApi.d.ts +51 -0
- package/dist/apis/AuthenticationApi.js +121 -0
- package/dist/apis/PadelApi.d.ts +0 -1
- package/dist/apis/PadelApi.js +0 -3
- package/dist/apis/TennisApi.d.ts +0 -3
- package/dist/apis/TennisApi.js +0 -9
- package/dist/apis/TournamentApi.d.ts +0 -1
- package/dist/apis/TournamentApi.js +0 -3
- package/dist/apis/UserAffiliateApi.d.ts +51 -0
- package/dist/apis/UserAffiliateApi.js +127 -0
- package/dist/apis/UserApi.d.ts +1 -10
- package/dist/apis/UserApi.js +1 -35
- package/dist/apis/UserPointsApi.d.ts +48 -0
- package/dist/apis/UserPointsApi.js +125 -0
- package/dist/apis/index.d.ts +4 -0
- package/dist/apis/index.js +4 -0
- package/dist/models/ApiAuthLoginPost200Response.d.ts +51 -0
- package/dist/models/ApiAuthLoginPost200Response.js +54 -0
- package/dist/models/ApiAuthRefreshPost200Response.d.ts +51 -0
- package/dist/models/ApiAuthRefreshPost200Response.js +54 -0
- package/dist/models/ApiTournamentGetFilterParameter.d.ts +0 -6
- package/dist/models/ApiTournamentGetFilterParameter.js +0 -2
- package/dist/models/ApiUserAffiliateGet200Response.d.ts +51 -0
- package/dist/models/ApiUserAffiliateGet200Response.js +54 -0
- package/dist/models/ApiUserAffiliateGet200ResponseResponseObject.d.ts +63 -0
- package/dist/models/ApiUserAffiliateGet200ResponseResponseObject.js +64 -0
- package/dist/models/ApiUserAffiliateGet200ResponseResponseObjectStatistics.d.ts +50 -0
- package/dist/models/ApiUserAffiliateGet200ResponseResponseObjectStatistics.js +55 -0
- package/dist/models/ApiUserApplyAffiliateCodePost200Response.d.ts +51 -0
- package/dist/models/ApiUserApplyAffiliateCodePost200Response.js +54 -0
- package/dist/models/ApiUserApplyAffiliateCodePost200ResponseResponseObject.d.ts +51 -0
- package/dist/models/ApiUserApplyAffiliateCodePost200ResponseResponseObject.js +54 -0
- package/dist/models/ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrer.d.ts +38 -0
- package/dist/models/ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrer.js +47 -0
- package/dist/models/ApiUserApplyAffiliateCodePostRequest.d.ts +32 -0
- package/dist/models/ApiUserApplyAffiliateCodePostRequest.js +43 -0
- package/dist/models/ApiUserPointRewardsGet200Response.d.ts +51 -0
- package/dist/models/ApiUserPointRewardsGet200Response.js +54 -0
- package/dist/models/ApiUserPointRewardsGet200ResponseResponseObject.d.ts +68 -0
- package/dist/models/ApiUserPointRewardsGet200ResponseResponseObject.js +67 -0
- package/dist/models/ApiUserPointRewardsPut200Response.d.ts +51 -0
- package/dist/models/ApiUserPointRewardsPut200Response.js +54 -0
- package/dist/models/ApiUserPointRewardsPut200ResponseResponseObject.d.ts +50 -0
- package/dist/models/ApiUserPointRewardsPut200ResponseResponseObject.js +55 -0
- package/dist/models/ApiUserPointRewardsPutRequest.d.ts +51 -0
- package/dist/models/ApiUserPointRewardsPutRequest.js +59 -0
- package/dist/models/ApiUserPointsGet200Response.d.ts +51 -0
- package/dist/models/ApiUserPointsGet200Response.js +54 -0
- package/dist/models/ApiUserPointsGet200ResponseResponseObject.d.ts +56 -0
- package/dist/models/ApiUserPointsGet200ResponseResponseObject.js +59 -0
- package/dist/models/ApiUserPointsHistoryGet200Response.d.ts +51 -0
- package/dist/models/ApiUserPointsHistoryGet200Response.js +54 -0
- package/dist/models/ApiUserPointsHistoryGet200ResponseResponseObject.d.ts +57 -0
- package/dist/models/ApiUserPointsHistoryGet200ResponseResponseObject.js +60 -0
- package/dist/models/ApiUserPointsHistoryGet200ResponseResponseObjectItemsInner.d.ts +103 -0
- package/dist/models/ApiUserPointsHistoryGet200ResponseResponseObjectItemsInner.js +96 -0
- package/dist/models/ApiUserPointsHistoryGetFilterParameter.d.ts +52 -0
- package/dist/models/ApiUserPointsHistoryGetFilterParameter.js +49 -0
- package/dist/models/ApiUserRecentReferralsGet200Response.d.ts +51 -0
- package/dist/models/ApiUserRecentReferralsGet200Response.js +54 -0
- package/dist/models/ApiUserRecentReferralsGet200ResponseResponseObject.d.ts +57 -0
- package/dist/models/ApiUserRecentReferralsGet200ResponseResponseObject.js +60 -0
- package/dist/models/ApiUserRecentReferralsGet200ResponseResponseObjectItemsInner.d.ts +56 -0
- package/dist/models/ApiUserRecentReferralsGet200ResponseResponseObjectItemsInner.js +59 -0
- package/dist/models/ApiUserRecentReferralsGetFilterParameter.d.ts +46 -0
- package/dist/models/ApiUserRecentReferralsGetFilterParameter.js +47 -0
- package/dist/models/LoginRequest.d.ts +38 -0
- package/dist/models/LoginRequest.js +47 -0
- package/dist/models/LoginResponse.d.ts +45 -0
- package/dist/models/LoginResponse.js +52 -0
- package/dist/models/LoginResponseUser.d.ts +56 -0
- package/dist/models/LoginResponseUser.js +59 -0
- package/dist/models/RefreshTokenResponse.d.ts +38 -0
- package/dist/models/RefreshTokenResponse.js +47 -0
- package/dist/models/index.d.ts +28 -0
- package/dist/models/index.js +28 -0
- package/models/ApiAuthLoginPost200Response.ts +100 -0
- package/models/ApiAuthRefreshPost200Response.ts +100 -0
- package/models/ApiTournamentGetFilterParameter.ts +0 -8
- package/models/ApiUserAffiliateGet200Response.ts +100 -0
- package/models/ApiUserAffiliateGet200ResponseResponseObject.ts +119 -0
- package/models/ApiUserAffiliateGet200ResponseResponseObjectStatistics.ts +93 -0
- package/models/ApiUserApplyAffiliateCodePost200Response.ts +100 -0
- package/models/ApiUserApplyAffiliateCodePost200ResponseResponseObject.ts +100 -0
- package/models/ApiUserApplyAffiliateCodePost200ResponseResponseObjectReferrer.ts +75 -0
- package/models/ApiUserApplyAffiliateCodePostRequest.ts +66 -0
- package/models/ApiUserPointRewardsGet200Response.ts +100 -0
- package/models/ApiUserPointRewardsGet200ResponseResponseObject.ts +120 -0
- package/models/ApiUserPointRewardsPut200Response.ts +100 -0
- package/models/ApiUserPointRewardsPut200ResponseResponseObject.ts +93 -0
- package/models/ApiUserPointRewardsPutRequest.ts +91 -0
- package/models/ApiUserPointsGet200Response.ts +100 -0
- package/models/ApiUserPointsGet200ResponseResponseObject.ts +102 -0
- package/models/ApiUserPointsHistoryGet200Response.ts +100 -0
- package/models/ApiUserPointsHistoryGet200ResponseResponseObject.ts +110 -0
- package/models/ApiUserPointsHistoryGet200ResponseResponseObjectItemsInner.ts +160 -0
- package/models/ApiUserPointsHistoryGetFilterParameter.ts +104 -0
- package/models/ApiUserRecentReferralsGet200Response.ts +100 -0
- package/models/ApiUserRecentReferralsGet200ResponseResponseObject.ts +110 -0
- package/models/ApiUserRecentReferralsGet200ResponseResponseObjectItemsInner.ts +102 -0
- package/models/ApiUserRecentReferralsGetFilterParameter.ts +96 -0
- package/models/LoginRequest.ts +75 -0
- package/models/LoginResponse.ts +92 -0
- package/models/LoginResponseUser.ts +102 -0
- package/models/RefreshTokenResponse.ts +75 -0
- package/models/index.ts +28 -0
- package/package.json +1 -1
package/dist/apis/index.js
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export * from './AppConfigApi';
|
|
4
|
+
export * from './AuthenticationApi';
|
|
3
5
|
export * from './HealthCheckApi';
|
|
4
6
|
export * from './NewsApi';
|
|
5
7
|
export * from './PadelApi';
|
|
6
8
|
export * from './TennisApi';
|
|
7
9
|
export * from './TournamentApi';
|
|
8
10
|
export * from './UserApi';
|
|
11
|
+
export * from './UserAffiliateApi';
|
|
12
|
+
export * from './UserPointsApi';
|
|
9
13
|
export * from './YoutubeApi';
|
|
@@ -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 { LoginResponse } from './LoginResponse';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiAuthLoginPost200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiAuthLoginPost200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ApiAuthLoginPost200Response
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ApiAuthLoginPost200Response
|
|
29
|
+
*/
|
|
30
|
+
message: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {LoginResponse}
|
|
34
|
+
* @memberof ApiAuthLoginPost200Response
|
|
35
|
+
*/
|
|
36
|
+
responseObject?: LoginResponse;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ApiAuthLoginPost200Response
|
|
41
|
+
*/
|
|
42
|
+
statusCode: number;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ApiAuthLoginPost200Response interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfApiAuthLoginPost200Response(value: object): value is ApiAuthLoginPost200Response;
|
|
48
|
+
export declare function ApiAuthLoginPost200ResponseFromJSON(json: any): ApiAuthLoginPost200Response;
|
|
49
|
+
export declare function ApiAuthLoginPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAuthLoginPost200Response;
|
|
50
|
+
export declare function ApiAuthLoginPost200ResponseToJSON(json: any): ApiAuthLoginPost200Response;
|
|
51
|
+
export declare function ApiAuthLoginPost200ResponseToJSONTyped(value?: ApiAuthLoginPost200Response | 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 { LoginResponseFromJSON, LoginResponseToJSON, } from './LoginResponse';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiAuthLoginPost200Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiAuthLoginPost200Response(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 ApiAuthLoginPost200ResponseFromJSON(json) {
|
|
28
|
+
return ApiAuthLoginPost200ResponseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function ApiAuthLoginPost200ResponseFromJSONTyped(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 : LoginResponseFromJSON(json['responseObject']),
|
|
38
|
+
'statusCode': json['statusCode'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function ApiAuthLoginPost200ResponseToJSON(json) {
|
|
42
|
+
return ApiAuthLoginPost200ResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function ApiAuthLoginPost200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'success': value['success'],
|
|
50
|
+
'message': value['message'],
|
|
51
|
+
'responseObject': LoginResponseToJSON(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 { RefreshTokenResponse } from './RefreshTokenResponse';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiAuthRefreshPost200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiAuthRefreshPost200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ApiAuthRefreshPost200Response
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ApiAuthRefreshPost200Response
|
|
29
|
+
*/
|
|
30
|
+
message: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {RefreshTokenResponse}
|
|
34
|
+
* @memberof ApiAuthRefreshPost200Response
|
|
35
|
+
*/
|
|
36
|
+
responseObject?: RefreshTokenResponse;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ApiAuthRefreshPost200Response
|
|
41
|
+
*/
|
|
42
|
+
statusCode: number;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ApiAuthRefreshPost200Response interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfApiAuthRefreshPost200Response(value: object): value is ApiAuthRefreshPost200Response;
|
|
48
|
+
export declare function ApiAuthRefreshPost200ResponseFromJSON(json: any): ApiAuthRefreshPost200Response;
|
|
49
|
+
export declare function ApiAuthRefreshPost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAuthRefreshPost200Response;
|
|
50
|
+
export declare function ApiAuthRefreshPost200ResponseToJSON(json: any): ApiAuthRefreshPost200Response;
|
|
51
|
+
export declare function ApiAuthRefreshPost200ResponseToJSONTyped(value?: ApiAuthRefreshPost200Response | 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 { RefreshTokenResponseFromJSON, RefreshTokenResponseToJSON, } from './RefreshTokenResponse';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiAuthRefreshPost200Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiAuthRefreshPost200Response(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 ApiAuthRefreshPost200ResponseFromJSON(json) {
|
|
28
|
+
return ApiAuthRefreshPost200ResponseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function ApiAuthRefreshPost200ResponseFromJSONTyped(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 : RefreshTokenResponseFromJSON(json['responseObject']),
|
|
38
|
+
'statusCode': json['statusCode'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function ApiAuthRefreshPost200ResponseToJSON(json) {
|
|
42
|
+
return ApiAuthRefreshPost200ResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function ApiAuthRefreshPost200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'success': value['success'],
|
|
50
|
+
'message': value['message'],
|
|
51
|
+
'responseObject': RefreshTokenResponseToJSON(value['responseObject']),
|
|
52
|
+
'statusCode': value['statusCode'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -28,12 +28,6 @@ export interface ApiTournamentGetFilterParameter {
|
|
|
28
28
|
* @memberof ApiTournamentGetFilterParameter
|
|
29
29
|
*/
|
|
30
30
|
gameType?: ApiPadelMatchesGetFilterParameterName;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {ApiPadelMatchesGetFilterParameterName}
|
|
34
|
-
* @memberof ApiTournamentGetFilterParameter
|
|
35
|
-
*/
|
|
36
|
-
userId?: ApiPadelMatchesGetFilterParameterName;
|
|
37
31
|
}
|
|
38
32
|
/**
|
|
39
33
|
* Check if a given object implements the ApiTournamentGetFilterParameter interface.
|
|
@@ -28,7 +28,6 @@ export function ApiTournamentGetFilterParameterFromJSONTyped(json, ignoreDiscrim
|
|
|
28
28
|
return {
|
|
29
29
|
'title': json['title'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['title']),
|
|
30
30
|
'gameType': json['game_type'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['game_type']),
|
|
31
|
-
'userId': json['user_id'] == null ? undefined : ApiPadelMatchesGetFilterParameterNameFromJSON(json['user_id']),
|
|
32
31
|
};
|
|
33
32
|
}
|
|
34
33
|
export function ApiTournamentGetFilterParameterToJSON(json) {
|
|
@@ -41,6 +40,5 @@ export function ApiTournamentGetFilterParameterToJSONTyped(value, ignoreDiscrimi
|
|
|
41
40
|
return {
|
|
42
41
|
'title': ApiPadelMatchesGetFilterParameterNameToJSON(value['title']),
|
|
43
42
|
'game_type': ApiPadelMatchesGetFilterParameterNameToJSON(value['gameType']),
|
|
44
|
-
'user_id': ApiPadelMatchesGetFilterParameterNameToJSON(value['userId']),
|
|
45
43
|
};
|
|
46
44
|
}
|
|
@@ -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 { ApiUserAffiliateGet200ResponseResponseObject } from './ApiUserAffiliateGet200ResponseResponseObject';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiUserAffiliateGet200Response
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiUserAffiliateGet200Response {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ApiUserAffiliateGet200Response
|
|
23
|
+
*/
|
|
24
|
+
success: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ApiUserAffiliateGet200Response
|
|
29
|
+
*/
|
|
30
|
+
message: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {ApiUserAffiliateGet200ResponseResponseObject}
|
|
34
|
+
* @memberof ApiUserAffiliateGet200Response
|
|
35
|
+
*/
|
|
36
|
+
responseObject?: ApiUserAffiliateGet200ResponseResponseObject;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ApiUserAffiliateGet200Response
|
|
41
|
+
*/
|
|
42
|
+
statusCode: number;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check if a given object implements the ApiUserAffiliateGet200Response interface.
|
|
46
|
+
*/
|
|
47
|
+
export declare function instanceOfApiUserAffiliateGet200Response(value: object): value is ApiUserAffiliateGet200Response;
|
|
48
|
+
export declare function ApiUserAffiliateGet200ResponseFromJSON(json: any): ApiUserAffiliateGet200Response;
|
|
49
|
+
export declare function ApiUserAffiliateGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiUserAffiliateGet200Response;
|
|
50
|
+
export declare function ApiUserAffiliateGet200ResponseToJSON(json: any): ApiUserAffiliateGet200Response;
|
|
51
|
+
export declare function ApiUserAffiliateGet200ResponseToJSONTyped(value?: ApiUserAffiliateGet200Response | 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 { ApiUserAffiliateGet200ResponseResponseObjectFromJSON, ApiUserAffiliateGet200ResponseResponseObjectToJSON, } from './ApiUserAffiliateGet200ResponseResponseObject';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiUserAffiliateGet200Response interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiUserAffiliateGet200Response(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 ApiUserAffiliateGet200ResponseFromJSON(json) {
|
|
28
|
+
return ApiUserAffiliateGet200ResponseFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
export function ApiUserAffiliateGet200ResponseFromJSONTyped(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 : ApiUserAffiliateGet200ResponseResponseObjectFromJSON(json['responseObject']),
|
|
38
|
+
'statusCode': json['statusCode'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
export function ApiUserAffiliateGet200ResponseToJSON(json) {
|
|
42
|
+
return ApiUserAffiliateGet200ResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
export function ApiUserAffiliateGet200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'success': value['success'],
|
|
50
|
+
'message': value['message'],
|
|
51
|
+
'responseObject': ApiUserAffiliateGet200ResponseResponseObjectToJSON(value['responseObject']),
|
|
52
|
+
'statusCode': value['statusCode'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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 { ApiUserAffiliateGet200ResponseResponseObjectStatistics } from './ApiUserAffiliateGet200ResponseResponseObjectStatistics';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ApiUserAffiliateGet200ResponseResponseObject
|
|
17
|
+
*/
|
|
18
|
+
export interface ApiUserAffiliateGet200ResponseResponseObject {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof ApiUserAffiliateGet200ResponseResponseObject
|
|
23
|
+
*/
|
|
24
|
+
affiliateCode: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof ApiUserAffiliateGet200ResponseResponseObject
|
|
29
|
+
*/
|
|
30
|
+
isActive: boolean;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ApiUserAffiliateGet200ResponseResponseObject
|
|
35
|
+
*/
|
|
36
|
+
totalReferrals: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ApiUserAffiliateGet200ResponseResponseObject
|
|
41
|
+
*/
|
|
42
|
+
totalPoints: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ApiUserAffiliateGet200ResponseResponseObject
|
|
47
|
+
*/
|
|
48
|
+
createdAt: string;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {ApiUserAffiliateGet200ResponseResponseObjectStatistics}
|
|
52
|
+
* @memberof ApiUserAffiliateGet200ResponseResponseObject
|
|
53
|
+
*/
|
|
54
|
+
statistics: ApiUserAffiliateGet200ResponseResponseObjectStatistics;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the ApiUserAffiliateGet200ResponseResponseObject interface.
|
|
58
|
+
*/
|
|
59
|
+
export declare function instanceOfApiUserAffiliateGet200ResponseResponseObject(value: object): value is ApiUserAffiliateGet200ResponseResponseObject;
|
|
60
|
+
export declare function ApiUserAffiliateGet200ResponseResponseObjectFromJSON(json: any): ApiUserAffiliateGet200ResponseResponseObject;
|
|
61
|
+
export declare function ApiUserAffiliateGet200ResponseResponseObjectFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiUserAffiliateGet200ResponseResponseObject;
|
|
62
|
+
export declare function ApiUserAffiliateGet200ResponseResponseObjectToJSON(json: any): ApiUserAffiliateGet200ResponseResponseObject;
|
|
63
|
+
export declare function ApiUserAffiliateGet200ResponseResponseObjectToJSONTyped(value?: ApiUserAffiliateGet200ResponseResponseObject | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,64 @@
|
|
|
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 { ApiUserAffiliateGet200ResponseResponseObjectStatisticsFromJSON, ApiUserAffiliateGet200ResponseResponseObjectStatisticsToJSON, } from './ApiUserAffiliateGet200ResponseResponseObjectStatistics';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the ApiUserAffiliateGet200ResponseResponseObject interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfApiUserAffiliateGet200ResponseResponseObject(value) {
|
|
19
|
+
if (!('affiliateCode' in value) || value['affiliateCode'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('isActive' in value) || value['isActive'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('totalReferrals' in value) || value['totalReferrals'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('totalPoints' in value) || value['totalPoints'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('createdAt' in value) || value['createdAt'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('statistics' in value) || value['statistics'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
export function ApiUserAffiliateGet200ResponseResponseObjectFromJSON(json) {
|
|
34
|
+
return ApiUserAffiliateGet200ResponseResponseObjectFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
export function ApiUserAffiliateGet200ResponseResponseObjectFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if (json == null) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'affiliateCode': json['affiliateCode'],
|
|
42
|
+
'isActive': json['isActive'],
|
|
43
|
+
'totalReferrals': json['totalReferrals'],
|
|
44
|
+
'totalPoints': json['totalPoints'],
|
|
45
|
+
'createdAt': json['createdAt'],
|
|
46
|
+
'statistics': ApiUserAffiliateGet200ResponseResponseObjectStatisticsFromJSON(json['statistics']),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
export function ApiUserAffiliateGet200ResponseResponseObjectToJSON(json) {
|
|
50
|
+
return ApiUserAffiliateGet200ResponseResponseObjectToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
export function ApiUserAffiliateGet200ResponseResponseObjectToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'affiliateCode': value['affiliateCode'],
|
|
58
|
+
'isActive': value['isActive'],
|
|
59
|
+
'totalReferrals': value['totalReferrals'],
|
|
60
|
+
'totalPoints': value['totalPoints'],
|
|
61
|
+
'createdAt': value['createdAt'],
|
|
62
|
+
'statistics': ApiUserAffiliateGet200ResponseResponseObjectStatisticsToJSON(value['statistics']),
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -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;
|