api-client-fideicomisos 1.1.0 → 1.2.0

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/client.d.ts CHANGED
@@ -15,10 +15,10 @@ export function client(options: any): {
15
15
  pageSize?: number | undefined;
16
16
  order?: string | undefined;
17
17
  }) => any;
18
- getFilters: ({ year, topicDocumentId, companieDocumentId, search, page, pageSize, sortField, sortOrder, }?: {
18
+ getFilters: ({ year, topicDocumentId, categorieDocumentId, search, page, pageSize, sortField, sortOrder, }?: {
19
19
  year?: number | undefined;
20
20
  topicDocumentId?: string | undefined;
21
- companieDocumentId?: string | undefined;
21
+ categorieDocumentId?: string | undefined;
22
22
  search?: string | undefined;
23
23
  page?: number | undefined;
24
24
  pageSize?: number | undefined;
@@ -36,8 +36,8 @@ export function client(options: any): {
36
36
  getCategories: () => any;
37
37
  };
38
38
  projects: {
39
- getById: ({ blogId }: {
40
- blogId: any;
39
+ getById: ({ projectId }: {
40
+ projectId: any;
41
41
  }) => any;
42
42
  getAll: ({ page, pageSize, order }?: {
43
43
  page?: number | undefined;
@@ -10,10 +10,10 @@ declare function blog({ client }: {
10
10
  pageSize?: number | undefined;
11
11
  order?: string | undefined;
12
12
  }) => any;
13
- getFilters: ({ year, topicDocumentId, companieDocumentId, search, page, pageSize, sortField, sortOrder, }?: {
13
+ getFilters: ({ year, topicDocumentId, categorieDocumentId, search, page, pageSize, sortField, sortOrder, }?: {
14
14
  year?: number | undefined;
15
15
  topicDocumentId?: string | undefined;
16
- companieDocumentId?: string | undefined;
16
+ categorieDocumentId?: string | undefined;
17
17
  search?: string | undefined;
18
18
  page?: number | undefined;
19
19
  pageSize?: number | undefined;
@@ -61,7 +61,7 @@ function blog(_ref) {
61
61
  * @param {Object} params
62
62
  * @param {number} [params.year]
63
63
  * @param {string} [params.topicDocumentId] - documentId del topic
64
- * @param {string} [params.companieDocumentId] - documentId de la compañía
64
+ * @param {string} [params.categorieDocumentId] - documentId de la compañía
65
65
  * @param {string} [params.search]
66
66
  * @param {number} [params.page=1]
67
67
  * @param {number} [params.pageSize=10]
@@ -72,7 +72,7 @@ function blog(_ref) {
72
72
  var _ref6 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
73
73
  year = _ref6.year,
74
74
  topicDocumentId = _ref6.topicDocumentId,
75
- companieDocumentId = _ref6.companieDocumentId,
75
+ categorieDocumentId = _ref6.categorieDocumentId,
76
76
  search = _ref6.search,
77
77
  _ref6$page = _ref6.page,
78
78
  page = _ref6$page === void 0 ? 1 : _ref6$page,
@@ -89,7 +89,7 @@ function blog(_ref) {
89
89
  params.append("sortOrder", sortOrder);
90
90
  if (year != null) params.append("year", year.toString());
91
91
  if (topicDocumentId) params.append("topicDocumentId", topicDocumentId);
92
- if (companieDocumentId) params.append("companieDocumentId", companieDocumentId);
92
+ if (categorieDocumentId) params.append("categorieDocumentId", categorieDocumentId);
93
93
  if (search) params.append("search", search);
94
94
  return client({
95
95
  url: "/api/blogs-filter?".concat(params.toString()),
@@ -2,8 +2,8 @@ export = projects;
2
2
  declare function projects({ client }: {
3
3
  client: any;
4
4
  }): {
5
- getById: ({ blogId }: {
6
- blogId: any;
5
+ getById: ({ projectId }: {
6
+ projectId: any;
7
7
  }) => any;
8
8
  getAll: ({ page, pageSize, order }?: {
9
9
  page?: number | undefined;
@@ -3,9 +3,9 @@
3
3
  function projects(_ref) {
4
4
  var client = _ref.client;
5
5
  function getById(_ref2) {
6
- var blogId = _ref2.blogId;
6
+ var projectId = _ref2.projectId;
7
7
  return client({
8
- url: "/api/projects/".concat(blogId),
8
+ url: "/api/projects/".concat(projectId),
9
9
  method: "get"
10
10
  });
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "api-client-fideicomisos",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "description": "Api client Banco Provincia Fideicomisos",
5
5
  "homepage": "https://github.com/TeoCoop/api-client-fideicomisos.git",
6
6
  "bugs": {
@@ -53,7 +53,7 @@ function blog({ client }) {
53
53
  * @param {Object} params
54
54
  * @param {number} [params.year]
55
55
  * @param {string} [params.topicDocumentId] - documentId del topic
56
- * @param {string} [params.companieDocumentId] - documentId de la compañía
56
+ * @param {string} [params.categorieDocumentId] - documentId de la compañía
57
57
  * @param {string} [params.search]
58
58
  * @param {number} [params.page=1]
59
59
  * @param {number} [params.pageSize=10]
@@ -63,7 +63,7 @@ function blog({ client }) {
63
63
  function getFilters({
64
64
  year,
65
65
  topicDocumentId,
66
- companieDocumentId,
66
+ categorieDocumentId,
67
67
  search,
68
68
  page = 1,
69
69
  pageSize = 10,
@@ -79,8 +79,8 @@ function blog({ client }) {
79
79
 
80
80
  if (year != null) params.append("year", year.toString());
81
81
  if (topicDocumentId) params.append("topicDocumentId", topicDocumentId);
82
- if (companieDocumentId)
83
- params.append("companieDocumentId", companieDocumentId);
82
+ if (categorieDocumentId)
83
+ params.append("categorieDocumentId", categorieDocumentId);
84
84
  if (search) params.append("search", search);
85
85
 
86
86
  return client({
@@ -1,7 +1,7 @@
1
1
  function projects({ client }) {
2
- function getById({ blogId }) {
2
+ function getById({ projectId }) {
3
3
  return client({
4
- url: `/api/projects/${blogId}`,
4
+ url: `/api/projects/${projectId}`,
5
5
  method: "get",
6
6
  });
7
7
  }