@nomalism-com/api 0.39.3 → 0.39.5

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.cjs CHANGED
@@ -4115,9 +4115,10 @@ var Repository115 = class {
4115
4115
  );
4116
4116
  return response.data;
4117
4117
  }
4118
- async editPreviewChatMessage(selector) {
4118
+ async editPreviewChatMessage(selector, data) {
4119
4119
  const response = await this.api.post(
4120
- `${this.route}edit_preview_chat_message/${selector.id}`
4120
+ `${this.route}edit_preview_chat_message/${selector.id}`,
4121
+ data
4121
4122
  );
4122
4123
  return response.data;
4123
4124
  }
package/dist/index.d.ts CHANGED
@@ -1819,7 +1819,7 @@ declare class Repository implements Nomalism$1.Gmails.IRepository {
1819
1819
  auth(): Promise<string>;
1820
1820
  emails(): Promise<Nomalism$1.Gmails.IGmailsResponse[]>;
1821
1821
  executeGmailCommand(selector: Nomalism$1.shared.IFindByIdRequest): Promise<Nomalism$1.Gmails.IGmailsResponse | null>;
1822
- editPreviewChatMessage(selector: Nomalism$1.Gmails.IEditPreviewChatMessageRequest): Promise<Nomalism$1.Gmails.IEditPreviewChatMessageResponse | null>;
1822
+ editPreviewChatMessage(selector: Nomalism$1.shared.IFindByIdRequest, data: Nomalism$1.Gmails.IEditPreviewChatMessageRequest): Promise<Nomalism$1.Gmails.IEditPreviewChatMessageResponse | null>;
1823
1823
  }
1824
1824
 
1825
1825
  declare namespace gmails {
package/dist/index.js CHANGED
@@ -4115,9 +4115,10 @@ var Repository115 = class {
4115
4115
  );
4116
4116
  return response.data;
4117
4117
  }
4118
- async editPreviewChatMessage(selector) {
4118
+ async editPreviewChatMessage(selector, data) {
4119
4119
  const response = await this.api.post(
4120
- `${this.route}edit_preview_chat_message/${selector.id}`
4120
+ `${this.route}edit_preview_chat_message/${selector.id}`,
4121
+ data
4121
4122
  );
4122
4123
  return response.data;
4123
4124
  }
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.39.3",
4
+ "version": "0.39.5",
5
5
  "author": "Nomalism <it.nomalism@gmail.com> (https://https://nomalism.com/)",
6
6
  "license": "UNLICENSED",
7
7
  "type": "module",
@@ -26,7 +26,7 @@
26
26
  "prepack": "npm run lint && npm run build"
27
27
  },
28
28
  "dependencies": {
29
- "@nomalism-com/types": "^0.39.10",
29
+ "@nomalism-com/types": "^0.39.12",
30
30
  "axios": "^1.9.0"
31
31
  },
32
32
  "devDependencies": {