@gambulls-org/gambulls-apis 3.0.109 → 3.0.114

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 +461 -458
  5. package/.openapi-generator-ignore +23 -23
  6. package/README.md +19 -19
  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/AdminBonusApi.js +7 -17
  12. package/apis/AdminCategoryApi.js +7 -17
  13. package/apis/AdminChatApi.js +7 -17
  14. package/apis/AdminDashboardApi.js +7 -17
  15. package/apis/AdminExchangeApi.js +7 -17
  16. package/apis/AdminGamesApi.js +7 -17
  17. package/apis/AdminGroupApi.js +7 -17
  18. package/apis/AdminLoyaltyApi.js +7 -17
  19. package/apis/AdminManagementApi.js +7 -17
  20. package/apis/AdminMenuApi.js +7 -17
  21. package/apis/AdminPaymentSystemApi.js +7 -17
  22. package/apis/AdminPinnedMessageApi.js +7 -17
  23. package/apis/AdminPolicyApi.js +7 -17
  24. package/apis/AdminProvidersApi.js +7 -17
  25. package/apis/AdminUserManagementApi.js +7 -17
  26. package/apis/AuthApi.js +7 -17
  27. package/apis/CMSApi.js +7 -17
  28. package/apis/CronDataCleanupApi.js +7 -17
  29. package/apis/HealthCheckApi.js +7 -17
  30. package/apis/PublicGamesApi.js +8 -17
  31. package/apis/PublicGamesApi.ts +1 -0
  32. package/apis/PublicPolicyApi.js +7 -17
  33. package/apis/RGSApi.js +7 -17
  34. package/apis/RGSV2Api.js +7 -17
  35. package/apis/TatumApi.js +7 -17
  36. package/apis/TestForNonProductionOnlyApi.js +7 -17
  37. package/apis/UserAffiliateApi.js +7 -17
  38. package/apis/UserAvatarApi.js +7 -17
  39. package/apis/UserBalanceApi.js +7 -17
  40. package/apis/UserBonusApi.js +7 -17
  41. package/apis/UserDepositApi.js +7 -17
  42. package/apis/UserDocumentApi.js +7 -17
  43. package/apis/UserGamesApi.js +7 -17
  44. package/apis/UserLoyaltyApi.js +7 -17
  45. package/apis/UserModeratorApi.js +7 -17
  46. package/apis/UserNotificationApi.js +7 -17
  47. package/apis/UserPreferencesApi.js +7 -17
  48. package/apis/UserProfileApi.js +7 -17
  49. package/apis/UserResponsibleGamingApi.js +7 -17
  50. package/apis/UserStatisticApi.js +7 -17
  51. package/apis/UserTippingApi.js +7 -17
  52. package/apis/UserTransactionHistoryApi.js +7 -17
  53. package/apis/UserWagerApi.js +91 -0
  54. package/apis/UserWagerApi.ts +68 -0
  55. package/apis/UserWithdrawalApi.js +7 -17
  56. package/apis/index.js +1 -0
  57. package/apis/index.ts +1 -0
  58. package/base.ts +86 -86
  59. package/common.ts +150 -150
  60. package/configuration.ts +110 -110
  61. package/git_push.sh +57 -57
  62. package/hooks.json +8 -8
  63. package/models/ApiAdminBonusGet200ResponseResponseObjectItemsInner.js +16 -0
  64. package/models/ApiAdminBonusGet200ResponseResponseObjectItemsInner.ts +36 -0
  65. package/models/ApiUserWagerProgressGet200Response.js +61 -0
  66. package/models/ApiUserWagerProgressGet200Response.ts +100 -0
  67. package/models/ApiUserWagerProgressGet200ResponseResponseObject.js +70 -0
  68. package/models/ApiUserWagerProgressGet200ResponseResponseObject.ts +111 -0
  69. package/models/index.js +2 -0
  70. package/models/index.ts +2 -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
