@gambulls-org/gambulls-apis 3.0.316 → 3.0.317

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 +17 -7
  9. package/apis/AdminAppConfigApi.js +17 -7
  10. package/apis/AdminAuthApi.js +17 -7
  11. package/apis/AdminBannerApi.js +17 -7
  12. package/apis/AdminBonusApi.js +17 -7
  13. package/apis/AdminCategoryApi.js +17 -7
  14. package/apis/AdminChatApi.js +17 -7
  15. package/apis/AdminDashboardApi.js +17 -7
  16. package/apis/AdminExchangeApi.js +17 -7
  17. package/apis/AdminFileManagementApi.js +17 -7
  18. package/apis/AdminGamesApi.js +17 -7
  19. package/apis/AdminGroupApi.js +17 -7
  20. package/apis/AdminIBankRollApi.js +17 -7
  21. package/apis/AdminLoyaltyApi.js +17 -7
  22. package/apis/AdminManagementApi.js +17 -7
  23. package/apis/AdminMenuApi.js +17 -7
  24. package/apis/AdminPaymentSystemApi.js +17 -7
  25. package/apis/AdminPinnedMessageApi.js +17 -7
  26. package/apis/AdminPolicyApi.js +17 -7
  27. package/apis/AdminProvidersApi.js +17 -7
  28. package/apis/AdminRakebackEventApi.js +17 -7
  29. package/apis/AdminReportApi.js +17 -7
  30. package/apis/AdminSportApi.js +17 -7
  31. package/apis/AdminUserManagementApi.js +17 -7
  32. package/apis/AuthApi.js +17 -7
  33. package/apis/CMSApi.js +17 -7
  34. package/apis/CronDataCleanupApi.js +17 -7
  35. package/apis/HealthCheckApi.js +17 -7
  36. package/apis/PublicBannerApi.js +17 -7
  37. package/apis/PublicGamesApi.js +17 -7
  38. package/apis/PublicPolicyApi.js +17 -7
  39. package/apis/RGSApi.js +17 -7
  40. package/apis/RGSV2Api.js +17 -7
  41. package/apis/SportsbookApi.js +17 -7
  42. package/apis/TatumApi.js +17 -7
  43. package/apis/TestForNonProductionOnlyApi.js +17 -7
  44. package/apis/UserAffiliateApi.js +17 -7
  45. package/apis/UserAvatarApi.js +17 -7
  46. package/apis/UserBalanceApi.js +17 -7
  47. package/apis/UserBonusApi.js +17 -7
  48. package/apis/UserDepositApi.js +17 -7
  49. package/apis/UserDocumentApi.js +17 -7
  50. package/apis/UserGamesApi.js +17 -7
  51. package/apis/UserLoyaltyApi.js +17 -7
  52. package/apis/UserModeratorApi.js +17 -7
  53. package/apis/UserNotificationApi.js +17 -7
  54. package/apis/UserPreferencesApi.js +17 -7
  55. package/apis/UserProfileApi.js +17 -7
  56. package/apis/UserResponsibleGamingApi.js +17 -7
  57. package/apis/UserSportsbookApi.js +17 -7
  58. package/apis/UserStatisticApi.js +17 -7
  59. package/apis/UserTippingApi.js +17 -7
  60. package/apis/UserTransactionHistoryApi.js +17 -7
  61. package/apis/UserUploadApi.js +17 -7
  62. package/apis/UserWagerApi.js +17 -7
  63. package/apis/UserWithdrawalApi.js +17 -7
  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/ApiUserBalanceAllGet200ResponseResponseObjectInner.js +4 -0
  70. package/models/ApiUserBalanceAllGet200ResponseResponseObjectInner.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
+ ]
@@ -41,6 +41,8 @@ function instanceOfApiUserBalanceAllGet200ResponseResponseObjectInner(value) {
41
41
  return false;
42
42
  if (!('accountType' in value) || value['accountType'] === undefined)
43
43
  return false;
44
+ if (!('isClaimable' in value) || value['isClaimable'] === undefined)
45
+ return false;
44
46
  return true;
45
47
  }
46
48
  function ApiUserBalanceAllGet200ResponseResponseObjectInnerFromJSON(json) {
@@ -53,6 +55,7 @@ function ApiUserBalanceAllGet200ResponseResponseObjectInnerFromJSONTyped(json, i
53
55
  return {
54
56
  'balance': json['balance'],
55
57
  'accountType': json['accountType'],
58
+ 'isClaimable': json['isClaimable'],
56
59
  };
57
60
  }
58
61
  function ApiUserBalanceAllGet200ResponseResponseObjectInnerToJSON(json) {
@@ -65,5 +68,6 @@ function ApiUserBalanceAllGet200ResponseResponseObjectInnerToJSONTyped(value, ig
65
68
  return {
66
69
  'balance': value['balance'],
67
70
  'accountType': value['accountType'],
71
+ 'isClaimable': value['isClaimable'],
68
72
  };
69
73
  }
@@ -31,6 +31,12 @@ export interface ApiUserBalanceAllGet200ResponseResponseObjectInner {
31
31
  * @memberof ApiUserBalanceAllGet200ResponseResponseObjectInner
32
32
  */
33
33
  accountType: ApiUserBalanceAllGet200ResponseResponseObjectInnerAccountTypeEnum;
34
+ /**
35
+ *
36
+ * @type {boolean}
37
+ * @memberof ApiUserBalanceAllGet200ResponseResponseObjectInner
38
+ */
39
+ isClaimable: boolean;
34
40
  }
35
41
 
36
42
 
@@ -57,6 +63,7 @@ export type ApiUserBalanceAllGet200ResponseResponseObjectInnerAccountTypeEnum =
57
63
  export function instanceOfApiUserBalanceAllGet200ResponseResponseObjectInner(value: object): value is ApiUserBalanceAllGet200ResponseResponseObjectInner {
58
64
  if (!('balance' in value) || value['balance'] === undefined) return false;
59
65
  if (!('accountType' in value) || value['accountType'] === undefined) return false;
66
+ if (!('isClaimable' in value) || value['isClaimable'] === undefined) return false;
60
67
  return true;
61
68
  }
62
69
 
@@ -72,6 +79,7 @@ export function ApiUserBalanceAllGet200ResponseResponseObjectInnerFromJSONTyped(
72
79
 
73
80
  'balance': json['balance'],
74
81
  'accountType': json['accountType'],
82
+ 'isClaimable': json['isClaimable'],
75
83
  };
76
84
  }
77
85
 
@@ -88,6 +96,7 @@ export function ApiUserBalanceAllGet200ResponseResponseObjectInnerFromJSONTyped(
88
96
 
89
97
  'balance': value['balance'],
90
98
  'accountType': value['accountType'],
99
+ 'isClaimable': value['isClaimable'],
91
100
  };
92
101
  }
93
102
 
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.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
- }
1
+ {
2
+ "name": "@gambulls-org/gambulls-apis",
3
+ "version": "3.0.317",
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
+ }