@talqing/sdk 0.8.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.
- package/README.md +2 -3
- package/dist/cjs/gen/index.d.ts +1 -1
- package/dist/cjs/gen/index.d.ts.map +1 -1
- package/dist/cjs/gen/sdk.gen.d.ts +81 -195
- package/dist/cjs/gen/sdk.gen.d.ts.map +1 -1
- package/dist/cjs/gen/sdk.gen.js +179 -364
- package/dist/cjs/gen/sdk.gen.js.map +1 -1
- package/dist/cjs/gen/types.gen.d.ts +538 -1065
- package/dist/cjs/gen/types.gen.d.ts.map +1 -1
- package/dist/esm/gen/index.d.ts +1 -1
- package/dist/esm/gen/index.d.ts.map +1 -1
- package/dist/esm/gen/sdk.gen.d.ts +81 -195
- package/dist/esm/gen/sdk.gen.d.ts.map +1 -1
- package/dist/esm/gen/sdk.gen.js +172 -355
- package/dist/esm/gen/sdk.gen.js.map +1 -1
- package/dist/esm/gen/types.gen.d.ts +538 -1065
- package/dist/esm/gen/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/gen/index.ts +1 -1
- package/src/gen/sdk.gen.ts +223 -431
- package/src/gen/types.gen.ts +571 -1133
package/src/gen/types.gen.ts
CHANGED
|
@@ -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
|
*
|
|
@@ -3208,6 +3184,16 @@ export type CreateEmailSendResponse = {
|
|
|
3208
3184
|
send: EmailSendResponse;
|
|
3209
3185
|
};
|
|
3210
3186
|
|
|
3187
|
+
/**
|
|
3188
|
+
* CreateFaqEntriesRequest
|
|
3189
|
+
*/
|
|
3190
|
+
export type CreateFaqEntriesRequest = {
|
|
3191
|
+
/**
|
|
3192
|
+
* Entries
|
|
3193
|
+
*/
|
|
3194
|
+
entries: Array<FaqEntryInput>;
|
|
3195
|
+
};
|
|
3196
|
+
|
|
3211
3197
|
/**
|
|
3212
3198
|
* CreateIntegrationRequest
|
|
3213
3199
|
*/
|
|
@@ -3290,28 +3276,6 @@ export type CreateIntegrationTriggerRequest = {
|
|
|
3290
3276
|
trigger_type: 'telegram.message.inbound' | 'whatsapp.message.inbound' | 'whatsapp.call.inbound';
|
|
3291
3277
|
};
|
|
3292
3278
|
|
|
3293
|
-
/**
|
|
3294
|
-
* CreateKBRequest
|
|
3295
|
-
*/
|
|
3296
|
-
export type CreateKBRequest = {
|
|
3297
|
-
/**
|
|
3298
|
-
* Max Pages
|
|
3299
|
-
*/
|
|
3300
|
-
max_pages?: number;
|
|
3301
|
-
/**
|
|
3302
|
-
* Name
|
|
3303
|
-
*/
|
|
3304
|
-
name: string;
|
|
3305
|
-
/**
|
|
3306
|
-
* Notes
|
|
3307
|
-
*/
|
|
3308
|
-
notes?: string;
|
|
3309
|
-
/**
|
|
3310
|
-
* Urls
|
|
3311
|
-
*/
|
|
3312
|
-
urls?: Array<string>;
|
|
3313
|
-
};
|
|
3314
|
-
|
|
3315
3279
|
/**
|
|
3316
3280
|
* CreateSecretRequest
|
|
3317
3281
|
*/
|
|
@@ -4358,6 +4322,149 @@ export type ExpressiveDialect = {
|
|
|
4358
4322
|
prompt: string;
|
|
4359
4323
|
};
|
|
4360
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
|
+
|
|
4361
4468
|
/**
|
|
4362
4469
|
* FieldMap
|
|
4363
4470
|
*
|
|
@@ -4964,6 +5071,25 @@ export type InboundImage = {
|
|
|
4964
5071
|
filename?: string | null;
|
|
4965
5072
|
};
|
|
4966
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
|
+
|
|
4967
5093
|
/**
|
|
4968
5094
|
* InlineMcpServer
|
|
4969
5095
|
*
|
|
@@ -5577,421 +5703,112 @@ export type ItemDeliveryUpdatedEvent = {
|
|
|
5577
5703
|
};
|
|
5578
5704
|
|
|
5579
5705
|
/**
|
|
5580
|
-
*
|
|
5706
|
+
* KeypadInputSpec
|
|
5707
|
+
*
|
|
5708
|
+
* Digits the caller types, delivered as a turn the agent can answer.
|
|
5581
5709
|
*
|
|
5582
|
-
*
|
|
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.
|
|
5583
5713
|
*/
|
|
5584
|
-
export type
|
|
5714
|
+
export type KeypadInputSpec = {
|
|
5585
5715
|
/**
|
|
5586
|
-
*
|
|
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.
|
|
5587
5719
|
*/
|
|
5588
|
-
|
|
5720
|
+
enabled?: boolean;
|
|
5589
5721
|
/**
|
|
5590
|
-
*
|
|
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.
|
|
5591
5725
|
*/
|
|
5592
|
-
|
|
5726
|
+
terminator?: '#' | '*' | '';
|
|
5593
5727
|
/**
|
|
5594
|
-
*
|
|
5728
|
+
* Timeout
|
|
5729
|
+
*
|
|
5730
|
+
* Seconds of quiet before an entry is taken as finished. 0 waits for the terminator however long it takes.
|
|
5595
5731
|
*/
|
|
5596
|
-
|
|
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 = {
|
|
5597
5741
|
/**
|
|
5598
|
-
*
|
|
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.
|
|
5599
5745
|
*/
|
|
5600
|
-
|
|
5746
|
+
enabled?: boolean | null;
|
|
5601
5747
|
/**
|
|
5602
|
-
*
|
|
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.
|
|
5603
5751
|
*/
|
|
5604
|
-
|
|
5752
|
+
terminator?: '#' | '*' | '' | null;
|
|
5605
5753
|
/**
|
|
5606
|
-
*
|
|
5754
|
+
* Timeout
|
|
5755
|
+
*
|
|
5756
|
+
* Seconds of quiet before an entry is taken as finished. 0 waits for the terminator however long it takes.
|
|
5607
5757
|
*/
|
|
5608
|
-
|
|
5758
|
+
timeout?: number | null;
|
|
5759
|
+
};
|
|
5760
|
+
|
|
5761
|
+
/**
|
|
5762
|
+
* LLMCatalogEntryResponse
|
|
5763
|
+
*/
|
|
5764
|
+
export type LLMCatalogEntryResponse = {
|
|
5609
5765
|
/**
|
|
5610
|
-
*
|
|
5766
|
+
* Base Url
|
|
5611
5767
|
*/
|
|
5612
|
-
|
|
5768
|
+
base_url: string | null;
|
|
5613
5769
|
/**
|
|
5614
|
-
*
|
|
5770
|
+
* Builtin Tools
|
|
5615
5771
|
*/
|
|
5616
|
-
|
|
5772
|
+
builtin_tools: Array<BuiltinTool>;
|
|
5617
5773
|
/**
|
|
5618
|
-
*
|
|
5774
|
+
* Channel
|
|
5619
5775
|
*/
|
|
5620
|
-
|
|
5776
|
+
channel: Array<string>;
|
|
5621
5777
|
/**
|
|
5622
|
-
*
|
|
5778
|
+
* Context Length
|
|
5623
5779
|
*/
|
|
5624
|
-
|
|
5780
|
+
context_length: number | null;
|
|
5625
5781
|
/**
|
|
5626
|
-
*
|
|
5782
|
+
* Label
|
|
5627
5783
|
*/
|
|
5628
|
-
|
|
5629
|
-
[key: string]: string | null;
|
|
5630
|
-
} | null;
|
|
5631
|
-
progress?: KbProgress;
|
|
5784
|
+
label: string | null;
|
|
5632
5785
|
/**
|
|
5633
|
-
*
|
|
5786
|
+
* Logo Url
|
|
5634
5787
|
*/
|
|
5635
|
-
|
|
5788
|
+
logo_url: string | null;
|
|
5636
5789
|
/**
|
|
5637
|
-
*
|
|
5790
|
+
* Model
|
|
5638
5791
|
*/
|
|
5639
|
-
|
|
5792
|
+
model: string;
|
|
5640
5793
|
/**
|
|
5641
|
-
*
|
|
5794
|
+
* Note
|
|
5642
5795
|
*/
|
|
5643
|
-
|
|
5796
|
+
note: string | null;
|
|
5644
5797
|
/**
|
|
5645
|
-
*
|
|
5798
|
+
* Pricing
|
|
5646
5799
|
*/
|
|
5647
|
-
|
|
5800
|
+
pricing: {
|
|
5801
|
+
[key: string]: unknown;
|
|
5802
|
+
};
|
|
5803
|
+
priority: PriorityTier | null;
|
|
5648
5804
|
/**
|
|
5649
|
-
*
|
|
5805
|
+
* Provider
|
|
5650
5806
|
*/
|
|
5651
|
-
|
|
5807
|
+
provider: string;
|
|
5652
5808
|
/**
|
|
5653
|
-
*
|
|
5809
|
+
* Reasoning Efforts
|
|
5654
5810
|
*/
|
|
5655
|
-
|
|
5656
|
-
};
|
|
5657
|
-
|
|
5658
|
-
/**
|
|
5659
|
-
* KBPageResponse
|
|
5660
|
-
*/
|
|
5661
|
-
export type KBPageResponse = {
|
|
5662
|
-
/**
|
|
5663
|
-
* Content Len
|
|
5664
|
-
*/
|
|
5665
|
-
content_len: number;
|
|
5666
|
-
/**
|
|
5667
|
-
* Error
|
|
5668
|
-
*/
|
|
5669
|
-
error?: string | null;
|
|
5670
|
-
/**
|
|
5671
|
-
* Kind
|
|
5672
|
-
*/
|
|
5673
|
-
kind?: string | null;
|
|
5674
|
-
/**
|
|
5675
|
-
* Parent Url
|
|
5676
|
-
*/
|
|
5677
|
-
parent_url?: string | null;
|
|
5678
|
-
/**
|
|
5679
|
-
* Status
|
|
5680
|
-
*/
|
|
5681
|
-
status: string;
|
|
5682
|
-
/**
|
|
5683
|
-
* Summary
|
|
5684
|
-
*/
|
|
5685
|
-
summary?: string | null;
|
|
5686
|
-
/**
|
|
5687
|
-
* Title
|
|
5688
|
-
*/
|
|
5689
|
-
title?: string | null;
|
|
5690
|
-
/**
|
|
5691
|
-
* Updated At
|
|
5692
|
-
*/
|
|
5693
|
-
updated_at: string;
|
|
5694
|
-
/**
|
|
5695
|
-
* Url
|
|
5696
|
-
*/
|
|
5697
|
-
url: string;
|
|
5698
|
-
};
|
|
5699
|
-
|
|
5700
|
-
/**
|
|
5701
|
-
* KBSummary
|
|
5702
|
-
*
|
|
5703
|
-
* The KB header — what the list view needs (no tree / curation detail).
|
|
5704
|
-
*/
|
|
5705
|
-
export type KBSummary = {
|
|
5706
|
-
/**
|
|
5707
|
-
* Created At
|
|
5708
|
-
*/
|
|
5709
|
-
created_at: string;
|
|
5710
|
-
/**
|
|
5711
|
-
* Created By
|
|
5712
|
-
*/
|
|
5713
|
-
created_by?: string | null;
|
|
5714
|
-
/**
|
|
5715
|
-
* Error
|
|
5716
|
-
*/
|
|
5717
|
-
error?: string | null;
|
|
5718
|
-
/**
|
|
5719
|
-
* Id
|
|
5720
|
-
*/
|
|
5721
|
-
id: string;
|
|
5722
|
-
/**
|
|
5723
|
-
* Name
|
|
5724
|
-
*/
|
|
5725
|
-
name: string;
|
|
5726
|
-
/**
|
|
5727
|
-
* Node Count
|
|
5728
|
-
*/
|
|
5729
|
-
node_count?: number | null;
|
|
5730
|
-
progress?: KbProgress;
|
|
5731
|
-
/**
|
|
5732
|
-
* Seeds
|
|
5733
|
-
*/
|
|
5734
|
-
seeds?: Array<string>;
|
|
5735
|
-
/**
|
|
5736
|
-
* Status
|
|
5737
|
-
*/
|
|
5738
|
-
status: 'discovering' | 'review' | 'transcribing' | 'generating' | 'ready' | 'error';
|
|
5739
|
-
/**
|
|
5740
|
-
* Updated At
|
|
5741
|
-
*/
|
|
5742
|
-
updated_at: string;
|
|
5743
|
-
/**
|
|
5744
|
-
* Url Count
|
|
5745
|
-
*/
|
|
5746
|
-
url_count?: number | null;
|
|
5747
|
-
};
|
|
5748
|
-
|
|
5749
|
-
/**
|
|
5750
|
-
* KbProgress
|
|
5751
|
-
*
|
|
5752
|
-
* Build-stage progress written to knowledge_bases.progress JSONB.
|
|
5753
|
-
*/
|
|
5754
|
-
export type KbProgress = {
|
|
5755
|
-
/**
|
|
5756
|
-
* Done
|
|
5757
|
-
*/
|
|
5758
|
-
done: number | null;
|
|
5759
|
-
/**
|
|
5760
|
-
* Failed
|
|
5761
|
-
*/
|
|
5762
|
-
failed: number | null;
|
|
5763
|
-
/**
|
|
5764
|
-
* Message
|
|
5765
|
-
*/
|
|
5766
|
-
message: string | null;
|
|
5767
|
-
/**
|
|
5768
|
-
* Phase
|
|
5769
|
-
*/
|
|
5770
|
-
phase: string;
|
|
5771
|
-
/**
|
|
5772
|
-
* Total
|
|
5773
|
-
*/
|
|
5774
|
-
total: number | null;
|
|
5775
|
-
};
|
|
5776
|
-
|
|
5777
|
-
/**
|
|
5778
|
-
* KbProgressEvent
|
|
5779
|
-
*
|
|
5780
|
-
* One step of the running build. Purely advisory — the canonical progress
|
|
5781
|
-
* is on the knowledge base itself, which `get_kb` returns.
|
|
5782
|
-
*/
|
|
5783
|
-
export type KbProgressEvent = {
|
|
5784
|
-
/**
|
|
5785
|
-
* Done
|
|
5786
|
-
*/
|
|
5787
|
-
done: number | null;
|
|
5788
|
-
/**
|
|
5789
|
-
* Event
|
|
5790
|
-
*/
|
|
5791
|
-
event: 'progress';
|
|
5792
|
-
/**
|
|
5793
|
-
* Failed
|
|
5794
|
-
*/
|
|
5795
|
-
failed: number | null;
|
|
5796
|
-
/**
|
|
5797
|
-
* Message
|
|
5798
|
-
*/
|
|
5799
|
-
message: string | null;
|
|
5800
|
-
/**
|
|
5801
|
-
* Phase
|
|
5802
|
-
*/
|
|
5803
|
-
phase: string;
|
|
5804
|
-
/**
|
|
5805
|
-
* Total
|
|
5806
|
-
*/
|
|
5807
|
-
total: number | null;
|
|
5808
|
-
};
|
|
5809
|
-
|
|
5810
|
-
/**
|
|
5811
|
-
* KbSnapshotEvent
|
|
5812
|
-
*
|
|
5813
|
-
* Where the build stands. First frame, and again on every reconnect.
|
|
5814
|
-
*/
|
|
5815
|
-
export type KbSnapshotEvent = {
|
|
5816
|
-
/**
|
|
5817
|
-
* Error
|
|
5818
|
-
*/
|
|
5819
|
-
error: string | null;
|
|
5820
|
-
/**
|
|
5821
|
-
* Event
|
|
5822
|
-
*/
|
|
5823
|
-
event: 'snapshot';
|
|
5824
|
-
progress: KbProgress;
|
|
5825
|
-
/**
|
|
5826
|
-
* Status
|
|
5827
|
-
*/
|
|
5828
|
-
status: string;
|
|
5829
|
-
};
|
|
5830
|
-
|
|
5831
|
-
/**
|
|
5832
|
-
* KbStatusEvent
|
|
5833
|
-
*
|
|
5834
|
-
* The build reached a new state. `error` is set only when `status` is
|
|
5835
|
-
* `error`, and says what stopped it.
|
|
5836
|
-
*/
|
|
5837
|
-
export type KbStatusEvent = {
|
|
5838
|
-
/**
|
|
5839
|
-
* Error
|
|
5840
|
-
*/
|
|
5841
|
-
error: string | null;
|
|
5842
|
-
/**
|
|
5843
|
-
* Event
|
|
5844
|
-
*/
|
|
5845
|
-
event: 'status';
|
|
5846
|
-
/**
|
|
5847
|
-
* Status
|
|
5848
|
-
*/
|
|
5849
|
-
status: 'discovering' | 'review' | 'transcribing' | 'generating' | 'ready' | 'error';
|
|
5850
|
-
};
|
|
5851
|
-
|
|
5852
|
-
/**
|
|
5853
|
-
* KbTreeNode
|
|
5854
|
-
*
|
|
5855
|
-
* One ToC node in the dashboard tree (content omitted; has_content flag only).
|
|
5856
|
-
*/
|
|
5857
|
-
export type KbTreeNode = {
|
|
5858
|
-
/**
|
|
5859
|
-
* Children
|
|
5860
|
-
*/
|
|
5861
|
-
children?: Array<KbTreeNode>;
|
|
5862
|
-
/**
|
|
5863
|
-
* Has Content
|
|
5864
|
-
*/
|
|
5865
|
-
has_content?: boolean;
|
|
5866
|
-
/**
|
|
5867
|
-
* Id
|
|
5868
|
-
*/
|
|
5869
|
-
id: string;
|
|
5870
|
-
/**
|
|
5871
|
-
* Kind
|
|
5872
|
-
*/
|
|
5873
|
-
kind?: string | null;
|
|
5874
|
-
/**
|
|
5875
|
-
* Source Url
|
|
5876
|
-
*/
|
|
5877
|
-
source_url?: string | null;
|
|
5878
|
-
/**
|
|
5879
|
-
* Summary
|
|
5880
|
-
*/
|
|
5881
|
-
summary?: string | null;
|
|
5882
|
-
/**
|
|
5883
|
-
* Title
|
|
5884
|
-
*/
|
|
5885
|
-
title?: string | null;
|
|
5886
|
-
};
|
|
5887
|
-
|
|
5888
|
-
/**
|
|
5889
|
-
* KeypadInputSpec
|
|
5890
|
-
*
|
|
5891
|
-
* Digits the caller types, delivered as a turn the agent can answer.
|
|
5892
|
-
*
|
|
5893
|
-
* Phone and stream calls only, and only where the platform sends DTMF as an
|
|
5894
|
-
* event — tones inside the audio are not detected. `voice` agents only:
|
|
5895
|
-
* enabling it on `video` or `text` is refused.
|
|
5896
|
-
*/
|
|
5897
|
-
export type KeypadInputSpec = {
|
|
5898
|
-
/**
|
|
5899
|
-
* Enabled
|
|
5900
|
-
*
|
|
5901
|
-
* 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.
|
|
5902
|
-
*/
|
|
5903
|
-
enabled?: boolean;
|
|
5904
|
-
/**
|
|
5905
|
-
* Terminator
|
|
5906
|
-
*
|
|
5907
|
-
* 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.
|
|
5908
|
-
*/
|
|
5909
|
-
terminator?: '#' | '*' | '';
|
|
5910
|
-
/**
|
|
5911
|
-
* Timeout
|
|
5912
|
-
*
|
|
5913
|
-
* Seconds of quiet before an entry is taken as finished. 0 waits for the terminator however long it takes.
|
|
5914
|
-
*/
|
|
5915
|
-
timeout?: number;
|
|
5916
|
-
};
|
|
5917
|
-
|
|
5918
|
-
/**
|
|
5919
|
-
* KeypadInputSpecOverride
|
|
5920
|
-
*
|
|
5921
|
-
* 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.
|
|
5922
|
-
*/
|
|
5923
|
-
export type KeypadInputSpecOverride = {
|
|
5924
|
-
/**
|
|
5925
|
-
* Enabled
|
|
5926
|
-
*
|
|
5927
|
-
* 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.
|
|
5928
|
-
*/
|
|
5929
|
-
enabled?: boolean | null;
|
|
5930
|
-
/**
|
|
5931
|
-
* Terminator
|
|
5932
|
-
*
|
|
5933
|
-
* 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.
|
|
5934
|
-
*/
|
|
5935
|
-
terminator?: '#' | '*' | '' | null;
|
|
5936
|
-
/**
|
|
5937
|
-
* Timeout
|
|
5938
|
-
*
|
|
5939
|
-
* Seconds of quiet before an entry is taken as finished. 0 waits for the terminator however long it takes.
|
|
5940
|
-
*/
|
|
5941
|
-
timeout?: number | null;
|
|
5942
|
-
};
|
|
5943
|
-
|
|
5944
|
-
/**
|
|
5945
|
-
* LLMCatalogEntryResponse
|
|
5946
|
-
*/
|
|
5947
|
-
export type LLMCatalogEntryResponse = {
|
|
5948
|
-
/**
|
|
5949
|
-
* Base Url
|
|
5950
|
-
*/
|
|
5951
|
-
base_url: string | null;
|
|
5952
|
-
/**
|
|
5953
|
-
* Builtin Tools
|
|
5954
|
-
*/
|
|
5955
|
-
builtin_tools: Array<BuiltinTool>;
|
|
5956
|
-
/**
|
|
5957
|
-
* Channel
|
|
5958
|
-
*/
|
|
5959
|
-
channel: Array<string>;
|
|
5960
|
-
/**
|
|
5961
|
-
* Context Length
|
|
5962
|
-
*/
|
|
5963
|
-
context_length: number | null;
|
|
5964
|
-
/**
|
|
5965
|
-
* Label
|
|
5966
|
-
*/
|
|
5967
|
-
label: string | null;
|
|
5968
|
-
/**
|
|
5969
|
-
* Logo Url
|
|
5970
|
-
*/
|
|
5971
|
-
logo_url: string | null;
|
|
5972
|
-
/**
|
|
5973
|
-
* Model
|
|
5974
|
-
*/
|
|
5975
|
-
model: string;
|
|
5976
|
-
/**
|
|
5977
|
-
* Note
|
|
5978
|
-
*/
|
|
5979
|
-
note: string | null;
|
|
5980
|
-
/**
|
|
5981
|
-
* Pricing
|
|
5982
|
-
*/
|
|
5983
|
-
pricing: {
|
|
5984
|
-
[key: string]: unknown;
|
|
5985
|
-
};
|
|
5986
|
-
priority: PriorityTier | null;
|
|
5987
|
-
/**
|
|
5988
|
-
* Provider
|
|
5989
|
-
*/
|
|
5990
|
-
provider: string;
|
|
5991
|
-
/**
|
|
5992
|
-
* Reasoning Efforts
|
|
5993
|
-
*/
|
|
5994
|
-
reasoning_efforts: Array<'none' | 'minimal' | 'low' | 'medium' | 'high'>;
|
|
5811
|
+
reasoning_efforts: Array<'none' | 'minimal' | 'low' | 'medium' | 'high'>;
|
|
5995
5812
|
/**
|
|
5996
5813
|
* Vision
|
|
5997
5814
|
*/
|
|
@@ -6501,40 +6318,6 @@ export type ModelRegistryHealth = {
|
|
|
6501
6318
|
models: number;
|
|
6502
6319
|
};
|
|
6503
6320
|
|
|
6504
|
-
/**
|
|
6505
|
-
* NodeContentResponse
|
|
6506
|
-
*/
|
|
6507
|
-
export type NodeContentResponse = {
|
|
6508
|
-
/**
|
|
6509
|
-
* Content
|
|
6510
|
-
*/
|
|
6511
|
-
content: string;
|
|
6512
|
-
/**
|
|
6513
|
-
* Id
|
|
6514
|
-
*/
|
|
6515
|
-
id: string;
|
|
6516
|
-
/**
|
|
6517
|
-
* Kind
|
|
6518
|
-
*/
|
|
6519
|
-
kind?: string | null;
|
|
6520
|
-
/**
|
|
6521
|
-
* Source Url
|
|
6522
|
-
*/
|
|
6523
|
-
source_url?: string | null;
|
|
6524
|
-
/**
|
|
6525
|
-
* Summary
|
|
6526
|
-
*/
|
|
6527
|
-
summary?: string | null;
|
|
6528
|
-
/**
|
|
6529
|
-
* Title
|
|
6530
|
-
*/
|
|
6531
|
-
title?: string | null;
|
|
6532
|
-
/**
|
|
6533
|
-
* Version
|
|
6534
|
-
*/
|
|
6535
|
-
version?: number;
|
|
6536
|
-
};
|
|
6537
|
-
|
|
6538
6321
|
/**
|
|
6539
6322
|
* NoiseCancellationCatalogEntryResponse
|
|
6540
6323
|
*/
|
|
@@ -7619,31 +7402,9 @@ export type PageEmailSendResponse = {
|
|
|
7619
7402
|
};
|
|
7620
7403
|
|
|
7621
7404
|
/**
|
|
7622
|
-
* Page[
|
|
7623
|
-
*/
|
|
7624
|
-
export type PageIntegrationCatalogItem = {
|
|
7625
|
-
/**
|
|
7626
|
-
* Has More
|
|
7627
|
-
*/
|
|
7628
|
-
has_more: boolean;
|
|
7629
|
-
/**
|
|
7630
|
-
* Items
|
|
7631
|
-
*/
|
|
7632
|
-
items: Array<IntegrationCatalogItem>;
|
|
7633
|
-
/**
|
|
7634
|
-
* Limit
|
|
7635
|
-
*/
|
|
7636
|
-
limit: number;
|
|
7637
|
-
/**
|
|
7638
|
-
* Offset
|
|
7639
|
-
*/
|
|
7640
|
-
offset: number;
|
|
7641
|
-
};
|
|
7642
|
-
|
|
7643
|
-
/**
|
|
7644
|
-
* Page[IntegrationResponse]
|
|
7405
|
+
* Page[FaqSummary]
|
|
7645
7406
|
*/
|
|
7646
|
-
export type
|
|
7407
|
+
export type PageFaqSummary = {
|
|
7647
7408
|
/**
|
|
7648
7409
|
* Has More
|
|
7649
7410
|
*/
|
|
@@ -7651,7 +7412,7 @@ export type PageIntegrationResponse = {
|
|
|
7651
7412
|
/**
|
|
7652
7413
|
* Items
|
|
7653
7414
|
*/
|
|
7654
|
-
items: Array<
|
|
7415
|
+
items: Array<FaqSummary>;
|
|
7655
7416
|
/**
|
|
7656
7417
|
* Limit
|
|
7657
7418
|
*/
|
|
@@ -7663,9 +7424,9 @@ export type PageIntegrationResponse = {
|
|
|
7663
7424
|
};
|
|
7664
7425
|
|
|
7665
7426
|
/**
|
|
7666
|
-
* Page[
|
|
7427
|
+
* Page[IntegrationCatalogItem]
|
|
7667
7428
|
*/
|
|
7668
|
-
export type
|
|
7429
|
+
export type PageIntegrationCatalogItem = {
|
|
7669
7430
|
/**
|
|
7670
7431
|
* Has More
|
|
7671
7432
|
*/
|
|
@@ -7673,7 +7434,7 @@ export type PageIntegrationTriggerResponse = {
|
|
|
7673
7434
|
/**
|
|
7674
7435
|
* Items
|
|
7675
7436
|
*/
|
|
7676
|
-
items: Array<
|
|
7437
|
+
items: Array<IntegrationCatalogItem>;
|
|
7677
7438
|
/**
|
|
7678
7439
|
* Limit
|
|
7679
7440
|
*/
|
|
@@ -7685,9 +7446,9 @@ export type PageIntegrationTriggerResponse = {
|
|
|
7685
7446
|
};
|
|
7686
7447
|
|
|
7687
7448
|
/**
|
|
7688
|
-
* Page[
|
|
7449
|
+
* Page[IntegrationResponse]
|
|
7689
7450
|
*/
|
|
7690
|
-
export type
|
|
7451
|
+
export type PageIntegrationResponse = {
|
|
7691
7452
|
/**
|
|
7692
7453
|
* Has More
|
|
7693
7454
|
*/
|
|
@@ -7695,7 +7456,7 @@ export type PageKBPageResponse = {
|
|
|
7695
7456
|
/**
|
|
7696
7457
|
* Items
|
|
7697
7458
|
*/
|
|
7698
|
-
items: Array<
|
|
7459
|
+
items: Array<IntegrationResponse>;
|
|
7699
7460
|
/**
|
|
7700
7461
|
* Limit
|
|
7701
7462
|
*/
|
|
@@ -7707,9 +7468,9 @@ export type PageKBPageResponse = {
|
|
|
7707
7468
|
};
|
|
7708
7469
|
|
|
7709
7470
|
/**
|
|
7710
|
-
* Page[
|
|
7471
|
+
* Page[IntegrationTriggerResponse]
|
|
7711
7472
|
*/
|
|
7712
|
-
export type
|
|
7473
|
+
export type PageIntegrationTriggerResponse = {
|
|
7713
7474
|
/**
|
|
7714
7475
|
* Has More
|
|
7715
7476
|
*/
|
|
@@ -7717,7 +7478,7 @@ export type PageKBSummary = {
|
|
|
7717
7478
|
/**
|
|
7718
7479
|
* Items
|
|
7719
7480
|
*/
|
|
7720
|
-
items: Array<
|
|
7481
|
+
items: Array<IntegrationTriggerResponse>;
|
|
7721
7482
|
/**
|
|
7722
7483
|
* Limit
|
|
7723
7484
|
*/
|
|
@@ -8305,28 +8066,6 @@ export type PatchIntegrationTriggerRequest = {
|
|
|
8305
8066
|
trigger_type?: 'telegram.message.inbound' | 'whatsapp.message.inbound' | 'whatsapp.call.inbound' | null;
|
|
8306
8067
|
};
|
|
8307
8068
|
|
|
8308
|
-
/**
|
|
8309
|
-
* PatchNodeRequest
|
|
8310
|
-
*/
|
|
8311
|
-
export type PatchNodeRequest = {
|
|
8312
|
-
/**
|
|
8313
|
-
* Content
|
|
8314
|
-
*/
|
|
8315
|
-
content?: string | null;
|
|
8316
|
-
/**
|
|
8317
|
-
* Summary
|
|
8318
|
-
*/
|
|
8319
|
-
summary?: string | null;
|
|
8320
|
-
/**
|
|
8321
|
-
* Title
|
|
8322
|
-
*/
|
|
8323
|
-
title?: string | null;
|
|
8324
|
-
/**
|
|
8325
|
-
* Version
|
|
8326
|
-
*/
|
|
8327
|
-
version?: number | null;
|
|
8328
|
-
};
|
|
8329
|
-
|
|
8330
8069
|
/**
|
|
8331
8070
|
* PatchPhoneNumberRequest
|
|
8332
8071
|
*/
|
|
@@ -8814,24 +8553,6 @@ export type PriorityTier = {
|
|
|
8814
8553
|
value?: string;
|
|
8815
8554
|
};
|
|
8816
8555
|
|
|
8817
|
-
/**
|
|
8818
|
-
* PromptResponse
|
|
8819
|
-
*/
|
|
8820
|
-
export type PromptResponse = {
|
|
8821
|
-
/**
|
|
8822
|
-
* Chars
|
|
8823
|
-
*/
|
|
8824
|
-
chars: number;
|
|
8825
|
-
/**
|
|
8826
|
-
* Node Count
|
|
8827
|
-
*/
|
|
8828
|
-
node_count: number;
|
|
8829
|
-
/**
|
|
8830
|
-
* Prompt
|
|
8831
|
-
*/
|
|
8832
|
-
prompt: string;
|
|
8833
|
-
};
|
|
8834
|
-
|
|
8835
8556
|
/**
|
|
8836
8557
|
* ProviderEntryResponse
|
|
8837
8558
|
*/
|
|
@@ -8901,7 +8622,7 @@ export type ProviderKeysResponse = {
|
|
|
8901
8622
|
/**
|
|
8902
8623
|
* PublicMessage
|
|
8903
8624
|
*
|
|
8904
|
-
* Dashboard SSE/message payload for one CoPilot
|
|
8625
|
+
* Dashboard SSE/message payload for one CoPilot timeline row.
|
|
8905
8626
|
*/
|
|
8906
8627
|
export type PublicMessage = {
|
|
8907
8628
|
/**
|
|
@@ -11011,17 +10732,17 @@ export type TTSUsageResponse = {
|
|
|
11011
10732
|
*/
|
|
11012
10733
|
export type TaskConfig = {
|
|
11013
10734
|
/**
|
|
11014
|
-
*
|
|
10735
|
+
* Faqs
|
|
11015
10736
|
*
|
|
11016
|
-
*
|
|
10737
|
+
* FAQs the agent answers from: questions go in the prompt, answers are fetched on demand.
|
|
11017
10738
|
*/
|
|
11018
|
-
|
|
10739
|
+
faqs?: Array<FaqSelection>;
|
|
11019
10740
|
/**
|
|
11020
|
-
*
|
|
10741
|
+
* Finish Without Result Description
|
|
11021
10742
|
*
|
|
11022
|
-
*
|
|
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.
|
|
11023
10744
|
*/
|
|
11024
|
-
|
|
10745
|
+
finish_without_result_description?: string;
|
|
11025
10746
|
llm?: LLMSpec;
|
|
11026
10747
|
/**
|
|
11027
10748
|
* Max Steps
|
|
@@ -11129,17 +10850,17 @@ export type TaskOutputField = {
|
|
|
11129
10850
|
*/
|
|
11130
10851
|
export type TaskPatch = {
|
|
11131
10852
|
/**
|
|
11132
|
-
*
|
|
10853
|
+
* Faqs
|
|
11133
10854
|
*
|
|
11134
|
-
*
|
|
10855
|
+
* FAQs the agent answers from: questions go in the prompt, answers are fetched on demand.
|
|
11135
10856
|
*/
|
|
11136
|
-
|
|
10857
|
+
faqs?: Array<FaqSelection> | null;
|
|
11137
10858
|
/**
|
|
11138
|
-
*
|
|
10859
|
+
* Finish Without Result Description
|
|
11139
10860
|
*
|
|
11140
|
-
*
|
|
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.
|
|
11141
10862
|
*/
|
|
11142
|
-
|
|
10863
|
+
finish_without_result_description?: string | null;
|
|
11143
10864
|
llm?: LLMSpecOverride | null;
|
|
11144
10865
|
/**
|
|
11145
10866
|
* Max Steps
|
|
@@ -11714,20 +11435,6 @@ export type TimeWindow = {
|
|
|
11714
11435
|
start: string;
|
|
11715
11436
|
};
|
|
11716
11437
|
|
|
11717
|
-
/**
|
|
11718
|
-
* TocResultResponse
|
|
11719
|
-
*/
|
|
11720
|
-
export type TocResultResponse = {
|
|
11721
|
-
/**
|
|
11722
|
-
* Ok
|
|
11723
|
-
*/
|
|
11724
|
-
ok?: boolean;
|
|
11725
|
-
/**
|
|
11726
|
-
* Pages
|
|
11727
|
-
*/
|
|
11728
|
-
pages: number;
|
|
11729
|
-
};
|
|
11730
|
-
|
|
11731
11438
|
/**
|
|
11732
11439
|
* TokenRequest
|
|
11733
11440
|
*
|
|
@@ -12193,7 +11900,7 @@ export type TurnMetrics = {
|
|
|
12193
11900
|
/**
|
|
12194
11901
|
* TurnPayload
|
|
12195
11902
|
*
|
|
12196
|
-
* Shared turn lifecycle for tenant conversation
|
|
11903
|
+
* Shared turn lifecycle for tenant conversation and CoPilot SSE.
|
|
12197
11904
|
*
|
|
12198
11905
|
* The `event` field is the discriminator every SSE payload on this API carries:
|
|
12199
11906
|
* it repeats the frame's `event:` line inside the JSON, so a generated client
|
|
@@ -12288,6 +11995,30 @@ export type UpdateAgentRequest = {
|
|
|
12288
11995
|
config: AgentOverride;
|
|
12289
11996
|
};
|
|
12290
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
|
+
|
|
12291
12022
|
/**
|
|
12292
12023
|
* UsageResponse
|
|
12293
12024
|
*
|
|
@@ -16121,116 +15852,7 @@ export type ConversationsSnapshotErrors = {
|
|
|
16121
15852
|
/**
|
|
16122
15853
|
* No such resource in this organization.
|
|
16123
15854
|
*/
|
|
16124
|
-
404: ErrorResponse;
|
|
16125
|
-
/**
|
|
16126
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
16127
|
-
*/
|
|
16128
|
-
422: ErrorResponse;
|
|
16129
|
-
/**
|
|
16130
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
16131
|
-
*/
|
|
16132
|
-
default: ErrorResponse;
|
|
16133
|
-
};
|
|
16134
|
-
|
|
16135
|
-
export type ConversationsSnapshotError = ConversationsSnapshotErrors[keyof ConversationsSnapshotErrors];
|
|
16136
|
-
|
|
16137
|
-
export type ConversationsSnapshotResults = {
|
|
16138
|
-
/**
|
|
16139
|
-
* Successful Response
|
|
16140
|
-
*/
|
|
16141
|
-
200: HealthSnapshotResponse;
|
|
16142
|
-
};
|
|
16143
|
-
|
|
16144
|
-
export type ConversationsSnapshotResult = ConversationsSnapshotResults[keyof ConversationsSnapshotResults];
|
|
16145
|
-
|
|
16146
|
-
export type ConversationsTraceData = {
|
|
16147
|
-
body?: never;
|
|
16148
|
-
path: {
|
|
16149
|
-
/**
|
|
16150
|
-
* Conversation Id
|
|
16151
|
-
*/
|
|
16152
|
-
conversation_id: string;
|
|
16153
|
-
};
|
|
16154
|
-
query?: {
|
|
16155
|
-
/**
|
|
16156
|
-
* After
|
|
16157
|
-
*
|
|
16158
|
-
* Only events at or after this.
|
|
16159
|
-
*/
|
|
16160
|
-
after?: string | null;
|
|
16161
|
-
/**
|
|
16162
|
-
* Before
|
|
16163
|
-
*
|
|
16164
|
-
* Only events before this.
|
|
16165
|
-
*/
|
|
16166
|
-
before?: string | null;
|
|
16167
|
-
};
|
|
16168
|
-
url: '/v1/conversations/{conversation_id}/trace';
|
|
16169
|
-
};
|
|
16170
|
-
|
|
16171
|
-
export type ConversationsTraceErrors = {
|
|
16172
|
-
/**
|
|
16173
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
16174
|
-
*/
|
|
16175
|
-
401: ErrorResponse;
|
|
16176
|
-
/**
|
|
16177
|
-
* No such resource in this organization.
|
|
16178
|
-
*/
|
|
16179
|
-
404: ErrorResponse;
|
|
16180
|
-
/**
|
|
16181
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
16182
|
-
*/
|
|
16183
|
-
422: ErrorResponse;
|
|
16184
|
-
/**
|
|
16185
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
16186
|
-
*/
|
|
16187
|
-
default: ErrorResponse;
|
|
16188
|
-
};
|
|
16189
|
-
|
|
16190
|
-
export type ConversationsTraceError = ConversationsTraceErrors[keyof ConversationsTraceErrors];
|
|
16191
|
-
|
|
16192
|
-
export type ConversationsTraceResults = {
|
|
16193
|
-
/**
|
|
16194
|
-
* Successful Response
|
|
16195
|
-
*/
|
|
16196
|
-
200: ConversationTraceResponse;
|
|
16197
|
-
};
|
|
16198
|
-
|
|
16199
|
-
export type ConversationsTraceResult = ConversationsTraceResults[keyof ConversationsTraceResults];
|
|
16200
|
-
|
|
16201
|
-
export type CopilotAgentsSendData = {
|
|
16202
|
-
body: SendMessageRequest;
|
|
16203
|
-
path: {
|
|
16204
|
-
/**
|
|
16205
|
-
* Agent Id
|
|
16206
|
-
*/
|
|
16207
|
-
agent_id: string;
|
|
16208
|
-
};
|
|
16209
|
-
query?: never;
|
|
16210
|
-
url: '/v1/copilot/agents/{agent_id}/messages';
|
|
16211
|
-
};
|
|
16212
|
-
|
|
16213
|
-
export type CopilotAgentsSendErrors = {
|
|
16214
|
-
/**
|
|
16215
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
16216
|
-
*/
|
|
16217
|
-
400: ErrorResponse;
|
|
16218
|
-
/**
|
|
16219
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
16220
|
-
*/
|
|
16221
|
-
401: ErrorResponse;
|
|
16222
|
-
/**
|
|
16223
|
-
* Authenticated, but this organization role may not perform the operation.
|
|
16224
|
-
*/
|
|
16225
|
-
403: ErrorResponse;
|
|
16226
|
-
/**
|
|
16227
|
-
* No such resource in this organization.
|
|
16228
|
-
*/
|
|
16229
|
-
404: ErrorResponse;
|
|
16230
|
-
/**
|
|
16231
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
16232
|
-
*/
|
|
16233
|
-
409: ErrorResponse;
|
|
15855
|
+
404: ErrorResponse;
|
|
16234
15856
|
/**
|
|
16235
15857
|
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
16236
15858
|
*/
|
|
@@ -16241,30 +15863,43 @@ export type CopilotAgentsSendErrors = {
|
|
|
16241
15863
|
default: ErrorResponse;
|
|
16242
15864
|
};
|
|
16243
15865
|
|
|
16244
|
-
export type
|
|
15866
|
+
export type ConversationsSnapshotError = ConversationsSnapshotErrors[keyof ConversationsSnapshotErrors];
|
|
16245
15867
|
|
|
16246
|
-
export type
|
|
15868
|
+
export type ConversationsSnapshotResults = {
|
|
16247
15869
|
/**
|
|
16248
15870
|
* Successful Response
|
|
16249
15871
|
*/
|
|
16250
|
-
200:
|
|
15872
|
+
200: HealthSnapshotResponse;
|
|
16251
15873
|
};
|
|
16252
15874
|
|
|
16253
|
-
export type
|
|
15875
|
+
export type ConversationsSnapshotResult = ConversationsSnapshotResults[keyof ConversationsSnapshotResults];
|
|
16254
15876
|
|
|
16255
|
-
export type
|
|
15877
|
+
export type ConversationsTraceData = {
|
|
16256
15878
|
body?: never;
|
|
16257
15879
|
path: {
|
|
16258
15880
|
/**
|
|
16259
|
-
*
|
|
15881
|
+
* Conversation Id
|
|
16260
15882
|
*/
|
|
16261
|
-
|
|
15883
|
+
conversation_id: string;
|
|
16262
15884
|
};
|
|
16263
|
-
query?:
|
|
16264
|
-
|
|
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';
|
|
16265
15900
|
};
|
|
16266
15901
|
|
|
16267
|
-
export type
|
|
15902
|
+
export type ConversationsTraceErrors = {
|
|
16268
15903
|
/**
|
|
16269
15904
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
16270
15905
|
*/
|
|
@@ -16283,38 +15918,30 @@ export type CopilotAgentsStreamErrors = {
|
|
|
16283
15918
|
default: ErrorResponse;
|
|
16284
15919
|
};
|
|
16285
15920
|
|
|
16286
|
-
export type
|
|
15921
|
+
export type ConversationsTraceError = ConversationsTraceErrors[keyof ConversationsTraceErrors];
|
|
16287
15922
|
|
|
16288
|
-
export type
|
|
15923
|
+
export type ConversationsTraceResults = {
|
|
16289
15924
|
/**
|
|
16290
|
-
* Response
|
|
16291
|
-
*
|
|
16292
|
-
* 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
|
|
16293
15926
|
*/
|
|
16294
|
-
200:
|
|
16295
|
-
event: 'snapshot';
|
|
16296
|
-
} & CopilotSnapshotEvent) | ({
|
|
16297
|
-
event: 'message';
|
|
16298
|
-
} & CopilotMessageEvent) | ({
|
|
16299
|
-
event: 'turn';
|
|
16300
|
-
} & TurnPayload);
|
|
15927
|
+
200: ConversationTraceResponse;
|
|
16301
15928
|
};
|
|
16302
15929
|
|
|
16303
|
-
export type
|
|
15930
|
+
export type ConversationsTraceResult = ConversationsTraceResults[keyof ConversationsTraceResults];
|
|
16304
15931
|
|
|
16305
|
-
export type
|
|
15932
|
+
export type CopilotAgentsSendData = {
|
|
16306
15933
|
body: SendMessageRequest;
|
|
16307
15934
|
path: {
|
|
16308
15935
|
/**
|
|
16309
|
-
*
|
|
15936
|
+
* Agent Id
|
|
16310
15937
|
*/
|
|
16311
|
-
|
|
15938
|
+
agent_id: string;
|
|
16312
15939
|
};
|
|
16313
15940
|
query?: never;
|
|
16314
|
-
url: '/v1/copilot/
|
|
15941
|
+
url: '/v1/copilot/agents/{agent_id}/messages';
|
|
16315
15942
|
};
|
|
16316
15943
|
|
|
16317
|
-
export type
|
|
15944
|
+
export type CopilotAgentsSendErrors = {
|
|
16318
15945
|
/**
|
|
16319
15946
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
16320
15947
|
*/
|
|
@@ -16345,30 +15972,30 @@ export type CopilotKnowledgeSendErrors = {
|
|
|
16345
15972
|
default: ErrorResponse;
|
|
16346
15973
|
};
|
|
16347
15974
|
|
|
16348
|
-
export type
|
|
15975
|
+
export type CopilotAgentsSendError = CopilotAgentsSendErrors[keyof CopilotAgentsSendErrors];
|
|
16349
15976
|
|
|
16350
|
-
export type
|
|
15977
|
+
export type CopilotAgentsSendResults = {
|
|
16351
15978
|
/**
|
|
16352
15979
|
* Successful Response
|
|
16353
15980
|
*/
|
|
16354
15981
|
200: SendMessageResponse;
|
|
16355
15982
|
};
|
|
16356
15983
|
|
|
16357
|
-
export type
|
|
15984
|
+
export type CopilotAgentsSendResult = CopilotAgentsSendResults[keyof CopilotAgentsSendResults];
|
|
16358
15985
|
|
|
16359
|
-
export type
|
|
15986
|
+
export type CopilotAgentsStreamData = {
|
|
16360
15987
|
body?: never;
|
|
16361
15988
|
path: {
|
|
16362
15989
|
/**
|
|
16363
|
-
*
|
|
15990
|
+
* Agent Id
|
|
16364
15991
|
*/
|
|
16365
|
-
|
|
15992
|
+
agent_id: string;
|
|
16366
15993
|
};
|
|
16367
15994
|
query?: never;
|
|
16368
|
-
url: '/v1/copilot/
|
|
15995
|
+
url: '/v1/copilot/agents/{agent_id}/stream';
|
|
16369
15996
|
};
|
|
16370
15997
|
|
|
16371
|
-
export type
|
|
15998
|
+
export type CopilotAgentsStreamErrors = {
|
|
16372
15999
|
/**
|
|
16373
16000
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
16374
16001
|
*/
|
|
@@ -16387,11 +16014,11 @@ export type CopilotKnowledgeStreamErrors = {
|
|
|
16387
16014
|
default: ErrorResponse;
|
|
16388
16015
|
};
|
|
16389
16016
|
|
|
16390
|
-
export type
|
|
16017
|
+
export type CopilotAgentsStreamError = CopilotAgentsStreamErrors[keyof CopilotAgentsStreamErrors];
|
|
16391
16018
|
|
|
16392
|
-
export type
|
|
16019
|
+
export type CopilotAgentsStreamResults = {
|
|
16393
16020
|
/**
|
|
16394
|
-
* Response 200 Copilot.
|
|
16021
|
+
* Response 200 Copilot.Agents.Stream
|
|
16395
16022
|
*
|
|
16396
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.
|
|
16397
16024
|
*/
|
|
@@ -16404,7 +16031,7 @@ export type CopilotKnowledgeStreamResults = {
|
|
|
16404
16031
|
} & TurnPayload);
|
|
16405
16032
|
};
|
|
16406
16033
|
|
|
16407
|
-
export type
|
|
16034
|
+
export type CopilotAgentsStreamResult = CopilotAgentsStreamResults[keyof CopilotAgentsStreamResults];
|
|
16408
16035
|
|
|
16409
16036
|
export type CopilotTasksSendData = {
|
|
16410
16037
|
body: SendMessageRequest;
|
|
@@ -17769,7 +17396,7 @@ export type EmailSendersListResults = {
|
|
|
17769
17396
|
|
|
17770
17397
|
export type EmailSendersListResult = EmailSendersListResults[keyof EmailSendersListResults];
|
|
17771
17398
|
|
|
17772
|
-
export type
|
|
17399
|
+
export type FaqsListData = {
|
|
17773
17400
|
body?: never;
|
|
17774
17401
|
path?: never;
|
|
17775
17402
|
query?: {
|
|
@@ -17782,10 +17409,10 @@ export type IntegrationsListData = {
|
|
|
17782
17409
|
*/
|
|
17783
17410
|
offset?: number;
|
|
17784
17411
|
};
|
|
17785
|
-
url: '/v1/
|
|
17412
|
+
url: '/v1/faqs';
|
|
17786
17413
|
};
|
|
17787
17414
|
|
|
17788
|
-
export type
|
|
17415
|
+
export type FaqsListErrors = {
|
|
17789
17416
|
/**
|
|
17790
17417
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
17791
17418
|
*/
|
|
@@ -17800,25 +17427,25 @@ export type IntegrationsListErrors = {
|
|
|
17800
17427
|
default: ErrorResponse;
|
|
17801
17428
|
};
|
|
17802
17429
|
|
|
17803
|
-
export type
|
|
17430
|
+
export type FaqsListError = FaqsListErrors[keyof FaqsListErrors];
|
|
17804
17431
|
|
|
17805
|
-
export type
|
|
17432
|
+
export type FaqsListResults = {
|
|
17806
17433
|
/**
|
|
17807
17434
|
* Successful Response
|
|
17808
17435
|
*/
|
|
17809
|
-
200:
|
|
17436
|
+
200: PageFaqSummary;
|
|
17810
17437
|
};
|
|
17811
17438
|
|
|
17812
|
-
export type
|
|
17439
|
+
export type FaqsListResult = FaqsListResults[keyof FaqsListResults];
|
|
17813
17440
|
|
|
17814
|
-
export type
|
|
17815
|
-
body:
|
|
17441
|
+
export type FaqsCreateData = {
|
|
17442
|
+
body: FaqDefinition;
|
|
17816
17443
|
path?: never;
|
|
17817
17444
|
query?: never;
|
|
17818
|
-
url: '/v1/
|
|
17445
|
+
url: '/v1/faqs';
|
|
17819
17446
|
};
|
|
17820
17447
|
|
|
17821
|
-
export type
|
|
17448
|
+
export type FaqsCreateErrors = {
|
|
17822
17449
|
/**
|
|
17823
17450
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
17824
17451
|
*/
|
|
@@ -17845,72 +17472,30 @@ export type IntegrationsCreateErrors = {
|
|
|
17845
17472
|
default: ErrorResponse;
|
|
17846
17473
|
};
|
|
17847
17474
|
|
|
17848
|
-
export type
|
|
17849
|
-
|
|
17850
|
-
export type IntegrationsCreateResults = {
|
|
17851
|
-
/**
|
|
17852
|
-
* Successful Response
|
|
17853
|
-
*/
|
|
17854
|
-
201: IntegrationResponse;
|
|
17855
|
-
};
|
|
17856
|
-
|
|
17857
|
-
export type IntegrationsCreateResult = IntegrationsCreateResults[keyof IntegrationsCreateResults];
|
|
17858
|
-
|
|
17859
|
-
export type IntegrationsCatalogData = {
|
|
17860
|
-
body?: never;
|
|
17861
|
-
path?: never;
|
|
17862
|
-
query?: {
|
|
17863
|
-
/**
|
|
17864
|
-
* Limit
|
|
17865
|
-
*/
|
|
17866
|
-
limit?: number;
|
|
17867
|
-
/**
|
|
17868
|
-
* Offset
|
|
17869
|
-
*/
|
|
17870
|
-
offset?: number;
|
|
17871
|
-
};
|
|
17872
|
-
url: '/v1/integrations/catalog';
|
|
17873
|
-
};
|
|
17874
|
-
|
|
17875
|
-
export type IntegrationsCatalogErrors = {
|
|
17876
|
-
/**
|
|
17877
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
17878
|
-
*/
|
|
17879
|
-
401: ErrorResponse;
|
|
17880
|
-
/**
|
|
17881
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
17882
|
-
*/
|
|
17883
|
-
422: ErrorResponse;
|
|
17884
|
-
/**
|
|
17885
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
17886
|
-
*/
|
|
17887
|
-
default: ErrorResponse;
|
|
17888
|
-
};
|
|
17889
|
-
|
|
17890
|
-
export type IntegrationsCatalogError = IntegrationsCatalogErrors[keyof IntegrationsCatalogErrors];
|
|
17475
|
+
export type FaqsCreateError = FaqsCreateErrors[keyof FaqsCreateErrors];
|
|
17891
17476
|
|
|
17892
|
-
export type
|
|
17477
|
+
export type FaqsCreateResults = {
|
|
17893
17478
|
/**
|
|
17894
17479
|
* Successful Response
|
|
17895
17480
|
*/
|
|
17896
|
-
|
|
17481
|
+
201: FaqDetail;
|
|
17897
17482
|
};
|
|
17898
17483
|
|
|
17899
|
-
export type
|
|
17484
|
+
export type FaqsCreateResult = FaqsCreateResults[keyof FaqsCreateResults];
|
|
17900
17485
|
|
|
17901
|
-
export type
|
|
17486
|
+
export type FaqsDeleteData = {
|
|
17902
17487
|
body?: never;
|
|
17903
17488
|
path: {
|
|
17904
17489
|
/**
|
|
17905
|
-
*
|
|
17490
|
+
* Faq Id
|
|
17906
17491
|
*/
|
|
17907
|
-
|
|
17492
|
+
faq_id: string;
|
|
17908
17493
|
};
|
|
17909
17494
|
query?: never;
|
|
17910
|
-
url: '/v1/
|
|
17495
|
+
url: '/v1/faqs/{faq_id}';
|
|
17911
17496
|
};
|
|
17912
17497
|
|
|
17913
|
-
export type
|
|
17498
|
+
export type FaqsDeleteErrors = {
|
|
17914
17499
|
/**
|
|
17915
17500
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
17916
17501
|
*/
|
|
@@ -17941,30 +17526,30 @@ export type IntegrationsDeleteErrors = {
|
|
|
17941
17526
|
default: ErrorResponse;
|
|
17942
17527
|
};
|
|
17943
17528
|
|
|
17944
|
-
export type
|
|
17529
|
+
export type FaqsDeleteError = FaqsDeleteErrors[keyof FaqsDeleteErrors];
|
|
17945
17530
|
|
|
17946
|
-
export type
|
|
17531
|
+
export type FaqsDeleteResults = {
|
|
17947
17532
|
/**
|
|
17948
17533
|
* Successful Response
|
|
17949
17534
|
*/
|
|
17950
17535
|
200: OkResponse;
|
|
17951
17536
|
};
|
|
17952
17537
|
|
|
17953
|
-
export type
|
|
17538
|
+
export type FaqsDeleteResult = FaqsDeleteResults[keyof FaqsDeleteResults];
|
|
17954
17539
|
|
|
17955
|
-
export type
|
|
17540
|
+
export type FaqsGetData = {
|
|
17956
17541
|
body?: never;
|
|
17957
17542
|
path: {
|
|
17958
17543
|
/**
|
|
17959
|
-
*
|
|
17544
|
+
* Faq Id
|
|
17960
17545
|
*/
|
|
17961
|
-
|
|
17546
|
+
faq_id: string;
|
|
17962
17547
|
};
|
|
17963
17548
|
query?: never;
|
|
17964
|
-
url: '/v1/
|
|
17549
|
+
url: '/v1/faqs/{faq_id}';
|
|
17965
17550
|
};
|
|
17966
17551
|
|
|
17967
|
-
export type
|
|
17552
|
+
export type FaqsGetErrors = {
|
|
17968
17553
|
/**
|
|
17969
17554
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
17970
17555
|
*/
|
|
@@ -17983,30 +17568,30 @@ export type IntegrationsGetErrors = {
|
|
|
17983
17568
|
default: ErrorResponse;
|
|
17984
17569
|
};
|
|
17985
17570
|
|
|
17986
|
-
export type
|
|
17571
|
+
export type FaqsGetError = FaqsGetErrors[keyof FaqsGetErrors];
|
|
17987
17572
|
|
|
17988
|
-
export type
|
|
17573
|
+
export type FaqsGetResults = {
|
|
17989
17574
|
/**
|
|
17990
17575
|
* Successful Response
|
|
17991
17576
|
*/
|
|
17992
|
-
200:
|
|
17577
|
+
200: FaqDetail;
|
|
17993
17578
|
};
|
|
17994
17579
|
|
|
17995
|
-
export type
|
|
17580
|
+
export type FaqsGetResult = FaqsGetResults[keyof FaqsGetResults];
|
|
17996
17581
|
|
|
17997
|
-
export type
|
|
17998
|
-
body:
|
|
17582
|
+
export type FaqsUpdateData = {
|
|
17583
|
+
body: UpdateFaqRequest;
|
|
17999
17584
|
path: {
|
|
18000
17585
|
/**
|
|
18001
|
-
*
|
|
17586
|
+
* Faq Id
|
|
18002
17587
|
*/
|
|
18003
|
-
|
|
17588
|
+
faq_id: string;
|
|
18004
17589
|
};
|
|
18005
17590
|
query?: never;
|
|
18006
|
-
url: '/v1/
|
|
17591
|
+
url: '/v1/faqs/{faq_id}';
|
|
18007
17592
|
};
|
|
18008
17593
|
|
|
18009
|
-
export type
|
|
17594
|
+
export type FaqsUpdateErrors = {
|
|
18010
17595
|
/**
|
|
18011
17596
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18012
17597
|
*/
|
|
@@ -18037,123 +17622,30 @@ export type IntegrationsUpdateErrors = {
|
|
|
18037
17622
|
default: ErrorResponse;
|
|
18038
17623
|
};
|
|
18039
17624
|
|
|
18040
|
-
export type
|
|
18041
|
-
|
|
18042
|
-
export type IntegrationsUpdateResults = {
|
|
18043
|
-
/**
|
|
18044
|
-
* Successful Response
|
|
18045
|
-
*/
|
|
18046
|
-
200: IntegrationResponse;
|
|
18047
|
-
};
|
|
18048
|
-
|
|
18049
|
-
export type IntegrationsUpdateResult = IntegrationsUpdateResults[keyof IntegrationsUpdateResults];
|
|
18050
|
-
|
|
18051
|
-
export type IntegrationsMcpToolsListData = {
|
|
18052
|
-
body?: never;
|
|
18053
|
-
path: {
|
|
18054
|
-
/**
|
|
18055
|
-
* Integration Id
|
|
18056
|
-
*/
|
|
18057
|
-
integration_id: string;
|
|
18058
|
-
};
|
|
18059
|
-
query?: never;
|
|
18060
|
-
url: '/v1/integrations/{integration_id}/mcp-tools';
|
|
18061
|
-
};
|
|
18062
|
-
|
|
18063
|
-
export type IntegrationsMcpToolsListErrors = {
|
|
18064
|
-
/**
|
|
18065
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
18066
|
-
*/
|
|
18067
|
-
401: ErrorResponse;
|
|
18068
|
-
/**
|
|
18069
|
-
* No such resource in this organization.
|
|
18070
|
-
*/
|
|
18071
|
-
404: ErrorResponse;
|
|
18072
|
-
/**
|
|
18073
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
18074
|
-
*/
|
|
18075
|
-
422: ErrorResponse;
|
|
18076
|
-
/**
|
|
18077
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
18078
|
-
*/
|
|
18079
|
-
default: ErrorResponse;
|
|
18080
|
-
};
|
|
18081
|
-
|
|
18082
|
-
export type IntegrationsMcpToolsListError = IntegrationsMcpToolsListErrors[keyof IntegrationsMcpToolsListErrors];
|
|
18083
|
-
|
|
18084
|
-
export type IntegrationsMcpToolsListResults = {
|
|
18085
|
-
/**
|
|
18086
|
-
* Successful Response
|
|
18087
|
-
*/
|
|
18088
|
-
200: IntegrationMcpToolsResponse;
|
|
18089
|
-
};
|
|
18090
|
-
|
|
18091
|
-
export type IntegrationsMcpToolsListResult = IntegrationsMcpToolsListResults[keyof IntegrationsMcpToolsListResults];
|
|
18092
|
-
|
|
18093
|
-
export type IntegrationsTriggersListData = {
|
|
18094
|
-
body?: never;
|
|
18095
|
-
path: {
|
|
18096
|
-
/**
|
|
18097
|
-
* Integration Id
|
|
18098
|
-
*/
|
|
18099
|
-
integration_id: string;
|
|
18100
|
-
};
|
|
18101
|
-
query?: {
|
|
18102
|
-
/**
|
|
18103
|
-
* Limit
|
|
18104
|
-
*/
|
|
18105
|
-
limit?: number;
|
|
18106
|
-
/**
|
|
18107
|
-
* Offset
|
|
18108
|
-
*/
|
|
18109
|
-
offset?: number;
|
|
18110
|
-
};
|
|
18111
|
-
url: '/v1/integrations/{integration_id}/triggers';
|
|
18112
|
-
};
|
|
18113
|
-
|
|
18114
|
-
export type IntegrationsTriggersListErrors = {
|
|
18115
|
-
/**
|
|
18116
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
18117
|
-
*/
|
|
18118
|
-
401: ErrorResponse;
|
|
18119
|
-
/**
|
|
18120
|
-
* No such resource in this organization.
|
|
18121
|
-
*/
|
|
18122
|
-
404: ErrorResponse;
|
|
18123
|
-
/**
|
|
18124
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
18125
|
-
*/
|
|
18126
|
-
422: ErrorResponse;
|
|
18127
|
-
/**
|
|
18128
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
18129
|
-
*/
|
|
18130
|
-
default: ErrorResponse;
|
|
18131
|
-
};
|
|
18132
|
-
|
|
18133
|
-
export type IntegrationsTriggersListError = IntegrationsTriggersListErrors[keyof IntegrationsTriggersListErrors];
|
|
17625
|
+
export type FaqsUpdateError = FaqsUpdateErrors[keyof FaqsUpdateErrors];
|
|
18134
17626
|
|
|
18135
|
-
export type
|
|
17627
|
+
export type FaqsUpdateResults = {
|
|
18136
17628
|
/**
|
|
18137
17629
|
* Successful Response
|
|
18138
17630
|
*/
|
|
18139
|
-
200:
|
|
17631
|
+
200: FaqSummary;
|
|
18140
17632
|
};
|
|
18141
17633
|
|
|
18142
|
-
export type
|
|
17634
|
+
export type FaqsUpdateResult = FaqsUpdateResults[keyof FaqsUpdateResults];
|
|
18143
17635
|
|
|
18144
|
-
export type
|
|
18145
|
-
body:
|
|
17636
|
+
export type FaqsEntriesCreateData = {
|
|
17637
|
+
body: CreateFaqEntriesRequest;
|
|
18146
17638
|
path: {
|
|
18147
17639
|
/**
|
|
18148
|
-
*
|
|
17640
|
+
* Faq Id
|
|
18149
17641
|
*/
|
|
18150
|
-
|
|
17642
|
+
faq_id: string;
|
|
18151
17643
|
};
|
|
18152
17644
|
query?: never;
|
|
18153
|
-
url: '/v1/
|
|
17645
|
+
url: '/v1/faqs/{faq_id}/entries';
|
|
18154
17646
|
};
|
|
18155
17647
|
|
|
18156
|
-
export type
|
|
17648
|
+
export type FaqsEntriesCreateErrors = {
|
|
18157
17649
|
/**
|
|
18158
17650
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18159
17651
|
*/
|
|
@@ -18184,34 +17676,34 @@ export type IntegrationsTriggersCreateErrors = {
|
|
|
18184
17676
|
default: ErrorResponse;
|
|
18185
17677
|
};
|
|
18186
17678
|
|
|
18187
|
-
export type
|
|
17679
|
+
export type FaqsEntriesCreateError = FaqsEntriesCreateErrors[keyof FaqsEntriesCreateErrors];
|
|
18188
17680
|
|
|
18189
|
-
export type
|
|
17681
|
+
export type FaqsEntriesCreateResults = {
|
|
18190
17682
|
/**
|
|
18191
17683
|
* Successful Response
|
|
18192
17684
|
*/
|
|
18193
|
-
201:
|
|
17685
|
+
201: FaqEntriesResponse;
|
|
18194
17686
|
};
|
|
18195
17687
|
|
|
18196
|
-
export type
|
|
17688
|
+
export type FaqsEntriesCreateResult = FaqsEntriesCreateResults[keyof FaqsEntriesCreateResults];
|
|
18197
17689
|
|
|
18198
|
-
export type
|
|
17690
|
+
export type FaqsEntriesDeleteData = {
|
|
18199
17691
|
body?: never;
|
|
18200
17692
|
path: {
|
|
18201
17693
|
/**
|
|
18202
|
-
*
|
|
17694
|
+
* Faq Id
|
|
18203
17695
|
*/
|
|
18204
|
-
|
|
17696
|
+
faq_id: string;
|
|
18205
17697
|
/**
|
|
18206
|
-
*
|
|
17698
|
+
* Entry Id
|
|
18207
17699
|
*/
|
|
18208
|
-
|
|
17700
|
+
entry_id: string;
|
|
18209
17701
|
};
|
|
18210
17702
|
query?: never;
|
|
18211
|
-
url: '/v1/
|
|
17703
|
+
url: '/v1/faqs/{faq_id}/entries/{entry_id}';
|
|
18212
17704
|
};
|
|
18213
17705
|
|
|
18214
|
-
export type
|
|
17706
|
+
export type FaqsEntriesDeleteErrors = {
|
|
18215
17707
|
/**
|
|
18216
17708
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18217
17709
|
*/
|
|
@@ -18242,34 +17734,34 @@ export type IntegrationsTriggersDeleteErrors = {
|
|
|
18242
17734
|
default: ErrorResponse;
|
|
18243
17735
|
};
|
|
18244
17736
|
|
|
18245
|
-
export type
|
|
17737
|
+
export type FaqsEntriesDeleteError = FaqsEntriesDeleteErrors[keyof FaqsEntriesDeleteErrors];
|
|
18246
17738
|
|
|
18247
|
-
export type
|
|
17739
|
+
export type FaqsEntriesDeleteResults = {
|
|
18248
17740
|
/**
|
|
18249
17741
|
* Successful Response
|
|
18250
17742
|
*/
|
|
18251
17743
|
200: OkResponse;
|
|
18252
17744
|
};
|
|
18253
17745
|
|
|
18254
|
-
export type
|
|
17746
|
+
export type FaqsEntriesDeleteResult = FaqsEntriesDeleteResults[keyof FaqsEntriesDeleteResults];
|
|
18255
17747
|
|
|
18256
|
-
export type
|
|
18257
|
-
body:
|
|
17748
|
+
export type FaqsEntriesUpdateData = {
|
|
17749
|
+
body: UpdateFaqEntryRequest;
|
|
18258
17750
|
path: {
|
|
18259
17751
|
/**
|
|
18260
|
-
*
|
|
17752
|
+
* Faq Id
|
|
18261
17753
|
*/
|
|
18262
|
-
|
|
17754
|
+
faq_id: string;
|
|
18263
17755
|
/**
|
|
18264
|
-
*
|
|
17756
|
+
* Entry Id
|
|
18265
17757
|
*/
|
|
18266
|
-
|
|
17758
|
+
entry_id: string;
|
|
18267
17759
|
};
|
|
18268
17760
|
query?: never;
|
|
18269
|
-
url: '/v1/
|
|
17761
|
+
url: '/v1/faqs/{faq_id}/entries/{entry_id}';
|
|
18270
17762
|
};
|
|
18271
17763
|
|
|
18272
|
-
export type
|
|
17764
|
+
export type FaqsEntriesUpdateErrors = {
|
|
18273
17765
|
/**
|
|
18274
17766
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18275
17767
|
*/
|
|
@@ -18300,18 +17792,18 @@ export type IntegrationsTriggersUpdateErrors = {
|
|
|
18300
17792
|
default: ErrorResponse;
|
|
18301
17793
|
};
|
|
18302
17794
|
|
|
18303
|
-
export type
|
|
17795
|
+
export type FaqsEntriesUpdateError = FaqsEntriesUpdateErrors[keyof FaqsEntriesUpdateErrors];
|
|
18304
17796
|
|
|
18305
|
-
export type
|
|
17797
|
+
export type FaqsEntriesUpdateResults = {
|
|
18306
17798
|
/**
|
|
18307
17799
|
* Successful Response
|
|
18308
17800
|
*/
|
|
18309
|
-
200:
|
|
17801
|
+
200: FaqEntry;
|
|
18310
17802
|
};
|
|
18311
17803
|
|
|
18312
|
-
export type
|
|
17804
|
+
export type FaqsEntriesUpdateResult = FaqsEntriesUpdateResults[keyof FaqsEntriesUpdateResults];
|
|
18313
17805
|
|
|
18314
|
-
export type
|
|
17806
|
+
export type IntegrationsListData = {
|
|
18315
17807
|
body?: never;
|
|
18316
17808
|
path?: never;
|
|
18317
17809
|
query?: {
|
|
@@ -18324,10 +17816,10 @@ export type KnowledgeListData = {
|
|
|
18324
17816
|
*/
|
|
18325
17817
|
offset?: number;
|
|
18326
17818
|
};
|
|
18327
|
-
url: '/v1/
|
|
17819
|
+
url: '/v1/integrations';
|
|
18328
17820
|
};
|
|
18329
17821
|
|
|
18330
|
-
export type
|
|
17822
|
+
export type IntegrationsListErrors = {
|
|
18331
17823
|
/**
|
|
18332
17824
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
18333
17825
|
*/
|
|
@@ -18342,25 +17834,25 @@ export type KnowledgeListErrors = {
|
|
|
18342
17834
|
default: ErrorResponse;
|
|
18343
17835
|
};
|
|
18344
17836
|
|
|
18345
|
-
export type
|
|
17837
|
+
export type IntegrationsListError = IntegrationsListErrors[keyof IntegrationsListErrors];
|
|
18346
17838
|
|
|
18347
|
-
export type
|
|
17839
|
+
export type IntegrationsListResults = {
|
|
18348
17840
|
/**
|
|
18349
17841
|
* Successful Response
|
|
18350
17842
|
*/
|
|
18351
|
-
200:
|
|
17843
|
+
200: PageIntegrationResponse;
|
|
18352
17844
|
};
|
|
18353
17845
|
|
|
18354
|
-
export type
|
|
17846
|
+
export type IntegrationsListResult = IntegrationsListResults[keyof IntegrationsListResults];
|
|
18355
17847
|
|
|
18356
|
-
export type
|
|
18357
|
-
body:
|
|
17848
|
+
export type IntegrationsCreateData = {
|
|
17849
|
+
body: CreateIntegrationRequest;
|
|
18358
17850
|
path?: never;
|
|
18359
17851
|
query?: never;
|
|
18360
|
-
url: '/v1/
|
|
17852
|
+
url: '/v1/integrations';
|
|
18361
17853
|
};
|
|
18362
17854
|
|
|
18363
|
-
export type
|
|
17855
|
+
export type IntegrationsCreateErrors = {
|
|
18364
17856
|
/**
|
|
18365
17857
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18366
17858
|
*/
|
|
@@ -18387,92 +17879,38 @@ export type KnowledgeCreateErrors = {
|
|
|
18387
17879
|
default: ErrorResponse;
|
|
18388
17880
|
};
|
|
18389
17881
|
|
|
18390
|
-
export type
|
|
17882
|
+
export type IntegrationsCreateError = IntegrationsCreateErrors[keyof IntegrationsCreateErrors];
|
|
18391
17883
|
|
|
18392
|
-
export type
|
|
17884
|
+
export type IntegrationsCreateResults = {
|
|
18393
17885
|
/**
|
|
18394
17886
|
* Successful Response
|
|
18395
17887
|
*/
|
|
18396
|
-
201:
|
|
17888
|
+
201: IntegrationResponse;
|
|
18397
17889
|
};
|
|
18398
17890
|
|
|
18399
|
-
export type
|
|
17891
|
+
export type IntegrationsCreateResult = IntegrationsCreateResults[keyof IntegrationsCreateResults];
|
|
18400
17892
|
|
|
18401
|
-
export type
|
|
17893
|
+
export type IntegrationsCatalogData = {
|
|
18402
17894
|
body?: never;
|
|
18403
|
-
path
|
|
17895
|
+
path?: never;
|
|
17896
|
+
query?: {
|
|
18404
17897
|
/**
|
|
18405
|
-
*
|
|
17898
|
+
* Limit
|
|
18406
17899
|
*/
|
|
18407
|
-
|
|
18408
|
-
};
|
|
18409
|
-
query?: never;
|
|
18410
|
-
url: '/v1/knowledge/{kb_id}';
|
|
18411
|
-
};
|
|
18412
|
-
|
|
18413
|
-
export type KnowledgeDeleteErrors = {
|
|
18414
|
-
/**
|
|
18415
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18416
|
-
*/
|
|
18417
|
-
400: ErrorResponse;
|
|
18418
|
-
/**
|
|
18419
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
18420
|
-
*/
|
|
18421
|
-
401: ErrorResponse;
|
|
18422
|
-
/**
|
|
18423
|
-
* Authenticated, but this organization role may not perform the operation.
|
|
18424
|
-
*/
|
|
18425
|
-
403: ErrorResponse;
|
|
18426
|
-
/**
|
|
18427
|
-
* No such resource in this organization.
|
|
18428
|
-
*/
|
|
18429
|
-
404: ErrorResponse;
|
|
18430
|
-
/**
|
|
18431
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
18432
|
-
*/
|
|
18433
|
-
409: ErrorResponse;
|
|
18434
|
-
/**
|
|
18435
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
18436
|
-
*/
|
|
18437
|
-
422: ErrorResponse;
|
|
18438
|
-
/**
|
|
18439
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
18440
|
-
*/
|
|
18441
|
-
default: ErrorResponse;
|
|
18442
|
-
};
|
|
18443
|
-
|
|
18444
|
-
export type KnowledgeDeleteError = KnowledgeDeleteErrors[keyof KnowledgeDeleteErrors];
|
|
18445
|
-
|
|
18446
|
-
export type KnowledgeDeleteResults = {
|
|
18447
|
-
/**
|
|
18448
|
-
* Successful Response
|
|
18449
|
-
*/
|
|
18450
|
-
200: OkResponse;
|
|
18451
|
-
};
|
|
18452
|
-
|
|
18453
|
-
export type KnowledgeDeleteResult = KnowledgeDeleteResults[keyof KnowledgeDeleteResults];
|
|
18454
|
-
|
|
18455
|
-
export type KnowledgeGetData = {
|
|
18456
|
-
body?: never;
|
|
18457
|
-
path: {
|
|
17900
|
+
limit?: number;
|
|
18458
17901
|
/**
|
|
18459
|
-
*
|
|
17902
|
+
* Offset
|
|
18460
17903
|
*/
|
|
18461
|
-
|
|
17904
|
+
offset?: number;
|
|
18462
17905
|
};
|
|
18463
|
-
|
|
18464
|
-
url: '/v1/knowledge/{kb_id}';
|
|
17906
|
+
url: '/v1/integrations/catalog';
|
|
18465
17907
|
};
|
|
18466
17908
|
|
|
18467
|
-
export type
|
|
17909
|
+
export type IntegrationsCatalogErrors = {
|
|
18468
17910
|
/**
|
|
18469
17911
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
18470
17912
|
*/
|
|
18471
17913
|
401: ErrorResponse;
|
|
18472
|
-
/**
|
|
18473
|
-
* No such resource in this organization.
|
|
18474
|
-
*/
|
|
18475
|
-
404: ErrorResponse;
|
|
18476
17914
|
/**
|
|
18477
17915
|
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
18478
17916
|
*/
|
|
@@ -18483,30 +17921,30 @@ export type KnowledgeGetErrors = {
|
|
|
18483
17921
|
default: ErrorResponse;
|
|
18484
17922
|
};
|
|
18485
17923
|
|
|
18486
|
-
export type
|
|
17924
|
+
export type IntegrationsCatalogError = IntegrationsCatalogErrors[keyof IntegrationsCatalogErrors];
|
|
18487
17925
|
|
|
18488
|
-
export type
|
|
17926
|
+
export type IntegrationsCatalogResults = {
|
|
18489
17927
|
/**
|
|
18490
17928
|
* Successful Response
|
|
18491
17929
|
*/
|
|
18492
|
-
200:
|
|
17930
|
+
200: PageIntegrationCatalogItem;
|
|
18493
17931
|
};
|
|
18494
17932
|
|
|
18495
|
-
export type
|
|
17933
|
+
export type IntegrationsCatalogResult = IntegrationsCatalogResults[keyof IntegrationsCatalogResults];
|
|
18496
17934
|
|
|
18497
|
-
export type
|
|
18498
|
-
body
|
|
17935
|
+
export type IntegrationsDeleteData = {
|
|
17936
|
+
body?: never;
|
|
18499
17937
|
path: {
|
|
18500
17938
|
/**
|
|
18501
|
-
*
|
|
17939
|
+
* Integration Id
|
|
18502
17940
|
*/
|
|
18503
|
-
|
|
17941
|
+
integration_id: string;
|
|
18504
17942
|
};
|
|
18505
17943
|
query?: never;
|
|
18506
|
-
url: '/v1/
|
|
17944
|
+
url: '/v1/integrations/{integration_id}';
|
|
18507
17945
|
};
|
|
18508
17946
|
|
|
18509
|
-
export type
|
|
17947
|
+
export type IntegrationsDeleteErrors = {
|
|
18510
17948
|
/**
|
|
18511
17949
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18512
17950
|
*/
|
|
@@ -18537,30 +17975,30 @@ export type KnowledgeBuildErrors = {
|
|
|
18537
17975
|
default: ErrorResponse;
|
|
18538
17976
|
};
|
|
18539
17977
|
|
|
18540
|
-
export type
|
|
17978
|
+
export type IntegrationsDeleteError = IntegrationsDeleteErrors[keyof IntegrationsDeleteErrors];
|
|
18541
17979
|
|
|
18542
|
-
export type
|
|
17980
|
+
export type IntegrationsDeleteResults = {
|
|
18543
17981
|
/**
|
|
18544
17982
|
* Successful Response
|
|
18545
17983
|
*/
|
|
18546
|
-
200:
|
|
17984
|
+
200: OkResponse;
|
|
18547
17985
|
};
|
|
18548
17986
|
|
|
18549
|
-
export type
|
|
17987
|
+
export type IntegrationsDeleteResult = IntegrationsDeleteResults[keyof IntegrationsDeleteResults];
|
|
18550
17988
|
|
|
18551
|
-
export type
|
|
17989
|
+
export type IntegrationsGetData = {
|
|
18552
17990
|
body?: never;
|
|
18553
17991
|
path: {
|
|
18554
17992
|
/**
|
|
18555
|
-
*
|
|
17993
|
+
* Integration Id
|
|
18556
17994
|
*/
|
|
18557
|
-
|
|
17995
|
+
integration_id: string;
|
|
18558
17996
|
};
|
|
18559
17997
|
query?: never;
|
|
18560
|
-
url: '/v1/
|
|
17998
|
+
url: '/v1/integrations/{integration_id}';
|
|
18561
17999
|
};
|
|
18562
18000
|
|
|
18563
|
-
export type
|
|
18001
|
+
export type IntegrationsGetErrors = {
|
|
18564
18002
|
/**
|
|
18565
18003
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
18566
18004
|
*/
|
|
@@ -18579,42 +18017,30 @@ export type KnowledgeEventsErrors = {
|
|
|
18579
18017
|
default: ErrorResponse;
|
|
18580
18018
|
};
|
|
18581
18019
|
|
|
18582
|
-
export type
|
|
18020
|
+
export type IntegrationsGetError = IntegrationsGetErrors[keyof IntegrationsGetErrors];
|
|
18583
18021
|
|
|
18584
|
-
export type
|
|
18022
|
+
export type IntegrationsGetResults = {
|
|
18585
18023
|
/**
|
|
18586
|
-
* Response
|
|
18587
|
-
*
|
|
18588
|
-
* 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
|
|
18589
18025
|
*/
|
|
18590
|
-
200:
|
|
18591
|
-
event: 'snapshot';
|
|
18592
|
-
} & KbSnapshotEvent) | ({
|
|
18593
|
-
event: 'progress';
|
|
18594
|
-
} & KbProgressEvent) | ({
|
|
18595
|
-
event: 'status';
|
|
18596
|
-
} & KbStatusEvent);
|
|
18026
|
+
200: IntegrationResponse;
|
|
18597
18027
|
};
|
|
18598
18028
|
|
|
18599
|
-
export type
|
|
18029
|
+
export type IntegrationsGetResult = IntegrationsGetResults[keyof IntegrationsGetResults];
|
|
18600
18030
|
|
|
18601
|
-
export type
|
|
18602
|
-
body
|
|
18031
|
+
export type IntegrationsUpdateData = {
|
|
18032
|
+
body: PatchIntegrationRequest;
|
|
18603
18033
|
path: {
|
|
18604
18034
|
/**
|
|
18605
|
-
*
|
|
18606
|
-
*/
|
|
18607
|
-
kb_id: string;
|
|
18608
|
-
/**
|
|
18609
|
-
* Node Id
|
|
18035
|
+
* Integration Id
|
|
18610
18036
|
*/
|
|
18611
|
-
|
|
18037
|
+
integration_id: string;
|
|
18612
18038
|
};
|
|
18613
18039
|
query?: never;
|
|
18614
|
-
url: '/v1/
|
|
18040
|
+
url: '/v1/integrations/{integration_id}';
|
|
18615
18041
|
};
|
|
18616
18042
|
|
|
18617
|
-
export type
|
|
18043
|
+
export type IntegrationsUpdateErrors = {
|
|
18618
18044
|
/**
|
|
18619
18045
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18620
18046
|
*/
|
|
@@ -18645,34 +18071,30 @@ export type KnowledgeNodesDeleteErrors = {
|
|
|
18645
18071
|
default: ErrorResponse;
|
|
18646
18072
|
};
|
|
18647
18073
|
|
|
18648
|
-
export type
|
|
18074
|
+
export type IntegrationsUpdateError = IntegrationsUpdateErrors[keyof IntegrationsUpdateErrors];
|
|
18649
18075
|
|
|
18650
|
-
export type
|
|
18076
|
+
export type IntegrationsUpdateResults = {
|
|
18651
18077
|
/**
|
|
18652
18078
|
* Successful Response
|
|
18653
18079
|
*/
|
|
18654
|
-
200:
|
|
18080
|
+
200: IntegrationResponse;
|
|
18655
18081
|
};
|
|
18656
18082
|
|
|
18657
|
-
export type
|
|
18083
|
+
export type IntegrationsUpdateResult = IntegrationsUpdateResults[keyof IntegrationsUpdateResults];
|
|
18658
18084
|
|
|
18659
|
-
export type
|
|
18085
|
+
export type IntegrationsMcpToolsListData = {
|
|
18660
18086
|
body?: never;
|
|
18661
18087
|
path: {
|
|
18662
18088
|
/**
|
|
18663
|
-
*
|
|
18664
|
-
*/
|
|
18665
|
-
kb_id: string;
|
|
18666
|
-
/**
|
|
18667
|
-
* Node Id
|
|
18089
|
+
* Integration Id
|
|
18668
18090
|
*/
|
|
18669
|
-
|
|
18091
|
+
integration_id: string;
|
|
18670
18092
|
};
|
|
18671
18093
|
query?: never;
|
|
18672
|
-
url: '/v1/
|
|
18094
|
+
url: '/v1/integrations/{integration_id}/mcp-tools';
|
|
18673
18095
|
};
|
|
18674
18096
|
|
|
18675
|
-
export type
|
|
18097
|
+
export type IntegrationsMcpToolsListErrors = {
|
|
18676
18098
|
/**
|
|
18677
18099
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
18678
18100
|
*/
|
|
@@ -18691,54 +18113,47 @@ export type KnowledgeNodesGetErrors = {
|
|
|
18691
18113
|
default: ErrorResponse;
|
|
18692
18114
|
};
|
|
18693
18115
|
|
|
18694
|
-
export type
|
|
18116
|
+
export type IntegrationsMcpToolsListError = IntegrationsMcpToolsListErrors[keyof IntegrationsMcpToolsListErrors];
|
|
18695
18117
|
|
|
18696
|
-
export type
|
|
18118
|
+
export type IntegrationsMcpToolsListResults = {
|
|
18697
18119
|
/**
|
|
18698
18120
|
* Successful Response
|
|
18699
18121
|
*/
|
|
18700
|
-
200:
|
|
18122
|
+
200: IntegrationMcpToolsResponse;
|
|
18701
18123
|
};
|
|
18702
18124
|
|
|
18703
|
-
export type
|
|
18125
|
+
export type IntegrationsMcpToolsListResult = IntegrationsMcpToolsListResults[keyof IntegrationsMcpToolsListResults];
|
|
18704
18126
|
|
|
18705
|
-
export type
|
|
18706
|
-
body
|
|
18127
|
+
export type IntegrationsTriggersListData = {
|
|
18128
|
+
body?: never;
|
|
18707
18129
|
path: {
|
|
18708
18130
|
/**
|
|
18709
|
-
*
|
|
18131
|
+
* Integration Id
|
|
18132
|
+
*/
|
|
18133
|
+
integration_id: string;
|
|
18134
|
+
};
|
|
18135
|
+
query?: {
|
|
18136
|
+
/**
|
|
18137
|
+
* Limit
|
|
18710
18138
|
*/
|
|
18711
|
-
|
|
18139
|
+
limit?: number;
|
|
18712
18140
|
/**
|
|
18713
|
-
*
|
|
18141
|
+
* Offset
|
|
18714
18142
|
*/
|
|
18715
|
-
|
|
18143
|
+
offset?: number;
|
|
18716
18144
|
};
|
|
18717
|
-
|
|
18718
|
-
url: '/v1/knowledge/{kb_id}/nodes/{node_id}';
|
|
18145
|
+
url: '/v1/integrations/{integration_id}/triggers';
|
|
18719
18146
|
};
|
|
18720
18147
|
|
|
18721
|
-
export type
|
|
18722
|
-
/**
|
|
18723
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18724
|
-
*/
|
|
18725
|
-
400: ErrorResponse;
|
|
18148
|
+
export type IntegrationsTriggersListErrors = {
|
|
18726
18149
|
/**
|
|
18727
18150
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
18728
18151
|
*/
|
|
18729
18152
|
401: ErrorResponse;
|
|
18730
|
-
/**
|
|
18731
|
-
* Authenticated, but this organization role may not perform the operation.
|
|
18732
|
-
*/
|
|
18733
|
-
403: ErrorResponse;
|
|
18734
18153
|
/**
|
|
18735
18154
|
* No such resource in this organization.
|
|
18736
18155
|
*/
|
|
18737
18156
|
404: ErrorResponse;
|
|
18738
|
-
/**
|
|
18739
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
18740
|
-
*/
|
|
18741
|
-
409: ErrorResponse;
|
|
18742
18157
|
/**
|
|
18743
18158
|
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
18744
18159
|
*/
|
|
@@ -18749,47 +18164,50 @@ export type KnowledgeNodesUpdateErrors = {
|
|
|
18749
18164
|
default: ErrorResponse;
|
|
18750
18165
|
};
|
|
18751
18166
|
|
|
18752
|
-
export type
|
|
18167
|
+
export type IntegrationsTriggersListError = IntegrationsTriggersListErrors[keyof IntegrationsTriggersListErrors];
|
|
18753
18168
|
|
|
18754
|
-
export type
|
|
18169
|
+
export type IntegrationsTriggersListResults = {
|
|
18755
18170
|
/**
|
|
18756
18171
|
* Successful Response
|
|
18757
18172
|
*/
|
|
18758
|
-
200:
|
|
18173
|
+
200: PageIntegrationTriggerResponse;
|
|
18759
18174
|
};
|
|
18760
18175
|
|
|
18761
|
-
export type
|
|
18176
|
+
export type IntegrationsTriggersListResult = IntegrationsTriggersListResults[keyof IntegrationsTriggersListResults];
|
|
18762
18177
|
|
|
18763
|
-
export type
|
|
18764
|
-
body
|
|
18178
|
+
export type IntegrationsTriggersCreateData = {
|
|
18179
|
+
body: CreateIntegrationTriggerRequest;
|
|
18765
18180
|
path: {
|
|
18766
18181
|
/**
|
|
18767
|
-
*
|
|
18768
|
-
*/
|
|
18769
|
-
kb_id: string;
|
|
18770
|
-
};
|
|
18771
|
-
query?: {
|
|
18772
|
-
/**
|
|
18773
|
-
* Limit
|
|
18774
|
-
*/
|
|
18775
|
-
limit?: number;
|
|
18776
|
-
/**
|
|
18777
|
-
* Offset
|
|
18182
|
+
* Integration Id
|
|
18778
18183
|
*/
|
|
18779
|
-
|
|
18184
|
+
integration_id: string;
|
|
18780
18185
|
};
|
|
18781
|
-
|
|
18186
|
+
query?: never;
|
|
18187
|
+
url: '/v1/integrations/{integration_id}/triggers';
|
|
18782
18188
|
};
|
|
18783
18189
|
|
|
18784
|
-
export type
|
|
18190
|
+
export type IntegrationsTriggersCreateErrors = {
|
|
18191
|
+
/**
|
|
18192
|
+
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18193
|
+
*/
|
|
18194
|
+
400: ErrorResponse;
|
|
18785
18195
|
/**
|
|
18786
18196
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
18787
18197
|
*/
|
|
18788
18198
|
401: ErrorResponse;
|
|
18199
|
+
/**
|
|
18200
|
+
* Authenticated, but this organization role may not perform the operation.
|
|
18201
|
+
*/
|
|
18202
|
+
403: ErrorResponse;
|
|
18789
18203
|
/**
|
|
18790
18204
|
* No such resource in this organization.
|
|
18791
18205
|
*/
|
|
18792
18206
|
404: ErrorResponse;
|
|
18207
|
+
/**
|
|
18208
|
+
* The resource's current state forbids this — a name already taken, a job already running.
|
|
18209
|
+
*/
|
|
18210
|
+
409: ErrorResponse;
|
|
18793
18211
|
/**
|
|
18794
18212
|
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
18795
18213
|
*/
|
|
@@ -18800,38 +18218,54 @@ export type KnowledgePagesListErrors = {
|
|
|
18800
18218
|
default: ErrorResponse;
|
|
18801
18219
|
};
|
|
18802
18220
|
|
|
18803
|
-
export type
|
|
18221
|
+
export type IntegrationsTriggersCreateError = IntegrationsTriggersCreateErrors[keyof IntegrationsTriggersCreateErrors];
|
|
18804
18222
|
|
|
18805
|
-
export type
|
|
18223
|
+
export type IntegrationsTriggersCreateResults = {
|
|
18806
18224
|
/**
|
|
18807
18225
|
* Successful Response
|
|
18808
18226
|
*/
|
|
18809
|
-
|
|
18227
|
+
201: IntegrationTriggerResponse;
|
|
18810
18228
|
};
|
|
18811
18229
|
|
|
18812
|
-
export type
|
|
18230
|
+
export type IntegrationsTriggersCreateResult = IntegrationsTriggersCreateResults[keyof IntegrationsTriggersCreateResults];
|
|
18813
18231
|
|
|
18814
|
-
export type
|
|
18232
|
+
export type IntegrationsTriggersDeleteData = {
|
|
18815
18233
|
body?: never;
|
|
18816
18234
|
path: {
|
|
18817
18235
|
/**
|
|
18818
|
-
*
|
|
18236
|
+
* Integration Id
|
|
18237
|
+
*/
|
|
18238
|
+
integration_id: string;
|
|
18239
|
+
/**
|
|
18240
|
+
* Trigger Id
|
|
18819
18241
|
*/
|
|
18820
|
-
|
|
18242
|
+
trigger_id: string;
|
|
18821
18243
|
};
|
|
18822
18244
|
query?: never;
|
|
18823
|
-
url: '/v1/
|
|
18245
|
+
url: '/v1/integrations/{integration_id}/triggers/{trigger_id}';
|
|
18824
18246
|
};
|
|
18825
18247
|
|
|
18826
|
-
export type
|
|
18248
|
+
export type IntegrationsTriggersDeleteErrors = {
|
|
18249
|
+
/**
|
|
18250
|
+
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18251
|
+
*/
|
|
18252
|
+
400: ErrorResponse;
|
|
18827
18253
|
/**
|
|
18828
18254
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
18829
18255
|
*/
|
|
18830
18256
|
401: ErrorResponse;
|
|
18257
|
+
/**
|
|
18258
|
+
* Authenticated, but this organization role may not perform the operation.
|
|
18259
|
+
*/
|
|
18260
|
+
403: ErrorResponse;
|
|
18831
18261
|
/**
|
|
18832
18262
|
* No such resource in this organization.
|
|
18833
18263
|
*/
|
|
18834
18264
|
404: ErrorResponse;
|
|
18265
|
+
/**
|
|
18266
|
+
* The resource's current state forbids this — a name already taken, a job already running.
|
|
18267
|
+
*/
|
|
18268
|
+
409: ErrorResponse;
|
|
18835
18269
|
/**
|
|
18836
18270
|
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
18837
18271
|
*/
|
|
@@ -18842,30 +18276,34 @@ export type KnowledgePromptErrors = {
|
|
|
18842
18276
|
default: ErrorResponse;
|
|
18843
18277
|
};
|
|
18844
18278
|
|
|
18845
|
-
export type
|
|
18279
|
+
export type IntegrationsTriggersDeleteError = IntegrationsTriggersDeleteErrors[keyof IntegrationsTriggersDeleteErrors];
|
|
18846
18280
|
|
|
18847
|
-
export type
|
|
18281
|
+
export type IntegrationsTriggersDeleteResults = {
|
|
18848
18282
|
/**
|
|
18849
18283
|
* Successful Response
|
|
18850
18284
|
*/
|
|
18851
|
-
200:
|
|
18285
|
+
200: OkResponse;
|
|
18852
18286
|
};
|
|
18853
18287
|
|
|
18854
|
-
export type
|
|
18288
|
+
export type IntegrationsTriggersDeleteResult = IntegrationsTriggersDeleteResults[keyof IntegrationsTriggersDeleteResults];
|
|
18855
18289
|
|
|
18856
|
-
export type
|
|
18857
|
-
body
|
|
18290
|
+
export type IntegrationsTriggersUpdateData = {
|
|
18291
|
+
body: PatchIntegrationTriggerRequest;
|
|
18858
18292
|
path: {
|
|
18859
18293
|
/**
|
|
18860
|
-
*
|
|
18294
|
+
* Integration Id
|
|
18295
|
+
*/
|
|
18296
|
+
integration_id: string;
|
|
18297
|
+
/**
|
|
18298
|
+
* Trigger Id
|
|
18861
18299
|
*/
|
|
18862
|
-
|
|
18300
|
+
trigger_id: string;
|
|
18863
18301
|
};
|
|
18864
18302
|
query?: never;
|
|
18865
|
-
url: '/v1/
|
|
18303
|
+
url: '/v1/integrations/{integration_id}/triggers/{trigger_id}';
|
|
18866
18304
|
};
|
|
18867
18305
|
|
|
18868
|
-
export type
|
|
18306
|
+
export type IntegrationsTriggersUpdateErrors = {
|
|
18869
18307
|
/**
|
|
18870
18308
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18871
18309
|
*/
|
|
@@ -18896,16 +18334,16 @@ export type KnowledgeRegenerateTocErrors = {
|
|
|
18896
18334
|
default: ErrorResponse;
|
|
18897
18335
|
};
|
|
18898
18336
|
|
|
18899
|
-
export type
|
|
18337
|
+
export type IntegrationsTriggersUpdateError = IntegrationsTriggersUpdateErrors[keyof IntegrationsTriggersUpdateErrors];
|
|
18900
18338
|
|
|
18901
|
-
export type
|
|
18339
|
+
export type IntegrationsTriggersUpdateResults = {
|
|
18902
18340
|
/**
|
|
18903
18341
|
* Successful Response
|
|
18904
18342
|
*/
|
|
18905
|
-
200:
|
|
18343
|
+
200: IntegrationTriggerResponse;
|
|
18906
18344
|
};
|
|
18907
18345
|
|
|
18908
|
-
export type
|
|
18346
|
+
export type IntegrationsTriggersUpdateResult = IntegrationsTriggersUpdateResults[keyof IntegrationsTriggersUpdateResults];
|
|
18909
18347
|
|
|
18910
18348
|
export type ObservabilityGetData = {
|
|
18911
18349
|
body?: never;
|