@talqing/sdk 0.8.0 → 0.9.1

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.
@@ -163,6 +163,12 @@ export type AgentConfig = {
163
163
  */
164
164
  channel?: 'voice' | 'video' | 'text';
165
165
  conversation?: ConversationSpec;
166
+ /**
167
+ * Faqs
168
+ *
169
+ * FAQs the agent answers from: questions go in the prompt, answers are fetched on demand.
170
+ */
171
+ faqs?: Array<FaqSelection>;
166
172
  /**
167
173
  * Greeting
168
174
  *
@@ -181,12 +187,6 @@ export type AgentConfig = {
181
187
  * 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.
182
188
  */
183
189
  handoffs?: Array<HandoffTarget>;
184
- /**
185
- * Kb Ids
186
- *
187
- * Knowledge bases to read from: their outline goes into the prompt and pages are fetched on demand.
188
- */
189
- kb_ids?: Array<string>;
190
190
  keypad_input?: KeypadInputSpec;
191
191
  /**
192
192
  * Language
@@ -293,6 +293,12 @@ export type AgentOverride = {
293
293
  */
294
294
  channel?: 'voice' | 'video' | 'text' | null;
295
295
  conversation?: ConversationSpecOverride | null;
296
+ /**
297
+ * Faqs
298
+ *
299
+ * FAQs the agent answers from: questions go in the prompt, answers are fetched on demand.
300
+ */
301
+ faqs?: Array<FaqSelection> | null;
296
302
  /**
297
303
  * Greeting
298
304
  *
@@ -311,12 +317,6 @@ export type AgentOverride = {
311
317
  * 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.
312
318
  */
313
319
  handoffs?: Array<HandoffTarget> | null;
314
- /**
315
- * Kb Ids
316
- *
317
- * Knowledge bases to read from: their outline goes into the prompt and pages are fetched on demand.
318
- */
319
- kb_ids?: Array<string> | null;
320
320
  keypad_input?: KeypadInputSpecOverride | null;
321
321
  /**
322
322
  * Language
@@ -875,7 +875,7 @@ export type AvatarSpecOverride = {
875
875
  * AvatarUsage
876
876
  *
877
877
  * One avatar session's billable window: WALL-CLOCK seconds alive, idle
878
- * included (Anam's billing rule, §16 Phase 15). Metered from our own job
878
+ * included (Anam's billing rule). Metered from our own job
879
879
  * timing — Anam has no usage webhooks; `avatar_session_id` (Anam's sessionId)
880
880
  * is stored for reconciliation against any future Anam usage export.
881
881
  */
@@ -1048,28 +1048,6 @@ export type BatchRecipientInput = {
1048
1048
  [key: string]: string;
1049
1049
  };
1050
1050
  };
1051
- /**
1052
- * BuildKBRequest
1053
- */
1054
- export type BuildKBRequest = {
1055
- /**
1056
- * Selected Urls
1057
- */
1058
- selected_urls?: Array<string>;
1059
- };
1060
- /**
1061
- * BuildResultResponse
1062
- */
1063
- export type BuildResultResponse = {
1064
- /**
1065
- * Count
1066
- */
1067
- count: number;
1068
- /**
1069
- * Ok
1070
- */
1071
- ok?: boolean;
1072
- };
1073
1051
  /**
1074
1052
  * BuiltinTool
1075
1053
  *
@@ -3113,6 +3091,15 @@ export type CreateEmailSendResponse = {
3113
3091
  rejected: Array<RejectedRecipient>;
3114
3092
  send: EmailSendResponse;
3115
3093
  };
3094
+ /**
3095
+ * CreateFaqEntriesRequest
3096
+ */
3097
+ export type CreateFaqEntriesRequest = {
3098
+ /**
3099
+ * Entries
3100
+ */
3101
+ entries: Array<FaqEntryInput>;
3102
+ };
3116
3103
  /**
3117
3104
  * CreateIntegrationRequest
3118
3105
  */
@@ -3193,27 +3180,6 @@ export type CreateIntegrationTriggerRequest = {
3193
3180
  */
3194
3181
  trigger_type: 'telegram.message.inbound' | 'whatsapp.message.inbound' | 'whatsapp.call.inbound';
3195
3182
  };
3196
- /**
3197
- * CreateKBRequest
3198
- */
3199
- export type CreateKBRequest = {
3200
- /**
3201
- * Max Pages
3202
- */
3203
- max_pages?: number;
3204
- /**
3205
- * Name
3206
- */
3207
- name: string;
3208
- /**
3209
- * Notes
3210
- */
3211
- notes?: string;
3212
- /**
3213
- * Urls
3214
- */
3215
- urls?: Array<string>;
3216
- };
3217
3183
  /**
3218
3184
  * CreateSecretRequest
3219
3185
  */
@@ -3274,8 +3240,10 @@ export type CreateTelephonyAccountRequest = {
3274
3240
  };
3275
3241
  /**
3276
3242
  * Display Name
3243
+ *
3244
+ * Omit to use the carrier's own name for the account.
3277
3245
  */
3278
- display_name: string;
3246
+ display_name?: string | null;
3279
3247
  /**
3280
3248
  * Provider
3281
3249
  */
@@ -3404,12 +3372,7 @@ export type CreateWhatsAppBatchRequest = {
3404
3372
  /**
3405
3373
  * CreditBalanceResponse
3406
3374
  *
3407
- * This region's balance for the workspace, what it buys, and top-up prices.
3408
- *
3409
- * Per region, because the balance is a data-plane table. A caller reading this
3410
- * is reading the balance of whichever region's API they called, and the
3411
- * dashboard labels it with that region's name — a bare number is what makes a
3412
- * customer with $50 in one region and $0 in another think the money vanished.
3375
+ * This workspace's credit balance, what it buys, and top-up prices.
3413
3376
  */
3414
3377
  export type CreditBalanceResponse = {
3415
3378
  /**
@@ -3529,6 +3492,17 @@ export type CreditPackResponse = {
3529
3492
  */
3530
3493
  voice_minutes: number;
3531
3494
  };
3495
+ /**
3496
+ * DeleteRecipientsRequest
3497
+ *
3498
+ * Rows to remove from a batch, by id.
3499
+ */
3500
+ export type DeleteRecipientsRequest = {
3501
+ /**
3502
+ * Recipient Ids
3503
+ */
3504
+ recipient_ids: Array<string>;
3505
+ };
3532
3506
  /**
3533
3507
  * DeliveryError
3534
3508
  *
@@ -4228,6 +4202,142 @@ export type ExpressiveDialect = {
4228
4202
  */
4229
4203
  prompt: string;
4230
4204
  };
4205
+ /**
4206
+ * FaqDefinition
4207
+ *
4208
+ * An FAQ: a named list of question/answer pairs.
4209
+ */
4210
+ export type FaqDefinition = {
4211
+ /**
4212
+ * Entries
4213
+ */
4214
+ entries?: Array<FaqEntryInput>;
4215
+ /**
4216
+ * Name
4217
+ */
4218
+ name: string;
4219
+ };
4220
+ /**
4221
+ * FaqDetail
4222
+ */
4223
+ export type FaqDetail = {
4224
+ /**
4225
+ * Created At
4226
+ */
4227
+ created_at: string;
4228
+ /**
4229
+ * Created By
4230
+ */
4231
+ created_by: string | null;
4232
+ /**
4233
+ * Entries
4234
+ */
4235
+ entries: Array<FaqEntry>;
4236
+ /**
4237
+ * Entry Count
4238
+ */
4239
+ entry_count: number;
4240
+ /**
4241
+ * Id
4242
+ */
4243
+ id: string;
4244
+ /**
4245
+ * Name
4246
+ */
4247
+ name: string;
4248
+ /**
4249
+ * Updated At
4250
+ */
4251
+ updated_at: string;
4252
+ };
4253
+ /**
4254
+ * FaqEntriesResponse
4255
+ */
4256
+ export type FaqEntriesResponse = {
4257
+ /**
4258
+ * Entries
4259
+ */
4260
+ entries: Array<FaqEntry>;
4261
+ };
4262
+ /**
4263
+ * FaqEntry
4264
+ */
4265
+ export type FaqEntry = {
4266
+ /**
4267
+ * Answer
4268
+ */
4269
+ answer: string;
4270
+ /**
4271
+ * Created At
4272
+ */
4273
+ created_at: string;
4274
+ /**
4275
+ * Id
4276
+ */
4277
+ id: string;
4278
+ /**
4279
+ * Question
4280
+ */
4281
+ question: string;
4282
+ /**
4283
+ * Updated At
4284
+ */
4285
+ updated_at: string;
4286
+ };
4287
+ /**
4288
+ * FaqEntryInput
4289
+ */
4290
+ export type FaqEntryInput = {
4291
+ /**
4292
+ * Answer
4293
+ */
4294
+ answer: string;
4295
+ /**
4296
+ * Question
4297
+ */
4298
+ question: string;
4299
+ };
4300
+ /**
4301
+ * FaqSelection
4302
+ *
4303
+ * An FAQ the agent answers from: name one with `faq_id`, or define one inline.
4304
+ */
4305
+ export type FaqSelection = {
4306
+ faq?: InlineFaq | null;
4307
+ /**
4308
+ * Faq Id
4309
+ */
4310
+ faq_id?: string | null;
4311
+ };
4312
+ /**
4313
+ * FaqSummary
4314
+ */
4315
+ export type FaqSummary = {
4316
+ /**
4317
+ * Created At
4318
+ */
4319
+ created_at: string;
4320
+ /**
4321
+ * Created By
4322
+ */
4323
+ created_by: string | null;
4324
+ /**
4325
+ * Entry Count
4326
+ */
4327
+ entry_count: number;
4328
+ /**
4329
+ * Id
4330
+ */
4331
+ id: string;
4332
+ /**
4333
+ * Name
4334
+ */
4335
+ name: string;
4336
+ /**
4337
+ * Updated At
4338
+ */
4339
+ updated_at: string;
4340
+ };
4231
4341
  /**
4232
4342
  * FieldMap
4233
4343
  *
@@ -4813,6 +4923,24 @@ export type InboundImage = {
4813
4923
  */
4814
4924
  filename?: string | null;
4815
4925
  };
4926
+ /**
4927
+ * InlineFaq
4928
+ *
4929
+ * An FAQ defined here rather than named.
4930
+ *
4931
+ * On the call endpoints it is used for that call only; on the agent and task
4932
+ * endpoints it is created as a real FAQ.
4933
+ */
4934
+ export type InlineFaq = {
4935
+ /**
4936
+ * Entries
4937
+ */
4938
+ entries: Array<FaqEntryInput>;
4939
+ /**
4940
+ * Name
4941
+ */
4942
+ name: string;
4943
+ };
4816
4944
  /**
4817
4945
  * InlineMcpServer
4818
4946
  *
@@ -5411,413 +5539,112 @@ export type ItemDeliveryUpdatedEvent = {
5411
5539
  provider_message_id: string | null;
5412
5540
  };
5413
5541
  /**
5414
- * KBDetail
5542
+ * KeypadInputSpec
5415
5543
  *
5416
- * The full single-KB view: the ToC tree + stage-specific curation data.
5544
+ * Digits the caller types, delivered as a turn the agent can answer.
5545
+ *
5546
+ * Phone and stream calls only, and only where the platform sends DTMF as an
5547
+ * event — tones inside the audio are not detected. `voice` agents only:
5548
+ * enabling it on `video` or `text` is refused.
5417
5549
  */
