jourycms-sdk 1.1.21 → 1.1.22

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,6 +15,7 @@ export default class UsersClient extends BaseClient {
15
15
  getById(id: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
16
16
  getByTrackingId(tracking_id: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
17
17
  getByName(name: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
18
+ aggregateByRoles(config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.AggregateByRoles.Response>>;
18
19
  relateToCompany(id: string, company_id: string, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.Update.Response>>;
19
20
  relateToStore(id: string, store_id: string, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.Update.Response>>;
20
21
  listUserPermissions(id: string, params?: ApiAlias.ListUserPermissions.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.ListUserPermissions.Response>>;
@@ -1 +1 @@
1
- {"version":3,"file":"users.client.d.ts","sourceRoot":"","sources":["../../../../src/containers/auth/clients/users.client.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,sBAAsB,CAAC;AAE9C,OAAO,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC;AAEhC,OAAO,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC;AAGjD,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,UAAU;gBACrC,SAAS,EAAE,GAAG,CAAC,iBAAiB;IAKtC,MAAM,CACV,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAC7B,MAAM,CAAC,EAAE,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B,CAAC,OAAO,EACxC,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAC1B,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC;IAW7D,mBAAmB,CACvB,EAAE,EAAE,MAAM,EACV,IAAI,CAAC,EAAE,QAAQ,CAAC,mBAAmB,CAAC,OAAO,EAC3C,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAC1B,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,iBAAiB,CAAC,QAAQ,CAAC,CAAC;IAU7D,mBAAmB,CACvB,QAAQ,EAAE,MAAM,EAChB,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAC1B,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,mBAAmB,CAAC,QAAQ,CAAC,CAAC;IAY/D,oBAAoB,CACxB,QAAQ,EAAE,MAAM,EAChB,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAC1B,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,oBAAoB,CAAC,QAAQ,CAAC,CAAC;CAWvE"}
@@ -80,6 +80,12 @@ class UsersClient extends base_client_1.default {
80
80
  headers: this.container.sdk.generateHeadersFromRequestConfig(config),
81
81
  });
82
82
  }
83
+ // aggregateByRoles
84
+ async aggregateByRoles(config) {
85
+ return await this.container.sdk.httpClient.get(this.generatePrefix(`/aggregate-by-roles`), {}, {
86
+ headers: this.container.sdk.generateHeadersFromRequestConfig(config),
87
+ });
88
+ }
83
89
  async relateToCompany(id, company_id, config) {
84
90
  return await this.container.sdk.httpClient.put(this.generatePrefix(`/${id}/relate-to-company/${company_id}`), {}, {
85
91
  headers: this.container.sdk.generateHeadersFromRequestConfig(config),
@@ -11,5 +11,6 @@ export default class ArticlesClient extends BaseClient {
11
11
  getById(id: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
12
12
  getByName(tracking_id: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
13
13
  getBySlug(name: string, params?: ApiAlias.GetOne.Request, config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.GetOne.Response>>;
14
+ aggregateByTypes(config?: SDK.TRequestConfig): Promise<SDK.TResponseDatum<ApiAlias.AggregateByTypes.Response>>;
14
15
  }
15
16
  //# sourceMappingURL=articles.client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"articles.client.d.ts","sourceRoot":"","sources":["../../../../src/containers/content/clients/articles.client.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,sBAAsB,CAAC;AAE9C,OAAO,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC;AAEhC,OAAO,QAAQ,GAAG,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC;AAGtD,MAAM,CAAC,OAAO,OAAO,cAAe,SAAQ,UAAU;gBAGxC,SAAS,EAAE,GAAG,CAAC,iBAAiB;IAKtC,MAAM,CAAC,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAOzH,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAOrI,MAAM,CAAC,EAAE,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,G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AAE,MAAM,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAOzI,SAAS,CAAC,WAAW,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAOpJ,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC;IAO7I,gBAAgB,CACpB,MAAM,CAAC,EAAE,GAAG,CAAC,cAAc,GAC1B,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,QAAQ,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;CAYnE"}
@@ -56,5 +56,11 @@ class ArticlesClient extends base_client_1.default {
56
56
  headers: this.container.sdk.generateHeadersFromRequestConfig(config)
57
57
  });
58
58
  }
59
+ // aggregateByTypes
60
+ async aggregateByTypes(config) {
61
+ return await this.container.sdk.httpClient.get(this.generatePrefix(`/aggregate-by-types`), {}, {
62
+ headers: this.container.sdk.generateHeadersFromRequestConfig(config),
63
+ });
64
+ }
59
65
  }
60
66
  exports.default = ArticlesClient;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jourycms-sdk",
3
- "version": "1.1.21",
3
+ "version": "1.1.22",
4
4
  "description": "Sdk for Joury CMS",
5
5
  "main": "dist/index.js",
6
6
  "files": [