@@ -28,23 +28,13 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
28
28
  }) : function(o, v) {
29
29
  o["default"] = v;
30
30
  });
31
- var __importStar = (this && this.__importStar) || (function () {
32
- var ownKeys = function(o) {
33
- ownKeys = Object.getOwnPropertyNames || function (o) {
34
- var ar = [];
35
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
36
- return ar;
37
- };
38
- return ownKeys(o);
39
- };
40
- return function (mod) {
41
- if (mod && mod.__esModule) return mod;
42
- var result = {};
43
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
44
- __setModuleDefault(result, mod);
45
- return result;
46
- };
47
- })();
31
+ var __importStar = (this && this.__importStar) || function (mod) {
32
+ if (mod && mod.__esModule) return mod;
33
+ var result = {};
34
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
35
+ __setModuleDefault(result, mod);
36
+ return result;
37
+ };
48
38
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
49
39
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
50
40
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -28,23 +28,13 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
28
28
  }) : function(o, v) {
29
29
  o["default"] = v;
30
30
  });
31
- var __importStar = (this && this.__importStar) || (function () {
32
- var ownKeys = function(o) {
33
- ownKeys = Object.getOwnPropertyNames || function (o) {
34
- var ar = [];
35
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
36
- return ar;
37
- };
38
- return ownKeys(o);
39
- };
40
- return function (mod) {
41
- if (mod && mod.__esModule) return mod;
42
- var result = {};
43
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
44
- __setModuleDefault(result, mod);
45
- return result;
46
- };
47
- })();
31
+ var __importStar = (this && this.__importStar) || function (mod) {
32
+ if (mod && mod.__esModule) return mod;
33
+ var result = {};
34
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
35
+ __setModuleDefault(result, mod);
36
+ return result;
37
+ };
48
38
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
49
39
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
50
40
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -28,23 +28,13 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
28
28
  }) : function(o, v) {
29
29
  o["default"] = v;
30
30
  });
31
- var __importStar = (this && this.__importStar) || (function () {
32
- var ownKeys = function(o) {
33
- ownKeys = Object.getOwnPropertyNames || function (o) {
34
- var ar = [];
35
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
36
- return ar;
37
- };
38
- return ownKeys(o);
39
- };
40
- return function (mod) {
41
- if (mod && mod.__esModule) return mod;
42
- var result = {};
43
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
44
- __setModuleDefault(result, mod);
45
- return result;
46
- };
47
- })();
31
+ var __importStar = (this && this.__importStar) || function (mod) {
32
+ if (mod && mod.__esModule) return mod;
33
+ var result = {};
34
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
35
+ __setModuleDefault(result, mod);
36
+ return result;
37
+ };
48
38
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
49
39
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
50
40
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -28,23 +28,13 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
28
28
  }) : function(o, v) {
29
29
  o["default"] = v;
30
30
  });
31
- var __importStar = (this && this.__importStar) || (function () {
32
- var ownKeys = function(o) {
33
- ownKeys = Object.getOwnPropertyNames || function (o) {
34
- var ar = [];
35
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
36
- return ar;
37
- };
38
- return ownKeys(o);
39
- };
40
- return function (mod) {
41
- if (mod && mod.__esModule) return mod;
42
- var result = {};
43
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
44
- __setModuleDefault(result, mod);
45
- return result;
46
- };
47
- })();
31
+ var __importStar = (this && this.__importStar) || function (mod) {
32
+ if (mod && mod.__esModule) return mod;
33
+ var result = {};
34
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
35
+ __setModuleDefault(result, mod);
36
+ return result;
37
+ };
48
38
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
49
39
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
50
40
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -28,23 +28,13 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
28
28
  }) : function(o, v) {
29
29
  o["default"] = v;
30
30
  });
