@gambulls-org/gambulls-apis 3.0.208 → 3.0.209
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/.idea/gambulls-apis.iml +11 -11
- package/.idea/modules.xml +7 -7
- package/.idea/vcs.xml +5 -5
- package/.openapi-generator/FILES +533 -532
- package/.openapi-generator-ignore +23 -23
- package/README.md +16 -16
- package/api.ts +10356 -10356
- package/apis/AdminAffiliateApi.js +7 -17
- package/apis/AdminAppConfigApi.js +7 -17
- package/apis/AdminAuthApi.js +7 -17
- package/apis/AdminBannerApi.js +7 -17
- package/apis/AdminBonusApi.js +7 -17
- package/apis/AdminCategoryApi.js +7 -17
- package/apis/AdminChatApi.js +7 -17
- package/apis/AdminDashboardApi.js +7 -17
- package/apis/AdminExchangeApi.js +7 -17
- package/apis/AdminFileManagementApi.js +7 -17
- package/apis/AdminGamesApi.js +7 -17
- package/apis/AdminGroupApi.js +7 -17
- package/apis/AdminLoyaltyApi.js +7 -17
- package/apis/AdminManagementApi.js +7 -17
- package/apis/AdminMenuApi.js +7 -17
- package/apis/AdminPaymentSystemApi.js +8 -18
- package/apis/AdminPaymentSystemApi.ts +6 -6
- package/apis/AdminPinnedMessageApi.js +7 -17
- package/apis/AdminPolicyApi.js +7 -17
- package/apis/AdminProvidersApi.js +7 -17
- package/apis/AdminRakebackEventApi.js +7 -17
- package/apis/AdminReportApi.js +7 -17
- package/apis/AdminUserManagementApi.js +7 -17
- package/apis/AuthApi.js +7 -17
- package/apis/CMSApi.js +7 -17
- package/apis/CronDataCleanupApi.js +7 -17
- package/apis/HealthCheckApi.js +7 -17
- package/apis/PublicBannerApi.js +7 -17
- package/apis/PublicGamesApi.js +7 -17
- package/apis/PublicPolicyApi.js +7 -17
- package/apis/RGSApi.js +7 -17
- package/apis/RGSV2Api.js +7 -17
- package/apis/SportsbookApi.js +7 -17
- package/apis/TatumApi.js +7 -17
- package/apis/TestForNonProductionOnlyApi.js +7 -17
- package/apis/UserAffiliateApi.js +7 -17
- package/apis/UserAvatarApi.js +7 -17
- package/apis/UserBalanceApi.js +7 -17
- package/apis/UserBonusApi.js +7 -17
- package/apis/UserDepositApi.js +7 -17
- package/apis/UserDocumentApi.js +7 -17
- package/apis/UserGamesApi.js +7 -17
- package/apis/UserLoyaltyApi.js +7 -17
- package/apis/UserModeratorApi.js +7 -17
- package/apis/UserNotificationApi.js +7 -17
- package/apis/UserPreferencesApi.js +7 -17
- package/apis/UserProfileApi.js +7 -17
- package/apis/UserResponsibleGamingApi.js +7 -17
- package/apis/UserSportsbookApi.js +91 -0
- package/apis/UserSportsbookApi.ts +68 -0
- package/apis/UserStatisticApi.js +7 -17
- package/apis/UserTippingApi.js +7 -17
- package/apis/UserTransactionHistoryApi.js +7 -17
- package/apis/UserUploadApi.js +7 -17
- package/apis/UserWagerApi.js +7 -17
- package/apis/UserWithdrawalApi.js +7 -17
- package/apis/index.js +1 -0
- package/apis/index.ts +1 -0
- package/base.ts +86 -86
- package/common.ts +150 -150
- package/configuration.ts +110 -110
- package/git_push.sh +57 -57
- package/hooks.json +8 -8
- package/models/{ApiAdminPsHotWalletSendPost200Response.js → ApiUserSbTokenGet200Response.js} +13 -13
- package/models/{ApiAdminPsHotWalletSendPost200Response.ts → ApiUserSbTokenGet200Response.ts} +14 -14
- package/models/index.js +1 -1
- package/models/index.ts +1 -1
- package/openapitools.json +7 -7
- package/package.json +26 -26
- package/tsconfig.json +108 -108
- package/workflow.sh +40 -40
package/configuration.ts
CHANGED
|
@@ -1,110 +1,110 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Swagger 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
|
-
|
|
16
|
-
export interface ConfigurationParameters {
|
|
17
|
-
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
18
|
-
username?: string;
|
|
19
|
-
password?: string;
|
|
20
|
-
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
21
|
-
basePath?: string;
|
|
22
|
-
serverIndex?: number;
|
|
23
|
-
baseOptions?: any;
|
|
24
|
-
formDataCtor?: new () => any;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export class Configuration {
|
|
28
|
-
/**
|
|
29
|
-
* parameter for apiKey security
|
|
30
|
-
* @param name security name
|
|
31
|
-
* @memberof Configuration
|
|
32
|
-
*/
|
|
33
|
-
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
34
|
-
/**
|
|
35
|
-
* parameter for basic security
|
|
36
|
-
*
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof Configuration
|
|
39
|
-
*/
|
|
40
|
-
username?: string;
|
|
41
|
-
/**
|
|
42
|
-
* parameter for basic security
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof Configuration
|
|
46
|
-
*/
|
|
47
|
-
password?: string;
|
|
48
|
-
/**
|
|
49
|
-
* parameter for oauth2 security
|
|
50
|
-
* @param name security name
|
|
51
|
-
* @param scopes oauth2 scope
|
|
52
|
-
* @memberof Configuration
|
|
53
|
-
*/
|
|
54
|
-
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
55
|
-
/**
|
|
56
|
-
* override base path
|
|
57
|
-
*
|
|
58
|
-
* @type {string}
|
|
59
|
-
* @memberof Configuration
|
|
60
|
-
*/
|
|
61
|
-
basePath?: string;
|
|
62
|
-
/**
|
|
63
|
-
* override server index
|
|
64
|
-
*
|
|
65
|
-
* @type {number}
|
|
66
|
-
* @memberof Configuration
|
|
67
|
-
*/
|
|
68
|
-
serverIndex?: number;
|
|
69
|
-
/**
|
|
70
|
-
* base options for axios calls
|
|
71
|
-
*
|
|
72
|
-
* @type {any}
|
|
73
|
-
* @memberof Configuration
|
|
74
|
-
*/
|
|
75
|
-
baseOptions?: any;
|
|
76
|
-
/**
|
|
77
|
-
* The FormData constructor that will be used to create multipart form data
|
|
78
|
-
* requests. You can inject this here so that execution environments that
|
|
79
|
-
* do not support the FormData class can still run the generated client.
|
|
80
|
-
*
|
|
81
|
-
* @type {new () => FormData}
|
|
82
|
-
*/
|
|
83
|
-
formDataCtor?: new () => any;
|
|
84
|
-
|
|
85
|
-
constructor(param: ConfigurationParameters = {}) {
|
|
86
|
-
this.apiKey = param.apiKey;
|
|
87
|
-
this.username = param.username;
|
|
88
|
-
this.password = param.password;
|
|
89
|
-
this.accessToken = param.accessToken;
|
|
90
|
-
this.basePath = param.basePath;
|
|
91
|
-
this.serverIndex = param.serverIndex;
|
|
92
|
-
this.baseOptions = param.baseOptions;
|
|
93
|
-
this.formDataCtor = param.formDataCtor;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
/**
|
|
97
|
-
* Check if the given MIME is a JSON MIME.
|
|
98
|
-
* JSON MIME examples:
|
|
99
|
-
* application/json
|
|
100
|
-
* application/json; charset=UTF8
|
|
101
|
-
* APPLICATION/JSON
|
|
102
|
-
* application/vnd.company+json
|
|
103
|
-
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
104
|
-
* @return True if the given MIME is JSON, false otherwise.
|
|
105
|
-
*/
|
|
106
|
-
public isJsonMime(mime: string): boolean {
|
|
107
|
-
const jsonMime: RegExp = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
|
|
108
|
-
return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
|
|
109
|
-
}
|
|
110
|
-
}
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Swagger 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
|
+
|
|
16
|
+
export interface ConfigurationParameters {
|
|
17
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
18
|
+
username?: string;
|
|
19
|
+
password?: string;
|
|
20
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
21
|
+
basePath?: string;
|
|
22
|
+
serverIndex?: number;
|
|
23
|
+
baseOptions?: any;
|
|
24
|
+
formDataCtor?: new () => any;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export class Configuration {
|
|
28
|
+
/**
|
|
29
|
+
* parameter for apiKey security
|
|
30
|
+
* @param name security name
|
|
31
|
+
* @memberof Configuration
|
|
32
|
+
*/
|
|
33
|
+
apiKey?: string | Promise<string> | ((name: string) => string) | ((name: string) => Promise<string>);
|
|
34
|
+
/**
|
|
35
|
+
* parameter for basic security
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof Configuration
|
|
39
|
+
*/
|
|
40
|
+
username?: string;
|
|
41
|
+
/**
|
|
42
|
+
* parameter for basic security
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof Configuration
|
|
46
|
+
*/
|
|
47
|
+
password?: string;
|
|
48
|
+
/**
|
|
49
|
+
* parameter for oauth2 security
|
|
50
|
+
* @param name security name
|
|
51
|
+
* @param scopes oauth2 scope
|
|
52
|
+
* @memberof Configuration
|
|
53
|
+
*/
|
|
54
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
55
|
+
/**
|
|
56
|
+
* override base path
|
|
57
|
+
*
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof Configuration
|
|
60
|
+
*/
|
|
61
|
+
basePath?: string;
|
|
62
|
+
/**
|
|
63
|
+
* override server index
|
|
64
|
+
*
|
|
65
|
+
* @type {number}
|
|
66
|
+
* @memberof Configuration
|
|
67
|
+
*/
|
|
68
|
+
serverIndex?: number;
|
|
69
|
+
/**
|
|
70
|
+
* base options for axios calls
|
|
71
|
+
*
|
|
72
|
+
* @type {any}
|
|
73
|
+
* @memberof Configuration
|
|
74
|
+
*/
|
|
75
|
+
baseOptions?: any;
|
|
76
|
+
/**
|
|
77
|
+
* The FormData constructor that will be used to create multipart form data
|
|
78
|
+
* requests. You can inject this here so that execution environments that
|
|
79
|
+
* do not support the FormData class can still run the generated client.
|
|
80
|
+
*
|
|
81
|
+
* @type {new () => FormData}
|
|
82
|
+
*/
|
|
83
|
+
formDataCtor?: new () => any;
|
|
84
|
+
|
|
85
|
+
constructor(param: ConfigurationParameters = {}) {
|
|
86
|
+
this.apiKey = param.apiKey;
|
|
87
|
+
this.username = param.username;
|
|
88
|
+
this.password = param.password;
|
|
89
|
+
this.accessToken = param.accessToken;
|
|
90
|
+
this.basePath = param.basePath;
|
|
91
|
+
this.serverIndex = param.serverIndex;
|
|
92
|
+
this.baseOptions = param.baseOptions;
|
|
93
|
+
this.formDataCtor = param.formDataCtor;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* Check if the given MIME is a JSON MIME.
|
|
98
|
+
* JSON MIME examples:
|
|
99
|
+
* application/json
|
|
100
|
+
* application/json; charset=UTF8
|
|
101
|
+
* APPLICATION/JSON
|
|
102
|
+
* application/vnd.company+json
|
|
103
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
104
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
105
|
+
*/
|
|
106
|
+
public isJsonMime(mime: string): boolean {
|
|
107
|
+
const jsonMime: RegExp = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
|
|
108
|
+
return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
|
|
109
|
+
}
|
|
110
|
+
}
|
package/git_push.sh
CHANGED
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
#!/bin/sh
|
|
2
|
-
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
|
3
|
-
#
|
|
4
|
-
# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
|
|
5
|
-
|
|
6
|
-
git_user_id=$1
|
|
7
|
-
git_repo_id=$2
|
|
8
|
-
release_note=$3
|
|
9
|
-
git_host=$4
|
|
10
|
-
|
|
11
|
-
if [ "$git_host" = "" ]; then
|
|
12
|
-
git_host="github.com"
|
|
13
|
-
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
|
14
|
-
fi
|
|
15
|
-
|
|
16
|
-
if [ "$git_user_id" = "" ]; then
|
|
17
|
-
git_user_id="GIT_USER_ID"
|
|
18
|
-
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
|
19
|
-
fi
|
|
20
|
-
|
|
21
|
-
if [ "$git_repo_id" = "" ]; then
|
|
22
|
-
git_repo_id="GIT_REPO_ID"
|
|
23
|
-
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
|
24
|
-
fi
|
|
25
|
-
|
|
26
|
-
if [ "$release_note" = "" ]; then
|
|
27
|
-
release_note="Minor update"
|
|
28
|
-
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
|
29
|
-
fi
|
|
30
|
-
|
|
31
|
-
# Initialize the local directory as a Git repository
|
|
32
|
-
git init
|
|
33
|
-
|
|
34
|
-
# Adds the files in the local repository and stages them for commit.
|
|
35
|
-
git add .
|
|
36
|
-
|
|
37
|
-
# Commits the tracked changes and prepares them to be pushed to a remote repository.
|
|
38
|
-
git commit -m "$release_note"
|
|
39
|
-
|
|
40
|
-
# Sets the new remote
|
|
41
|
-
git_remote=$(git remote)
|
|
42
|
-
if [ "$git_remote" = "" ]; then # git remote not defined
|
|
43
|
-
|
|
44
|
-
if [ "$GIT_TOKEN" = "" ]; then
|
|
45
|
-
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
|
46
|
-
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
|
|
47
|
-
else
|
|
48
|
-
git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
|
|
49
|
-
fi
|
|
50
|
-
|
|
51
|
-
fi
|
|
52
|
-
|
|
53
|
-
git pull origin master
|
|
54
|
-
|
|
55
|
-
# Pushes (Forces) the changes in the local repository up to the remote repository
|
|
56
|
-
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
|
|
57
|
-
git push origin master 2>&1 | grep -v 'To https'
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
|
3
|
+
#
|
|
4
|
+
# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
|
|
5
|
+
|
|
6
|
+
git_user_id=$1
|
|
7
|
+
git_repo_id=$2
|
|
8
|
+
release_note=$3
|
|
9
|
+
git_host=$4
|
|
10
|
+
|
|
11
|
+
if [ "$git_host" = "" ]; then
|
|
12
|
+
git_host="github.com"
|
|
13
|
+
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
|
14
|
+
fi
|
|
15
|
+
|
|
16
|
+
if [ "$git_user_id" = "" ]; then
|
|
17
|
+
git_user_id="GIT_USER_ID"
|
|
18
|
+
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
|
19
|
+
fi
|
|
20
|
+
|
|
21
|
+
if [ "$git_repo_id" = "" ]; then
|
|
22
|
+
git_repo_id="GIT_REPO_ID"
|
|
23
|
+
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
|
24
|
+
fi
|
|
25
|
+
|
|
26
|
+
if [ "$release_note" = "" ]; then
|
|
27
|
+
release_note="Minor update"
|
|
28
|
+
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
|
29
|
+
fi
|
|
30
|
+
|
|
31
|
+
# Initialize the local directory as a Git repository
|
|
32
|
+
git init
|
|
33
|
+
|
|
34
|
+
# Adds the files in the local repository and stages them for commit.
|
|
35
|
+
git add .
|
|
36
|
+
|
|
37
|
+
# Commits the tracked changes and prepares them to be pushed to a remote repository.
|
|
38
|
+
git commit -m "$release_note"
|
|
39
|
+
|
|
40
|
+
# Sets the new remote
|
|
41
|
+
git_remote=$(git remote)
|
|
42
|
+
if [ "$git_remote" = "" ]; then # git remote not defined
|
|
43
|
+
|
|
44
|
+
if [ "$GIT_TOKEN" = "" ]; then
|
|
45
|
+
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
|
46
|
+
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
|
|
47
|
+
else
|
|
48
|
+
git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
|
|
49
|
+
fi
|
|
50
|
+
|
|
51
|
+
fi
|
|
52
|
+
|
|
53
|
+
git pull origin master
|
|
54
|
+
|
|
55
|
+
# Pushes (Forces) the changes in the local repository up to the remote repository
|
|
56
|
+
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
|
|
57
|
+
git push origin master 2>&1 | grep -v 'To https'
|
package/hooks.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"id": "trigger-workflow",
|
|
4
|
-
"execute-command": "/home/dzkfzn/gambulls-apis/workflow.sh",
|
|
5
|
-
"command-working-directory": "/home/dzkfzn/gambulls-apis",
|
|
6
|
-
"response-message": "Triggered workflow successfully"
|
|
7
|
-
}
|
|
8
|
-
]
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "trigger-workflow",
|
|
4
|
+
"execute-command": "/home/dzkfzn/gambulls-apis/workflow.sh",
|
|
5
|
+
"command-working-directory": "/home/dzkfzn/gambulls-apis",
|
|
6
|
+
"response-message": "Triggered workflow successfully"
|
|
7
|
+
}
|
|
8
|
+
]
|
package/models/{ApiAdminPsHotWalletSendPost200Response.js → ApiUserSbTokenGet200Response.js}
RENAMED
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfApiUserSbTokenGet200Response = instanceOfApiUserSbTokenGet200Response;
|
|
17
|
+
exports.ApiUserSbTokenGet200ResponseFromJSON = ApiUserSbTokenGet200ResponseFromJSON;
|
|
18
|
+
exports.ApiUserSbTokenGet200ResponseFromJSONTyped = ApiUserSbTokenGet200ResponseFromJSONTyped;
|
|
19
|
+
exports.ApiUserSbTokenGet200ResponseToJSON = ApiUserSbTokenGet200ResponseToJSON;
|
|
20
|
+
exports.ApiUserSbTokenGet200ResponseToJSONTyped = ApiUserSbTokenGet200ResponseToJSONTyped;
|
|
21
21
|
/**
|
|
22
|
-
* Check if a given object implements the
|
|
22
|
+
* Check if a given object implements the ApiUserSbTokenGet200Response interface.
|
|
23
23
|
*/
|
|
24
|
-
function
|
|
24
|
+
function instanceOfApiUserSbTokenGet200Response(value) {
|
|
25
25
|
if (!('success' in value) || value['success'] === undefined)
|
|
26
26
|
return false;
|
|
27
27
|
if (!('message' in value) || value['message'] === undefined)
|
|
@@ -30,10 +30,10 @@ function instanceOfApiAdminPsHotWalletSendPost200Response(value) {
|
|
|
30
30
|
return false;
|
|
31
31
|
return true;
|
|
32
32
|
}
|
|
33
|
-
function
|
|
34
|
-
return
|
|
33
|
+
function ApiUserSbTokenGet200ResponseFromJSON(json) {
|
|
34
|
+
return ApiUserSbTokenGet200ResponseFromJSONTyped(json, false);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function ApiUserSbTokenGet200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
37
|
if (json == null) {
|
|
38
38
|
return json;
|
|
39
39
|
}
|
|
@@ -44,10 +44,10 @@ function ApiAdminPsHotWalletSendPost200ResponseFromJSONTyped(json, ignoreDiscrim
|
|
|
44
44
|
'statusCode': json['statusCode'],
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
function
|
|
48
|
-
return
|
|
47
|
+
function ApiUserSbTokenGet200ResponseToJSON(json) {
|
|
48
|
+
return ApiUserSbTokenGet200ResponseToJSONTyped(json, false);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function ApiUserSbTokenGet200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
51
51
|
if (value == null) {
|
|
52
52
|
return value;
|
|
53
53
|
}
|
package/models/{ApiAdminPsHotWalletSendPost200Response.ts → ApiUserSbTokenGet200Response.ts}
RENAMED
|
@@ -16,50 +16,50 @@ import { mapValues } from '../runtime';
|
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface ApiUserSbTokenGet200Response
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface ApiUserSbTokenGet200Response {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {boolean}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof ApiUserSbTokenGet200Response
|
|
26
26
|
*/
|
|
27
27
|
success: boolean;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof ApiUserSbTokenGet200Response
|
|
32
32
|
*/
|
|
33
33
|
message: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {string}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof ApiUserSbTokenGet200Response
|
|
38
38
|
*/
|
|
39
39
|
responseObject?: string | null;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {number}
|
|
43
|
-
* @memberof
|
|
43
|
+
* @memberof ApiUserSbTokenGet200Response
|
|
44
44
|
*/
|
|
45
45
|
statusCode: number;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
* Check if a given object implements the
|
|
49
|
+
* Check if a given object implements the ApiUserSbTokenGet200Response interface.
|
|
50
50
|
*/
|
|
51
|
-
export function
|
|
51
|
+
export function instanceOfApiUserSbTokenGet200Response(value: object): value is ApiUserSbTokenGet200Response {
|
|
52
52
|
if (!('success' in value) || value['success'] === undefined) return false;
|
|
53
53
|
if (!('message' in value) || value['message'] === undefined) return false;
|
|
54
54
|
if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
|
|
55
55
|
return true;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
export function
|
|
59
|
-
return
|
|
58
|
+
export function ApiUserSbTokenGet200ResponseFromJSON(json: any): ApiUserSbTokenGet200Response {
|
|
59
|
+
return ApiUserSbTokenGet200ResponseFromJSONTyped(json, false);
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
export function
|
|
62
|
+
export function ApiUserSbTokenGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiUserSbTokenGet200Response {
|
|
63
63
|
if (json == null) {
|
|
64
64
|
return json;
|
|
65
65
|
}
|
|
@@ -72,11 +72,11 @@ export function ApiAdminPsHotWalletSendPost200ResponseFromJSONTyped(json: any, i
|
|
|
72
72
|
};
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export function
|
|
76
|
-
return
|
|
75
|
+
export function ApiUserSbTokenGet200ResponseToJSON(json: any): ApiUserSbTokenGet200Response {
|
|
76
|
+
return ApiUserSbTokenGet200ResponseToJSONTyped(json, false);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
-
export function
|
|
79
|
+
export function ApiUserSbTokenGet200ResponseToJSONTyped(value?: ApiUserSbTokenGet200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
80
80
|
if (value == null) {
|
|
81
81
|
return value;
|
|
82
82
|
}
|
package/models/index.js
CHANGED
|
@@ -158,7 +158,6 @@ __exportStar(require("./ApiAdminPsHotWalletGet200ResponseResponseObject"), expor
|
|
|
158
158
|
__exportStar(require("./ApiAdminPsHotWalletGet200ResponseResponseObjectItemsInner"), exports);
|
|
159
159
|
__exportStar(require("./ApiAdminPsHotWalletPostRequest"), exports);
|
|
160
160
|
__exportStar(require("./ApiAdminPsHotWalletPutRequest"), exports);
|
|
161
|
-
__exportStar(require("./ApiAdminPsHotWalletSendPost200Response"), exports);
|
|
162
161
|
__exportStar(require("./ApiAdminPsHotWalletSendPostRequest"), exports);
|
|
163
162
|
__exportStar(require("./ApiAdminPsHotWalletTxGet200Response"), exports);
|
|
164
163
|
__exportStar(require("./ApiAdminPsHotWalletTxGet200ResponseResponseObject"), exports);
|
|
@@ -484,6 +483,7 @@ __exportStar(require("./ApiUserResponsibleGamingGet200Response"), exports);
|
|
|
484
483
|
__exportStar(require("./ApiUserResponsibleGamingGet200ResponseResponseObjectInner"), exports);
|
|
485
484
|
__exportStar(require("./ApiUserResponsibleGamingPost200Response"), exports);
|
|
486
485
|
__exportStar(require("./ApiUserResponsibleGamingPostRequest"), exports);
|
|
486
|
+
__exportStar(require("./ApiUserSbTokenGet200Response"), exports);
|
|
487
487
|
__exportStar(require("./ApiUserStatisticGet200Response"), exports);
|
|
488
488
|
__exportStar(require("./ApiUserStatisticGet200ResponseResponseObject"), exports);
|
|
489
489
|
__exportStar(require("./ApiUserTipPostRequest"), exports);
|
package/models/index.ts
CHANGED
|
@@ -142,7 +142,6 @@ export * from './ApiAdminPsHotWalletGet200ResponseResponseObject';
|
|
|
142
142
|
export * from './ApiAdminPsHotWalletGet200ResponseResponseObjectItemsInner';
|
|
143
143
|
export * from './ApiAdminPsHotWalletPostRequest';
|
|
144
144
|
export * from './ApiAdminPsHotWalletPutRequest';
|
|
145
|
-
export * from './ApiAdminPsHotWalletSendPost200Response';
|
|
146
145
|
export * from './ApiAdminPsHotWalletSendPostRequest';
|
|
147
146
|
export * from './ApiAdminPsHotWalletTxGet200Response';
|
|
148
147
|
export * from './ApiAdminPsHotWalletTxGet200ResponseResponseObject';
|
|
@@ -468,6 +467,7 @@ export * from './ApiUserResponsibleGamingGet200Response';
|
|
|
468
467
|
export * from './ApiUserResponsibleGamingGet200ResponseResponseObjectInner';
|
|
469
468
|
export * from './ApiUserResponsibleGamingPost200Response';
|
|
470
469
|
export * from './ApiUserResponsibleGamingPostRequest';
|
|
470
|
+
export * from './ApiUserSbTokenGet200Response';
|
|
471
471
|
export * from './ApiUserStatisticGet200Response';
|
|
472
472
|
export * from './ApiUserStatisticGet200ResponseResponseObject';
|
|
473
473
|
export * from './ApiUserTipPostRequest';
|
package/openapitools.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json",
|
|
3
|
-
"spaces": 2,
|
|
4
|
-
"generator-cli": {
|
|
5
|
-
"version": "7.9.0"
|
|
6
|
-
}
|
|
7
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json",
|
|
3
|
+
"spaces": 2,
|
|
4
|
+
"generator-cli": {
|
|
5
|
+
"version": "7.9.0"
|
|
6
|
+
}
|
|
7
|
+
}
|
package/package.json
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@gambulls-org/gambulls-apis",
|
|
3
|
-
"version": "3.0.
|
|
4
|
-
"main": "index.ts",
|
|
5
|
-
"scripts": {
|
|
6
|
-
"build": "tsc",
|
|
7
|
-
"prepublishOnly": "npm run build"
|
|
8
|
-
},
|
|
9
|
-
"repository": {
|
|
10
|
-
"type": "git",
|
|
11
|
-
"url": "git+https://github.com/dresoeta/gambulls-apis.git"
|
|
12
|
-
},
|
|
13
|
-
"author": "gambulls",
|
|
14
|
-
"license": "ISC",
|
|
15
|
-
"bugs": {
|
|
16
|
-
"url": "https://github.com/dresoeta/gambulls-apis/issues"
|
|
17
|
-
},
|
|
18
|
-
"homepage": "https://github.com/dresoeta/gambulls-apis#readme",
|
|
19
|
-
"description": "",
|
|
20
|
-
"dependencies": {
|
|
21
|
-
"axios": "1.8.2"
|
|
22
|
-
},
|
|
23
|
-
"devDependencies": {
|
|
24
|
-
"typescript": "^5.5.4"
|
|
25
|
-
}
|
|
26
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@gambulls-org/gambulls-apis",
|
|
3
|
+
"version": "3.0.209",
|
|
4
|
+
"main": "index.ts",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build": "tsc",
|
|
7
|
+
"prepublishOnly": "npm run build"
|
|
8
|
+
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/dresoeta/gambulls-apis.git"
|
|
12
|
+
},
|
|
13
|
+
"author": "gambulls",
|
|
14
|
+
"license": "ISC",
|
|
15
|
+
"bugs": {
|
|
16
|
+
"url": "https://github.com/dresoeta/gambulls-apis/issues"
|
|
17
|
+
},
|
|
18
|
+
"homepage": "https://github.com/dresoeta/gambulls-apis#readme",
|
|
19
|
+
"description": "",
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"axios": "1.8.2"
|
|
22
|
+
},
|
|
23
|
+
"devDependencies": {
|
|
24
|
+
"typescript": "^5.5.4"
|
|
25
|
+
}
|
|
26
|
+
}
|