@inferencesh/sdk 0.6.8 → 0.6.10
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/CHANGELOG.md +7 -1
- package/README.md +69 -0
- package/dist/agent/actions.test.js +83 -0
- package/dist/agent/api.test.js +86 -8
- package/dist/api/agents.test.js +88 -92
- package/dist/api/apps.test.d.ts +1 -0
- package/dist/api/apps.test.js +67 -0
- package/dist/api/chats.test.d.ts +1 -0
- package/dist/api/chats.test.js +33 -0
- package/dist/api/engines.test.d.ts +1 -0
- package/dist/api/engines.test.js +55 -0
- package/dist/api/files.test.js +3 -6
- package/dist/api/flow-runs.test.d.ts +1 -0
- package/dist/api/flow-runs.test.js +55 -0
- package/dist/api/flows.test.d.ts +1 -0
- package/dist/api/flows.test.js +43 -0
- package/dist/api/sessions.test.js +4 -4
- package/dist/api/tasks.test.js +40 -22
- package/dist/client.test.js +8 -8
- package/dist/http/client.js +5 -26
- package/dist/http/client.test.js +51 -13
- package/dist/proxy/express.test.d.ts +1 -0
- package/dist/proxy/express.test.js +106 -0
- package/dist/proxy/index.test.js +10 -1
- package/dist/types.d.ts +683 -18
- package/dist/types.js +122 -6
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -289,6 +289,27 @@ export interface ApiAgentRunRequest {
|
|
|
289
289
|
};
|
|
290
290
|
stream?: boolean;
|
|
291
291
|
}
|
|
292
|
+
/**
|
|
293
|
+
* CreateAgentMessageRequest is the request for creating agent messages.
|
|
294
|
+
*/
|
|
295
|
+
export interface CreateAgentMessageRequest {
|
|
296
|
+
chat_id?: string;
|
|
297
|
+
agent_id?: string;
|
|
298
|
+
agent_version_id?: string;
|
|
299
|
+
agent?: string;
|
|
300
|
+
tool_call_id?: string;
|
|
301
|
+
input: ChatTaskInput;
|
|
302
|
+
integration_context?: IntegrationContext;
|
|
303
|
+
agent_config?: AgentConfigInput;
|
|
304
|
+
agent_name?: string;
|
|
305
|
+
context?: {
|
|
306
|
+
[key: string]: string;
|
|
307
|
+
};
|
|
308
|
+
}
|
|
309
|
+
export interface CreateAgentMessageResponse {
|
|
310
|
+
user_message?: ChatMessageDTO;
|
|
311
|
+
assistant_message?: ChatMessageDTO;
|
|
312
|
+
}
|
|
292
313
|
/**
|
|
293
314
|
* ToolResultRequest represents a tool result submission
|
|
294
315
|
*/
|
|
@@ -305,16 +326,60 @@ export interface PartialFile {
|
|
|
305
326
|
size?: number;
|
|
306
327
|
filename?: string;
|
|
307
328
|
}
|
|
329
|
+
export interface FileCreateRequest {
|
|
330
|
+
category?: string;
|
|
331
|
+
files: PartialFile[];
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* AppVersionInput is the API input shape for app version config (no gorm tags).
|
|
335
|
+
*/
|
|
336
|
+
export interface AppVersionInput {
|
|
337
|
+
metadata?: {
|
|
338
|
+
[key: string]: any;
|
|
339
|
+
};
|
|
340
|
+
repository?: string;
|
|
341
|
+
setup_schema?: any;
|
|
342
|
+
input_schema?: any;
|
|
343
|
+
output_schema?: any;
|
|
344
|
+
functions?: {
|
|
345
|
+
[key: string]: AppFunction;
|
|
346
|
+
};
|
|
347
|
+
default_function?: string;
|
|
348
|
+
variants?: {
|
|
349
|
+
[key: string]: AppVariant;
|
|
350
|
+
};
|
|
351
|
+
env?: {
|
|
352
|
+
[key: string]: string;
|
|
353
|
+
};
|
|
354
|
+
kernel?: string;
|
|
355
|
+
required_secrets?: SecretRequirement[];
|
|
356
|
+
required_integrations?: IntegrationRequirement[];
|
|
357
|
+
resources?: AppResources;
|
|
358
|
+
}
|
|
359
|
+
/**
|
|
360
|
+
* CreateAppRequest is the request body for POST /apps
|
|
361
|
+
*/
|
|
362
|
+
export interface CreateAppRequest {
|
|
363
|
+
id?: string;
|
|
364
|
+
namespace?: string;
|
|
365
|
+
name: string;
|
|
366
|
+
description?: string;
|
|
367
|
+
agent_description?: string;
|
|
368
|
+
category?: AppCategory;
|
|
369
|
+
images?: AppImages;
|
|
370
|
+
version?: AppVersionInput;
|
|
371
|
+
preserve_current_version?: boolean;
|
|
372
|
+
}
|
|
308
373
|
export interface SkillPublishRequest {
|
|
309
374
|
namespace?: string;
|
|
310
375
|
name: string;
|
|
311
|
-
description
|
|
312
|
-
category
|
|
313
|
-
repo_url
|
|
314
|
-
license
|
|
315
|
-
allowed_tools
|
|
316
|
-
compatibility
|
|
317
|
-
instructions
|
|
376
|
+
description?: string;
|
|
377
|
+
category?: string;
|
|
378
|
+
repo_url?: string;
|
|
379
|
+
license?: string;
|
|
380
|
+
allowed_tools?: string;
|
|
381
|
+
compatibility?: string;
|
|
382
|
+
instructions?: string;
|
|
318
383
|
files: KnowledgeFile[];
|
|
319
384
|
metadata?: {
|
|
320
385
|
[key: string]: string;
|
|
@@ -323,9 +388,14 @@ export interface SkillPublishRequest {
|
|
|
323
388
|
parent_version_id?: string;
|
|
324
389
|
source_url?: string;
|
|
325
390
|
version_notes?: string;
|
|
326
|
-
disable_model_invocation
|
|
391
|
+
disable_model_invocation?: boolean;
|
|
327
392
|
user_invocable?: boolean;
|
|
328
|
-
context
|
|
393
|
+
context?: string;
|
|
394
|
+
}
|
|
395
|
+
export interface CheckoutCreateRequest {
|
|
396
|
+
amount: number;
|
|
397
|
+
success_url: string;
|
|
398
|
+
cancel_url: string;
|
|
329
399
|
}
|
|
330
400
|
export interface AuthResponse {
|
|
331
401
|
user?: UserDTO;
|
|
@@ -334,6 +404,19 @@ export interface AuthResponse {
|
|
|
334
404
|
redirect_to?: string;
|
|
335
405
|
provider?: string;
|
|
336
406
|
}
|
|
407
|
+
export interface DeviceAuthResponse {
|
|
408
|
+
user_code: string;
|
|
409
|
+
device_code: string;
|
|
410
|
+
poll_url: string;
|
|
411
|
+
approve_url: string;
|
|
412
|
+
expires_in: number;
|
|
413
|
+
interval: number;
|
|
414
|
+
}
|
|
415
|
+
export interface DeviceAuthPollResponse {
|
|
416
|
+
status: DeviceAuthStatus;
|
|
417
|
+
api_key?: string;
|
|
418
|
+
team_id?: string;
|
|
419
|
+
}
|
|
337
420
|
export interface TeamCreateRequest {
|
|
338
421
|
name: string;
|
|
339
422
|
username: string;
|
|
@@ -349,6 +432,24 @@ export interface TeamMemberAddRequest {
|
|
|
349
432
|
export interface TeamMemberUpdateRoleRequest {
|
|
350
433
|
role: TeamRole;
|
|
351
434
|
}
|
|
435
|
+
export interface SecretCreateRequest {
|
|
436
|
+
key: string;
|
|
437
|
+
value: string;
|
|
438
|
+
description?: string;
|
|
439
|
+
}
|
|
440
|
+
export interface SecretUpdateRequest {
|
|
441
|
+
value: string;
|
|
442
|
+
description?: string;
|
|
443
|
+
}
|
|
444
|
+
export interface IntegrationConnectRequest {
|
|
445
|
+
provider: string;
|
|
446
|
+
type: string;
|
|
447
|
+
scopes?: string[];
|
|
448
|
+
api_key?: string;
|
|
449
|
+
metadata?: {
|
|
450
|
+
[key: string]: any;
|
|
451
|
+
};
|
|
452
|
+
}
|
|
352
453
|
export interface IntegrationCompleteOAuthRequest {
|
|
353
454
|
provider: string;
|
|
354
455
|
type: string;
|
|
@@ -356,6 +457,39 @@ export interface IntegrationCompleteOAuthRequest {
|
|
|
356
457
|
state: string;
|
|
357
458
|
code_verifier?: string;
|
|
358
459
|
}
|
|
460
|
+
export interface IntegrationConnectResponse {
|
|
461
|
+
integration?: IntegrationDTO;
|
|
462
|
+
auth_url?: string;
|
|
463
|
+
state?: string;
|
|
464
|
+
code_verifier?: string;
|
|
465
|
+
instructions?: string;
|
|
466
|
+
requires_confirmation?: boolean;
|
|
467
|
+
confirmation_type?: string;
|
|
468
|
+
message?: string;
|
|
469
|
+
}
|
|
470
|
+
export interface ProjectCreateRequest {
|
|
471
|
+
name: string;
|
|
472
|
+
type: ProjectType;
|
|
473
|
+
}
|
|
474
|
+
export interface ProjectUpdateRequest {
|
|
475
|
+
name: string;
|
|
476
|
+
}
|
|
477
|
+
export interface MoveAgentToProjectRequest {
|
|
478
|
+
agent_id: string;
|
|
479
|
+
project_id: string;
|
|
480
|
+
}
|
|
481
|
+
/**
|
|
482
|
+
* CancelTaskRequest is the optional request body for task cancellation.
|
|
483
|
+
*/
|
|
484
|
+
export interface CancelTaskRequest {
|
|
485
|
+
force: boolean;
|
|
486
|
+
timeout: number;
|
|
487
|
+
}
|
|
488
|
+
export interface CreateApiKeyRequest {
|
|
489
|
+
name: string;
|
|
490
|
+
expires_at?: string;
|
|
491
|
+
scopes?: string[];
|
|
492
|
+
}
|
|
359
493
|
/**
|
|
360
494
|
* Scope represents an API key permission scope string.
|
|
361
495
|
*/
|
|
@@ -834,6 +968,24 @@ export interface PublicAppStoreDTO {
|
|
|
834
968
|
has_approved_version: boolean;
|
|
835
969
|
page_id?: string;
|
|
836
970
|
}
|
|
971
|
+
/**
|
|
972
|
+
* AuthSessionDTO is a safe representation of AuthSession for API responses.
|
|
973
|
+
*/
|
|
974
|
+
export interface AuthSessionDTO {
|
|
975
|
+
id: string;
|
|
976
|
+
created_at: string;
|
|
977
|
+
expires_at: string;
|
|
978
|
+
ip: string;
|
|
979
|
+
city: string;
|
|
980
|
+
country: string;
|
|
981
|
+
country_code: string;
|
|
982
|
+
region: string;
|
|
983
|
+
os: string;
|
|
984
|
+
browser: string;
|
|
985
|
+
browser_version: string;
|
|
986
|
+
auth_method: string;
|
|
987
|
+
current: boolean;
|
|
988
|
+
}
|
|
837
989
|
/**
|
|
838
990
|
* BaseModelDTO is the contract-layer base embed — same fields, no gorm tags.
|
|
839
991
|
* All DTOs should embed this instead of BaseModel.
|
|
@@ -1272,6 +1424,7 @@ export interface InstanceDTO extends BaseModelDTO, PermissionModelDTO {
|
|
|
1272
1424
|
*/
|
|
1273
1425
|
export interface InstanceTypeDTO extends BaseModelDTO, PermissionModelDTO {
|
|
1274
1426
|
cloud: InstanceCloudProvider;
|
|
1427
|
+
cloud_logo_url?: string;
|
|
1275
1428
|
region: string;
|
|
1276
1429
|
shade_instance_type: string;
|
|
1277
1430
|
cloud_instance_type: string;
|
|
@@ -1283,9 +1436,11 @@ export interface InstanceTypeDTO extends BaseModelDTO, PermissionModelDTO {
|
|
|
1283
1436
|
}
|
|
1284
1437
|
export interface InstanceTypeConfiguration {
|
|
1285
1438
|
gpu_type: string;
|
|
1439
|
+
gpu_manufacturer: string;
|
|
1286
1440
|
interconnect: string;
|
|
1287
1441
|
memory_in_gb: number;
|
|
1288
1442
|
num_gpus: number;
|
|
1443
|
+
nvlink: boolean;
|
|
1289
1444
|
os_options: string[];
|
|
1290
1445
|
storage_in_gb: number;
|
|
1291
1446
|
vcpus: number;
|
|
@@ -1354,10 +1509,10 @@ export interface SecretFieldConfig {
|
|
|
1354
1509
|
* KnowledgeFile represents a file in a knowledge entry
|
|
1355
1510
|
*/
|
|
1356
1511
|
export interface KnowledgeFile {
|
|
1357
|
-
path
|
|
1512
|
+
path?: string;
|
|
1358
1513
|
uri?: string;
|
|
1359
|
-
size
|
|
1360
|
-
hash
|
|
1514
|
+
size?: number;
|
|
1515
|
+
hash?: string;
|
|
1361
1516
|
content?: string;
|
|
1362
1517
|
}
|
|
1363
1518
|
/**
|
|
@@ -1391,6 +1546,52 @@ export interface SkillVersionDTO extends BaseModelDTO {
|
|
|
1391
1546
|
[key: string]: string;
|
|
1392
1547
|
};
|
|
1393
1548
|
}
|
|
1549
|
+
/**
|
|
1550
|
+
* KnowledgeDTO — generic DTO for /knowledge endpoints (all types)
|
|
1551
|
+
*/
|
|
1552
|
+
export interface KnowledgeDTO extends BaseModelDTO, PermissionModelDTO {
|
|
1553
|
+
namespace: string;
|
|
1554
|
+
name: string;
|
|
1555
|
+
description: string;
|
|
1556
|
+
type: KnowledgeType;
|
|
1557
|
+
lifecycle: KnowledgeLifecycle;
|
|
1558
|
+
version_id: string;
|
|
1559
|
+
version?: KnowledgeVersionDTO;
|
|
1560
|
+
}
|
|
1561
|
+
export interface KnowledgeVersionDTO extends BaseModelDTO {
|
|
1562
|
+
knowledge_id: string;
|
|
1563
|
+
content: KnowledgeFile;
|
|
1564
|
+
files: KnowledgeFile[];
|
|
1565
|
+
content_hash: string;
|
|
1566
|
+
description: string;
|
|
1567
|
+
tags: string[];
|
|
1568
|
+
metadata?: {
|
|
1569
|
+
[key: string]: string;
|
|
1570
|
+
};
|
|
1571
|
+
source_url?: string;
|
|
1572
|
+
mutation_type?: string;
|
|
1573
|
+
version_notes?: string;
|
|
1574
|
+
last_confirmed_at?: string;
|
|
1575
|
+
}
|
|
1576
|
+
/**
|
|
1577
|
+
* ResourceRef is a compact reference to any resource (knowledge, app, agent).
|
|
1578
|
+
*/
|
|
1579
|
+
export interface ResourceRef {
|
|
1580
|
+
id: string;
|
|
1581
|
+
namespace: string;
|
|
1582
|
+
name: string;
|
|
1583
|
+
type: ResourceType;
|
|
1584
|
+
resource_kind: string;
|
|
1585
|
+
description: string;
|
|
1586
|
+
}
|
|
1587
|
+
/**
|
|
1588
|
+
* ReferencesResponse is returned by the references endpoint.
|
|
1589
|
+
*/
|
|
1590
|
+
export interface ReferencesResponse {
|
|
1591
|
+
resource: ResourceRef;
|
|
1592
|
+
references: ResourceRef[];
|
|
1593
|
+
referenced_by: ResourceRef[];
|
|
1594
|
+
}
|
|
1394
1595
|
/**
|
|
1395
1596
|
* SkillLineageResponse is returned by the lineage endpoint.
|
|
1396
1597
|
*/
|
|
@@ -1446,6 +1647,42 @@ export interface SkillStoreListingDTO {
|
|
|
1446
1647
|
* StringSlice is a custom type for storing string slices
|
|
1447
1648
|
*/
|
|
1448
1649
|
export type StringSlice = string[];
|
|
1650
|
+
/**
|
|
1651
|
+
* MCPServerDTO is the API response shape for the resource.
|
|
1652
|
+
*/
|
|
1653
|
+
export interface MCPServerDTO {
|
|
1654
|
+
id: string;
|
|
1655
|
+
PermissionModelDTO: PermissionModelDTO;
|
|
1656
|
+
slug: string;
|
|
1657
|
+
name: string;
|
|
1658
|
+
description: string;
|
|
1659
|
+
icon_url: string;
|
|
1660
|
+
server_url: string;
|
|
1661
|
+
auth_type: MCPServerAuthType;
|
|
1662
|
+
oauth_client_id?: string;
|
|
1663
|
+
default_scopes: StringSlice;
|
|
1664
|
+
documentation_url: string;
|
|
1665
|
+
}
|
|
1666
|
+
/**
|
|
1667
|
+
* NotificationDTO is the data transfer object
|
|
1668
|
+
*/
|
|
1669
|
+
export interface NotificationDTO extends BaseModelDTO, PermissionModelDTO {
|
|
1670
|
+
type: NotificationType;
|
|
1671
|
+
channel: NotificationChannel;
|
|
1672
|
+
priority: NotificationPriority;
|
|
1673
|
+
status: NotificationStatus;
|
|
1674
|
+
recipient_email?: string;
|
|
1675
|
+
subject: string;
|
|
1676
|
+
body?: string;
|
|
1677
|
+
scheduled_at?: string;
|
|
1678
|
+
sent_at?: string;
|
|
1679
|
+
delivered_at?: string;
|
|
1680
|
+
failed_at?: string;
|
|
1681
|
+
error_message?: string;
|
|
1682
|
+
retry_count: number;
|
|
1683
|
+
reference_type?: string;
|
|
1684
|
+
reference_id?: string;
|
|
1685
|
+
}
|
|
1449
1686
|
/**
|
|
1450
1687
|
* NotificationPreferencesDTO is the data transfer object
|
|
1451
1688
|
*/
|
|
@@ -1530,6 +1767,38 @@ export interface MenuDTO extends BaseModelDTO, PermissionModelDTO {
|
|
|
1530
1767
|
description: string;
|
|
1531
1768
|
items: MenuItem[];
|
|
1532
1769
|
}
|
|
1770
|
+
/**
|
|
1771
|
+
* PlanLimit defines a single resource limit or feature gate within a plan.
|
|
1772
|
+
*/
|
|
1773
|
+
export interface PlanLimit {
|
|
1774
|
+
type: EntitlementType;
|
|
1775
|
+
enabled?: boolean;
|
|
1776
|
+
unlimited?: boolean;
|
|
1777
|
+
limit?: number;
|
|
1778
|
+
enforcement?: EnforcementMode;
|
|
1779
|
+
}
|
|
1780
|
+
/**
|
|
1781
|
+
* PlanLimits maps entitlement resources to their limits
|
|
1782
|
+
*/
|
|
1783
|
+
export type PlanLimits = {
|
|
1784
|
+
[key: EntitlementResource]: PlanLimit;
|
|
1785
|
+
};
|
|
1786
|
+
/**
|
|
1787
|
+
* PlanDTO for API responses
|
|
1788
|
+
*/
|
|
1789
|
+
export interface PlanDTO extends BaseModelDTO {
|
|
1790
|
+
name: string;
|
|
1791
|
+
description: string;
|
|
1792
|
+
display_order: number;
|
|
1793
|
+
active: boolean;
|
|
1794
|
+
self_serve?: boolean;
|
|
1795
|
+
price_monthly?: number;
|
|
1796
|
+
price_yearly?: number;
|
|
1797
|
+
credits_monthly: number;
|
|
1798
|
+
provider_price_id_monthly?: string;
|
|
1799
|
+
provider_price_id_yearly?: string;
|
|
1800
|
+
limits: PlanLimits;
|
|
1801
|
+
}
|
|
1533
1802
|
/**
|
|
1534
1803
|
* ProjectModelDTO provides optional project association for DTOs
|
|
1535
1804
|
*/
|
|
@@ -1550,6 +1819,164 @@ export interface ProjectDTO extends BaseModelDTO, PermissionModelDTO {
|
|
|
1550
1819
|
parent?: ProjectDTO;
|
|
1551
1820
|
children: (ProjectDTO | undefined)[];
|
|
1552
1821
|
}
|
|
1822
|
+
/**
|
|
1823
|
+
* RefRouteDTO for API responses
|
|
1824
|
+
*/
|
|
1825
|
+
export interface RefRouteDTO extends BaseModelDTO {
|
|
1826
|
+
type: RefRouteType;
|
|
1827
|
+
alias_ref: string;
|
|
1828
|
+
target_ref: string;
|
|
1829
|
+
primary: boolean;
|
|
1830
|
+
description: string;
|
|
1831
|
+
enabled: boolean;
|
|
1832
|
+
}
|
|
1833
|
+
/**
|
|
1834
|
+
* KnowledgeCreateRequest is the request body for POST /knowledge.
|
|
1835
|
+
*/
|
|
1836
|
+
export interface KnowledgeCreateRequest {
|
|
1837
|
+
name: string;
|
|
1838
|
+
description?: string;
|
|
1839
|
+
repo_url?: string;
|
|
1840
|
+
type?: KnowledgeType;
|
|
1841
|
+
lifecycle?: KnowledgeLifecycle;
|
|
1842
|
+
/**
|
|
1843
|
+
* Version content (inline — creates first version)
|
|
1844
|
+
*/
|
|
1845
|
+
version?: KnowledgeVersionInput;
|
|
1846
|
+
}
|
|
1847
|
+
/**
|
|
1848
|
+
* KnowledgeVersionInput is the input shape for creating/updating a knowledge version.
|
|
1849
|
+
*/
|
|
1850
|
+
export interface KnowledgeVersionInput {
|
|
1851
|
+
description?: string;
|
|
1852
|
+
content?: KnowledgeFile;
|
|
1853
|
+
files?: KnowledgeFile[];
|
|
1854
|
+
tags?: string[];
|
|
1855
|
+
metadata?: {
|
|
1856
|
+
[key: string]: string;
|
|
1857
|
+
};
|
|
1858
|
+
source_url?: string;
|
|
1859
|
+
mutation_type?: string;
|
|
1860
|
+
version_notes?: string;
|
|
1861
|
+
}
|
|
1862
|
+
/**
|
|
1863
|
+
* KnowledgeUpdateRequest is the request body for PUT /knowledge/{id}.
|
|
1864
|
+
*/
|
|
1865
|
+
export interface KnowledgeUpdateRequest {
|
|
1866
|
+
description?: string;
|
|
1867
|
+
version?: KnowledgeVersionInput;
|
|
1868
|
+
}
|
|
1869
|
+
/**
|
|
1870
|
+
* CreateSubscriptionRequest is the request body for POST /subscriptions.
|
|
1871
|
+
*/
|
|
1872
|
+
export interface CreateSubscriptionRequest {
|
|
1873
|
+
plan_id: string;
|
|
1874
|
+
interval?: string;
|
|
1875
|
+
success_url?: string;
|
|
1876
|
+
cancel_url?: string;
|
|
1877
|
+
}
|
|
1878
|
+
/**
|
|
1879
|
+
* ChangePlanRequest is the request body for POST /subscriptions/change.
|
|
1880
|
+
*/
|
|
1881
|
+
export interface ChangePlanRequest {
|
|
1882
|
+
plan_id: string;
|
|
1883
|
+
}
|
|
1884
|
+
/**
|
|
1885
|
+
* CancelSubscriptionRequest is the request body for POST /subscriptions/cancel.
|
|
1886
|
+
*/
|
|
1887
|
+
export interface CancelSubscriptionRequest {
|
|
1888
|
+
at_period_end?: boolean;
|
|
1889
|
+
}
|
|
1890
|
+
/**
|
|
1891
|
+
* OAuthAuthorizeInfoResponse is returned by GET /oauth/authorize/info.
|
|
1892
|
+
*/
|
|
1893
|
+
export interface OAuthAuthorizeInfoResponse {
|
|
1894
|
+
client_name: string;
|
|
1895
|
+
client_type: string;
|
|
1896
|
+
origin: string;
|
|
1897
|
+
verified: boolean;
|
|
1898
|
+
scopes: Scope[];
|
|
1899
|
+
redirect_host: string;
|
|
1900
|
+
}
|
|
1901
|
+
/**
|
|
1902
|
+
* OAuthApproveRequest is the request body for POST /oauth/authorize/approve.
|
|
1903
|
+
*/
|
|
1904
|
+
export interface OAuthApproveRequest {
|
|
1905
|
+
client_id: string;
|
|
1906
|
+
redirect_uri: string;
|
|
1907
|
+
code_challenge: string;
|
|
1908
|
+
state: string;
|
|
1909
|
+
scope: string;
|
|
1910
|
+
}
|
|
1911
|
+
/**
|
|
1912
|
+
* OAuthRedirectResponse wraps a redirect URI.
|
|
1913
|
+
*/
|
|
1914
|
+
export interface OAuthRedirectResponse {
|
|
1915
|
+
redirect_uri: string;
|
|
1916
|
+
}
|
|
1917
|
+
/**
|
|
1918
|
+
* OAuthConnectedApp represents an authorized OAuth client.
|
|
1919
|
+
*/
|
|
1920
|
+
export interface OAuthConnectedApp {
|
|
1921
|
+
client_id: string;
|
|
1922
|
+
client_name: string;
|
|
1923
|
+
client_type: string;
|
|
1924
|
+
origin: string;
|
|
1925
|
+
verified: boolean;
|
|
1926
|
+
scopes: string;
|
|
1927
|
+
authorized_at: string;
|
|
1928
|
+
}
|
|
1929
|
+
/**
|
|
1930
|
+
* SetVisibilityRequest is used by admin endpoints to set visibility.
|
|
1931
|
+
*/
|
|
1932
|
+
export interface SetVisibilityRequest {
|
|
1933
|
+
visibility: string;
|
|
1934
|
+
}
|
|
1935
|
+
/**
|
|
1936
|
+
* ChargeAmountRequest is the request for charging a saved payment method.
|
|
1937
|
+
*/
|
|
1938
|
+
export interface ChargeAmountRequest {
|
|
1939
|
+
amount: number;
|
|
1940
|
+
}
|
|
1941
|
+
/**
|
|
1942
|
+
* CompletePaymentRequest finishes a checkout or payment session.
|
|
1943
|
+
*/
|
|
1944
|
+
export interface CompletePaymentRequest {
|
|
1945
|
+
session_id?: string;
|
|
1946
|
+
payment_id?: string;
|
|
1947
|
+
}
|
|
1948
|
+
/**
|
|
1949
|
+
* UpdateIntegrationScopesRequest updates integration scopes.
|
|
1950
|
+
*/
|
|
1951
|
+
export interface UpdateIntegrationScopesRequest {
|
|
1952
|
+
scopes: string[];
|
|
1953
|
+
}
|
|
1954
|
+
/**
|
|
1955
|
+
* SuggestRequest is the input for the suggest endpoint.
|
|
1956
|
+
*/
|
|
1957
|
+
export interface SuggestRequest {
|
|
1958
|
+
query: string;
|
|
1959
|
+
limit?: number;
|
|
1960
|
+
category?: string;
|
|
1961
|
+
agent?: boolean;
|
|
1962
|
+
}
|
|
1963
|
+
/**
|
|
1964
|
+
* SuggestResponse is the output of the suggest endpoint.
|
|
1965
|
+
*/
|
|
1966
|
+
export interface SuggestResponse {
|
|
1967
|
+
query: string;
|
|
1968
|
+
results: SuggestResult[];
|
|
1969
|
+
}
|
|
1970
|
+
/**
|
|
1971
|
+
* SuggestResult is a single result item from the suggest endpoint.
|
|
1972
|
+
*/
|
|
1973
|
+
export interface SuggestResult {
|
|
1974
|
+
type: string;
|
|
1975
|
+
name: string;
|
|
1976
|
+
description: string;
|
|
1977
|
+
command: string;
|
|
1978
|
+
score: number;
|
|
1979
|
+
}
|
|
1553
1980
|
/**
|
|
1554
1981
|
* RequirementError represents a single missing requirement with actionable info
|
|
1555
1982
|
*/
|
|
@@ -1589,6 +2016,31 @@ export interface CheckRequirementsResponse {
|
|
|
1589
2016
|
*/
|
|
1590
2017
|
export interface SDKTypes {
|
|
1591
2018
|
}
|
|
2019
|
+
/**
|
|
2020
|
+
* SecretDTO for API responses - VALUE IS NEVER EXPOSED
|
|
2021
|
+
*/
|
|
2022
|
+
export interface SecretDTO extends BaseModelDTO, PermissionModelDTO {
|
|
2023
|
+
key: string;
|
|
2024
|
+
masked_value: string;
|
|
2025
|
+
description?: string;
|
|
2026
|
+
scope?: SecretScope;
|
|
2027
|
+
}
|
|
2028
|
+
/**
|
|
2029
|
+
* SubscriptionDTO for API responses
|
|
2030
|
+
*/
|
|
2031
|
+
export interface SubscriptionDTO extends BaseModelDTO {
|
|
2032
|
+
team_id: string;
|
|
2033
|
+
stripe_subscription_id?: string;
|
|
2034
|
+
plan_id: string;
|
|
2035
|
+
plan?: PlanDTO;
|
|
2036
|
+
interval: SubscriptionInterval;
|
|
2037
|
+
status: SubscriptionStatus;
|
|
2038
|
+
current_period_start: string;
|
|
2039
|
+
current_period_end: string;
|
|
2040
|
+
trial_end?: string;
|
|
2041
|
+
cancel_at_period_end: boolean;
|
|
2042
|
+
credits_per_period: number;
|
|
2043
|
+
}
|
|
1592
2044
|
/**
|
|
1593
2045
|
* Hardware/System related types
|
|
1594
2046
|
*/
|
|
@@ -1759,6 +2211,61 @@ export interface TaskDTO extends BaseModelDTO, PermissionModelDTO {
|
|
|
1759
2211
|
session_id?: string;
|
|
1760
2212
|
session_timeout?: number;
|
|
1761
2213
|
}
|
|
2214
|
+
/**
|
|
2215
|
+
* TaskResultDTO is a slim response for task run/result endpoints.
|
|
2216
|
+
*/
|
|
2217
|
+
export interface TaskResultDTO {
|
|
2218
|
+
id: string;
|
|
2219
|
+
short_id: string;
|
|
2220
|
+
status: TaskStatus;
|
|
2221
|
+
status_text: string;
|
|
2222
|
+
output: any;
|
|
2223
|
+
error?: string;
|
|
2224
|
+
session_id?: string;
|
|
2225
|
+
created_at: string;
|
|
2226
|
+
updated_at: string;
|
|
2227
|
+
run_at?: string;
|
|
2228
|
+
}
|
|
2229
|
+
/**
|
|
2230
|
+
* TaskLogsDTO is a lightweight response for task logs endpoint.
|
|
2231
|
+
*/
|
|
2232
|
+
export interface TaskLogsDTO {
|
|
2233
|
+
task_id: string;
|
|
2234
|
+
status: TaskStatus;
|
|
2235
|
+
events: TaskEvent[];
|
|
2236
|
+
logs: TaskLog[];
|
|
2237
|
+
}
|
|
2238
|
+
/**
|
|
2239
|
+
* TaskTimingGroup represents a high-level phase of task execution with its duration.
|
|
2240
|
+
*/
|
|
2241
|
+
export interface TaskTimingGroup {
|
|
2242
|
+
label: string;
|
|
2243
|
+
start_at: string;
|
|
2244
|
+
end_at?: string;
|
|
2245
|
+
duration: string;
|
|
2246
|
+
duration_ms: number;
|
|
2247
|
+
}
|
|
2248
|
+
/**
|
|
2249
|
+
* TaskTimingEvent represents a single status transition with the time spent before the next transition.
|
|
2250
|
+
*/
|
|
2251
|
+
export interface TaskTimingEvent {
|
|
2252
|
+
status: string;
|
|
2253
|
+
timestamp: string;
|
|
2254
|
+
duration?: string;
|
|
2255
|
+
duration_ms?: number;
|
|
2256
|
+
next_status?: string;
|
|
2257
|
+
}
|
|
2258
|
+
/**
|
|
2259
|
+
* TaskTimingsDTO is the response for the task timings endpoint.
|
|
2260
|
+
*/
|
|
2261
|
+
export interface TaskTimingsDTO {
|
|
2262
|
+
task_id: string;
|
|
2263
|
+
status: TaskStatus;
|
|
2264
|
+
total_duration: string;
|
|
2265
|
+
total_duration_ms: number;
|
|
2266
|
+
groups: TaskTimingGroup[];
|
|
2267
|
+
events: TaskTimingEvent[];
|
|
2268
|
+
}
|
|
1762
2269
|
/**
|
|
1763
2270
|
* TeamMemberDTO is the API response for a team member.
|
|
1764
2271
|
*/
|
|
@@ -2048,6 +2555,15 @@ export type Visibility = string;
|
|
|
2048
2555
|
export declare const VisibilityPrivate: Visibility;
|
|
2049
2556
|
export declare const VisibilityPublic: Visibility;
|
|
2050
2557
|
export declare const VisibilityUnlisted: Visibility;
|
|
2558
|
+
export type SubscriptionStatus = string;
|
|
2559
|
+
export declare const SubscriptionStatusTrialing: SubscriptionStatus;
|
|
2560
|
+
export declare const SubscriptionStatusActive: SubscriptionStatus;
|
|
2561
|
+
export declare const SubscriptionStatusPastDue: SubscriptionStatus;
|
|
2562
|
+
export declare const SubscriptionStatusCanceled: SubscriptionStatus;
|
|
2563
|
+
export declare const SubscriptionStatusPaused: SubscriptionStatus;
|
|
2564
|
+
export type SubscriptionInterval = string;
|
|
2565
|
+
export declare const SubscriptionIntervalMonthly: SubscriptionInterval;
|
|
2566
|
+
export declare const SubscriptionIntervalYearly: SubscriptionInterval;
|
|
2051
2567
|
export type ChatStatus = string;
|
|
2052
2568
|
export declare const ChatStatusBusy: ChatStatus;
|
|
2053
2569
|
export declare const ChatStatusIdle: ChatStatus;
|
|
@@ -2074,6 +2590,11 @@ export declare const ChatMessageContentTypeReasoning: ChatMessageContentType;
|
|
|
2074
2590
|
export declare const ChatMessageContentTypeImage: ChatMessageContentType;
|
|
2075
2591
|
export declare const ChatMessageContentTypeFile: ChatMessageContentType;
|
|
2076
2592
|
export declare const ChatMessageContentTypeTool: ChatMessageContentType;
|
|
2593
|
+
export type IntegrationType = string;
|
|
2594
|
+
export declare const IntegrationTypeSlack: IntegrationType;
|
|
2595
|
+
export declare const IntegrationTypeDiscord: IntegrationType;
|
|
2596
|
+
export declare const IntegrationTypeTeams: IntegrationType;
|
|
2597
|
+
export declare const IntegrationTypeTelegram: IntegrationType;
|
|
2077
2598
|
/**
|
|
2078
2599
|
* ChatData contains agent-specific data for a chat session
|
|
2079
2600
|
*/
|
|
@@ -2103,6 +2624,13 @@ export interface ChatMessageContent {
|
|
|
2103
2624
|
file?: string;
|
|
2104
2625
|
tool_calls?: ToolCall[];
|
|
2105
2626
|
}
|
|
2627
|
+
/**
|
|
2628
|
+
* IntegrationContext holds integration-specific metadata for a chat
|
|
2629
|
+
*/
|
|
2630
|
+
export interface IntegrationContext {
|
|
2631
|
+
integration_type?: IntegrationType;
|
|
2632
|
+
integration_metadata?: any;
|
|
2633
|
+
}
|
|
2106
2634
|
/**
|
|
2107
2635
|
* ChatTaskInput is the input envelope for a chat LLM task
|
|
2108
2636
|
*/
|
|
@@ -2265,6 +2793,13 @@ export declare const GraphNodeStatusFailed: GraphNodeStatus;
|
|
|
2265
2793
|
export declare const GraphNodeStatusCancelled: GraphNodeStatus;
|
|
2266
2794
|
export declare const GraphNodeStatusSkipped: GraphNodeStatus;
|
|
2267
2795
|
export declare const GraphNodeStatusBlocked: GraphNodeStatus;
|
|
2796
|
+
/**
|
|
2797
|
+
* ResourceType identifies what kind of resource a graph node represents.
|
|
2798
|
+
*/
|
|
2799
|
+
export type ResourceType = string;
|
|
2800
|
+
export declare const ResourceTypeKnowledge: ResourceType;
|
|
2801
|
+
export declare const ResourceTypeApp: ResourceType;
|
|
2802
|
+
export declare const ResourceTypeAgent: ResourceType;
|
|
2268
2803
|
/**
|
|
2269
2804
|
* GraphEdgeType defines the type of edge relationship
|
|
2270
2805
|
*/
|
|
@@ -2276,6 +2811,23 @@ export declare const GraphEdgeTypeExecution: GraphEdgeType;
|
|
|
2276
2811
|
export declare const GraphEdgeTypeParent: GraphEdgeType;
|
|
2277
2812
|
export declare const GraphEdgeTypeAncestor: GraphEdgeType;
|
|
2278
2813
|
export declare const GraphEdgeTypeDuplicate: GraphEdgeType;
|
|
2814
|
+
export declare const GraphEdgeTypeReferences: GraphEdgeType;
|
|
2815
|
+
/**
|
|
2816
|
+
* SecretScope defines the visibility/purpose of a secret
|
|
2817
|
+
*/
|
|
2818
|
+
export type SecretScope = string;
|
|
2819
|
+
/**
|
|
2820
|
+
* SecretScopeTeam is a normal user secret, visible in team secret lists
|
|
2821
|
+
*/
|
|
2822
|
+
export declare const SecretScopeTeam: SecretScope;
|
|
2823
|
+
/**
|
|
2824
|
+
* SecretScopeInternal is an integration-managed secret, hidden from user lists
|
|
2825
|
+
*/
|
|
2826
|
+
export declare const SecretScopeInternal: SecretScope;
|
|
2827
|
+
/**
|
|
2828
|
+
* SecretScopeSystem is a global system setting, owned by system team, admin-only
|
|
2829
|
+
*/
|
|
2830
|
+
export declare const SecretScopeSystem: SecretScope;
|
|
2279
2831
|
export type EntitlementSource = string;
|
|
2280
2832
|
export declare const EntitlementSourceTier: EntitlementSource;
|
|
2281
2833
|
export declare const EntitlementSourceOverride: EntitlementSource;
|
|
@@ -2327,18 +2879,32 @@ export declare const ToolTypeClient: ToolType;
|
|
|
2327
2879
|
export declare const ToolTypeInternal: ToolType;
|
|
2328
2880
|
export type InstanceCloudProvider = string;
|
|
2329
2881
|
export declare const CloudAWS: InstanceCloudProvider;
|
|
2882
|
+
export declare const CloudAmaya: InstanceCloudProvider;
|
|
2330
2883
|
export declare const CloudAzure: InstanceCloudProvider;
|
|
2884
|
+
export declare const CloudBoostrun: InstanceCloudProvider;
|
|
2885
|
+
export declare const CloudCrusoe: InstanceCloudProvider;
|
|
2886
|
+
export declare const CloudDatacrunch: InstanceCloudProvider;
|
|
2887
|
+
export declare const CloudDenvr: InstanceCloudProvider;
|
|
2888
|
+
export declare const CloudDigitalOcean: InstanceCloudProvider;
|
|
2889
|
+
export declare const CloudExcessSupply: InstanceCloudProvider;
|
|
2890
|
+
export declare const CloudHorizon: InstanceCloudProvider;
|
|
2891
|
+
export declare const CloudHyperstack: InstanceCloudProvider;
|
|
2892
|
+
export declare const CloudIMWT: InstanceCloudProvider;
|
|
2893
|
+
export declare const CloudJarvisLabs: InstanceCloudProvider;
|
|
2331
2894
|
export declare const CloudLambdaLabs: InstanceCloudProvider;
|
|
2332
|
-
export declare const CloudTensorDock: InstanceCloudProvider;
|
|
2333
|
-
export declare const CloudRunPod: InstanceCloudProvider;
|
|
2334
2895
|
export declare const CloudLatitude: InstanceCloudProvider;
|
|
2335
|
-
export declare const
|
|
2896
|
+
export declare const CloudMassedCompute: InstanceCloudProvider;
|
|
2897
|
+
export declare const CloudNebius: InstanceCloudProvider;
|
|
2336
2898
|
export declare const CloudOblivus: InstanceCloudProvider;
|
|
2337
2899
|
export declare const CloudPaperspace: InstanceCloudProvider;
|
|
2338
|
-
export declare const
|
|
2339
|
-
export declare const
|
|
2340
|
-
export declare const
|
|
2900
|
+
export declare const CloudPhyntec: InstanceCloudProvider;
|
|
2901
|
+
export declare const CloudRunPod: InstanceCloudProvider;
|
|
2902
|
+
export declare const CloudScaleway: InstanceCloudProvider;
|
|
2341
2903
|
export declare const CloudShade: InstanceCloudProvider;
|
|
2904
|
+
export declare const CloudTensorDock: InstanceCloudProvider;
|
|
2905
|
+
export declare const CloudVerda: InstanceCloudProvider;
|
|
2906
|
+
export declare const CloudVoltagePark: InstanceCloudProvider;
|
|
2907
|
+
export declare const CloudVultr: InstanceCloudProvider;
|
|
2342
2908
|
export type InstanceStatus = string;
|
|
2343
2909
|
export declare const InstanceStatusCreating: InstanceStatus;
|
|
2344
2910
|
export declare const InstanceStatusPendingProvider: InstanceStatus;
|
|
@@ -2384,6 +2950,13 @@ export declare const VideoRes720P: VideoResolution;
|
|
|
2384
2950
|
export declare const VideoRes1080P: VideoResolution;
|
|
2385
2951
|
export declare const VideoRes1440P: VideoResolution;
|
|
2386
2952
|
export declare const VideoRes4K: VideoResolution;
|
|
2953
|
+
/**
|
|
2954
|
+
* MCPServerAuthType describes how a server authenticates clients.
|
|
2955
|
+
*/
|
|
2956
|
+
export type MCPServerAuthType = string;
|
|
2957
|
+
export declare const MCPServerAuthOAuth: MCPServerAuthType;
|
|
2958
|
+
export declare const MCPServerAuthAPIKey: MCPServerAuthType;
|
|
2959
|
+
export declare const MCPServerAuthNone: MCPServerAuthType;
|
|
2387
2960
|
/**
|
|
2388
2961
|
* TeamInviteStatus represents the status of a team invitation
|
|
2389
2962
|
*/
|
|
@@ -2393,6 +2966,22 @@ export declare const TeamInviteStatusAccepted: TeamInviteStatus;
|
|
|
2393
2966
|
export declare const TeamInviteStatusDeclined: TeamInviteStatus;
|
|
2394
2967
|
export declare const TeamInviteStatusExpired: TeamInviteStatus;
|
|
2395
2968
|
export declare const TeamInviteStatusRevoked: TeamInviteStatus;
|
|
2969
|
+
export type RefRouteType = string;
|
|
2970
|
+
export declare const RefRouteTypeApp: RefRouteType;
|
|
2971
|
+
export declare const RefRouteTypeAgent: RefRouteType;
|
|
2972
|
+
export declare const RefRouteTypeSkill: RefRouteType;
|
|
2973
|
+
export type KnowledgeType = string;
|
|
2974
|
+
export declare const KnowledgeTypeConcept: KnowledgeType;
|
|
2975
|
+
export declare const KnowledgeTypeSkill: KnowledgeType;
|
|
2976
|
+
export declare const KnowledgeTypeObservation: KnowledgeType;
|
|
2977
|
+
export declare const KnowledgeTypePreference: KnowledgeType;
|
|
2978
|
+
export declare const KnowledgeTypeReference: KnowledgeType;
|
|
2979
|
+
export declare const KnowledgeTypePerson: KnowledgeType;
|
|
2980
|
+
export declare const KnowledgeTypeProject: KnowledgeType;
|
|
2981
|
+
export declare const KnowledgeTypeAgentConfig: KnowledgeType;
|
|
2982
|
+
export type KnowledgeLifecycle = string;
|
|
2983
|
+
export declare const KnowledgeLifecyclePermanent: KnowledgeLifecycle;
|
|
2984
|
+
export declare const KnowledgeLifecycleDecay: KnowledgeLifecycle;
|
|
2396
2985
|
export type FilterOperator = string;
|
|
2397
2986
|
export declare const OpEqual: FilterOperator;
|
|
2398
2987
|
export declare const OpNotEqual: FilterOperator;
|
|
@@ -2410,6 +2999,14 @@ export declare const OpIsNull: FilterOperator;
|
|
|
2410
2999
|
export declare const OpIsNotNull: FilterOperator;
|
|
2411
3000
|
export declare const OpIsEmpty: FilterOperator;
|
|
2412
3001
|
export declare const OpIsNotEmpty: FilterOperator;
|
|
3002
|
+
export type DeviceAuthStatus = string;
|
|
3003
|
+
export declare const DeviceAuthStatusPending: DeviceAuthStatus;
|
|
3004
|
+
export declare const DeviceAuthStatusApproved: DeviceAuthStatus;
|
|
3005
|
+
export declare const DeviceAuthStatusExpired: DeviceAuthStatus;
|
|
3006
|
+
export declare const DeviceAuthStatusDenied: DeviceAuthStatus;
|
|
3007
|
+
export declare const DeviceAuthStatusValid: DeviceAuthStatus;
|
|
3008
|
+
export declare const DeviceAuthStatusInvalid: DeviceAuthStatus;
|
|
3009
|
+
export declare const DeviceAuthStatusLoading: DeviceAuthStatus;
|
|
2413
3010
|
export type EntitlementResource = string;
|
|
2414
3011
|
export declare const ResourceAPIKeys: EntitlementResource;
|
|
2415
3012
|
export declare const ResourceConnectors: EntitlementResource;
|
|
@@ -2494,6 +3091,74 @@ export declare const WidgetNodeTypeTransition: WidgetNodeType;
|
|
|
2494
3091
|
export declare const WidgetNodeTypePlanList: WidgetNodeType;
|
|
2495
3092
|
export declare const WidgetNodeTypeKeyValue: WidgetNodeType;
|
|
2496
3093
|
export declare const WidgetNodeTypeStatusBadge: WidgetNodeType;
|
|
3094
|
+
/**
|
|
3095
|
+
* NotificationChannel represents a delivery channel
|
|
3096
|
+
*/
|
|
3097
|
+
export type NotificationChannel = string;
|
|
3098
|
+
export declare const NotificationChannelEmail: NotificationChannel;
|
|
3099
|
+
export declare const NotificationChannelSMS: NotificationChannel;
|
|
3100
|
+
export declare const NotificationChannelPush: NotificationChannel;
|
|
3101
|
+
export declare const NotificationChannelSlack: NotificationChannel;
|
|
3102
|
+
/**
|
|
3103
|
+
* NotificationPriority represents notification priority
|
|
3104
|
+
*/
|
|
3105
|
+
export type NotificationPriority = string;
|
|
3106
|
+
export declare const NotificationPriorityLow: NotificationPriority;
|
|
3107
|
+
export declare const NotificationPriorityNormal: NotificationPriority;
|
|
3108
|
+
export declare const NotificationPriorityHigh: NotificationPriority;
|
|
3109
|
+
export declare const NotificationPriorityCritical: NotificationPriority;
|
|
3110
|
+
/**
|
|
3111
|
+
* NotificationType represents the type/category of notification
|
|
3112
|
+
*/
|
|
3113
|
+
export type NotificationType = string;
|
|
3114
|
+
/**
|
|
3115
|
+
* Billing notifications
|
|
3116
|
+
*/
|
|
3117
|
+
export declare const NotificationTypeLowBalance: NotificationType;
|
|
3118
|
+
export declare const NotificationTypeAutoRecharge: NotificationType;
|
|
3119
|
+
export declare const NotificationTypePaymentSuccess: NotificationType;
|
|
3120
|
+
export declare const NotificationTypePaymentFailed: NotificationType;
|
|
3121
|
+
export declare const NotificationTypeUsageSummary: NotificationType;
|
|
3122
|
+
export declare const NotificationTypeSpendingLimit: NotificationType;
|
|
3123
|
+
export declare const NotificationTypeInvoice: NotificationType;
|
|
3124
|
+
/**
|
|
3125
|
+
* Account notifications
|
|
3126
|
+
*/
|
|
3127
|
+
export declare const NotificationTypeWelcome: NotificationType;
|
|
3128
|
+
export declare const NotificationTypeWelcomeAgents: NotificationType;
|
|
3129
|
+
export declare const NotificationTypeWelcomeApps: NotificationType;
|
|
3130
|
+
export declare const NotificationTypeWelcomeFlows: NotificationType;
|
|
3131
|
+
export declare const NotificationTypeWelcomeSDK: NotificationType;
|
|
3132
|
+
export declare const NotificationTypePasswordReset: NotificationType;
|
|
3133
|
+
export declare const NotificationTypeEmailVerify: NotificationType;
|
|
3134
|
+
export declare const NotificationTypeSecurityAlert: NotificationType;
|
|
3135
|
+
/**
|
|
3136
|
+
* Task notifications
|
|
3137
|
+
*/
|
|
3138
|
+
export declare const NotificationTypeTaskComplete: NotificationType;
|
|
3139
|
+
export declare const NotificationTypeTaskFailed: NotificationType;
|
|
3140
|
+
/**
|
|
3141
|
+
* System notifications
|
|
3142
|
+
*/
|
|
3143
|
+
export declare const NotificationTypeSystemAlert: NotificationType;
|
|
3144
|
+
export declare const NotificationTypeMaintenance: NotificationType;
|
|
3145
|
+
export declare const NotificationTypeTosUpdate: NotificationType;
|
|
3146
|
+
export declare const NotificationTypeServiceNotice: NotificationType;
|
|
3147
|
+
/**
|
|
3148
|
+
* Team notifications
|
|
3149
|
+
*/
|
|
3150
|
+
export declare const NotificationTypeTeamInvite: NotificationType;
|
|
3151
|
+
/**
|
|
3152
|
+
* NotificationStatus represents the status of a notification
|
|
3153
|
+
*/
|
|
3154
|
+
export type NotificationStatus = string;
|
|
3155
|
+
export declare const NotificationStatusPending: NotificationStatus;
|
|
3156
|
+
export declare const NotificationStatusProcessing: NotificationStatus;
|
|
3157
|
+
export declare const NotificationStatusSent: NotificationStatus;
|
|
3158
|
+
export declare const NotificationStatusDelivered: NotificationStatus;
|
|
3159
|
+
export declare const NotificationStatusFailed: NotificationStatus;
|
|
3160
|
+
export declare const NotificationStatusBounced: NotificationStatus;
|
|
3161
|
+
export declare const NotificationStatusCancelled: NotificationStatus;
|
|
2497
3162
|
/**
|
|
2498
3163
|
* TaskStatus represents the state of a task in its lifecycle.
|
|
2499
3164
|
*/
|