31
- var __importStar = (this && this.__importStar) || (function () {
32
- var ownKeys = function(o) {
33
- ownKeys = Object.getOwnPropertyNames || function (o) {
34
- var ar = [];
35
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
36
- return ar;
37
- };
38
- return ownKeys(o);
39
- };
40
- return function (mod) {
41
- if (mod && mod.__esModule) return mod;
42
- var result = {};
43
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
44
- __setModuleDefault(result, mod);
45
- return result;
46
- };
47
- })();
31
+ var __importStar = (this && this.__importStar) || function (mod) {
32
+ if (mod && mod.__esModule) return mod;
33
+ var result = {};
34
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
35
+ __setModuleDefault(result, mod);
36
+ return result;
37
+ };
48
38
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
49
39
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
50
40
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -28,23 +28,13 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
28
28
  }) : function(o, v) {
29
29
  o["default"] = v;
30
30
  });
31
- var __importStar = (this && this.__importStar) || (function () {
32
- var ownKeys = function(o) {
33
- ownKeys = Object.getOwnPropertyNames || function (o) {
34
- var ar = [];
35
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
36
- return ar;
37
- };
38
- return ownKeys(o);
39
- };
40
- return function (mod) {
41
- if (mod && mod.__esModule) return mod;
42
- var result = {};
43
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
44
- __setModuleDefault(result, mod);
45
- return result;
46
- };
47
- })();
31
+ var __importStar = (this && this.__importStar) || function (mod) {
32
+ if (mod && mod.__esModule) return mod;
33
+ var result = {};
34
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
35
+ __setModuleDefault(result, mod);
36
+ return result;
37
+ };
48
38
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
49
39
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
50
40
  return new (P || (P = Promise))(function (resolve, reject) {
@@ -0,0 +1,91 @@
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
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
16
+ if (k2 === undefined) k2 = k;
17
+ var desc = Object.getOwnPropertyDescriptor(m, k);
18
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
19
+ desc = { enumerable: true, get: function() { return m[k]; } };
20
+ }
21
+ Object.defineProperty(o, k2, desc);
22
+ }) : (function(o, m, k, k2) {
23
+ if (k2 === undefined) k2 = k;
24
+ o[k2] = m[k];
25
+ }));
26
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
27
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
28
+ }) : function(o, v) {
29
+ o["default"] = v;
30
+ });
31
+ var __importStar = (this && this.__importStar) || function (mod) {
32
+ if (mod && mod.__esModule) return mod;
33
+ var result = {};
34
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
35
+ __setModuleDefault(result, mod);
36
+ return result;
37
+ };
38
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
39
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
40
+ return new (P || (P = Promise))(function (resolve, reject) {
41
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
42
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
43
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
44
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
45
+ });
46
+ };
47
+ Object.defineProperty(exports, "__esModule", { value: true });
48
+ exports.UserWagerApi = void 0;
49
+ const runtime = __importStar(require("../runtime"));
50
+ const index_1 = require("../models/index");
51
+ /**
52
+ *
53
+ */
54
+ class UserWagerApi extends runtime.BaseAPI {
55
+ /**
56
+ * User Get Wagering Progress
57
+ */
58
+ apiUserWagerProgressGetRaw(initOverrides) {
59
+ return __awaiter(this, void 0, void 0, function* () {
60
+ const queryParameters = {};
61
+ const headerParameters = {};
62
+ if (this.configuration && this.configuration.apiKey) {
63
+ headerParameters["api-key"] = yield this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
64
+ }
65
+ if (this.configuration && this.configuration.accessToken) {
66
+ const token = this.configuration.accessToken;
67
+ const tokenString = yield token("BearerAuth", []);
68
+ if (tokenString) {
69
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
70
+ }
71
+ }
72
+ const response = yield this.request({
73
+ path: `/api/user/wager/progress`,
74
+ method: 'GET',
75
+ headers: headerParameters,
76
+ query: queryParameters,
77
+ }, initOverrides);
78
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiUserWagerProgressGet200ResponseFromJSON)(jsonValue));
79
+ });
80
+ }
81
+ /**
82
+ * User Get Wagering Progress
83
+ */
84
+ apiUserWagerProgressGet(initOverrides) {
85
+ return __awaiter(this, void 0, void 0, function* () {
86
+ const response = yield this.apiUserWagerProgressGetRaw(initOverrides);
87
+ return yield response.value();
88
+ });
89
+ }
90
+ }
91
+ exports.UserWagerApi = UserWagerApi;
@@ -0,0 +1,68 @@
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
+ import * as runtime from '../runtime';
17
+ import type {
18
+ ApiUserWagerProgressGet200Response,
19
+ } from '../models/index';
20
+ import {
21
+ ApiUserWagerProgressGet200ResponseFromJSON,
22
+ ApiUserWagerProgressGet200ResponseToJSON,
23
+ } from '../models/index';
24
+
25
+ /**
26
+ *
27
+ */
28
+ export class UserWagerApi extends runtime.BaseAPI {
29
+
30
+ /**
31
+ * User Get Wagering Progress
32
+ */
33
+ async apiUserWagerProgressGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiUserWagerProgressGet200Response>> {
34
+ const queryParameters: any = {};
35
+
36
+ const headerParameters: runtime.HTTPHeaders = {};
37
+
38
+ if (this.configuration && this.configuration.apiKey) {
39
+ headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
40
+ }
41
+
42
+ if (this.configuration && this.configuration.accessToken) {
43
+ const token = this.configuration.accessToken;
44
+ const tokenString = await token("BearerAuth", []);
45
+
46
+ if (tokenString) {
47
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
48
+ }
49
+ }
50
+ const response = await this.request({
51
+ path: `/api/user/wager/progress`,
52
+ method: 'GET',
53
+ headers: headerParameters,
54
+ query: queryParameters,
55
+ }, initOverrides);
56
+
57
+ return new runtime.JSONApiResponse(response, (jsonValue) => ApiUserWagerProgressGet200ResponseFromJSON(jsonValue));
58
+ }
59
+
60
+ /**
61
+ * User Get Wagering Progress
62
+ */
63
+ async apiUserWagerProgressGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiUserWagerProgressGet200Response> {
64
+ const response = await this.apiUserWagerProgressGetRaw(initOverrides);
65
+ return await response.value();
66
+ }
67
+
68
+ }
@@ -28,23 +28,13 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
28
28
  }) : function(o, v) {
29
29
  o["default"] = v;
30
30
  });
