@gambulls-org/gambulls-apis 3.0.314 → 3.0.316

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 (74) hide show
  1. package/.idea/gambulls-apis.iml +11 -11
  2. package/.idea/modules.xml +7 -7
  3. package/.idea/vcs.xml +5 -5
  4. package/.openapi-generator/FILES +560 -560
  5. package/.openapi-generator-ignore +23 -23
  6. package/README.md +16 -16
  7. package/api.ts +10356 -10356
  8. package/apis/AdminAffiliateApi.js +7 -17
  9. package/apis/AdminAppConfigApi.js +7 -17
  10. package/apis/AdminAuthApi.js +7 -17
  11. package/apis/AdminBannerApi.js +7 -17
  12. package/apis/AdminBonusApi.js +7 -17
  13. package/apis/AdminCategoryApi.js +7 -17
  14. package/apis/AdminChatApi.js +7 -17
  15. package/apis/AdminDashboardApi.js +7 -17
  16. package/apis/AdminExchangeApi.js +7 -17
  17. package/apis/AdminFileManagementApi.js +7 -17
  18. package/apis/AdminGamesApi.js +7 -17
  19. package/apis/AdminGroupApi.js +7 -17
  20. package/apis/AdminIBankRollApi.js +7 -17
  21. package/apis/AdminLoyaltyApi.js +7 -17
  22. package/apis/AdminManagementApi.js +7 -17
  23. package/apis/AdminMenuApi.js +7 -17
  24. package/apis/AdminPaymentSystemApi.js +7 -17
  25. package/apis/AdminPinnedMessageApi.js +7 -17
  26. package/apis/AdminPolicyApi.js +7 -17
  27. package/apis/AdminProvidersApi.js +7 -17
  28. package/apis/AdminRakebackEventApi.js +7 -17
  29. package/apis/AdminReportApi.js +7 -17
  30. package/apis/AdminSportApi.js +7 -17
  31. package/apis/AdminUserManagementApi.js +7 -17
  32. package/apis/AuthApi.js +7 -17
  33. package/apis/CMSApi.js +7 -17
  34. package/apis/CronDataCleanupApi.js +7 -17
  35. package/apis/HealthCheckApi.js +7 -17
  36. package/apis/PublicBannerApi.js +7 -17
  37. package/apis/PublicGamesApi.js +7 -17
  38. package/apis/PublicPolicyApi.js +7 -17
  39. package/apis/RGSApi.js +7 -17
  40. package/apis/RGSV2Api.js +7 -17
  41. package/apis/SportsbookApi.js +7 -17
  42. package/apis/TatumApi.js +7 -17
  43. package/apis/TestForNonProductionOnlyApi.js +7 -17
  44. package/apis/UserAffiliateApi.js +7 -17
  45. package/apis/UserAvatarApi.js +7 -17
  46. package/apis/UserBalanceApi.js +7 -17
  47. package/apis/UserBonusApi.js +7 -17
  48. package/apis/UserDepositApi.js +7 -17
  49. package/apis/UserDocumentApi.js +7 -17
  50. package/apis/UserGamesApi.js +7 -17
  51. package/apis/UserLoyaltyApi.js +7 -17
  52. package/apis/UserModeratorApi.js +7 -17
  53. package/apis/UserNotificationApi.js +7 -17
  54. package/apis/UserPreferencesApi.js +7 -17
  55. package/apis/UserProfileApi.js +7 -17
  56. package/apis/UserResponsibleGamingApi.js +7 -17
  57. package/apis/UserSportsbookApi.js +7 -17
  58. package/apis/UserStatisticApi.js +7 -17
  59. package/apis/UserTippingApi.js +7 -17
  60. package/apis/UserTransactionHistoryApi.js +7 -17
  61. package/apis/UserUploadApi.js +7 -17
  62. package/apis/UserWagerApi.js +7 -17
  63. package/apis/UserWithdrawalApi.js +7 -17
  64. package/base.ts +86 -86
  65. package/common.ts +150 -150
  66. package/configuration.ts +110 -110
  67. package/git_push.sh +57 -57
  68. package/hooks.json +8 -8
  69. package/models/ApiAdminIbankrollBetFeedGet200ResponseResponseObjectItemsInner.js +4 -0
  70. package/models/ApiAdminIbankrollBetFeedGet200ResponseResponseObjectItemsInner.ts +9 -0
  71. package/openapitools.json +7 -7
  72. package/package.json +26 -26
  73. package/tsconfig.json +108 -108
  74. 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
