@takaro/apiclient 0.0.0-dev.fc39ea2 → 0.0.0-next.09a4350

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
@@ -18,6 +18,7 @@ import {
18
18
  ShopOrderApi,
19
19
  ShopListingApi,
20
20
  ShopCategoryApi,
21
+ ShopActionApi,
21
22
  TrackingApi,
22
23
  EntityApi,
23
24
  AnalyticsApi,
@@ -266,6 +267,16 @@ export class Client extends BaseApiClient<IApiClientConfig> {
266
267
  );
267
268
  }
268
269
 
270
+ get shopAction() {
271
+ return new ShopActionApi(
272
+ {
273
+ isJsonMime: this.isJsonMime,
274
+ },
275
+ '',
276
+ this.axios,
277
+ );
278
+ }
279
+
269
280
  get shopOrder() {
270
281
  return new ShopOrderApi(
271
282
  {