@talqing/sdk 0.7.0 → 0.9.0

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.
@@ -176,6 +176,12 @@ export type AgentConfig = {
176
176
  */
177
177
  channel?: 'voice' | 'video' | 'text';
178
178
  conversation?: ConversationSpec;
179
+ /**
180
+ * Faqs
181
+ *
182
+ * FAQs the agent answers from: questions go in the prompt, answers are fetched on demand.
183
+ */
184
+ faqs?: Array<FaqSelection>;
179
185
  /**
180
186
  * Greeting
181
187
  *
@@ -194,12 +200,6 @@ export type AgentConfig = {
194
200
  * Where this agent may hand the conversation next. Each entry becomes one tool the model can call, so routing quality lives in its `description`. A target is a stored agent (`agent_id`) or a member of the team defined on the call.
195
201
  */
196
202
  handoffs?: Array<HandoffTarget>;
197
- /**
198
- * Kb Ids
199
- *
200
- * Knowledge bases to read from: their outline goes into the prompt and pages are fetched on demand.
201
- */
202
- kb_ids?: Array<string>;
203
203
  keypad_input?: KeypadInputSpec;
204
204
  /**
205
205
  * Language
@@ -308,6 +308,12 @@ export type AgentOverride = {
308
308
  */
309
309
  channel?: 'voice' | 'video' | 'text' | null;
310
310
  conversation?: ConversationSpecOverride | null;
311
+ /**
312
+ * Faqs
313
+ *
314
+ * FAQs the agent answers from: questions go in the prompt, answers are fetched on demand.
315
+ */
316
+ faqs?: Array<FaqSelection> | null;
311
317
  /**
312
318
  * Greeting
313
319
  *
@@ -326,12 +332,6 @@ export type AgentOverride = {
326
332
  * Where this agent may hand the conversation next. Each entry becomes one tool the model can call, so routing quality lives in its `description`. A target is a stored agent (`agent_id`) or a member of the team defined on the call.
327
333
  */
328
334
  handoffs?: Array<HandoffTarget> | null;
329
- /**
330
- * Kb Ids
331
- *
332
- * Knowledge bases to read from: their outline goes into the prompt and pages are fetched on demand.
333
- */
334
- kb_ids?: Array<string> | null;
335
335
  keypad_input?: KeypadInputSpecOverride | null;
336
336
  /**
337
337
  * Language
@@ -1091,30 +1091,6 @@ export type BatchRecipientInput = {
1091
1091
  };
1092
1092
  };
1093
1093
 
1094
- /**
1095
- * BuildKBRequest
1096
- */
1097
- export type BuildKBRequest = {
1098
- /**
1099
- * Selected Urls
1100
- */
1101
- selected_urls?: Array<string>;
1102
- };
1103
-
1104
- /**
1105
- * BuildResultResponse
1106
- */
1107
- export type BuildResultResponse = {
1108
- /**
1109
- * Count
1110
- */
1111
- count: number;
1112
- /**
1113
- * Ok
1114
- */
1115
- ok?: boolean;
1116
- };
1117
-
1118
1094
  /**
1119
1095
  * BuiltinTool
1120
1096
  *
@@ -1326,6 +1302,26 @@ export type CallBatchResponse = {
1326
1302
  * Created At
1327
1303
  */
1328
1304
  created_at: string;
1305
+ /**
1306
+ * Dial Daily Cap
1307
+ */
1308
+ dial_daily_cap: ({
1309
+ kind: 'fixed';
1310
+ } & FixedDailyCap) | ({
1311
+ kind: 'ramp';
1312
+ } & RampDailyCap) | null;
1313
+ /**
1314
+ * Dial Daily Cap Today
1315
+ */
1316
+ dial_daily_cap_today: number | null;
1317
+ /**
1318
+ * Dial Gap Seconds
1319
+ */
1320
+ dial_gap_seconds: number;
1321
+ /**
1322
+ * Dialed Today
1323
+ */
1324
+ dialed_today: number;
1329
1325
  /**
1330
1326
  * Ended At
1331
1327
  */
@@ -1362,6 +1358,10 @@ export type CallBatchResponse = {
1362
1358
  * Next Dial At
1363
1359
  */
1364
1360
  next_dial_at: string | null;
1361
+ /**
1362
+ * Next Dial Reason
1363
+ */
1364
+ next_dial_reason: 'start' | 'window' | 'daily_cap' | null;
1365
1365
  /**
1366
1366
  * Retry After Minutes
1367
1367
  */
@@ -2889,6 +2889,22 @@ export type CreateCallBatchRequest = {
2889
2889
  */
2890
2890
  agent_version?: number | 'draft' | null;
2891
2891
  calling_window?: TimeWindow | null;
2892
+ /**
2893
+ * Dial Daily Cap
2894
+ *
2895
+ * Calls placed per local day, retries included: a fixed limit, or a ramp that rises on days it dialled. Null is uncapped.
2896
+ */
2897
+ dial_daily_cap?: ({
2898
+ kind: 'fixed';
2899
+ } & FixedDailyCap) | ({
2900
+ kind: 'ramp';
2901
+ } & RampDailyCap) | null;
2902
+ /**
2903
+ * Dial Gap Seconds
2904
+ *
2905
+ * Minimum seconds between STARTING two calls; 0 dials as slots free. A call may start up to 30 seconds after its gap ends.
2906
+ */
2907
+ dial_gap_seconds?: number;
2892
2908
  /**
2893
2909
  * From Phone Number Id
2894
2910
  */
@@ -3045,9 +3061,13 @@ export type CreateEmailBatchRequest = {
3045
3061
  /**
3046
3062
  * Send Daily Cap
3047
3063
  *
3048
- * Emails this batch may send per local day, across all of its sends. Null is uncapped.
3064
+ * Emails this batch may send per local day, across all of its sends: a fixed limit, or a ramp that rises on days it sent. Null is uncapped.
3049
3065
  */
3050
- send_daily_cap?: number | null;
3066
+ send_daily_cap?: ({
3067
+ kind: 'fixed';
3068
+ } & FixedDailyCap) | ({
3069
+ kind: 'ramp';
3070
+ } & RampDailyCap) | null;
3051
3071
  /**
3052
3072
  * Send Gap Seconds
3053
3073
  *
@@ -3122,7 +3142,11 @@ export type CreateEmailSendRequest = {
3122
3142
  /**
3123
3143
  * Send Daily Cap
3124
3144
  */
3125
- send_daily_cap?: number | null;
3145
+ send_daily_cap?: ({
3146
+ kind: 'fixed';
3147
+ } & FixedDailyCap) | ({
3148
+ kind: 'ramp';
3149
+ } & RampDailyCap) | null;
3126
3150
  /**
3127
3151
  * Send Gap Seconds
3128
3152
  */
@@ -3160,6 +3184,16 @@ export type CreateEmailSendResponse = {
3160
3184
  send: EmailSendResponse;
3161
3185
  };
3162
3186
 
3187
+ /**
3188
+ * CreateFaqEntriesRequest
3189
+ */
3190
+ export type CreateFaqEntriesRequest = {
3191
+ /**
3192
+ * Entries
3193
+ */
3194
+ entries: Array<FaqEntryInput>;
3195
+ };
3196
+
3163
3197
  /**
3164
3198
  * CreateIntegrationRequest
3165
3199
  */
@@ -3242,28 +3276,6 @@ export type CreateIntegrationTriggerRequest = {
3242
3276
  trigger_type: 'telegram.message.inbound' | 'whatsapp.message.inbound' | 'whatsapp.call.inbound';
3243
3277
  };
3244
3278
 
3245
- /**
3246
- * CreateKBRequest
3247
- */
3248
- export type CreateKBRequest = {
3249
- /**
3250
- * Max Pages
3251
- */
3252
- max_pages?: number;
3253
- /**
3254
- * Name
3255
- */
3256
- name: string;
3257
- /**
3258
- * Notes
3259
- */
3260
- notes?: string;
3261
- /**
3262
- * Urls
3263
- */
3264
- urls?: Array<string>;
3265
- };
3266
-
3267
3279
  /**
3268
3280
  * CreateSecretRequest
3269
3281
  */
@@ -3420,9 +3432,13 @@ export type CreateWhatsAppBatchRequest = {
3420
3432
  /**
3421
3433
  * Send Daily Cap
3422
3434
  *
3423
- * Messages per local day. Null is uncapped.
3435
+ * Messages per local day: a fixed limit, or a ramp that rises on days it sent. Null is uncapped.
3424
3436
  */
3425
- send_daily_cap?: number | null;
3437
+ send_daily_cap?: ({
3438
+ kind: 'fixed';
3439
+ } & FixedDailyCap) | ({
3440
+ kind: 'ramp';
3441
+ } & RampDailyCap) | null;
3426
3442
  /**
3427
3443
  * Send Gap Seconds
3428
3444
  */
@@ -3851,7 +3867,15 @@ export type EmailBatchResponse = {
3851
3867
  /**
3852
3868
  * Send Daily Cap
3853
3869
  */
3854
- send_daily_cap: number | null;
3870
+ send_daily_cap: ({
3871
+ kind: 'fixed';
3872
+ } & FixedDailyCap) | ({
3873
+ kind: 'ramp';
3874
+ } & RampDailyCap) | null;
3875
+ /**
3876
+ * Send Daily Cap Today
3877
+ */
3878
+ send_daily_cap_today: number | null;
3855
3879
  /**
3856
3880
  * Send Gap Seconds
3857
3881
  */
@@ -4132,7 +4156,15 @@ export type EmailSendResponse = {
4132
4156
  /**
4133
4157
  * Send Daily Cap
4134
4158
  */
4135
- send_daily_cap: number | null;
4159
+ send_daily_cap: ({
4160
+ kind: 'fixed';
4161
+ } & FixedDailyCap) | ({
4162
+ kind: 'ramp';
4163
+ } & RampDailyCap) | null;
4164
+ /**
4165
+ * Send Daily Cap Today
4166
+ */
4167
+ send_daily_cap_today: number | null;
4136
4168
  /**
4137
4169
  * Send Gap Seconds
4138
4170
  */
@@ -4290,6 +4322,149 @@ export type ExpressiveDialect = {
4290
4322
  prompt: string;
4291
4323
  };
4292
4324
 
4325
+ /**
4326
+ * FaqDefinition
4327
+ *
4328
+ * An FAQ: a named list of question/answer pairs.
4329
+ */
4330
+ export type FaqDefinition = {
4331
+ /**
4332
+ * Entries
4333
+ */
4334
+ entries?: Array<FaqEntryInput>;
4335
+ /**
4336
+ * Name
4337
+ */
4338
+ name: string;
4339
+ };
4340
+
4341
+ /**
4342
+ * FaqDetail
4343
+ */
4344
+ export type FaqDetail = {
4345
+ /**
4346
+ * Created At
4347
+ */
4348
+ created_at: string;
4349
+ /**
4350
+ * Created By
4351
+ */
4352
+ created_by: string | null;
4353
+ /**
4354
+ * Entries
4355
+ */
4356
+ entries: Array<FaqEntry>;
4357
+ /**
4358
+ * Entry Count
4359
+ */
4360
+ entry_count: number;
4361
+ /**
4362
+ * Id
4363
+ */
4364
+ id: string;
4365
+ /**
4366
+ * Name
4367
+ */
4368
+ name: string;
4369
+ /**
4370
+ * Updated At
4371
+ */
4372
+ updated_at: string;
4373
+ };
4374
+
4375
+ /**
4376
+ * FaqEntriesResponse
4377
+ */
4378
+ export type FaqEntriesResponse = {
4379
+ /**
4380
+ * Entries
4381
+ */
4382
+ entries: Array<FaqEntry>;
4383
+ };
4384
+
4385
+ /**
4386
+ * FaqEntry
4387
+ */
4388
+ export type FaqEntry = {
4389
+ /**
4390
+ * Answer
4391
+ */
4392
+ answer: string;
4393
+ /**
4394
+ * Created At
4395
+ */
4396
+ created_at: string;
4397
+ /**
4398
+ * Id
4399
+ */
4400
+ id: string;
4401
+ /**
4402
+ * Question
4403
+ */
4404
+ question: string;
4405
+ /**
4406
+ * Updated At
4407
+ */
4408
+ updated_at: string;
4409
+ };
4410
+
4411
+ /**
4412
+ * FaqEntryInput
4413
+ */
4414
+ export type FaqEntryInput = {
4415
+ /**
4416
+ * Answer
4417
+ */
4418
+ answer: string;
4419
+ /**
4420
+ * Question
4421
+ */
4422
+ question: string;
4423
+ };
4424
+
4425
+ /**
4426
+ * FaqSelection
4427
+ *
4428
+ * An FAQ the agent answers from: name one with `faq_id`, or define one inline.
4429
+ */
4430
+ export type FaqSelection = {
4431
+ faq?: InlineFaq | null;
4432
+ /**
4433
+ * Faq Id
4434
+ */
4435
+ faq_id?: string | null;
4436
+ };
4437
+
4438
+ /**
4439
+ * FaqSummary
4440
+ */
4441
+ export type FaqSummary = {
4442
+ /**
4443
+ * Created At
4444
+ */
4445
+ created_at: string;
4446
+ /**
4447
+ * Created By
4448
+ */
4449
+ created_by: string | null;
4450
+ /**
4451
+ * Entry Count
4452
+ */
4453
+ entry_count: number;
4454
+ /**
4455
+ * Id
4456
+ */
4457
+ id: string;
4458
+ /**
4459
+ * Name
4460
+ */
4461
+ name: string;
4462
+ /**
4463
+ * Updated At
4464
+ */
4465
+ updated_at: string;
4466
+ };
4467
+
4293
4468
  /**
4294
4469
  * FieldMap
4295
4470
  *
@@ -4321,6 +4496,22 @@ export type FieldMap = {
4321
4496
  to: string;
4322
4497
  };
4323
4498
 
4499
+ /**
4500
+ * FixedDailyCap
4501
+ *
4502
+ * The same limit every day.
4503
+ */
4504
+ export type FixedDailyCap = {
4505
+ /**
4506
+ * Kind
4507
+ */
4508
+ kind: 'fixed';
4509
+ /**
4510
+ * Limit
4511
+ */
4512
+ limit: number;
4513
+ };
4514
+
4324
4515
  /**
4325
4516
  * FrontendRpcConfig
4326
4517
  */
@@ -4880,6 +5071,25 @@ export type InboundImage = {
4880
5071
  filename?: string | null;
4881
5072
  };
4882
5073
 
5074
+ /**
5075
+ * InlineFaq
5076
+ *
5077
+ * An FAQ defined here rather than named.
5078
+ *
5079
+ * On the call endpoints it is used for that call only; on the agent and task
5080
+ * endpoints it is created as a real FAQ.
5081
+ */
5082
+ export type InlineFaq = {
5083
+ /**
5084
+ * Entries
5085
+ */
5086
+ entries: Array<FaqEntryInput>;
5087
+ /**
5088
+ * Name
5089
+ */
5090
+ name: string;
5091
+ };
5092
+
4883
5093
  /**
4884
5094
  * InlineMcpServer
4885
5095
  *
@@ -5493,378 +5703,69 @@ export type ItemDeliveryUpdatedEvent = {
5493
5703
  };
5494
5704
 
5495
5705
  /**
5496
- * KBDetail
5706
+ * KeypadInputSpec
5707
+ *
5708
+ * Digits the caller types, delivered as a turn the agent can answer.
5497
5709
  *
5498
- * The full single-KB view: the ToC tree + stage-specific curation data.
5710
+ * Phone and stream calls only, and only where the platform sends DTMF as an
5711
+ * event — tones inside the audio are not detected. `voice` agents only:
5712
+ * enabling it on `video` or `text` is refused.
5499
5713
  */
5500
- export type KBDetail = {
5714
+ export type KeypadInputSpec = {
5501
5715
  /**
5502
- * All Data Summary
5716
+ * Enabled
5717
+ *
5718
+ * Let the caller answer with the keypad. Each entry arrives as one labelled user turn, and the first keypress interrupts whatever the agent is saying.
5503
5719
  */
5504
- all_data_summary?: string | null;
5720
+ enabled?: boolean;
5505
5721
  /**
5506
- * Created At
5722
+ * Terminator
5723
+ *
5724
+ * The key that ends an entry. It is not part of the entry, and pressing it on nothing is ignored. Empty means only the quiet timer ends one.
5507
5725
  */
5508
- created_at: string;
5726
+ terminator?: '#' | '*' | '';
5509
5727
  /**
5510
- * Created By
5728
+ * Timeout
5729
+ *
5730
+ * Seconds of quiet before an entry is taken as finished. 0 waits for the terminator however long it takes.
5511
5731
  */
5512
- created_by?: string | null;
5732
+ timeout?: number;
5733
+ };
5734
+
5735
+ /**
5736
+ * KeypadInputSpecOverride
5737
+ *
5738
+ * A partial KeypadInputSpec: only the fields this call changes. Absent keeps the base value, an explicit null clears it, objects deep-merge and lists replace.
5739
+ */
5740
+ export type KeypadInputSpecOverride = {
5513
5741
  /**
5514
- * Discovered
5742
+ * Enabled
5743
+ *
5744
+ * Let the caller answer with the keypad. Each entry arrives as one labelled user turn, and the first keypress interrupts whatever the agent is saying.
5515
5745
  */
5516
- discovered?: Array<string> | null;
5746
+ enabled?: boolean | null;
5517
5747
  /**
5518
- * Error
5748
+ * Terminator
5749
+ *
5750
+ * The key that ends an entry. It is not part of the entry, and pressing it on nothing is ignored. Empty means only the quiet timer ends one.
5519
5751
  */
5520
- error?: string | null;
5752
+ terminator?: '#' | '*' | '' | null;
5521
5753
  /**
5522
- * Id
5754
+ * Timeout
5755
+ *
5756
+ * Seconds of quiet before an entry is taken as finished. 0 waits for the terminator however long it takes.
5523
5757
  */
5524
- id: string;
5758
+ timeout?: number | null;
5759
+ };
5760
+
5761
+ /**
5762
+ * LLMCatalogEntryResponse
5763
+ */
5764
+ export type LLMCatalogEntryResponse = {
5525
5765
  /**
5526
- * Max Pages
5766
+ * Base Url
5527
5767
  */
5528
- max_pages?: number;
5529
- /**
5530
- * Name
5531
- */
5532
- name: string;
5533
- /**
5534
- * Node Count
5535
- */
5536
- node_count?: number | null;
5537
- /**
5538
- * Notes
5539
- */
5540
- notes?: string;
5541
- /**
5542
- * Parents
5543
- */
5544
- parents?: {
5545
- [key: string]: string | null;
5546
- } | null;
5547
- progress?: KbProgress;
5548
- /**
5549
- * Seeds
5550
- */
5551
- seeds?: Array<string>;
5552
- /**
5553
- * Status
5554
- */
5555
- status: 'discovering' | 'review' | 'transcribing' | 'generating' | 'ready' | 'error';
5556
- /**
5557
- * Tree
5558
- */
5559
- tree?: Array<KbTreeNode> | null;
5560
- /**
5561
- * Unplaced
5562
- */
5563
- unplaced?: Array<string> | null;
5564
- /**
5565
- * Updated At
5566
- */
5567
- updated_at: string;
5568
- /**
5569
- * Url Count
5570
- */
5571
- url_count?: number | null;
5572
- };
5573
-
5574
- /**
5575
- * KBPageResponse
5576
- */
5577
- export type KBPageResponse = {
5578
- /**
5579
- * Content Len
5580
- */
5581
- content_len: number;
5582
- /**
5583
- * Error
5584
- */
5585
- error?: string | null;
5586
- /**
5587
- * Kind
5588
- */
5589
- kind?: string | null;
5590
- /**
5591
- * Parent Url
5592
- */
5593
- parent_url?: string | null;
5594
- /**
5595
- * Status
5596
- */
5597
- status: string;
5598
- /**
5599
- * Summary
5600
- */
5601
- summary?: string | null;
5602
- /**
5603
- * Title
5604
- */
5605
- title?: string | null;
5606
- /**
5607
- * Updated At
5608
- */
5609
- updated_at: string;
5610
- /**
5611
- * Url
5612
- */
5613
- url: string;
5614
- };
5615
-
5616
- /**
5617
- * KBSummary
5618
- *
5619
- * The KB header — what the list view needs (no tree / curation detail).
5620
- */
5621
- export type KBSummary = {
5622
- /**
5623
- * Created At
5624
- */
5625
- created_at: string;
5626
- /**
5627
- * Created By
5628
- */
5629
- created_by?: string | null;
5630
- /**
5631
- * Error
5632
- */
5633
- error?: string | null;
5634
- /**
5635
- * Id
5636
- */
5637
- id: string;
5638
- /**
5639
- * Name
5640
- */
5641
- name: string;
5642
- /**
5643
- * Node Count
5644
- */
5645
- node_count?: number | null;
5646
- progress?: KbProgress;
5647
- /**
5648
- * Seeds
5649
- */
5650
- seeds?: Array<string>;
5651
- /**
5652
- * Status
5653
- */
5654
- status: 'discovering' | 'review' | 'transcribing' | 'generating' | 'ready' | 'error';
5655
- /**
5656
- * Updated At
5657
- */
5658
- updated_at: string;
5659
- /**
5660
- * Url Count
5661
- */
5662
- url_count?: number | null;
5663
- };
5664
-
5665
- /**
5666
- * KbProgress
5667
- *
5668
- * Build-stage progress written to knowledge_bases.progress JSONB.
5669
- */
5670
- export type KbProgress = {
5671
- /**
5672
- * Done
5673
- */
5674
- done: number | null;
5675
- /**
5676
- * Failed
5677
- */
5678
- failed: number | null;
5679
- /**
5680
- * Message
5681
- */
5682
- message: string | null;
5683
- /**
5684
- * Phase
5685
- */
5686
- phase: string;
5687
- /**
5688
- * Total
5689
- */
5690
- total: number | null;
5691
- };
5692
-
5693
- /**
5694
- * KbProgressEvent
5695
- *
5696
- * One step of the running build. Purely advisory — the canonical progress
5697
- * is on the knowledge base itself, which `get_kb` returns.
5698
- */
5699
- export type KbProgressEvent = {
5700
- /**
5701
- * Done
5702
- */
5703
- done: number | null;
5704
- /**
5705
- * Event
5706
- */
5707
- event: 'progress';
5708
- /**
5709
- * Failed
5710
- */
5711
- failed: number | null;
5712
- /**
5713
- * Message
5714
- */
5715
- message: string | null;
5716
- /**
5717
- * Phase
5718
- */
5719
- phase: string;
5720
- /**
5721
- * Total
5722
- */
5723
- total: number | null;
5724
- };
5725
-
5726
- /**
5727
- * KbSnapshotEvent
5728
- *
5729
- * Where the build stands. First frame, and again on every reconnect.
5730
- */
5731
- export type KbSnapshotEvent = {
5732
- /**
5733
- * Error
5734
- */
5735
- error: string | null;
5736
- /**
5737
- * Event
5738
- */
5739
- event: 'snapshot';
5740
- progress: KbProgress;
5741
- /**
5742
- * Status
5743
- */
5744
- status: string;
5745
- };
5746
-
5747
- /**
5748
- * KbStatusEvent
5749
- *
5750
- * The build reached a new state. `error` is set only when `status` is
5751
- * `error`, and says what stopped it.
5752
- */
5753
- export type KbStatusEvent = {
5754
- /**
5755
- * Error
5756
- */
5757
- error: string | null;
5758
- /**
5759
- * Event
5760
- */
5761
- event: 'status';
5762
- /**
5763
- * Status
5764
- */
5765
- status: 'discovering' | 'review' | 'transcribing' | 'generating' | 'ready' | 'error';
5766
- };
5767
-
5768
- /**
5769
- * KbTreeNode
5770
- *
5771
- * One ToC node in the dashboard tree (content omitted; has_content flag only).
5772
- */
5773
- export type KbTreeNode = {
5774
- /**
5775
- * Children
5776
- */
5777
- children?: Array<KbTreeNode>;
5778
- /**
5779
- * Has Content
5780
- */
5781
- has_content?: boolean;
5782
- /**
5783
- * Id
5784
- */
5785
- id: string;
5786
- /**
5787
- * Kind
5788
- */
5789
- kind?: string | null;
5790
- /**
5791
- * Source Url
5792
- */
5793
- source_url?: string | null;
5794
- /**
5795
- * Summary
5796
- */
5797
- summary?: string | null;
5798
- /**
5799
- * Title
5800
- */
5801
- title?: string | null;
5802
- };
5803
-
5804
- /**
5805
- * KeypadInputSpec
5806
- *
5807
- * Digits the caller types, delivered as a turn the agent can answer.
5808
- *
5809
- * Phone and stream calls only, and only where the platform sends DTMF as an
5810
- * event — tones inside the audio are not detected. `voice` agents only:
5811
- * enabling it on `video` or `text` is refused.
5812
- */
5813
- export type KeypadInputSpec = {
5814
- /**
5815
- * Enabled
5816
- *
5817
- * Let the caller answer with the keypad. Each entry arrives as one labelled user turn, and the first keypress interrupts whatever the agent is saying.
5818
- */
5819
- enabled?: boolean;
5820
- /**
5821
- * Terminator
5822
- *
5823
- * The key that ends an entry. It is not part of the entry, and pressing it on nothing is ignored. Empty means only the quiet timer ends one.
5824
- */
5825
- terminator?: '#' | '*' | '';
5826
- /**
5827
- * Timeout
5828
- *
5829
- * Seconds of quiet before an entry is taken as finished. 0 waits for the terminator however long it takes.
5830
- */
5831
- timeout?: number;
5832
- };
5833
-
5834
- /**
5835
- * KeypadInputSpecOverride
5836
- *
5837
- * A partial KeypadInputSpec: only the fields this call changes. Absent keeps the base value, an explicit null clears it, objects deep-merge and lists replace.
5838
- */
5839
- export type KeypadInputSpecOverride = {
5840
- /**
5841
- * Enabled
5842
- *
5843
- * Let the caller answer with the keypad. Each entry arrives as one labelled user turn, and the first keypress interrupts whatever the agent is saying.
5844
- */
5845
- enabled?: boolean | null;
5846
- /**
5847
- * Terminator
5848
- *
5849
- * The key that ends an entry. It is not part of the entry, and pressing it on nothing is ignored. Empty means only the quiet timer ends one.
5850
- */
5851
- terminator?: '#' | '*' | '' | null;
5852
- /**
5853
- * Timeout
5854
- *
5855
- * Seconds of quiet before an entry is taken as finished. 0 waits for the terminator however long it takes.
5856
- */
5857
- timeout?: number | null;
5858
- };
5859
-
5860
- /**
5861
- * LLMCatalogEntryResponse
5862
- */
5863
- export type LLMCatalogEntryResponse = {
5864
- /**
5865
- * Base Url
5866
- */
5867
- base_url: string | null;
5768
+ base_url: string | null;
5868
5769
  /**
5869
5770
  * Builtin Tools
5870
5771
  */
@@ -6396,59 +6297,25 @@ export type ModelMetadata = {
6396
6297
  *
6397
6298
  * How fresh one kind of this process's searched-provider model list is.
6398
6299
  *
6399
- * A silently stale registry is the one failure this design trades for
6400
- * freshness — a refresh that keeps failing holds the last good snapshot
6401
- * indefinitely, on purpose, because clearing it would take every model of that
6402
- * provider out of the editor and out of publish validation at once. So its age
6403
- * has to be readable without opening a log.
6404
- */
6405
- export type ModelRegistryHealth = {
6406
- /**
6407
- * Age Seconds
6408
- */
6409
- age_seconds: number | null;
6410
- /**
6411
- * Last Error
6412
- */
6413
- last_error: string | null;
6414
- /**
6415
- * Models
6416
- */
6417
- models: number;
6418
- };
6419
-
6420
- /**
6421
- * NodeContentResponse
6422
- */
6423
- export type NodeContentResponse = {
6424
- /**
6425
- * Content
6426
- */
6427
- content: string;
6428
- /**
6429
- * Id
6430
- */
6431
- id: string;
6432
- /**
6433
- * Kind
6434
- */
6435
- kind?: string | null;
6436
- /**
6437
- * Source Url
6438
- */
6439
- source_url?: string | null;
6300
+ * A silently stale registry is the one failure this design trades for
6301
+ * freshness — a refresh that keeps failing holds the last good snapshot
6302
+ * indefinitely, on purpose, because clearing it would take every model of that
6303
+ * provider out of the editor and out of publish validation at once. So its age
6304
+ * has to be readable without opening a log.
6305
+ */
6306
+ export type ModelRegistryHealth = {
6440
6307
  /**
6441
- * Summary
6308
+ * Age Seconds
6442
6309
  */
6443
- summary?: string | null;
6310
+ age_seconds: number | null;
6444
6311
  /**
6445
- * Title
6312
+ * Last Error
6446
6313
  */
6447
- title?: string | null;
6314
+ last_error: string | null;
6448
6315
  /**
6449
- * Version
6316
+ * Models
6450
6317
  */
6451
- version?: number;
6318
+ models: number;
6452
6319
  };
6453
6320
 
6454
6321
  /**
@@ -7535,31 +7402,9 @@ export type PageEmailSendResponse = {
7535
7402
  };
7536
7403
 
7537
7404
  /**
7538
- * Page[IntegrationCatalogItem]
7539
- */
7540
- export type PageIntegrationCatalogItem = {
7541
- /**
7542
- * Has More
7543
- */
7544
- has_more: boolean;
7545
- /**
7546
- * Items
7547
- */
7548
- items: Array<IntegrationCatalogItem>;
7549
- /**
7550
- * Limit
7551
- */
7552
- limit: number;
7553
- /**
7554
- * Offset
7555
- */
7556
- offset: number;
7557
- };
7558
-
7559
- /**
7560
- * Page[IntegrationResponse]
7405
+ * Page[FaqSummary]
7561
7406
  */
7562
- export type PageIntegrationResponse = {
7407
+ export type PageFaqSummary = {
7563
7408
  /**
7564
7409
  * Has More
7565
7410
  */
@@ -7567,7 +7412,7 @@ export type PageIntegrationResponse = {
7567
7412
  /**
7568
7413
  * Items
7569
7414
  */
7570
- items: Array<IntegrationResponse>;
7415
+ items: Array<FaqSummary>;
7571
7416
  /**
7572
7417
  * Limit
7573
7418
  */
@@ -7579,9 +7424,9 @@ export type PageIntegrationResponse = {
7579
7424
  };
7580
7425
 
7581
7426
  /**
7582
- * Page[IntegrationTriggerResponse]
7427
+ * Page[IntegrationCatalogItem]
7583
7428
  */
7584
- export type PageIntegrationTriggerResponse = {
7429
+ export type PageIntegrationCatalogItem = {
7585
7430
  /**
7586
7431
  * Has More
7587
7432
  */
@@ -7589,7 +7434,7 @@ export type PageIntegrationTriggerResponse = {
7589
7434
  /**
7590
7435
  * Items
7591
7436
  */
7592
- items: Array<IntegrationTriggerResponse>;
7437
+ items: Array<IntegrationCatalogItem>;
7593
7438
  /**
7594
7439
  * Limit
7595
7440
  */
@@ -7601,9 +7446,9 @@ export type PageIntegrationTriggerResponse = {
7601
7446
  };
7602
7447
 
7603
7448
  /**
7604
- * Page[KBPageResponse]
7449
+ * Page[IntegrationResponse]
7605
7450
  */
7606
- export type PageKBPageResponse = {
7451
+ export type PageIntegrationResponse = {
7607
7452
  /**
7608
7453
  * Has More
7609
7454
  */
@@ -7611,7 +7456,7 @@ export type PageKBPageResponse = {
7611
7456
  /**
7612
7457
  * Items
7613
7458
  */
7614
- items: Array<KBPageResponse>;
7459
+ items: Array<IntegrationResponse>;
7615
7460
  /**
7616
7461
  * Limit
7617
7462
  */
@@ -7623,9 +7468,9 @@ export type PageKBPageResponse = {
7623
7468
  };
7624
7469
 
7625
7470
  /**
7626
- * Page[KBSummary]
7471
+ * Page[IntegrationTriggerResponse]
7627
7472
  */
7628
- export type PageKBSummary = {
7473
+ export type PageIntegrationTriggerResponse = {
7629
7474
  /**
7630
7475
  * Has More
7631
7476
  */
@@ -7633,7 +7478,7 @@ export type PageKBSummary = {
7633
7478
  /**
7634
7479
  * Items
7635
7480
  */
7636
- items: Array<KBSummary>;
7481
+ items: Array<IntegrationTriggerResponse>;
7637
7482
  /**
7638
7483
  * Limit
7639
7484
  */
@@ -7913,8 +7758,9 @@ export type PageWhatsAppRecipientResponse = {
7913
7758
  *
7914
7759
  * Policy edits, allowed while a batch is `scheduled`, `running`, `paused` or `completed`.
7915
7760
  *
7916
- * ``calling_window`` and ``start_at`` accept an explicit ``null`` to *clear*
7917
- * them — "dial at any hour", "start on the next pass" — which is why the
7761
+ * ``calling_window``, ``start_at`` and ``dial_daily_cap`` accept an explicit
7762
+ * ``null`` to *clear* them — "dial at any hour", "start on the next pass", "no
7763
+ * daily limit" — which is why the
7918
7764
  * service reads ``model_fields_set`` rather than treating absent and null the
7919
7765
  * same way. Every other field keeps the usual PATCH rule: absent means
7920
7766
  * unchanged.
@@ -7925,6 +7771,18 @@ export type PatchCallBatchRequest = {
7925
7771
  */
7926
7772
  agent_id?: string | null;
7927
7773
  calling_window?: TimeWindow | null;
7774
+ /**
7775
+ * Dial Daily Cap
7776
+ */
7777
+ dial_daily_cap?: ({
7778
+ kind: 'fixed';
7779
+ } & FixedDailyCap) | ({
7780
+ kind: 'ramp';
7781
+ } & RampDailyCap) | null;
7782
+ /**
7783
+ * Dial Gap Seconds
7784
+ */
7785
+ dial_gap_seconds?: number | null;
7928
7786
  /**
7929
7787
  * From Phone Number Id
7930
7788
  */
@@ -8037,7 +7895,11 @@ export type PatchEmailBatchRequest = {
8037
7895
  /**
8038
7896
  * Send Daily Cap
8039
7897
  */
8040
- send_daily_cap?: number | null;
7898
+ send_daily_cap?: ({
7899
+ kind: 'fixed';
7900
+ } & FixedDailyCap) | ({
7901
+ kind: 'ramp';
7902
+ } & RampDailyCap) | null;
8041
7903
  /**
8042
7904
  * Send Gap Seconds
8043
7905
  */
@@ -8094,7 +7956,11 @@ export type PatchEmailSendRequest = {
8094
7956
  /**
8095
7957
  * Send Daily Cap
8096
7958
  */
8097
- send_daily_cap?: number | null;
7959
+ send_daily_cap?: ({
7960
+ kind: 'fixed';
7961
+ } & FixedDailyCap) | ({
7962
+ kind: 'ramp';
7963
+ } & RampDailyCap) | null;
8098
7964
  /**
8099
7965
  * Send Gap Seconds
8100
7966
  */
@@ -8200,28 +8066,6 @@ export type PatchIntegrationTriggerRequest = {
8200
8066
  trigger_type?: 'telegram.message.inbound' | 'whatsapp.message.inbound' | 'whatsapp.call.inbound' | null;
8201
8067
  };
8202
8068
 
8203
- /**
8204
- * PatchNodeRequest
8205
- */
8206
- export type PatchNodeRequest = {
8207
- /**
8208
- * Content
8209
- */
8210
- content?: string | null;
8211
- /**
8212
- * Summary
8213
- */
8214
- summary?: string | null;
8215
- /**
8216
- * Title
8217
- */
8218
- title?: string | null;
8219
- /**
8220
- * Version
8221
- */
8222
- version?: number | null;
8223
- };
8224
-
8225
8069
  /**
8226
8070
  * PatchPhoneNumberRequest
8227
8071
  */
@@ -8379,9 +8223,13 @@ export type PatchWhatsAppBatchRequest = {
8379
8223
  /**
8380
8224
  * Send Daily Cap
8381
8225
  *
8382
- * Messages per local day. Null is uncapped.
8226
+ * Messages per local day: a fixed limit, or a ramp that rises on days it sent. Null is uncapped.
8383
8227
  */
8384
- send_daily_cap?: number | null;
8228
+ send_daily_cap?: ({
8229
+ kind: 'fixed';
8230
+ } & FixedDailyCap) | ({
8231
+ kind: 'ramp';
8232
+ } & RampDailyCap) | null;
8385
8233
  /**
8386
8234
  * Send Gap Seconds
8387
8235
  */
@@ -8705,24 +8553,6 @@ export type PriorityTier = {
8705
8553
  value?: string;
8706
8554
  };
8707
8555
 
8708
- /**
8709
- * PromptResponse
8710
- */
8711
- export type PromptResponse = {
8712
- /**
8713
- * Chars
8714
- */
8715
- chars: number;
8716
- /**
8717
- * Node Count
8718
- */
8719
- node_count: number;
8720
- /**
8721
- * Prompt
8722
- */
8723
- prompt: string;
8724
- };
8725
-
8726
8556
  /**
8727
8557
  * ProviderEntryResponse
8728
8558
  */
@@ -8792,7 +8622,7 @@ export type ProviderKeysResponse = {
8792
8622
  /**
8793
8623
  * PublicMessage
8794
8624
  *
8795
- * Dashboard SSE/message payload for one CoPilot / KB Builder timeline row.
8625
+ * Dashboard SSE/message payload for one CoPilot timeline row.
8796
8626
  */
8797
8627
  export type PublicMessage = {
8798
8628
  /**
@@ -8949,6 +8779,34 @@ export type PublishedValueResponse = {
8949
8779
  value?: unknown;
8950
8780
  };
8951
8781
 
8782
+ /**
8783
+ * RampDailyCap
8784
+ *
8785
+ * `start` a day, raised by `step` every `interval_days` sending days, up to `end`.
8786
+ */
8787
+ export type RampDailyCap = {
8788
+ /**
8789
+ * End
8790
+ */
8791
+ end: number;
8792
+ /**
8793
+ * Interval Days
8794
+ */
8795
+ interval_days: number;
8796
+ /**
8797
+ * Kind
8798
+ */
8799
+ kind: 'ramp';
8800
+ /**
8801
+ * Start
8802
+ */
8803
+ start: number;
8804
+ /**
8805
+ * Step
8806
+ */
8807
+ step: number;
8808
+ };
8809
+
8952
8810
  /**
8953
8811
  * RealtimeCatalogEntryResponse
8954
8812
  */
@@ -10056,9 +9914,13 @@ export type SendWhatsAppBatchRequest = {
10056
9914
  /**
10057
9915
  * Send Daily Cap
10058
9916
  *
10059
- * Messages per local day. Null is uncapped.
9917
+ * Messages per local day: a fixed limit, or a ramp that rises on days it sent. Null is uncapped.
10060
9918
  */
10061
- send_daily_cap?: number | null;
9919
+ send_daily_cap?: ({
9920
+ kind: 'fixed';
9921
+ } & FixedDailyCap) | ({
9922
+ kind: 'ramp';
9923
+ } & RampDailyCap) | null;
10062
9924
  /**
10063
9925
  * Send Gap Seconds
10064
9926
  */
@@ -10870,17 +10732,17 @@ export type TTSUsageResponse = {
10870
10732
  */
10871
10733
  export type TaskConfig = {
10872
10734
  /**
10873
- * Finish Without Result Description
10735
+ * Faqs
10874
10736
  *
10875
- * Description of `finish_without_result`, the tool that abandons a task an agent entered. Narrow it if the task gives up too readily. Unused by a standalone run.
10737
+ * FAQs the agent answers from: questions go in the prompt, answers are fetched on demand.
10876
10738
  */
10877
- finish_without_result_description?: string;
10739
+ faqs?: Array<FaqSelection>;
10878
10740
  /**
10879
- * Kb Ids
10741
+ * Finish Without Result Description
10880
10742
  *
10881
- * Knowledge bases to read from: their outline goes into the prompt and pages are fetched on demand.
10743
+ * Description of `finish_without_result`, the tool that abandons a task an agent entered. Narrow it if the task gives up too readily. Unused by a standalone run.
10882
10744
  */
10883
- kb_ids?: Array<string>;
10745
+ finish_without_result_description?: string;
10884
10746
  llm?: LLMSpec;
10885
10747
  /**
10886
10748
  * Max Steps
@@ -10988,17 +10850,17 @@ export type TaskOutputField = {
10988
10850
  */
10989
10851
  export type TaskPatch = {
10990
10852
  /**
10991
- * Finish Without Result Description
10853
+ * Faqs
10992
10854
  *
10993
- * Description of `finish_without_result`, the tool that abandons a task an agent entered. Narrow it if the task gives up too readily. Unused by a standalone run.
10855
+ * FAQs the agent answers from: questions go in the prompt, answers are fetched on demand.
10994
10856
  */
10995
- finish_without_result_description?: string | null;
10857
+ faqs?: Array<FaqSelection> | null;
10996
10858
  /**
10997
- * Kb Ids
10859
+ * Finish Without Result Description
10998
10860
  *
10999
- * Knowledge bases to read from: their outline goes into the prompt and pages are fetched on demand.
10861
+ * Description of `finish_without_result`, the tool that abandons a task an agent entered. Narrow it if the task gives up too readily. Unused by a standalone run.
11000
10862
  */
11001
- kb_ids?: Array<string> | null;
10863
+ finish_without_result_description?: string | null;
11002
10864
  llm?: LLMSpecOverride | null;
11003
10865
  /**
11004
10866
  * Max Steps
@@ -11573,20 +11435,6 @@ export type TimeWindow = {
11573
11435
  start: string;
11574
11436
  };
11575
11437
 
11576
- /**
11577
- * TocResultResponse
11578
- */
11579
- export type TocResultResponse = {
11580
- /**
11581
- * Ok
11582
- */
11583
- ok?: boolean;
11584
- /**
11585
- * Pages
11586
- */
11587
- pages: number;
11588
- };
11589
-
11590
11438
  /**
11591
11439
  * TokenRequest
11592
11440
  *
@@ -12052,7 +11900,7 @@ export type TurnMetrics = {
12052
11900
  /**
12053
11901
  * TurnPayload
12054
11902
  *
12055
- * Shared turn lifecycle for tenant conversation, CoPilot, and KB Builder SSE.
11903
+ * Shared turn lifecycle for tenant conversation and CoPilot SSE.
12056
11904
  *
12057
11905
  * The `event` field is the discriminator every SSE payload on this API carries:
12058
11906
  * it repeats the frame's `event:` line inside the JSON, so a generated client
@@ -12147,6 +11995,30 @@ export type UpdateAgentRequest = {
12147
11995
  config: AgentOverride;
12148
11996
  };
12149
11997
 
11998
+ /**
11999
+ * UpdateFaqEntryRequest
12000
+ */
12001
+ export type UpdateFaqEntryRequest = {
12002
+ /**
12003
+ * Answer
12004
+ */
12005
+ answer?: string | null;
12006
+ /**
12007
+ * Question
12008
+ */
12009
+ question?: string | null;
12010
+ };
12011
+
12012
+ /**
12013
+ * UpdateFaqRequest
12014
+ */
12015
+ export type UpdateFaqRequest = {
12016
+ /**
12017
+ * Name
12018
+ */
12019
+ name: string;
12020
+ };
12021
+
12150
12022
  /**
12151
12023
  * UsageResponse
12152
12024
  *
@@ -12659,7 +12531,15 @@ export type WhatsAppBatchResponse = {
12659
12531
  /**
12660
12532
  * Send Daily Cap
12661
12533
  */
12662
- send_daily_cap: number | null;
12534
+ send_daily_cap: ({
12535
+ kind: 'fixed';
12536
+ } & FixedDailyCap) | ({
12537
+ kind: 'ramp';
12538
+ } & RampDailyCap) | null;
12539
+ /**
12540
+ * Send Daily Cap Today
12541
+ */
12542
+ send_daily_cap_today: number | null;
12663
12543
  /**
12664
12544
  * Send Gap Seconds
12665
12545
  */
@@ -15972,116 +15852,7 @@ export type ConversationsSnapshotErrors = {
15972
15852
  /**
15973
15853
  * No such resource in this organization.
15974
15854
  */
15975
- 404: ErrorResponse;
15976
- /**
15977
- * The request did not match this operation's schema; `detail.errors` lists each field.
15978
- */
15979
- 422: ErrorResponse;
15980
- /**
15981
- * Unexpected error. Every error this API returns carries this body.
15982
- */
15983
- default: ErrorResponse;
15984
- };
15985
-
15986
- export type ConversationsSnapshotError = ConversationsSnapshotErrors[keyof ConversationsSnapshotErrors];
15987
-
15988
- export type ConversationsSnapshotResults = {
15989
- /**
15990
- * Successful Response
15991
- */
15992
- 200: HealthSnapshotResponse;
15993
- };
15994
-
15995
- export type ConversationsSnapshotResult = ConversationsSnapshotResults[keyof ConversationsSnapshotResults];
15996
-
15997
- export type ConversationsTraceData = {
15998
- body?: never;
15999
- path: {
16000
- /**
16001
- * Conversation Id
16002
- */
16003
- conversation_id: string;
16004
- };
16005
- query?: {
16006
- /**
16007
- * After
16008
- *
16009
- * Only events at or after this.
16010
- */
16011
- after?: string | null;
16012
- /**
16013
- * Before
16014
- *
16015
- * Only events before this.
16016
- */
16017
- before?: string | null;
16018
- };
16019
- url: '/v1/conversations/{conversation_id}/trace';
16020
- };
16021
-
16022
- export type ConversationsTraceErrors = {
16023
- /**
16024
- * Missing credential, or one that is revoked or no longer a member of this organization.
16025
- */
16026
- 401: ErrorResponse;
16027
- /**
16028
- * No such resource in this organization.
16029
- */
16030
- 404: ErrorResponse;
16031
- /**
16032
- * The request did not match this operation's schema; `detail.errors` lists each field.
16033
- */
16034
- 422: ErrorResponse;
16035
- /**
16036
- * Unexpected error. Every error this API returns carries this body.
16037
- */
16038
- default: ErrorResponse;
16039
- };
16040
-
16041
- export type ConversationsTraceError = ConversationsTraceErrors[keyof ConversationsTraceErrors];
16042
-
16043
- export type ConversationsTraceResults = {
16044
- /**
16045
- * Successful Response
16046
- */
16047
- 200: ConversationTraceResponse;
16048
- };
16049
-
16050
- export type ConversationsTraceResult = ConversationsTraceResults[keyof ConversationsTraceResults];
16051
-
16052
- export type CopilotAgentsSendData = {
16053
- body: SendMessageRequest;
16054
- path: {
16055
- /**
16056
- * Agent Id
16057
- */
16058
- agent_id: string;
16059
- };
16060
- query?: never;
16061
- url: '/v1/copilot/agents/{agent_id}/messages';
16062
- };
16063
-
16064
- export type CopilotAgentsSendErrors = {
16065
- /**
16066
- * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
16067
- */
16068
- 400: ErrorResponse;
16069
- /**
16070
- * Missing credential, or one that is revoked or no longer a member of this organization.
16071
- */
16072
- 401: ErrorResponse;
16073
- /**
16074
- * Authenticated, but this organization role may not perform the operation.
16075
- */
16076
- 403: ErrorResponse;
16077
- /**
16078
- * No such resource in this organization.
16079
- */
16080
- 404: ErrorResponse;
16081
- /**
16082
- * The resource's current state forbids this — a name already taken, a job already running.
16083
- */
16084
- 409: ErrorResponse;
15855
+ 404: ErrorResponse;
16085
15856
  /**
16086
15857
  * The request did not match this operation's schema; `detail.errors` lists each field.
16087
15858
  */
@@ -16092,30 +15863,43 @@ export type CopilotAgentsSendErrors = {
16092
15863
  default: ErrorResponse;
16093
15864
  };
16094
15865
 
16095
- export type CopilotAgentsSendError = CopilotAgentsSendErrors[keyof CopilotAgentsSendErrors];
15866
+ export type ConversationsSnapshotError = ConversationsSnapshotErrors[keyof ConversationsSnapshotErrors];
16096
15867
 
16097
- export type CopilotAgentsSendResults = {
15868
+ export type ConversationsSnapshotResults = {
16098
15869
  /**
16099
15870
  * Successful Response
16100
15871
  */
16101
- 200: SendMessageResponse;
15872
+ 200: HealthSnapshotResponse;
16102
15873
  };
16103
15874
 
16104
- export type CopilotAgentsSendResult = CopilotAgentsSendResults[keyof CopilotAgentsSendResults];
15875
+ export type ConversationsSnapshotResult = ConversationsSnapshotResults[keyof ConversationsSnapshotResults];
16105
15876
 
16106
- export type CopilotAgentsStreamData = {
15877
+ export type ConversationsTraceData = {
16107
15878
  body?: never;
16108
15879
  path: {
16109
15880
  /**
16110
- * Agent Id
15881
+ * Conversation Id
16111
15882
  */
16112
- agent_id: string;
15883
+ conversation_id: string;
16113
15884
  };
16114
- query?: never;
16115
- url: '/v1/copilot/agents/{agent_id}/stream';
15885
+ query?: {
15886
+ /**
15887
+ * After
15888
+ *
15889
+ * Only events at or after this.
15890
+ */
15891
+ after?: string | null;
15892
+ /**
15893
+ * Before
15894
+ *
15895
+ * Only events before this.
15896
+ */
15897
+ before?: string | null;
15898
+ };
15899
+ url: '/v1/conversations/{conversation_id}/trace';
16116
15900
  };
16117
15901
 
16118
- export type CopilotAgentsStreamErrors = {
15902
+ export type ConversationsTraceErrors = {
16119
15903
  /**
16120
15904
  * Missing credential, or one that is revoked or no longer a member of this organization.
16121
15905
  */
@@ -16134,38 +15918,30 @@ export type CopilotAgentsStreamErrors = {
16134
15918
  default: ErrorResponse;
16135
15919
  };
16136
15920
 
16137
- export type CopilotAgentsStreamError = CopilotAgentsStreamErrors[keyof CopilotAgentsStreamErrors];
15921
+ export type ConversationsTraceError = ConversationsTraceErrors[keyof ConversationsTraceErrors];
16138
15922
 
16139
- export type CopilotAgentsStreamResults = {
15923
+ export type ConversationsTraceResults = {
16140
15924
  /**
16141
- * Response 200 Copilot.Agents.Stream
16142
- *
16143
- * A `text/event-stream` that stays open. Each frame is `event: <name>` followed by `data: <json>`, and the JSON repeats the name in its `event` field so one value identifies the frame. A line starting `:` is a keep-alive, sent every 15s so idle proxies do not close the connection. Read it with an SSE client (`EventSource`, `httpx-sse`) — the body is never a single JSON document.
15925
+ * Successful Response
16144
15926
  */
16145
- 200: ({
16146
- event: 'snapshot';
16147
- } & CopilotSnapshotEvent) | ({
16148
- event: 'message';
16149
- } & CopilotMessageEvent) | ({
16150
- event: 'turn';
16151
- } & TurnPayload);
15927
+ 200: ConversationTraceResponse;
16152
15928
  };
16153
15929
 
16154
- export type CopilotAgentsStreamResult = CopilotAgentsStreamResults[keyof CopilotAgentsStreamResults];
15930
+ export type ConversationsTraceResult = ConversationsTraceResults[keyof ConversationsTraceResults];
16155
15931
 
16156
- export type CopilotKnowledgeSendData = {
15932
+ export type CopilotAgentsSendData = {
16157
15933
  body: SendMessageRequest;
16158
15934
  path: {
16159
15935
  /**
16160
- * Kb Id
15936
+ * Agent Id
16161
15937
  */
16162
- kb_id: string;
15938
+ agent_id: string;
16163
15939
  };
16164
15940
  query?: never;
16165
- url: '/v1/copilot/knowledge/{kb_id}/messages';
15941
+ url: '/v1/copilot/agents/{agent_id}/messages';
16166
15942
  };
16167
15943
 
16168
- export type CopilotKnowledgeSendErrors = {
15944
+ export type CopilotAgentsSendErrors = {
16169
15945
  /**
16170
15946
  * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
16171
15947
  */
@@ -16196,30 +15972,30 @@ export type CopilotKnowledgeSendErrors = {
16196
15972
  default: ErrorResponse;
16197
15973
  };
16198
15974
 
16199
- export type CopilotKnowledgeSendError = CopilotKnowledgeSendErrors[keyof CopilotKnowledgeSendErrors];
15975
+ export type CopilotAgentsSendError = CopilotAgentsSendErrors[keyof CopilotAgentsSendErrors];
16200
15976
 
16201
- export type CopilotKnowledgeSendResults = {
15977
+ export type CopilotAgentsSendResults = {
16202
15978
  /**
16203
15979
  * Successful Response
16204
15980
  */
16205
15981
  200: SendMessageResponse;
16206
15982
  };
16207
15983
 
16208
- export type CopilotKnowledgeSendResult = CopilotKnowledgeSendResults[keyof CopilotKnowledgeSendResults];
15984
+ export type CopilotAgentsSendResult = CopilotAgentsSendResults[keyof CopilotAgentsSendResults];
16209
15985
 
16210
- export type CopilotKnowledgeStreamData = {
15986
+ export type CopilotAgentsStreamData = {
16211
15987
  body?: never;
16212
15988
  path: {
16213
15989
  /**
16214
- * Kb Id
15990
+ * Agent Id
16215
15991
  */
16216
- kb_id: string;
15992
+ agent_id: string;
16217
15993
  };
16218
15994
  query?: never;
16219
- url: '/v1/copilot/knowledge/{kb_id}/stream';
15995
+ url: '/v1/copilot/agents/{agent_id}/stream';
16220
15996
  };
16221
15997
 
16222
- export type CopilotKnowledgeStreamErrors = {
15998
+ export type CopilotAgentsStreamErrors = {
16223
15999
  /**
16224
16000
  * Missing credential, or one that is revoked or no longer a member of this organization.
16225
16001
  */
@@ -16238,11 +16014,11 @@ export type CopilotKnowledgeStreamErrors = {
16238
16014
  default: ErrorResponse;
16239
16015
  };
16240
16016
 
16241
- export type CopilotKnowledgeStreamError = CopilotKnowledgeStreamErrors[keyof CopilotKnowledgeStreamErrors];
16017
+ export type CopilotAgentsStreamError = CopilotAgentsStreamErrors[keyof CopilotAgentsStreamErrors];
16242
16018
 
16243
- export type CopilotKnowledgeStreamResults = {
16019
+ export type CopilotAgentsStreamResults = {
16244
16020
  /**
16245
- * Response 200 Copilot.Knowledge.Stream
16021
+ * Response 200 Copilot.Agents.Stream
16246
16022
  *
16247
16023
  * A `text/event-stream` that stays open. Each frame is `event: <name>` followed by `data: <json>`, and the JSON repeats the name in its `event` field so one value identifies the frame. A line starting `:` is a keep-alive, sent every 15s so idle proxies do not close the connection. Read it with an SSE client (`EventSource`, `httpx-sse`) — the body is never a single JSON document.
16248
16024
  */
@@ -16255,7 +16031,7 @@ export type CopilotKnowledgeStreamResults = {
16255
16031
  } & TurnPayload);
16256
16032
  };
16257
16033
 
16258
- export type CopilotKnowledgeStreamResult = CopilotKnowledgeStreamResults[keyof CopilotKnowledgeStreamResults];
16034
+ export type CopilotAgentsStreamResult = CopilotAgentsStreamResults[keyof CopilotAgentsStreamResults];
16259
16035
 
16260
16036
  export type CopilotTasksSendData = {
16261
16037
  body: SendMessageRequest;
@@ -17620,7 +17396,7 @@ export type EmailSendersListResults = {
17620
17396
 
17621
17397
  export type EmailSendersListResult = EmailSendersListResults[keyof EmailSendersListResults];
17622
17398
 
17623
- export type IntegrationsListData = {
17399
+ export type FaqsListData = {
17624
17400
  body?: never;
17625
17401
  path?: never;
17626
17402
  query?: {
@@ -17633,10 +17409,10 @@ export type IntegrationsListData = {
17633
17409
  */
17634
17410
  offset?: number;
17635
17411
  };
17636
- url: '/v1/integrations';
17412
+ url: '/v1/faqs';
17637
17413
  };
17638
17414
 
17639
- export type IntegrationsListErrors = {
17415
+ export type FaqsListErrors = {
17640
17416
  /**
17641
17417
  * Missing credential, or one that is revoked or no longer a member of this organization.
17642
17418
  */
@@ -17651,25 +17427,25 @@ export type IntegrationsListErrors = {
17651
17427
  default: ErrorResponse;
17652
17428
  };
17653
17429
 
17654
- export type IntegrationsListError = IntegrationsListErrors[keyof IntegrationsListErrors];
17430
+ export type FaqsListError = FaqsListErrors[keyof FaqsListErrors];
17655
17431
 
17656
- export type IntegrationsListResults = {
17432
+ export type FaqsListResults = {
17657
17433
  /**
17658
17434
  * Successful Response
17659
17435
  */
17660
- 200: PageIntegrationResponse;
17436
+ 200: PageFaqSummary;
17661
17437
  };
17662
17438
 
17663
- export type IntegrationsListResult = IntegrationsListResults[keyof IntegrationsListResults];
17439
+ export type FaqsListResult = FaqsListResults[keyof FaqsListResults];
17664
17440
 
17665
- export type IntegrationsCreateData = {
17666
- body: CreateIntegrationRequest;
17441
+ export type FaqsCreateData = {
17442
+ body: FaqDefinition;
17667
17443
  path?: never;
17668
17444
  query?: never;
17669
- url: '/v1/integrations';
17445
+ url: '/v1/faqs';
17670
17446
  };
17671
17447
 
17672
- export type IntegrationsCreateErrors = {
17448
+ export type FaqsCreateErrors = {
17673
17449
  /**
17674
17450
  * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
17675
17451
  */
@@ -17696,72 +17472,30 @@ export type IntegrationsCreateErrors = {
17696
17472
  default: ErrorResponse;
17697
17473
  };
17698
17474
 
17699
- export type IntegrationsCreateError = IntegrationsCreateErrors[keyof IntegrationsCreateErrors];
17700
-
17701
- export type IntegrationsCreateResults = {
17702
- /**
17703
- * Successful Response
17704
- */
17705
- 201: IntegrationResponse;
17706
- };
17707
-
17708
- export type IntegrationsCreateResult = IntegrationsCreateResults[keyof IntegrationsCreateResults];
17709
-
17710
- export type IntegrationsCatalogData = {
17711
- body?: never;
17712
- path?: never;
17713
- query?: {
17714
- /**
17715
- * Limit
17716
- */
17717
- limit?: number;
17718
- /**
17719
- * Offset
17720
- */
17721
- offset?: number;
17722
- };
17723
- url: '/v1/integrations/catalog';
17724
- };
17725
-
17726
- export type IntegrationsCatalogErrors = {
17727
- /**
17728
- * Missing credential, or one that is revoked or no longer a member of this organization.
17729
- */
17730
- 401: ErrorResponse;
17731
- /**
17732
- * The request did not match this operation's schema; `detail.errors` lists each field.
17733
- */
17734
- 422: ErrorResponse;
17735
- /**
17736
- * Unexpected error. Every error this API returns carries this body.
17737
- */
17738
- default: ErrorResponse;
17739
- };
17740
-
17741
- export type IntegrationsCatalogError = IntegrationsCatalogErrors[keyof IntegrationsCatalogErrors];
17475
+ export type FaqsCreateError = FaqsCreateErrors[keyof FaqsCreateErrors];
17742
17476
 
17743
- export type IntegrationsCatalogResults = {
17477
+ export type FaqsCreateResults = {
17744
17478
  /**
17745
17479
  * Successful Response
17746
17480
  */
17747
- 200: PageIntegrationCatalogItem;
17481
+ 201: FaqDetail;
17748
17482
  };
17749
17483
 
17750
- export type IntegrationsCatalogResult = IntegrationsCatalogResults[keyof IntegrationsCatalogResults];
17484
+ export type FaqsCreateResult = FaqsCreateResults[keyof FaqsCreateResults];
17751
17485
 
17752
- export type IntegrationsDeleteData = {
17486
+ export type FaqsDeleteData = {
17753
17487
  body?: never;
17754
17488
  path: {
17755
17489
  /**
17756
- * Integration Id
17490
+ * Faq Id
17757
17491
  */
17758
- integration_id: string;
17492
+ faq_id: string;
17759
17493
  };
17760
17494
  query?: never;
17761
- url: '/v1/integrations/{integration_id}';
17495
+ url: '/v1/faqs/{faq_id}';
17762
17496
  };
17763
17497
 
17764
- export type IntegrationsDeleteErrors = {
17498
+ export type FaqsDeleteErrors = {
17765
17499
  /**
17766
17500
  * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
17767
17501
  */
@@ -17792,30 +17526,30 @@ export type IntegrationsDeleteErrors = {
17792
17526
  default: ErrorResponse;
17793
17527
  };
17794
17528
 
17795
- export type IntegrationsDeleteError = IntegrationsDeleteErrors[keyof IntegrationsDeleteErrors];
17529
+ export type FaqsDeleteError = FaqsDeleteErrors[keyof FaqsDeleteErrors];
17796
17530
 
17797
- export type IntegrationsDeleteResults = {
17531
+ export type FaqsDeleteResults = {
17798
17532
  /**
17799
17533
  * Successful Response
17800
17534
  */
17801
17535
  200: OkResponse;
17802
17536
  };
17803
17537
 
17804
- export type IntegrationsDeleteResult = IntegrationsDeleteResults[keyof IntegrationsDeleteResults];
17538
+ export type FaqsDeleteResult = FaqsDeleteResults[keyof FaqsDeleteResults];
17805
17539
 
17806
- export type IntegrationsGetData = {
17540
+ export type FaqsGetData = {
17807
17541
  body?: never;
17808
17542
  path: {
17809
17543
  /**
17810
- * Integration Id
17544
+ * Faq Id
17811
17545
  */
17812
- integration_id: string;
17546
+ faq_id: string;
17813
17547
  };
17814
17548
  query?: never;
17815
- url: '/v1/integrations/{integration_id}';
17549
+ url: '/v1/faqs/{faq_id}';
17816
17550
  };
17817
17551
 
17818
- export type IntegrationsGetErrors = {
17552
+ export type FaqsGetErrors = {
17819
17553
  /**
17820
17554
  * Missing credential, or one that is revoked or no longer a member of this organization.
17821
17555
  */
@@ -17834,30 +17568,30 @@ export type IntegrationsGetErrors = {
17834
17568
  default: ErrorResponse;
17835
17569
  };
17836
17570
 
17837
- export type IntegrationsGetError = IntegrationsGetErrors[keyof IntegrationsGetErrors];
17571
+ export type FaqsGetError = FaqsGetErrors[keyof FaqsGetErrors];
17838
17572
 
17839
- export type IntegrationsGetResults = {
17573
+ export type FaqsGetResults = {
17840
17574
  /**
17841
17575
  * Successful Response
17842
17576
  */
17843
- 200: IntegrationResponse;
17577
+ 200: FaqDetail;
17844
17578
  };
17845
17579
 
17846
- export type IntegrationsGetResult = IntegrationsGetResults[keyof IntegrationsGetResults];
17580
+ export type FaqsGetResult = FaqsGetResults[keyof FaqsGetResults];
17847
17581
 
17848
- export type IntegrationsUpdateData = {
17849
- body: PatchIntegrationRequest;
17582
+ export type FaqsUpdateData = {
17583
+ body: UpdateFaqRequest;
17850
17584
  path: {
17851
17585
  /**
17852
- * Integration Id
17586
+ * Faq Id
17853
17587
  */
17854
- integration_id: string;
17588
+ faq_id: string;
17855
17589
  };
17856
17590
  query?: never;
17857
- url: '/v1/integrations/{integration_id}';
17591
+ url: '/v1/faqs/{faq_id}';
17858
17592
  };
17859
17593
 
17860
- export type IntegrationsUpdateErrors = {
17594
+ export type FaqsUpdateErrors = {
17861
17595
  /**
17862
17596
  * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
17863
17597
  */
@@ -17888,123 +17622,30 @@ export type IntegrationsUpdateErrors = {
17888
17622
  default: ErrorResponse;
17889
17623
  };
17890
17624
 
17891
- export type IntegrationsUpdateError = IntegrationsUpdateErrors[keyof IntegrationsUpdateErrors];
17892
-
17893
- export type IntegrationsUpdateResults = {
17894
- /**
17895
- * Successful Response
17896
- */
17897
- 200: IntegrationResponse;
17898
- };
17899
-
17900
- export type IntegrationsUpdateResult = IntegrationsUpdateResults[keyof IntegrationsUpdateResults];
17901
-
17902
- export type IntegrationsMcpToolsListData = {
17903
- body?: never;
17904
- path: {
17905
- /**
17906
- * Integration Id
17907
- */
17908
- integration_id: string;
17909
- };
17910
- query?: never;
17911
- url: '/v1/integrations/{integration_id}/mcp-tools';
17912
- };
17913
-
17914
- export type IntegrationsMcpToolsListErrors = {
17915
- /**
17916
- * Missing credential, or one that is revoked or no longer a member of this organization.
17917
- */
17918
- 401: ErrorResponse;
17919
- /**
17920
- * No such resource in this organization.
17921
- */
17922
- 404: ErrorResponse;
17923
- /**
17924
- * The request did not match this operation's schema; `detail.errors` lists each field.
17925
- */
17926
- 422: ErrorResponse;
17927
- /**
17928
- * Unexpected error. Every error this API returns carries this body.
17929
- */
17930
- default: ErrorResponse;
17931
- };
17932
-
17933
- export type IntegrationsMcpToolsListError = IntegrationsMcpToolsListErrors[keyof IntegrationsMcpToolsListErrors];
17934
-
17935
- export type IntegrationsMcpToolsListResults = {
17936
- /**
17937
- * Successful Response
17938
- */
17939
- 200: IntegrationMcpToolsResponse;
17940
- };
17941
-
17942
- export type IntegrationsMcpToolsListResult = IntegrationsMcpToolsListResults[keyof IntegrationsMcpToolsListResults];
17943
-
17944
- export type IntegrationsTriggersListData = {
17945
- body?: never;
17946
- path: {
17947
- /**
17948
- * Integration Id
17949
- */
17950
- integration_id: string;
17951
- };
17952
- query?: {
17953
- /**
17954
- * Limit
17955
- */
17956
- limit?: number;
17957
- /**
17958
- * Offset
17959
- */
17960
- offset?: number;
17961
- };
17962
- url: '/v1/integrations/{integration_id}/triggers';
17963
- };
17964
-
17965
- export type IntegrationsTriggersListErrors = {
17966
- /**
17967
- * Missing credential, or one that is revoked or no longer a member of this organization.
17968
- */
17969
- 401: ErrorResponse;
17970
- /**
17971
- * No such resource in this organization.
17972
- */
17973
- 404: ErrorResponse;
17974
- /**
17975
- * The request did not match this operation's schema; `detail.errors` lists each field.
17976
- */
17977
- 422: ErrorResponse;
17978
- /**
17979
- * Unexpected error. Every error this API returns carries this body.
17980
- */
17981
- default: ErrorResponse;
17982
- };
17983
-
17984
- export type IntegrationsTriggersListError = IntegrationsTriggersListErrors[keyof IntegrationsTriggersListErrors];
17625
+ export type FaqsUpdateError = FaqsUpdateErrors[keyof FaqsUpdateErrors];
17985
17626
 
17986
- export type IntegrationsTriggersListResults = {
17627
+ export type FaqsUpdateResults = {
17987
17628
  /**
17988
17629
  * Successful Response
17989
17630
  */
17990
- 200: PageIntegrationTriggerResponse;
17631
+ 200: FaqSummary;
17991
17632
  };
17992
17633
 
17993
- export type IntegrationsTriggersListResult = IntegrationsTriggersListResults[keyof IntegrationsTriggersListResults];
17634
+ export type FaqsUpdateResult = FaqsUpdateResults[keyof FaqsUpdateResults];
17994
17635
 
17995
- export type IntegrationsTriggersCreateData = {
17996
- body: CreateIntegrationTriggerRequest;
17636
+ export type FaqsEntriesCreateData = {
17637
+ body: CreateFaqEntriesRequest;
17997
17638
  path: {
17998
17639
  /**
17999
- * Integration Id
17640
+ * Faq Id
18000
17641
  */
18001
- integration_id: string;
17642
+ faq_id: string;
18002
17643
  };
18003
17644
  query?: never;
18004
- url: '/v1/integrations/{integration_id}/triggers';
17645
+ url: '/v1/faqs/{faq_id}/entries';
18005
17646
  };
18006
17647
 
18007
- export type IntegrationsTriggersCreateErrors = {
17648
+ export type FaqsEntriesCreateErrors = {
18008
17649
  /**
18009
17650
  * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
18010
17651
  */
@@ -18035,34 +17676,34 @@ export type IntegrationsTriggersCreateErrors = {
18035
17676
  default: ErrorResponse;
18036
17677
  };
18037
17678
 
18038
- export type IntegrationsTriggersCreateError = IntegrationsTriggersCreateErrors[keyof IntegrationsTriggersCreateErrors];
17679
+ export type FaqsEntriesCreateError = FaqsEntriesCreateErrors[keyof FaqsEntriesCreateErrors];
18039
17680
 
18040
- export type IntegrationsTriggersCreateResults = {
17681
+ export type FaqsEntriesCreateResults = {
18041
17682
  /**
18042
17683
  * Successful Response
18043
17684
  */
18044
- 201: IntegrationTriggerResponse;
17685
+ 201: FaqEntriesResponse;
18045
17686
  };
18046
17687
 
18047
- export type IntegrationsTriggersCreateResult = IntegrationsTriggersCreateResults[keyof IntegrationsTriggersCreateResults];
17688
+ export type FaqsEntriesCreateResult = FaqsEntriesCreateResults[keyof FaqsEntriesCreateResults];
18048
17689
 
18049
- export type IntegrationsTriggersDeleteData = {
17690
+ export type FaqsEntriesDeleteData = {
18050
17691
  body?: never;
18051
17692
  path: {
18052
17693
  /**
18053
- * Integration Id
17694
+ * Faq Id
18054
17695
  */
18055
- integration_id: string;
17696
+ faq_id: string;
18056
17697
  /**
18057
- * Trigger Id
17698
+ * Entry Id
18058
17699
  */
18059
- trigger_id: string;
17700
+ entry_id: string;
18060
17701
  };
18061
17702
  query?: never;
18062
- url: '/v1/integrations/{integration_id}/triggers/{trigger_id}';
17703
+ url: '/v1/faqs/{faq_id}/entries/{entry_id}';
18063
17704
  };
18064
17705
 
18065
- export type IntegrationsTriggersDeleteErrors = {
17706
+ export type FaqsEntriesDeleteErrors = {
18066
17707
  /**
18067
17708
  * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
18068
17709
  */
@@ -18093,34 +17734,34 @@ export type IntegrationsTriggersDeleteErrors = {
18093
17734
  default: ErrorResponse;
18094
17735
  };
18095
17736
 
18096
- export type IntegrationsTriggersDeleteError = IntegrationsTriggersDeleteErrors[keyof IntegrationsTriggersDeleteErrors];
17737
+ export type FaqsEntriesDeleteError = FaqsEntriesDeleteErrors[keyof FaqsEntriesDeleteErrors];
18097
17738
 
18098
- export type IntegrationsTriggersDeleteResults = {
17739
+ export type FaqsEntriesDeleteResults = {
18099
17740
  /**
18100
17741
  * Successful Response
18101
17742
  */
18102
17743
  200: OkResponse;
18103
17744
  };
18104
17745
 
18105
- export type IntegrationsTriggersDeleteResult = IntegrationsTriggersDeleteResults[keyof IntegrationsTriggersDeleteResults];
17746
+ export type FaqsEntriesDeleteResult = FaqsEntriesDeleteResults[keyof FaqsEntriesDeleteResults];
18106
17747
 
18107
- export type IntegrationsTriggersUpdateData = {
18108
- body: PatchIntegrationTriggerRequest;
17748
+ export type FaqsEntriesUpdateData = {
17749
+ body: UpdateFaqEntryRequest;
18109
17750
  path: {
18110
17751
  /**
18111
- * Integration Id
17752
+ * Faq Id
18112
17753
  */
18113
- integration_id: string;
17754
+ faq_id: string;
18114
17755
  /**
18115
- * Trigger Id
17756
+ * Entry Id
18116
17757
  */
18117
- trigger_id: string;
17758
+ entry_id: string;
18118
17759
  };
18119
17760
  query?: never;
18120
- url: '/v1/integrations/{integration_id}/triggers/{trigger_id}';
17761
+ url: '/v1/faqs/{faq_id}/entries/{entry_id}';
18121
17762
  };
18122
17763
 
18123
- export type IntegrationsTriggersUpdateErrors = {
17764
+ export type FaqsEntriesUpdateErrors = {
18124
17765
  /**
18125
17766
  * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
18126
17767
  */
@@ -18151,18 +17792,18 @@ export type IntegrationsTriggersUpdateErrors = {
18151
17792
  default: ErrorResponse;
18152
17793
  };
18153
17794
 
18154
- export type IntegrationsTriggersUpdateError = IntegrationsTriggersUpdateErrors[keyof IntegrationsTriggersUpdateErrors];
17795
+ export type FaqsEntriesUpdateError = FaqsEntriesUpdateErrors[keyof FaqsEntriesUpdateErrors];
18155
17796
 
18156
- export type IntegrationsTriggersUpdateResults = {
17797
+ export type FaqsEntriesUpdateResults = {
18157
17798
  /**
18158
17799
  * Successful Response
18159
17800
  */
18160
- 200: IntegrationTriggerResponse;
17801
+ 200: FaqEntry;
18161
17802
  };
18162
17803
 
18163
- export type IntegrationsTriggersUpdateResult = IntegrationsTriggersUpdateResults[keyof IntegrationsTriggersUpdateResults];
17804
+ export type FaqsEntriesUpdateResult = FaqsEntriesUpdateResults[keyof FaqsEntriesUpdateResults];
18164
17805
 
18165
- export type KnowledgeListData = {
17806
+ export type IntegrationsListData = {
18166
17807
  body?: never;
18167
17808
  path?: never;
18168
17809
  query?: {
@@ -18175,10 +17816,10 @@ export type KnowledgeListData = {
18175
17816
  */
18176
17817
  offset?: number;
18177
17818
  };
18178
- url: '/v1/knowledge';
17819
+ url: '/v1/integrations';
18179
17820
  };
18180
17821
 
18181
- export type KnowledgeListErrors = {
17822
+ export type IntegrationsListErrors = {
18182
17823
  /**
18183
17824
  * Missing credential, or one that is revoked or no longer a member of this organization.
18184
17825
  */
@@ -18193,25 +17834,25 @@ export type KnowledgeListErrors = {
18193
17834
  default: ErrorResponse;
18194
17835
  };
18195
17836
 
18196
- export type KnowledgeListError = KnowledgeListErrors[keyof KnowledgeListErrors];
17837
+ export type IntegrationsListError = IntegrationsListErrors[keyof IntegrationsListErrors];
18197
17838
 
18198
- export type KnowledgeListResults = {
17839
+ export type IntegrationsListResults = {
18199
17840
  /**
18200
17841
  * Successful Response
18201
17842
  */
18202
- 200: PageKBSummary;
17843
+ 200: PageIntegrationResponse;
18203
17844
  };
18204
17845
 
18205
- export type KnowledgeListResult = KnowledgeListResults[keyof KnowledgeListResults];
17846
+ export type IntegrationsListResult = IntegrationsListResults[keyof IntegrationsListResults];
18206
17847
 
18207
- export type KnowledgeCreateData = {
18208
- body: CreateKBRequest;
17848
+ export type IntegrationsCreateData = {
17849
+ body: CreateIntegrationRequest;
18209
17850
  path?: never;
18210
17851
  query?: never;
18211
- url: '/v1/knowledge';
17852
+ url: '/v1/integrations';
18212
17853
  };
18213
17854
 
18214
- export type KnowledgeCreateErrors = {
17855
+ export type IntegrationsCreateErrors = {
18215
17856
  /**
18216
17857
  * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
18217
17858
  */
@@ -18238,92 +17879,38 @@ export type KnowledgeCreateErrors = {
18238
17879
  default: ErrorResponse;
18239
17880
  };
18240
17881
 
18241
- export type KnowledgeCreateError = KnowledgeCreateErrors[keyof KnowledgeCreateErrors];
17882
+ export type IntegrationsCreateError = IntegrationsCreateErrors[keyof IntegrationsCreateErrors];
18242
17883
 
18243
- export type KnowledgeCreateResults = {
17884
+ export type IntegrationsCreateResults = {
18244
17885
  /**
18245
17886
  * Successful Response
18246
17887
  */
18247
- 201: KBSummary;
17888
+ 201: IntegrationResponse;
18248
17889
  };
18249
17890
 
18250
- export type KnowledgeCreateResult = KnowledgeCreateResults[keyof KnowledgeCreateResults];
17891
+ export type IntegrationsCreateResult = IntegrationsCreateResults[keyof IntegrationsCreateResults];
18251
17892
 
18252
- export type KnowledgeDeleteData = {
17893
+ export type IntegrationsCatalogData = {
18253
17894
  body?: never;
18254
- path: {
17895
+ path?: never;
17896
+ query?: {
18255
17897
  /**
18256
- * Kb Id
17898
+ * Limit
18257
17899
  */
18258
- kb_id: string;
18259
- };
18260
- query?: never;
18261
- url: '/v1/knowledge/{kb_id}';
18262
- };
18263
-
18264
- export type KnowledgeDeleteErrors = {
18265
- /**
18266
- * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
18267
- */
18268
- 400: ErrorResponse;
18269
- /**
18270
- * Missing credential, or one that is revoked or no longer a member of this organization.
18271
- */
18272
- 401: ErrorResponse;
18273
- /**
18274
- * Authenticated, but this organization role may not perform the operation.
18275
- */
18276
- 403: ErrorResponse;
18277
- /**
18278
- * No such resource in this organization.
18279
- */
18280
- 404: ErrorResponse;
18281
- /**
18282
- * The resource's current state forbids this — a name already taken, a job already running.
18283
- */
18284
- 409: ErrorResponse;
18285
- /**
18286
- * The request did not match this operation's schema; `detail.errors` lists each field.
18287
- */
18288
- 422: ErrorResponse;
18289
- /**
18290
- * Unexpected error. Every error this API returns carries this body.
18291
- */
18292
- default: ErrorResponse;
18293
- };
18294
-
18295
- export type KnowledgeDeleteError = KnowledgeDeleteErrors[keyof KnowledgeDeleteErrors];
18296
-
18297
- export type KnowledgeDeleteResults = {
18298
- /**
18299
- * Successful Response
18300
- */
18301
- 200: OkResponse;
18302
- };
18303
-
18304
- export type KnowledgeDeleteResult = KnowledgeDeleteResults[keyof KnowledgeDeleteResults];
18305
-
18306
- export type KnowledgeGetData = {
18307
- body?: never;
18308
- path: {
17900
+ limit?: number;
18309
17901
  /**
18310
- * Kb Id
17902
+ * Offset
18311
17903
  */
18312
- kb_id: string;
17904
+ offset?: number;
18313
17905
  };
18314
- query?: never;
18315
- url: '/v1/knowledge/{kb_id}';
17906
+ url: '/v1/integrations/catalog';
18316
17907
  };
18317
17908
 
18318
- export type KnowledgeGetErrors = {
17909
+ export type IntegrationsCatalogErrors = {
18319
17910
  /**
18320
17911
  * Missing credential, or one that is revoked or no longer a member of this organization.
18321
17912
  */
18322
17913
  401: ErrorResponse;
18323
- /**
18324
- * No such resource in this organization.
18325
- */
18326
- 404: ErrorResponse;
18327
17914
  /**
18328
17915
  * The request did not match this operation's schema; `detail.errors` lists each field.
18329
17916
  */
@@ -18334,30 +17921,30 @@ export type KnowledgeGetErrors = {
18334
17921
  default: ErrorResponse;
18335
17922
  };
18336
17923
 
18337
- export type KnowledgeGetError = KnowledgeGetErrors[keyof KnowledgeGetErrors];
17924
+ export type IntegrationsCatalogError = IntegrationsCatalogErrors[keyof IntegrationsCatalogErrors];
18338
17925
 
18339
- export type KnowledgeGetResults = {
17926
+ export type IntegrationsCatalogResults = {
18340
17927
  /**
18341
17928
  * Successful Response
18342
17929
  */
18343
- 200: KBDetail;
17930
+ 200: PageIntegrationCatalogItem;
18344
17931
  };
18345
17932
 
18346
- export type KnowledgeGetResult = KnowledgeGetResults[keyof KnowledgeGetResults];
17933
+ export type IntegrationsCatalogResult = IntegrationsCatalogResults[keyof IntegrationsCatalogResults];
18347
17934
 
18348
- export type KnowledgeBuildData = {
18349
- body: BuildKBRequest;
17935
+ export type IntegrationsDeleteData = {
17936
+ body?: never;
18350
17937
  path: {
18351
17938
  /**
18352
- * Kb Id
17939
+ * Integration Id
18353
17940
  */
18354
- kb_id: string;
17941
+ integration_id: string;
18355
17942
  };
18356
17943
  query?: never;
18357
- url: '/v1/knowledge/{kb_id}/build';
17944
+ url: '/v1/integrations/{integration_id}';
18358
17945
  };
18359
17946
 
18360
- export type KnowledgeBuildErrors = {
17947
+ export type IntegrationsDeleteErrors = {
18361
17948
  /**
18362
17949
  * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
18363
17950
  */
@@ -18388,30 +17975,30 @@ export type KnowledgeBuildErrors = {
18388
17975
  default: ErrorResponse;
18389
17976
  };
18390
17977
 
18391
- export type KnowledgeBuildError = KnowledgeBuildErrors[keyof KnowledgeBuildErrors];
17978
+ export type IntegrationsDeleteError = IntegrationsDeleteErrors[keyof IntegrationsDeleteErrors];
18392
17979
 
18393
- export type KnowledgeBuildResults = {
17980
+ export type IntegrationsDeleteResults = {
18394
17981
  /**
18395
17982
  * Successful Response
18396
17983
  */
18397
- 200: BuildResultResponse;
17984
+ 200: OkResponse;
18398
17985
  };
18399
17986
 
18400
- export type KnowledgeBuildResult = KnowledgeBuildResults[keyof KnowledgeBuildResults];
17987
+ export type IntegrationsDeleteResult = IntegrationsDeleteResults[keyof IntegrationsDeleteResults];
18401
17988
 
18402
- export type KnowledgeEventsData = {
17989
+ export type IntegrationsGetData = {
18403
17990
  body?: never;
18404
17991
  path: {
18405
17992
  /**
18406
- * Kb Id
17993
+ * Integration Id
18407
17994
  */
18408
- kb_id: string;
17995
+ integration_id: string;
18409
17996
  };
18410
17997
  query?: never;
18411
- url: '/v1/knowledge/{kb_id}/events';
17998
+ url: '/v1/integrations/{integration_id}';
18412
17999
  };
18413
18000
 
18414
- export type KnowledgeEventsErrors = {
18001
+ export type IntegrationsGetErrors = {
18415
18002
  /**
18416
18003
  * Missing credential, or one that is revoked or no longer a member of this organization.
18417
18004
  */
@@ -18430,42 +18017,30 @@ export type KnowledgeEventsErrors = {
18430
18017
  default: ErrorResponse;
18431
18018
  };
18432
18019
 
18433
- export type KnowledgeEventsError = KnowledgeEventsErrors[keyof KnowledgeEventsErrors];
18020
+ export type IntegrationsGetError = IntegrationsGetErrors[keyof IntegrationsGetErrors];
18434
18021
 
18435
- export type KnowledgeEventsResults = {
18022
+ export type IntegrationsGetResults = {
18436
18023
  /**
18437
- * Response 200 Knowledge.Events
18438
- *
18439
- * A `text/event-stream` that stays open. Each frame is `event: <name>` followed by `data: <json>`, and the JSON repeats the name in its `event` field so one value identifies the frame. A line starting `:` is a keep-alive, sent every 15s so idle proxies do not close the connection. Read it with an SSE client (`EventSource`, `httpx-sse`) — the body is never a single JSON document.
18024
+ * Successful Response
18440
18025
  */
18441
- 200: ({
18442
- event: 'snapshot';
18443
- } & KbSnapshotEvent) | ({
18444
- event: 'progress';
18445
- } & KbProgressEvent) | ({
18446
- event: 'status';
18447
- } & KbStatusEvent);
18026
+ 200: IntegrationResponse;
18448
18027
  };
18449
18028
 
18450
- export type KnowledgeEventsResult = KnowledgeEventsResults[keyof KnowledgeEventsResults];
18029
+ export type IntegrationsGetResult = IntegrationsGetResults[keyof IntegrationsGetResults];
18451
18030
 
18452
- export type KnowledgeNodesDeleteData = {
18453
- body?: never;
18031
+ export type IntegrationsUpdateData = {
18032
+ body: PatchIntegrationRequest;
18454
18033
  path: {
18455
18034
  /**
18456
- * Kb Id
18457
- */
18458
- kb_id: string;
18459
- /**
18460
- * Node Id
18035
+ * Integration Id
18461
18036
  */
18462
- node_id: string;
18037
+ integration_id: string;
18463
18038
  };
18464
18039
  query?: never;
18465
- url: '/v1/knowledge/{kb_id}/nodes/{node_id}';
18040
+ url: '/v1/integrations/{integration_id}';
18466
18041
  };
18467
18042
 
18468
- export type KnowledgeNodesDeleteErrors = {
18043
+ export type IntegrationsUpdateErrors = {
18469
18044
  /**
18470
18045
  * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
18471
18046
  */
@@ -18496,34 +18071,30 @@ export type KnowledgeNodesDeleteErrors = {
18496
18071
  default: ErrorResponse;
18497
18072
  };
18498
18073
 
18499
- export type KnowledgeNodesDeleteError = KnowledgeNodesDeleteErrors[keyof KnowledgeNodesDeleteErrors];
18074
+ export type IntegrationsUpdateError = IntegrationsUpdateErrors[keyof IntegrationsUpdateErrors];
18500
18075
 
18501
- export type KnowledgeNodesDeleteResults = {
18076
+ export type IntegrationsUpdateResults = {
18502
18077
  /**
18503
18078
  * Successful Response
18504
18079
  */
18505
- 200: OkResponse;
18080
+ 200: IntegrationResponse;
18506
18081
  };
18507
18082
 
18508
- export type KnowledgeNodesDeleteResult = KnowledgeNodesDeleteResults[keyof KnowledgeNodesDeleteResults];
18083
+ export type IntegrationsUpdateResult = IntegrationsUpdateResults[keyof IntegrationsUpdateResults];
18509
18084
 
18510
- export type KnowledgeNodesGetData = {
18085
+ export type IntegrationsMcpToolsListData = {
18511
18086
  body?: never;
18512
18087
  path: {
18513
18088
  /**
18514
- * Kb Id
18515
- */
18516
- kb_id: string;
18517
- /**
18518
- * Node Id
18089
+ * Integration Id
18519
18090
  */
18520
- node_id: string;
18091
+ integration_id: string;
18521
18092
  };
18522
18093
  query?: never;
18523
- url: '/v1/knowledge/{kb_id}/nodes/{node_id}';
18094
+ url: '/v1/integrations/{integration_id}/mcp-tools';
18524
18095
  };
18525
18096
 
18526
- export type KnowledgeNodesGetErrors = {
18097
+ export type IntegrationsMcpToolsListErrors = {
18527
18098
  /**
18528
18099
  * Missing credential, or one that is revoked or no longer a member of this organization.
18529
18100
  */
@@ -18542,54 +18113,47 @@ export type KnowledgeNodesGetErrors = {
18542
18113
  default: ErrorResponse;
18543
18114
  };
18544
18115
 
18545
- export type KnowledgeNodesGetError = KnowledgeNodesGetErrors[keyof KnowledgeNodesGetErrors];
18116
+ export type IntegrationsMcpToolsListError = IntegrationsMcpToolsListErrors[keyof IntegrationsMcpToolsListErrors];
18546
18117
 
18547
- export type KnowledgeNodesGetResults = {
18118
+ export type IntegrationsMcpToolsListResults = {
18548
18119
  /**
18549
18120
  * Successful Response
18550
18121
  */
18551
- 200: NodeContentResponse;
18122
+ 200: IntegrationMcpToolsResponse;
18552
18123
  };
18553
18124
 
18554
- export type KnowledgeNodesGetResult = KnowledgeNodesGetResults[keyof KnowledgeNodesGetResults];
18125
+ export type IntegrationsMcpToolsListResult = IntegrationsMcpToolsListResults[keyof IntegrationsMcpToolsListResults];
18555
18126
 
18556
- export type KnowledgeNodesUpdateData = {
18557
- body: PatchNodeRequest;
18127
+ export type IntegrationsTriggersListData = {
18128
+ body?: never;
18558
18129
  path: {
18559
18130
  /**
18560
- * Kb Id
18131
+ * Integration Id
18132
+ */
18133
+ integration_id: string;
18134
+ };
18135
+ query?: {
18136
+ /**
18137
+ * Limit
18561
18138
  */
18562
- kb_id: string;
18139
+ limit?: number;
18563
18140
  /**
18564
- * Node Id
18141
+ * Offset
18565
18142
  */
18566
- node_id: string;
18143
+ offset?: number;
18567
18144
  };
18568
- query?: never;
18569
- url: '/v1/knowledge/{kb_id}/nodes/{node_id}';
18145
+ url: '/v1/integrations/{integration_id}/triggers';
18570
18146
  };
18571
18147
 
18572
- export type KnowledgeNodesUpdateErrors = {
18573
- /**
18574
- * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
18575
- */
18576
- 400: ErrorResponse;
18148
+ export type IntegrationsTriggersListErrors = {
18577
18149
  /**
18578
18150
  * Missing credential, or one that is revoked or no longer a member of this organization.
18579
18151
  */
18580
18152
  401: ErrorResponse;
18581
- /**
18582
- * Authenticated, but this organization role may not perform the operation.
18583
- */
18584
- 403: ErrorResponse;
18585
18153
  /**
18586
18154
  * No such resource in this organization.
18587
18155
  */
18588
18156
  404: ErrorResponse;
18589
- /**
18590
- * The resource's current state forbids this — a name already taken, a job already running.
18591
- */
18592
- 409: ErrorResponse;
18593
18157
  /**
18594
18158
  * The request did not match this operation's schema; `detail.errors` lists each field.
18595
18159
  */
@@ -18600,47 +18164,50 @@ export type KnowledgeNodesUpdateErrors = {
18600
18164
  default: ErrorResponse;
18601
18165
  };
18602
18166
 
18603
- export type KnowledgeNodesUpdateError = KnowledgeNodesUpdateErrors[keyof KnowledgeNodesUpdateErrors];
18167
+ export type IntegrationsTriggersListError = IntegrationsTriggersListErrors[keyof IntegrationsTriggersListErrors];
18604
18168
 
18605
- export type KnowledgeNodesUpdateResults = {
18169
+ export type IntegrationsTriggersListResults = {
18606
18170
  /**
18607
18171
  * Successful Response
18608
18172
  */
18609
- 200: OkResponse;
18173
+ 200: PageIntegrationTriggerResponse;
18610
18174
  };
18611
18175
 
18612
- export type KnowledgeNodesUpdateResult = KnowledgeNodesUpdateResults[keyof KnowledgeNodesUpdateResults];
18176
+ export type IntegrationsTriggersListResult = IntegrationsTriggersListResults[keyof IntegrationsTriggersListResults];
18613
18177
 
18614
- export type KnowledgePagesListData = {
18615
- body?: never;
18178
+ export type IntegrationsTriggersCreateData = {
18179
+ body: CreateIntegrationTriggerRequest;
18616
18180
  path: {
18617
18181
  /**
18618
- * Kb Id
18619
- */
18620
- kb_id: string;
18621
- };
18622
- query?: {
18623
- /**
18624
- * Limit
18625
- */
18626
- limit?: number;
18627
- /**
18628
- * Offset
18182
+ * Integration Id
18629
18183
  */
18630
- offset?: number;
18184
+ integration_id: string;
18631
18185
  };
18632
- url: '/v1/knowledge/{kb_id}/pages';
18186
+ query?: never;
18187
+ url: '/v1/integrations/{integration_id}/triggers';
18633
18188
  };
18634
18189
 
18635
- export type KnowledgePagesListErrors = {
18190
+ export type IntegrationsTriggersCreateErrors = {
18191
+ /**
18192
+ * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
18193
+ */
18194
+ 400: ErrorResponse;
18636
18195
  /**
18637
18196
  * Missing credential, or one that is revoked or no longer a member of this organization.
18638
18197
  */
18639
18198
  401: ErrorResponse;
18199
+ /**
18200
+ * Authenticated, but this organization role may not perform the operation.
18201
+ */
18202
+ 403: ErrorResponse;
18640
18203
  /**
18641
18204
  * No such resource in this organization.
18642
18205
  */
18643
18206
  404: ErrorResponse;
18207
+ /**
18208
+ * The resource's current state forbids this — a name already taken, a job already running.
18209
+ */
18210
+ 409: ErrorResponse;
18644
18211
  /**
18645
18212
  * The request did not match this operation's schema; `detail.errors` lists each field.
18646
18213
  */
@@ -18651,38 +18218,54 @@ export type KnowledgePagesListErrors = {
18651
18218
  default: ErrorResponse;
18652
18219
  };
18653
18220
 
18654
- export type KnowledgePagesListError = KnowledgePagesListErrors[keyof KnowledgePagesListErrors];
18221
+ export type IntegrationsTriggersCreateError = IntegrationsTriggersCreateErrors[keyof IntegrationsTriggersCreateErrors];
18655
18222
 
18656
- export type KnowledgePagesListResults = {
18223
+ export type IntegrationsTriggersCreateResults = {
18657
18224
  /**
18658
18225
  * Successful Response
18659
18226
  */
18660
- 200: PageKBPageResponse;
18227
+ 201: IntegrationTriggerResponse;
18661
18228
  };
18662
18229
 
18663
- export type KnowledgePagesListResult = KnowledgePagesListResults[keyof KnowledgePagesListResults];
18230
+ export type IntegrationsTriggersCreateResult = IntegrationsTriggersCreateResults[keyof IntegrationsTriggersCreateResults];
18664
18231
 
18665
- export type KnowledgePromptData = {
18232
+ export type IntegrationsTriggersDeleteData = {
18666
18233
  body?: never;
18667
18234
  path: {
18668
18235
  /**
18669
- * Kb Id
18236
+ * Integration Id
18237
+ */
18238
+ integration_id: string;
18239
+ /**
18240
+ * Trigger Id
18670
18241
  */
18671
- kb_id: string;
18242
+ trigger_id: string;
18672
18243
  };
18673
18244
  query?: never;
18674
- url: '/v1/knowledge/{kb_id}/prompt';
18245
+ url: '/v1/integrations/{integration_id}/triggers/{trigger_id}';
18675
18246
  };
18676
18247
 
18677
- export type KnowledgePromptErrors = {
18248
+ export type IntegrationsTriggersDeleteErrors = {
18249
+ /**
18250
+ * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
18251
+ */
18252
+ 400: ErrorResponse;
18678
18253
  /**
18679
18254
  * Missing credential, or one that is revoked or no longer a member of this organization.
18680
18255
  */
18681
18256
  401: ErrorResponse;
18257
+ /**
18258
+ * Authenticated, but this organization role may not perform the operation.
18259
+ */
18260
+ 403: ErrorResponse;
18682
18261
  /**
18683
18262
  * No such resource in this organization.
18684
18263
  */
18685
18264
  404: ErrorResponse;
18265
+ /**
18266
+ * The resource's current state forbids this — a name already taken, a job already running.
18267
+ */
18268
+ 409: ErrorResponse;
18686
18269
  /**
18687
18270
  * The request did not match this operation's schema; `detail.errors` lists each field.
18688
18271
  */
@@ -18693,30 +18276,34 @@ export type KnowledgePromptErrors = {
18693
18276
  default: ErrorResponse;
18694
18277
  };
18695
18278
 
18696
- export type KnowledgePromptError = KnowledgePromptErrors[keyof KnowledgePromptErrors];
18279
+ export type IntegrationsTriggersDeleteError = IntegrationsTriggersDeleteErrors[keyof IntegrationsTriggersDeleteErrors];
18697
18280
 
18698
- export type KnowledgePromptResults = {
18281
+ export type IntegrationsTriggersDeleteResults = {
18699
18282
  /**
18700
18283
  * Successful Response
18701
18284
  */
18702
- 200: PromptResponse;
18285
+ 200: OkResponse;
18703
18286
  };
18704
18287
 
18705
- export type KnowledgePromptResult = KnowledgePromptResults[keyof KnowledgePromptResults];
18288
+ export type IntegrationsTriggersDeleteResult = IntegrationsTriggersDeleteResults[keyof IntegrationsTriggersDeleteResults];
18706
18289
 
18707
- export type KnowledgeRegenerateTocData = {
18708
- body?: never;
18290
+ export type IntegrationsTriggersUpdateData = {
18291
+ body: PatchIntegrationTriggerRequest;
18709
18292
  path: {
18710
18293
  /**
18711
- * Kb Id
18294
+ * Integration Id
18295
+ */
18296
+ integration_id: string;
18297
+ /**
18298
+ * Trigger Id
18712
18299
  */
18713
- kb_id: string;
18300
+ trigger_id: string;
18714
18301
  };
18715
18302
  query?: never;
18716
- url: '/v1/knowledge/{kb_id}/toc';
18303
+ url: '/v1/integrations/{integration_id}/triggers/{trigger_id}';
18717
18304
  };
18718
18305
 
18719
- export type KnowledgeRegenerateTocErrors = {
18306
+ export type IntegrationsTriggersUpdateErrors = {
18720
18307
  /**
18721
18308
  * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
18722
18309
  */
@@ -18747,16 +18334,16 @@ export type KnowledgeRegenerateTocErrors = {
18747
18334
  default: ErrorResponse;
18748
18335
  };
18749
18336
 
18750
- export type KnowledgeRegenerateTocError = KnowledgeRegenerateTocErrors[keyof KnowledgeRegenerateTocErrors];
18337
+ export type IntegrationsTriggersUpdateError = IntegrationsTriggersUpdateErrors[keyof IntegrationsTriggersUpdateErrors];
18751
18338
 
18752
- export type KnowledgeRegenerateTocResults = {
18339
+ export type IntegrationsTriggersUpdateResults = {
18753
18340
  /**
18754
18341
  * Successful Response
18755
18342
  */
18756
- 200: TocResultResponse;
18343
+ 200: IntegrationTriggerResponse;
18757
18344
  };
18758
18345
 
18759
- export type KnowledgeRegenerateTocResult = KnowledgeRegenerateTocResults[keyof KnowledgeRegenerateTocResults];
18346
+ export type IntegrationsTriggersUpdateResult = IntegrationsTriggersUpdateResults[keyof IntegrationsTriggersUpdateResults];
18760
18347
 
18761
18348
  export type ObservabilityGetData = {
18762
18349
  body?: never;