@epilot/sdk 2.18.15 → 2.18.17

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 (162) hide show
  1. package/definitions/configuration-hub-runtime.json +1 -1
  2. package/definitions/configuration-hub.json +1064 -48
  3. package/definitions/integration-toolkit-runtime.json +1 -1
  4. package/definitions/integration-toolkit.json +379 -1
  5. package/definitions/message-runtime.json +1 -1
  6. package/definitions/message.json +481 -1
  7. package/dist/apis/access-token.cjs +6 -6
  8. package/dist/apis/access-token.js +1 -1
  9. package/dist/apis/address-suggestions.cjs +6 -6
  10. package/dist/apis/address-suggestions.js +1 -1
  11. package/dist/apis/address.cjs +6 -6
  12. package/dist/apis/address.js +1 -1
  13. package/dist/apis/ai-agents.cjs +6 -6
  14. package/dist/apis/ai-agents.js +1 -1
  15. package/dist/apis/app.cjs +6 -6
  16. package/dist/apis/app.js +1 -1
  17. package/dist/apis/audit-logs.cjs +6 -6
  18. package/dist/apis/audit-logs.js +1 -1
  19. package/dist/apis/automation.cjs +6 -6
  20. package/dist/apis/automation.js +1 -1
  21. package/dist/apis/billing.cjs +6 -6
  22. package/dist/apis/billing.js +1 -1
  23. package/dist/apis/blueprint-manifest.cjs +6 -6
  24. package/dist/apis/blueprint-manifest.js +1 -1
  25. package/dist/apis/calendar.cjs +6 -6
  26. package/dist/apis/calendar.js +1 -1
  27. package/dist/apis/configuration-hub.cjs +8 -8
  28. package/dist/apis/configuration-hub.d.cts +2 -2
  29. package/dist/apis/configuration-hub.d.ts +2 -2
  30. package/dist/apis/configuration-hub.js +2 -2
  31. package/dist/apis/consent.cjs +6 -6
  32. package/dist/apis/consent.js +1 -1
  33. package/dist/apis/customer-portal.cjs +6 -6
  34. package/dist/apis/customer-portal.js +1 -1
  35. package/dist/apis/dashboard.cjs +6 -6
  36. package/dist/apis/dashboard.js +1 -1
  37. package/dist/apis/data-governance.cjs +6 -6
  38. package/dist/apis/data-governance.js +1 -1
  39. package/dist/apis/deduplication.cjs +6 -6
  40. package/dist/apis/deduplication.js +1 -1
  41. package/dist/apis/design.cjs +6 -6
  42. package/dist/apis/design.js +1 -1
  43. package/dist/apis/document.cjs +6 -6
  44. package/dist/apis/document.js +1 -1
  45. package/dist/apis/email-settings.cjs +6 -6
  46. package/dist/apis/email-settings.js +1 -1
  47. package/dist/apis/email-template.cjs +6 -6
  48. package/dist/apis/email-template.js +1 -1
  49. package/dist/apis/entity-mapping.cjs +6 -6
  50. package/dist/apis/entity-mapping.js +1 -1
  51. package/dist/apis/entity.cjs +6 -6
  52. package/dist/apis/entity.js +1 -1
  53. package/dist/apis/environments.cjs +6 -6
  54. package/dist/apis/environments.js +1 -1
  55. package/dist/apis/event-catalog.cjs +6 -6
  56. package/dist/apis/event-catalog.js +1 -1
  57. package/dist/apis/file.cjs +6 -6
  58. package/dist/apis/file.js +1 -1
  59. package/dist/apis/iban.cjs +6 -6
  60. package/dist/apis/iban.js +1 -1
  61. package/dist/apis/integration-toolkit.cjs +8 -8
  62. package/dist/apis/integration-toolkit.d.cts +2 -2
  63. package/dist/apis/integration-toolkit.d.ts +2 -2
  64. package/dist/apis/integration-toolkit.js +2 -2
  65. package/dist/apis/journey.cjs +6 -6
  66. package/dist/apis/journey.js +1 -1
  67. package/dist/apis/kanban.cjs +6 -6
  68. package/dist/apis/kanban.js +1 -1
  69. package/dist/apis/message.cjs +8 -8
  70. package/dist/apis/message.d.cts +2 -2
  71. package/dist/apis/message.d.ts +2 -2
  72. package/dist/apis/message.js +2 -2
  73. package/dist/apis/metering.cjs +6 -6
  74. package/dist/apis/metering.js +1 -1
  75. package/dist/apis/notes.cjs +6 -6
  76. package/dist/apis/notes.js +1 -1
  77. package/dist/apis/notification.cjs +6 -6
  78. package/dist/apis/notification.js +1 -1
  79. package/dist/apis/organization.cjs +6 -6
  80. package/dist/apis/organization.js +1 -1
  81. package/dist/apis/partner-directory.cjs +6 -6
  82. package/dist/apis/partner-directory.js +1 -1
  83. package/dist/apis/permissions.cjs +6 -6
  84. package/dist/apis/permissions.js +1 -1
  85. package/dist/apis/pricing-tier.cjs +6 -6
  86. package/dist/apis/pricing-tier.js +1 -1
  87. package/dist/apis/pricing.cjs +6 -6
  88. package/dist/apis/pricing.js +1 -1
  89. package/dist/apis/purpose.cjs +6 -6
  90. package/dist/apis/purpose.js +1 -1
  91. package/dist/apis/query.cjs +6 -6
  92. package/dist/apis/query.js +1 -1
  93. package/dist/apis/sandbox.cjs +6 -6
  94. package/dist/apis/sandbox.js +1 -1
  95. package/dist/apis/sharing.cjs +6 -6
  96. package/dist/apis/sharing.js +1 -1
  97. package/dist/apis/snapshot.cjs +6 -6
  98. package/dist/apis/snapshot.js +1 -1
  99. package/dist/apis/submission.cjs +6 -6
  100. package/dist/apis/submission.js +1 -1
  101. package/dist/apis/target.cjs +6 -6
  102. package/dist/apis/target.js +1 -1
  103. package/dist/apis/targeting.cjs +6 -6
  104. package/dist/apis/targeting.js +1 -1
  105. package/dist/apis/template-variables.cjs +6 -6
  106. package/dist/apis/template-variables.js +1 -1
  107. package/dist/apis/user.cjs +6 -6
  108. package/dist/apis/user.js +1 -1
  109. package/dist/apis/validation-rules.cjs +6 -6
  110. package/dist/apis/validation-rules.js +1 -1
  111. package/dist/apis/webhooks.cjs +6 -6
  112. package/dist/apis/webhooks.js +1 -1
  113. package/dist/apis/workflow-definition.cjs +6 -6
  114. package/dist/apis/workflow-definition.js +1 -1
  115. package/dist/apis/workflow.cjs +6 -6
  116. package/dist/apis/workflow.js +1 -1
  117. package/dist/chunk-2674L26S.cjs +14 -0
  118. package/dist/chunk-EHLNSFCU.cjs +14 -0
  119. package/dist/chunk-ILRZHW2E.cjs +14 -0
  120. package/dist/{chunk-22LE7Q52.cjs → chunk-LPUT63UQ.cjs} +6 -6
  121. package/dist/chunk-OT6AETWN.js +14 -0
  122. package/dist/chunk-TH4IM6Q6.js +14 -0
  123. package/dist/{chunk-GSQI3C2W.js → chunk-TQCQYO4X.js} +6 -6
  124. package/dist/chunk-VA34RFFR.js +14 -0
  125. package/dist/configuration-hub-6TSL5AGX.cjs +7 -0
  126. package/dist/configuration-hub-ZYOLN7ZX.js +7 -0
  127. package/dist/{configuration-hub-runtime-QVLJKEZD.cjs → configuration-hub-runtime-3RFJBODE.cjs} +2 -2
  128. package/dist/{configuration-hub-runtime-CXME7TCX.js → configuration-hub-runtime-EG2OIBXX.js} +1 -1
  129. package/dist/{configuration-hub.d-CbSJDa7k.d.cts → configuration-hub.d-Dv41yC3b.d.cts} +929 -84
  130. package/dist/{configuration-hub.d-CbSJDa7k.d.ts → configuration-hub.d-Dv41yC3b.d.ts} +929 -84
  131. package/dist/index.cjs +14 -14
  132. package/dist/index.d.cts +3 -3
  133. package/dist/index.d.ts +3 -3
  134. package/dist/index.js +4 -4
  135. package/dist/integration-toolkit-GR4ZQAY5.cjs +7 -0
  136. package/dist/integration-toolkit-XGQNDLIZ.js +7 -0
  137. package/dist/{integration-toolkit-runtime-6J2KUTFL.js → integration-toolkit-runtime-3RZRSZCW.js} +1 -1
  138. package/dist/{integration-toolkit-runtime-REEOXZO6.cjs → integration-toolkit-runtime-ZWS4WRKI.cjs} +2 -2
  139. package/dist/{integration-toolkit.d-pP-3dBPT.d.cts → integration-toolkit.d-CoMi10QU.d.cts} +292 -1
  140. package/dist/{integration-toolkit.d-pP-3dBPT.d.ts → integration-toolkit.d-CoMi10QU.d.ts} +292 -1
  141. package/dist/message-BZN67NTB.js +7 -0
  142. package/dist/message-DBHA4PHI.cjs +7 -0
  143. package/dist/{message-runtime-5Z3POFZV.cjs → message-runtime-4JSNBEVL.cjs} +2 -2
  144. package/dist/{message-runtime-5AUGENW3.js → message-runtime-7UM7U4VL.js} +1 -1
  145. package/dist/{message.d-b-UwZUNb.d.cts → message.d-BHWCGH3q.d.cts} +330 -3
  146. package/dist/{message.d-b-UwZUNb.d.ts → message.d-BHWCGH3q.d.ts} +330 -3
  147. package/docs/configuration-hub.md +967 -40
  148. package/docs/integration-toolkit.md +224 -0
  149. package/docs/message.md +385 -1
  150. package/package.json +1 -1
  151. package/dist/chunk-2ESIGECW.js +0 -14
  152. package/dist/chunk-JM63KEFZ.cjs +0 -14
  153. package/dist/chunk-MOLFG5L4.cjs +0 -14
  154. package/dist/chunk-TIH5X7Q4.cjs +0 -14
  155. package/dist/chunk-WW6DVKJR.js +0 -14
  156. package/dist/chunk-YWZCVCG2.js +0 -14
  157. package/dist/configuration-hub-E7S4JB2T.js +0 -7
  158. package/dist/configuration-hub-Q5JBYB52.cjs +0 -7
  159. package/dist/integration-toolkit-RIBZBI2Y.js +0 -7
  160. package/dist/integration-toolkit-RPWD4MAN.cjs +0 -7
  161. package/dist/message-F4HJQBF5.cjs +0 -7
  162. package/dist/message-TLEET26B.js +0 -7
