jourycms-sdk 1.1.17 → 1.1.20

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jourycms-sdk",
3
- "version": "1.1.17",
3
+ "version": "1.1.20",
4
4
  "description": "Sdk for Joury CMS",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -383,6 +383,29 @@ declare module Levelup {
383
383
  };
384
384
  };
385
385
  }
386
+
387
+
388
+ /**
389
+ * --------------------------------------------------------------------------
390
+ * aggregateByRoles
391
+ * --------------------------------------------------------------------------
392
+ * @link
393
+ * @fires ArticlesService.aggregateByRoles
394
+ * @param {Levelup.CMS.V1.Api.Articles.AggregateByRoles.Request} query
395
+ * @returns {Levelup.CMS.V1.Api.Articles.AggregateByRoles.Response}
396
+ * @method GET
397
+ *
398
+ */
399
+ export namespace AggregateByRoles {
400
+ export type Request = Utils.Api.Request.Build<{}>;
401
+ export type Response =Utils.Api.Response.BuildListResponse<{
402
+ role: string;
403
+ count: number;
404
+ }>;
405
+ }
406
+
407
+
408
+
386
409
  }
387
410
  }
388
411
  }
@@ -101,6 +101,30 @@ declare module Levelup {
101
101
  export type Response<T extends Entity.Article = Entity.Article> =
102
102
  Utils.Api.Response.BuildListResponse<T, 'users' | 'article_types' | 'linked_articles'>;
103
103
  }
104
+
105
+ /**
106
+ * --------------------------------------------------------------------------
107
+ * aggregateByTypes
108
+ * --------------------------------------------------------------------------
109
+ * @link
110
+ * @fires ArticlesService.aggregateByTypes
111
+ * @param {Levelup.CMS.V1.Api.Articles.AggregateByTypes.Request} query
112
+ * @returns {Levelup.CMS.V1.Api.Articles.AggregateByTypes.Response}
113
+ * @method GET
114
+ *
115
+ */
116
+ export namespace AggregateByTypes {
117
+ export type Request = Utils.Api.Request.Build<{}>;
118
+ export type Response =Utils.Api.Response.BuildListResponse<{
119
+ article_type: string;
120
+ count: number;
121
+ },
122
+ 'article_types'
123
+ >;
124
+ }
125
+
126
+
127
+
104
128
  }
105
129
  }
106
130
  }