@skravets/eapi 0.0.58 → 0.0.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.
@@ -129,7 +129,7 @@ interface components {
129
129
  channel_id: number;
130
130
  /**
131
131
  * Format: date-time
132
- * @example 2026-03-03T13:11:09.496Z
132
+ * @example 2026-03-05T00:27:23.407Z
133
133
  */
134
134
  message_created_at: string;
135
135
  /** @example 123 */
@@ -307,6 +307,16 @@ interface components {
307
307
  metadata?: {
308
308
  [key: string]: unknown;
309
309
  };
310
+ /**
311
+ * @description Template variables for {{placeholder}} substitution in message text. Fallback: empty string.
312
+ * @example {
313
+ * "name": "John",
314
+ * "promo": "SALE20"
315
+ * }
316
+ */
317
+ variables?: {
318
+ [key: string]: string | undefined;
319
+ };
310
320
  };
311
321
  IDeleteMessage: {
312
322
  /**
@@ -949,8 +959,17 @@ interface components {
949
959
  */
950
960
  to: string;
951
961
  };
962
+ MimicProductUrlDto: {
963
+ /** @example https://example.com/product/123 */
964
+ productUrl: string;
965
+ };
952
966
  EditTextDto: {
953
- replace: components["schemas"]["TextReplaceDto"];
967
+ /** @description Replace text substring */
968
+ replace?: components["schemas"]["TextReplaceDto"];
969
+ /** @description Assign mimic links by product URL */
970
+ assignMimicLinks?: components["schemas"]["MimicProductUrlDto"];
971
+ /** @description Replace mimic URL by product URL */
972
+ replaceMimicUrl?: components["schemas"]["MimicProductUrlDto"];
954
973
  };
955
974
  EditOperationDto: {
956
975
  text: components["schemas"]["EditTextDto"];
@@ -129,7 +129,7 @@ interface components {
129
129
  channel_id: number;
130
130
  /**
131
131
  * Format: date-time
132
- * @example 2026-03-03T13:11:09.496Z
132
+ * @example 2026-03-05T00:27:23.407Z
133
133
  */
134
134
  message_created_at: string;
135
135
  /** @example 123 */
@@ -307,6 +307,16 @@ interface components {
307
307
  metadata?: {
308
308
  [key: string]: unknown;
309
309
  };
310
+ /**
311
+ * @description Template variables for {{placeholder}} substitution in message text. Fallback: empty string.
312
+ * @example {
313
+ * "name": "John",
314
+ * "promo": "SALE20"
315
+ * }
316
+ */
317
+ variables?: {
318
+ [key: string]: string | undefined;
319
+ };
310
320
  };
311
321
  IDeleteMessage: {
312
322
  /**
@@ -949,8 +959,17 @@ interface components {
949
959
  */
950
960
  to: string;
951
961
  };
962
+ MimicProductUrlDto: {
963
+ /** @example https://example.com/product/123 */
964
+ productUrl: string;
965
+ };
952
966
  EditTextDto: {
953
- replace: components["schemas"]["TextReplaceDto"];
967
+ /** @description Replace text substring */
968
+ replace?: components["schemas"]["TextReplaceDto"];
969
+ /** @description Assign mimic links by product URL */
970
+ assignMimicLinks?: components["schemas"]["MimicProductUrlDto"];
971
+ /** @description Replace mimic URL by product URL */
972
+ replaceMimicUrl?: components["schemas"]["MimicProductUrlDto"];
954
973
  };
955
974
  EditOperationDto: {
956
975
  text: components["schemas"]["EditTextDto"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skravets/eapi",
3
- "version": "0.0.58",
3
+ "version": "0.0.60",
4
4
  "module": "./dist/index.js",
5
5
  "main": "./dist/index.cjs",
6
6
  "types": "./dist/index.d.ts",