@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.
- package/LICENSE +1 -1
- package/README.md +7 -17
- package/dist/cjs/client.js +1 -1
- package/dist/cjs/client.js.map +1 -1
- 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 +106 -248
- package/dist/cjs/gen/sdk.gen.d.ts.map +1 -1
- package/dist/cjs/gen/sdk.gen.js +234 -462
- package/dist/cjs/gen/sdk.gen.js.map +1 -1
- package/dist/cjs/gen/types.gen.d.ts +647 -1236
- package/dist/cjs/gen/types.gen.d.ts.map +1 -1
- package/dist/esm/client.js +1 -1
- package/dist/esm/client.js.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 +106 -248
- package/dist/esm/gen/sdk.gen.d.ts.map +1 -1
- package/dist/esm/gen/sdk.gen.js +227 -453
- package/dist/esm/gen/sdk.gen.js.map +1 -1
- package/dist/esm/gen/types.gen.d.ts +647 -1236
- package/dist/esm/gen/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1 -1
- package/src/gen/index.ts +1 -1
- package/src/gen/sdk.gen.ts +308 -563
- package/src/gen/types.gen.ts +645 -1274
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
|
|
@@ -910,7 +910,7 @@ export type AvatarSpecOverride = {
|
|
|
910
910
|
* AvatarUsage
|
|
911
911
|
*
|
|
912
912
|
* One avatar session's billable window: WALL-CLOCK seconds alive, idle
|
|
913
|
-
* included (Anam's billing rule
|
|
913
|
+
* included (Anam's billing rule). Metered from our own job
|
|
914
914
|
* timing — Anam has no usage webhooks; `avatar_session_id` (Anam's sessionId)
|
|
915
915
|
* is stored for reconciliation against any future Anam usage export.
|
|
916
916
|
*/
|
|
@@ -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
|
*/
|
|
@@ -3375,8 +3339,10 @@ export type CreateTelephonyAccountRequest = {
|
|
|
3375
3339
|
};
|
|
3376
3340
|
/**
|
|
3377
3341
|
* Display Name
|
|
3342
|
+
*
|
|
3343
|
+
* Omit to use the carrier's own name for the account.
|
|
3378
3344
|
*/
|
|
3379
|
-
display_name
|
|
3345
|
+
display_name?: string | null;
|
|
3380
3346
|
/**
|
|
3381
3347
|
* Provider
|
|
3382
3348
|
*/
|
|
@@ -3509,12 +3475,7 @@ export type CreateWhatsAppBatchRequest = {
|
|
|
3509
3475
|
/**
|
|
3510
3476
|
* CreditBalanceResponse
|
|
3511
3477
|
*
|
|
3512
|
-
* This
|
|
3513
|
-
*
|
|
3514
|
-
* Per region, because the balance is a data-plane table. A caller reading this
|
|
3515
|
-
* is reading the balance of whichever region's API they called, and the
|
|
3516
|
-
* dashboard labels it with that region's name — a bare number is what makes a
|
|
3517
|
-
* customer with $50 in one region and $0 in another think the money vanished.
|
|
3478
|
+
* This workspace's credit balance, what it buys, and top-up prices.
|
|
3518
3479
|
*/
|
|
3519
3480
|
export type CreditBalanceResponse = {
|
|
3520
3481
|
/**
|
|
@@ -3639,6 +3600,18 @@ export type CreditPackResponse = {
|
|
|
3639
3600
|
voice_minutes: number;
|
|
3640
3601
|
};
|
|
3641
3602
|
|
|
3603
|
+
/**
|
|
3604
|
+
* DeleteRecipientsRequest
|
|
3605
|
+
*
|
|
3606
|
+
* Rows to remove from a batch, by id.
|
|
3607
|
+
*/
|
|
3608
|
+
export type DeleteRecipientsRequest = {
|
|
3609
|
+
/**
|
|
3610
|
+
* Recipient Ids
|
|
3611
|
+
*/
|
|
3612
|
+
recipient_ids: Array<string>;
|
|
3613
|
+
};
|
|
3614
|
+
|
|
3642
3615
|
/**
|
|
3643
3616
|
* DeliveryError
|
|
3644
3617
|
*
|
|
@@ -4358,6 +4331,149 @@ export type ExpressiveDialect = {
|
|
|
4358
4331
|
prompt: string;
|
|
4359
4332
|
};
|
|
4360
4333
|
|
|
4334
|
+
/**
|
|
4335
|
+
* FaqDefinition
|
|
4336
|
+
*
|
|
4337
|
+
* An FAQ: a named list of question/answer pairs.
|
|
4338
|
+
*/
|
|
4339
|
+
export type FaqDefinition = {
|
|
4340
|
+
/**
|
|
4341
|
+
* Entries
|
|
4342
|
+
*/
|
|
4343
|
+
entries?: Array<FaqEntryInput>;
|
|
4344
|
+
/**
|
|
4345
|
+
* Name
|
|
4346
|
+
*/
|
|
4347
|
+
name: string;
|
|
4348
|
+
};
|
|
4349
|
+
|
|
4350
|
+
/**
|
|
4351
|
+
* FaqDetail
|
|
4352
|
+
*/
|
|
4353
|
+
export type FaqDetail = {
|
|
4354
|
+
/**
|
|
4355
|
+
* Created At
|
|
4356
|
+
*/
|
|
4357
|
+
created_at: string;
|
|
4358
|
+
/**
|
|
4359
|
+
* Created By
|
|
4360
|
+
*/
|
|
4361
|
+
created_by: string | null;
|
|
4362
|
+
/**
|
|
4363
|
+
* Entries
|
|
4364
|
+
*/
|
|
4365
|
+
entries: Array<FaqEntry>;
|
|
4366
|
+
/**
|
|
4367
|
+
* Entry Count
|
|
4368
|
+
*/
|
|
4369
|
+
entry_count: number;
|
|
4370
|
+
/**
|
|
4371
|
+
* Id
|
|
4372
|
+
*/
|
|
4373
|
+
id: string;
|
|
4374
|
+
/**
|
|
4375
|
+
* Name
|
|
4376
|
+
*/
|
|
4377
|
+
name: string;
|
|
4378
|
+
/**
|
|
4379
|
+
* Updated At
|
|
4380
|
+
*/
|
|
4381
|
+
updated_at: string;
|
|
4382
|
+
};
|
|
4383
|
+
|
|
4384
|
+
/**
|
|
4385
|
+
* FaqEntriesResponse
|
|
4386
|
+
*/
|
|
4387
|
+
export type FaqEntriesResponse = {
|
|
4388
|
+
/**
|
|
4389
|
+
* Entries
|
|
4390
|
+
*/
|
|
4391
|
+
entries: Array<FaqEntry>;
|
|
4392
|
+
};
|
|
4393
|
+
|
|
4394
|
+
/**
|
|
4395
|
+
* FaqEntry
|
|
4396
|
+
*/
|
|
4397
|
+
export type FaqEntry = {
|
|
4398
|
+
/**
|
|
4399
|
+
* Answer
|
|
4400
|
+
*/
|
|
4401
|
+
answer: string;
|
|
4402
|
+
/**
|
|
4403
|
+
* Created At
|
|
4404
|
+
*/
|
|
4405
|
+
created_at: string;
|
|
4406
|
+
/**
|
|
4407
|
+
* Id
|
|
4408
|
+
*/
|
|
4409
|
+
id: string;
|
|
4410
|
+
/**
|
|
4411
|
+
* Question
|
|
4412
|
+
*/
|
|
4413
|
+
question: string;
|
|
4414
|
+
/**
|
|
4415
|
+
* Updated At
|
|
4416
|
+
*/
|
|
4417
|
+
updated_at: string;
|
|
4418
|
+
};
|
|
4419
|
+
|
|
4420
|
+
/**
|
|
4421
|
+
* FaqEntryInput
|
|
4422
|
+
*/
|
|
4423
|
+
export type FaqEntryInput = {
|
|
4424
|
+
/**
|
|
4425
|
+
* Answer
|
|
4426
|
+
*/
|
|
4427
|
+
answer: string;
|
|
4428
|
+
/**
|
|
4429
|
+
* Question
|
|
4430
|
+
*/
|
|
4431
|
+
question: string;
|
|
4432
|
+
};
|
|
4433
|
+
|
|
4434
|
+
/**
|
|
4435
|
+
* FaqSelection
|
|
4436
|
+
*
|
|
4437
|
+
* An FAQ the agent answers from: name one with `faq_id`, or define one inline.
|
|
4438
|
+
*/
|
|
4439
|
+
export type FaqSelection = {
|
|
4440
|
+
faq?: InlineFaq | null;
|
|
4441
|
+
/**
|
|
4442
|
+
* Faq Id
|
|
4443
|
+
*/
|
|
4444
|
+
faq_id?: string | null;
|
|
4445
|
+
};
|
|
4446
|
+
|
|
4447
|
+
/**
|
|
4448
|
+
* FaqSummary
|
|
4449
|
+
*/
|
|
4450
|
+
export type FaqSummary = {
|
|
4451
|
+
/**
|
|
4452
|
+
* Created At
|
|
4453
|
+
*/
|
|
4454
|
+
created_at: string;
|
|
4455
|
+
/**
|
|
4456
|
+
* Created By
|
|
4457
|
+
*/
|
|
4458
|
+
created_by: string | null;
|
|
4459
|
+
/**
|
|
4460
|
+
* Entry Count
|
|
4461
|
+
*/
|
|
4462
|
+
entry_count: number;
|
|
4463
|
+
/**
|
|
4464
|
+
* Id
|
|
4465
|
+
*/
|
|
4466
|
+
id: string;
|
|
4467
|
+
/**
|
|
4468
|
+
* Name
|
|
4469
|
+
*/
|
|
4470
|
+
name: string;
|
|
4471
|
+
/**
|
|
4472
|
+
* Updated At
|
|
4473
|
+
*/
|
|
4474
|
+
updated_at: string;
|
|
4475
|
+
};
|
|
4476
|
+
|
|
4361
4477
|
/**
|
|
4362
4478
|
* FieldMap
|
|
4363
4479
|
*
|
|
@@ -4964,6 +5080,25 @@ export type InboundImage = {
|
|
|
4964
5080
|
filename?: string | null;
|
|
4965
5081
|
};
|
|
4966
5082
|
|
|
5083
|
+
/**
|
|
5084
|
+
* InlineFaq
|
|
5085
|
+
*
|
|
5086
|
+
* An FAQ defined here rather than named.
|
|
5087
|
+
*
|
|
5088
|
+
* On the call endpoints it is used for that call only; on the agent and task
|
|
5089
|
+
* endpoints it is created as a real FAQ.
|
|
5090
|
+
*/
|
|
5091
|
+
export type InlineFaq = {
|
|
5092
|
+
/**
|
|
5093
|
+
* Entries
|
|
5094
|
+
*/
|
|
5095
|
+
entries: Array<FaqEntryInput>;
|
|
5096
|
+
/**
|
|
5097
|
+
* Name
|
|
5098
|
+
*/
|
|
5099
|
+
name: string;
|
|
5100
|
+
};
|
|
5101
|
+
|
|
4967
5102
|
/**
|
|
4968
5103
|
* InlineMcpServer
|
|
4969
5104
|
*
|
|
@@ -5577,408 +5712,99 @@ export type ItemDeliveryUpdatedEvent = {
|
|
|
5577
5712
|
};
|
|
5578
5713
|
|
|
5579
5714
|
/**
|
|
5580
|
-
*
|
|
5715
|
+
* KeypadInputSpec
|
|
5716
|
+
*
|
|
5717
|
+
* Digits the caller types, delivered as a turn the agent can answer.
|
|
5581
5718
|
*
|
|
5582
|
-
*
|
|
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.
|
|
5583
5722
|
*/
|
|
5584
|
-
export type
|
|
5723
|
+
export type KeypadInputSpec = {
|
|
5585
5724
|
/**
|
|
5586
|
-
*
|
|
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.
|
|
5587
5728
|
*/
|
|
5588
|
-
|
|
5729
|
+
enabled?: boolean;
|
|
5589
5730
|
/**
|
|
5590
|
-
*
|
|
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.
|
|
5591
5734
|
*/
|
|
5592
|
-
|
|
5735
|
+
terminator?: '#' | '*' | '';
|
|
5593
5736
|
/**
|
|
5594
|
-
*
|
|
5737
|
+
* Timeout
|
|
5738
|
+
*
|
|
5739
|
+
* Seconds of quiet before an entry is taken as finished. 0 waits for the terminator however long it takes.
|
|
5595
5740
|
*/
|
|
5596
|
-
|
|
5741
|
+
timeout?: number;
|
|
5742
|
+
};
|
|
5743
|
+
|
|
5744
|
+
/**
|
|
5745
|
+
* KeypadInputSpecOverride
|
|
5746
|
+
*
|
|
5747
|
+
* 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.
|
|
5748
|
+
*/
|
|
5749
|
+
export type KeypadInputSpecOverride = {
|
|
5597
5750
|
/**
|
|
5598
|
-
*
|
|
5751
|
+
* Enabled
|
|
5752
|
+
*
|
|
5753
|
+
* 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
5754
|
*/
|
|
5600
|
-
|
|
5755
|
+
enabled?: boolean | null;
|
|
5601
5756
|
/**
|
|
5602
|
-
*
|
|
5757
|
+
* Terminator
|
|
5758
|
+
*
|
|
5759
|
+
* 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
5760
|
*/
|
|
5604
|
-
|
|
5761
|
+
terminator?: '#' | '*' | '' | null;
|
|
5605
5762
|
/**
|
|
5606
|
-
*
|
|
5763
|
+
* Timeout
|
|
5764
|
+
*
|
|
5765
|
+
* Seconds of quiet before an entry is taken as finished. 0 waits for the terminator however long it takes.
|
|
5607
5766
|
*/
|
|
5608
|
-
|
|
5767
|
+
timeout?: number | null;
|
|
5768
|
+
};
|
|
5769
|
+
|
|
5770
|
+
/**
|
|
5771
|
+
* LLMCatalogEntryResponse
|
|
5772
|
+
*/
|
|
5773
|
+
export type LLMCatalogEntryResponse = {
|
|
5609
5774
|
/**
|
|
5610
|
-
*
|
|
5775
|
+
* Base Url
|
|
5611
5776
|
*/
|
|
5612
|
-
|
|
5777
|
+
base_url: string | null;
|
|
5613
5778
|
/**
|
|
5614
|
-
*
|
|
5779
|
+
* Builtin Tools
|
|
5615
5780
|
*/
|
|
5616
|
-
|
|
5781
|
+
builtin_tools: Array<BuiltinTool>;
|
|
5617
5782
|
/**
|
|
5618
|
-
*
|
|
5783
|
+
* Channel
|
|
5619
5784
|
*/
|
|
5620
|
-
|
|
5785
|
+
channel: Array<string>;
|
|
5621
5786
|
/**
|
|
5622
|
-
*
|
|
5787
|
+
* Context Length
|
|
5623
5788
|
*/
|
|
5624
|
-
|
|
5789
|
+
context_length: number | null;
|
|
5625
5790
|
/**
|
|
5626
|
-
*
|
|
5791
|
+
* Label
|
|
5627
5792
|
*/
|
|
5628
|
-
|
|
5629
|
-
[key: string]: string | null;
|
|
5630
|
-
} | null;
|
|
5631
|
-
progress?: KbProgress;
|
|
5793
|
+
label: string | null;
|
|
5632
5794
|
/**
|
|
5633
|
-
*
|
|
5795
|
+
* Logo Url
|
|
5634
5796
|
*/
|
|
5635
|
-
|
|
5797
|
+
logo_url: string | null;
|
|
5636
5798
|
/**
|
|
5637
|
-
*
|
|
5799
|
+
* Model
|
|
5638
5800
|
*/
|
|
5639
|
-
|
|
5801
|
+
model: string;
|
|
5640
5802
|
/**
|
|
5641
|
-
*
|
|
5803
|
+
* Note
|
|
5642
5804
|
*/
|
|
5643
|
-
|
|
5805
|
+
note: string | null;
|
|
5644
5806
|
/**
|
|
5645
|
-
*
|
|
5646
|
-
*/
|
|
5647
|
-
unplaced?: Array<string> | null;
|
|
5648
|
-
/**
|
|
5649
|
-
* Updated At
|
|
5650
|
-
*/
|
|
5651
|
-
updated_at: string;
|
|
5652
|
-
/**
|
|
5653
|
-
* Url Count
|
|
5654
|
-
*/
|
|
5655
|
-
url_count?: number | null;
|
|
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
|
|
5807
|
+
* Pricing
|
|
5982
5808
|
*/
|
|
5983
5809
|
pricing: {
|
|
5984
5810
|
[key: string]: unknown;
|
|
@@ -6501,40 +6327,6 @@ export type ModelRegistryHealth = {
|
|
|
6501
6327
|
models: number;
|
|
6502
6328
|
};
|
|
6503
6329
|
|
|
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
6330
|
/**
|
|
6539
6331
|
* NoiseCancellationCatalogEntryResponse
|
|
6540
6332
|
*/
|
|
@@ -7619,9 +7411,9 @@ export type PageEmailSendResponse = {
|
|
|
7619
7411
|
};
|
|
7620
7412
|
|
|
7621
7413
|
/**
|
|
7622
|
-
* Page[
|
|
7414
|
+
* Page[FaqSummary]
|
|
7623
7415
|
*/
|
|
7624
|
-
export type
|
|
7416
|
+
export type PageFaqSummary = {
|
|
7625
7417
|
/**
|
|
7626
7418
|
* Has More
|
|
7627
7419
|
*/
|
|
@@ -7629,7 +7421,7 @@ export type PageIntegrationCatalogItem = {
|
|
|
7629
7421
|
/**
|
|
7630
7422
|
* Items
|
|
7631
7423
|
*/
|
|
7632
|
-
items: Array<
|
|
7424
|
+
items: Array<FaqSummary>;
|
|
7633
7425
|
/**
|
|
7634
7426
|
* Limit
|
|
7635
7427
|
*/
|
|
@@ -7641,31 +7433,9 @@ export type PageIntegrationCatalogItem = {
|
|
|
7641
7433
|
};
|
|
7642
7434
|
|
|
7643
7435
|
/**
|
|
7644
|
-
* Page[
|
|
7645
|
-
*/
|
|
7646
|
-
export type PageIntegrationResponse = {
|
|
7647
|
-
/**
|
|
7648
|
-
* Has More
|
|
7649
|
-
*/
|
|
7650
|
-
has_more: boolean;
|
|
7651
|
-
/**
|
|
7652
|
-
* Items
|
|
7653
|
-
*/
|
|
7654
|
-
items: Array<IntegrationResponse>;
|
|
7655
|
-
/**
|
|
7656
|
-
* Limit
|
|
7657
|
-
*/
|
|
7658
|
-
limit: number;
|
|
7659
|
-
/**
|
|
7660
|
-
* Offset
|
|
7661
|
-
*/
|
|
7662
|
-
offset: number;
|
|
7663
|
-
};
|
|
7664
|
-
|
|
7665
|
-
/**
|
|
7666
|
-
* Page[IntegrationTriggerResponse]
|
|
7436
|
+
* Page[IntegrationCatalogItem]
|
|
7667
7437
|
*/
|
|
7668
|
-
export type
|
|
7438
|
+
export type PageIntegrationCatalogItem = {
|
|
7669
7439
|
/**
|
|
7670
7440
|
* Has More
|
|
7671
7441
|
*/
|
|
@@ -7673,7 +7443,7 @@ export type PageIntegrationTriggerResponse = {
|
|
|
7673
7443
|
/**
|
|
7674
7444
|
* Items
|
|
7675
7445
|
*/
|
|
7676
|
-
items: Array<
|
|
7446
|
+
items: Array<IntegrationCatalogItem>;
|
|
7677
7447
|
/**
|
|
7678
7448
|
* Limit
|
|
7679
7449
|
*/
|
|
@@ -7685,9 +7455,9 @@ export type PageIntegrationTriggerResponse = {
|
|
|
7685
7455
|
};
|
|
7686
7456
|
|
|
7687
7457
|
/**
|
|
7688
|
-
* Page[
|
|
7458
|
+
* Page[IntegrationResponse]
|
|
7689
7459
|
*/
|
|
7690
|
-
export type
|
|
7460
|
+
export type PageIntegrationResponse = {
|
|
7691
7461
|
/**
|
|
7692
7462
|
* Has More
|
|
7693
7463
|
*/
|
|
@@ -7695,7 +7465,7 @@ export type PageKBPageResponse = {
|
|
|
7695
7465
|
/**
|
|
7696
7466
|
* Items
|
|
7697
7467
|
*/
|
|
7698
|
-
items: Array<
|
|
7468
|
+
items: Array<IntegrationResponse>;
|
|
7699
7469
|
/**
|
|
7700
7470
|
* Limit
|
|
7701
7471
|
*/
|
|
@@ -7707,9 +7477,9 @@ export type PageKBPageResponse = {
|
|
|
7707
7477
|
};
|
|
7708
7478
|
|
|
7709
7479
|
/**
|
|
7710
|
-
* Page[
|
|
7480
|
+
* Page[IntegrationTriggerResponse]
|
|
7711
7481
|
*/
|
|
7712
|
-
export type
|
|
7482
|
+
export type PageIntegrationTriggerResponse = {
|
|
7713
7483
|
/**
|
|
7714
7484
|
* Has More
|
|
7715
7485
|
*/
|
|
@@ -7717,7 +7487,7 @@ export type PageKBSummary = {
|
|
|
7717
7487
|
/**
|
|
7718
7488
|
* Items
|
|
7719
7489
|
*/
|
|
7720
|
-
items: Array<
|
|
7490
|
+
items: Array<IntegrationTriggerResponse>;
|
|
7721
7491
|
/**
|
|
7722
7492
|
* Limit
|
|
7723
7493
|
*/
|
|
@@ -8305,28 +8075,6 @@ export type PatchIntegrationTriggerRequest = {
|
|
|
8305
8075
|
trigger_type?: 'telegram.message.inbound' | 'whatsapp.message.inbound' | 'whatsapp.call.inbound' | null;
|
|
8306
8076
|
};
|
|
8307
8077
|
|
|
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
8078
|
/**
|
|
8331
8079
|
* PatchPhoneNumberRequest
|
|
8332
8080
|
*/
|
|
@@ -8814,24 +8562,6 @@ export type PriorityTier = {
|
|
|
8814
8562
|
value?: string;
|
|
8815
8563
|
};
|
|
8816
8564
|
|
|
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
8565
|
/**
|
|
8836
8566
|
* ProviderEntryResponse
|
|
8837
8567
|
*/
|
|
@@ -8901,7 +8631,7 @@ export type ProviderKeysResponse = {
|
|
|
8901
8631
|
/**
|
|
8902
8632
|
* PublicMessage
|
|
8903
8633
|
*
|
|
8904
|
-
* Dashboard SSE/message payload for one CoPilot
|
|
8634
|
+
* Dashboard SSE/message payload for one CoPilot timeline row.
|
|
8905
8635
|
*/
|
|
8906
8636
|
export type PublicMessage = {
|
|
8907
8637
|
/**
|
|
@@ -10096,28 +9826,6 @@ export type SecretResponse = {
|
|
|
10096
9826
|
value_hint: string;
|
|
10097
9827
|
};
|
|
10098
9828
|
|
|
10099
|
-
/**
|
|
10100
|
-
* SelectRecipientsRequest
|
|
10101
|
-
*
|
|
10102
|
-
* What `skip` and `restore` accept — either shape.
|
|
10103
|
-
*
|
|
10104
|
-
* Both are reversible, which is why both take a bulk shorthand: skipping four
|
|
10105
|
-
* thousand rows is undone by restoring them, and making curation tedious pushes
|
|
10106
|
-
* an operator toward not curating.
|
|
10107
|
-
*/
|
|
10108
|
-
export type SelectRecipientsRequest = {
|
|
10109
|
-
/**
|
|
10110
|
-
* Recipient Ids
|
|
10111
|
-
*/
|
|
10112
|
-
recipient_ids?: Array<string> | null;
|
|
10113
|
-
/**
|
|
10114
|
-
* Selection
|
|
10115
|
-
*
|
|
10116
|
-
* Every row this verb can act on: drafts for skip, rows a person skipped for restore.
|
|
10117
|
-
*/
|
|
10118
|
-
selection?: 'all_eligible' | null;
|
|
10119
|
-
};
|
|
10120
|
-
|
|
10121
9829
|
/**
|
|
10122
9830
|
* SendDtmfConfig
|
|
10123
9831
|
*/
|
|
@@ -11011,17 +10719,17 @@ export type TTSUsageResponse = {
|
|
|
11011
10719
|
*/
|
|
11012
10720
|
export type TaskConfig = {
|
|
11013
10721
|
/**
|
|
11014
|
-
*
|
|
10722
|
+
* Faqs
|
|
11015
10723
|
*
|
|
11016
|
-
*
|
|
10724
|
+
* FAQs the agent answers from: questions go in the prompt, answers are fetched on demand.
|
|
11017
10725
|
*/
|
|
11018
|
-
|
|
10726
|
+
faqs?: Array<FaqSelection>;
|
|
11019
10727
|
/**
|
|
11020
|
-
*
|
|
10728
|
+
* Finish Without Result Description
|
|
11021
10729
|
*
|
|
11022
|
-
*
|
|
10730
|
+
* 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
10731
|
*/
|
|
11024
|
-
|
|
10732
|
+
finish_without_result_description?: string;
|
|
11025
10733
|
llm?: LLMSpec;
|
|
11026
10734
|
/**
|
|
11027
10735
|
* Max Steps
|
|
@@ -11129,17 +10837,17 @@ export type TaskOutputField = {
|
|
|
11129
10837
|
*/
|
|
11130
10838
|
export type TaskPatch = {
|
|
11131
10839
|
/**
|
|
11132
|
-
*
|
|
10840
|
+
* Faqs
|
|
11133
10841
|
*
|
|
11134
|
-
*
|
|
10842
|
+
* FAQs the agent answers from: questions go in the prompt, answers are fetched on demand.
|
|
11135
10843
|
*/
|
|
11136
|
-
|
|
10844
|
+
faqs?: Array<FaqSelection> | null;
|
|
11137
10845
|
/**
|
|
11138
|
-
*
|
|
10846
|
+
* Finish Without Result Description
|
|
11139
10847
|
*
|
|
11140
|
-
*
|
|
10848
|
+
* 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
10849
|
*/
|
|
11142
|
-
|
|
10850
|
+
finish_without_result_description?: string | null;
|
|
11143
10851
|
llm?: LLMSpecOverride | null;
|
|
11144
10852
|
/**
|
|
11145
10853
|
* Max Steps
|
|
@@ -11702,30 +11410,16 @@ export type TimeWindow = {
|
|
|
11702
11410
|
* Days
|
|
11703
11411
|
*
|
|
11704
11412
|
* ISO weekdays the window opens on, 1 = Monday.
|
|
11705
|
-
*/
|
|
11706
|
-
days?: Array<number>;
|
|
11707
|
-
/**
|
|
11708
|
-
* End
|
|
11709
|
-
*/
|
|
11710
|
-
end: string;
|
|
11711
|
-
/**
|
|
11712
|
-
* Start
|
|
11713
|
-
*/
|
|
11714
|
-
start: string;
|
|
11715
|
-
};
|
|
11716
|
-
|
|
11717
|
-
/**
|
|
11718
|
-
* TocResultResponse
|
|
11719
|
-
*/
|
|
11720
|
-
export type TocResultResponse = {
|
|
11413
|
+
*/
|
|
11414
|
+
days?: Array<number>;
|
|
11721
11415
|
/**
|
|
11722
|
-
*
|
|
11416
|
+
* End
|
|
11723
11417
|
*/
|
|
11724
|
-
|
|
11418
|
+
end: string;
|
|
11725
11419
|
/**
|
|
11726
|
-
*
|
|
11420
|
+
* Start
|
|
11727
11421
|
*/
|
|
11728
|
-
|
|
11422
|
+
start: string;
|
|
11729
11423
|
};
|
|
11730
11424
|
|
|
11731
11425
|
/**
|
|
@@ -12193,7 +11887,7 @@ export type TurnMetrics = {
|
|
|
12193
11887
|
/**
|
|
12194
11888
|
* TurnPayload
|
|
12195
11889
|
*
|
|
12196
|
-
* Shared turn lifecycle for tenant conversation
|
|
11890
|
+
* Shared turn lifecycle for tenant conversation and CoPilot SSE.
|
|
12197
11891
|
*
|
|
12198
11892
|
* The `event` field is the discriminator every SSE payload on this API carries:
|
|
12199
11893
|
* it repeats the frame's `event:` line inside the JSON, so a generated client
|
|
@@ -12288,6 +11982,30 @@ export type UpdateAgentRequest = {
|
|
|
12288
11982
|
config: AgentOverride;
|
|
12289
11983
|
};
|
|
12290
11984
|
|
|
11985
|
+
/**
|
|
11986
|
+
* UpdateFaqEntryRequest
|
|
11987
|
+
*/
|
|
11988
|
+
export type UpdateFaqEntryRequest = {
|
|
11989
|
+
/**
|
|
11990
|
+
* Answer
|
|
11991
|
+
*/
|
|
11992
|
+
answer?: string | null;
|
|
11993
|
+
/**
|
|
11994
|
+
* Question
|
|
11995
|
+
*/
|
|
11996
|
+
question?: string | null;
|
|
11997
|
+
};
|
|
11998
|
+
|
|
11999
|
+
/**
|
|
12000
|
+
* UpdateFaqRequest
|
|
12001
|
+
*/
|
|
12002
|
+
export type UpdateFaqRequest = {
|
|
12003
|
+
/**
|
|
12004
|
+
* Name
|
|
12005
|
+
*/
|
|
12006
|
+
name: string;
|
|
12007
|
+
};
|
|
12008
|
+
|
|
12291
12009
|
/**
|
|
12292
12010
|
* UsageResponse
|
|
12293
12011
|
*
|
|
@@ -14389,6 +14107,60 @@ export type CallsBatchesRecipientsAddResults = {
|
|
|
14389
14107
|
|
|
14390
14108
|
export type CallsBatchesRecipientsAddResult = CallsBatchesRecipientsAddResults[keyof CallsBatchesRecipientsAddResults];
|
|
14391
14109
|
|
|
14110
|
+
export type CallsBatchesRecipientsDeleteData = {
|
|
14111
|
+
body: DeleteRecipientsRequest;
|
|
14112
|
+
path: {
|
|
14113
|
+
/**
|
|
14114
|
+
* Batch Id
|
|
14115
|
+
*/
|
|
14116
|
+
batch_id: string;
|
|
14117
|
+
};
|
|
14118
|
+
query?: never;
|
|
14119
|
+
url: '/v1/calls/batches/{batch_id}/recipients/delete';
|
|
14120
|
+
};
|
|
14121
|
+
|
|
14122
|
+
export type CallsBatchesRecipientsDeleteErrors = {
|
|
14123
|
+
/**
|
|
14124
|
+
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
14125
|
+
*/
|
|
14126
|
+
400: ErrorResponse;
|
|
14127
|
+
/**
|
|
14128
|
+
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
14129
|
+
*/
|
|
14130
|
+
401: ErrorResponse;
|
|
14131
|
+
/**
|
|
14132
|
+
* Authenticated, but this organization role may not perform the operation.
|
|
14133
|
+
*/
|
|
14134
|
+
403: ErrorResponse;
|
|
14135
|
+
/**
|
|
14136
|
+
* No such resource in this organization.
|
|
14137
|
+
*/
|
|
14138
|
+
404: ErrorResponse;
|
|
14139
|
+
/**
|
|
14140
|
+
* The resource's current state forbids this — a name already taken, a job already running.
|
|
14141
|
+
*/
|
|
14142
|
+
409: ErrorResponse;
|
|
14143
|
+
/**
|
|
14144
|
+
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
14145
|
+
*/
|
|
14146
|
+
422: ErrorResponse;
|
|
14147
|
+
/**
|
|
14148
|
+
* Unexpected error. Every error this API returns carries this body.
|
|
14149
|
+
*/
|
|
14150
|
+
default: ErrorResponse;
|
|
14151
|
+
};
|
|
14152
|
+
|
|
14153
|
+
export type CallsBatchesRecipientsDeleteError = CallsBatchesRecipientsDeleteErrors[keyof CallsBatchesRecipientsDeleteErrors];
|
|
14154
|
+
|
|
14155
|
+
export type CallsBatchesRecipientsDeleteResults = {
|
|
14156
|
+
/**
|
|
14157
|
+
* Successful Response
|
|
14158
|
+
*/
|
|
14159
|
+
200: RecipientActionResponse;
|
|
14160
|
+
};
|
|
14161
|
+
|
|
14162
|
+
export type CallsBatchesRecipientsDeleteResult = CallsBatchesRecipientsDeleteResults[keyof CallsBatchesRecipientsDeleteResults];
|
|
14163
|
+
|
|
14392
14164
|
export type CallsBatchesResumeData = {
|
|
14393
14165
|
body?: never;
|
|
14394
14166
|
path: {
|
|
@@ -16302,110 +16074,6 @@ export type CopilotAgentsStreamResults = {
|
|
|
16302
16074
|
|
|
16303
16075
|
export type CopilotAgentsStreamResult = CopilotAgentsStreamResults[keyof CopilotAgentsStreamResults];
|
|
16304
16076
|
|
|
16305
|
-
export type CopilotKnowledgeSendData = {
|
|
16306
|
-
body: SendMessageRequest;
|
|
16307
|
-
path: {
|
|
16308
|
-
/**
|
|
16309
|
-
* Kb Id
|
|
16310
|
-
*/
|
|
16311
|
-
kb_id: string;
|
|
16312
|
-
};
|
|
16313
|
-
query?: never;
|
|
16314
|
-
url: '/v1/copilot/knowledge/{kb_id}/messages';
|
|
16315
|
-
};
|
|
16316
|
-
|
|
16317
|
-
export type CopilotKnowledgeSendErrors = {
|
|
16318
|
-
/**
|
|
16319
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
16320
|
-
*/
|
|
16321
|
-
400: ErrorResponse;
|
|
16322
|
-
/**
|
|
16323
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
16324
|
-
*/
|
|
16325
|
-
401: ErrorResponse;
|
|
16326
|
-
/**
|
|
16327
|
-
* Authenticated, but this organization role may not perform the operation.
|
|
16328
|
-
*/
|
|
16329
|
-
403: ErrorResponse;
|
|
16330
|
-
/**
|
|
16331
|
-
* No such resource in this organization.
|
|
16332
|
-
*/
|
|
16333
|
-
404: ErrorResponse;
|
|
16334
|
-
/**
|
|
16335
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
16336
|
-
*/
|
|
16337
|
-
409: ErrorResponse;
|
|
16338
|
-
/**
|
|
16339
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
16340
|
-
*/
|
|
16341
|
-
422: ErrorResponse;
|
|
16342
|
-
/**
|
|
16343
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
16344
|
-
*/
|
|
16345
|
-
default: ErrorResponse;
|
|
16346
|
-
};
|
|
16347
|
-
|
|
16348
|
-
export type CopilotKnowledgeSendError = CopilotKnowledgeSendErrors[keyof CopilotKnowledgeSendErrors];
|
|
16349
|
-
|
|
16350
|
-
export type CopilotKnowledgeSendResults = {
|
|
16351
|
-
/**
|
|
16352
|
-
* Successful Response
|
|
16353
|
-
*/
|
|
16354
|
-
200: SendMessageResponse;
|
|
16355
|
-
};
|
|
16356
|
-
|
|
16357
|
-
export type CopilotKnowledgeSendResult = CopilotKnowledgeSendResults[keyof CopilotKnowledgeSendResults];
|
|
16358
|
-
|
|
16359
|
-
export type CopilotKnowledgeStreamData = {
|
|
16360
|
-
body?: never;
|
|
16361
|
-
path: {
|
|
16362
|
-
/**
|
|
16363
|
-
* Kb Id
|
|
16364
|
-
*/
|
|
16365
|
-
kb_id: string;
|
|
16366
|
-
};
|
|
16367
|
-
query?: never;
|
|
16368
|
-
url: '/v1/copilot/knowledge/{kb_id}/stream';
|
|
16369
|
-
};
|
|
16370
|
-
|
|
16371
|
-
export type CopilotKnowledgeStreamErrors = {
|
|
16372
|
-
/**
|
|
16373
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
16374
|
-
*/
|
|
16375
|
-
401: ErrorResponse;
|
|
16376
|
-
/**
|
|
16377
|
-
* No such resource in this organization.
|
|
16378
|
-
*/
|
|
16379
|
-
404: ErrorResponse;
|
|
16380
|
-
/**
|
|
16381
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
16382
|
-
*/
|
|
16383
|
-
422: ErrorResponse;
|
|
16384
|
-
/**
|
|
16385
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
16386
|
-
*/
|
|
16387
|
-
default: ErrorResponse;
|
|
16388
|
-
};
|
|
16389
|
-
|
|
16390
|
-
export type CopilotKnowledgeStreamError = CopilotKnowledgeStreamErrors[keyof CopilotKnowledgeStreamErrors];
|
|
16391
|
-
|
|
16392
|
-
export type CopilotKnowledgeStreamResults = {
|
|
16393
|
-
/**
|
|
16394
|
-
* Response 200 Copilot.Knowledge.Stream
|
|
16395
|
-
*
|
|
16396
|
-
* 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
|
-
*/
|
|
16398
|
-
200: ({
|
|
16399
|
-
event: 'snapshot';
|
|
16400
|
-
} & CopilotSnapshotEvent) | ({
|
|
16401
|
-
event: 'message';
|
|
16402
|
-
} & CopilotMessageEvent) | ({
|
|
16403
|
-
event: 'turn';
|
|
16404
|
-
} & TurnPayload);
|
|
16405
|
-
};
|
|
16406
|
-
|
|
16407
|
-
export type CopilotKnowledgeStreamResult = CopilotKnowledgeStreamResults[keyof CopilotKnowledgeStreamResults];
|
|
16408
|
-
|
|
16409
16077
|
export type CopilotTasksSendData = {
|
|
16410
16078
|
body: SendMessageRequest;
|
|
16411
16079
|
path: {
|
|
@@ -17072,23 +16740,19 @@ export type EmailBatchesRecipientsAddResults = {
|
|
|
17072
16740
|
|
|
17073
16741
|
export type EmailBatchesRecipientsAddResult = EmailBatchesRecipientsAddResults[keyof EmailBatchesRecipientsAddResults];
|
|
17074
16742
|
|
|
17075
|
-
export type
|
|
17076
|
-
body:
|
|
16743
|
+
export type EmailBatchesRecipientsDeleteData = {
|
|
16744
|
+
body: DeleteRecipientsRequest;
|
|
17077
16745
|
path: {
|
|
17078
16746
|
/**
|
|
17079
16747
|
* Batch Id
|
|
17080
16748
|
*/
|
|
17081
16749
|
batch_id: string;
|
|
17082
|
-
/**
|
|
17083
|
-
* Recipient Id
|
|
17084
|
-
*/
|
|
17085
|
-
recipient_id: string;
|
|
17086
16750
|
};
|
|
17087
16751
|
query?: never;
|
|
17088
|
-
url: '/v1/email/batches/{batch_id}/recipients/
|
|
16752
|
+
url: '/v1/email/batches/{batch_id}/recipients/delete';
|
|
17089
16753
|
};
|
|
17090
16754
|
|
|
17091
|
-
export type
|
|
16755
|
+
export type EmailBatchesRecipientsDeleteErrors = {
|
|
17092
16756
|
/**
|
|
17093
16757
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
17094
16758
|
*/
|
|
@@ -17119,30 +16783,34 @@ export type EmailBatchesRecipientsUpdateErrors = {
|
|
|
17119
16783
|
default: ErrorResponse;
|
|
17120
16784
|
};
|
|
17121
16785
|
|
|
17122
|
-
export type
|
|
16786
|
+
export type EmailBatchesRecipientsDeleteError = EmailBatchesRecipientsDeleteErrors[keyof EmailBatchesRecipientsDeleteErrors];
|
|
17123
16787
|
|
|
17124
|
-
export type
|
|
16788
|
+
export type EmailBatchesRecipientsDeleteResults = {
|
|
17125
16789
|
/**
|
|
17126
16790
|
* Successful Response
|
|
17127
16791
|
*/
|
|
17128
|
-
200:
|
|
16792
|
+
200: RecipientActionResponse;
|
|
17129
16793
|
};
|
|
17130
16794
|
|
|
17131
|
-
export type
|
|
16795
|
+
export type EmailBatchesRecipientsDeleteResult = EmailBatchesRecipientsDeleteResults[keyof EmailBatchesRecipientsDeleteResults];
|
|
17132
16796
|
|
|
17133
|
-
export type
|
|
17134
|
-
body:
|
|
16797
|
+
export type EmailBatchesRecipientsUpdateData = {
|
|
16798
|
+
body: PatchEmailRecipientRequest;
|
|
17135
16799
|
path: {
|
|
17136
16800
|
/**
|
|
17137
16801
|
* Batch Id
|
|
17138
16802
|
*/
|
|
17139
16803
|
batch_id: string;
|
|
16804
|
+
/**
|
|
16805
|
+
* Recipient Id
|
|
16806
|
+
*/
|
|
16807
|
+
recipient_id: string;
|
|
17140
16808
|
};
|
|
17141
16809
|
query?: never;
|
|
17142
|
-
url: '/v1/email/batches/{batch_id}/
|
|
16810
|
+
url: '/v1/email/batches/{batch_id}/recipients/{recipient_id}';
|
|
17143
16811
|
};
|
|
17144
16812
|
|
|
17145
|
-
export type
|
|
16813
|
+
export type EmailBatchesRecipientsUpdateErrors = {
|
|
17146
16814
|
/**
|
|
17147
16815
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
17148
16816
|
*/
|
|
@@ -17173,19 +16841,19 @@ export type EmailBatchesRecipientsRedraftErrors = {
|
|
|
17173
16841
|
default: ErrorResponse;
|
|
17174
16842
|
};
|
|
17175
16843
|
|
|
17176
|
-
export type
|
|
16844
|
+
export type EmailBatchesRecipientsUpdateError = EmailBatchesRecipientsUpdateErrors[keyof EmailBatchesRecipientsUpdateErrors];
|
|
17177
16845
|
|
|
17178
|
-
export type
|
|
16846
|
+
export type EmailBatchesRecipientsUpdateResults = {
|
|
17179
16847
|
/**
|
|
17180
16848
|
* Successful Response
|
|
17181
16849
|
*/
|
|
17182
|
-
200:
|
|
16850
|
+
200: EmailRecipientResponse;
|
|
17183
16851
|
};
|
|
17184
16852
|
|
|
17185
|
-
export type
|
|
16853
|
+
export type EmailBatchesRecipientsUpdateResult = EmailBatchesRecipientsUpdateResults[keyof EmailBatchesRecipientsUpdateResults];
|
|
17186
16854
|
|
|
17187
|
-
export type
|
|
17188
|
-
body:
|
|
16855
|
+
export type EmailBatchesRecipientsRedraftData = {
|
|
16856
|
+
body: RedraftRequest;
|
|
17189
16857
|
path: {
|
|
17190
16858
|
/**
|
|
17191
16859
|
* Batch Id
|
|
@@ -17193,10 +16861,10 @@ export type EmailBatchesRecipientsRestoreData = {
|
|
|
17193
16861
|
batch_id: string;
|
|
17194
16862
|
};
|
|
17195
16863
|
query?: never;
|
|
17196
|
-
url: '/v1/email/batches/{batch_id}/
|
|
16864
|
+
url: '/v1/email/batches/{batch_id}/redraft';
|
|
17197
16865
|
};
|
|
17198
16866
|
|
|
17199
|
-
export type
|
|
16867
|
+
export type EmailBatchesRecipientsRedraftErrors = {
|
|
17200
16868
|
/**
|
|
17201
16869
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
17202
16870
|
*/
|
|
@@ -17227,16 +16895,16 @@ export type EmailBatchesRecipientsRestoreErrors = {
|
|
|
17227
16895
|
default: ErrorResponse;
|
|
17228
16896
|
};
|
|
17229
16897
|
|
|
17230
|
-
export type
|
|
16898
|
+
export type EmailBatchesRecipientsRedraftError = EmailBatchesRecipientsRedraftErrors[keyof EmailBatchesRecipientsRedraftErrors];
|
|
17231
16899
|
|
|
17232
|
-
export type
|
|
16900
|
+
export type EmailBatchesRecipientsRedraftResults = {
|
|
17233
16901
|
/**
|
|
17234
16902
|
* Successful Response
|
|
17235
16903
|
*/
|
|
17236
16904
|
200: RecipientActionResponse;
|
|
17237
16905
|
};
|
|
17238
16906
|
|
|
17239
|
-
export type
|
|
16907
|
+
export type EmailBatchesRecipientsRedraftResult = EmailBatchesRecipientsRedraftResults[keyof EmailBatchesRecipientsRedraftResults];
|
|
17240
16908
|
|
|
17241
16909
|
export type EmailBatchesResumeData = {
|
|
17242
16910
|
body?: never;
|
|
@@ -17615,79 +17283,25 @@ export type EmailBatchesSendsPauseResults = {
|
|
|
17615
17283
|
200: EmailSendResponse;
|
|
17616
17284
|
};
|
|
17617
17285
|
|
|
17618
|
-
export type EmailBatchesSendsPauseResult = EmailBatchesSendsPauseResults[keyof EmailBatchesSendsPauseResults];
|
|
17619
|
-
|
|
17620
|
-
export type EmailBatchesSendsResumeData = {
|
|
17621
|
-
body?: never;
|
|
17622
|
-
path: {
|
|
17623
|
-
/**
|
|
17624
|
-
* Batch Id
|
|
17625
|
-
*/
|
|
17626
|
-
batch_id: string;
|
|
17627
|
-
/**
|
|
17628
|
-
* Send Id
|
|
17629
|
-
*/
|
|
17630
|
-
send_id: string;
|
|
17631
|
-
};
|
|
17632
|
-
query?: never;
|
|
17633
|
-
url: '/v1/email/batches/{batch_id}/sends/{send_id}/resume';
|
|
17634
|
-
};
|
|
17635
|
-
|
|
17636
|
-
export type EmailBatchesSendsResumeErrors = {
|
|
17637
|
-
/**
|
|
17638
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
17639
|
-
*/
|
|
17640
|
-
400: ErrorResponse;
|
|
17641
|
-
/**
|
|
17642
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
17643
|
-
*/
|
|
17644
|
-
401: ErrorResponse;
|
|
17645
|
-
/**
|
|
17646
|
-
* Authenticated, but this organization role may not perform the operation.
|
|
17647
|
-
*/
|
|
17648
|
-
403: ErrorResponse;
|
|
17649
|
-
/**
|
|
17650
|
-
* No such resource in this organization.
|
|
17651
|
-
*/
|
|
17652
|
-
404: ErrorResponse;
|
|
17653
|
-
/**
|
|
17654
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
17655
|
-
*/
|
|
17656
|
-
409: ErrorResponse;
|
|
17657
|
-
/**
|
|
17658
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
17659
|
-
*/
|
|
17660
|
-
422: ErrorResponse;
|
|
17661
|
-
/**
|
|
17662
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
17663
|
-
*/
|
|
17664
|
-
default: ErrorResponse;
|
|
17665
|
-
};
|
|
17666
|
-
|
|
17667
|
-
export type EmailBatchesSendsResumeError = EmailBatchesSendsResumeErrors[keyof EmailBatchesSendsResumeErrors];
|
|
17668
|
-
|
|
17669
|
-
export type EmailBatchesSendsResumeResults = {
|
|
17670
|
-
/**
|
|
17671
|
-
* Successful Response
|
|
17672
|
-
*/
|
|
17673
|
-
200: EmailSendResponse;
|
|
17674
|
-
};
|
|
17675
|
-
|
|
17676
|
-
export type EmailBatchesSendsResumeResult = EmailBatchesSendsResumeResults[keyof EmailBatchesSendsResumeResults];
|
|
17286
|
+
export type EmailBatchesSendsPauseResult = EmailBatchesSendsPauseResults[keyof EmailBatchesSendsPauseResults];
|
|
17677
17287
|
|
|
17678
|
-
export type
|
|
17679
|
-
body
|
|
17288
|
+
export type EmailBatchesSendsResumeData = {
|
|
17289
|
+
body?: never;
|
|
17680
17290
|
path: {
|
|
17681
17291
|
/**
|
|
17682
17292
|
* Batch Id
|
|
17683
17293
|
*/
|
|
17684
17294
|
batch_id: string;
|
|
17295
|
+
/**
|
|
17296
|
+
* Send Id
|
|
17297
|
+
*/
|
|
17298
|
+
send_id: string;
|
|
17685
17299
|
};
|
|
17686
17300
|
query?: never;
|
|
17687
|
-
url: '/v1/email/batches/{batch_id}/
|
|
17301
|
+
url: '/v1/email/batches/{batch_id}/sends/{send_id}/resume';
|
|
17688
17302
|
};
|
|
17689
17303
|
|
|
17690
|
-
export type
|
|
17304
|
+
export type EmailBatchesSendsResumeErrors = {
|
|
17691
17305
|
/**
|
|
17692
17306
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
17693
17307
|
*/
|
|
@@ -17718,16 +17332,16 @@ export type EmailBatchesRecipientsSkipErrors = {
|
|
|
17718
17332
|
default: ErrorResponse;
|
|
17719
17333
|
};
|
|
17720
17334
|
|
|
17721
|
-
export type
|
|
17335
|
+
export type EmailBatchesSendsResumeError = EmailBatchesSendsResumeErrors[keyof EmailBatchesSendsResumeErrors];
|
|
17722
17336
|
|
|
17723
|
-
export type
|
|
17337
|
+
export type EmailBatchesSendsResumeResults = {
|
|
17724
17338
|
/**
|
|
17725
17339
|
* Successful Response
|
|
17726
17340
|
*/
|
|
17727
|
-
200:
|
|
17341
|
+
200: EmailSendResponse;
|
|
17728
17342
|
};
|
|
17729
17343
|
|
|
17730
|
-
export type
|
|
17344
|
+
export type EmailBatchesSendsResumeResult = EmailBatchesSendsResumeResults[keyof EmailBatchesSendsResumeResults];
|
|
17731
17345
|
|
|
17732
17346
|
export type EmailSendersListData = {
|
|
17733
17347
|
body?: never;
|
|
@@ -17769,7 +17383,7 @@ export type EmailSendersListResults = {
|
|
|
17769
17383
|
|
|
17770
17384
|
export type EmailSendersListResult = EmailSendersListResults[keyof EmailSendersListResults];
|
|
17771
17385
|
|
|
17772
|
-
export type
|
|
17386
|
+
export type FaqsListData = {
|
|
17773
17387
|
body?: never;
|
|
17774
17388
|
path?: never;
|
|
17775
17389
|
query?: {
|
|
@@ -17782,10 +17396,10 @@ export type IntegrationsListData = {
|
|
|
17782
17396
|
*/
|
|
17783
17397
|
offset?: number;
|
|
17784
17398
|
};
|
|
17785
|
-
url: '/v1/
|
|
17399
|
+
url: '/v1/faqs';
|
|
17786
17400
|
};
|
|
17787
17401
|
|
|
17788
|
-
export type
|
|
17402
|
+
export type FaqsListErrors = {
|
|
17789
17403
|
/**
|
|
17790
17404
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
17791
17405
|
*/
|
|
@@ -17800,25 +17414,25 @@ export type IntegrationsListErrors = {
|
|
|
17800
17414
|
default: ErrorResponse;
|
|
17801
17415
|
};
|
|
17802
17416
|
|
|
17803
|
-
export type
|
|
17417
|
+
export type FaqsListError = FaqsListErrors[keyof FaqsListErrors];
|
|
17804
17418
|
|
|
17805
|
-
export type
|
|
17419
|
+
export type FaqsListResults = {
|
|
17806
17420
|
/**
|
|
17807
17421
|
* Successful Response
|
|
17808
17422
|
*/
|
|
17809
|
-
200:
|
|
17423
|
+
200: PageFaqSummary;
|
|
17810
17424
|
};
|
|
17811
17425
|
|
|
17812
|
-
export type
|
|
17426
|
+
export type FaqsListResult = FaqsListResults[keyof FaqsListResults];
|
|
17813
17427
|
|
|
17814
|
-
export type
|
|
17815
|
-
body:
|
|
17428
|
+
export type FaqsCreateData = {
|
|
17429
|
+
body: FaqDefinition;
|
|
17816
17430
|
path?: never;
|
|
17817
17431
|
query?: never;
|
|
17818
|
-
url: '/v1/
|
|
17432
|
+
url: '/v1/faqs';
|
|
17819
17433
|
};
|
|
17820
17434
|
|
|
17821
|
-
export type
|
|
17435
|
+
export type FaqsCreateErrors = {
|
|
17822
17436
|
/**
|
|
17823
17437
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
17824
17438
|
*/
|
|
@@ -17845,72 +17459,30 @@ export type IntegrationsCreateErrors = {
|
|
|
17845
17459
|
default: ErrorResponse;
|
|
17846
17460
|
};
|
|
17847
17461
|
|
|
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];
|
|
17462
|
+
export type FaqsCreateError = FaqsCreateErrors[keyof FaqsCreateErrors];
|
|
17891
17463
|
|
|
17892
|
-
export type
|
|
17464
|
+
export type FaqsCreateResults = {
|
|
17893
17465
|
/**
|
|
17894
17466
|
* Successful Response
|
|
17895
17467
|
*/
|
|
17896
|
-
|
|
17468
|
+
201: FaqDetail;
|
|
17897
17469
|
};
|
|
17898
17470
|
|
|
17899
|
-
export type
|
|
17471
|
+
export type FaqsCreateResult = FaqsCreateResults[keyof FaqsCreateResults];
|
|
17900
17472
|
|
|
17901
|
-
export type
|
|
17473
|
+
export type FaqsDeleteData = {
|
|
17902
17474
|
body?: never;
|
|
17903
17475
|
path: {
|
|
17904
17476
|
/**
|
|
17905
|
-
*
|
|
17477
|
+
* Faq Id
|
|
17906
17478
|
*/
|
|
17907
|
-
|
|
17479
|
+
faq_id: string;
|
|
17908
17480
|
};
|
|
17909
17481
|
query?: never;
|
|
17910
|
-
url: '/v1/
|
|
17482
|
+
url: '/v1/faqs/{faq_id}';
|
|
17911
17483
|
};
|
|
17912
17484
|
|
|
17913
|
-
export type
|
|
17485
|
+
export type FaqsDeleteErrors = {
|
|
17914
17486
|
/**
|
|
17915
17487
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
17916
17488
|
*/
|
|
@@ -17941,30 +17513,30 @@ export type IntegrationsDeleteErrors = {
|
|
|
17941
17513
|
default: ErrorResponse;
|
|
17942
17514
|
};
|
|
17943
17515
|
|
|
17944
|
-
export type
|
|
17516
|
+
export type FaqsDeleteError = FaqsDeleteErrors[keyof FaqsDeleteErrors];
|
|
17945
17517
|
|
|
17946
|
-
export type
|
|
17518
|
+
export type FaqsDeleteResults = {
|
|
17947
17519
|
/**
|
|
17948
17520
|
* Successful Response
|
|
17949
17521
|
*/
|
|
17950
17522
|
200: OkResponse;
|
|
17951
17523
|
};
|
|
17952
17524
|
|
|
17953
|
-
export type
|
|
17525
|
+
export type FaqsDeleteResult = FaqsDeleteResults[keyof FaqsDeleteResults];
|
|
17954
17526
|
|
|
17955
|
-
export type
|
|
17527
|
+
export type FaqsGetData = {
|
|
17956
17528
|
body?: never;
|
|
17957
17529
|
path: {
|
|
17958
17530
|
/**
|
|
17959
|
-
*
|
|
17531
|
+
* Faq Id
|
|
17960
17532
|
*/
|
|
17961
|
-
|
|
17533
|
+
faq_id: string;
|
|
17962
17534
|
};
|
|
17963
17535
|
query?: never;
|
|
17964
|
-
url: '/v1/
|
|
17536
|
+
url: '/v1/faqs/{faq_id}';
|
|
17965
17537
|
};
|
|
17966
17538
|
|
|
17967
|
-
export type
|
|
17539
|
+
export type FaqsGetErrors = {
|
|
17968
17540
|
/**
|
|
17969
17541
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
17970
17542
|
*/
|
|
@@ -17983,30 +17555,30 @@ export type IntegrationsGetErrors = {
|
|
|
17983
17555
|
default: ErrorResponse;
|
|
17984
17556
|
};
|
|
17985
17557
|
|
|
17986
|
-
export type
|
|
17558
|
+
export type FaqsGetError = FaqsGetErrors[keyof FaqsGetErrors];
|
|
17987
17559
|
|
|
17988
|
-
export type
|
|
17560
|
+
export type FaqsGetResults = {
|
|
17989
17561
|
/**
|
|
17990
17562
|
* Successful Response
|
|
17991
17563
|
*/
|
|
17992
|
-
200:
|
|
17564
|
+
200: FaqDetail;
|
|
17993
17565
|
};
|
|
17994
17566
|
|
|
17995
|
-
export type
|
|
17567
|
+
export type FaqsGetResult = FaqsGetResults[keyof FaqsGetResults];
|
|
17996
17568
|
|
|
17997
|
-
export type
|
|
17998
|
-
body:
|
|
17569
|
+
export type FaqsUpdateData = {
|
|
17570
|
+
body: UpdateFaqRequest;
|
|
17999
17571
|
path: {
|
|
18000
17572
|
/**
|
|
18001
|
-
*
|
|
17573
|
+
* Faq Id
|
|
18002
17574
|
*/
|
|
18003
|
-
|
|
17575
|
+
faq_id: string;
|
|
18004
17576
|
};
|
|
18005
17577
|
query?: never;
|
|
18006
|
-
url: '/v1/
|
|
17578
|
+
url: '/v1/faqs/{faq_id}';
|
|
18007
17579
|
};
|
|
18008
17580
|
|
|
18009
|
-
export type
|
|
17581
|
+
export type FaqsUpdateErrors = {
|
|
18010
17582
|
/**
|
|
18011
17583
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18012
17584
|
*/
|
|
@@ -18037,123 +17609,30 @@ export type IntegrationsUpdateErrors = {
|
|
|
18037
17609
|
default: ErrorResponse;
|
|
18038
17610
|
};
|
|
18039
17611
|
|
|
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];
|
|
17612
|
+
export type FaqsUpdateError = FaqsUpdateErrors[keyof FaqsUpdateErrors];
|
|
18134
17613
|
|
|
18135
|
-
export type
|
|
17614
|
+
export type FaqsUpdateResults = {
|
|
18136
17615
|
/**
|
|
18137
17616
|
* Successful Response
|
|
18138
17617
|
*/
|
|
18139
|
-
200:
|
|
17618
|
+
200: FaqSummary;
|
|
18140
17619
|
};
|
|
18141
17620
|
|
|
18142
|
-
export type
|
|
17621
|
+
export type FaqsUpdateResult = FaqsUpdateResults[keyof FaqsUpdateResults];
|
|
18143
17622
|
|
|
18144
|
-
export type
|
|
18145
|
-
body:
|
|
17623
|
+
export type FaqsEntriesCreateData = {
|
|
17624
|
+
body: CreateFaqEntriesRequest;
|
|
18146
17625
|
path: {
|
|
18147
17626
|
/**
|
|
18148
|
-
*
|
|
17627
|
+
* Faq Id
|
|
18149
17628
|
*/
|
|
18150
|
-
|
|
17629
|
+
faq_id: string;
|
|
18151
17630
|
};
|
|
18152
17631
|
query?: never;
|
|
18153
|
-
url: '/v1/
|
|
17632
|
+
url: '/v1/faqs/{faq_id}/entries';
|
|
18154
17633
|
};
|
|
18155
17634
|
|
|
18156
|
-
export type
|
|
17635
|
+
export type FaqsEntriesCreateErrors = {
|
|
18157
17636
|
/**
|
|
18158
17637
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18159
17638
|
*/
|
|
@@ -18184,34 +17663,34 @@ export type IntegrationsTriggersCreateErrors = {
|
|
|
18184
17663
|
default: ErrorResponse;
|
|
18185
17664
|
};
|
|
18186
17665
|
|
|
18187
|
-
export type
|
|
17666
|
+
export type FaqsEntriesCreateError = FaqsEntriesCreateErrors[keyof FaqsEntriesCreateErrors];
|
|
18188
17667
|
|
|
18189
|
-
export type
|
|
17668
|
+
export type FaqsEntriesCreateResults = {
|
|
18190
17669
|
/**
|
|
18191
17670
|
* Successful Response
|
|
18192
17671
|
*/
|
|
18193
|
-
201:
|
|
17672
|
+
201: FaqEntriesResponse;
|
|
18194
17673
|
};
|
|
18195
17674
|
|
|
18196
|
-
export type
|
|
17675
|
+
export type FaqsEntriesCreateResult = FaqsEntriesCreateResults[keyof FaqsEntriesCreateResults];
|
|
18197
17676
|
|
|
18198
|
-
export type
|
|
17677
|
+
export type FaqsEntriesDeleteData = {
|
|
18199
17678
|
body?: never;
|
|
18200
17679
|
path: {
|
|
18201
17680
|
/**
|
|
18202
|
-
*
|
|
17681
|
+
* Faq Id
|
|
18203
17682
|
*/
|
|
18204
|
-
|
|
17683
|
+
faq_id: string;
|
|
18205
17684
|
/**
|
|
18206
|
-
*
|
|
17685
|
+
* Entry Id
|
|
18207
17686
|
*/
|
|
18208
|
-
|
|
17687
|
+
entry_id: string;
|
|
18209
17688
|
};
|
|
18210
17689
|
query?: never;
|
|
18211
|
-
url: '/v1/
|
|
17690
|
+
url: '/v1/faqs/{faq_id}/entries/{entry_id}';
|
|
18212
17691
|
};
|
|
18213
17692
|
|
|
18214
|
-
export type
|
|
17693
|
+
export type FaqsEntriesDeleteErrors = {
|
|
18215
17694
|
/**
|
|
18216
17695
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18217
17696
|
*/
|
|
@@ -18242,34 +17721,34 @@ export type IntegrationsTriggersDeleteErrors = {
|
|
|
18242
17721
|
default: ErrorResponse;
|
|
18243
17722
|
};
|
|
18244
17723
|
|
|
18245
|
-
export type
|
|
17724
|
+
export type FaqsEntriesDeleteError = FaqsEntriesDeleteErrors[keyof FaqsEntriesDeleteErrors];
|
|
18246
17725
|
|
|
18247
|
-
export type
|
|
17726
|
+
export type FaqsEntriesDeleteResults = {
|
|
18248
17727
|
/**
|
|
18249
17728
|
* Successful Response
|
|
18250
17729
|
*/
|
|
18251
17730
|
200: OkResponse;
|
|
18252
17731
|
};
|
|
18253
17732
|
|
|
18254
|
-
export type
|
|
17733
|
+
export type FaqsEntriesDeleteResult = FaqsEntriesDeleteResults[keyof FaqsEntriesDeleteResults];
|
|
18255
17734
|
|
|
18256
|
-
export type
|
|
18257
|
-
body:
|
|
17735
|
+
export type FaqsEntriesUpdateData = {
|
|
17736
|
+
body: UpdateFaqEntryRequest;
|
|
18258
17737
|
path: {
|
|
18259
17738
|
/**
|
|
18260
|
-
*
|
|
17739
|
+
* Faq Id
|
|
18261
17740
|
*/
|
|
18262
|
-
|
|
17741
|
+
faq_id: string;
|
|
18263
17742
|
/**
|
|
18264
|
-
*
|
|
17743
|
+
* Entry Id
|
|
18265
17744
|
*/
|
|
18266
|
-
|
|
17745
|
+
entry_id: string;
|
|
18267
17746
|
};
|
|
18268
17747
|
query?: never;
|
|
18269
|
-
url: '/v1/
|
|
17748
|
+
url: '/v1/faqs/{faq_id}/entries/{entry_id}';
|
|
18270
17749
|
};
|
|
18271
17750
|
|
|
18272
|
-
export type
|
|
17751
|
+
export type FaqsEntriesUpdateErrors = {
|
|
18273
17752
|
/**
|
|
18274
17753
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18275
17754
|
*/
|
|
@@ -18300,18 +17779,18 @@ export type IntegrationsTriggersUpdateErrors = {
|
|
|
18300
17779
|
default: ErrorResponse;
|
|
18301
17780
|
};
|
|
18302
17781
|
|
|
18303
|
-
export type
|
|
17782
|
+
export type FaqsEntriesUpdateError = FaqsEntriesUpdateErrors[keyof FaqsEntriesUpdateErrors];
|
|
18304
17783
|
|
|
18305
|
-
export type
|
|
17784
|
+
export type FaqsEntriesUpdateResults = {
|
|
18306
17785
|
/**
|
|
18307
17786
|
* Successful Response
|
|
18308
17787
|
*/
|
|
18309
|
-
200:
|
|
17788
|
+
200: FaqEntry;
|
|
18310
17789
|
};
|
|
18311
17790
|
|
|
18312
|
-
export type
|
|
17791
|
+
export type FaqsEntriesUpdateResult = FaqsEntriesUpdateResults[keyof FaqsEntriesUpdateResults];
|
|
18313
17792
|
|
|
18314
|
-
export type
|
|
17793
|
+
export type IntegrationsListData = {
|
|
18315
17794
|
body?: never;
|
|
18316
17795
|
path?: never;
|
|
18317
17796
|
query?: {
|
|
@@ -18324,59 +17803,14 @@ export type KnowledgeListData = {
|
|
|
18324
17803
|
*/
|
|
18325
17804
|
offset?: number;
|
|
18326
17805
|
};
|
|
18327
|
-
url: '/v1/
|
|
18328
|
-
};
|
|
18329
|
-
|
|
18330
|
-
export type KnowledgeListErrors = {
|
|
18331
|
-
/**
|
|
18332
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
18333
|
-
*/
|
|
18334
|
-
401: ErrorResponse;
|
|
18335
|
-
/**
|
|
18336
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
18337
|
-
*/
|
|
18338
|
-
422: ErrorResponse;
|
|
18339
|
-
/**
|
|
18340
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
18341
|
-
*/
|
|
18342
|
-
default: ErrorResponse;
|
|
18343
|
-
};
|
|
18344
|
-
|
|
18345
|
-
export type KnowledgeListError = KnowledgeListErrors[keyof KnowledgeListErrors];
|
|
18346
|
-
|
|
18347
|
-
export type KnowledgeListResults = {
|
|
18348
|
-
/**
|
|
18349
|
-
* Successful Response
|
|
18350
|
-
*/
|
|
18351
|
-
200: PageKBSummary;
|
|
18352
|
-
};
|
|
18353
|
-
|
|
18354
|
-
export type KnowledgeListResult = KnowledgeListResults[keyof KnowledgeListResults];
|
|
18355
|
-
|
|
18356
|
-
export type KnowledgeCreateData = {
|
|
18357
|
-
body: CreateKBRequest;
|
|
18358
|
-
path?: never;
|
|
18359
|
-
query?: never;
|
|
18360
|
-
url: '/v1/knowledge';
|
|
17806
|
+
url: '/v1/integrations';
|
|
18361
17807
|
};
|
|
18362
|
-
|
|
18363
|
-
export type
|
|
18364
|
-
/**
|
|
18365
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18366
|
-
*/
|
|
18367
|
-
400: ErrorResponse;
|
|
17808
|
+
|
|
17809
|
+
export type IntegrationsListErrors = {
|
|
18368
17810
|
/**
|
|
18369
17811
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
18370
17812
|
*/
|
|
18371
17813
|
401: ErrorResponse;
|
|
18372
|
-
/**
|
|
18373
|
-
* Authenticated, but this organization role may not perform the operation.
|
|
18374
|
-
*/
|
|
18375
|
-
403: ErrorResponse;
|
|
18376
|
-
/**
|
|
18377
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
18378
|
-
*/
|
|
18379
|
-
409: ErrorResponse;
|
|
18380
17814
|
/**
|
|
18381
17815
|
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
18382
17816
|
*/
|
|
@@ -18387,30 +17821,25 @@ export type KnowledgeCreateErrors = {
|
|
|
18387
17821
|
default: ErrorResponse;
|
|
18388
17822
|
};
|
|
18389
17823
|
|
|
18390
|
-
export type
|
|
17824
|
+
export type IntegrationsListError = IntegrationsListErrors[keyof IntegrationsListErrors];
|
|
18391
17825
|
|
|
18392
|
-
export type
|
|
17826
|
+
export type IntegrationsListResults = {
|
|
18393
17827
|
/**
|
|
18394
17828
|
* Successful Response
|
|
18395
17829
|
*/
|
|
18396
|
-
|
|
17830
|
+
200: PageIntegrationResponse;
|
|
18397
17831
|
};
|
|
18398
17832
|
|
|
18399
|
-
export type
|
|
17833
|
+
export type IntegrationsListResult = IntegrationsListResults[keyof IntegrationsListResults];
|
|
18400
17834
|
|
|
18401
|
-
export type
|
|
18402
|
-
body
|
|
18403
|
-
path
|
|
18404
|
-
/**
|
|
18405
|
-
* Kb Id
|
|
18406
|
-
*/
|
|
18407
|
-
kb_id: string;
|
|
18408
|
-
};
|
|
17835
|
+
export type IntegrationsCreateData = {
|
|
17836
|
+
body: CreateIntegrationRequest;
|
|
17837
|
+
path?: never;
|
|
18409
17838
|
query?: never;
|
|
18410
|
-
url: '/v1/
|
|
17839
|
+
url: '/v1/integrations';
|
|
18411
17840
|
};
|
|
18412
17841
|
|
|
18413
|
-
export type
|
|
17842
|
+
export type IntegrationsCreateErrors = {
|
|
18414
17843
|
/**
|
|
18415
17844
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18416
17845
|
*/
|
|
@@ -18423,10 +17852,6 @@ export type KnowledgeDeleteErrors = {
|
|
|
18423
17852
|
* Authenticated, but this organization role may not perform the operation.
|
|
18424
17853
|
*/
|
|
18425
17854
|
403: ErrorResponse;
|
|
18426
|
-
/**
|
|
18427
|
-
* No such resource in this organization.
|
|
18428
|
-
*/
|
|
18429
|
-
404: ErrorResponse;
|
|
18430
17855
|
/**
|
|
18431
17856
|
* The resource's current state forbids this — a name already taken, a job already running.
|
|
18432
17857
|
*/
|
|
@@ -18441,38 +17866,38 @@ export type KnowledgeDeleteErrors = {
|
|
|
18441
17866
|
default: ErrorResponse;
|
|
18442
17867
|
};
|
|
18443
17868
|
|
|
18444
|
-
export type
|
|
17869
|
+
export type IntegrationsCreateError = IntegrationsCreateErrors[keyof IntegrationsCreateErrors];
|
|
18445
17870
|
|
|
18446
|
-
export type
|
|
17871
|
+
export type IntegrationsCreateResults = {
|
|
18447
17872
|
/**
|
|
18448
17873
|
* Successful Response
|
|
18449
17874
|
*/
|
|
18450
|
-
|
|
17875
|
+
201: IntegrationResponse;
|
|
18451
17876
|
};
|
|
18452
17877
|
|
|
18453
|
-
export type
|
|
17878
|
+
export type IntegrationsCreateResult = IntegrationsCreateResults[keyof IntegrationsCreateResults];
|
|
18454
17879
|
|
|
18455
|
-
export type
|
|
17880
|
+
export type IntegrationsCatalogData = {
|
|
18456
17881
|
body?: never;
|
|
18457
|
-
path
|
|
17882
|
+
path?: never;
|
|
17883
|
+
query?: {
|
|
17884
|
+
/**
|
|
17885
|
+
* Limit
|
|
17886
|
+
*/
|
|
17887
|
+
limit?: number;
|
|
18458
17888
|
/**
|
|
18459
|
-
*
|
|
17889
|
+
* Offset
|
|
18460
17890
|
*/
|
|
18461
|
-
|
|
17891
|
+
offset?: number;
|
|
18462
17892
|
};
|
|
18463
|
-
|
|
18464
|
-
url: '/v1/knowledge/{kb_id}';
|
|
17893
|
+
url: '/v1/integrations/catalog';
|
|
18465
17894
|
};
|
|
18466
17895
|
|
|
18467
|
-
export type
|
|
17896
|
+
export type IntegrationsCatalogErrors = {
|
|
18468
17897
|
/**
|
|
18469
17898
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
18470
17899
|
*/
|
|
18471
17900
|
401: ErrorResponse;
|
|
18472
|
-
/**
|
|
18473
|
-
* No such resource in this organization.
|
|
18474
|
-
*/
|
|
18475
|
-
404: ErrorResponse;
|
|
18476
17901
|
/**
|
|
18477
17902
|
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
18478
17903
|
*/
|
|
@@ -18483,30 +17908,30 @@ export type KnowledgeGetErrors = {
|
|
|
18483
17908
|
default: ErrorResponse;
|
|
18484
17909
|
};
|
|
18485
17910
|
|
|
18486
|
-
export type
|
|
17911
|
+
export type IntegrationsCatalogError = IntegrationsCatalogErrors[keyof IntegrationsCatalogErrors];
|
|
18487
17912
|
|
|
18488
|
-
export type
|
|
17913
|
+
export type IntegrationsCatalogResults = {
|
|
18489
17914
|
/**
|
|
18490
17915
|
* Successful Response
|
|
18491
17916
|
*/
|
|
18492
|
-
200:
|
|
17917
|
+
200: PageIntegrationCatalogItem;
|
|
18493
17918
|
};
|
|
18494
17919
|
|
|
18495
|
-
export type
|
|
17920
|
+
export type IntegrationsCatalogResult = IntegrationsCatalogResults[keyof IntegrationsCatalogResults];
|
|
18496
17921
|
|
|
18497
|
-
export type
|
|
18498
|
-
body
|
|
17922
|
+
export type IntegrationsDeleteData = {
|
|
17923
|
+
body?: never;
|
|
18499
17924
|
path: {
|
|
18500
17925
|
/**
|
|
18501
|
-
*
|
|
17926
|
+
* Integration Id
|
|
18502
17927
|
*/
|
|
18503
|
-
|
|
17928
|
+
integration_id: string;
|
|
18504
17929
|
};
|
|
18505
17930
|
query?: never;
|
|
18506
|
-
url: '/v1/
|
|
17931
|
+
url: '/v1/integrations/{integration_id}';
|
|
18507
17932
|
};
|
|
18508
17933
|
|
|
18509
|
-
export type
|
|
17934
|
+
export type IntegrationsDeleteErrors = {
|
|
18510
17935
|
/**
|
|
18511
17936
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18512
17937
|
*/
|
|
@@ -18537,30 +17962,30 @@ export type KnowledgeBuildErrors = {
|
|
|
18537
17962
|
default: ErrorResponse;
|
|
18538
17963
|
};
|
|
18539
17964
|
|
|
18540
|
-
export type
|
|
17965
|
+
export type IntegrationsDeleteError = IntegrationsDeleteErrors[keyof IntegrationsDeleteErrors];
|
|
18541
17966
|
|
|
18542
|
-
export type
|
|
17967
|
+
export type IntegrationsDeleteResults = {
|
|
18543
17968
|
/**
|
|
18544
17969
|
* Successful Response
|
|
18545
17970
|
*/
|
|
18546
|
-
200:
|
|
17971
|
+
200: OkResponse;
|
|
18547
17972
|
};
|
|
18548
17973
|
|
|
18549
|
-
export type
|
|
17974
|
+
export type IntegrationsDeleteResult = IntegrationsDeleteResults[keyof IntegrationsDeleteResults];
|
|
18550
17975
|
|
|
18551
|
-
export type
|
|
17976
|
+
export type IntegrationsGetData = {
|
|
18552
17977
|
body?: never;
|
|
18553
17978
|
path: {
|
|
18554
17979
|
/**
|
|
18555
|
-
*
|
|
17980
|
+
* Integration Id
|
|
18556
17981
|
*/
|
|
18557
|
-
|
|
17982
|
+
integration_id: string;
|
|
18558
17983
|
};
|
|
18559
17984
|
query?: never;
|
|
18560
|
-
url: '/v1/
|
|
17985
|
+
url: '/v1/integrations/{integration_id}';
|
|
18561
17986
|
};
|
|
18562
17987
|
|
|
18563
|
-
export type
|
|
17988
|
+
export type IntegrationsGetErrors = {
|
|
18564
17989
|
/**
|
|
18565
17990
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
18566
17991
|
*/
|
|
@@ -18579,42 +18004,30 @@ export type KnowledgeEventsErrors = {
|
|
|
18579
18004
|
default: ErrorResponse;
|
|
18580
18005
|
};
|
|
18581
18006
|
|
|
18582
|
-
export type
|
|
18007
|
+
export type IntegrationsGetError = IntegrationsGetErrors[keyof IntegrationsGetErrors];
|
|
18583
18008
|
|
|
18584
|
-
export type
|
|
18009
|
+
export type IntegrationsGetResults = {
|
|
18585
18010
|
/**
|
|
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.
|
|
18011
|
+
* Successful Response
|
|
18589
18012
|
*/
|
|
18590
|
-
200:
|
|
18591
|
-
event: 'snapshot';
|
|
18592
|
-
} & KbSnapshotEvent) | ({
|
|
18593
|
-
event: 'progress';
|
|
18594
|
-
} & KbProgressEvent) | ({
|
|
18595
|
-
event: 'status';
|
|
18596
|
-
} & KbStatusEvent);
|
|
18013
|
+
200: IntegrationResponse;
|
|
18597
18014
|
};
|
|
18598
18015
|
|
|
18599
|
-
export type
|
|
18016
|
+
export type IntegrationsGetResult = IntegrationsGetResults[keyof IntegrationsGetResults];
|
|
18600
18017
|
|
|
18601
|
-
export type
|
|
18602
|
-
body
|
|
18018
|
+
export type IntegrationsUpdateData = {
|
|
18019
|
+
body: PatchIntegrationRequest;
|
|
18603
18020
|
path: {
|
|
18604
18021
|
/**
|
|
18605
|
-
*
|
|
18606
|
-
*/
|
|
18607
|
-
kb_id: string;
|
|
18608
|
-
/**
|
|
18609
|
-
* Node Id
|
|
18022
|
+
* Integration Id
|
|
18610
18023
|
*/
|
|
18611
|
-
|
|
18024
|
+
integration_id: string;
|
|
18612
18025
|
};
|
|
18613
18026
|
query?: never;
|
|
18614
|
-
url: '/v1/
|
|
18027
|
+
url: '/v1/integrations/{integration_id}';
|
|
18615
18028
|
};
|
|
18616
18029
|
|
|
18617
|
-
export type
|
|
18030
|
+
export type IntegrationsUpdateErrors = {
|
|
18618
18031
|
/**
|
|
18619
18032
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18620
18033
|
*/
|
|
@@ -18645,34 +18058,30 @@ export type KnowledgeNodesDeleteErrors = {
|
|
|
18645
18058
|
default: ErrorResponse;
|
|
18646
18059
|
};
|
|
18647
18060
|
|
|
18648
|
-
export type
|
|
18061
|
+
export type IntegrationsUpdateError = IntegrationsUpdateErrors[keyof IntegrationsUpdateErrors];
|
|
18649
18062
|
|
|
18650
|
-
export type
|
|
18063
|
+
export type IntegrationsUpdateResults = {
|
|
18651
18064
|
/**
|
|
18652
18065
|
* Successful Response
|
|
18653
18066
|
*/
|
|
18654
|
-
200:
|
|
18067
|
+
200: IntegrationResponse;
|
|
18655
18068
|
};
|
|
18656
18069
|
|
|
18657
|
-
export type
|
|
18070
|
+
export type IntegrationsUpdateResult = IntegrationsUpdateResults[keyof IntegrationsUpdateResults];
|
|
18658
18071
|
|
|
18659
|
-
export type
|
|
18072
|
+
export type IntegrationsMcpToolsListData = {
|
|
18660
18073
|
body?: never;
|
|
18661
18074
|
path: {
|
|
18662
18075
|
/**
|
|
18663
|
-
*
|
|
18664
|
-
*/
|
|
18665
|
-
kb_id: string;
|
|
18666
|
-
/**
|
|
18667
|
-
* Node Id
|
|
18076
|
+
* Integration Id
|
|
18668
18077
|
*/
|
|
18669
|
-
|
|
18078
|
+
integration_id: string;
|
|
18670
18079
|
};
|
|
18671
18080
|
query?: never;
|
|
18672
|
-
url: '/v1/
|
|
18081
|
+
url: '/v1/integrations/{integration_id}/mcp-tools';
|
|
18673
18082
|
};
|
|
18674
18083
|
|
|
18675
|
-
export type
|
|
18084
|
+
export type IntegrationsMcpToolsListErrors = {
|
|
18676
18085
|
/**
|
|
18677
18086
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
18678
18087
|
*/
|
|
@@ -18691,54 +18100,47 @@ export type KnowledgeNodesGetErrors = {
|
|
|
18691
18100
|
default: ErrorResponse;
|
|
18692
18101
|
};
|
|
18693
18102
|
|
|
18694
|
-
export type
|
|
18103
|
+
export type IntegrationsMcpToolsListError = IntegrationsMcpToolsListErrors[keyof IntegrationsMcpToolsListErrors];
|
|
18695
18104
|
|
|
18696
|
-
export type
|
|
18105
|
+
export type IntegrationsMcpToolsListResults = {
|
|
18697
18106
|
/**
|
|
18698
18107
|
* Successful Response
|
|
18699
18108
|
*/
|
|
18700
|
-
200:
|
|
18109
|
+
200: IntegrationMcpToolsResponse;
|
|
18701
18110
|
};
|
|
18702
18111
|
|
|
18703
|
-
export type
|
|
18112
|
+
export type IntegrationsMcpToolsListResult = IntegrationsMcpToolsListResults[keyof IntegrationsMcpToolsListResults];
|
|
18704
18113
|
|
|
18705
|
-
export type
|
|
18706
|
-
body
|
|
18114
|
+
export type IntegrationsTriggersListData = {
|
|
18115
|
+
body?: never;
|
|
18707
18116
|
path: {
|
|
18708
18117
|
/**
|
|
18709
|
-
*
|
|
18118
|
+
* Integration Id
|
|
18119
|
+
*/
|
|
18120
|
+
integration_id: string;
|
|
18121
|
+
};
|
|
18122
|
+
query?: {
|
|
18123
|
+
/**
|
|
18124
|
+
* Limit
|
|
18710
18125
|
*/
|
|
18711
|
-
|
|
18126
|
+
limit?: number;
|
|
18712
18127
|
/**
|
|
18713
|
-
*
|
|
18128
|
+
* Offset
|
|
18714
18129
|
*/
|
|
18715
|
-
|
|
18130
|
+
offset?: number;
|
|
18716
18131
|
};
|
|
18717
|
-
|
|
18718
|
-
url: '/v1/knowledge/{kb_id}/nodes/{node_id}';
|
|
18132
|
+
url: '/v1/integrations/{integration_id}/triggers';
|
|
18719
18133
|
};
|
|
18720
18134
|
|
|
18721
|
-
export type
|
|
18722
|
-
/**
|
|
18723
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18724
|
-
*/
|
|
18725
|
-
400: ErrorResponse;
|
|
18135
|
+
export type IntegrationsTriggersListErrors = {
|
|
18726
18136
|
/**
|
|
18727
18137
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
18728
18138
|
*/
|
|
18729
18139
|
401: ErrorResponse;
|
|
18730
|
-
/**
|
|
18731
|
-
* Authenticated, but this organization role may not perform the operation.
|
|
18732
|
-
*/
|
|
18733
|
-
403: ErrorResponse;
|
|
18734
18140
|
/**
|
|
18735
18141
|
* No such resource in this organization.
|
|
18736
18142
|
*/
|
|
18737
18143
|
404: ErrorResponse;
|
|
18738
|
-
/**
|
|
18739
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
18740
|
-
*/
|
|
18741
|
-
409: ErrorResponse;
|
|
18742
18144
|
/**
|
|
18743
18145
|
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
18744
18146
|
*/
|
|
@@ -18749,47 +18151,50 @@ export type KnowledgeNodesUpdateErrors = {
|
|
|
18749
18151
|
default: ErrorResponse;
|
|
18750
18152
|
};
|
|
18751
18153
|
|
|
18752
|
-
export type
|
|
18154
|
+
export type IntegrationsTriggersListError = IntegrationsTriggersListErrors[keyof IntegrationsTriggersListErrors];
|
|
18753
18155
|
|
|
18754
|
-
export type
|
|
18156
|
+
export type IntegrationsTriggersListResults = {
|
|
18755
18157
|
/**
|
|
18756
18158
|
* Successful Response
|
|
18757
18159
|
*/
|
|
18758
|
-
200:
|
|
18160
|
+
200: PageIntegrationTriggerResponse;
|
|
18759
18161
|
};
|
|
18760
18162
|
|
|
18761
|
-
export type
|
|
18163
|
+
export type IntegrationsTriggersListResult = IntegrationsTriggersListResults[keyof IntegrationsTriggersListResults];
|
|
18762
18164
|
|
|
18763
|
-
export type
|
|
18764
|
-
body
|
|
18165
|
+
export type IntegrationsTriggersCreateData = {
|
|
18166
|
+
body: CreateIntegrationTriggerRequest;
|
|
18765
18167
|
path: {
|
|
18766
18168
|
/**
|
|
18767
|
-
*
|
|
18768
|
-
*/
|
|
18769
|
-
kb_id: string;
|
|
18770
|
-
};
|
|
18771
|
-
query?: {
|
|
18772
|
-
/**
|
|
18773
|
-
* Limit
|
|
18774
|
-
*/
|
|
18775
|
-
limit?: number;
|
|
18776
|
-
/**
|
|
18777
|
-
* Offset
|
|
18169
|
+
* Integration Id
|
|
18778
18170
|
*/
|
|
18779
|
-
|
|
18171
|
+
integration_id: string;
|
|
18780
18172
|
};
|
|
18781
|
-
|
|
18173
|
+
query?: never;
|
|
18174
|
+
url: '/v1/integrations/{integration_id}/triggers';
|
|
18782
18175
|
};
|
|
18783
18176
|
|
|
18784
|
-
export type
|
|
18177
|
+
export type IntegrationsTriggersCreateErrors = {
|
|
18178
|
+
/**
|
|
18179
|
+
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18180
|
+
*/
|
|
18181
|
+
400: ErrorResponse;
|
|
18785
18182
|
/**
|
|
18786
18183
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
18787
18184
|
*/
|
|
18788
18185
|
401: ErrorResponse;
|
|
18186
|
+
/**
|
|
18187
|
+
* Authenticated, but this organization role may not perform the operation.
|
|
18188
|
+
*/
|
|
18189
|
+
403: ErrorResponse;
|
|
18789
18190
|
/**
|
|
18790
18191
|
* No such resource in this organization.
|
|
18791
18192
|
*/
|
|
18792
18193
|
404: ErrorResponse;
|
|
18194
|
+
/**
|
|
18195
|
+
* The resource's current state forbids this — a name already taken, a job already running.
|
|
18196
|
+
*/
|
|
18197
|
+
409: ErrorResponse;
|
|
18793
18198
|
/**
|
|
18794
18199
|
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
18795
18200
|
*/
|
|
@@ -18800,38 +18205,54 @@ export type KnowledgePagesListErrors = {
|
|
|
18800
18205
|
default: ErrorResponse;
|
|
18801
18206
|
};
|
|
18802
18207
|
|
|
18803
|
-
export type
|
|
18208
|
+
export type IntegrationsTriggersCreateError = IntegrationsTriggersCreateErrors[keyof IntegrationsTriggersCreateErrors];
|
|
18804
18209
|
|
|
18805
|
-
export type
|
|
18210
|
+
export type IntegrationsTriggersCreateResults = {
|
|
18806
18211
|
/**
|
|
18807
18212
|
* Successful Response
|
|
18808
18213
|
*/
|
|
18809
|
-
|
|
18214
|
+
201: IntegrationTriggerResponse;
|
|
18810
18215
|
};
|
|
18811
18216
|
|
|
18812
|
-
export type
|
|
18217
|
+
export type IntegrationsTriggersCreateResult = IntegrationsTriggersCreateResults[keyof IntegrationsTriggersCreateResults];
|
|
18813
18218
|
|
|
18814
|
-
export type
|
|
18219
|
+
export type IntegrationsTriggersDeleteData = {
|
|
18815
18220
|
body?: never;
|
|
18816
18221
|
path: {
|
|
18817
18222
|
/**
|
|
18818
|
-
*
|
|
18223
|
+
* Integration Id
|
|
18224
|
+
*/
|
|
18225
|
+
integration_id: string;
|
|
18226
|
+
/**
|
|
18227
|
+
* Trigger Id
|
|
18819
18228
|
*/
|
|
18820
|
-
|
|
18229
|
+
trigger_id: string;
|
|
18821
18230
|
};
|
|
18822
18231
|
query?: never;
|
|
18823
|
-
url: '/v1/
|
|
18232
|
+
url: '/v1/integrations/{integration_id}/triggers/{trigger_id}';
|
|
18824
18233
|
};
|
|
18825
18234
|
|
|
18826
|
-
export type
|
|
18235
|
+
export type IntegrationsTriggersDeleteErrors = {
|
|
18236
|
+
/**
|
|
18237
|
+
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18238
|
+
*/
|
|
18239
|
+
400: ErrorResponse;
|
|
18827
18240
|
/**
|
|
18828
18241
|
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
18829
18242
|
*/
|
|
18830
18243
|
401: ErrorResponse;
|
|
18244
|
+
/**
|
|
18245
|
+
* Authenticated, but this organization role may not perform the operation.
|
|
18246
|
+
*/
|
|
18247
|
+
403: ErrorResponse;
|
|
18831
18248
|
/**
|
|
18832
18249
|
* No such resource in this organization.
|
|
18833
18250
|
*/
|
|
18834
18251
|
404: ErrorResponse;
|
|
18252
|
+
/**
|
|
18253
|
+
* The resource's current state forbids this — a name already taken, a job already running.
|
|
18254
|
+
*/
|
|
18255
|
+
409: ErrorResponse;
|
|
18835
18256
|
/**
|
|
18836
18257
|
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
18837
18258
|
*/
|
|
@@ -18842,30 +18263,34 @@ export type KnowledgePromptErrors = {
|
|
|
18842
18263
|
default: ErrorResponse;
|
|
18843
18264
|
};
|
|
18844
18265
|
|
|
18845
|
-
export type
|
|
18266
|
+
export type IntegrationsTriggersDeleteError = IntegrationsTriggersDeleteErrors[keyof IntegrationsTriggersDeleteErrors];
|
|
18846
18267
|
|
|
18847
|
-
export type
|
|
18268
|
+
export type IntegrationsTriggersDeleteResults = {
|
|
18848
18269
|
/**
|
|
18849
18270
|
* Successful Response
|
|
18850
18271
|
*/
|
|
18851
|
-
200:
|
|
18272
|
+
200: OkResponse;
|
|
18852
18273
|
};
|
|
18853
18274
|
|
|
18854
|
-
export type
|
|
18275
|
+
export type IntegrationsTriggersDeleteResult = IntegrationsTriggersDeleteResults[keyof IntegrationsTriggersDeleteResults];
|
|
18855
18276
|
|
|
18856
|
-
export type
|
|
18857
|
-
body
|
|
18277
|
+
export type IntegrationsTriggersUpdateData = {
|
|
18278
|
+
body: PatchIntegrationTriggerRequest;
|
|
18858
18279
|
path: {
|
|
18859
18280
|
/**
|
|
18860
|
-
*
|
|
18281
|
+
* Integration Id
|
|
18282
|
+
*/
|
|
18283
|
+
integration_id: string;
|
|
18284
|
+
/**
|
|
18285
|
+
* Trigger Id
|
|
18861
18286
|
*/
|
|
18862
|
-
|
|
18287
|
+
trigger_id: string;
|
|
18863
18288
|
};
|
|
18864
18289
|
query?: never;
|
|
18865
|
-
url: '/v1/
|
|
18290
|
+
url: '/v1/integrations/{integration_id}/triggers/{trigger_id}';
|
|
18866
18291
|
};
|
|
18867
18292
|
|
|
18868
|
-
export type
|
|
18293
|
+
export type IntegrationsTriggersUpdateErrors = {
|
|
18869
18294
|
/**
|
|
18870
18295
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
18871
18296
|
*/
|
|
@@ -18896,16 +18321,16 @@ export type KnowledgeRegenerateTocErrors = {
|
|
|
18896
18321
|
default: ErrorResponse;
|
|
18897
18322
|
};
|
|
18898
18323
|
|
|
18899
|
-
export type
|
|
18324
|
+
export type IntegrationsTriggersUpdateError = IntegrationsTriggersUpdateErrors[keyof IntegrationsTriggersUpdateErrors];
|
|
18900
18325
|
|
|
18901
|
-
export type
|
|
18326
|
+
export type IntegrationsTriggersUpdateResults = {
|
|
18902
18327
|
/**
|
|
18903
18328
|
* Successful Response
|
|
18904
18329
|
*/
|
|
18905
|
-
200:
|
|
18330
|
+
200: IntegrationTriggerResponse;
|
|
18906
18331
|
};
|
|
18907
18332
|
|
|
18908
|
-
export type
|
|
18333
|
+
export type IntegrationsTriggersUpdateResult = IntegrationsTriggersUpdateResults[keyof IntegrationsTriggersUpdateResults];
|
|
18909
18334
|
|
|
18910
18335
|
export type ObservabilityGetData = {
|
|
18911
18336
|
body?: never;
|
|
@@ -22092,62 +21517,8 @@ export type WhatsappBatchesRecipientsAddResults = {
|
|
|
22092
21517
|
|
|
22093
21518
|
export type WhatsappBatchesRecipientsAddResult = WhatsappBatchesRecipientsAddResults[keyof WhatsappBatchesRecipientsAddResults];
|
|
22094
21519
|
|
|
22095
|
-
export type
|
|
22096
|
-
body:
|
|
22097
|
-
path: {
|
|
22098
|
-
/**
|
|
22099
|
-
* Batch Id
|
|
22100
|
-
*/
|
|
22101
|
-
batch_id: string;
|
|
22102
|
-
};
|
|
22103
|
-
query?: never;
|
|
22104
|
-
url: '/v1/whatsapp/batches/{batch_id}/recipients/restore';
|
|
22105
|
-
};
|
|
22106
|
-
|
|
22107
|
-
export type WhatsappBatchesRecipientsRestoreErrors = {
|
|
22108
|
-
/**
|
|
22109
|
-
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
22110
|
-
*/
|
|
22111
|
-
400: ErrorResponse;
|
|
22112
|
-
/**
|
|
22113
|
-
* Missing credential, or one that is revoked or no longer a member of this organization.
|
|
22114
|
-
*/
|
|
22115
|
-
401: ErrorResponse;
|
|
22116
|
-
/**
|
|
22117
|
-
* Authenticated, but this organization role may not perform the operation.
|
|
22118
|
-
*/
|
|
22119
|
-
403: ErrorResponse;
|
|
22120
|
-
/**
|
|
22121
|
-
* No such resource in this organization.
|
|
22122
|
-
*/
|
|
22123
|
-
404: ErrorResponse;
|
|
22124
|
-
/**
|
|
22125
|
-
* The resource's current state forbids this — a name already taken, a job already running.
|
|
22126
|
-
*/
|
|
22127
|
-
409: ErrorResponse;
|
|
22128
|
-
/**
|
|
22129
|
-
* The request did not match this operation's schema; `detail.errors` lists each field.
|
|
22130
|
-
*/
|
|
22131
|
-
422: ErrorResponse;
|
|
22132
|
-
/**
|
|
22133
|
-
* Unexpected error. Every error this API returns carries this body.
|
|
22134
|
-
*/
|
|
22135
|
-
default: ErrorResponse;
|
|
22136
|
-
};
|
|
22137
|
-
|
|
22138
|
-
export type WhatsappBatchesRecipientsRestoreError = WhatsappBatchesRecipientsRestoreErrors[keyof WhatsappBatchesRecipientsRestoreErrors];
|
|
22139
|
-
|
|
22140
|
-
export type WhatsappBatchesRecipientsRestoreResults = {
|
|
22141
|
-
/**
|
|
22142
|
-
* Successful Response
|
|
22143
|
-
*/
|
|
22144
|
-
200: RecipientActionResponse;
|
|
22145
|
-
};
|
|
22146
|
-
|
|
22147
|
-
export type WhatsappBatchesRecipientsRestoreResult = WhatsappBatchesRecipientsRestoreResults[keyof WhatsappBatchesRecipientsRestoreResults];
|
|
22148
|
-
|
|
22149
|
-
export type WhatsappBatchesRecipientsSkipData = {
|
|
22150
|
-
body: SelectRecipientsRequest;
|
|
21520
|
+
export type WhatsappBatchesRecipientsDeleteData = {
|
|
21521
|
+
body: DeleteRecipientsRequest;
|
|
22151
21522
|
path: {
|
|
22152
21523
|
/**
|
|
22153
21524
|
* Batch Id
|
|
@@ -22155,10 +21526,10 @@ export type WhatsappBatchesRecipientsSkipData = {
|
|
|
22155
21526
|
batch_id: string;
|
|
22156
21527
|
};
|
|
22157
21528
|
query?: never;
|
|
22158
|
-
url: '/v1/whatsapp/batches/{batch_id}/recipients/
|
|
21529
|
+
url: '/v1/whatsapp/batches/{batch_id}/recipients/delete';
|
|
22159
21530
|
};
|
|
22160
21531
|
|
|
22161
|
-
export type
|
|
21532
|
+
export type WhatsappBatchesRecipientsDeleteErrors = {
|
|
22162
21533
|
/**
|
|
22163
21534
|
* Well-formed, but rejected by a rule; `detail.errors` lists each problem.
|
|
22164
21535
|
*/
|
|
@@ -22189,16 +21560,16 @@ export type WhatsappBatchesRecipientsSkipErrors = {
|
|
|
22189
21560
|
default: ErrorResponse;
|
|
22190
21561
|
};
|
|
22191
21562
|
|
|
22192
|
-
export type
|
|
21563
|
+
export type WhatsappBatchesRecipientsDeleteError = WhatsappBatchesRecipientsDeleteErrors[keyof WhatsappBatchesRecipientsDeleteErrors];
|
|
22193
21564
|
|
|
22194
|
-
export type
|
|
21565
|
+
export type WhatsappBatchesRecipientsDeleteResults = {
|
|
22195
21566
|
/**
|
|
22196
21567
|
* Successful Response
|
|
22197
21568
|
*/
|
|
22198
21569
|
200: RecipientActionResponse;
|
|
22199
21570
|
};
|
|
22200
21571
|
|
|
22201
|
-
export type
|
|
21572
|
+
export type WhatsappBatchesRecipientsDeleteResult = WhatsappBatchesRecipientsDeleteResults[keyof WhatsappBatchesRecipientsDeleteResults];
|
|
22202
21573
|
|
|
22203
21574
|
export type WhatsappBatchesRecipientsUpdateData = {
|
|
22204
21575
|
body: PatchWhatsAppRecipientRequest;
|