@gambulls-org/gambulls-apis 3.0.137 → 3.0.139

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.
@@ -318,6 +318,7 @@ models/ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner.ts
318
318
  models/ApiPublicGamesSlugGet200Response.ts
319
319
  models/ApiPublicGamesSlugGet200ResponseResponseObject.ts
320
320
  models/ApiPublicGamesSlugGet200ResponseResponseObjectGames.ts
321
+ models/ApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider.ts
321
322
  models/ApiPublicPolicyGet200Response.ts
322
323
  models/ApiPublicPolicyGet200ResponseResponseObject.ts
323
324
  models/ApiPublicProvidersGet200Response.ts
@@ -97,6 +97,41 @@ class PublicGamesApi extends runtime.BaseAPI {
97
97
  return yield response.value();
98
98
  });
99
99
  }
100
+ /**
101
+ * Get Games ETag
102
+ */
103
+ apiPublicGamesEtagGetRaw(initOverrides) {
104
+ return __awaiter(this, void 0, void 0, function* () {
105
+ const queryParameters = {};
106
+ const headerParameters = {};
107
+ if (this.configuration && this.configuration.apiKey) {
108
+ headerParameters["api-key"] = yield this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
109
+ }
110
+ if (this.configuration && this.configuration.accessToken) {
111
+ const token = this.configuration.accessToken;
112
+ const tokenString = yield token("BearerAuth", []);
113
+ if (tokenString) {
114
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
115
+ }
116
+ }
117
+ const response = yield this.request({
118
+ path: `/api/public/games/etag`,
119
+ method: 'GET',
120
+ headers: headerParameters,
121
+ query: queryParameters,
122
+ }, initOverrides);
123
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiAdminRateFiatvsfiatGet200ResponseFromJSON)(jsonValue));
124
+ });
125
+ }
126
+ /**
127
+ * Get Games ETag
128
+ */
129
+ apiPublicGamesEtagGet(initOverrides) {
130
+ return __awaiter(this, void 0, void 0, function* () {
131
+ const response = yield this.apiPublicGamesEtagGetRaw(initOverrides);
132
+ return yield response.value();
133
+ });
134
+ }
100
135
  /**
101
136
  * Games Filter Data
102
137
  */
