@nomalism-com/api 0.43.58 → 0.43.60

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.ts CHANGED
@@ -1184,6 +1184,7 @@ declare class Repository$I implements Nomalism$1.Persona.IRepository {
1184
1184
  findByEmail(data: Nomalism$1.Persona.IFindByEmailRequest): Promise<Nomalism$1.Persona.IFindByEmailResponse[]>;
1185
1185
  findClientOrProvider(params: Nomalism$1.Persona.IFindClientOrProviderRequest): Promise<Nomalism$1.Persona.IFindClientOrProviderResponse[]>;
1186
1186
  findForGmail(params: Nomalism$1.Persona.IFindForGmailRequest): Promise<Nomalism$1.Persona.IFindForGmailResponse | null>;
1187
+ publicUpdate(selector: Nomalism$1.shared.IFindByIdRequest, body: Nomalism$1.Persona.IPublicUpdateRequest): Promise<void>;
1187
1188
  }
1188
1189
 
1189
1190
  declare namespace persona {
package/dist/index.js CHANGED
@@ -2872,6 +2872,9 @@ var Repository79 = class {
2872
2872
  const response = await this.api.get(`${this.route}for_gmail`, { params });
2873
2873
  return response.data;
2874
2874
  }
2875
+ async publicUpdate(selector, body) {
2876
+ await this.api.put(`${this.route}${selector.id}`, body);
2877
+ }
2875
2878
  };
2876
2879
 
2877
2880
  // src/modules/integration/projectInfo.ts
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@nomalism-com/api",
3
3
  "description": "A nomalism API package for performing HTTP requests on API endpoints",
4
- "version": "0.43.58",
4
+ "version": "0.43.60",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -23,7 +23,7 @@
23
23
  "prepack": "npm run lint && npm run build"
24
24
  },
25
25
  "dependencies": {
26
- "@nomalism-com/types": "^0.43.65",
26
+ "@nomalism-com/types": "^0.43.71",
27
27
  "axios": "^1.13.6"
28
28
  },
29
29
  "devDependencies": {