@takaro/apiclient 0.0.0-dev.b4ef6c0 → 0.0.0-dev.b605c7d

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.
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Takaro app-api
4
+ * Takaro API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: 0.0.0
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Takaro app-api
4
+ * Takaro API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: 0.0.0
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Takaro app-api
4
+ * Takaro API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: 0.0.0
@@ -117,7 +117,7 @@ export class Configuration {
117
117
  * @return True if the given MIME is JSON, false otherwise.
118
118
  */
119
119
  public isJsonMime(mime: string): boolean {
120
- const jsonMime: RegExp = new RegExp('^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
120
+ const jsonMime: RegExp = new RegExp('^(application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(;.*)?$', 'i');
121
121
  return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');
122
122
  }
123
123
  }
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Takaro app-api
4
+ * Takaro API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: 0.0.0
package/src/lib/client.ts CHANGED
@@ -14,10 +14,10 @@ import {
14
14
  EventApi,
15
15
  PlayerOnGameServerApi,
16
16
  ItemApi,
17
- StatsApi,
18
17
  ShopOrderApi,
19
18
  ShopListingApi,
20
19
  ShopCategoryApi,
20
+ ShopActionApi,
21
21
  TrackingApi,
22
22
  EntityApi,
23
23
  AnalyticsApi,
@@ -236,8 +236,8 @@ export class Client extends BaseApiClient<IApiClientConfig> {
236
236
  );
237
237
  }
238
238
 
239
- get stats() {
240
- return new StatsApi(
239
+ get shopListing() {
240
+ return new ShopListingApi(
241
241
  {
242
242
  isJsonMime: this.isJsonMime,
243
243
  },
@@ -246,8 +246,8 @@ export class Client extends BaseApiClient<IApiClientConfig> {
246
246
  );
247
247
  }
248
248
 
249
- get shopListing() {
250
- return new ShopListingApi(
249
+ get shopCategory() {
250
+ return new ShopCategoryApi(
251
251
  {
252
252
  isJsonMime: this.isJsonMime,
253
253
  },
@@ -256,8 +256,8 @@ export class Client extends BaseApiClient<IApiClientConfig> {
256
256
  );
257
257
  }
258
258
 
259
- get shopCategory() {
260
- return new ShopCategoryApi(
259
+ get shopAction() {
260
+ return new ShopActionApi(
261
261
  {
262
262
  isJsonMime: this.isJsonMime,
263
263
  },