5418
- export type KBDetail = {
5419
- /**
5420
- * All Data Summary
5421
- */
5422
- all_data_summary?: string | null;
5550
+ export type KeypadInputSpec = {
5423
5551
  /**
5424
- * Created At
5552
+ * Enabled
5553
+ *
5554
+ * 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.
5425
5555
  */
5426
- created_at: string;
5556
+ enabled?: boolean;
5427
5557
  /**
5428
- * Created By
5558
+ * Terminator
5559
+ *
5560
+ * 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.
5429
5561
  */
5430
- created_by?: string | null;
5562
+ terminator?: '#' | '*' | '';
5431
5563
  /**
5432
- * Discovered
5564
+ * Timeout
5565
+ *
5566
+ * Seconds of quiet before an entry is taken as finished. 0 waits for the terminator however long it takes.
5433
5567
  */
5434
- discovered?: Array<string> | null;
5568
+ timeout?: number;
5569
+ };
5570
+ /**
5571
+ * KeypadInputSpecOverride
5572
+ *
5573
+ * 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.
5574
+ */
5575
+ export type KeypadInputSpecOverride = {
5435
5576
  /**
5436
- * Error
5577
+ * Enabled
5578
+ *
5579
+ * 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.
5437
5580
  */
5438
- error?: string | null;
5581
+ enabled?: boolean | null;
5439
5582
  /**
5440
- * Id
5583
+ * Terminator
5584
+ *
5585
+ * 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.
5441
5586
  */
5442
- id: string;
5587
+ terminator?: '#' | '*' | '' | null;
5443
5588
  /**
5444
- * Max Pages
5589
+ * Timeout
5590
+ *
5591
+ * Seconds of quiet before an entry is taken as finished. 0 waits for the terminator however long it takes.
5445
5592
  */
5446
- max_pages?: number;
5593
+ timeout?: number | null;
5594
+ };
5595
+ /**
5596
+ * LLMCatalogEntryResponse
5597
+ */
5598
+ export type LLMCatalogEntryResponse = {
5447
5599
  /**
5448
- * Name
5600
+ * Base Url
5449
5601
  */
5450
- name: string;
5602
+ base_url: string | null;
5451
5603
  /**
5452
- * Node Count
5604
+ * Builtin Tools
5453
5605
  */
5454
- node_count?: number | null;
5606
+ builtin_tools: Array<BuiltinTool>;
5455
5607
  /**
5456
- * Notes
5608
+ * Channel
5457
5609
  */
5458
- notes?: string;
5610
+ channel: Array<string>;
5459
5611
  /**
5460
- * Parents
5612
+ * Context Length
5461
5613
  */
5462
- parents?: {
5463
- [key: string]: string | null;
5464
- } | null;
5465
- progress?: KbProgress;
5614
+ context_length: number | null;
5466
5615
  /**
5467
- * Seeds
5616
+ * Label
5468
5617
  */
5469
- seeds?: Array<string>;
5618
+ label: string | null;
5470
5619
  /**
5471
- * Status
5620
+ * Logo Url
5472
5621
  */
5473
- status: 'discovering' | 'review' | 'transcribing' | 'generating' | 'ready' | 'error';
5622
+ logo_url: string | null;
5474
5623
  /**
5475
- * Tree
5624
+ * Model
5476
5625
  */
5477
- tree?: Array<KbTreeNode> | null;
5626
+ model: string;
5478
5627
  /**
5479
- * Unplaced
5628
+ * Note
5480
5629
  */
5481
- unplaced?: Array<string> | null;
5630
+ note: string | null;
5482
5631
  /**
5483
- * Updated At
5632
+ * Pricing
5484
5633
  */
5485
- updated_at: string;
5634
+ pricing: {
5635
+ [key: string]: unknown;
5636
+ };
5637
+ priority: PriorityTier | null;
5486
5638
  /**
5487
- * Url Count
5639
+ * Provider
5488
5640
  */
5489
- url_count?: number | null;
5490
- };
5491
- /**
5492
- * KBPageResponse
5493
- */
5494
- export type KBPageResponse = {
5641
+ provider: string;
5495
5642
  /**
5496
- * Content Len
5643
+ * Reasoning Efforts
5497
5644
  */
5498
- content_len: number;
5645
+ reasoning_efforts: Array<'none' | 'minimal' | 'low' | 'medium' | 'high'>;
5499
5646
  /**
5500
- * Error
5501
- */
5502
- error?: string | null;
5503
- /**
5504
- * Kind
5505
- */
5506
- kind?: string | null;
5507
- /**
5508
- * Parent Url
5509
- */
5510
- parent_url?: string | null;
5511
- /**
5512
- * Status
5513
- */
5514
- status: string;
5515
- /**
5516
- * Summary
5517
- */
5518
- summary?: string | null;
5519
- /**
5520
- * Title
5521
- */
5522
- title?: string | null;
5523
- /**
5524
- * Updated At
5525
- */
5526
- updated_at: string;
5527
- /**
5528
- * Url
5529
- */
5530
- url: string;
5531
- };
5532
- /**
5533
- * KBSummary
5534
- *
5535
- * The KB header — what the list view needs (no tree / curation detail).
5536
- */
5537
- export type KBSummary = {
5538
- /**
5539
- * Created At
5540
- */
5541
- created_at: string;
5542
- /**
5543
- * Created By
5544
- */
5545
- created_by?: string | null;
5546
- /**
5547
- * Error
5548
- */
5549
- error?: string | null;
5550
- /**
5551
- * Id
5552
- */
5553
- id: string;
5554
- /**
5555
- * Name
5556
- */
5557
- name: string;
5558
- /**
5559
- * Node Count
5560
- */
5561
- node_count?: number | null;
5562
- progress?: KbProgress;
5563
- /**
5564
- * Seeds
5565
- */
5566
- seeds?: Array<string>;
5567
- /**
5568
- * Status
5569
- */
5570
- status: 'discovering' | 'review' | 'transcribing' | 'generating' | 'ready' | 'error';
5571
- /**
5572
- * Updated At
5573
- */
5574
- updated_at: string;
5575
- /**
5576
- * Url Count
5577
- */
5578
- url_count?: number | null;
5579
- };
5580
- /**
5581
- * KbProgress
5582
- *
5583
- * Build-stage progress written to knowledge_bases.progress JSONB.
5584
- */
5585
- export type KbProgress = {
5586
- /**
5587
- * Done
5588
- */
5589
- done: number | null;
5590
- /**
5591
- * Failed
5592
- */
5593
- failed: number | null;
5594
- /**
5595
- * Message
5596
- */
5597
- message: string | null;
5598
- /**
5599
- * Phase
5600
- */
5601
- phase: string;
5602
- /**
5603
- * Total
5604
- */
5605
- total: number | null;
5606
- };
5607
- /**
5608
- * KbProgressEvent
5609
- *
5610
- * One step of the running build. Purely advisory — the canonical progress
5611
- * is on the knowledge base itself, which `get_kb` returns.
5612
- */
5613
- export type KbProgressEvent = {
5614
- /**
5615
- * Done
5616
- */
5617
- done: number | null;
5618
- /**
5619
- * Event
5620
- */
5621
- event: 'progress';
5622
- /**
5623
- * Failed
5624
- */
5625
- failed: number | null;
5626
- /**
5627
- * Message
5628
- */
5629
- message: string | null;
5630
- /**
5631
- * Phase
5632
- */
5633
- phase: string;
5634
- /**
5635
- * Total
5636
- */
5637
- total: number | null;
5638
- };
5639
- /**
5640
- * KbSnapshotEvent
5641
- *
5642
- * Where the build stands. First frame, and again on every reconnect.
5643
- */
5644
- export type KbSnapshotEvent = {
5645
- /**
5646
- * Error
5647
- */
5648
- error: string | null;
5649
- /**
5650
- * Event
5651
- */
5652
- event: 'snapshot';
5653
- progress: KbProgress;
5654
- /**
5655
- * Status
5656
- */
5657
- status: string;
5658
- };
5659
- /**
5660
- * KbStatusEvent
5661
- *
5662
- * The build reached a new state. `error` is set only when `status` is
5663
- * `error`, and says what stopped it.
5664
- */
5665
- export type KbStatusEvent = {
5666
- /**
5667
- * Error
5668
- */
5669
- error: string | null;
5670
- /**
5671
- * Event
5672
- */
5673
- event: 'status';
5674
- /**
5675
- * Status
5676
- */
5677
- status: 'discovering' | 'review' | 'transcribing' | 'generating' | 'ready' | 'error';
5678
- };
5679
- /**
5680
- * KbTreeNode
5681
- *
5682
- * One ToC node in the dashboard tree (content omitted; has_content flag only).
5683
- */
5684
- export type KbTreeNode = {
5685
- /**
5686
- * Children
5687
- */
5688
- children?: Array<KbTreeNode>;
5689
- /**
5690
- * Has Content
5691
- */
5692
- has_content?: boolean;
5693
- /**
5694
- * Id
5695
- */
5696
- id: string;
5697
- /**
5698
- * Kind
5699
- */
5700
- kind?: string | null;
5701
- /**
5702
- * Source Url
5703
- */
5704
- source_url?: string | null;
5705
- /**
5706
- * Summary
5707
- */
5708
- summary?: string | null;
5709
- /**
5710
- * Title
5711
- */
5712
- title?: string | null;
5713
- };
5714
- /**
5715
- * KeypadInputSpec
5716
- *
5717
- * Digits the caller types, delivered as a turn the agent can answer.
5718
- *
5719
- * Phone and stream calls only, and only where the platform sends DTMF as an
5720
- * event — tones inside the audio are not detected. `voice` agents only:
5721
- * enabling it on `video` or `text` is refused.
5722
- */
5723
- export type KeypadInputSpec = {
5724
- /**
5725
- * Enabled
5726
- *
5727
- * 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.
5728
- */
5729
- enabled?: boolean;
5730
- /**
5731
- * Terminator
5732
- *
5733
- * 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.
5734
- */
5735
- terminator?: '#' | '*' | '';
5736
- /**
5737
- * Timeout
5738
- *
5739
- * Seconds of quiet before an entry is taken as finished. 0 waits for the terminator however long it takes.
5740
- */
5741
- timeout?: number;
5742
- };
5743
- /**
5744
- * KeypadInputSpecOverride
5745
- *
5746
- * 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.
5747
- */
5748
- export type KeypadInputSpecOverride = {
5749
- /**
5750
- * Enabled
5751
- *
5752
- * 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.
5753
- */
5754
- enabled?: boolean | null;
5755
- /**
5756
- * Terminator
5757
- *
5758
- * 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.
5759
- */
5760
- terminator?: '#' | '*' | '' | null;
5761
- /**
5762
- * Timeout
5763
- *
5764
- * Seconds of quiet before an entry is taken as finished. 0 waits for the terminator however long it takes.
5765
- */
5766
- timeout?: number | null;
5767
- };
5768
- /**
5769
- * LLMCatalogEntryResponse
5770
- */
5771
- export type LLMCatalogEntryResponse = {
5772
- /**
5773
- * Base Url
5774
- */
5775
- base_url: string | null;
5776
- /**
5777
- * Builtin Tools
5778
- */
5779
- builtin_tools: Array<BuiltinTool>;
5780
- /**
5781
- * Channel
5782
- */
5783
- channel: Array<string>;
5784
- /**
5785
- * Context Length
5786
- */
5787
- context_length: number | null;
5788
- /**
5789
- * Label
5790
- */
5791
- label: string | null;
5792
- /**
5793
- * Logo Url
5794
- */
5795
- logo_url: string | null;
5796
- /**
5797
- * Model
5798
- */
5799
- model: string;
5800
- /**
5801
- * Note
5802
- */
5803
- note: string | null;
5804
- /**
5805
- * Pricing
5806
- */
5807
- pricing: {
5808
- [key: string]: unknown;
5809
- };
5810
- priority: PriorityTier | null;
5811
- /**
5812
- * Provider
5813
- */
5814
- provider: string;
5815
- /**
5816
- * Reasoning Efforts
5817
- */
5818
- reasoning_efforts: Array<'none' | 'minimal' | 'low' | 'medium' | 'high'>;
5819
- /**
5820
- * Vision
5647
+ * Vision
5821
5648
  */
5822
5649
  vision: boolean;
5823
5650
  [key: string]: unknown;
@@ -6307,39 +6134,6 @@ export type ModelRegistryHealth = {
6307
6134
  */
6308
6135
  models: number;
6309
6136
  };
6310
- /**
6311
- * NodeContentResponse
6312
- */
6313
- export type NodeContentResponse = {
6314
- /**
6315
- * Content
6316
- */
6317
- content: string;
6318
- /**
6319
- * Id
6320
- */
6321
- id: string;
6322
- /**
6323
- * Kind
6324
- */
6325
- kind?: string | null;
6326
- /**
6327
- * Source Url
6328
- */
6329
- source_url?: string | null;
6330
- /**
6331
- * Summary
6332
- */
6333
- summary?: string | null;
6334
- /**
6335
- * Title
6336
- */
6337
- title?: string | null;
6338
- /**
6339
- * Version
6340
- */
6341
- version?: number;
6342
- };
6343
6137
  /**
6344
6138
  * NoiseCancellationCatalogEntryResponse
6345
6139
  */
@@ -7384,9 +7178,9 @@ export type PageEmailSendResponse = {
7384
7178
  offset: number;
7385
7179
  };
7386
7180
  /**
7387
- * Page[IntegrationCatalogItem]
7181
+ * Page[FaqSummary]
7388
7182
  */
7389
- export type PageIntegrationCatalogItem = {
7183
+ export type PageFaqSummary = {
7390
7184
  /**
7391
7185
  * Has More
7392
7186
  */
@@ -7394,7 +7188,7 @@ export type PageIntegrationCatalogItem = {
7394
7188
  /**
7395
7189
  * Items
7396
7190
  */
7397
- items: Array<IntegrationCatalogItem>;
7191
+ items: Array<FaqSummary>;
7398
7192
  /**
7399
7193
  * Limit
7400
7194
  */
@@ -7405,30 +7199,9 @@ export type PageIntegrationCatalogItem = {
7405
7199
  offset: number;
7406
7200
  };
7407
7201
  /**
7408
- * Page[IntegrationResponse]
7409
- */
7410
- export type PageIntegrationResponse = {
7411
- /**
7412
- * Has More
7413
- */
7414
- has_more: boolean;
7415
- /**
7416
- * Items
7417
- */
7418
- items: Array<IntegrationResponse>;
7419
- /**
7420
- * Limit
7421
- */
7422
- limit: number;
7423
- /**
7424
- * Offset
7425
- */
7426
- offset: number;
7427
- };
7428
- /**
7429
- * Page[IntegrationTriggerResponse]
7202
+ * Page[IntegrationCatalogItem]
7430
7203
  */
7431
- export type PageIntegrationTriggerResponse = {
7204
+ export type PageIntegrationCatalogItem = {
7432
7205
  /**
7433
7206
  * Has More
7434
7207
  */
@@ -7436,7 +7209,7 @@ export type PageIntegrationTriggerResponse = {
7436
7209
  /**
7437
7210
  * Items
7438
7211
  */
7439
- items: Array<IntegrationTriggerResponse>;
7212
+ items: Array<IntegrationCatalogItem>;
7440
7213
  /**
7441
7214
  * Limit
7442
7215
  */
@@ -7447,9 +7220,9 @@ export type PageIntegrationTriggerResponse = {
7447
7220
  offset: number;
7448
7221
  };
7449
7222
  /**
7450
- * Page[KBPageResponse]
7223
+ * Page[IntegrationResponse]
7451
7224
  */
7452
- export type PageKBPageResponse = {
7225
+ export type PageIntegrationResponse = {
7453
7226
  /**
7454
7227
  * Has More
7455
7228
  */
@@ -7457,7 +7230,7 @@ export type PageKBPageResponse = {
7457
7230
  /**
7458
7231
  * Items
7459
7232
  */
7460
- items: Array<KBPageResponse>;
7233
+ items: Array<IntegrationResponse>;
7461
7234
  /**
7462
7235
  * Limit
7463
7236
  */
@@ -7468,9 +7241,9 @@ export type PageKBPageResponse = {
7468
7241
  offset: number;
7469
7242
  };
7470
7243
  /**
7471
- * Page[KBSummary]
7244
+ * Page[IntegrationTriggerResponse]
7472
7245
  */
7473
- export type PageKBSummary = {
7246
+ export type PageIntegrationTriggerResponse = {
7474
7247
  /**
7475
7248
  * Has More
7476
7249
  */
@@ -7478,7 +7251,7 @@ export type PageKBSummary = {
7478
7251
  /**
7479
7252
  * Items
7480
7253
  */
7481
- items: Array<KBSummary>;
7254
+ items: Array<IntegrationTriggerResponse>;
7482
7255
  /**
7483
7256
  * Limit
7484
7257
  */
@@ -8046,27 +7819,6 @@ export type PatchIntegrationTriggerRequest = {
8046
7819
  */
8047
7820
  trigger_type?: 'telegram.message.inbound' | 'whatsapp.message.inbound' | 'whatsapp.call.inbound' | null;
8048
7821
  };
8049
- /**
8050
- * PatchNodeRequest
8051
- */
8052
- export type PatchNodeRequest = {
8053
- /**
8054
- * Content
8055
- */
8056
- content?: string | null;
8057
- /**
8058
- * Summary
8059
- */
8060
- summary?: string | null;
8061
- /**
8062
- * Title
8063
- */
8064
- title?: string | null;
8065
- /**
8066
- * Version
8067
- */
8068
- version?: number | null;
8069
- };
8070
7822
  /**
8071
7823
  * PatchPhoneNumberRequest
8072
7824
  */
@@ -8537,23 +8289,6 @@ export type PriorityTier = {
8537
8289
  */
8538
8290
  value?: string;
8539
8291
  };
8540
- /**
8541
- * PromptResponse
8542
- */
8543
- export type PromptResponse = {
8544
- /**
8545
- * Chars
8546
- */
8547
- chars: number;
8548
- /**
8549
- * Node Count
8550
- */
8551
- node_count: number;
8552
- /**
8553
- * Prompt
8554
- */
8555
- prompt: string;
8556
- };
8557
8292
  /**
8558
8293
  * ProviderEntryResponse
8559
8294
  */
@@ -8620,7 +8355,7 @@ export type ProviderKeysResponse = {
8620
8355
  /**
8621
8356
  * PublicMessage
8622
8357
  *
8623
- * Dashboard SSE/message payload for one CoPilot / KB Builder timeline row.
8358
+ * Dashboard SSE/message payload for one CoPilot timeline row.
8624
8359
  */
8625
8360
  export type PublicMessage = {
8626
8361
  /**
@@ -9765,34 +9500,13 @@ export type SecretResponse = {
9765
9500
  */
9766
9501
  name: string;
9767
9502
  /**
9768
- * Updated At
9769
- */
9770
- updated_at: string;
9771
- /**
9772
- * Value Hint
9773
- */
9774
- value_hint: string;
9775
- };
9776
- /**
9777
- * SelectRecipientsRequest
9778
- *
9779
- * What `skip` and `restore` accept — either shape.
9780
- *
9781
- * Both are reversible, which is why both take a bulk shorthand: skipping four
9782
- * thousand rows is undone by restoring them, and making curation tedious pushes
9783
- * an operator toward not curating.
9784
- */
9785
- export type SelectRecipientsRequest = {
9786
- /**
9787
- * Recipient Ids
9503
+ * Updated At
9788
9504
  */
9789
- recipient_ids?: Array<string> | null;
9505
+ updated_at: string;
9790
9506
  /**
9791
- * Selection
9792
- *
9793
- * Every row this verb can act on: drafts for skip, rows a person skipped for restore.
9507
+ * Value Hint
9794
9508
  */
9795
- selection?: 'all_eligible' | null;
9509
+ value_hint: string;
9796
9510
  };
9797
9511
  /**
9798
9512
  * SendDtmfConfig
@@ -10656,17 +10370,17 @@ export type TTSUsageResponse = {
10656
10370
  */
10657
10371
  export type TaskConfig = {
10658
10372
  /**
10659
- * Finish Without Result Description
10373
+ * Faqs
10660
10374
  *
10661
- * 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.
10375
+ * FAQs the agent answers from: questions go in the prompt, answers are fetched on demand.
10662
10376
  */
10663
- finish_without_result_description?: string;
10377
+ faqs?: Array<FaqSelection>;
10664
10378
  /**
10665
- * Kb Ids
10379
+ * Finish Without Result Description
10666
10380
  *
10667
- * Knowledge bases to read from: their outline goes into the prompt and pages are fetched on demand.
10381
+ * 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.
10668
10382
  */
10669
- kb_ids?: Array<string>;
10383
+ finish_without_result_description?: string;
10670
10384
  llm?: LLMSpec;
10671
10385
  /**
10672
10386
  * Max Steps
@@ -10772,17 +10486,17 @@ export type TaskOutputField = {
10772
10486
  */
10773
10487
  export type TaskPatch = {
10774
10488
  /**
10775
- * Finish Without Result Description
10489
+ * Faqs
10776
10490
  *
10777
- * 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.
10491
+ * FAQs the agent answers from: questions go in the prompt, answers are fetched on demand.
10778
10492
  */
10779
- finish_without_result_description?: string | null;
10493
+ faqs?: Array<FaqSelection> | null;
10780
10494
  /**
10781
- * Kb Ids
10495
+ * Finish Without Result Description
10782
10496
  *
10783
- * Knowledge bases to read from: their outline goes into the prompt and pages are fetched on demand.
10497
+ * 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.
10784
10498
  */
10785
- kb_ids?: Array<string> | null;
10499
+ finish_without_result_description?: string | null;
10786
10500
  llm?: LLMSpecOverride | null;
10787
10501
  /**
10788
10502
  * Max Steps
@@ -11343,19 +11057,6 @@ export type TimeWindow = {
11343
11057
  */
11344
11058
  start: string;
11345
11059
  };
11346
- /**
11347
- * TocResultResponse
11348
- */
11349
- export type TocResultResponse = {
11350
- /**
11351
- * Ok
11352
- */
11353
- ok?: boolean;
11354
- /**
11355
- * Pages
11356
- */
11357
- pages: number;
11358
- };
11359
11060
  /**
11360
11061
  * TokenRequest
11361
11062
  *
@@ -11808,7 +11509,7 @@ export type TurnMetrics = {
11808
11509
  /**
11809
11510
  * TurnPayload
11810
11511
  *
11811
- * Shared turn lifecycle for tenant conversation, CoPilot, and KB Builder SSE.
11512
+ * Shared turn lifecycle for tenant conversation and CoPilot SSE.
11812
11513
  *
11813
11514
  * The `event` field is the discriminator every SSE payload on this API carries:
11814
11515
  * it repeats the frame's `event:` line inside the JSON, so a generated client
@@ -11898,6 +11599,28 @@ export type UpdateAgentRequest = {
11898
11599
  */
11899
11600
  config: AgentOverride;
11900
11601
  };
11602
+ /**
11603
+ * UpdateFaqEntryRequest
11604
+ */
11605
+ export type UpdateFaqEntryRequest = {
11606
+ /**
11607
+ * Answer
11608
+ */
11609
+ answer?: string | null;
11610
+ /**
11611
+ * Question
11612
+ */
11613
+ question?: string | null;
11614
+ };
11615
+ /**
11616
+ * UpdateFaqRequest
11617
+ */
11618
+ export type UpdateFaqRequest = {
11619
+ /**
11620
+ * Name
11621
+ */
11622
+ name: string;
11623
+ };
11901
11624
  /**
11902
11625
  * UsageResponse
11903
11626
  *
@@ -13841,6 +13564,55 @@ export type CallsBatchesRecipientsAddResults = {
13841
13564
  200: AddRecipientsResponse;
13842
13565
  };
13843
13566
  export type CallsBatchesRecipientsAddResult = CallsBatchesRecipientsAddResults[keyof CallsBatchesRecipientsAddResults];
13567
+ export type CallsBatchesRecipientsDeleteData = {
13568
+ body: DeleteRecipientsRequest;
13569
+ path: {
13570
+ /**
13571
+ * Batch Id
13572
+ */
13573
+ batch_id: string;
13574
+ };
13575
+ query?: never;
13576
+ url: '/v1/calls/batches/{batch_id}/recipients/delete';
13577
+ };
13578
+ export type CallsBatchesRecipientsDeleteErrors = {
13579
+ /**
13580
+ * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
13581
+ */
13582
+ 400: ErrorResponse;
13583
+ /**
13584
+ * Missing credential, or one that is revoked or no longer a member of this organization.
13585
+ */
13586
+ 401: ErrorResponse;
13587
+ /**
13588
+ * Authenticated, but this organization role may not perform the operation.
13589
+ */
13590
+ 403: ErrorResponse;
13591
+ /**
13592
+ * No such resource in this organization.
13593
+ */
13594
+ 404: ErrorResponse;
13595
+ /**
13596
+ * The resource's current state forbids this — a name already taken, a job already running.
13597
+ */
13598
+ 409: ErrorResponse;
13599
+ /**
13600
+ * The request did not match this operation's schema; `detail.errors` lists each field.
13601
+ */
13602
+ 422: ErrorResponse;
13603
+ /**
13604
+ * Unexpected error. Every error this API returns carries this body.
13605
+ */
13606
+ default: ErrorResponse;
13607
+ };
13608
+ export type CallsBatchesRecipientsDeleteError = CallsBatchesRecipientsDeleteErrors[keyof CallsBatchesRecipientsDeleteErrors];
13609
+ export type CallsBatchesRecipientsDeleteResults = {
13610
+ /**
13611
+ * Successful Response
13612
+ */
13613
+ 200: RecipientActionResponse;
13614
+ };
13615
+ export type CallsBatchesRecipientsDeleteResult = CallsBatchesRecipientsDeleteResults[keyof CallsBatchesRecipientsDeleteResults];
13844
13616
  export type CallsBatchesResumeData = {
13845
13617
  body?: never;
13846
13618
  path: {
@@ -15566,100 +15338,6 @@ export type CopilotAgentsStreamResults = {
15566
15338
  } & TurnPayload);
15567
15339
  };
15568
15340
  export type CopilotAgentsStreamResult = CopilotAgentsStreamResults[keyof CopilotAgentsStreamResults];
15569
- export type CopilotKnowledgeSendData = {
15570
- body: SendMessageRequest;
15571
- path: {
15572
- /**
15573
- * Kb Id
15574
- */
15575
- kb_id: string;
15576
- };
15577
- query?: never;
15578
- url: '/v1/copilot/knowledge/{kb_id}/messages';
15579
- };
15580
- export type CopilotKnowledgeSendErrors = {
15581
- /**
15582
- * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
15583
- */
15584
- 400: ErrorResponse;
15585
- /**
15586
- * Missing credential, or one that is revoked or no longer a member of this organization.
15587
- */
15588
- 401: ErrorResponse;
15589
- /**
15590
- * Authenticated, but this organization role may not perform the operation.
15591
- */
15592
- 403: ErrorResponse;
15593
- /**
15594
- * No such resource in this organization.
15595
- */
15596
- 404: ErrorResponse;
15597
- /**
15598
- * The resource's current state forbids this — a name already taken, a job already running.
15599
- */
15600
- 409: ErrorResponse;
15601
- /**
15602
- * The request did not match this operation's schema; `detail.errors` lists each field.
15603
- */
15604
- 422: ErrorResponse;
15605
- /**
15606
- * Unexpected error. Every error this API returns carries this body.
15607
- */
15608
- default: ErrorResponse;
15609
- };
15610
- export type CopilotKnowledgeSendError = CopilotKnowledgeSendErrors[keyof CopilotKnowledgeSendErrors];
15611
- export type CopilotKnowledgeSendResults = {
15612
- /**
15613
- * Successful Response
15614
- */
15615
- 200: SendMessageResponse;
15616
- };
15617
- export type CopilotKnowledgeSendResult = CopilotKnowledgeSendResults[keyof CopilotKnowledgeSendResults];
15618
- export type CopilotKnowledgeStreamData = {
15619
- body?: never;
15620
- path: {
15621
- /**
15622
- * Kb Id
15623
- */
15624
- kb_id: string;
15625
- };
15626
- query?: never;
15627
- url: '/v1/copilot/knowledge/{kb_id}/stream';
15628
- };
15629
- export type CopilotKnowledgeStreamErrors = {
15630
- /**
15631
- * Missing credential, or one that is revoked or no longer a member of this organization.
15632
- */
15633
- 401: ErrorResponse;
15634
- /**
15635
- * No such resource in this organization.
15636
- */
15637
- 404: ErrorResponse;
15638
- /**
15639
- * The request did not match this operation's schema; `detail.errors` lists each field.
15640
- */
15641
- 422: ErrorResponse;
15642
- /**
15643
- * Unexpected error. Every error this API returns carries this body.
15644
- */
15645
- default: ErrorResponse;
15646
- };
15647
- export type CopilotKnowledgeStreamError = CopilotKnowledgeStreamErrors[keyof CopilotKnowledgeStreamErrors];
15648
- export type CopilotKnowledgeStreamResults = {
15649
- /**
15650
- * Response 200 Copilot.Knowledge.Stream
15651
- *
15652
- * 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.
15653
- */
15654
- 200: ({
15655
- event: 'snapshot';
15656
- } & CopilotSnapshotEvent) | ({
15657
- event: 'message';
15658
- } & CopilotMessageEvent) | ({
15659
- event: 'turn';
15660
- } & TurnPayload);
15661
- };
15662
- export type CopilotKnowledgeStreamResult = CopilotKnowledgeStreamResults[keyof CopilotKnowledgeStreamResults];
15663
15341
  export type CopilotTasksSendData = {
15664
15342
  body: SendMessageRequest;
15665
15343
  path: {
@@ -16261,22 +15939,18 @@ export type EmailBatchesRecipientsAddResults = {
16261
15939
  200: AddEmailRecipientsResponse;
16262
15940
  };
16263
15941
  export type EmailBatchesRecipientsAddResult = EmailBatchesRecipientsAddResults[keyof EmailBatchesRecipientsAddResults];
16264
- export type EmailBatchesRecipientsUpdateData = {
16265
- body: PatchEmailRecipientRequest;
15942
+ export type EmailBatchesRecipientsDeleteData = {
15943
+ body: DeleteRecipientsRequest;
16266
15944
  path: {
16267
15945
  /**
16268
15946
  * Batch Id
16269
15947
  */
16270
15948
  batch_id: string;
16271
- /**
16272
- * Recipient Id
16273
- */
16274
- recipient_id: string;
16275
15949
  };
16276
15950
  query?: never;
16277
- url: '/v1/email/batches/{batch_id}/recipients/{recipient_id}';
15951
+ url: '/v1/email/batches/{batch_id}/recipients/delete';
16278
15952
  };
16279
- export type EmailBatchesRecipientsUpdateErrors = {
15953
+ export type EmailBatchesRecipientsDeleteErrors = {
16280
15954
  /**
16281
15955
  * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
16282
15956
  */
@@ -16306,26 +15980,30 @@ export type EmailBatchesRecipientsUpdateErrors = {
16306
15980
  */
16307
15981
  default: ErrorResponse;
16308
15982
  };
16309
- export type EmailBatchesRecipientsUpdateError = EmailBatchesRecipientsUpdateErrors[keyof EmailBatchesRecipientsUpdateErrors];
16310
- export type EmailBatchesRecipientsUpdateResults = {
15983
+ export type EmailBatchesRecipientsDeleteError = EmailBatchesRecipientsDeleteErrors[keyof EmailBatchesRecipientsDeleteErrors];
15984
+ export type EmailBatchesRecipientsDeleteResults = {
16311
15985
  /**
16312
15986
  * Successful Response
16313
15987
  */
16314
- 200: EmailRecipientResponse;
15988
+ 200: RecipientActionResponse;
16315
15989
  };
16316
- export type EmailBatchesRecipientsUpdateResult = EmailBatchesRecipientsUpdateResults[keyof EmailBatchesRecipientsUpdateResults];
16317
- export type EmailBatchesRecipientsRedraftData = {
16318
- body: RedraftRequest;
15990
+ export type EmailBatchesRecipientsDeleteResult = EmailBatchesRecipientsDeleteResults[keyof EmailBatchesRecipientsDeleteResults];
15991
+ export type EmailBatchesRecipientsUpdateData = {
15992
+ body: PatchEmailRecipientRequest;
16319
15993
  path: {
16320
15994
  /**
16321
15995
  * Batch Id
16322
15996
  */
16323
15997
  batch_id: string;
15998
+ /**
15999
+ * Recipient Id
16000
+ */
16001
+ recipient_id: string;
16324
16002
  };
16325
16003
  query?: never;
16326
- url: '/v1/email/batches/{batch_id}/redraft';
16004
+ url: '/v1/email/batches/{batch_id}/recipients/{recipient_id}';
16327
16005
  };
16328
- export type EmailBatchesRecipientsRedraftErrors = {
16006
+ export type EmailBatchesRecipientsUpdateErrors = {
16329
16007
  /**
16330
16008
  * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
16331
16009
  */
@@ -16355,16 +16033,16 @@ export type EmailBatchesRecipientsRedraftErrors = {
16355
16033
  */
16356
16034
  default: ErrorResponse;
16357
16035
  };
16358
- export type EmailBatchesRecipientsRedraftError = EmailBatchesRecipientsRedraftErrors[keyof EmailBatchesRecipientsRedraftErrors];
16359
- export type EmailBatchesRecipientsRedraftResults = {
16036
+ export type EmailBatchesRecipientsUpdateError = EmailBatchesRecipientsUpdateErrors[keyof EmailBatchesRecipientsUpdateErrors];
16037
+ export type EmailBatchesRecipientsUpdateResults = {
16360
16038
  /**
16361
16039
  * Successful Response
16362
16040
  */
16363
- 200: RecipientActionResponse;
16041
+ 200: EmailRecipientResponse;
16364
16042
  };
16365
- export type EmailBatchesRecipientsRedraftResult = EmailBatchesRecipientsRedraftResults[keyof EmailBatchesRecipientsRedraftResults];
16366
- export type EmailBatchesRecipientsRestoreData = {
16367
- body: SelectRecipientsRequest;
16043
+ export type EmailBatchesRecipientsUpdateResult = EmailBatchesRecipientsUpdateResults[keyof EmailBatchesRecipientsUpdateResults];
16044
+ export type EmailBatchesRecipientsRedraftData = {
16045
+ body: RedraftRequest;
16368
16046
  path: {
16369
16047
  /**
16370
16048
  * Batch Id
@@ -16372,9 +16050,9 @@ export type EmailBatchesRecipientsRestoreData = {
16372
16050
  batch_id: string;
16373
16051
  };
16374
16052
  query?: never;
16375
- url: '/v1/email/batches/{batch_id}/restore';
16053
+ url: '/v1/email/batches/{batch_id}/redraft';
16376
16054
  };
16377
- export type EmailBatchesRecipientsRestoreErrors = {
16055
+ export type EmailBatchesRecipientsRedraftErrors = {
16378
16056
  /**
16379
16057
  * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
16380
16058
  */
@@ -16404,14 +16082,14 @@ export type EmailBatchesRecipientsRestoreErrors = {
16404
16082
  */
16405
16083
  default: ErrorResponse;
16406
16084
  };
16407
- export type EmailBatchesRecipientsRestoreError = EmailBatchesRecipientsRestoreErrors[keyof EmailBatchesRecipientsRestoreErrors];
16408
- export type EmailBatchesRecipientsRestoreResults = {
16085
+ export type EmailBatchesRecipientsRedraftError = EmailBatchesRecipientsRedraftErrors[keyof EmailBatchesRecipientsRedraftErrors];
16086
+ export type EmailBatchesRecipientsRedraftResults = {
16409
16087
  /**
16410
16088
  * Successful Response
16411
16089
  */
16412
16090
  200: RecipientActionResponse;
16413
16091
  };
16414
- export type EmailBatchesRecipientsRestoreResult = EmailBatchesRecipientsRestoreResults[keyof EmailBatchesRecipientsRestoreResults];
16092
+ export type EmailBatchesRecipientsRedraftResult = EmailBatchesRecipientsRedraftResults[keyof EmailBatchesRecipientsRedraftResults];
16415
16093
  export type EmailBatchesResumeData = {
16416
16094
  body?: never;
16417
16095
  path: {
@@ -16642,68 +16320,15 @@ export type EmailBatchesSendsUpdateErrors = {
16642
16320
  */
16643
16321
  default: ErrorResponse;
16644
16322
  };
16645
- export type EmailBatchesSendsUpdateError = EmailBatchesSendsUpdateErrors[keyof EmailBatchesSendsUpdateErrors];
16646
- export type EmailBatchesSendsUpdateResults = {
16647
- /**
16648
- * Successful Response
16649
- */
16650
- 200: EmailSendResponse;
16651
- };
16652
- export type EmailBatchesSendsUpdateResult = EmailBatchesSendsUpdateResults[keyof EmailBatchesSendsUpdateResults];
16653
- export type EmailBatchesSendsCancelData = {
16654
- body?: never;
16655
- path: {
16656
- /**
16657
- * Batch Id
16658
- */
16659
- batch_id: string;
16660
- /**
16661
- * Send Id
16662
- */
16663
- send_id: string;
16664
- };
16665
- query?: never;
16666
- url: '/v1/email/batches/{batch_id}/sends/{send_id}/cancel';
16667
- };
16668
- export type EmailBatchesSendsCancelErrors = {
16669
- /**
16670
- * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
16671
- */
16672
- 400: ErrorResponse;
16673
- /**
16674
- * Missing credential, or one that is revoked or no longer a member of this organization.
16675
- */
16676
- 401: ErrorResponse;
16677
- /**
16678
- * Authenticated, but this organization role may not perform the operation.
16679
- */
16680
- 403: ErrorResponse;
16681
- /**
16682
- * No such resource in this organization.
16683
- */
16684
- 404: ErrorResponse;
16685
- /**
16686
- * The resource's current state forbids this — a name already taken, a job already running.
16687
- */
16688
- 409: ErrorResponse;
16689
- /**
16690
- * The request did not match this operation's schema; `detail.errors` lists each field.
16691
- */
16692
- 422: ErrorResponse;
16693
- /**
16694
- * Unexpected error. Every error this API returns carries this body.
16695
- */
16696
- default: ErrorResponse;
16697
- };
16698
- export type EmailBatchesSendsCancelError = EmailBatchesSendsCancelErrors[keyof EmailBatchesSendsCancelErrors];
16699
- export type EmailBatchesSendsCancelResults = {
16323
+ export type EmailBatchesSendsUpdateError = EmailBatchesSendsUpdateErrors[keyof EmailBatchesSendsUpdateErrors];
16324
+ export type EmailBatchesSendsUpdateResults = {
16700
16325
  /**
16701
16326
  * Successful Response
16702
16327
  */
16703
16328
  200: EmailSendResponse;
16704
16329
  };
16705
- export type EmailBatchesSendsCancelResult = EmailBatchesSendsCancelResults[keyof EmailBatchesSendsCancelResults];
16706
- export type EmailBatchesSendsPauseData = {
16330
+ export type EmailBatchesSendsUpdateResult = EmailBatchesSendsUpdateResults[keyof EmailBatchesSendsUpdateResults];
16331
+ export type EmailBatchesSendsCancelData = {
16707
16332
  body?: never;
16708
16333
  path: {
16709
16334
  /**
@@ -16716,9 +16341,9 @@ export type EmailBatchesSendsPauseData = {
16716
16341
  send_id: string;
16717
16342
  };
16718
16343
  query?: never;
16719
- url: '/v1/email/batches/{batch_id}/sends/{send_id}/pause';
16344
+ url: '/v1/email/batches/{batch_id}/sends/{send_id}/cancel';
16720
16345
  };
16721
- export type EmailBatchesSendsPauseErrors = {
16346
+ export type EmailBatchesSendsCancelErrors = {
16722
16347
  /**
16723
16348
  * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
16724
16349
  */
@@ -16748,15 +16373,15 @@ export type EmailBatchesSendsPauseErrors = {
16748
16373
  */
16749
16374
  default: ErrorResponse;
16750
16375
  };
16751
- export type EmailBatchesSendsPauseError = EmailBatchesSendsPauseErrors[keyof EmailBatchesSendsPauseErrors];
16752
- export type EmailBatchesSendsPauseResults = {
16376
+ export type EmailBatchesSendsCancelError = EmailBatchesSendsCancelErrors[keyof EmailBatchesSendsCancelErrors];
16377
+ export type EmailBatchesSendsCancelResults = {
16753
16378
  /**
16754
16379
  * Successful Response
16755
16380
  */
16756
16381
  200: EmailSendResponse;
16757
16382
  };
16758
- export type EmailBatchesSendsPauseResult = EmailBatchesSendsPauseResults[keyof EmailBatchesSendsPauseResults];
16759
- export type EmailBatchesSendsResumeData = {
16383
+ export type EmailBatchesSendsCancelResult = EmailBatchesSendsCancelResults[keyof EmailBatchesSendsCancelResults];
16384
+ export type EmailBatchesSendsPauseData = {
16760
16385
  body?: never;
16761
16386
  path: {
16762
16387
  /**
@@ -16769,9 +16394,9 @@ export type EmailBatchesSendsResumeData = {
16769
16394
  send_id: string;
16770
16395
  };
16771
16396
  query?: never;
16772
- url: '/v1/email/batches/{batch_id}/sends/{send_id}/resume';
16397
+ url: '/v1/email/batches/{batch_id}/sends/{send_id}/pause';
16773
16398
  };
16774
- export type EmailBatchesSendsResumeErrors = {
16399
+ export type EmailBatchesSendsPauseErrors = {
16775
16400
  /**
16776
16401
  * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
16777
16402
  */
@@ -16801,26 +16426,30 @@ export type EmailBatchesSendsResumeErrors = {
16801
16426
  */
16802
16427
  default: ErrorResponse;
16803
16428
  };
16804
- export type EmailBatchesSendsResumeError = EmailBatchesSendsResumeErrors[keyof EmailBatchesSendsResumeErrors];
16805
- export type EmailBatchesSendsResumeResults = {
16429
+ export type EmailBatchesSendsPauseError = EmailBatchesSendsPauseErrors[keyof EmailBatchesSendsPauseErrors];
16430
+ export type EmailBatchesSendsPauseResults = {
16806
16431
  /**
16807
16432
  * Successful Response
16808
16433
  */
16809
16434
  200: EmailSendResponse;
16810
16435
  };
16811
- export type EmailBatchesSendsResumeResult = EmailBatchesSendsResumeResults[keyof EmailBatchesSendsResumeResults];
16812
- export type EmailBatchesRecipientsSkipData = {
16813
- body: SelectRecipientsRequest;
16436
+ export type EmailBatchesSendsPauseResult = EmailBatchesSendsPauseResults[keyof EmailBatchesSendsPauseResults];
16437
+ export type EmailBatchesSendsResumeData = {
16438
+ body?: never;
16814
16439
  path: {
16815
16440
  /**
16816
16441
  * Batch Id
16817
16442
  */
16818
16443
  batch_id: string;
16444
+ /**
16445
+ * Send Id
16446
+ */
16447
+ send_id: string;
16819
16448
  };
16820
16449
  query?: never;
16821
- url: '/v1/email/batches/{batch_id}/skip';
16450
+ url: '/v1/email/batches/{batch_id}/sends/{send_id}/resume';
16822
16451
  };
16823
- export type EmailBatchesRecipientsSkipErrors = {
16452
+ export type EmailBatchesSendsResumeErrors = {
16824
16453
  /**
16825
16454
  * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
16826
16455
  */
@@ -16850,14 +16479,14 @@ export type EmailBatchesRecipientsSkipErrors = {
16850
16479
  */
16851
16480
  default: ErrorResponse;
16852
16481
  };
16853
- export type EmailBatchesRecipientsSkipError = EmailBatchesRecipientsSkipErrors[keyof EmailBatchesRecipientsSkipErrors];
16854
- export type EmailBatchesRecipientsSkipResults = {
16482
+ export type EmailBatchesSendsResumeError = EmailBatchesSendsResumeErrors[keyof EmailBatchesSendsResumeErrors];
16483
+ export type EmailBatchesSendsResumeResults = {
16855
16484
  /**
16856
16485
  * Successful Response
16857
16486
  */
16858
- 200: RecipientActionResponse;
16487
+ 200: EmailSendResponse;
16859
16488
  };
16860
- export type EmailBatchesRecipientsSkipResult = EmailBatchesRecipientsSkipResults[keyof EmailBatchesRecipientsSkipResults];
16489
+ export type EmailBatchesSendsResumeResult = EmailBatchesSendsResumeResults[keyof EmailBatchesSendsResumeResults];
16861
16490
  export type EmailSendersListData = {
16862
16491
  body?: never;
16863
16492
  path?: never;
@@ -16893,7 +16522,7 @@ export type EmailSendersListResults = {
16893
16522
  200: VerifiedSendersResponse;
16894
16523
  };
16895
16524
  export type EmailSendersListResult = EmailSendersListResults[keyof EmailSendersListResults];
16896
- export type IntegrationsListData = {
16525
+ export type FaqsListData = {
16897
16526
  body?: never;
16898
16527
  path?: never;
16899
16528
  query?: {
@@ -16906,9 +16535,9 @@ export type IntegrationsListData = {
16906
16535
  */
16907
16536
  offset?: number;
16908
16537
  };
16909
- url: '/v1/integrations';
16538
+ url: '/v1/faqs';
16910
16539
  };
16911
- export type IntegrationsListErrors = {
16540
+ export type FaqsListErrors = {
16912
16541
  /**
16913
16542
  * Missing credential, or one that is revoked or no longer a member of this organization.
16914
16543
  */
@@ -16922,21 +16551,21 @@ export type IntegrationsListErrors = {
16922
16551
  */
16923
16552
  default: ErrorResponse;
16924
16553
  };
16925
- export type IntegrationsListError = IntegrationsListErrors[keyof IntegrationsListErrors];
16926
- export type IntegrationsListResults = {
16554
+ export type FaqsListError = FaqsListErrors[keyof FaqsListErrors];
16555
+ export type FaqsListResults = {
16927
16556
  /**
16928
16557
  * Successful Response
16929
16558
  */
16930
- 200: PageIntegrationResponse;
16559
+ 200: PageFaqSummary;
16931
16560
  };
16932
- export type IntegrationsListResult = IntegrationsListResults[keyof IntegrationsListResults];
16933
- export type IntegrationsCreateData = {
16934
- body: CreateIntegrationRequest;
16561
+ export type FaqsListResult = FaqsListResults[keyof FaqsListResults];
16562
+ export type FaqsCreateData = {
16563
+ body: FaqDefinition;
16935
16564
  path?: never;
16936
16565
  query?: never;
16937
- url: '/v1/integrations';
16566
+ url: '/v1/faqs';
16938
16567
  };
16939
- export type IntegrationsCreateErrors = {
16568
+ export type FaqsCreateErrors = {
16940
16569
  /**
16941
16570
  * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
16942
16571
  */
@@ -16962,63 +16591,26 @@ export type IntegrationsCreateErrors = {
16962
16591
  */
16963
16592
  default: ErrorResponse;
16964
16593
  };
16965
- export type IntegrationsCreateError = IntegrationsCreateErrors[keyof IntegrationsCreateErrors];
16966
- export type IntegrationsCreateResults = {
16967
- /**
16968
- * Successful Response
16969
- */
16970
- 201: IntegrationResponse;
16971
- };
16972
- export type IntegrationsCreateResult = IntegrationsCreateResults[keyof IntegrationsCreateResults];
16973
- export type IntegrationsCatalogData = {
16974
- body?: never;
16975
- path?: never;
16976
- query?: {
16977
- /**
16978
- * Limit
16979
- */
16980
- limit?: number;
16981
- /**
16982
- * Offset
16983
- */
16984
- offset?: number;
16985
- };
16986
- url: '/v1/integrations/catalog';
16987
- };
16988
- export type IntegrationsCatalogErrors = {
16989
- /**
16990
- * Missing credential, or one that is revoked or no longer a member of this organization.
16991
- */
16992
- 401: ErrorResponse;
16993
- /**
16994
- * The request did not match this operation's schema; `detail.errors` lists each field.
16995
- */
16996
- 422: ErrorResponse;
16997
- /**
16998
- * Unexpected error. Every error this API returns carries this body.
16999
- */
17000
- default: ErrorResponse;
17001
- };
17002
- export type IntegrationsCatalogError = IntegrationsCatalogErrors[keyof IntegrationsCatalogErrors];
17003
- export type IntegrationsCatalogResults = {
16594
+ export type FaqsCreateError = FaqsCreateErrors[keyof FaqsCreateErrors];
16595
+ export type FaqsCreateResults = {
17004
16596
  /**
17005
16597
  * Successful Response
17006
16598
  */
17007
- 200: PageIntegrationCatalogItem;
16599
+ 201: FaqDetail;
17008
16600
  };
17009
- export type IntegrationsCatalogResult = IntegrationsCatalogResults[keyof IntegrationsCatalogResults];
17010
- export type IntegrationsDeleteData = {
16601
+ export type FaqsCreateResult = FaqsCreateResults[keyof FaqsCreateResults];
16602
+ export type FaqsDeleteData = {
17011
16603
  body?: never;
17012
16604
  path: {
17013
16605
  /**
17014
- * Integration Id
16606
+ * Faq Id
17015
16607
  */
17016
- integration_id: string;
16608
+ faq_id: string;
17017
16609
  };
17018
16610
  query?: never;
17019
- url: '/v1/integrations/{integration_id}';
16611
+ url: '/v1/faqs/{faq_id}';
17020
16612
  };
17021
- export type IntegrationsDeleteErrors = {
16613
+ export type FaqsDeleteErrors = {
17022
16614
  /**
17023
16615
  * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
17024
16616
  */
@@ -17048,26 +16640,26 @@ export type IntegrationsDeleteErrors = {
17048
16640
  */
17049
16641
  default: ErrorResponse;
17050
16642
  };
17051
- export type IntegrationsDeleteError = IntegrationsDeleteErrors[keyof IntegrationsDeleteErrors];
17052
- export type IntegrationsDeleteResults = {
16643
+ export type FaqsDeleteError = FaqsDeleteErrors[keyof FaqsDeleteErrors];
16644
+ export type FaqsDeleteResults = {
17053
16645
  /**
17054
16646
  * Successful Response
17055
16647
  */
17056
16648
  200: OkResponse;
17057
16649
  };
17058
- export type IntegrationsDeleteResult = IntegrationsDeleteResults[keyof IntegrationsDeleteResults];
17059
- export type IntegrationsGetData = {
16650
+ export type FaqsDeleteResult = FaqsDeleteResults[keyof FaqsDeleteResults];
16651
+ export type FaqsGetData = {
17060
16652
  body?: never;
17061
16653
  path: {
17062
16654
  /**
17063
- * Integration Id
16655
+ * Faq Id
17064
16656
  */
17065
- integration_id: string;
16657
+ faq_id: string;
17066
16658
  };
17067
16659
  query?: never;
17068
- url: '/v1/integrations/{integration_id}';
16660
+ url: '/v1/faqs/{faq_id}';
17069
16661
  };
17070
- export type IntegrationsGetErrors = {
16662
+ export type FaqsGetErrors = {
17071
16663
  /**
17072
16664
  * Missing credential, or one that is revoked or no longer a member of this organization.
17073
16665
  */
@@ -17085,26 +16677,26 @@ export type IntegrationsGetErrors = {
17085
16677
  */
17086
16678
  default: ErrorResponse;
17087
16679
  };
17088
- export type IntegrationsGetError = IntegrationsGetErrors[keyof IntegrationsGetErrors];
17089
- export type IntegrationsGetResults = {
16680
+ export type FaqsGetError = FaqsGetErrors[keyof FaqsGetErrors];
16681
+ export type FaqsGetResults = {
17090
16682
  /**
17091
16683
  * Successful Response
17092
16684
  */
17093
- 200: IntegrationResponse;
16685
+ 200: FaqDetail;
17094
16686
  };
17095
- export type IntegrationsGetResult = IntegrationsGetResults[keyof IntegrationsGetResults];
17096
- export type IntegrationsUpdateData = {
17097
- body: PatchIntegrationRequest;
16687
+ export type FaqsGetResult = FaqsGetResults[keyof FaqsGetResults];
16688
+ export type FaqsUpdateData = {
16689
+ body: UpdateFaqRequest;
17098
16690
  path: {
17099
16691
  /**
17100
- * Integration Id
16692
+ * Faq Id
17101
16693
  */
17102
- integration_id: string;
16694
+ faq_id: string;
17103
16695
  };
17104
16696
  query?: never;
17105
- url: '/v1/integrations/{integration_id}';
16697
+ url: '/v1/faqs/{faq_id}';
17106
16698
  };
17107
- export type IntegrationsUpdateErrors = {
16699
+ export type FaqsUpdateErrors = {
17108
16700
  /**
17109
16701
  * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
17110
16702
  */
@@ -17134,109 +16726,26 @@ export type IntegrationsUpdateErrors = {
17134
16726
  */
17135
16727
  default: ErrorResponse;
17136
16728
  };
17137
- export type IntegrationsUpdateError = IntegrationsUpdateErrors[keyof IntegrationsUpdateErrors];
17138
- export type IntegrationsUpdateResults = {
17139
- /**
17140
- * Successful Response
17141
- */
17142
- 200: IntegrationResponse;
17143
- };
17144
- export type IntegrationsUpdateResult = IntegrationsUpdateResults[keyof IntegrationsUpdateResults];
17145
- export type IntegrationsMcpToolsListData = {
17146
- body?: never;
17147
- path: {
17148
- /**
17149
- * Integration Id
17150
- */
17151
- integration_id: string;
17152
- };
17153
- query?: never;
17154
- url: '/v1/integrations/{integration_id}/mcp-tools';
17155
- };
17156
- export type IntegrationsMcpToolsListErrors = {
17157
- /**
17158
- * Missing credential, or one that is revoked or no longer a member of this organization.
17159
- */
17160
- 401: ErrorResponse;
17161
- /**
17162
- * No such resource in this organization.
17163
- */
17164
- 404: ErrorResponse;
17165
- /**
17166
- * The request did not match this operation's schema; `detail.errors` lists each field.
17167
- */
17168
- 422: ErrorResponse;
17169
- /**
17170
- * Unexpected error. Every error this API returns carries this body.
17171
- */
17172
- default: ErrorResponse;
17173
- };
17174
- export type IntegrationsMcpToolsListError = IntegrationsMcpToolsListErrors[keyof IntegrationsMcpToolsListErrors];
17175
- export type IntegrationsMcpToolsListResults = {
17176
- /**
17177
- * Successful Response
17178
- */
17179
- 200: IntegrationMcpToolsResponse;
17180
- };
17181
- export type IntegrationsMcpToolsListResult = IntegrationsMcpToolsListResults[keyof IntegrationsMcpToolsListResults];
17182
- export type IntegrationsTriggersListData = {
17183
- body?: never;
17184
- path: {
17185
- /**
17186
- * Integration Id
17187
- */
17188
- integration_id: string;
17189
- };
17190
- query?: {
17191
- /**
17192
- * Limit
17193
- */
17194
- limit?: number;
17195
- /**
17196
- * Offset
17197
- */
17198
- offset?: number;
17199
- };
17200
- url: '/v1/integrations/{integration_id}/triggers';
17201
- };
17202
- export type IntegrationsTriggersListErrors = {
17203
- /**
17204
- * Missing credential, or one that is revoked or no longer a member of this organization.
17205
- */
17206
- 401: ErrorResponse;
17207
- /**
17208
- * No such resource in this organization.
17209
- */
17210
- 404: ErrorResponse;
17211
- /**
17212
- * The request did not match this operation's schema; `detail.errors` lists each field.
17213
- */
17214
- 422: ErrorResponse;
17215
- /**
17216
- * Unexpected error. Every error this API returns carries this body.
17217
- */
17218
- default: ErrorResponse;
17219
- };
17220
- export type IntegrationsTriggersListError = IntegrationsTriggersListErrors[keyof IntegrationsTriggersListErrors];
17221
- export type IntegrationsTriggersListResults = {
16729
+ export type FaqsUpdateError = FaqsUpdateErrors[keyof FaqsUpdateErrors];
16730
+ export type FaqsUpdateResults = {
17222
16731
  /**
17223
16732
  * Successful Response
17224
16733
  */
17225
- 200: PageIntegrationTriggerResponse;
16734
+ 200: FaqSummary;
17226
16735
  };
17227
- export type IntegrationsTriggersListResult = IntegrationsTriggersListResults[keyof IntegrationsTriggersListResults];
17228
- export type IntegrationsTriggersCreateData = {
17229
- body: CreateIntegrationTriggerRequest;
16736
+ export type FaqsUpdateResult = FaqsUpdateResults[keyof FaqsUpdateResults];
16737
+ export type FaqsEntriesCreateData = {
16738
+ body: CreateFaqEntriesRequest;
17230
16739
  path: {
17231
16740
  /**
17232
- * Integration Id
16741
+ * Faq Id
17233
16742
  */
17234
- integration_id: string;
16743
+ faq_id: string;
17235
16744
  };
17236
16745
  query?: never;
17237
- url: '/v1/integrations/{integration_id}/triggers';
16746
+ url: '/v1/faqs/{faq_id}/entries';
17238
16747
  };
17239
- export type IntegrationsTriggersCreateErrors = {
16748
+ export type FaqsEntriesCreateErrors = {
17240
16749
  /**
17241
16750
  * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
17242
16751
  */
@@ -17266,30 +16775,30 @@ export type IntegrationsTriggersCreateErrors = {
17266
16775
  */
17267
16776
  default: ErrorResponse;
17268
16777
  };
17269
- export type IntegrationsTriggersCreateError = IntegrationsTriggersCreateErrors[keyof IntegrationsTriggersCreateErrors];
17270
- export type IntegrationsTriggersCreateResults = {
16778
+ export type FaqsEntriesCreateError = FaqsEntriesCreateErrors[keyof FaqsEntriesCreateErrors];
16779
+ export type FaqsEntriesCreateResults = {
17271
16780
  /**
17272
16781
  * Successful Response
17273
16782
  */
17274
- 201: IntegrationTriggerResponse;
16783
+ 201: FaqEntriesResponse;
17275
16784
  };
17276
- export type IntegrationsTriggersCreateResult = IntegrationsTriggersCreateResults[keyof IntegrationsTriggersCreateResults];
17277
- export type IntegrationsTriggersDeleteData = {
16785
+ export type FaqsEntriesCreateResult = FaqsEntriesCreateResults[keyof FaqsEntriesCreateResults];
16786
+ export type FaqsEntriesDeleteData = {
17278
16787
  body?: never;
17279
16788
  path: {
17280
16789
  /**
17281
- * Integration Id
16790
+ * Faq Id
17282
16791
  */
17283
- integration_id: string;
16792
+ faq_id: string;
17284
16793
  /**
17285
- * Trigger Id
16794
+ * Entry Id
17286
16795
  */
17287
- trigger_id: string;
16796
+ entry_id: string;
17288
16797
  };
17289
16798
  query?: never;
17290
- url: '/v1/integrations/{integration_id}/triggers/{trigger_id}';
16799
+ url: '/v1/faqs/{faq_id}/entries/{entry_id}';
17291
16800
  };
17292
- export type IntegrationsTriggersDeleteErrors = {
16801
+ export type FaqsEntriesDeleteErrors = {
17293
16802
  /**
17294
16803
  * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
17295
16804
  */
@@ -17319,30 +16828,30 @@ export type IntegrationsTriggersDeleteErrors = {
17319
16828
  */
17320
16829
  default: ErrorResponse;
17321
16830
  };
17322
- export type IntegrationsTriggersDeleteError = IntegrationsTriggersDeleteErrors[keyof IntegrationsTriggersDeleteErrors];
17323
- export type IntegrationsTriggersDeleteResults = {
16831
+ export type FaqsEntriesDeleteError = FaqsEntriesDeleteErrors[keyof FaqsEntriesDeleteErrors];
16832
+ export type FaqsEntriesDeleteResults = {
17324
16833
  /**
17325
16834
  * Successful Response
17326
16835
  */
17327
16836
  200: OkResponse;
17328
16837
  };
17329
- export type IntegrationsTriggersDeleteResult = IntegrationsTriggersDeleteResults[keyof IntegrationsTriggersDeleteResults];
17330
- export type IntegrationsTriggersUpdateData = {
17331
- body: PatchIntegrationTriggerRequest;
16838
+ export type FaqsEntriesDeleteResult = FaqsEntriesDeleteResults[keyof FaqsEntriesDeleteResults];
16839
+ export type FaqsEntriesUpdateData = {
16840
+ body: UpdateFaqEntryRequest;
17332
16841
  path: {
17333
16842
  /**
17334
- * Integration Id
16843
+ * Faq Id
17335
16844
  */
17336
- integration_id: string;
16845
+ faq_id: string;
17337
16846
  /**
17338
- * Trigger Id
16847
+ * Entry Id
17339
16848
  */
17340
- trigger_id: string;
16849
+ entry_id: string;
17341
16850
  };
17342
16851
  query?: never;
17343
- url: '/v1/integrations/{integration_id}/triggers/{trigger_id}';
16852
+ url: '/v1/faqs/{faq_id}/entries/{entry_id}';
17344
16853
  };
17345
- export type IntegrationsTriggersUpdateErrors = {
16854
+ export type FaqsEntriesUpdateErrors = {
17346
16855
  /**
17347
16856
  * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
17348
16857
  */
@@ -17372,15 +16881,15 @@ export type IntegrationsTriggersUpdateErrors = {
17372
16881
  */
17373
16882
  default: ErrorResponse;
17374
16883
  };
17375
- export type IntegrationsTriggersUpdateError = IntegrationsTriggersUpdateErrors[keyof IntegrationsTriggersUpdateErrors];
17376
- export type IntegrationsTriggersUpdateResults = {
16884
+ export type FaqsEntriesUpdateError = FaqsEntriesUpdateErrors[keyof FaqsEntriesUpdateErrors];
16885
+ export type FaqsEntriesUpdateResults = {
17377
16886
  /**
17378
16887
  * Successful Response
17379
16888
  */
17380
- 200: IntegrationTriggerResponse;
16889
+ 200: FaqEntry;
17381
16890
  };
17382
- export type IntegrationsTriggersUpdateResult = IntegrationsTriggersUpdateResults[keyof IntegrationsTriggersUpdateResults];
17383
- export type KnowledgeListData = {
16891
+ export type FaqsEntriesUpdateResult = FaqsEntriesUpdateResults[keyof FaqsEntriesUpdateResults];
16892
+ export type IntegrationsListData = {
17384
16893
  body?: never;
17385
16894
  path?: never;
17386
16895
  query?: {
@@ -17393,53 +16902,13 @@ export type KnowledgeListData = {
17393
16902
  */
17394
16903
  offset?: number;
17395
16904
  };
17396
- url: '/v1/knowledge';
17397
- };
17398
- export type KnowledgeListErrors = {
17399
- /**
17400
- * Missing credential, or one that is revoked or no longer a member of this organization.
17401
- */
17402
- 401: ErrorResponse;
17403
- /**
17404
- * The request did not match this operation's schema; `detail.errors` lists each field.
17405
- */
17406
- 422: ErrorResponse;
17407
- /**
17408
- * Unexpected error. Every error this API returns carries this body.
17409
- */
17410
- default: ErrorResponse;
17411
- };
17412
- export type KnowledgeListError = KnowledgeListErrors[keyof KnowledgeListErrors];
17413
- export type KnowledgeListResults = {
17414
- /**
17415
- * Successful Response
17416
- */
17417
- 200: PageKBSummary;
17418
- };
17419
- export type KnowledgeListResult = KnowledgeListResults[keyof KnowledgeListResults];
17420
- export type KnowledgeCreateData = {
17421
- body: CreateKBRequest;
17422
- path?: never;
17423
- query?: never;
17424
- url: '/v1/knowledge';
16905
+ url: '/v1/integrations';
17425
16906
  };
17426
- export type KnowledgeCreateErrors = {
17427
- /**
17428
- * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
17429
- */
17430
- 400: ErrorResponse;
16907
+ export type IntegrationsListErrors = {
17431
16908
  /**
17432
16909
  * Missing credential, or one that is revoked or no longer a member of this organization.
17433
16910
  */
17434
16911
  401: ErrorResponse;
17435
- /**
17436
- * Authenticated, but this organization role may not perform the operation.
17437
- */
17438
- 403: ErrorResponse;
17439
- /**
17440
- * The resource's current state forbids this — a name already taken, a job already running.
17441
- */
17442
- 409: ErrorResponse;
17443
16912
  /**
17444
16913
  * The request did not match this operation's schema; `detail.errors` lists each field.
17445
16914
  */
@@ -17449,26 +16918,21 @@ export type KnowledgeCreateErrors = {
17449
16918
  */
17450
16919
  default: ErrorResponse;
17451
16920
  };
17452
- export type KnowledgeCreateError = KnowledgeCreateErrors[keyof KnowledgeCreateErrors];
17453
- export type KnowledgeCreateResults = {
16921
+ export type IntegrationsListError = IntegrationsListErrors[keyof IntegrationsListErrors];
16922
+ export type IntegrationsListResults = {
17454
16923
  /**
17455
16924
  * Successful Response
17456
16925
  */
17457
- 201: KBSummary;
16926
+ 200: PageIntegrationResponse;
17458
16927
  };
17459
- export type KnowledgeCreateResult = KnowledgeCreateResults[keyof KnowledgeCreateResults];
17460
- export type KnowledgeDeleteData = {
17461
- body?: never;
17462
- path: {
17463
- /**
17464
- * Kb Id
17465
- */
17466
- kb_id: string;
17467
- };
16928
+ export type IntegrationsListResult = IntegrationsListResults[keyof IntegrationsListResults];
16929
+ export type IntegrationsCreateData = {
16930
+ body: CreateIntegrationRequest;
16931
+ path?: never;
17468
16932
  query?: never;
17469
- url: '/v1/knowledge/{kb_id}';
16933
+ url: '/v1/integrations';
17470
16934
  };
17471
- export type KnowledgeDeleteErrors = {
16935
+ export type IntegrationsCreateErrors = {
17472
16936
  /**
17473
16937
  * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
17474
16938
  */
@@ -17481,10 +16945,6 @@ export type KnowledgeDeleteErrors = {
17481
16945
  * Authenticated, but this organization role may not perform the operation.
17482
16946
  */
17483
16947
  403: ErrorResponse;
17484
- /**
17485
- * No such resource in this organization.
17486
- */
17487
- 404: ErrorResponse;
17488
16948
  /**
17489
16949
  * The resource's current state forbids this — a name already taken, a job already running.
17490
16950
  */
@@ -17498,34 +16958,34 @@ export type KnowledgeDeleteErrors = {
17498
16958
  */
17499
16959
  default: ErrorResponse;
17500
16960
  };
17501
- export type KnowledgeDeleteError = KnowledgeDeleteErrors[keyof KnowledgeDeleteErrors];
17502
- export type KnowledgeDeleteResults = {
16961
+ export type IntegrationsCreateError = IntegrationsCreateErrors[keyof IntegrationsCreateErrors];
16962
+ export type IntegrationsCreateResults = {
17503
16963
  /**
17504
16964
  * Successful Response
17505
16965
  */
17506
- 200: OkResponse;
16966
+ 201: IntegrationResponse;
17507
16967
  };
17508
- export type KnowledgeDeleteResult = KnowledgeDeleteResults[keyof KnowledgeDeleteResults];
17509
- export type KnowledgeGetData = {
16968
+ export type IntegrationsCreateResult = IntegrationsCreateResults[keyof IntegrationsCreateResults];
16969
+ export type IntegrationsCatalogData = {
17510
16970
  body?: never;
17511
- path: {
16971
+ path?: never;
16972
+ query?: {
16973
+ /**
16974
+ * Limit
16975
+ */
16976
+ limit?: number;
17512
16977
  /**
17513
- * Kb Id
16978
+ * Offset
17514
16979
  */
17515
- kb_id: string;
16980
+ offset?: number;
17516
16981
  };
17517
- query?: never;
17518
- url: '/v1/knowledge/{kb_id}';
16982
+ url: '/v1/integrations/catalog';
17519
16983
  };
17520
- export type KnowledgeGetErrors = {
16984
+ export type IntegrationsCatalogErrors = {
17521
16985
  /**
17522
16986
  * Missing credential, or one that is revoked or no longer a member of this organization.
17523
16987
  */
17524
16988
  401: ErrorResponse;
17525
- /**
17526
- * No such resource in this organization.
17527
- */
17528
- 404: ErrorResponse;
17529
16989
  /**
17530
16990
  * The request did not match this operation's schema; `detail.errors` lists each field.
17531
16991
  */
@@ -17535,26 +16995,26 @@ export type KnowledgeGetErrors = {
17535
16995
  */
17536
16996
  default: ErrorResponse;
17537
16997
  };
17538
- export type KnowledgeGetError = KnowledgeGetErrors[keyof KnowledgeGetErrors];
17539
- export type KnowledgeGetResults = {
16998
+ export type IntegrationsCatalogError = IntegrationsCatalogErrors[keyof IntegrationsCatalogErrors];
16999
+ export type IntegrationsCatalogResults = {
17540
17000
  /**
17541
17001
  * Successful Response
17542
17002
  */
17543
- 200: KBDetail;
17003
+ 200: PageIntegrationCatalogItem;
17544
17004
  };
17545
- export type KnowledgeGetResult = KnowledgeGetResults[keyof KnowledgeGetResults];
17546
- export type KnowledgeBuildData = {
17547
- body: BuildKBRequest;
17005
+ export type IntegrationsCatalogResult = IntegrationsCatalogResults[keyof IntegrationsCatalogResults];
17006
+ export type IntegrationsDeleteData = {
17007
+ body?: never;
17548
17008
  path: {
17549
17009
  /**
17550
- * Kb Id
17010
+ * Integration Id
17551
17011
  */
17552
- kb_id: string;
17012
+ integration_id: string;
17553
17013
  };
17554
17014
  query?: never;
17555
- url: '/v1/knowledge/{kb_id}/build';
17015
+ url: '/v1/integrations/{integration_id}';
17556
17016
  };
17557
- export type KnowledgeBuildErrors = {
17017
+ export type IntegrationsDeleteErrors = {
17558
17018
  /**
17559
17019
  * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
17560
17020
  */
@@ -17584,26 +17044,26 @@ export type KnowledgeBuildErrors = {
17584
17044
  */
17585
17045
  default: ErrorResponse;
17586
17046
  };
17587
- export type KnowledgeBuildError = KnowledgeBuildErrors[keyof KnowledgeBuildErrors];
17588
- export type KnowledgeBuildResults = {
17047
+ export type IntegrationsDeleteError = IntegrationsDeleteErrors[keyof IntegrationsDeleteErrors];
17048
+ export type IntegrationsDeleteResults = {
17589
17049
  /**
17590
17050
  * Successful Response
17591
17051
  */
17592
- 200: BuildResultResponse;
17052
+ 200: OkResponse;
17593
17053
  };
17594
- export type KnowledgeBuildResult = KnowledgeBuildResults[keyof KnowledgeBuildResults];
17595
- export type KnowledgeEventsData = {
17054
+ export type IntegrationsDeleteResult = IntegrationsDeleteResults[keyof IntegrationsDeleteResults];
17055
+ export type IntegrationsGetData = {
17596
17056
  body?: never;
17597
17057
  path: {
17598
17058
  /**
17599
- * Kb Id
17059
+ * Integration Id
17600
17060
  */
17601
- kb_id: string;
17061
+ integration_id: string;
17602
17062
  };
17603
17063
  query?: never;
17604
- url: '/v1/knowledge/{kb_id}/events';
17064
+ url: '/v1/integrations/{integration_id}';
17605
17065
  };
17606
- export type KnowledgeEventsErrors = {
17066
+ export type IntegrationsGetErrors = {
17607
17067
  /**
17608
17068
  * Missing credential, or one that is revoked or no longer a member of this organization.
17609
17069
  */
@@ -17621,38 +17081,26 @@ export type KnowledgeEventsErrors = {
17621
17081
  */
17622
17082
  default: ErrorResponse;
17623
17083
  };
17624
- export type KnowledgeEventsError = KnowledgeEventsErrors[keyof KnowledgeEventsErrors];
17625
- export type KnowledgeEventsResults = {
17084
+ export type IntegrationsGetError = IntegrationsGetErrors[keyof IntegrationsGetErrors];
17085
+ export type IntegrationsGetResults = {
17626
17086
  /**
17627
- * Response 200 Knowledge.Events
17628
- *
17629
- * 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.
17087
+ * Successful Response
17630
17088
  */
17631
- 200: ({
17632
- event: 'snapshot';
17633
- } & KbSnapshotEvent) | ({
17634
- event: 'progress';
17635
- } & KbProgressEvent) | ({
17636
- event: 'status';
17637
- } & KbStatusEvent);
17638
- };
17639
- export type KnowledgeEventsResult = KnowledgeEventsResults[keyof KnowledgeEventsResults];
17640
- export type KnowledgeNodesDeleteData = {
17641
- body?: never;
17089
+ 200: IntegrationResponse;
17090
+ };
17091
+ export type IntegrationsGetResult = IntegrationsGetResults[keyof IntegrationsGetResults];
17092
+ export type IntegrationsUpdateData = {
17093
+ body: PatchIntegrationRequest;
17642
17094
  path: {
17643
17095
  /**
17644
- * Kb Id
17645
- */
17646
- kb_id: string;
17647
- /**
17648
- * Node Id
17096
+ * Integration Id
17649
17097
  */
17650
- node_id: string;
17098
+ integration_id: string;
17651
17099
  };
17652
17100
  query?: never;
17653
- url: '/v1/knowledge/{kb_id}/nodes/{node_id}';
17101
+ url: '/v1/integrations/{integration_id}';
17654
17102
  };
17655
- export type KnowledgeNodesDeleteErrors = {
17103
+ export type IntegrationsUpdateErrors = {
17656
17104
  /**
17657
17105
  * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
17658
17106
  */
@@ -17682,30 +17130,26 @@ export type KnowledgeNodesDeleteErrors = {
17682
17130
  */
17683
17131
  default: ErrorResponse;
17684
17132
  };
17685
- export type KnowledgeNodesDeleteError = KnowledgeNodesDeleteErrors[keyof KnowledgeNodesDeleteErrors];
17686
- export type KnowledgeNodesDeleteResults = {
17133
+ export type IntegrationsUpdateError = IntegrationsUpdateErrors[keyof IntegrationsUpdateErrors];
17134
+ export type IntegrationsUpdateResults = {
17687
17135
  /**
17688
17136
  * Successful Response
17689
17137
  */
17690
- 200: OkResponse;
17138
+ 200: IntegrationResponse;
17691
17139
  };
17692
- export type KnowledgeNodesDeleteResult = KnowledgeNodesDeleteResults[keyof KnowledgeNodesDeleteResults];
17693
- export type KnowledgeNodesGetData = {
17140
+ export type IntegrationsUpdateResult = IntegrationsUpdateResults[keyof IntegrationsUpdateResults];
17141
+ export type IntegrationsMcpToolsListData = {
17694
17142
  body?: never;
17695
17143
  path: {
17696
17144
  /**
17697
- * Kb Id
17698
- */
17699
- kb_id: string;
17700
- /**
17701
- * Node Id
17145
+ * Integration Id
17702
17146
  */
17703
- node_id: string;
17147
+ integration_id: string;
17704
17148
  };
17705
17149
  query?: never;
17706
- url: '/v1/knowledge/{kb_id}/nodes/{node_id}';
17150
+ url: '/v1/integrations/{integration_id}/mcp-tools';
17707
17151
  };
17708
- export type KnowledgeNodesGetErrors = {
17152
+ export type IntegrationsMcpToolsListErrors = {
17709
17153
  /**
17710
17154
  * Missing credential, or one that is revoked or no longer a member of this organization.
17711
17155
  */
@@ -17723,50 +17167,43 @@ export type KnowledgeNodesGetErrors = {
17723
17167
  */
17724
17168
  default: ErrorResponse;
17725
17169
  };
17726
- export type KnowledgeNodesGetError = KnowledgeNodesGetErrors[keyof KnowledgeNodesGetErrors];
17727
- export type KnowledgeNodesGetResults = {
17170
+ export type IntegrationsMcpToolsListError = IntegrationsMcpToolsListErrors[keyof IntegrationsMcpToolsListErrors];
17171
+ export type IntegrationsMcpToolsListResults = {
17728
17172
  /**
17729
17173
  * Successful Response
17730
17174
  */
17731
- 200: NodeContentResponse;
17175
+ 200: IntegrationMcpToolsResponse;
17732
17176
  };
17733
- export type KnowledgeNodesGetResult = KnowledgeNodesGetResults[keyof KnowledgeNodesGetResults];
17734
- export type KnowledgeNodesUpdateData = {
17735
- body: PatchNodeRequest;
17177
+ export type IntegrationsMcpToolsListResult = IntegrationsMcpToolsListResults[keyof IntegrationsMcpToolsListResults];
17178
+ export type IntegrationsTriggersListData = {
17179
+ body?: never;
17736
17180
  path: {
17737
17181
  /**
17738
- * Kb Id
17182
+ * Integration Id
17183
+ */
17184
+ integration_id: string;
17185
+ };
17186
+ query?: {
17187
+ /**
17188
+ * Limit
17739
17189
  */
17740
- kb_id: string;
17190
+ limit?: number;
17741
17191
  /**
17742
- * Node Id
17192
+ * Offset
17743
17193
  */
17744
- node_id: string;
17194
+ offset?: number;
17745
17195
  };
17746
- query?: never;
17747
- url: '/v1/knowledge/{kb_id}/nodes/{node_id}';
17196
+ url: '/v1/integrations/{integration_id}/triggers';
17748
17197
  };
17749
- export type KnowledgeNodesUpdateErrors = {
17750
- /**
17751
- * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
17752
- */
17753
- 400: ErrorResponse;
17198
+ export type IntegrationsTriggersListErrors = {
17754
17199
  /**
17755
17200
  * Missing credential, or one that is revoked or no longer a member of this organization.
17756
17201
  */
17757
17202
  401: ErrorResponse;
17758
- /**
17759
- * Authenticated, but this organization role may not perform the operation.
17760
- */
17761
- 403: ErrorResponse;
17762
17203
  /**
17763
17204
  * No such resource in this organization.
17764
17205
  */
17765
17206
  404: ErrorResponse;
17766
- /**
17767
- * The resource's current state forbids this — a name already taken, a job already running.
17768
- */
17769
- 409: ErrorResponse;
17770
17207
  /**
17771
17208
  * The request did not match this operation's schema; `detail.errors` lists each field.
17772
17209
  */
@@ -17776,43 +17213,46 @@ export type KnowledgeNodesUpdateErrors = {
17776
17213
  */
17777
17214
  default: ErrorResponse;
17778
17215
  };
17779
- export type KnowledgeNodesUpdateError = KnowledgeNodesUpdateErrors[keyof KnowledgeNodesUpdateErrors];
17780
- export type KnowledgeNodesUpdateResults = {
17216
+ export type IntegrationsTriggersListError = IntegrationsTriggersListErrors[keyof IntegrationsTriggersListErrors];
17217
+ export type IntegrationsTriggersListResults = {
17781
17218
  /**
17782
17219
  * Successful Response
17783
17220
  */
17784
- 200: OkResponse;
17221
+ 200: PageIntegrationTriggerResponse;
17785
17222
  };
17786
- export type KnowledgeNodesUpdateResult = KnowledgeNodesUpdateResults[keyof KnowledgeNodesUpdateResults];
17787
- export type KnowledgePagesListData = {
17788
- body?: never;
17223
+ export type IntegrationsTriggersListResult = IntegrationsTriggersListResults[keyof IntegrationsTriggersListResults];
17224
+ export type IntegrationsTriggersCreateData = {
17225
+ body: CreateIntegrationTriggerRequest;
17789
17226
  path: {
17790
17227
  /**
17791
- * Kb Id
17792
- */
17793
- kb_id: string;
17794
- };
17795
- query?: {
17796
- /**
17797
- * Limit
17798
- */
17799
- limit?: number;
17800
- /**
17801
- * Offset
17228
+ * Integration Id
17802
17229
  */
17803
- offset?: number;
17230
+ integration_id: string;
17804
17231
  };
17805
- url: '/v1/knowledge/{kb_id}/pages';
17232
+ query?: never;
17233
+ url: '/v1/integrations/{integration_id}/triggers';
17806
17234
  };
17807
- export type KnowledgePagesListErrors = {
17235
+ export type IntegrationsTriggersCreateErrors = {
17236
+ /**
17237
+ * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
17238
+ */
17239
+ 400: ErrorResponse;
17808
17240
  /**
17809
17241
  * Missing credential, or one that is revoked or no longer a member of this organization.
17810
17242
  */
17811
17243
  401: ErrorResponse;
17244
+ /**
17245
+ * Authenticated, but this organization role may not perform the operation.
17246
+ */
17247
+ 403: ErrorResponse;
17812
17248
  /**
17813
17249
  * No such resource in this organization.
17814
17250
  */
17815
17251
  404: ErrorResponse;
17252
+ /**
17253
+ * The resource's current state forbids this — a name already taken, a job already running.
17254
+ */
17255
+ 409: ErrorResponse;
17816
17256
  /**
17817
17257
  * The request did not match this operation's schema; `detail.errors` lists each field.
17818
17258
  */
@@ -17822,34 +17262,50 @@ export type KnowledgePagesListErrors = {
17822
17262
  */
17823
17263
  default: ErrorResponse;
17824
17264
  };
17825
- export type KnowledgePagesListError = KnowledgePagesListErrors[keyof KnowledgePagesListErrors];
17826
- export type KnowledgePagesListResults = {
17265
+ export type IntegrationsTriggersCreateError = IntegrationsTriggersCreateErrors[keyof IntegrationsTriggersCreateErrors];
17266
+ export type IntegrationsTriggersCreateResults = {
17827
17267
  /**
17828
17268
  * Successful Response
17829
17269
  */
17830
- 200: PageKBPageResponse;
17270
+ 201: IntegrationTriggerResponse;
17831
17271
  };
17832
- export type KnowledgePagesListResult = KnowledgePagesListResults[keyof KnowledgePagesListResults];
17833
- export type KnowledgePromptData = {
17272
+ export type IntegrationsTriggersCreateResult = IntegrationsTriggersCreateResults[keyof IntegrationsTriggersCreateResults];
17273
+ export type IntegrationsTriggersDeleteData = {
17834
17274
  body?: never;
17835
17275
  path: {
17836
17276
  /**
17837
- * Kb Id
17277
+ * Integration Id
17278
+ */
17279
+ integration_id: string;
17280
+ /**
17281
+ * Trigger Id
17838
17282
  */
17839
- kb_id: string;
17283
+ trigger_id: string;
17840
17284
  };
17841
17285
  query?: never;
17842
- url: '/v1/knowledge/{kb_id}/prompt';
17286
+ url: '/v1/integrations/{integration_id}/triggers/{trigger_id}';
17843
17287
  };
17844
- export type KnowledgePromptErrors = {
17288
+ export type IntegrationsTriggersDeleteErrors = {
17289
+ /**
17290
+ * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
17291
+ */
17292
+ 400: ErrorResponse;
17845
17293
  /**
17846
17294
  * Missing credential, or one that is revoked or no longer a member of this organization.
17847
17295
  */
17848
17296
  401: ErrorResponse;
17297
+ /**
17298
+ * Authenticated, but this organization role may not perform the operation.
17299
+ */
17300
+ 403: ErrorResponse;
17849
17301
  /**
17850
17302
  * No such resource in this organization.
17851
17303
  */
17852
17304
  404: ErrorResponse;
17305
+ /**
17306
+ * The resource's current state forbids this — a name already taken, a job already running.
17307
+ */
17308
+ 409: ErrorResponse;
17853
17309
  /**
17854
17310
  * The request did not match this operation's schema; `detail.errors` lists each field.
17855
17311
  */
@@ -17859,26 +17315,30 @@ export type KnowledgePromptErrors = {
17859
17315
  */
17860
17316
  default: ErrorResponse;
17861
17317
  };
17862
- export type KnowledgePromptError = KnowledgePromptErrors[keyof KnowledgePromptErrors];
17863
- export type KnowledgePromptResults = {
17318
+ export type IntegrationsTriggersDeleteError = IntegrationsTriggersDeleteErrors[keyof IntegrationsTriggersDeleteErrors];
17319
+ export type IntegrationsTriggersDeleteResults = {
17864
17320
  /**
17865
17321
  * Successful Response
17866
17322
  */
17867
- 200: PromptResponse;
17323
+ 200: OkResponse;
17868
17324
  };
17869
- export type KnowledgePromptResult = KnowledgePromptResults[keyof KnowledgePromptResults];
17870
- export type KnowledgeRegenerateTocData = {
17871
- body?: never;
17325
+ export type IntegrationsTriggersDeleteResult = IntegrationsTriggersDeleteResults[keyof IntegrationsTriggersDeleteResults];
17326
+ export type IntegrationsTriggersUpdateData = {
17327
+ body: PatchIntegrationTriggerRequest;
17872
17328
  path: {
17873
17329
  /**
17874
- * Kb Id
17330
+ * Integration Id
17331
+ */
17332
+ integration_id: string;
17333
+ /**
17334
+ * Trigger Id
17875
17335
  */
17876
- kb_id: string;
17336
+ trigger_id: string;
17877
17337
  };
17878
17338
  query?: never;
17879
- url: '/v1/knowledge/{kb_id}/toc';
17339
+ url: '/v1/integrations/{integration_id}/triggers/{trigger_id}';
17880
17340
  };
17881
- export type KnowledgeRegenerateTocErrors = {
17341
+ export type IntegrationsTriggersUpdateErrors = {
17882
17342
  /**
17883
17343
  * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
17884
17344
  */
@@ -17908,14 +17368,14 @@ export type KnowledgeRegenerateTocErrors = {
17908
17368
  */
17909
17369
  default: ErrorResponse;
17910
17370
  };
17911
- export type KnowledgeRegenerateTocError = KnowledgeRegenerateTocErrors[keyof KnowledgeRegenerateTocErrors];
17912
- export type KnowledgeRegenerateTocResults = {
17371
+ export type IntegrationsTriggersUpdateError = IntegrationsTriggersUpdateErrors[keyof IntegrationsTriggersUpdateErrors];
17372
+ export type IntegrationsTriggersUpdateResults = {
17913
17373
  /**
17914
17374
  * Successful Response
17915
17375
  */
17916
- 200: TocResultResponse;
17376
+ 200: IntegrationTriggerResponse;
17917
17377
  };
17918
- export type KnowledgeRegenerateTocResult = KnowledgeRegenerateTocResults[keyof KnowledgeRegenerateTocResults];
17378
+ export type IntegrationsTriggersUpdateResult = IntegrationsTriggersUpdateResults[keyof IntegrationsTriggersUpdateResults];
17919
17379
  export type ObservabilityGetData = {
17920
17380
  body?: never;
17921
17381
  path?: never;
@@ -20776,57 +20236,8 @@ export type WhatsappBatchesRecipientsAddResults = {
20776
20236
  200: AddWhatsAppRecipientsResponse;
20777
20237
  };
20778
20238
  export type WhatsappBatchesRecipientsAddResult = WhatsappBatchesRecipientsAddResults[keyof WhatsappBatchesRecipientsAddResults];
20779
- export type WhatsappBatchesRecipientsRestoreData = {
20780
- body: SelectRecipientsRequest;
20781
- path: {
20782
- /**
20783
- * Batch Id
20784
- */
20785
- batch_id: string;
20786
- };
20787
- query?: never;
20788
- url: '/v1/whatsapp/batches/{batch_id}/recipients/restore';
20789
- };
20790
- export type WhatsappBatchesRecipientsRestoreErrors = {
20791
- /**
20792
- * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
20793
- */
20794
- 400: ErrorResponse;
20795
- /**
20796
- * Missing credential, or one that is revoked or no longer a member of this organization.
20797
- */
20798
- 401: ErrorResponse;
20799
- /**
20800
- * Authenticated, but this organization role may not perform the operation.
20801
- */
20802
- 403: ErrorResponse;
20803
- /**
20804
- * No such resource in this organization.
20805
- */
20806
- 404: ErrorResponse;
20807
- /**
20808
- * The resource's current state forbids this — a name already taken, a job already running.
20809
- */
20810
- 409: ErrorResponse;
20811
- /**
20812
- * The request did not match this operation's schema; `detail.errors` lists each field.
20813
- */
20814
- 422: ErrorResponse;
20815
- /**
20816
- * Unexpected error. Every error this API returns carries this body.
20817
- */
20818
- default: ErrorResponse;
20819
- };
20820
- export type WhatsappBatchesRecipientsRestoreError = WhatsappBatchesRecipientsRestoreErrors[keyof WhatsappBatchesRecipientsRestoreErrors];
20821
- export type WhatsappBatchesRecipientsRestoreResults = {
20822
- /**
20823
- * Successful Response
20824
- */
20825
- 200: RecipientActionResponse;
20826
- };
20827
- export type WhatsappBatchesRecipientsRestoreResult = WhatsappBatchesRecipientsRestoreResults[keyof WhatsappBatchesRecipientsRestoreResults];
20828
- export type WhatsappBatchesRecipientsSkipData = {
20829
- body: SelectRecipientsRequest;
20239
+ export type WhatsappBatchesRecipientsDeleteData = {
20240
+ body: DeleteRecipientsRequest;
20830
20241
  path: {
20831
20242
  /**
20832
20243
  * Batch Id
@@ -20834,9 +20245,9 @@ export type WhatsappBatchesRecipientsSkipData = {
20834
20245
  batch_id: string;
20835
20246
  };
20836
20247
  query?: never;
20837
- url: '/v1/whatsapp/batches/{batch_id}/recipients/skip';
20248
+ url: '/v1/whatsapp/batches/{batch_id}/recipients/delete';
20838
20249
  };
20839
- export type WhatsappBatchesRecipientsSkipErrors = {
20250
+ export type WhatsappBatchesRecipientsDeleteErrors = {
20840
20251
  /**
20841
20252
  * Well-formed, but rejected by a rule; `detail.errors` lists each problem.
20842
20253
  */
@@ -20866,14 +20277,14 @@ export type WhatsappBatchesRecipientsSkipErrors = {
20866
20277
  */
20867
20278
  default: ErrorResponse;
20868
20279
  };
20869
- export type WhatsappBatchesRecipientsSkipError = WhatsappBatchesRecipientsSkipErrors[keyof WhatsappBatchesRecipientsSkipErrors];
20870
- export type WhatsappBatchesRecipientsSkipResults = {
20280
+ export type WhatsappBatchesRecipientsDeleteError = WhatsappBatchesRecipientsDeleteErrors[keyof WhatsappBatchesRecipientsDeleteErrors];
20281
+ export type WhatsappBatchesRecipientsDeleteResults = {
20871
20282
  /**
20872
20283
  * Successful Response
20873
20284
  */
20874
20285
  200: RecipientActionResponse;
20875
20286
  };
20876
- export type WhatsappBatchesRecipientsSkipResult = WhatsappBatchesRecipientsSkipResults[keyof WhatsappBatchesRecipientsSkipResults];
20287
+ export type WhatsappBatchesRecipientsDeleteResult = WhatsappBatchesRecipientsDeleteResults[keyof WhatsappBatchesRecipientsDeleteResults];
20877
20288
  export type WhatsappBatchesRecipientsUpdateData = {
20878
20289
  body: PatchWhatsAppRecipientRequest;
20879
20290
  path: {