@infisale-client/api 1.2.3 → 1.2.5

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.
package/dist/api/api.d.ts CHANGED
@@ -662,7 +662,7 @@ export interface IBasketResponse {
662
662
  * @type {string}
663
663
  * @memberof IBasketResponse
664
664
  */
665
- 'user': string;
665
+ 'user'?: string;
666
666
  /**
667
667
  *
668
668
  * @type {Array<IBasketResponseItemsInner>}
@@ -696,10 +696,10 @@ export interface IBasketResponseItemsInner {
696
696
  'amount': number;
697
697
  /**
698
698
  *
699
- * @type {IProductsResponse}
699
+ * @type {IProductResponse}
700
700
  * @memberof IBasketResponseItemsInner
701
701
  */
702
- 'product': IProductsResponse;
702
+ 'product': IProductResponse;
703
703
  /**
704
704
  *
705
705
  * @type {string}
@@ -7137,7 +7137,7 @@ export interface PickIBasketExcludeKeyofIBasketItems {
7137
7137
  * @type {string}
7138
7138
  * @memberof PickIBasketExcludeKeyofIBasketItems
7139
7139
  */
7140
- 'user': string;
7140
+ 'user'?: string;
7141
7141
  }
7142
7142
  /**
7143
7143
  * From T, pick a set of properties whose keys are in the union K
package/dist/index.d.ts CHANGED
@@ -18,6 +18,7 @@ interface IApiClient {
18
18
  TemplateApi: doc.TemplateApi;
19
19
  ContactFormApi: doc.ContactFormApi;
20
20
  SitemapApi: doc.SitemapApi;
21
+ BasketApi: doc.BasketApi;
21
22
  interceptors: {
22
23
  request: AxiosInterceptorManager<InternalAxiosRequestConfig>;
23
24
  response: AxiosInterceptorManager<AxiosResponse>;
@@ -49,6 +50,7 @@ export declare class ApiClient implements IApiClient {
49
50
  TemplateApi: doc.TemplateApi;
50
51
  ContactFormApi: doc.ContactFormApi;
51
52
  SitemapApi: doc.SitemapApi;
53
+ BasketApi: doc.BasketApi;
52
54
  constructor(baseURL: string, options?: {
53
55
  headers?: Record<string, string>;
54
56
  } | undefined);
package/dist/index.js CHANGED
@@ -62,6 +62,7 @@ class ApiClient {
62
62
  this.TemplateApi = new doc.TemplateApi(undefined, this.baseURL, this.api);
63
63
  this.ContactFormApi = new doc.ContactFormApi(undefined, this.baseURL, this.api);
64
64
  this.SitemapApi = new doc.SitemapApi(undefined, this.baseURL, this.api);
65
+ this.BasketApi = new doc.BasketApi(undefined, this.baseURL, this.api);
65
66
  this.interceptors = {
66
67
  request: this.api.interceptors.request,
67
68
  response: this.api.interceptors.response,
package/dist/index.mjs CHANGED
@@ -30,6 +30,7 @@ export class ApiClient {
30
30
  this.TemplateApi = new doc.TemplateApi(undefined, this.baseURL, this.api);
31
31
  this.ContactFormApi = new doc.ContactFormApi(undefined, this.baseURL, this.api);
32
32
  this.SitemapApi = new doc.SitemapApi(undefined, this.baseURL, this.api);
33
+ this.BasketApi = new doc.BasketApi(undefined, this.baseURL, this.api);
33
34
  this.interceptors = {
34
35
  request: this.api.interceptors.request,
35
36
  response: this.api.interceptors.response,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infisale-client/api",
3
- "version": "1.2.3",
3
+ "version": "1.2.5",
4
4
  "description": "api-sdk",
5
5
  "author": "Muhammet KÖKLÜ <105980019+byhipernova@users.noreply.github.com>",
6
6
  "homepage": "https://github.com/infisale/infisale-client#readme",
@@ -37,5 +37,5 @@
37
37
  "bugs": {
38
38
  "url": "https://github.com/infisale/infisale-client/issues"
39
39
  },
40
- "gitHead": "fe377e6490470e925a4b81eabea1b2a7a34a181f"
40
+ "gitHead": "84bd0c5ca67fccbbf22b56dab3c0b69c86aea02a"
41
41
  }