package/docs/message.md CHANGED
@@ -37,6 +37,7 @@ const { data } = await messageClient.sendMessage(...)
37
37
  - [`markReadMessageV2`](#markreadmessagev2)
38
38
  - [`markUnreadMessage`](#markunreadmessage)
39
39
  - [`getUnread`](#getunread)
40
+ - [`getUnreadCounts`](#getunreadcounts)
40
41
  - [`markUnreadMessageV2`](#markunreadmessagev2)
41
42
  - [`spamMessage`](#spammessage)
42
43
  - [`unspamMessage`](#unspammessage)
@@ -94,6 +95,10 @@ const { data } = await messageClient.sendMessage(...)
94
95
  - [`AttachmentsRelation`](#attachmentsrelation)
95
96
  - [`File`](#file)
96
97
  - [`MessageRequestParams`](#messagerequestparams)
98
+ - [`UnreadCountScope`](#unreadcountscope)
99
+ - [`UnreadCountsPayload`](#unreadcountspayload)
100
+ - [`UnreadCountsResult`](#unreadcountsresult)
101
+ - [`UnreadCountBuckets`](#unreadcountbuckets)
97
102
  - [`SearchParamsV2`](#searchparamsv2)
98
103
  - [`SearchParams`](#searchparams)
99
104
  - [`SearchIDParams`](#searchidparams)
@@ -105,6 +110,18 @@ const { data } = await messageClient.sendMessage(...)
105
110
  - [`ThreadTimeline`](#threadtimeline)
106
111
  - [`ThreadDoneEvent`](#threaddoneevent)
107
112
  - [`ThreadOpenEvent`](#threadopenevent)
113
+ - [`WorkflowStartedEvent`](#workflowstartedevent)
114
+ - [`ThreadUserAssignedEvent`](#threaduserassignedevent)
115
+ - [`MessageLabelAddedEvent`](#messagelabeladdedevent)
116
+ - [`MessageLabelRemovedEvent`](#messagelabelremovedevent)
117
+ - [`MessageEntityLinkedEvent`](#messageentitylinkedevent)
118
+ - [`MessageEntityUnlinkedEvent`](#messageentityunlinkedevent)
119
+ - [`MessageAutoReplySentEvent`](#messageautoreplysentevent)
120
+ - [`ThreadMovedToInboxEvent`](#threadmovedtoinboxevent)
121
+ - [`ThreadTrashedEvent`](#threadtrashedevent)
122
+ - [`ThreadRestoredEvent`](#threadrestoredevent)
123
+ - [`TimelineLinkedEntity`](#timelinelinkedentity)
124
+ - [`TimelineActor`](#timelineactor)
108
125
  - [`TimelineEventData`](#timelineeventdata)
109
126
  - [`TimelineEvent`](#timelineevent)
110
127
  - [`BulkActionsPayloadWithScopes`](#bulkactionspayloadwithscopes)
@@ -582,6 +599,45 @@ const { data } = await client.getUnread({
582
599
 
583
600
  ---
584
601
 
602
+ ### `getUnreadCounts`
603
+
604
+ Unread counts for several named scopes in one request.
605
+
606
+ `POST /v1/message/unread:counts`
607
+
608
+ ```ts
609
+ const { data } = await client.getUnreadCounts(
610
+ null,
611
+ {
612
+ actor: 'organization',
613
+ email_filter: ['string'],
614
+ scopes: [
615
+ {
616
+ name: 'inbox-support',
617
+ type: 'organization',
618
+ q: '_tags.keyword:inbox AND !_tags.keyword:trash',
619
+ inbox_id: '3f34ce73-089c-4d45-a5ee-c161234e41c3'
620
+ }
621
+ ]
622
+ },
623
+ )
624
+ ```
625
+
626
+ <details>
627
+ <summary>Response</summary>
628
+
629
+ ```json
630
+ {
631
+ "enabled": true,
632
+ "counts": {},
633
+ "omitted": ["string"]
634
+ }
635
+ ```
636
+
637
+ </details>
638
+
639
+ ---
640
+
585
641
  ### `markUnreadMessageV2`
586
642
 
587
643
  Mark message as unread within a scope
@@ -963,12 +1019,24 @@ const { data } = await client.getThreadTimeline({
963
1019
  {
964
1020
  "events": [
965
1021
  {
1022
+ "id": "string",
966
1023
  "data": {
967
1024
  "type": "THREAD_DONE",
968
1025
  "user_id": "123",
969
1026
  "organization_id": "456"
970
1027
  },
971
- "timestamp": "2024-01-01T00:00:00.000Z"
1028
+ "timestamp": "2024-01-01T00:00:00Z",
1029
+ "message_id": "string",
1030
+ "source": "user",
1031
+ "automated": true,
1032
+ "actor": {
1033
+ "user_id": "string",
1034
+ "email": "string"
1035
+ },
1036
+ "automation": {
1037
+ "id": "string",
1038
+ "name": "string"
1039
+ }
972
1040
  }
973
1041
  ]
974
1042
  }
@@ -2139,6 +2207,58 @@ type MessageRequestParams = {
2139
2207
  }
2140
2208
  ```
2141
2209
 
2210
+ ### `UnreadCountScope`
2211
+
2212
+ ```ts
2213
+ type UnreadCountScope = {
2214
+ name: string
2215
+ type: "organization" | "shared_inbox" | "saved_view"
2216
+ q?: string
2217
+ inbox_id?: string | string[]
2218
+ }
2219
+ ```
2220
+
2221
+ ### `UnreadCountsPayload`
2222
+
2223
+ ```ts
2224
+ type UnreadCountsPayload = {
2225
+ actor: "organization" | "user"
2226
+ email_filter?: string[]
2227
+ scopes: Array<{
2228
+ name: string
2229
+ type: "organization" | "shared_inbox" | "saved_view"
2230
+ q?: string
2231
+ inbox_id?: string | string[]
2232
+ }>
2233
+ }
2234
+ ```
2235
+
2236
+ ### `UnreadCountsResult`
2237
+
2238
+ ```ts
2239
+ type UnreadCountsResult = {
2240
+ enabled: boolean
2241
+ counts: Record<string, {
2242
+ unread: number
2243
+ drafts?: number
2244
+ unassigned?: number
2245
+ spam?: number
2246
+ }>
2247
+ omitted?: string[]
2248
+ }
2249
+ ```
2250
+
2251
+ ### `UnreadCountBuckets`
2252
+
2253
+ ```ts
2254
+ type UnreadCountBuckets = {
2255
+ unread: number
2256
+ drafts?: number
2257
+ unassigned?: number
2258
+ spam?: number
2259
+ }
2260
+ ```
2261
+
2142
2262
  ### `SearchParamsV2`
2143
2263
 
2144
2264
  ```ts
@@ -2224,6 +2344,7 @@ type ReadingScope = "organization" | "user"
2224
2344
  ```ts
2225
2345
  type ThreadTimeline = {
2226
2346
  events: Array<{
2347
+ id?: string
2227
2348
  data: {
2228
2349
  type: { ... }
2229
2350
  user_id: { ... }
@@ -2232,8 +2353,55 @@ type ThreadTimeline = {
2232
2353
  type: { ... }
2233
2354
  user_id: { ... }
2234
2355
  organization_id: { ... }
2356
+ } | {
2357
+ type: { ... }
2358
+ workflow_id?: { ... }
2359
+ workflow_name?: { ... }
2360
+ } | {
2361
+ type: { ... }
2362
+ added?: { ... }
2363
+ removed?: { ... }
2364
+ } | {
2365
+ type: { ... }
2366
+ label: { ... }
2367
+ label_name?: { ... }
2368
+ } | {
2369
+ type: { ... }
2370
+ label: { ... }
2371
+ label_name?: { ... }
2372
+ } | {
2373
+ type: { ... }
2374
+ entities?: { ... }
2375
+ link_kind?: { ... }
2376
+ } | {
2377
+ type: { ... }
2378
+ entities?: { ... }
2379
+ link_kind?: { ... }
2380
+ } | {
2381
+ type: { ... }
2382
+ reply_message_id?: { ... }
2383
+ parent_message_id?: { ... }
2384
+ } | {
2385
+ type: { ... }
2386
+ target_inbox_id?: { ... }
2387
+ target_inbox_name?: { ... }
2388
+ } | {
2389
+ type: { ... }
2390
+ } | {
2391
+ type: { ... }
2235
2392
  }
2236
2393
  timestamp: string
2394
+ message_id?: string
2395
+ source?: "user" | "automation" | "system"
2396
+ automated?: boolean
2397
+ actor?: {
2398
+ user_id?: { ... }
2399
+ email?: { ... }
2400
+ }
2401
+ automation?: {
2402
+ id?: { ... }
2403
+ name?: { ... }
2404
+ }
2237
2405
  }>
2238
2406
  }
2239
2407
  ```
@@ -2258,6 +2426,126 @@ type ThreadOpenEvent = {
2258
2426
  }
2259
2427
  ```
2260
2428
 
2429
+ ### `WorkflowStartedEvent`
2430
+
2431
+ ```ts
2432
+ type WorkflowStartedEvent = {
2433
+ type: "WORKFLOW_STARTED"
2434
+ workflow_id?: string
2435
+ workflow_name?: string
2436
+ }
2437
+ ```
2438
+
2439
+ ### `ThreadUserAssignedEvent`
2440
+
2441
+ ```ts
2442
+ type ThreadUserAssignedEvent = {
2443
+ type: "THREAD_USER_ASSIGNED"
2444
+ added?: string[]
2445
+ removed?: string[]
2446
+ }
2447
+ ```
2448
+
2449
+ ### `MessageLabelAddedEvent`
2450
+
2451
+ ```ts
2452
+ type MessageLabelAddedEvent = {
2453
+ type: "MESSAGE_LABEL_ADDED"
2454
+ label: string
2455
+ label_name?: string
2456
+ }
2457
+ ```
2458
+
2459
+ ### `MessageLabelRemovedEvent`
2460
+
2461
+ ```ts
2462
+ type MessageLabelRemovedEvent = {
2463
+ type: "MESSAGE_LABEL_REMOVED"
2464
+ label: string
2465
+ label_name?: string
2466
+ }
2467
+ ```
2468
+
2469
+ ### `MessageEntityLinkedEvent`
2470
+
2471
+ ```ts
2472
+ type MessageEntityLinkedEvent = {
2473
+ type: "MESSAGE_ENTITY_LINKED"
2474
+ entities?: Array<{
2475
+ entity_id: string
2476
+ schema?: string
2477
+ }>
2478
+ link_kind?: "manual" | "auto"
2479
+ }
2480
+ ```
2481
+
2482
+ ### `MessageEntityUnlinkedEvent`
2483
+
2484
+ ```ts
2485
+ type MessageEntityUnlinkedEvent = {
2486
+ type: "MESSAGE_ENTITY_UNLINKED"
2487
+ entities?: Array<{
2488
+ entity_id: string
2489
+ schema?: string
2490
+ }>
2491
+ link_kind?: "manual" | "auto"
2492
+ }
2493
+ ```
2494
+
2495
+ ### `MessageAutoReplySentEvent`
2496
+
2497
+ ```ts
2498
+ type MessageAutoReplySentEvent = {
2499
+ type: "MESSAGE_AUTO_REPLY_SENT"
2500
+ reply_message_id?: string
2501
+ parent_message_id?: string
2502
+ }
2503
+ ```
2504
+
2505
+ ### `ThreadMovedToInboxEvent`
2506
+
2507
+ ```ts
2508
+ type ThreadMovedToInboxEvent = {
2509
+ type: "THREAD_MOVED_TO_INBOX"
2510
+ target_inbox_id?: string
2511
+ target_inbox_name?: string
2512
+ }
2513
+ ```
2514
+
2515
+ ### `ThreadTrashedEvent`
2516
+
2517
+ ```ts
2518
+ type ThreadTrashedEvent = {
2519
+ type: "THREAD_TRASHED"
2520
+ }
2521
+ ```
2522
+
2523
+ ### `ThreadRestoredEvent`
2524
+
2525
+ ```ts
2526
+ type ThreadRestoredEvent = {
2527
+ type: "THREAD_RESTORED"
2528
+ }
2529
+ ```
2530
+
2531
+ ### `TimelineLinkedEntity`
2532
+
2533
+ ```ts
2534
+ type TimelineLinkedEntity = {
2535
+ entity_id: string
2536
+ schema?: string
2537
+ }
2538
+ ```
2539
+
2540
+ ### `TimelineActor`
2541
+
2542
+ ```ts
2543
+ type TimelineActor = {
2544
+ user_id?: string
2545
+ email?: string
2546
+ }
2547
+ ```
2548
+
2261
2549
  ### `TimelineEventData`
2262
2550
 
2263
2551
  ```ts
@@ -2269,6 +2557,48 @@ type TimelineEventData = {
2269
2557
  type: "THREAD_OPEN"
2270
2558
  user_id: string
2271
2559
  organization_id: string
2560
+ } | {
2561
+ type: "WORKFLOW_STARTED"
2562
+ workflow_id?: string
2563
+ workflow_name?: string
2564
+ } | {
2565
+ type: "THREAD_USER_ASSIGNED"
2566
+ added?: string[]
2567
+ removed?: string[]
2568
+ } | {
2569
+ type: "MESSAGE_LABEL_ADDED"
2570
+ label: string
2571
+ label_name?: string
2572
+ } | {
2573
+ type: "MESSAGE_LABEL_REMOVED"
2574
+ label: string
2575
+ label_name?: string
2576
+ } | {
2577
+ type: "MESSAGE_ENTITY_LINKED"
2578
+ entities?: Array<{
2579
+ entity_id: string
2580
+ schema?: string
2581
+ }>
2582
+ link_kind?: "manual" | "auto"
2583
+ } | {
2584
+ type: "MESSAGE_ENTITY_UNLINKED"
2585
+ entities?: Array<{
2586
+ entity_id: string
2587
+ schema?: string
2588
+ }>
2589
+ link_kind?: "manual" | "auto"
2590
+ } | {
2591
+ type: "MESSAGE_AUTO_REPLY_SENT"
2592
+ reply_message_id?: string
2593
+ parent_message_id?: string
2594
+ } | {
2595
+ type: "THREAD_MOVED_TO_INBOX"
2596
+ target_inbox_id?: string
2597
+ target_inbox_name?: string
2598
+ } | {
2599
+ type: "THREAD_TRASHED"
2600
+ } | {
2601
+ type: "THREAD_RESTORED"
2272
2602
  }
2273
2603
  ```
2274
2604
 
@@ -2276,6 +2606,7 @@ type TimelineEventData = {
2276
2606
 
2277
2607
  ```ts
2278
2608
  type TimelineEvent = {
2609
+ id?: string
2279
2610
  data: {
2280
2611
  type: "THREAD_DONE"
2281
2612
  user_id: string
@@ -2284,8 +2615,61 @@ type TimelineEvent = {
2284
2615
  type: "THREAD_OPEN"
2285
2616
  user_id: string
2286
2617
  organization_id: string
2618
+ } | {
2619
+ type: "WORKFLOW_STARTED"
2620
+ workflow_id?: string
2621
+ workflow_name?: string
2622
+ } | {
2623
+ type: "THREAD_USER_ASSIGNED"
2624
+ added?: string[]
2625
+ removed?: string[]
2626
+ } | {
2627
+ type: "MESSAGE_LABEL_ADDED"
2628
+ label: string
2629
+ label_name?: string
2630
+ } | {
2631
+ type: "MESSAGE_LABEL_REMOVED"
2632
+ label: string
2633
+ label_name?: string
2634
+ } | {
2635
+ type: "MESSAGE_ENTITY_LINKED"
2636
+ entities?: Array<{
2637
+ entity_id: { ... }
2638
+ schema?: { ... }
2639
+ }>
2640
+ link_kind?: "manual" | "auto"
2641
+ } | {
2642
+ type: "MESSAGE_ENTITY_UNLINKED"
2643
+ entities?: Array<{
2644
+ entity_id: { ... }
2645
+ schema?: { ... }
2646
+ }>
2647
+ link_kind?: "manual" | "auto"
2648
+ } | {
2649
+ type: "MESSAGE_AUTO_REPLY_SENT"
2650
+ reply_message_id?: string
2651
+ parent_message_id?: string
2652
+ } | {
2653
+ type: "THREAD_MOVED_TO_INBOX"
2654
+ target_inbox_id?: string
2655
+ target_inbox_name?: string
2656
+ } | {
2657
+ type: "THREAD_TRASHED"
2658
+ } | {
2659
+ type: "THREAD_RESTORED"
2287
2660
  }
2288
2661
  timestamp: string
2662
+ message_id?: string
2663
+ source?: "user" | "automation" | "system"
2664
+ automated?: boolean
2665
+ actor?: {
2666
+ user_id?: string
2667
+ email?: string
2668
+ }
2669
+ automation?: {
2670
+ id?: string
2671
+ name?: string
2672
+ }
2289
2673
  }
2290
2674
  ```
2291
2675
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/sdk",
3
- "version": "2.18.15",
3
+ "version": "2.18.17",
4
4
  "description": "JavaScript/TypeScript SDK for epilot APIs",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -1,14 +0,0 @@
1
- import {
2
- __commonJS
3
- } from "./chunk-YPSWSI3M.js";
4
-
5
- // src/definitions/message-runtime.json
6
- var require_message_runtime = __commonJS({
7
- "src/definitions/message-runtime.json"(exports, module) {
8
- module.exports = { s: "https://message.sls.epilot.io", o: [["sendMessage", "post", "/v1/message/messages", [["do_not_create_entities", "q"]], 1], ["updateMessage", "put", "/v1/message/messages"], ["getMessage", "get", "/v1/message/messages/{id}", [["id", "p", true]]], ["deleteMessage", "delete", "/v1/message/messages/{id}", [["id", "p", true]]], ["getMessageEml", "get", "/v1/message/messages/{id}/eml", [["id", "p", true]]], ["searchMessages", "post", "/v1/message/messages:search", null, 1], ["trashMessage", "post", "/v1/message/messages/{id}/trash", [["id", "p", true]]], ["untrashMessage", "post", "/v1/message/messages/{id}/untrash", [["id", "p", true]]], ["markReadMessage", "post", "/v1/message/messages/{id}/read", [["id", "p", true]]], ["markReadMessageV2", "post", "/v2/message/messages/{id}/read", [["id", "p", true]], 1], ["markUnreadMessage", "post", "/v1/message/messages/{id}/unread", [["id", "p", true]]], ["getUnread", "get", "/v1/message/messages/unread/{actor}", [["actor", "p", true], ["email_filter", "q"]]], ["markUnreadMessageV2", "post", "/v2/message/messages/{id}/unread", [["id", "p", true]], 1], ["searchThreads", "post", "/v1/message/threads:search", null, 1], ["searchThreadsV2", "post", "/v2/message/threads:search", null, 1], ["searchIds", "post", "/v1/message/threads:searchIds", null, 1], ["getAssigneeWorkload", "post", "/v2/message/threads:workload", null, 1], ["updateThread", "put", "/v1/message/threads"], ["deleteThread", "delete", "/v1/message/threads/{id}", [["id", "p", true]]], ["moveThread", "post", "/v1/message/threads/{id}:move", [["id", "p", true]], 1], ["markThreadAsDone", "post", "/v1/message/threads/{id}:markAsDone", [["id", "p", true]]], ["markThreadAsOpen", "post", "/v1/message/threads/{id}:markAsOpen", [["id", "p", true]]], ["getThreadTimeline", "get", "/v1/message/threads/{id}/timeline", [["id", "p", true]]], ["trashThread", "post", "/v1/message/threads/{id}/trash", [["id", "p", true]]], ["untrashThread", "post", "/v1/message/threads/{id}/untrash", [["id", "p", true]]], ["spamThread", "post", "/v1/message/threads/{id}/spam", [["id", "p", true]]], ["unspamThread", "post", "/v1/message/threads/{id}/unspam", [["id", "p", true]]], ["spamMessage", "post", "/v1/message/messages/{id}/spam", [["id", "p", true]]], ["unspamMessage", "post", "/v1/message/messages/{id}/unspam", [["id", "p", true]]], ["bulkMoveThreads", "post", "/v1/message/threads/bulk:move", null, 1], ["bulkAssignThreads", "post", "/v1/message/threads/bulk:assign", null, 1], ["threadBulkActionsRead", "post", "/v1/message/threads/bulk:read", null, 1], ["threadBulkActionsUnread", "post", "/v1/message/threads/bulk:unread", null, 1], ["threadBulkActionsFavorite", "post", "/v1/message/threads/bulk:favorite", null, 1], ["threadBulkActionsUnfavorite", "post", "/v1/message/threads/bulk:unfavorite", null, 1], ["threadBulkActionsTrash", "post", "/v1/message/threads/bulk:trash", null, 1], ["threadBulkActionsUntrash", "post", "/v1/message/threads/bulk:untrash", null, 1], ["threadBulkActionsDelete", "post", "/v1/message/threads/bulk:delete", null, 1], ["threadBulkActionsDone", "post", "/v1/message/threads/bulk:done", null, 1], ["threadBulkActionsOpen", "post", "/v1/message/threads/bulk:open", null, 1], ["markReadThread", "post", "/v1/message/threads/{id}/read", [["id", "p", true]]], ["markReadThreadV2", "post", "/v2/message/threads/{id}/read", [["id", "p", true]], 1], ["markUnreadThread", "post", "/v1/message/threads/{id}/unread", [["id", "p", true]]], ["markUnreadThreadV2", "post", "/v2/message/threads/{id}/unread", [["id", "p", true]], 1], ["assignThread", "post", "/v1/message/threads/{id}/assign", [["id", "p", true]], 1], ["unassignThread", "post", "/v1/message/threads/{id}/unassign", [["id", "p", true], ["unlink_mapped_entities", "q"]], 1], ["assignUsers", "post", "/v1/message/threads/{id}/assign:users", [["id", "p", true]], 1], ["assignUsersV2", "post", "/v2/message/threads/{id}/assign:users", [["id", "p", true]], 1], ["pinThread", "post", "/v1/message/threads/{id}:pin", [["id", "p", true]]], ["unpinThread", "delete", "/v1/message/threads/{id}:pin", [["id", "p", true]]], ["createDraft", "post", "/v1/message/drafts", null, 1], ["sendDraft", "post", "/v1/message/drafts:send"], ["getMessageV2", "get", "/v2/message/messages/{id}", [["id", "p", true]]]] };
9
- }
10
- });
11
-
12
- export {
13
- require_message_runtime
14
- };
@@ -1,14 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
4
-
5
- // src/definitions/message-runtime.json
6
- var require_message_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
7
- "src/definitions/message-runtime.json"(exports, module) {
8
- module.exports = { s: "https://message.sls.epilot.io", o: [["sendMessage", "post", "/v1/message/messages", [["do_not_create_entities", "q"]], 1], ["updateMessage", "put", "/v1/message/messages"], ["getMessage", "get", "/v1/message/messages/{id}", [["id", "p", true]]], ["deleteMessage", "delete", "/v1/message/messages/{id}", [["id", "p", true]]], ["getMessageEml", "get", "/v1/message/messages/{id}/eml", [["id", "p", true]]], ["searchMessages", "post", "/v1/message/messages:search", null, 1], ["trashMessage", "post", "/v1/message/messages/{id}/trash", [["id", "p", true]]], ["untrashMessage", "post", "/v1/message/messages/{id}/untrash", [["id", "p", true]]], ["markReadMessage", "post", "/v1/message/messages/{id}/read", [["id", "p", true]]], ["markReadMessageV2", "post", "/v2/message/messages/{id}/read", [["id", "p", true]], 1], ["markUnreadMessage", "post", "/v1/message/messages/{id}/unread", [["id", "p", true]]], ["getUnread", "get", "/v1/message/messages/unread/{actor}", [["actor", "p", true], ["email_filter", "q"]]], ["markUnreadMessageV2", "post", "/v2/message/messages/{id}/unread", [["id", "p", true]], 1], ["searchThreads", "post", "/v1/message/threads:search", null, 1], ["searchThreadsV2", "post", "/v2/message/threads:search", null, 1], ["searchIds", "post", "/v1/message/threads:searchIds", null, 1], ["getAssigneeWorkload", "post", "/v2/message/threads:workload", null, 1], ["updateThread", "put", "/v1/message/threads"], ["deleteThread", "delete", "/v1/message/threads/{id}", [["id", "p", true]]], ["moveThread", "post", "/v1/message/threads/{id}:move", [["id", "p", true]], 1], ["markThreadAsDone", "post", "/v1/message/threads/{id}:markAsDone", [["id", "p", true]]], ["markThreadAsOpen", "post", "/v1/message/threads/{id}:markAsOpen", [["id", "p", true]]], ["getThreadTimeline", "get", "/v1/message/threads/{id}/timeline", [["id", "p", true]]], ["trashThread", "post", "/v1/message/threads/{id}/trash", [["id", "p", true]]], ["untrashThread", "post", "/v1/message/threads/{id}/untrash", [["id", "p", true]]], ["spamThread", "post", "/v1/message/threads/{id}/spam", [["id", "p", true]]], ["unspamThread", "post", "/v1/message/threads/{id}/unspam", [["id", "p", true]]], ["spamMessage", "post", "/v1/message/messages/{id}/spam", [["id", "p", true]]], ["unspamMessage", "post", "/v1/message/messages/{id}/unspam", [["id", "p", true]]], ["bulkMoveThreads", "post", "/v1/message/threads/bulk:move", null, 1], ["bulkAssignThreads", "post", "/v1/message/threads/bulk:assign", null, 1], ["threadBulkActionsRead", "post", "/v1/message/threads/bulk:read", null, 1], ["threadBulkActionsUnread", "post", "/v1/message/threads/bulk:unread", null, 1], ["threadBulkActionsFavorite", "post", "/v1/message/threads/bulk:favorite", null, 1], ["threadBulkActionsUnfavorite", "post", "/v1/message/threads/bulk:unfavorite", null, 1], ["threadBulkActionsTrash", "post", "/v1/message/threads/bulk:trash", null, 1], ["threadBulkActionsUntrash", "post", "/v1/message/threads/bulk:untrash", null, 1], ["threadBulkActionsDelete", "post", "/v1/message/threads/bulk:delete", null, 1], ["threadBulkActionsDone", "post", "/v1/message/threads/bulk:done", null, 1], ["threadBulkActionsOpen", "post", "/v1/message/threads/bulk:open", null, 1], ["markReadThread", "post", "/v1/message/threads/{id}/read", [["id", "p", true]]], ["markReadThreadV2", "post", "/v2/message/threads/{id}/read", [["id", "p", true]], 1], ["markUnreadThread", "post", "/v1/message/threads/{id}/unread", [["id", "p", true]]], ["markUnreadThreadV2", "post", "/v2/message/threads/{id}/unread", [["id", "p", true]], 1], ["assignThread", "post", "/v1/message/threads/{id}/assign", [["id", "p", true]], 1], ["unassignThread", "post", "/v1/message/threads/{id}/unassign", [["id", "p", true], ["unlink_mapped_entities", "q"]], 1], ["assignUsers", "post", "/v1/message/threads/{id}/assign:users", [["id", "p", true]], 1], ["assignUsersV2", "post", "/v2/message/threads/{id}/assign:users", [["id", "p", true]], 1], ["pinThread", "post", "/v1/message/threads/{id}:pin", [["id", "p", true]]], ["unpinThread", "delete", "/v1/message/threads/{id}:pin", [["id", "p", true]]], ["createDraft", "post", "/v1/message/drafts", null, 1], ["sendDraft", "post", "/v1/message/drafts:send"], ["getMessageV2", "get", "/v2/message/messages/{id}", [["id", "p", true]]]] };
9
- }
10
- });
11
-
12
-
13
-
14
- exports.require_message_runtime = require_message_runtime;
@@ -1,14 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
4
-
5
- // src/definitions/configuration-hub-runtime.json
6
- var require_configuration_hub_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
7
- "src/definitions/configuration-hub-runtime.json"(exports, module) {
8
- module.exports = { s: "https://configuration-hub.sls.epilot.io", o: [["listConfigTypes", "get", "/v1/configs/types"], ["listConfigs", "get", "/v1/configs/{type}", [["ConfigType"], ["CursorParam"], ["SizeParam"], ["q", "q"], ["updated_after", "q"], ["updated_before", "q"], ["purposes", "q"], ["blueprint_ids", "q"], ["sort", "q"], ["active_only", "q"]]], ["getConfigDependencies", "get", "/v1/configs/{type}/{id}/dependencies", [["ConfigType"], ["ConfigId"], ["CursorParam"], ["SizeParam"]]], ["getConfigUsedBy", "get", "/v1/configs/{type}/{id}/used_by", [["ConfigType"], ["ConfigId"]]], ["getIndex", "get", "/v1/configs/index"], ["createSyncJob", "post", "/v1/configs/sync-jobs", null, 1], ["listSyncJobs", "get", "/v1/configs/sync-jobs", [["CursorParam"], ["SizeParam"], ["status", "q"]]], ["getSyncJob", "get", "/v1/configs/sync-jobs/{id}", [["SyncJobId"]]], ["retrySyncJob", "post", "/v1/configs/sync-jobs/{id}/retry", [["SyncJobId"]], 1], ["listSyncJobResources", "get", "/v1/configs/sync-jobs/{id}/resources", [["SyncJobId"], ["CursorParam"], ["SizeParam"], ["status", "q"]]], ["rebuildIndex", "post", "/v1/configs/index:rebuild"]], v: "3.0.3", cp: { ConfigType: ["type", "p", true], ConfigId: ["id", "p", true], CursorParam: ["cursor", "q"], SizeParam: ["size", "q"], SyncJobId: ["id", "p", true] } };
9
- }
10
- });
11
-
12
-
13
-
14
- exports.require_configuration_hub_runtime = require_configuration_hub_runtime;
@@ -1,14 +0,0 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
-
3
- var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
4
-
5
- // src/definitions/integration-toolkit-runtime.json
6
- var require_integration_toolkit_runtime = _chunkNJK5F5TFcjs.__commonJS.call(void 0, {
7
- "src/definitions/integration-toolkit-runtime.json"(exports, module) {
8
- module.exports = { s: "https://integration-toolkit.sls.epilot.io", o: [["acknowledgeTracking", "post", "/v1/erp/tracking/acknowledgement", null, 1], ["triggerErp", "post", "/v1/erp/trigger", null, 1], ["processErpUpdatesEvents", "post", "/v1/erp/updates/events", null, 1], ["processErpUpdatesEventsV2", "post", "/v2/erp/updates/events", null, 1], ["processErpUpdatesEventsV3", "post", "/v3/erp/updates/events", null, 1], ["simulateMappingV2", "post", "/v2/erp/updates/mapping_simulation", null, 1], ["simulateMapping", "post", "/v1/erp/updates/mapping_simulation", null, 1], ["listIntegrations", "get", "/v1/integrations"], ["createIntegration", "post", "/v1/integrations", null, 1], ["getIntegration", "get", "/v1/integrations/{integrationId}", [["integrationId", "p", true]]], ["updateIntegration", "put", "/v1/integrations/{integrationId}", [["integrationId", "p", true]], 1], ["deleteIntegration", "delete", "/v1/integrations/{integrationId}", [["integrationId", "p", true]]], ["queryEvents", "post", "/v1/integrations/{integrationId}/events", [["integrationId", "p", true]], 1], ["replayEvents", "post", "/v1/integrations/{integrationId}/events/replay", [["integrationId", "p", true]], 1], ["listUseCases", "get", "/v1/integrations/{integrationId}/use-cases", [["integrationId", "p", true]]], ["createUseCase", "post", "/v1/integrations/{integrationId}/use-cases", [["integrationId", "p", true]], 1], ["getUseCase", "get", "/v1/integrations/{integrationId}/use-cases/{useCaseId}", [["integrationId", "p", true], ["useCaseId", "p", true]]], ["updateUseCase", "put", "/v1/integrations/{integrationId}/use-cases/{useCaseId}", [["integrationId", "p", true], ["useCaseId", "p", true]], 1], ["deleteUseCase", "delete", "/v1/integrations/{integrationId}/use-cases/{useCaseId}", [["integrationId", "p", true], ["useCaseId", "p", true]]], ["listUseCaseHistory", "get", "/v1/integrations/{integrationId}/use-cases/{useCaseId}/history", [["integrationId", "p", true], ["useCaseId", "p", true], ["cursor", "q"]]], ["listIntegrationsV2", "get", "/v2/integrations"], ["createIntegrationV2", "post", "/v2/integrations", null, 1], ["getIntegrationV2", "get", "/v2/integrations/{integrationId}", [["integrationId", "p", true]]], ["updateIntegrationV2", "put", "/v2/integrations/{integrationId}", [["integrationId", "p", true]], 1], ["deleteIntegrationV2", "delete", "/v2/integrations/{integrationId}", [["integrationId", "p", true]]], ["listNotificationHistory", "get", "/v2/integrations/{integrationId}/notifications/history", [["integrationId", "p", true], ["cursor", "q"], ["limit", "q"], ["type", "q"]]], ["testSendNotification", "post", "/v2/integrations/{integrationId}/notifications/test", [["integrationId", "p", true]], 1], ["getNotificationStatus", "get", "/v2/integrations/{integrationId}/notifications/status", [["integrationId", "p", true], ["include", "q"]]], ["getSecureProxyWhitelist", "get", "/v2/integrations/{integrationId}/use-cases/{useCaseId}/secure-proxy-whitelist", [["integrationId", "p", true], ["useCaseId", "p", true]]], ["updateSecureProxyWhitelist", "put", "/v2/integrations/{integrationId}/use-cases/{useCaseId}/secure-proxy-whitelist", [["integrationId", "p", true], ["useCaseId", "p", true]], 1], ["listSecureProxyWhitelistHistory", "get", "/v2/integrations/{integrationId}/use-cases/{useCaseId}/secure-proxy-whitelist/history", [["integrationId", "p", true], ["useCaseId", "p", true], ["limit", "q"]]], ["setIntegrationAppMapping", "put", "/v1/integrations/{integrationId}/app-mapping", [["integrationId", "p", true]], 1], ["deleteIntegrationAppMapping", "delete", "/v1/integrations/{integrationId}/app-mapping", [["integrationId", "p", true]], 1], ["queryInboundMonitoringEvents", "post", "/v1/integrations/{integrationId}/monitoring/inbound-events", [["integrationId", "p", true]], 1], ["getMonitoringStats", "post", "/v1/integrations/{integrationId}/monitoring/stats", [["integrationId", "p", true]], 1], ["getMonitoringTimeSeries", "post", "/v1/integrations/{integrationId}/monitoring/timeseries", [["integrationId", "p", true]], 1], ["getOutboundStatus", "get", "/v1/integrations/{integrationId}/outbound-status", [["integrationId", "p", true]]], ["pollOutboundMessages", "post", "/v1/integrations/{integrationId}/outbound/messages/poll", [["integrationId", "p", true]], 1], ["ackOutboundMessages", "post", "/v1/integrations/{integrationId}/outbound/messages/ack", [["integrationId", "p", true]], 1], ["listOutboundDlqMessages", "get", "/v1/integrations/{integrationId}/outbound/messages/dlq", [["integrationId", "p", true], ["limit", "q"], ["next_token", "q"]]], ["redriveOutboundDlqMessages", "post", "/v1/integrations/{integrationId}/outbound/messages/dlq/redrive", [["integrationId", "p", true]], 1], ["unblockOutboundStream", "post", "/v1/integrations/{integrationId}/outbound/messages/unblock", [["integrationId", "p", true]], 1], ["queryAccessLogs", "post", "/v1/integrations/{integrationId}/monitoring/access-logs", [["integrationId", "p", true]], 1], ["queryOutboundMonitoringEvents", "post", "/v1/integrations/{integrationId}/monitoring/outbound-events", [["integrationId", "p", true]], 1], ["queryMonitoringEventsV2", "post", "/v2/integrations/{integrationId}/monitoring/events", [["integrationId", "p", true]], 1], ["getMonitoringStatsV2", "post", "/v2/integrations/{integrationId}/monitoring/stats", [["integrationId", "p", true]], 1], ["getMonitoringTimeSeriesV2", "post", "/v2/integrations/{integrationId}/monitoring/time-series", [["integrationId", "p", true]], 1], ["getAssociatedMonitoringEvents", "get", "/v2/integrations/{integrationId}/monitoring/events/{eventId}/associated", [["integrationId", "p", true], ["eventId", "p", true]]], ["ingestExternalMonitoringEvents", "post", "/v2/integrations/{integrationId}/monitoring/external-events", [["integrationId", "p", true]], 1], ["getMonitoringTraceByCorrelation", "get", "/v2/integrations/{integrationId}/monitoring/traces/{correlationId}", [["integrationId", "p", true], ["correlationId", "p", true]]], ["listSecureProxies", "get", "/v1/integrations/secure-proxies"], ["secureProxy", "post", "/v1/secure-proxy", null, 1], ["managedCallExecute", "post", "/v1/managed-call/{slug}/execute", [["slug", "p", true]], 1], ["generateTypesPreview", "post", "/v1/integrations/{integrationId}/generate-types-preview", [["integrationId", "p", true]]], ["generateTypes", "post", "/v1/integrations/{integrationId}/generate-types", [["integrationId", "p", true]], 1], ["commitTypes", "post", "/v1/integrations/{integrationId}/commit-types", [["integrationId", "p", true]], 1], ["createErpImport", "post", "/v2/erp/imports", null, 1], ["listErpImports", "get", "/v2/erp/imports", [["limit", "q"], ["cursor", "q"]]], ["getErpImport", "get", "/v2/erp/imports/{importId}", [["importId", "p", true]]], ["validateErpImport", "post", "/v2/erp/imports/{importId}:validate", [["importId", "p", true]], 1], ["suggestErpImportUseCases", "post", "/v2/erp/imports/{importId}:suggest-use-cases", [["importId", "p", true]]], ["executeErpImport", "post", "/v2/erp/imports/{importId}:execute", [["importId", "p", true]], 1], ["abortErpImport", "post", "/v2/erp/imports/{importId}:abort", [["importId", "p", true]]]], v: "3.0.3" };
9
- }
10
- });
11
-
12
-
13
-
14
- exports.require_integration_toolkit_runtime = require_integration_toolkit_runtime;
@@ -1,14 +0,0 @@
1
- import {
2
- __commonJS
3
- } from "./chunk-YPSWSI3M.js";
4
-
5
- // src/definitions/configuration-hub-runtime.json
6
- var require_configuration_hub_runtime = __commonJS({
7
- "src/definitions/configuration-hub-runtime.json"(exports, module) {
8
- module.exports = { s: "https://configuration-hub.sls.epilot.io", o: [["listConfigTypes", "get", "/v1/configs/types"], ["listConfigs", "get", "/v1/configs/{type}", [["ConfigType"], ["CursorParam"], ["SizeParam"], ["q", "q"], ["updated_after", "q"], ["updated_before", "q"], ["purposes", "q"], ["blueprint_ids", "q"], ["sort", "q"], ["active_only", "q"]]], ["getConfigDependencies", "get", "/v1/configs/{type}/{id}/dependencies", [["ConfigType"], ["ConfigId"], ["CursorParam"], ["SizeParam"]]], ["getConfigUsedBy", "get", "/v1/configs/{type}/{id}/used_by", [["ConfigType"], ["ConfigId"]]], ["getIndex", "get", "/v1/configs/index"], ["createSyncJob", "post", "/v1/configs/sync-jobs", null, 1], ["listSyncJobs", "get", "/v1/configs/sync-jobs", [["CursorParam"], ["SizeParam"], ["status", "q"]]], ["getSyncJob", "get", "/v1/configs/sync-jobs/{id}", [["SyncJobId"]]], ["retrySyncJob", "post", "/v1/configs/sync-jobs/{id}/retry", [["SyncJobId"]], 1], ["listSyncJobResources", "get", "/v1/configs/sync-jobs/{id}/resources", [["SyncJobId"], ["CursorParam"], ["SizeParam"], ["status", "q"]]], ["rebuildIndex", "post", "/v1/configs/index:rebuild"]], v: "3.0.3", cp: { ConfigType: ["type", "p", true], ConfigId: ["id", "p", true], CursorParam: ["cursor", "q"], SizeParam: ["size", "q"], SyncJobId: ["id", "p", true] } };
9
- }
10
- });
11
-
12
- export {
13
- require_configuration_hub_runtime
14
- };
@@ -1,14 +0,0 @@
1
- import {
2
- __commonJS
3
- } from "./chunk-YPSWSI3M.js";
4
-
5
- // src/definitions/integration-toolkit-runtime.json
6
- var require_integration_toolkit_runtime = __commonJS({
7
- "src/definitions/integration-toolkit-runtime.json"(exports, module) {
8
- module.exports = { s: "https://integration-toolkit.sls.epilot.io", o: [["acknowledgeTracking", "post", "/v1/erp/tracking/acknowledgement", null, 1], ["triggerErp", "post", "/v1/erp/trigger", null, 1], ["processErpUpdatesEvents", "post", "/v1/erp/updates/events", null, 1], ["processErpUpdatesEventsV2", "post", "/v2/erp/updates/events", null, 1], ["processErpUpdatesEventsV3", "post", "/v3/erp/updates/events", null, 1], ["simulateMappingV2", "post", "/v2/erp/updates/mapping_simulation", null, 1], ["simulateMapping", "post", "/v1/erp/updates/mapping_simulation", null, 1], ["listIntegrations", "get", "/v1/integrations"], ["createIntegration", "post", "/v1/integrations", null, 1], ["getIntegration", "get", "/v1/integrations/{integrationId}", [["integrationId", "p", true]]], ["updateIntegration", "put", "/v1/integrations/{integrationId}", [["integrationId", "p", true]], 1], ["deleteIntegration", "delete", "/v1/integrations/{integrationId}", [["integrationId", "p", true]]], ["queryEvents", "post", "/v1/integrations/{integrationId}/events", [["integrationId", "p", true]], 1], ["replayEvents", "post", "/v1/integrations/{integrationId}/events/replay", [["integrationId", "p", true]], 1], ["listUseCases", "get", "/v1/integrations/{integrationId}/use-cases", [["integrationId", "p", true]]], ["createUseCase", "post", "/v1/integrations/{integrationId}/use-cases", [["integrationId", "p", true]], 1], ["getUseCase", "get", "/v1/integrations/{integrationId}/use-cases/{useCaseId}", [["integrationId", "p", true], ["useCaseId", "p", true]]], ["updateUseCase", "put", "/v1/integrations/{integrationId}/use-cases/{useCaseId}", [["integrationId", "p", true], ["useCaseId", "p", true]], 1], ["deleteUseCase", "delete", "/v1/integrations/{integrationId}/use-cases/{useCaseId}", [["integrationId", "p", true], ["useCaseId", "p", true]]], ["listUseCaseHistory", "get", "/v1/integrations/{integrationId}/use-cases/{useCaseId}/history", [["integrationId", "p", true], ["useCaseId", "p", true], ["cursor", "q"]]], ["listIntegrationsV2", "get", "/v2/integrations"], ["createIntegrationV2", "post", "/v2/integrations", null, 1], ["getIntegrationV2", "get", "/v2/integrations/{integrationId}", [["integrationId", "p", true]]], ["updateIntegrationV2", "put", "/v2/integrations/{integrationId}", [["integrationId", "p", true]], 1], ["deleteIntegrationV2", "delete", "/v2/integrations/{integrationId}", [["integrationId", "p", true]]], ["listNotificationHistory", "get", "/v2/integrations/{integrationId}/notifications/history", [["integrationId", "p", true], ["cursor", "q"], ["limit", "q"], ["type", "q"]]], ["testSendNotification", "post", "/v2/integrations/{integrationId}/notifications/test", [["integrationId", "p", true]], 1], ["getNotificationStatus", "get", "/v2/integrations/{integrationId}/notifications/status", [["integrationId", "p", true], ["include", "q"]]], ["getSecureProxyWhitelist", "get", "/v2/integrations/{integrationId}/use-cases/{useCaseId}/secure-proxy-whitelist", [["integrationId", "p", true], ["useCaseId", "p", true]]], ["updateSecureProxyWhitelist", "put", "/v2/integrations/{integrationId}/use-cases/{useCaseId}/secure-proxy-whitelist", [["integrationId", "p", true], ["useCaseId", "p", true]], 1], ["listSecureProxyWhitelistHistory", "get", "/v2/integrations/{integrationId}/use-cases/{useCaseId}/secure-proxy-whitelist/history", [["integrationId", "p", true], ["useCaseId", "p", true], ["limit", "q"]]], ["setIntegrationAppMapping", "put", "/v1/integrations/{integrationId}/app-mapping", [["integrationId", "p", true]], 1], ["deleteIntegrationAppMapping", "delete", "/v1/integrations/{integrationId}/app-mapping", [["integrationId", "p", true]], 1], ["queryInboundMonitoringEvents", "post", "/v1/integrations/{integrationId}/monitoring/inbound-events", [["integrationId", "p", true]], 1], ["getMonitoringStats", "post", "/v1/integrations/{integrationId}/monitoring/stats", [["integrationId", "p", true]], 1], ["getMonitoringTimeSeries", "post", "/v1/integrations/{integrationId}/monitoring/timeseries", [["integrationId", "p", true]], 1], ["getOutboundStatus", "get", "/v1/integrations/{integrationId}/outbound-status", [["integrationId", "p", true]]], ["pollOutboundMessages", "post", "/v1/integrations/{integrationId}/outbound/messages/poll", [["integrationId", "p", true]], 1], ["ackOutboundMessages", "post", "/v1/integrations/{integrationId}/outbound/messages/ack", [["integrationId", "p", true]], 1], ["listOutboundDlqMessages", "get", "/v1/integrations/{integrationId}/outbound/messages/dlq", [["integrationId", "p", true], ["limit", "q"], ["next_token", "q"]]], ["redriveOutboundDlqMessages", "post", "/v1/integrations/{integrationId}/outbound/messages/dlq/redrive", [["integrationId", "p", true]], 1], ["unblockOutboundStream", "post", "/v1/integrations/{integrationId}/outbound/messages/unblock", [["integrationId", "p", true]], 1], ["queryAccessLogs", "post", "/v1/integrations/{integrationId}/monitoring/access-logs", [["integrationId", "p", true]], 1], ["queryOutboundMonitoringEvents", "post", "/v1/integrations/{integrationId}/monitoring/outbound-events", [["integrationId", "p", true]], 1], ["queryMonitoringEventsV2", "post", "/v2/integrations/{integrationId}/monitoring/events", [["integrationId", "p", true]], 1], ["getMonitoringStatsV2", "post", "/v2/integrations/{integrationId}/monitoring/stats", [["integrationId", "p", true]], 1], ["getMonitoringTimeSeriesV2", "post", "/v2/integrations/{integrationId}/monitoring/time-series", [["integrationId", "p", true]], 1], ["getAssociatedMonitoringEvents", "get", "/v2/integrations/{integrationId}/monitoring/events/{eventId}/associated", [["integrationId", "p", true], ["eventId", "p", true]]], ["ingestExternalMonitoringEvents", "post", "/v2/integrations/{integrationId}/monitoring/external-events", [["integrationId", "p", true]], 1], ["getMonitoringTraceByCorrelation", "get", "/v2/integrations/{integrationId}/monitoring/traces/{correlationId}", [["integrationId", "p", true], ["correlationId", "p", true]]], ["listSecureProxies", "get", "/v1/integrations/secure-proxies"], ["secureProxy", "post", "/v1/secure-proxy", null, 1], ["managedCallExecute", "post", "/v1/managed-call/{slug}/execute", [["slug", "p", true]], 1], ["generateTypesPreview", "post", "/v1/integrations/{integrationId}/generate-types-preview", [["integrationId", "p", true]]], ["generateTypes", "post", "/v1/integrations/{integrationId}/generate-types", [["integrationId", "p", true]], 1], ["commitTypes", "post", "/v1/integrations/{integrationId}/commit-types", [["integrationId", "p", true]], 1], ["createErpImport", "post", "/v2/erp/imports", null, 1], ["listErpImports", "get", "/v2/erp/imports", [["limit", "q"], ["cursor", "q"]]], ["getErpImport", "get", "/v2/erp/imports/{importId}", [["importId", "p", true]]], ["validateErpImport", "post", "/v2/erp/imports/{importId}:validate", [["importId", "p", true]], 1], ["suggestErpImportUseCases", "post", "/v2/erp/imports/{importId}:suggest-use-cases", [["importId", "p", true]]], ["executeErpImport", "post", "/v2/erp/imports/{importId}:execute", [["importId", "p", true]], 1], ["abortErpImport", "post", "/v2/erp/imports/{importId}:abort", [["importId", "p", true]]]], v: "3.0.3" };
9
- }
10
- });
11
-
12
- export {
13
- require_integration_toolkit_runtime
14
- };