@epilot/message-client 1.17.3 → 1.17.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.
Files changed (2) hide show
  1. package/dist/openapi.d.ts +0 -173
  2. package/package.json +2 -2
package/dist/openapi.d.ts CHANGED
@@ -1170,12 +1170,6 @@ declare namespace Paths {
1170
1170
  }
1171
1171
  namespace Responses {
1172
1172
  export interface $200 {
1173
- /**
1174
- * Total of unread messages
1175
- * example:
1176
- * 14
1177
- */
1178
- count: number;
1179
1173
  /**
1180
1174
  * Total of unread messages
1181
1175
  * example:
@@ -1382,151 +1376,6 @@ declare namespace Paths {
1382
1376
  }
1383
1377
  }
1384
1378
  }
1385
- namespace SearchMessages {
1386
- export type RequestBody = Components.Schemas.SearchParamsV2;
1387
- namespace Responses {
1388
- export interface $200 {
1389
- /**
1390
- * Total of matched messages
1391
- * example:
1392
- * 14
1393
- */
1394
- hits: number;
1395
- /**
1396
- * Matched messages
1397
- */
1398
- results: {
1399
- /**
1400
- * Entity ID
1401
- * example:
1402
- * 3fa85f64-5717-4562-b3fc-2c963f66afa6
1403
- */
1404
- _id: string;
1405
- /**
1406
- * Entity title
1407
- */
1408
- _title: string;
1409
- /**
1410
- * Organization ID the entity belongs to
1411
- * example:
1412
- * 206801
1413
- */
1414
- _org: string;
1415
- /**
1416
- * URL-friendly identifier for the entity schema
1417
- * example:
1418
- * message
1419
- */
1420
- _schema: string;
1421
- /**
1422
- * Entity tags
1423
- * example:
1424
- * [
1425
- * "pricing",
1426
- * "INBOX"
1427
- * ]
1428
- */
1429
- _tags?: string[];
1430
- /**
1431
- * Created date
1432
- * example:
1433
- * 2021-02-09T12:41:43.662Z
1434
- */
1435
- _created_at: string; // date-time
1436
- /**
1437
- * Updated date
1438
- * example:
1439
- * 2021-02-10T09:14:31.990Z
1440
- */
1441
- _updated_at: string; // date-time
1442
- /**
1443
- * Message ID which is from email provider. If you provide `message-id`, API overrides by its own value.
1444
- * example:
1445
- * <0102017b97a502f8-a67f01c2-68cc-4928-b91b-45853f34e259-000000@eu-west-1.amazonses.com>
1446
- */
1447
- message_id?: string;
1448
- /**
1449
- * User ID of user sends the message.
1450
- * example:
1451
- * 206801
1452
- */
1453
- sender?: string;
1454
- /**
1455
- * Subject
1456
- * example:
1457
- * Request for solar panel price
1458
- */
1459
- subject: string;
1460
- /**
1461
- * HTML body
1462
- * example:
1463
- * <div>We at ABC GmbH would like to request a price quote for the solar panel.</div>
1464
- */
1465
- html?: string;
1466
- /**
1467
- * Text body
1468
- * example:
1469
- * We at ABC GmbH would like to request a price quote for the solar panel.
1470
- */
1471
- text?: string;
1472
- from: Components.Schemas.Address;
1473
- reply_to?: Components.Schemas.Address;
1474
- /**
1475
- * To email addresses
1476
- */
1477
- to?: Components.Schemas.Address[];
1478
- /**
1479
- * Cc email addresses
1480
- */
1481
- cc?: Components.Schemas.Address[];
1482
- /**
1483
- * Bcc email addresses
1484
- */
1485
- bcc?: Components.Schemas.Address[];
1486
- file?: /* Message attachments */ Components.Schemas.AttachmentsRelation;
1487
- /**
1488
- * References header. Value is the series of `message_id` which is reparated by space to indicate that message has parent. The last message ID in references identifies the parent. The first message ID in references identifies the first message in the thread. The basic idea is that sender should copy `references` from the parent and append the parent's `message_id` when replying.
1489
- *
1490
- * example:
1491
- * <0102017b97a502f8-a67f01c2-68cc-4928-b91b-45853f34e259-000000@eu-west-1.amazonses.com> <CALHgQpziyxW9NaFUs+nRMykzr6Ljq6vjq4WO9SaihAuMasuDyg@mail.gmail.com>
1492
- */
1493
- references?: string;
1494
- /**
1495
- * In-Reply-To header. Value is the `message_id` of parent message.
1496
- *
1497
- * example:
1498
- * <CALHgQpziyxW9NaFUs+nRMykzr6Ljq6vjq4WO9SaihAuMasuDyg@mail.gmail.com>
1499
- */
1500
- in_reply_to?: string;
1501
- /**
1502
- * User ID of user read the message.
1503
- */
1504
- user_read_message?: string[];
1505
- /**
1506
- * Organization ID of organization read the message.
1507
- */
1508
- org_read_message?: string[];
1509
- /**
1510
- * Sent message status. The array contains sending message status corresponding to all recipients. For more detail, check `send_status` of each recipient in `to`, `cc`, `bcc` Reference at <https://docs.aws.amazon.com/ses/latest/DeveloperGuide/monitor-sending-activity.html>
1511
- *
1512
- */
1513
- send_status?: ("SEND" | "DELIVERY" | "REJECT" | "COMPLAINT" | "BOUNCE" | "ERROR")[];
1514
- /**
1515
- * Message type
1516
- */
1517
- type?: "SENT" | "RECEIVED";
1518
- /**
1519
- * Template ID used for sending message.
1520
- * example:
1521
- * 3f34ce73-089c-4d45-a5ee-c161234e41c3
1522
- */
1523
- template_id?: string;
1524
- }[];
1525
- }
1526
- export interface $403 {
1527
- }
1528
- }
1529
- }
1530
1379
  namespace SearchThreads {
1531
1380
  export type RequestBody = Components.Schemas.SearchParams;
1532
1381
  namespace Responses {
@@ -2302,16 +2151,6 @@ export interface OperationMethods {
2302
2151
  data?: any,
2303
2152
  config?: AxiosRequestConfig
2304
2153
  ): OperationResponse<Paths.DeleteMessage.Responses.$204>
2305
- /**
2306
- * searchMessages - searchMessages
2307
- *
2308
- * Search Messages
2309
- */
2310
- 'searchMessages'(
2311
- parameters?: Parameters<UnknownParamsObject> | null,
2312
- data?: Paths.SearchMessages.RequestBody,
2313
- config?: AxiosRequestConfig
2314
- ): OperationResponse<Paths.SearchMessages.Responses.$200>
2315
2154
  /**
2316
2155
  * trashMessage - trashMessage
2317
2156
  *
@@ -2764,18 +2603,6 @@ export interface PathsDictionary {
2764
2603
  config?: AxiosRequestConfig
2765
2604
  ): OperationResponse<Paths.DeleteMessage.Responses.$204>
2766
2605
  }
2767
- ['/v1/message/messages:search']: {
2768
- /**
2769
- * searchMessages - searchMessages
2770
- *
2771
- * Search Messages
2772
- */
2773
- 'post'(
2774
- parameters?: Parameters<UnknownParamsObject> | null,
2775
- data?: Paths.SearchMessages.RequestBody,
2776
- config?: AxiosRequestConfig
2777
- ): OperationResponse<Paths.SearchMessages.Responses.$200>
2778
- }
2779
2606
  ['/v1/message/messages/{id}/trash']: {
2780
2607
  /**
2781
2608
  * trashMessage - trashMessage
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/message-client",
3
- "version": "1.17.3",
3
+ "version": "1.17.5",
4
4
  "description": "API Client for epilot Message API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -27,7 +27,7 @@
27
27
  "build": "tsc && npm run build:patch && npm run bundle-definition",
28
28
  "build:patch": "sed -i'' -e '/^__exportStar.*openapi.*$/d' dist/index.js",
29
29
  "build:watch": "npm run build && tsc -w",
30
- "prepublishOnly": "npm run typegen && npm run build",
30
+
31
31
  "lint": "pnpm exec eslint src"
32
32
  },
33
33
  "files": [