@@ -347,9 +382,12 @@ class PublicGamesApi extends runtime.BaseAPI {
347
382
  /**
348
383
  * Games Get All Static
349
384
  */
350
- apiPublicGamesStaticGetRaw(initOverrides) {
385
+ apiPublicGamesStaticGetRaw(requestParameters, initOverrides) {
351
386
  return __awaiter(this, void 0, void 0, function* () {
352
387
  const queryParameters = {};
388
+ if (requestParameters['etag'] != null) {
389
+ queryParameters['etag'] = requestParameters['etag'];
390
+ }
353
391
  const headerParameters = {};
354
392
  if (this.configuration && this.configuration.apiKey) {
355
393
  headerParameters["api-key"] = yield this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
@@ -373,9 +411,9 @@ class PublicGamesApi extends runtime.BaseAPI {
373
411
  /**
374
412
  * Games Get All Static
375
413
  */
376
- apiPublicGamesStaticGet(initOverrides) {
377
- return __awaiter(this, void 0, void 0, function* () {
378
- const response = yield this.apiPublicGamesStaticGetRaw(initOverrides);
414
+ apiPublicGamesStaticGet() {
415
+ return __awaiter(this, arguments, void 0, function* (requestParameters = {}, initOverrides) {
416
+ const response = yield this.apiPublicGamesStaticGetRaw(requestParameters, initOverrides);
379
417
  return yield response.value();
380
418
  });
381
419
  }
@@ -74,6 +74,10 @@ export interface ApiPublicGamesSlugGetRequest {
74
74
  slug: string;
75
75
  }
76
76
 
77
+ export interface ApiPublicGamesStaticGetRequest {
78
+ etag?: string;
79
+ }
80
+
77
81
  /**
78
82
  *
79
83
  */
@@ -117,6 +121,44 @@ export class PublicGamesApi extends runtime.BaseAPI {
117
121
  return await response.value();
118
122
  }
119
123
 
124
+ /**
125
+ * Get Games ETag
126
+ */
127
+ async apiPublicGamesEtagGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiAdminRateFiatvsfiatGet200Response>> {
128
+ const queryParameters: any = {};
129
+
130
+ const headerParameters: runtime.HTTPHeaders = {};
131
+
132
+ if (this.configuration && this.configuration.apiKey) {
133
+ headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
134
+ }
135
+
136
+ if (this.configuration && this.configuration.accessToken) {
137
+ const token = this.configuration.accessToken;
138
+ const tokenString = await token("BearerAuth", []);
139
+
140
+ if (tokenString) {
141
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
142
+ }
143
+ }
144
+ const response = await this.request({
145
+ path: `/api/public/games/etag`,
146
+ method: 'GET',
147
+ headers: headerParameters,
148
+ query: queryParameters,
149
+ }, initOverrides);
150
+
151
+ return new runtime.JSONApiResponse(response, (jsonValue) => ApiAdminRateFiatvsfiatGet200ResponseFromJSON(jsonValue));
152
+ }
153
+
154
+ /**
155
+ * Get Games ETag
156
+ */
157
+ async apiPublicGamesEtagGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiAdminRateFiatvsfiatGet200Response> {
158
+ const response = await this.apiPublicGamesEtagGetRaw(initOverrides);
159
+ return await response.value();
160
+ }
161
+
120
162
  /**
121
163
  * Games Filter Data
122
164
  */
@@ -421,9 +463,13 @@ export class PublicGamesApi extends runtime.BaseAPI {
421
463
  /**
422
464
  * Games Get All Static
423
465
  */
424
- async apiPublicGamesStaticGetRaw(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiUserAvatarPut200Response>> {
466
+ async apiPublicGamesStaticGetRaw(requestParameters: ApiPublicGamesStaticGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiUserAvatarPut200Response>> {
425
467
  const queryParameters: any = {};
426
468
 
469
+ if (requestParameters['etag'] != null) {
470
+ queryParameters['etag'] = requestParameters['etag'];
471
+ }
472
+
427
473
  const headerParameters: runtime.HTTPHeaders = {};
428
474
 
429
475
  if (this.configuration && this.configuration.apiKey) {
@@ -451,8 +497,8 @@ export class PublicGamesApi extends runtime.BaseAPI {
451
497
  /**
452
498
  * Games Get All Static
453
499
  */
454
- async apiPublicGamesStaticGet(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiUserAvatarPut200Response> {
455
- const response = await this.apiPublicGamesStaticGetRaw(initOverrides);
500
+ async apiPublicGamesStaticGet(requestParameters: ApiPublicGamesStaticGetRequest = {}, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiUserAvatarPut200Response> {
501
+ const response = await this.apiPublicGamesStaticGetRaw(requestParameters, initOverrides);
456
502
  return await response.value();
457
503
  }
458
504
 
@@ -103,6 +103,47 @@ class UserGamesApi extends runtime.BaseAPI {
103
103
  return yield response.value();
104
104
  });
105
105
  }
106
+ /**
107
+ * User Get Game Token By Game Id
108
+ */
109
+ apiUserGameTokenbygameidGetRaw(requestParameters, initOverrides) {
110
+ return __awaiter(this, void 0, void 0, function* () {
111
+ if (requestParameters['gameId'] == null) {
112
+ throw new runtime.RequiredError('gameId', 'Required parameter "gameId" was null or undefined when calling apiUserGameTokenbygameidGet().');
113
+ }
114
+ const queryParameters = {};
115
+ if (requestParameters['gameId'] != null) {
116
+ queryParameters['gameId'] = requestParameters['gameId'];
117
+ }
118
+ const headerParameters = {};
119
+ if (this.configuration && this.configuration.apiKey) {
120
+ headerParameters["api-key"] = yield this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
121
+ }
122
+ if (this.configuration && this.configuration.accessToken) {
123
+ const token = this.configuration.accessToken;
124
+ const tokenString = yield token("BearerAuth", []);
125
+ if (tokenString) {
126
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
127
+ }
128
+ }
129
+ const response = yield this.request({
130
+ path: `/api/user/game/tokenbygameid`,
131
+ method: 'GET',
132
+ headers: headerParameters,
133
+ query: queryParameters,
134
+ }, initOverrides);
135
+ return new runtime.JSONApiResponse(response, (jsonValue) => (0, index_1.ApiUserGameTokenGet200ResponseFromJSON)(jsonValue));
136
+ });
137
+ }
138
+ /**
139
+ * User Get Game Token By Game Id
140
+ */
141
+ apiUserGameTokenbygameidGet(requestParameters, initOverrides) {
142
+ return __awaiter(this, void 0, void 0, function* () {
143
+ const response = yield this.apiUserGameTokenbygameidGetRaw(requestParameters, initOverrides);
144
+ return yield response.value();
145
+ });
146
+ }
106
147
  /**
107
148
  * User Get Games Favorites
108
149
  */
@@ -35,6 +35,10 @@ export interface ApiUserGameTokenGetRequest {
35
35
  slug: string;
36
36
  }
37
37
 
38
+ export interface ApiUserGameTokenbygameidGetRequest {
39
+ gameId: string;
40
+ }
41
+
38
42
  export interface ApiUserGamesRecentGetRequest {
39
43
  take: number;
40
44
  }
@@ -97,6 +101,55 @@ export class UserGamesApi extends runtime.BaseAPI {
97
101
  return await response.value();
98
102
  }
99
103
 
104
+ /**
105
+ * User Get Game Token By Game Id
106
+ */
107
+ async apiUserGameTokenbygameidGetRaw(requestParameters: ApiUserGameTokenbygameidGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ApiUserGameTokenGet200Response>> {
108
+ if (requestParameters['gameId'] == null) {
109
+ throw new runtime.RequiredError(
110
+ 'gameId',
111
+ 'Required parameter "gameId" was null or undefined when calling apiUserGameTokenbygameidGet().'
112
+ );
113
+ }
114
+
115
+ const queryParameters: any = {};
116
+
117
+ if (requestParameters['gameId'] != null) {
118
+ queryParameters['gameId'] = requestParameters['gameId'];
119
+ }
120
+
121
+ const headerParameters: runtime.HTTPHeaders = {};
122
+
123
+ if (this.configuration && this.configuration.apiKey) {
124
+ headerParameters["api-key"] = await this.configuration.apiKey("api-key"); // ApiKeyAuth authentication
125
+ }
126
+
127
+ if (this.configuration && this.configuration.accessToken) {
128
+ const token = this.configuration.accessToken;
129
+ const tokenString = await token("BearerAuth", []);
130
+
131
+ if (tokenString) {
132
+ headerParameters["Authorization"] = `Bearer ${tokenString}`;
133
+ }
134
+ }
135
+ const response = await this.request({
136
+ path: `/api/user/game/tokenbygameid`,
137
+ method: 'GET',
138
+ headers: headerParameters,
139
+ query: queryParameters,
140
+ }, initOverrides);
141
+
142
+ return new runtime.JSONApiResponse(response, (jsonValue) => ApiUserGameTokenGet200ResponseFromJSON(jsonValue));
143
+ }
144
+
145
+ /**
146
+ * User Get Game Token By Game Id
147
+ */
148
+ async apiUserGameTokenbygameidGet(requestParameters: ApiUserGameTokenbygameidGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiUserGameTokenGet200Response> {
149
+ const response = await this.apiUserGameTokenbygameidGetRaw(requestParameters, initOverrides);
150
+ return await response.value();
151
+ }
152
+
100
153
  /**
101
154
  * User Get Games Favorites
102
155
  */
@@ -32,7 +32,7 @@ export interface ApiPublicGamesSlugGet200ResponseResponseObject {
32
32
  * @type {ApiPublicGamesSlugGet200ResponseResponseObjectGames}
33
33
  * @memberof ApiPublicGamesSlugGet200ResponseResponseObject
34
34
  */
35
- games: ApiPublicGamesSlugGet200ResponseResponseObjectGames;
35
+ games: ApiPublicGamesSlugGet200ResponseResponseObjectGames | null;
36
36
  }
37
37
 
38
38
  /**
@@ -18,14 +18,74 @@ exports.ApiPublicGamesSlugGet200ResponseResponseObjectGamesFromJSON = ApiPublicG
18
18
  exports.ApiPublicGamesSlugGet200ResponseResponseObjectGamesFromJSONTyped = ApiPublicGamesSlugGet200ResponseResponseObjectGamesFromJSONTyped;
19
19
  exports.ApiPublicGamesSlugGet200ResponseResponseObjectGamesToJSON = ApiPublicGamesSlugGet200ResponseResponseObjectGamesToJSON;
20
20
  exports.ApiPublicGamesSlugGet200ResponseResponseObjectGamesToJSONTyped = ApiPublicGamesSlugGet200ResponseResponseObjectGamesToJSONTyped;
21
+ const ApiAdminGamesFilterDataGet200ResponseResponseObjectProvidersInner_1 = require("./ApiAdminGamesFilterDataGet200ResponseResponseObjectProvidersInner");
22
+ const ApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider_1 = require("./ApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider");
21
23
  /**
22
24
  * Check if a given object implements the ApiPublicGamesSlugGet200ResponseResponseObjectGames interface.
23
25
  */
24
26
  function instanceOfApiPublicGamesSlugGet200ResponseResponseObjectGames(value) {
25
27
  if (!('id' in value) || value['id'] === undefined)
26
28
  return false;
29
+ if (!('state' in value) || value['state'] === undefined)
30
+ return false;
31
+ if (!('name' in value) || value['name'] === undefined)
32
+ return false;
33
+ if (!('slug' in value) || value['slug'] === undefined)
34
+ return false;
35
+ if (!('externalData' in value) || value['externalData'] === undefined)
36
+ return false;
37
+ if (!('iconImageUrl' in value) || value['iconImageUrl'] === undefined)
38
+ return false;
39
+ if (!('backgroundImageUrl' in value) || value['backgroundImageUrl'] === undefined)
40
+ return false;
41
+ if (!('iconHorizontalUrl' in value) || value['iconHorizontalUrl'] === undefined)
42
+ return false;
43
+ if (!('iconVerticalUrl' in value) || value['iconVerticalUrl'] === undefined)
44
+ return false;
45
+ if (!('alternativeImageUrl' in value) || value['alternativeImageUrl'] === undefined)
46
+ return false;
47
+ if (!('hasFreeSpin' in value) || value['hasFreeSpin'] === undefined)
48
+ return false;
49
+ if (!('hasJackpot' in value) || value['hasJackpot'] === undefined)
50
+ return false;
27
51
  if (!('hasDemo' in value) || value['hasDemo'] === undefined)
28
52
  return false;
53
+ if (!('deviceId' in value) || value['deviceId'] === undefined)
54
+ return false;
55
+ if (!('registerReference' in value) || value['registerReference'] === undefined)
56
+ return false;
57
+ if (!('volatilityId' in value) || value['volatilityId'] === undefined)
58
+ return false;
59
+ if (!('isMiniGame' in value) || value['isMiniGame'] === undefined)
60
+ return false;
61
+ if (!('hasBuyBonus' in value) || value['hasBuyBonus'] === undefined)
62
+ return false;
63
+ if (!('rtpCustom' in value) || value['rtpCustom'] === undefined)
64
+ return false;
65
+ if (!('lineCount' in value) || value['lineCount'] === undefined)
66
+ return false;
67
+ if (!('categoryId' in value) || value['categoryId'] === undefined)
68
+ return false;
69
+ if (!('subCategoryId' in value) || value['subCategoryId'] === undefined)
70
+ return false;
71
+ if (!('providerId' in value) || value['providerId'] === undefined)
72
+ return false;
73
+ if (!('isActive' in value) || value['isActive'] === undefined)
74
+ return false;
75
+ if (!('isRecommended' in value) || value['isRecommended'] === undefined)
76
+ return false;
77
+ if (!('favoriteCount' in value) || value['favoriteCount'] === undefined)
78
+ return false;
79
+ if (!('createdAt' in value) || value['createdAt'] === undefined)
80
+ return false;
81
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined)
82
+ return false;
83
+ if (!('provider' in value) || value['provider'] === undefined)
84
+ return false;
85
+ if (!('category' in value) || value['category'] === undefined)
86
+ return false;
87
+ if (!('subCategory' in value) || value['subCategory'] === undefined)
88
+ return false;
29
89
  return true;
30
90
  }
31
91
  function ApiPublicGamesSlugGet200ResponseResponseObjectGamesFromJSON(json) {
@@ -37,7 +97,40 @@ function ApiPublicGamesSlugGet200ResponseResponseObjectGamesFromJSONTyped(json,
37
97
  }
38
98
  return {
39
99
  'id': json['id'],
100
+ 'state': json['state'],
101
+ 'name': json['name'],
102
+ 'slug': json['slug'],
103
+ 'brandGroup': json['brandGroup'] == null ? undefined : json['brandGroup'],
104
+ 'externalData': json['externalData'],
105
+ 'iconImageUrl': json['iconImageUrl'],
106
+ 'backgroundImageUrl': json['backgroundImageUrl'],
107
+ 'iconHorizontalUrl': json['iconHorizontalUrl'],
108
+ 'iconVerticalUrl': json['iconVerticalUrl'],
109
+ 'alternativeImageUrl': json['alternativeImageUrl'],
110
+ 'hasFreeSpin': json['hasFreeSpin'],
111
+ 'hasJackpot': json['hasJackpot'],
40
112
  'hasDemo': json['hasDemo'],
113
+ 'deviceId': json['deviceId'],
114
+ 'registerReference': json['registerReference'],
115
+ 'volatilityId': json['volatilityId'],
116
+ 'isMiniGame': json['isMiniGame'],
117
+ 'hasBuyBonus': json['hasBuyBonus'],
118
+ 'languages': json['languages'] == null ? undefined : json['languages'],
119
+ 'gameRtps': json['gameRtps'] == null ? undefined : json['gameRtps'],
120
+ 'rtpCustom': json['rtpCustom'],
121
+ 'limitGroups': json['limitGroups'] == null ? undefined : json['limitGroups'],
122
+ 'lineCount': json['lineCount'],
123
+ 'categoryId': json['categoryId'],
124
+ 'subCategoryId': json['subCategoryId'],
125
+ 'providerId': json['providerId'],
126
+ 'isActive': json['isActive'],
127
+ 'isRecommended': json['isRecommended'],
128
+ 'favoriteCount': json['favoriteCount'],
129
+ 'createdAt': json['createdAt'],
130
+ 'updatedAt': json['updatedAt'],
131
+ 'provider': (0, ApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider_1.ApiPublicGamesSlugGet200ResponseResponseObjectGamesProviderFromJSON)(json['provider']),
132
+ 'category': (0, ApiAdminGamesFilterDataGet200ResponseResponseObjectProvidersInner_1.ApiAdminGamesFilterDataGet200ResponseResponseObjectProvidersInnerFromJSON)(json['category']),
133
+ 'subCategory': (0, ApiAdminGamesFilterDataGet200ResponseResponseObjectProvidersInner_1.ApiAdminGamesFilterDataGet200ResponseResponseObjectProvidersInnerFromJSON)(json['subCategory']),
41
134
  };
42
135
  }
43
136
  function ApiPublicGamesSlugGet200ResponseResponseObjectGamesToJSON(json) {
@@ -49,6 +142,39 @@ function ApiPublicGamesSlugGet200ResponseResponseObjectGamesToJSONTyped(value, i
49
142
  }
50
143
  return {
51
144
  'id': value['id'],
145
+ 'state': value['state'],
146
+ 'name': value['name'],
147
+ 'slug': value['slug'],
148
+ 'brandGroup': value['brandGroup'],
149
+ 'externalData': value['externalData'],
150
+ 'iconImageUrl': value['iconImageUrl'],
151
+ 'backgroundImageUrl': value['backgroundImageUrl'],
152
+ 'iconHorizontalUrl': value['iconHorizontalUrl'],
153
+ 'iconVerticalUrl': value['iconVerticalUrl'],
154
+ 'alternativeImageUrl': value['alternativeImageUrl'],
155
+ 'hasFreeSpin': value['hasFreeSpin'],
156
+ 'hasJackpot': value['hasJackpot'],
52
157
  'hasDemo': value['hasDemo'],
158
+ 'deviceId': value['deviceId'],
159
+ 'registerReference': value['registerReference'],
160
+ 'volatilityId': value['volatilityId'],
161
+ 'isMiniGame': value['isMiniGame'],
162
+ 'hasBuyBonus': value['hasBuyBonus'],
163
+ 'languages': value['languages'],
164
+ 'gameRtps': value['gameRtps'],
165
+ 'rtpCustom': value['rtpCustom'],
166
+ 'limitGroups': value['limitGroups'],
167
+ 'lineCount': value['lineCount'],
168
+ 'categoryId': value['categoryId'],
169
+ 'subCategoryId': value['subCategoryId'],
170
+ 'providerId': value['providerId'],
171
+ 'isActive': value['isActive'],
172
+ 'isRecommended': value['isRecommended'],
173
+ 'favoriteCount': value['favoriteCount'],
174
+ 'createdAt': value['createdAt'],
175
+ 'updatedAt': value['updatedAt'],
176
+ 'provider': (0, ApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider_1.ApiPublicGamesSlugGet200ResponseResponseObjectGamesProviderToJSON)(value['provider']),
177
+ 'category': (0, ApiAdminGamesFilterDataGet200ResponseResponseObjectProvidersInner_1.ApiAdminGamesFilterDataGet200ResponseResponseObjectProvidersInnerToJSON)(value['category']),
178
+ 'subCategory': (0, ApiAdminGamesFilterDataGet200ResponseResponseObjectProvidersInner_1.ApiAdminGamesFilterDataGet200ResponseResponseObjectProvidersInnerToJSON)(value['subCategory']),
53
179
  };
54
180
  }
@@ -13,6 +13,21 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
+ import type { ApiAdminGamesFilterDataGet200ResponseResponseObjectProvidersInner } from './ApiAdminGamesFilterDataGet200ResponseResponseObjectProvidersInner';
17
+ import {
18
+ ApiAdminGamesFilterDataGet200ResponseResponseObjectProvidersInnerFromJSON,
19
+ ApiAdminGamesFilterDataGet200ResponseResponseObjectProvidersInnerFromJSONTyped,
20
+ ApiAdminGamesFilterDataGet200ResponseResponseObjectProvidersInnerToJSON,
21
+ ApiAdminGamesFilterDataGet200ResponseResponseObjectProvidersInnerToJSONTyped,
22
+ } from './ApiAdminGamesFilterDataGet200ResponseResponseObjectProvidersInner';
23
+ import type { ApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider } from './ApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider';
24
+ import {
25
+ ApiPublicGamesSlugGet200ResponseResponseObjectGamesProviderFromJSON,
26
+ ApiPublicGamesSlugGet200ResponseResponseObjectGamesProviderFromJSONTyped,
27
+ ApiPublicGamesSlugGet200ResponseResponseObjectGamesProviderToJSON,
28
+ ApiPublicGamesSlugGet200ResponseResponseObjectGamesProviderToJSONTyped,
29
+ } from './ApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider';
30
+
16
31
  /**
17
32
  *
18
33
  * @export
@@ -25,12 +40,210 @@ export interface ApiPublicGamesSlugGet200ResponseResponseObjectGames {
25
40
  * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
26
41
  */
27
42
  id: string;
43
+ /**
44
+ *
45
+ * @type {boolean}
46
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
47
+ */
48
+ state: boolean;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
53
+ */
54
+ name: string;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
59
+ */
60
+ slug: string;
61
+ /**
62
+ *
63
+ * @type {any}
64
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
65
+ */
66
+ brandGroup?: any | null;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
71
+ */
72
+ externalData: string | null;
73
+ /**
74
+ *
75
+ * @type {string}
76
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
77
+ */
78
+ iconImageUrl: string | null;
79
+ /**
80
+ *
81
+ * @type {string}
82
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
83
+ */
84
+ backgroundImageUrl: string | null;
85
+ /**
86
+ *
87
+ * @type {string}
88
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
89
+ */
90
+ iconHorizontalUrl: string | null;
91
+ /**
92
+ *
93
+ * @type {string}
94
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
95
+ */
96
+ iconVerticalUrl: string | null;
97
+ /**
98
+ *
99
+ * @type {string}
100
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
101
+ */
102
+ alternativeImageUrl: string | null;
103
+ /**
104
+ *
105
+ * @type {boolean}
106
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
107
+ */
108
+ hasFreeSpin: boolean;
109
+ /**
110
+ *
111
+ * @type {boolean}
112
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
113
+ */
114
+ hasJackpot: boolean;
28
115
  /**
29
116
  *
30
117
  * @type {boolean}
31
118
  * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
32
119
  */
33
120
  hasDemo: boolean;
121
+ /**
122
+ *
123
+ * @type {number}
124
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
125
+ */
126
+ deviceId: number;
127
+ /**
128
+ *
129
+ * @type {string}
130
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
131
+ */
132
+ registerReference: string | null;
133
+ /**
134
+ *
135
+ * @type {number}
136
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
137
+ */
138
+ volatilityId: number | null;
139
+ /**
140
+ *
141
+ * @type {boolean}
142
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
143
+ */
144
+ isMiniGame: boolean;
145
+ /**
146
+ *
147
+ * @type {boolean}
148
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
149
+ */
150
+ hasBuyBonus: boolean;
151
+ /**
152
+ *
153
+ * @type {any}
154
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
155
+ */
156
+ languages?: any | null;
157
+ /**
158
+ *
159
+ * @type {any}
160
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
161
+ */
162
+ gameRtps?: any | null;
163
+ /**
164
+ *
165
+ * @type {number}
166
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
167
+ */
168
+ rtpCustom: number | null;
169
+ /**
170
+ *
171
+ * @type {any}
172
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
173
+ */
174
+ limitGroups?: any | null;
175
+ /**
176
+ *
177
+ * @type {number}
178
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
179
+ */
180
+ lineCount: number | null;
181
+ /**
182
+ *
183
+ * @type {string}
184
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
185
+ */
186
+ categoryId: string;
187
+ /**
188
+ *
189
+ * @type {string}
190
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
191
+ */
192
+ subCategoryId: string;
193
+ /**
194
+ *
195
+ * @type {string}
196
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
197
+ */
198
+ providerId: string;
199
+ /**
200
+ *
201
+ * @type {boolean}
202
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
203
+ */
204
+ isActive: boolean;
205
+ /**
206
+ *
207
+ * @type {boolean}
208
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
209
+ */
210
+ isRecommended: boolean;
211
+ /**
212
+ *
213
+ * @type {number}
214
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
215
+ */
216
+ favoriteCount: number;
217
+ /**
218
+ *
219
+ * @type {string}
220
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
221
+ */
222
+ createdAt: string;
223
+ /**
224
+ *
225
+ * @type {string}
226
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
227
+ */
228
+ updatedAt: string;
229
+ /**
230
+ *
231
+ * @type {ApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider}
232
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
233
+ */
234
+ provider: ApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider;
235
+ /**
236
+ *
237
+ * @type {ApiAdminGamesFilterDataGet200ResponseResponseObjectProvidersInner}
238
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
239
+ */
240
+ category: ApiAdminGamesFilterDataGet200ResponseResponseObjectProvidersInner;
241
+ /**
242
+ *
243
+ * @type {ApiAdminGamesFilterDataGet200ResponseResponseObjectProvidersInner}
244
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGames
245
+ */
246
+ subCategory: ApiAdminGamesFilterDataGet200ResponseResponseObjectProvidersInner;
34
247
  }
35
248
 
36
249
  /**
@@ -38,7 +251,36 @@ export interface ApiPublicGamesSlugGet200ResponseResponseObjectGames {
38
251
  */
39
252
  export function instanceOfApiPublicGamesSlugGet200ResponseResponseObjectGames(value: object): value is ApiPublicGamesSlugGet200ResponseResponseObjectGames {
40
253
  if (!('id' in value) || value['id'] === undefined) return false;
254
+ if (!('state' in value) || value['state'] === undefined) return false;
255
+ if (!('name' in value) || value['name'] === undefined) return false;
256
+ if (!('slug' in value) || value['slug'] === undefined) return false;
257
+ if (!('externalData' in value) || value['externalData'] === undefined) return false;
258
+ if (!('iconImageUrl' in value) || value['iconImageUrl'] === undefined) return false;
259
+ if (!('backgroundImageUrl' in value) || value['backgroundImageUrl'] === undefined) return false;
260
+ if (!('iconHorizontalUrl' in value) || value['iconHorizontalUrl'] === undefined) return false;
261
+ if (!('iconVerticalUrl' in value) || value['iconVerticalUrl'] === undefined) return false;
262
+ if (!('alternativeImageUrl' in value) || value['alternativeImageUrl'] === undefined) return false;
263
+ if (!('hasFreeSpin' in value) || value['hasFreeSpin'] === undefined) return false;
264
+ if (!('hasJackpot' in value) || value['hasJackpot'] === undefined) return false;
41
265
  if (!('hasDemo' in value) || value['hasDemo'] === undefined) return false;
266
+ if (!('deviceId' in value) || value['deviceId'] === undefined) return false;
267
+ if (!('registerReference' in value) || value['registerReference'] === undefined) return false;
268
+ if (!('volatilityId' in value) || value['volatilityId'] === undefined) return false;
269
+ if (!('isMiniGame' in value) || value['isMiniGame'] === undefined) return false;
270
+ if (!('hasBuyBonus' in value) || value['hasBuyBonus'] === undefined) return false;
271
+ if (!('rtpCustom' in value) || value['rtpCustom'] === undefined) return false;
272
+ if (!('lineCount' in value) || value['lineCount'] === undefined) return false;
273
+ if (!('categoryId' in value) || value['categoryId'] === undefined) return false;
274
+ if (!('subCategoryId' in value) || value['subCategoryId'] === undefined) return false;
275
+ if (!('providerId' in value) || value['providerId'] === undefined) return false;
276
+ if (!('isActive' in value) || value['isActive'] === undefined) return false;
277
+ if (!('isRecommended' in value) || value['isRecommended'] === undefined) return false;
278
+ if (!('favoriteCount' in value) || value['favoriteCount'] === undefined) return false;
279
+ if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
280
+ if (!('updatedAt' in value) || value['updatedAt'] === undefined) return false;
281
+ if (!('provider' in value) || value['provider'] === undefined) return false;
282
+ if (!('category' in value) || value['category'] === undefined) return false;
283
+ if (!('subCategory' in value) || value['subCategory'] === undefined) return false;
42
284
  return true;
43
285
  }
44
286
 
@@ -53,7 +295,40 @@ export function ApiPublicGamesSlugGet200ResponseResponseObjectGamesFromJSONTyped
53
295
  return {
54
296
 
55
297
  'id': json['id'],
298
+ 'state': json['state'],
299
+ 'name': json['name'],
300
+ 'slug': json['slug'],
301
+ 'brandGroup': json['brandGroup'] == null ? undefined : json['brandGroup'],
302
+ 'externalData': json['externalData'],
303
+ 'iconImageUrl': json['iconImageUrl'],
304
+ 'backgroundImageUrl': json['backgroundImageUrl'],
305
+ 'iconHorizontalUrl': json['iconHorizontalUrl'],
306
+ 'iconVerticalUrl': json['iconVerticalUrl'],
307
+ 'alternativeImageUrl': json['alternativeImageUrl'],
308
+ 'hasFreeSpin': json['hasFreeSpin'],
309
+ 'hasJackpot': json['hasJackpot'],
56
310
  'hasDemo': json['hasDemo'],
311
+ 'deviceId': json['deviceId'],
312
+ 'registerReference': json['registerReference'],
313
+ 'volatilityId': json['volatilityId'],
314
+ 'isMiniGame': json['isMiniGame'],
315
+ 'hasBuyBonus': json['hasBuyBonus'],
316
+ 'languages': json['languages'] == null ? undefined : json['languages'],
317
+ 'gameRtps': json['gameRtps'] == null ? undefined : json['gameRtps'],
318
+ 'rtpCustom': json['rtpCustom'],
319
+ 'limitGroups': json['limitGroups'] == null ? undefined : json['limitGroups'],
320
+ 'lineCount': json['lineCount'],
321
+ 'categoryId': json['categoryId'],
322
+ 'subCategoryId': json['subCategoryId'],
323
+ 'providerId': json['providerId'],
324
+ 'isActive': json['isActive'],
325
+ 'isRecommended': json['isRecommended'],
326
+ 'favoriteCount': json['favoriteCount'],
327
+ 'createdAt': json['createdAt'],
328
+ 'updatedAt': json['updatedAt'],
329
+ 'provider': ApiPublicGamesSlugGet200ResponseResponseObjectGamesProviderFromJSON(json['provider']),
330
+ 'category': ApiAdminGamesFilterDataGet200ResponseResponseObjectProvidersInnerFromJSON(json['category']),
331
+ 'subCategory': ApiAdminGamesFilterDataGet200ResponseResponseObjectProvidersInnerFromJSON(json['subCategory']),
57
332
  };
58
333
  }
59
334
 
@@ -69,7 +344,40 @@ export function ApiPublicGamesSlugGet200ResponseResponseObjectGamesFromJSONTyped
69
344
  return {
70
345
 
71
346
  'id': value['id'],
347
+ 'state': value['state'],
348
+ 'name': value['name'],
349
+ 'slug': value['slug'],
350
+ 'brandGroup': value['brandGroup'],
351
+ 'externalData': value['externalData'],
352
+ 'iconImageUrl': value['iconImageUrl'],
353
+ 'backgroundImageUrl': value['backgroundImageUrl'],
354
+ 'iconHorizontalUrl': value['iconHorizontalUrl'],
355
+ 'iconVerticalUrl': value['iconVerticalUrl'],
356
+ 'alternativeImageUrl': value['alternativeImageUrl'],
357
+ 'hasFreeSpin': value['hasFreeSpin'],
358
+ 'hasJackpot': value['hasJackpot'],
72
359
  'hasDemo': value['hasDemo'],
360
+ 'deviceId': value['deviceId'],
361
+ 'registerReference': value['registerReference'],
362
+ 'volatilityId': value['volatilityId'],
363
+ 'isMiniGame': value['isMiniGame'],
364
+ 'hasBuyBonus': value['hasBuyBonus'],
365
+ 'languages': value['languages'],
366
+ 'gameRtps': value['gameRtps'],
367
+ 'rtpCustom': value['rtpCustom'],
368
+ 'limitGroups': value['limitGroups'],
369
+ 'lineCount': value['lineCount'],
370
+ 'categoryId': value['categoryId'],
371
+ 'subCategoryId': value['subCategoryId'],
372
+ 'providerId': value['providerId'],
373
+ 'isActive': value['isActive'],
374
+ 'isRecommended': value['isRecommended'],
375
+ 'favoriteCount': value['favoriteCount'],
376
+ 'createdAt': value['createdAt'],
377
+ 'updatedAt': value['updatedAt'],
378
+ 'provider': ApiPublicGamesSlugGet200ResponseResponseObjectGamesProviderToJSON(value['provider']),
379
+ 'category': ApiAdminGamesFilterDataGet200ResponseResponseObjectProvidersInnerToJSON(value['category']),
380
+ 'subCategory': ApiAdminGamesFilterDataGet200ResponseResponseObjectProvidersInnerToJSON(value['subCategory']),
73
381
  };
74
382
  }
75
383
 
@@ -0,0 +1,58 @@
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.instanceOfApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider = instanceOfApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider;
17
+ exports.ApiPublicGamesSlugGet200ResponseResponseObjectGamesProviderFromJSON = ApiPublicGamesSlugGet200ResponseResponseObjectGamesProviderFromJSON;
18
+ exports.ApiPublicGamesSlugGet200ResponseResponseObjectGamesProviderFromJSONTyped = ApiPublicGamesSlugGet200ResponseResponseObjectGamesProviderFromJSONTyped;
19
+ exports.ApiPublicGamesSlugGet200ResponseResponseObjectGamesProviderToJSON = ApiPublicGamesSlugGet200ResponseResponseObjectGamesProviderToJSON;
20
+ exports.ApiPublicGamesSlugGet200ResponseResponseObjectGamesProviderToJSONTyped = ApiPublicGamesSlugGet200ResponseResponseObjectGamesProviderToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the ApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider interface.
23
+ */
24
+ function instanceOfApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('name' in value) || value['name'] === undefined)
28
+ return false;
29
+ if (!('slug' in value) || value['slug'] === undefined)
30
+ return false;
31
+ return true;
32
+ }
33
+ function ApiPublicGamesSlugGet200ResponseResponseObjectGamesProviderFromJSON(json) {
34
+ return ApiPublicGamesSlugGet200ResponseResponseObjectGamesProviderFromJSONTyped(json, false);
35
+ }
36
+ function ApiPublicGamesSlugGet200ResponseResponseObjectGamesProviderFromJSONTyped(json, ignoreDiscriminator) {
37
+ if (json == null) {
38
+ return json;
39
+ }
40
+ return {
41
+ 'id': json['id'],
42
+ 'name': json['name'],
43
+ 'slug': json['slug'],
44
+ };
45
+ }
46
+ function ApiPublicGamesSlugGet200ResponseResponseObjectGamesProviderToJSON(json) {
47
+ return ApiPublicGamesSlugGet200ResponseResponseObjectGamesProviderToJSONTyped(json, false);
48
+ }
49
+ function ApiPublicGamesSlugGet200ResponseResponseObjectGamesProviderToJSONTyped(value, ignoreDiscriminator = false) {
50
+ if (value == null) {
51
+ return value;
52
+ }
53
+ return {
54
+ 'id': value['id'],
55
+ 'name': value['name'],
56
+ 'slug': value['slug'],
57
+ };
58
+ }
@@ -0,0 +1,84 @@
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
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface ApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider
20
+ */
21
+ export interface ApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider
26
+ */
27
+ id: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider
32
+ */
33
+ name: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof ApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider
38
+ */
39
+ slug: string | null;
40
+ }
41
+
42
+ /**
43
+ * Check if a given object implements the ApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider interface.
44
+ */
45
+ export function instanceOfApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider(value: object): value is ApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider {
46
+ if (!('id' in value) || value['id'] === undefined) return false;
47
+ if (!('name' in value) || value['name'] === undefined) return false;
48
+ if (!('slug' in value) || value['slug'] === undefined) return false;
49
+ return true;
50
+ }
51
+
52
+ export function ApiPublicGamesSlugGet200ResponseResponseObjectGamesProviderFromJSON(json: any): ApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider {
53
+ return ApiPublicGamesSlugGet200ResponseResponseObjectGamesProviderFromJSONTyped(json, false);
54
+ }
55
+
56
+ export function ApiPublicGamesSlugGet200ResponseResponseObjectGamesProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider {
57
+ if (json == null) {
58
+ return json;
59
+ }
60
+ return {
61
+
62
+ 'id': json['id'],
63
+ 'name': json['name'],
64
+ 'slug': json['slug'],
65
+ };
66
+ }
67
+
68
+ export function ApiPublicGamesSlugGet200ResponseResponseObjectGamesProviderToJSON(json: any): ApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider {
69
+ return ApiPublicGamesSlugGet200ResponseResponseObjectGamesProviderToJSONTyped(json, false);
70
+ }
71
+
72
+ export function ApiPublicGamesSlugGet200ResponseResponseObjectGamesProviderToJSONTyped(value?: ApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider | null, ignoreDiscriminator: boolean = false): any {
73
+ if (value == null) {
74
+ return value;
75
+ }
76
+
77
+ return {
78
+
79
+ 'id': value['id'],
80
+ 'name': value['name'],
81
+ 'slug': value['slug'],
82
+ };
83
+ }
84
+
package/models/index.js CHANGED
@@ -287,6 +287,7 @@ __exportStar(require("./ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner"
287
287
  __exportStar(require("./ApiPublicGamesSlugGet200Response"), exports);
288
288
  __exportStar(require("./ApiPublicGamesSlugGet200ResponseResponseObject"), exports);
289
289
  __exportStar(require("./ApiPublicGamesSlugGet200ResponseResponseObjectGames"), exports);
290
+ __exportStar(require("./ApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider"), exports);
290
291
  __exportStar(require("./ApiPublicPolicyGet200Response"), exports);
291
292
  __exportStar(require("./ApiPublicPolicyGet200ResponseResponseObject"), exports);
292
293
  __exportStar(require("./ApiPublicProvidersGet200Response"), exports);
package/models/index.ts CHANGED
@@ -271,6 +271,7 @@ export * from './ApiPublicGamesSeoGet200ResponseResponseObjectItemsInner';
271
271
  export * from './ApiPublicGamesSlugGet200Response';
272
272
  export * from './ApiPublicGamesSlugGet200ResponseResponseObject';
273
273
  export * from './ApiPublicGamesSlugGet200ResponseResponseObjectGames';
274
+ export * from './ApiPublicGamesSlugGet200ResponseResponseObjectGamesProvider';
274
275
  export * from './ApiPublicPolicyGet200Response';
275
276
  export * from './ApiPublicPolicyGet200ResponseResponseObject';
276
277
  export * from './ApiPublicProvidersGet200Response';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gambulls-org/gambulls-apis",
3
- "version": "3.0.137",
3
+ "version": "3.0.139",
4
4
  "main": "index.ts",
5
5
  "scripts": {
6
6
  "build": "tsc",