31
- var __importStar = (this && this.__importStar) || (function () {
32
- var ownKeys = function(o) {
33
- ownKeys = Object.getOwnPropertyNames || function (o) {
34
- var ar = [];
35
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
36
- return ar;
37
- };
38
- return ownKeys(o);
39
- };
40
- return function (mod) {
41
- if (mod && mod.__esModule) return mod;
42
- var result = {};
43
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
44
- __setModuleDefault(result, mod);
45
- return result;
46
- };
47
- })();
31
+ var __importStar = (this && this.__importStar) || function (mod) {
32
+ if (mod && mod.__esModule) return mod;
33
+ var result = {};
34
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
35
+ __setModuleDefault(result, mod);
36
+ return result;
37
+ };
48
38
  var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
49
39
  function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
50
40
  return new (P || (P = Promise))(function (resolve, reject) {
package/apis/index.js CHANGED
@@ -60,4 +60,5 @@ __exportStar(require("./UserResponsibleGamingApi"), exports);
60
60
  __exportStar(require("./UserStatisticApi"), exports);
61
61
  __exportStar(require("./UserTippingApi"), exports);
62
62
  __exportStar(require("./UserTransactionHistoryApi"), exports);
63
+ __exportStar(require("./UserWagerApi"), exports);
63
64
  __exportStar(require("./UserWithdrawalApi"), exports);
package/apis/index.ts CHANGED
@@ -44,4 +44,5 @@ export * from './UserResponsibleGamingApi';
44
44
  export * from './UserStatisticApi';
45
45
  export * from './UserTippingApi';
46
46
  export * from './UserTransactionHistoryApi';
47
+ export * from './UserWagerApi';
47
48
  export * from './UserWithdrawalApi';
package/base.ts CHANGED
@@ -1,86 +1,86 @@
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
- import type { Configuration } from './configuration';
17
- // Some imports not used depending on template conditions
18
- // @ts-ignore
19
- import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
20
- import globalAxios from 'axios';
21
-
22
- export const BASE_PATH = "http://localhost".replace(/\/+$/, "");
23
-
24
- /**
25
- *
26
- * @export
27
- */
28
- export const COLLECTION_FORMATS = {
29
- csv: ",",
30
- ssv: " ",
31
- tsv: "\t",
32
- pipes: "|",
33
- };
34
-
35
- /**
36
- *
37
- * @export
38
- * @interface RequestArgs
39
- */
40
- export interface RequestArgs {
41
- url: string;
42
- options: RawAxiosRequestConfig;
43
- }
44
-
45
- /**
46
- *
47
- * @export
48
- * @class BaseAPI
49
- */
50
- export class BaseAPI {
51
- protected configuration: Configuration | undefined;
52
-
53
- constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {
54
- if (configuration) {
55
- this.configuration = configuration;
56
- this.basePath = configuration.basePath ?? basePath;
57
- }
58
- }
59
- };
60
-
61
- /**
62
- *
63
- * @export
64
- * @class RequiredError
65
- * @extends {Error}
66
- */
67
- export class RequiredError extends Error {
68
- constructor(public field: string, msg?: string) {
69
- super(msg);
70
- this.name = "RequiredError"
71
- }
72
- }
73
-
74
- interface ServerMap {
75
- [key: string]: {
76
- url: string,
77
- description: string,
78
- }[];
79
- }
80
-
81
- /**
82
- *
83
- * @export
84
- */
85
- export const operationServerMap: ServerMap = {
86
- }
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
+ import type { Configuration } from './configuration';
17
+ // Some imports not used depending on template conditions
18
+ // @ts-ignore
19
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
20
+ import globalAxios from 'axios';
21
+
22
+ export const BASE_PATH = "http://localhost".replace(/\/+$/, "");
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ */
28
+ export const COLLECTION_FORMATS = {
29
+ csv: ",",
30
+ ssv: " ",
31
+ tsv: "\t",
32
+ pipes: "|",
33
+ };
34
+
35
+ /**
36
+ *
37
+ * @export
38
+ * @interface RequestArgs
39
+ */
40
+ export interface RequestArgs {
41
+ url: string;
42
+ options: RawAxiosRequestConfig;
43
+ }
44
+
45
+ /**
46
+ *
47
+ * @export
48
+ * @class BaseAPI
49
+ */
50
+ export class BaseAPI {
51
+ protected configuration: Configuration | undefined;
52
+
53
+ constructor(configuration?: Configuration, protected basePath: string = BASE_PATH, protected axios: AxiosInstance = globalAxios) {
54
+ if (configuration) {
55
+ this.configuration = configuration;
56
+ this.basePath = configuration.basePath ?? basePath;
57
+ }
58
+ }
59
+ };
60
+
61
+ /**
62
+ *
63
+ * @export
64
+ * @class RequiredError
65
+ * @extends {Error}
66
+ */
67
+ export class RequiredError extends Error {
68
+ constructor(public field: string, msg?: string) {
69
+ super(msg);
70
+ this.name = "RequiredError"
71
+ }
72
+ }
73
+
74
+ interface ServerMap {
75
+ [key: string]: {
76
+ url: string,
77
+ description: string,
78
+ }[];
79
+ }
80
+
81
+ /**
82
+ *
83
+ * @export
84
+ */
85
+ export const operationServerMap: ServerMap = {
86
+ }