@gambulls-org/gambulls-apis 3.0.275 → 3.0.276

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 (79) 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 +549 -549
  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/AdminLoyaltyApi.js +17 -7
  21. package/apis/AdminManagementApi.js +17 -7
  22. package/apis/AdminMenuApi.js +17 -7
  23. package/apis/AdminPaymentSystemApi.js +17 -7
  24. package/apis/AdminPinnedMessageApi.js +17 -7
  25. package/apis/AdminPolicyApi.js +17 -7
  26. package/apis/AdminProvidersApi.js +17 -7
  27. package/apis/AdminRakebackEventApi.js +17 -7
  28. package/apis/AdminReportApi.js +17 -7
  29. package/apis/AdminSportApi.js +24 -14
  30. package/apis/AdminSportApi.ts +16 -16
  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/{ApiAdminSportsIdPatch200Response.js → ApiAdminSportsIdPut200Response.js} +13 -13
  70. package/models/{ApiAdminSportsIdPatch200Response.ts → ApiAdminSportsIdPut200Response.ts} +14 -14
  71. package/models/ApiAdminSportsIdPutRequest.js +50 -0
  72. package/models/{ApiAdminSportsIdPatchRequest.ts → ApiAdminSportsIdPutRequest.ts} +12 -12
  73. package/models/index.js +2 -2
  74. package/models/index.ts +2 -2
  75. package/openapitools.json +7 -7
  76. package/package.json +26 -26
  77. package/tsconfig.json +108 -108
  78. package/workflow.sh +40 -40
  79. package/models/ApiAdminSportsIdPatchRequest.js +0 -50
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
+ ]
@@ -13,16 +13,16 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.instanceOfApiAdminSportsIdPatch200Response = instanceOfApiAdminSportsIdPatch200Response;
17
- exports.ApiAdminSportsIdPatch200ResponseFromJSON = ApiAdminSportsIdPatch200ResponseFromJSON;
18
- exports.ApiAdminSportsIdPatch200ResponseFromJSONTyped = ApiAdminSportsIdPatch200ResponseFromJSONTyped;
19
- exports.ApiAdminSportsIdPatch200ResponseToJSON = ApiAdminSportsIdPatch200ResponseToJSON;
20
- exports.ApiAdminSportsIdPatch200ResponseToJSONTyped = ApiAdminSportsIdPatch200ResponseToJSONTyped;
16
+ exports.instanceOfApiAdminSportsIdPut200Response = instanceOfApiAdminSportsIdPut200Response;
17
+ exports.ApiAdminSportsIdPut200ResponseFromJSON = ApiAdminSportsIdPut200ResponseFromJSON;
18
+ exports.ApiAdminSportsIdPut200ResponseFromJSONTyped = ApiAdminSportsIdPut200ResponseFromJSONTyped;
19
+ exports.ApiAdminSportsIdPut200ResponseToJSON = ApiAdminSportsIdPut200ResponseToJSON;
20
+ exports.ApiAdminSportsIdPut200ResponseToJSONTyped = ApiAdminSportsIdPut200ResponseToJSONTyped;
21
21
  const ApiAdminSportsGet200ResponseResponseObjectItemsInner_1 = require("./ApiAdminSportsGet200ResponseResponseObjectItemsInner");
22
22
  /**
23
- * Check if a given object implements the ApiAdminSportsIdPatch200Response interface.
23
+ * Check if a given object implements the ApiAdminSportsIdPut200Response interface.
24
24
  */
