@gambulls-org/gambulls-apis 3.0.209 → 3.0.211
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 -533
- package/.openapi-generator-ignore +23 -23
- package/README.md +16 -16
- package/api.ts +10356 -10356
- package/apis/AdminAffiliateApi.js +17 -7
- package/apis/AdminAppConfigApi.js +17 -7
- package/apis/AdminAuthApi.js +17 -7
- package/apis/AdminBannerApi.js +17 -7
- package/apis/AdminBonusApi.js +17 -7
- package/apis/AdminCategoryApi.js +17 -7
- package/apis/AdminChatApi.js +17 -7
- package/apis/AdminDashboardApi.js +17 -7
- package/apis/AdminExchangeApi.js +17 -7
- package/apis/AdminFileManagementApi.js +17 -7
- package/apis/AdminGamesApi.js +17 -7
- package/apis/AdminGroupApi.js +17 -7
- package/apis/AdminLoyaltyApi.js +17 -7
- package/apis/AdminManagementApi.js +17 -7
- package/apis/AdminMenuApi.js +17 -7
- package/apis/AdminPaymentSystemApi.js +17 -7
- package/apis/AdminPinnedMessageApi.js +17 -7
- package/apis/AdminPolicyApi.js +17 -7
- package/apis/AdminProvidersApi.js +17 -7
- package/apis/AdminRakebackEventApi.js +17 -7
- package/apis/AdminReportApi.js +17 -7
- package/apis/AdminUserManagementApi.js +17 -7
- package/apis/AuthApi.js +17 -7
- package/apis/CMSApi.js +17 -7
- package/apis/CronDataCleanupApi.js +17 -7
- package/apis/HealthCheckApi.js +17 -7
- package/apis/PublicBannerApi.js +17 -7
- package/apis/PublicGamesApi.js +17 -7
- package/apis/PublicPolicyApi.js +17 -7
- package/apis/RGSApi.js +17 -7
- package/apis/RGSV2Api.js +17 -7
- package/apis/SportsbookApi.js +17 -7
- package/apis/TatumApi.js +17 -7
- package/apis/TestForNonProductionOnlyApi.js +17 -7
- package/apis/UserAffiliateApi.js +17 -7
- package/apis/UserAvatarApi.js +17 -7
- package/apis/UserBalanceApi.js +17 -7
- package/apis/UserBonusApi.js +17 -7
- package/apis/UserDepositApi.js +17 -7
- package/apis/UserDocumentApi.js +17 -7
- package/apis/UserGamesApi.js +17 -7
- package/apis/UserLoyaltyApi.js +17 -7
- package/apis/UserModeratorApi.js +17 -7
- package/apis/UserNotificationApi.js +17 -7
- package/apis/UserPreferencesApi.js +17 -7
- package/apis/UserProfileApi.js +17 -7
- package/apis/UserResponsibleGamingApi.js +17 -7
- package/apis/UserSportsbookApi.js +17 -7
- package/apis/UserStatisticApi.js +17 -7
- package/apis/UserTippingApi.js +17 -7
- package/apis/UserTransactionHistoryApi.js +17 -7
- package/apis/UserUploadApi.js +17 -7
- package/apis/UserWagerApi.js +17 -7
- package/apis/UserWithdrawalApi.js +17 -7
- 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/ApiSportsbookCreditBetByBatchPostRequest.js +1 -0
- package/models/ApiSportsbookCreditBetByBatchPostRequest.ts +1 -0
- package/models/ApiSportsbookCreditBetPostRequest.js +2 -3
- package/models/ApiSportsbookCreditBetPostRequest.ts +4 -4
- package/models/ApiSportsbookCreditBetPostRequestOrderBetsInner.js +1 -0
- package/models/ApiSportsbookCreditBetPostRequestOrderBetsInner.ts +1 -0
- 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
|
+
]
|
|
@@ -57,6 +57,7 @@ exports.ApiSportsbookCreditBetPostRequestBetStateEnum = {
|
|
|
57
57
|
* @export
|
|
58
58
|
*/
|
|
59
59
|
exports.ApiSportsbookCreditBetPostRequestViewTypeIDEnum = {
|
|
60
|
+
NUMBER_0: 0,
|
|
60
61
|
NUMBER_1: 1,
|
|
61
62
|
NUMBER_2: 2,
|
|
62
63
|
NUMBER_3: 3,
|
|
@@ -103,8 +104,6 @@ function instanceOfApiSportsbookCreditBetPostRequest(value) {
|
|
|
103
104
|
return false;
|
|
104
105
|
if (!('betCommission' in value) || value['betCommission'] === undefined)
|
|
105
106
|
return false;
|
|
106
|
-
if (!('viewTypeID' in value) || value['viewTypeID'] === undefined)
|
|
107
|
-
return false;
|
|
108
107
|
if (!('trackingId' in value) || value['trackingId'] === undefined)
|
|
109
108
|
return false;
|
|
110
109
|
if (!('ipAddress' in value) || value['ipAddress'] === undefined)
|
|
@@ -139,7 +138,7 @@ function ApiSportsbookCreditBetPostRequestFromJSONTyped(json, ignoreDiscriminato
|
|
|
139
138
|
'possibleWin': json['PossibleWin'],
|
|
140
139
|
'operationItems': (json['OperationItems'].map(ApiSportsbookCreditBetPostRequestOperationItemsInner_1.ApiSportsbookCreditBetPostRequestOperationItemsInnerFromJSON)),
|
|
141
140
|
'betCommission': json['BetCommission'],
|
|
142
|
-
'viewTypeID': json['ViewTypeID'],
|
|
141
|
+
'viewTypeID': json['ViewTypeID'] == null ? undefined : json['ViewTypeID'],
|
|
143
142
|
'betTaxAmount': json['BetTaxAmount'] == null ? undefined : json['BetTaxAmount'],
|
|
144
143
|
'trackingId': json['TrackingId'],
|
|
145
144
|
'ipAddress': json['IpAddress'],
|
|
@@ -130,7 +130,7 @@ export interface ApiSportsbookCreditBetPostRequest {
|
|
|
130
130
|
* @type {number}
|
|
131
131
|
* @memberof ApiSportsbookCreditBetPostRequest
|
|
132
132
|
*/
|
|
133
|
-
viewTypeID
|
|
133
|
+
viewTypeID?: ApiSportsbookCreditBetPostRequestViewTypeIDEnum;
|
|
134
134
|
/**
|
|
135
135
|
*
|
|
136
136
|
* @type {number}
|
|
@@ -190,7 +190,7 @@ export interface ApiSportsbookCreditBetPostRequest {
|
|
|
190
190
|
* @type {string}
|
|
191
191
|
* @memberof ApiSportsbookCreditBetPostRequest
|
|
192
192
|
*/
|
|
193
|
-
partnerBetId?: string;
|
|
193
|
+
partnerBetId?: string | null;
|
|
194
194
|
/**
|
|
195
195
|
*
|
|
196
196
|
* @type {number}
|
|
@@ -247,6 +247,7 @@ export type ApiSportsbookCreditBetPostRequestBetStateEnum = typeof ApiSportsbook
|
|
|
247
247
|
* @export
|
|
248
248
|
*/
|
|
249
249
|
export const ApiSportsbookCreditBetPostRequestViewTypeIDEnum = {
|
|
250
|
+
NUMBER_0: 0,
|
|
250
251
|
NUMBER_1: 1,
|
|
251
252
|
NUMBER_2: 2,
|
|
252
253
|
NUMBER_3: 3,
|
|
@@ -284,7 +285,6 @@ export function instanceOfApiSportsbookCreditBetPostRequest(value: object): valu
|
|
|
284
285
|
if (!('possibleWin' in value) || value['possibleWin'] === undefined) return false;
|
|
285
286
|
if (!('operationItems' in value) || value['operationItems'] === undefined) return false;
|
|
286
287
|
if (!('betCommission' in value) || value['betCommission'] === undefined) return false;
|
|
287
|
-
if (!('viewTypeID' in value) || value['viewTypeID'] === undefined) return false;
|
|
288
288
|
if (!('trackingId' in value) || value['trackingId'] === undefined) return false;
|
|
289
289
|
if (!('ipAddress' in value) || value['ipAddress'] === undefined) return false;
|
|
290
290
|
if (!('order' in value) || value['order'] === undefined) return false;
|
|
@@ -317,7 +317,7 @@ export function ApiSportsbookCreditBetPostRequestFromJSONTyped(json: any, ignore
|
|
|
317
317
|
'possibleWin': json['PossibleWin'],
|
|
318
318
|
'operationItems': ((json['OperationItems'] as Array<any>).map(ApiSportsbookCreditBetPostRequestOperationItemsInnerFromJSON)),
|
|
319
319
|
'betCommission': json['BetCommission'],
|
|
320
|
-
'viewTypeID': json['ViewTypeID'],
|
|
320
|
+
'viewTypeID': json['ViewTypeID'] == null ? undefined : json['ViewTypeID'],
|
|
321
321
|
'betTaxAmount': json['BetTaxAmount'] == null ? undefined : json['BetTaxAmount'],
|
|
322
322
|
'trackingId': json['TrackingId'],
|
|
323
323
|
'ipAddress': json['IpAddress'],
|
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.211",
|
|
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
|
+
}
|