+ ]
@@ -32,6 +32,8 @@ function instanceOfApiAdminIbankrollBetFeedGet200ResponseResponseObjectItemsInne
32
32
  return false;
33
33
  if (!('gameName' in value) || value['gameName'] === undefined)
34
34
  return false;
35
+ if (!('theoreticalRtp' in value) || value['theoreticalRtp'] === undefined)
36
+ return false;
35
37
  if (!('providerName' in value) || value['providerName'] === undefined)
36
38
  return false;
37
39
  if (!('balanceBefore' in value) || value['balanceBefore'] === undefined)
@@ -67,6 +69,7 @@ function ApiAdminIbankrollBetFeedGet200ResponseResponseObjectItemsInnerFromJSONT
67
69
  'username': json['username'],
68
70
  'userId': json['userId'],
69
71
  'gameName': json['gameName'],
72
+ 'theoreticalRtp': json['theoreticalRtp'],
70
73
  'providerName': json['providerName'],
71
74
  'balanceBefore': json['balanceBefore'],
72
75
  'balanceAfter': json['balanceAfter'],
@@ -92,6 +95,7 @@ function ApiAdminIbankrollBetFeedGet200ResponseResponseObjectItemsInnerToJSONTyp
92
95
  'username': value['username'],
93
96
  'userId': value['userId'],
94
97
  'gameName': value['gameName'],
98
+ 'theoreticalRtp': value['theoreticalRtp'],
95
99
  'providerName': value['providerName'],
96
100
  'balanceBefore': value['balanceBefore'],
97
101
  'balanceAfter': value['balanceAfter'],
@@ -49,6 +49,12 @@ export interface ApiAdminIbankrollBetFeedGet200ResponseResponseObjectItemsInner
49
49
  * @memberof ApiAdminIbankrollBetFeedGet200ResponseResponseObjectItemsInner
50
50
  */
51
51
  gameName: string | null;
52
+ /**
53
+ *
54
+ * @type {number}
55
+ * @memberof ApiAdminIbankrollBetFeedGet200ResponseResponseObjectItemsInner
56
+ */
57
+ theoreticalRtp: number | null;
52
58
  /**
53
59
  *
54
60
  * @type {string}
@@ -120,6 +126,7 @@ export function instanceOfApiAdminIbankrollBetFeedGet200ResponseResponseObjectIt
120
126
  if (!('username' in value) || value['username'] === undefined) return false;
121
127
  if (!('userId' in value) || value['userId'] === undefined) return false;
122
128
  if (!('gameName' in value) || value['gameName'] === undefined) return false;
129
+ if (!('theoreticalRtp' in value) || value['theoreticalRtp'] === undefined) return false;
123
130
  if (!('providerName' in value) || value['providerName'] === undefined) return false;
124
131
  if (!('balanceBefore' in value) || value['balanceBefore'] === undefined) return false;
125
132
  if (!('balanceAfter' in value) || value['balanceAfter'] === undefined) return false;
@@ -148,6 +155,7 @@ export function ApiAdminIbankrollBetFeedGet200ResponseResponseObjectItemsInnerFr
148
155
  'username': json['username'],
149
156
  'userId': json['userId'],
150
157
  'gameName': json['gameName'],
158
+ 'theoreticalRtp': json['theoreticalRtp'],
151
159
  'providerName': json['providerName'],
152
160
  'balanceBefore': json['balanceBefore'],
153
161
  'balanceAfter': json['balanceAfter'],
@@ -177,6 +185,7 @@ export function ApiAdminIbankrollBetFeedGet200ResponseResponseObjectItemsInnerFr
177
185
  'username': value['username'],
178
186
  'userId': value['userId'],
179
187
  'gameName': value['gameName'],
188
+ 'theoreticalRtp': value['theoreticalRtp'],
180
189
  'providerName': value['providerName'],
181
190
  'balanceBefore': value['balanceBefore'],
182
191
  'balanceAfter': value['balanceAfter'],
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.314",
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.316",
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
+ }