@salefony/api-sdk 1.0.14 → 1.0.15

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/index.d.mts CHANGED
@@ -1698,6 +1698,7 @@ interface AdminAcceptInvitePayload {
1698
1698
  * Store erişim davetleri API - backend /admin/invites uç noktaları.
1699
1699
  */
1700
1700
  declare class InviteResource extends BaseResource {
1701
+ private readonly _path;
1701
1702
  constructor(httpClient: AxiosInstance, path?: string);
1702
1703
  private get path();
1703
1704
  /**
@@ -1779,6 +1780,7 @@ interface AdminUpdateRegionPayload extends Partial<AdminCreateRegionPayload> {
1779
1780
  * Regions API - backend /admin/regions (Language tablosu = regions + languages tek şema).
1780
1781
  */
1781
1782
  declare class RegionResource extends BaseResource {
1783
+ private readonly _path;
1782
1784
  constructor(httpClient: AxiosInstance, path?: string);
1783
1785
  private get path();
1784
1786
  list(query?: {
package/dist/index.d.ts CHANGED
@@ -1698,6 +1698,7 @@ interface AdminAcceptInvitePayload {
1698
1698
  * Store erişim davetleri API - backend /admin/invites uç noktaları.
1699
1699
  */
1700
1700
  declare class InviteResource extends BaseResource {
1701
+ private readonly _path;
1701
1702
  constructor(httpClient: AxiosInstance, path?: string);
1702
1703
  private get path();
1703
1704
  /**
@@ -1779,6 +1780,7 @@ interface AdminUpdateRegionPayload extends Partial<AdminCreateRegionPayload> {
1779
1780
  * Regions API - backend /admin/regions (Language tablosu = regions + languages tek şema).
1780
1781
  */
1781
1782
  declare class RegionResource extends BaseResource {
1783
+ private readonly _path;
1782
1784
  constructor(httpClient: AxiosInstance, path?: string);
1783
1785
  private get path();
1784
1786
  list(query?: {
package/dist/index.js CHANGED
@@ -1949,12 +1949,13 @@ var NotificationResource = class extends BaseResource {
1949
1949
 
1950
1950
  // src/resources/admin/invite.ts
1951
1951
  var InviteResource = class extends BaseResource {
1952
+ _path;
1952
1953
  constructor(httpClient, path = "/admin/invites") {
1953
1954
  super(httpClient);
1954
- this.path = path;
1955
+ this._path = path;
1955
1956
  }
1956
1957
  get path() {
1957
- return this.path;
1958
+ return this._path;
1958
1959
  }
1959
1960
  /**
1960
1961
  * Davet listesi: GET /admin/invites?limit=&offset=&q=
@@ -2023,12 +2024,13 @@ var InviteResource = class extends BaseResource {
2023
2024
 
2024
2025
  // src/resources/admin/region.ts
2025
2026
  var RegionResource = class extends BaseResource {
2027
+ _path;
2026
2028
  constructor(httpClient, path = "/admin/regions") {
2027
2029
  super(httpClient);
2028
- this.path = path;
2030
+ this._path = path;
2029
2031
  }
2030
2032
  get path() {
2031
- return this.path;
2033
+ return this._path;
2032
2034
  }
2033
2035
  async list(query, options) {
2034
2036
  const params = {};
package/dist/index.mjs CHANGED
@@ -1856,12 +1856,13 @@ var NotificationResource = class extends BaseResource {
1856
1856
 
1857
1857
  // src/resources/admin/invite.ts
1858
1858
  var InviteResource = class extends BaseResource {
1859
+ _path;
1859
1860
  constructor(httpClient, path = "/admin/invites") {
1860
1861
  super(httpClient);
1861
- this.path = path;
1862
+ this._path = path;
1862
1863
  }
1863
1864
  get path() {
1864
- return this.path;
1865
+ return this._path;
1865
1866
  }
1866
1867
  /**
1867
1868
  * Davet listesi: GET /admin/invites?limit=&offset=&q=
@@ -1930,12 +1931,13 @@ var InviteResource = class extends BaseResource {
1930
1931
 
1931
1932
  // src/resources/admin/region.ts
1932
1933
  var RegionResource = class extends BaseResource {
1934
+ _path;
1933
1935
  constructor(httpClient, path = "/admin/regions") {
1934
1936
  super(httpClient);
1935
- this.path = path;
1937
+ this._path = path;
1936
1938
  }
1937
1939
  get path() {
1938
- return this.path;
1940
+ return this._path;
1939
1941
  }
1940
1942
  async list(query, options) {
1941
1943
  const params = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salefony/api-sdk",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "Salefony API SDK - Official SDK for Salefony Backend API. Full TypeScript support, SSR-ready, Admin & Frontstore resources.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",