25
- function instanceOfApiAdminSportsIdPatch200Response(value) {
25
+ function instanceOfApiAdminSportsIdPut200Response(value) {
26
26
  if (!('success' in value) || value['success'] === undefined)
27
27
  return false;
28
28
  if (!('message' in value) || value['message'] === undefined)
@@ -31,10 +31,10 @@ function instanceOfApiAdminSportsIdPatch200Response(value) {
31
31
  return false;
32
32
  return true;
33
33
  }
34
- function ApiAdminSportsIdPatch200ResponseFromJSON(json) {
35
- return ApiAdminSportsIdPatch200ResponseFromJSONTyped(json, false);
34
+ function ApiAdminSportsIdPut200ResponseFromJSON(json) {
35
+ return ApiAdminSportsIdPut200ResponseFromJSONTyped(json, false);
36
36
  }
37
- function ApiAdminSportsIdPatch200ResponseFromJSONTyped(json, ignoreDiscriminator) {
37
+ function ApiAdminSportsIdPut200ResponseFromJSONTyped(json, ignoreDiscriminator) {
38
38
  if (json == null) {
39
39
  return json;
40
40
  }
@@ -45,10 +45,10 @@ function ApiAdminSportsIdPatch200ResponseFromJSONTyped(json, ignoreDiscriminator
45
45
  'statusCode': json['statusCode'],
46
46
  };
47
47
  }
48
- function ApiAdminSportsIdPatch200ResponseToJSON(json) {
49
- return ApiAdminSportsIdPatch200ResponseToJSONTyped(json, false);
48
+ function ApiAdminSportsIdPut200ResponseToJSON(json) {
49
+ return ApiAdminSportsIdPut200ResponseToJSONTyped(json, false);
50
50
  }
51
- function ApiAdminSportsIdPatch200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
51
+ function ApiAdminSportsIdPut200ResponseToJSONTyped(value, ignoreDiscriminator = false) {
52
52
  if (value == null) {
53
53
  return value;
54
54
  }
@@ -24,50 +24,50 @@ import {
24
24
  /**
25
25
  *
26
26
  * @export
27
- * @interface ApiAdminSportsIdPatch200Response
27
+ * @interface ApiAdminSportsIdPut200Response
28
28
  */
29
- export interface ApiAdminSportsIdPatch200Response {
29
+ export interface ApiAdminSportsIdPut200Response {
30
30
  /**
31
31
  *
32
32
  * @type {boolean}
33
- * @memberof ApiAdminSportsIdPatch200Response
33
+ * @memberof ApiAdminSportsIdPut200Response
34
34
  */
35
35
  success: boolean;
36
36
  /**
37
37
  *
38
38
  * @type {string}
39
- * @memberof ApiAdminSportsIdPatch200Response
39
+ * @memberof ApiAdminSportsIdPut200Response
40
40
  */
41
41
  message: string;
42
42
  /**
43
43
  *
44
44
  * @type {ApiAdminSportsGet200ResponseResponseObjectItemsInner}
45
- * @memberof ApiAdminSportsIdPatch200Response
45
+ * @memberof ApiAdminSportsIdPut200Response
46
46
  */
47
47
  responseObject?: ApiAdminSportsGet200ResponseResponseObjectItemsInner;
48
48
  /**
49
49
  *
50
50
  * @type {number}
51
- * @memberof ApiAdminSportsIdPatch200Response
51
+ * @memberof ApiAdminSportsIdPut200Response
52
52
  */
53
53
  statusCode: number;
54
54
  }
55
55
 
56
56
  /**
57
- * Check if a given object implements the ApiAdminSportsIdPatch200Response interface.
57
+ * Check if a given object implements the ApiAdminSportsIdPut200Response interface.
58
58
  */
59
- export function instanceOfApiAdminSportsIdPatch200Response(value: object): value is ApiAdminSportsIdPatch200Response {
59
+ export function instanceOfApiAdminSportsIdPut200Response(value: object): value is ApiAdminSportsIdPut200Response {
60
60
  if (!('success' in value) || value['success'] === undefined) return false;
61
61
  if (!('message' in value) || value['message'] === undefined) return false;
62
62
  if (!('statusCode' in value) || value['statusCode'] === undefined) return false;
63
63
  return true;
64
64
  }
65
65
 
66
- export function ApiAdminSportsIdPatch200ResponseFromJSON(json: any): ApiAdminSportsIdPatch200Response {
67
- return ApiAdminSportsIdPatch200ResponseFromJSONTyped(json, false);
66
+ export function ApiAdminSportsIdPut200ResponseFromJSON(json: any): ApiAdminSportsIdPut200Response {
67
+ return ApiAdminSportsIdPut200ResponseFromJSONTyped(json, false);
68
68
  }
69
69
 
70
- export function ApiAdminSportsIdPatch200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAdminSportsIdPatch200Response {
70
+ export function ApiAdminSportsIdPut200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAdminSportsIdPut200Response {
71
71
  if (json == null) {
72
72
  return json;
73
73
  }
@@ -80,11 +80,11 @@ export function ApiAdminSportsIdPatch200ResponseFromJSONTyped(json: any, ignoreD
80
80
  };
81
81
  }
82
82
 
83
- export function ApiAdminSportsIdPatch200ResponseToJSON(json: any): ApiAdminSportsIdPatch200Response {
84
- return ApiAdminSportsIdPatch200ResponseToJSONTyped(json, false);
83
+ export function ApiAdminSportsIdPut200ResponseToJSON(json: any): ApiAdminSportsIdPut200Response {
84
+ return ApiAdminSportsIdPut200ResponseToJSONTyped(json, false);
85
85
  }
86
86
 
87
- export function ApiAdminSportsIdPatch200ResponseToJSONTyped(value?: ApiAdminSportsIdPatch200Response | null, ignoreDiscriminator: boolean = false): any {
87
+ export function ApiAdminSportsIdPut200ResponseToJSONTyped(value?: ApiAdminSportsIdPut200Response | null, ignoreDiscriminator: boolean = false): any {
88
88
  if (value == null) {
89
89
  return value;
90
90
  }
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Swagger API
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfApiAdminSportsIdPutRequest = instanceOfApiAdminSportsIdPutRequest;
17
+ exports.ApiAdminSportsIdPutRequestFromJSON = ApiAdminSportsIdPutRequestFromJSON;
18
+ exports.ApiAdminSportsIdPutRequestFromJSONTyped = ApiAdminSportsIdPutRequestFromJSONTyped;
19
+ exports.ApiAdminSportsIdPutRequestToJSON = ApiAdminSportsIdPutRequestToJSON;
20
+ exports.ApiAdminSportsIdPutRequestToJSONTyped = ApiAdminSportsIdPutRequestToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ApiAdminSportsIdPutRequest interface.
23
+ */
24
+ function instanceOfApiAdminSportsIdPutRequest(value) {
25
+ return true;
26
+ }
27
+ function ApiAdminSportsIdPutRequestFromJSON(json) {
28
+ return ApiAdminSportsIdPutRequestFromJSONTyped(json, false);
29
+ }
30
+ function ApiAdminSportsIdPutRequestFromJSONTyped(json, ignoreDiscriminator) {
31
+ if (json == null) {
32
+ return json;
33
+ }
34
+ return {
35
+ 'imageUrl': json['imageUrl'] == null ? undefined : json['imageUrl'],
36
+ 'sequence': json['sequence'] == null ? undefined : json['sequence'],
37
+ };
38
+ }
39
+ function ApiAdminSportsIdPutRequestToJSON(json) {
40
+ return ApiAdminSportsIdPutRequestToJSONTyped(json, false);
41
+ }
42
+ function ApiAdminSportsIdPutRequestToJSONTyped(value, ignoreDiscriminator = false) {
43
+ if (value == null) {
44
+ return value;
45
+ }
46
+ return {
47
+ 'imageUrl': value['imageUrl'],
48
+ 'sequence': value['sequence'],
49
+ };
50
+ }
@@ -16,35 +16,35 @@ import { mapValues } from '../runtime';
16
16
  /**
17
17
  *
18
18
  * @export
19
- * @interface ApiAdminSportsIdPatchRequest
19
+ * @interface ApiAdminSportsIdPutRequest
20
20
  */
21
- export interface ApiAdminSportsIdPatchRequest {
21
+ export interface ApiAdminSportsIdPutRequest {
22
22
  /**
23
23
  *
24
24
  * @type {string}
25
- * @memberof ApiAdminSportsIdPatchRequest
25
+ * @memberof ApiAdminSportsIdPutRequest
26
26
  */
27
27
  imageUrl?: string | null;
28
28
  /**
29
29
  *
30
30
  * @type {number}
31
- * @memberof ApiAdminSportsIdPatchRequest
31
+ * @memberof ApiAdminSportsIdPutRequest
32
32
  */
33
33
  sequence?: number;
34
34
  }
35
35
 
36
36
  /**
37
- * Check if a given object implements the ApiAdminSportsIdPatchRequest interface.
37
+ * Check if a given object implements the ApiAdminSportsIdPutRequest interface.
38
38
  */
39
- export function instanceOfApiAdminSportsIdPatchRequest(value: object): value is ApiAdminSportsIdPatchRequest {
39
+ export function instanceOfApiAdminSportsIdPutRequest(value: object): value is ApiAdminSportsIdPutRequest {
40
40
  return true;
41
41
  }
42
42
 
43
- export function ApiAdminSportsIdPatchRequestFromJSON(json: any): ApiAdminSportsIdPatchRequest {
44
- return ApiAdminSportsIdPatchRequestFromJSONTyped(json, false);
43
+ export function ApiAdminSportsIdPutRequestFromJSON(json: any): ApiAdminSportsIdPutRequest {
44
+ return ApiAdminSportsIdPutRequestFromJSONTyped(json, false);
45
45
  }
46
46
 
47
- export function ApiAdminSportsIdPatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAdminSportsIdPatchRequest {
47
+ export function ApiAdminSportsIdPutRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAdminSportsIdPutRequest {
48
48
  if (json == null) {
49
49
  return json;
50
50
  }
@@ -55,11 +55,11 @@ export function ApiAdminSportsIdPatchRequestFromJSONTyped(json: any, ignoreDiscr
55
55
  };
56
56
  }
57
57
 
58
- export function ApiAdminSportsIdPatchRequestToJSON(json: any): ApiAdminSportsIdPatchRequest {
59
- return ApiAdminSportsIdPatchRequestToJSONTyped(json, false);
58
+ export function ApiAdminSportsIdPutRequestToJSON(json: any): ApiAdminSportsIdPutRequest {
59
+ return ApiAdminSportsIdPutRequestToJSONTyped(json, false);
60
60
  }
61
61
 
62
- export function ApiAdminSportsIdPatchRequestToJSONTyped(value?: ApiAdminSportsIdPatchRequest | null, ignoreDiscriminator: boolean = false): any {
62
+ export function ApiAdminSportsIdPutRequestToJSONTyped(value?: ApiAdminSportsIdPutRequest | null, ignoreDiscriminator: boolean = false): any {
63
63
  if (value == null) {
64
64
  return value;
65
65
  }
package/models/index.js CHANGED
@@ -189,8 +189,8 @@ __exportStar(require("./ApiAdminRegisterPostRequest"), exports);
189
189
  __exportStar(require("./ApiAdminSportsGet200Response"), exports);
190
190
  __exportStar(require("./ApiAdminSportsGet200ResponseResponseObject"), exports);
191
191
  __exportStar(require("./ApiAdminSportsGet200ResponseResponseObjectItemsInner"), exports);
192
- __exportStar(require("./ApiAdminSportsIdPatch200Response"), exports);
193
- __exportStar(require("./ApiAdminSportsIdPatchRequest"), exports);
192
+ __exportStar(require("./ApiAdminSportsIdPut200Response"), exports);
193
+ __exportStar(require("./ApiAdminSportsIdPutRequest"), exports);
194
194
  __exportStar(require("./ApiAdminUploadPost200Response"), exports);
195
195
  __exportStar(require("./ApiAdminUploadPost200ResponseResponseObject"), exports);
196
196
  __exportStar(require("./ApiAdminUserWagerReportGet200Response"), exports);
package/models/index.ts CHANGED
@@ -173,8 +173,8 @@ export * from './ApiAdminRegisterPostRequest';
173
173
  export * from './ApiAdminSportsGet200Response';
174
174
  export * from './ApiAdminSportsGet200ResponseResponseObject';
175
175
  export * from './ApiAdminSportsGet200ResponseResponseObjectItemsInner';
176
- export * from './ApiAdminSportsIdPatch200Response';
177
- export * from './ApiAdminSportsIdPatchRequest';
176
+ export * from './ApiAdminSportsIdPut200Response';
177
+ export * from './ApiAdminSportsIdPutRequest';
178
178
  export * from './ApiAdminUploadPost200Response';
179
179
  export * from './ApiAdminUploadPost200ResponseResponseObject';
180
180
  export * from './ApiAdminUserWagerReportGet200Response';
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
+ }